/test/xts/hats/hdf/codec/hdi_idlomx/ |
H A D | codec_hdi_omx_dec_test.cpp | 39 static sptr<ICodecCallback> g_callback = nullptr; member 75 g_callback = new CodecCallbackService(); in SetUp() 76 ASSERT_TRUE(g_callback != nullptr); in SetUp() 77 auto ret = g_manager->CreateComponent(g_component, componentId_, g_compName.data(), APP_DATA, g_callback); in SetUp() 99 g_callback = nullptr; in TearDown()
|
H A D | codec_hdi_omx_enc_test.cpp | 37 static sptr<ICodecCallback> g_callback = nullptr; member 73 g_callback = new CodecCallbackService(); in SetUp() 74 ASSERT_TRUE(g_callback != nullptr); in SetUp() 75 auto ret = g_manager->CreateComponent(g_component, componentId_, g_compName.data(), APP_DATA, g_callback); in SetUp() 77 ret = g_manager->CreateComponent(g_component, componentId_, "", APP_DATA, g_callback); in SetUp() 98 g_callback = nullptr; in TearDown() 801 g_callback = new CodecCallbackService(); in HWTEST_F() 802 ASSERT_TRUE(g_callback != nullptr); in HWTEST_F() 803 auto ret = g_component->SetCallbacks(g_callback, APP_DATA); in HWTEST_F()
|
/test/xts/hats/hdf/input/inputBenchmarkTest/ |
H A D | hdf_input_benchmark_test.cpp | 37 InputEventCb g_callback;
member 66 g_callback.EventPkgCallback = ReportEventPkgCallback;
in SetUp() 115 ret = g_inputInterface->iInputReporter->RegisterReportCallback(msg->devIndex, &g_callback);
in ReportHotPlugEventPkgCallback() 150 ret = g_inputInterface->iInputReporter->RegisterReportCallback(sta[i].devIndex, &g_callback);
in OpenOnlineDev() 616 g_callback.EventPkgCallback = ReportEventPkgCallback;
in BENCHMARK_F() 617 ret = g_inputInterface->iInputReporter->RegisterReportCallback(0, &g_callback);
in BENCHMARK_F() 619 ret = g_inputInterface->iInputReporter->RegisterReportCallback(MAX_INPUT_DEV_NUM, &g_callback);
in BENCHMARK_F() 640 g_callback.EventPkgCallback = ReportEventPkgCallback;
in BENCHMARK_F() 642 ret = g_inputInterface->iInputReporter->RegisterReportCallback(TOUCH_INDEX, &g_callback);
in BENCHMARK_F()
|
/test/xts/hats/powermgr/thermal/hdi_thermal_additional/common/ |
H A D | HDIThermalTest.cpp | 74 sptr<IThermalCallback> g_callback = new ThermalCallbackMock(); member 368 ret |= g_thermalInterface->Register(g_callback); in HWTEST_F() 394 g_thermalInterface->Register(g_callback); in HWTEST_F() 466 int32_t ret = g_thermalInterface->Register(g_callback); in HWTEST_F()
|
/test/xts/hats/hdf/input/hdi_input/common/ |
H A D | hdi_input_test.cpp | 32 InputEventCb g_callback; variable 63 g_callback.EventPkgCallback = ReportEventPkgCallback; in SetUpTestCase() 128 ret = g_inputInterface->iInputReporter->RegisterReportCallback(msg->devIndex, &g_callback); in ReportHotPlugEventPkgCallback() 157 ret = g_inputInterface->iInputReporter->RegisterReportCallback(g_allDev[i].devIndex, &g_callback); in OpenOnlineDev() 1204 g_callback.EventPkgCallback = ReportEventPkgCallback; in HWTEST_F() 1205 ret = g_inputInterface->iInputReporter->RegisterReportCallback(0, &g_callback); in HWTEST_F() 1207 ret = g_inputInterface->iInputReporter->RegisterReportCallback(MAX_INPUT_DEV_NUM, &g_callback); in HWTEST_F() 1225 g_callback.EventPkgCallback = ReportEventPkgCallback; in HWTEST_F() 1227 ret = g_inputInterface->iInputReporter->RegisterReportCallback(TOUCH_INDEX, &g_callback); in HWTEST_F()
|
/test/xts/hats/hdf/input/PassthroughBenchmarkTest/ |
H A D | hdf_input_benchmark_test.cpp | 38 sptr<IInputCallback> g_callback = nullptr; member 57 g_callback = new InputCallbackImpl(g_inputInterfaces, nullptr); in SetUp() 58 g_hotplugCb = new InputCallbackImpl(g_inputInterfaces, g_callback); in SetUp() 456 ret = g_inputInterfaces->RegisterReportCallback(TOUCH_INDEX, g_callback); in BENCHMARK_F()
|
/test/xts/hats/hdf/input/hdi_passthrough/ |
H A D | hdf_input_hdi_test.cpp | 33 sptr<IInputCallback> g_callback = nullptr; member 56 g_callback = new InputCallbackImpl(g_inputInterfaces, nullptr); in SetUpTestCase() 57 g_hotplugCb = new InputCallbackImpl(g_inputInterfaces, g_callback); in SetUpTestCase() 91 ret = g_inputInterfaces->RegisterReportCallback(sta[i].devIndex, g_callback); in OpenOnlineDev() 533 int32_t ret = g_inputInterfaces->RegisterReportCallback(INVALID_INDEX, g_callback); in HWTEST_F() 1033 ret = g_inputInterfaces->RegisterReportCallback(TOUCH_INDEX, g_callback); in HWTEST_F()
|
/test/xts/hats/hdf/input/hdi_passthrough_additional/ |
H A D | hdf_input_hdi_test.cpp | 33 sptr<IInputCallback> g_callback = nullptr; member 54 g_callback = new InputCallbackImpl(g_inputInterfaces, nullptr); in SetUpTestCase() 55 g_hotplugCb = new InputCallbackImpl(g_inputInterfaces, g_callback); in SetUpTestCase() 1424 ret = g_inputInterfaces->RegisterReportCallback(devIndex, g_callback); in HWTEST_F() 1441 ret = g_inputInterfaces->RegisterReportCallback(devIndex, g_callback); in HWTEST_F() 1448 ret = g_inputInterfaces->RegisterReportCallback(devIndex, g_callback); in HWTEST_F() 1463 ret = g_inputInterfaces->RegisterReportCallback(devIndex, g_callback); in HWTEST_F() 1479 ret = g_inputInterfaces->RegisterReportCallback(devIndex, g_callback); in HWTEST_F() 1500 ret = g_inputInterfaces->RegisterReportCallback(devIndex, g_callback); in HWTEST_F() 1516 * when the hotPlugCallback parameter is g_callback [all...] |
/test/xts/hats/hdf/codec/hdi_component_additional/ |
H A D | codec_component_test.cpp | 42 static sptr<ICodecCallback> g_callback = nullptr; member 112 g_callback = new CodecCallbackService(); in SetUp() 113 if (g_callback == nullptr) { in SetUp() 121 reinterpret_cast<int64_t>(this), g_callback); in SetUp() 141 g_callback = nullptr; in TearDown() 2211 g_callback = new CodecCallbackService(); in HWTEST_F() 2212 ASSERT_TRUE(g_callback != nullptr); in HWTEST_F() 2213 auto ret = g_component->SetCallbacks(g_callback, -1); in HWTEST_F() 2224 g_callback = new CodecCallbackService(); in HWTEST_F() 2225 ASSERT_TRUE(g_callback ! in HWTEST_F() [all...] |
/test/xts/hats/hdf/input/hdi_input/hdi_input/ |
H A D | hdi_input_test.cpp | 31 static InputEventCb g_callback; variable 348 g_callback.EventPkgCallback = ReportEventPkgCallback; in HWTEST_F() 358 ret = g_inputInterface->iInputReporter->RegisterReportCallback(g_touchIndex, &g_callback); in HWTEST_F()
|
/test/xts/hats/powermgr/thermal/hdi_thermal/common/ |
H A D | hdi_thermal_test.cpp | 70 sptr<IThermalCallback> g_callback = new ThermalCallbackMock(); member 272 int32_t ret = g_thermalInterface->Register(g_callback); in HWTEST_F()
|
/test/xts/hats/powermgr/battery/hdi_battery/common/ |
H A D | hdi_battery_test.cpp | 48 sptr<IBatteryCallback> g_callback = new BatteryCallback(); member 109 int32_t ret = g_batteryInterface->Register(sptr<IBatteryCallback>(g_callback) = nullptr); in HWTEST_F()
|
/test/xts/hats/powermgr/power/hdi_power/common/ |
H A D | hdi_power_test.cpp | 164 sptr<IPowerHdiCallback> g_callback = new PowerHdiCallback(); member 246 powerInterface->RegisterCallback(g_callback))<< "HdfPowerHdiTest002 failed"; in HWTEST_F()
|
/test/xts/hats/powermgr/battery/hdi_battery_additional/common/ |
H A D | hdi_battery_test.cpp | 48 sptr<IBatteryCallback> g_callback = new BatteryCallback(); member
|
/test/xts/hats/telephony/ril/hdi_v1.1_additional/ |
H A D | hdf_ril_callback_common.cpp | 19 RilCallback g_callback;
variable 2082 void WaitFor(int32_t timeoutSecond) { g_callback.WaitFor(WAIT_TIME_SECOND); }
in WaitFor() 2084 bool GetBoolResult(HdiId hdiId) { return g_callback.GetBoolResult(hdiId); }
in GetBoolResult()
|
H A D | hdf_ril_callback_common.h | 520 extern RilCallback g_callback;
|
H A D | hdf_ril_hdiService_test_7th.cpp | 46 g_rilInterface->SetCallback1_3(&g_callback);
in SetUpTestCase()
|
H A D | hdf_ril_hdiService_test_6th.cpp | 47 g_rilInterface->SetCallback1_3(&g_callback);
in SetUpTestCase()
|
H A D | hdf_ril_hdiService_test_2nd.cpp | 47 g_rilInterface->SetCallback1_3(&g_callback);
in SetUpTestCase()
|
H A D | hdf_ril_hdiService_test_3rd.cpp | 46 g_rilInterface->SetCallback1_3(&g_callback);
in SetUpTestCase()
|
H A D | hdf_ril_hdiService_test_1st.cpp | 47 g_rilInterface->SetCallback1_3(&g_callback);
in SetUpTestCase()
|
H A D | hdf_ril_hdiService_test_5th.cpp | 47 g_rilInterface->SetCallback1_3(&g_callback);
in SetUpTestCase()
|
H A D | hdf_ril_hdiService_test_4th.cpp | 46 g_rilInterface->SetCallback1_3(&g_callback);
in SetUpTestCase()
|
/test/xts/hats/powermgr/power/hdi_power_additional/common/ |
H A D | hdi_power_test.cpp | 46 sptr<IPowerHdiCallback> g_callback = new PowerHdiCallback();
member
|