Home
last modified time | relevance | path

Searched refs:g_inputInterface (Results 1 - 3 of 3) sorted by relevance

/test/xts/hats/hdf/input/hdi_input/common/
H A Dhdi_input_test.cpp31 IInputInterface *g_inputInterface;
58 ret = GetInputInterface(&g_inputInterface); in SetUpTestCase()
65 ret = g_inputInterface->iInputManager->ScanInputDevice(g_allDev, MAX_DEVICES); in SetUpTestCase()
87 ReleaseInputInterface(&g_inputInterface); in TearDownTestCase()
123 ret = g_inputInterface->iInputManager->OpenInputDevice(msg->devIndex); in ReportHotPlugEventPkgCallback()
128 ret = g_inputInterface->iInputReporter->RegisterReportCallback(msg->devIndex, &g_callback); in ReportHotPlugEventPkgCallback()
133 ret = g_inputInterface->iInputReporter->UnregisterReportCallback(msg->devIndex); in ReportHotPlugEventPkgCallback()
138 ret = g_inputInterface->iInputManager->CloseInputDevice(msg->devIndex); in ReportHotPlugEventPkgCallback()
151 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(g_allDev[i].devIndex); in OpenOnlineDev()
157 ret = g_inputInterface in OpenOnlineDev()
[all...]
/test/xts/hats/hdf/input/hdi_input/hdi_input/
H A Dhdi_input_test.cpp30 static IInputInterface *g_inputInterface; variable
48 int32_t ret = GetInputInterface(&g_inputInterface); in SetUpTestCase()
56 ReleaseInputInterface(&g_inputInterface); in TearDownTestCase()
95 EXPECT_EQ(g_inputInterface->iInputManager->OpenInputDevice(msg->devIndex), INPUT_SUCCESS); in ReportHotPlugEventPkgCallback()
97 EXPECT_EQ(g_inputInterface->iInputManager->CloseInputDevice(msg->devIndex), INPUT_SUCCESS); in ReportHotPlugEventPkgCallback()
114 INPUT_CHECK_NULL_POINTER(g_inputInterface, INPUT_NULL_PTR); in HWTEST_F()
115 INPUT_CHECK_NULL_POINTER(g_inputInterface->iInputManager, INPUT_NULL_PTR); in HWTEST_F()
116 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, sizeof(sta) / sizeof(InputDevDesc)); in HWTEST_F()
141 INPUT_CHECK_NULL_POINTER(g_inputInterface, INPUT_NULL_PTR); in HWTEST_F()
142 INPUT_CHECK_NULL_POINTER(g_inputInterface in HWTEST_F()
[all...]
/test/xts/hats/hdf/input/inputBenchmarkTest/
H A Dhdf_input_benchmark_test.cpp36 IInputInterface *g_inputInterface; member
61 ret = GetInputInterface(&g_inputInterface); in SetUp()
68 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in SetUp()
82 ReleaseInputInterface(&g_inputInterface); in TearDown()
110 ret = g_inputInterface->iInputManager->OpenInputDevice(msg->devIndex); in ReportHotPlugEventPkgCallback()
115 ret = g_inputInterface->iInputReporter->RegisterReportCallback(msg->devIndex, &g_callback); in ReportHotPlugEventPkgCallback()
120 ret = g_inputInterface->iInputReporter->UnregisterReportCallback(msg->devIndex); in ReportHotPlugEventPkgCallback()
125 ret = g_inputInterface->iInputManager->CloseInputDevice(msg->devIndex); in ReportHotPlugEventPkgCallback()
134 int32_t ret = g_inputInterface->iInputManager->ScanInputDevice(sta, len); in OpenOnlineDev()
144 ret = g_inputInterface in OpenOnlineDev()
[all...]

Completed in 3 milliseconds