Home
last modified time | relevance | path

Searched refs:g_inputInterfaces (Results 1 – 3 of 3) sorted by relevance

/test/xts/hats/hdf/input/hdi_passthrough/
Dhdf_input_hdi_test.cpp32 sptr<IInputInterfaces> g_inputInterfaces = nullptr; variable
54 g_inputInterfaces = IInputInterfaces::Get(true); in SetUpTestCase()
55 if (g_inputInterfaces != nullptr) { in SetUpTestCase()
56 g_callback = new InputCallbackImpl(g_inputInterfaces, nullptr); in SetUpTestCase()
57 g_hotplugCb = new InputCallbackImpl(g_inputInterfaces, g_callback); in SetUpTestCase()
75 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in OpenOnlineDev()
85 ret = g_inputInterfaces->OpenInputDevice(sta[i].devIndex); in OpenOnlineDev()
91 ret = g_inputInterfaces->RegisterReportCallback(sta[i].devIndex, g_callback); in OpenOnlineDev()
101 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in CloseOnlineDev()
111 ret = g_inputInterfaces->UnregisterReportCallback(sta[i].devIndex); in CloseOnlineDev()
[all …]
/test/xts/hats/hdf/input/hdi_passthrough_additional/
Dhdf_input_hdi_test.cpp32 sptr<IInputInterfaces> g_inputInterfaces = nullptr; variable
52 g_inputInterfaces = IInputInterfaces::Get(true); in SetUpTestCase()
53 if (g_inputInterfaces != nullptr) { in SetUpTestCase()
54 g_callback = new InputCallbackImpl(g_inputInterfaces, nullptr); in SetUpTestCase()
55 g_hotplugCb = new InputCallbackImpl(g_inputInterfaces, g_callback); in SetUpTestCase()
56 g_inputInterfaces->ScanInputDevice(g_sta); in SetUpTestCase()
90 ret |= g_inputInterfaces->ScanInputDevice(sta);
105 ret |= g_inputInterfaces->OpenInputDevice(TOUCH_INDEX);
106 g_inputInterfaces->CloseInputDevice(TOUCH_INDEX);
120 ret = g_inputInterfaces->OpenInputDevice(devIndex);
[all …]
/test/xts/hats/hdf/input/PassthroughBenchmarkTest/
Dhdf_input_benchmark_test.cpp37 sptr<IInputInterfaces> g_inputInterfaces = nullptr; variable
55 g_inputInterfaces = IInputInterfaces::Get(true); in SetUp()
56 if (g_inputInterfaces != nullptr) { in SetUp()
57 g_callback = new InputCallbackImpl(g_inputInterfaces, nullptr); in SetUp()
58 g_hotplugCb = new InputCallbackImpl(g_inputInterfaces, g_callback); in SetUp()
75 if (g_inputInterfaces == nullptr) { in BENCHMARK_F()
76 ASSERT_NE(nullptr, g_inputInterfaces); in BENCHMARK_F()
85 ret = g_inputInterfaces->ScanInputDevice(sta); in BENCHMARK_F()
103 if (g_inputInterfaces == nullptr) { in BENCHMARK_F()
104 ASSERT_NE(nullptr, g_inputInterfaces); in BENCHMARK_F()
[all …]