Home
last modified time | relevance | path

Searched refs:sta (Results 1 - 9 of 9) sorted by relevance

/test/xts/hats/hdf/input/inputBenchmarkTest/
H A Dhdf_input_benchmark_test.cpp43 static void CloseOnlineDev(InputDevDesc *sta, int32_t len);
44 static void OpenOnlineDev(InputDevDesc *sta, int32_t len);
55 InputDevDesc sta[MAX_DEVICES]; in SetUp() local
56 ret = memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in SetUp()
68 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in SetUp()
73 if (sta[i].devIndex == 0) { in SetUp()
132 static void OpenOnlineDev(InputDevDesc *sta, int32_t len) in OpenOnlineDev() argument
134 int32_t ret = g_inputInterface->iInputManager->ScanInputDevice(sta, len); in OpenOnlineDev()
141 if (sta[i].devIndex == 0) { in OpenOnlineDev()
144 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[ in OpenOnlineDev()
158 CloseOnlineDev(InputDevDesc *sta, int32_t len) CloseOnlineDev() argument
193 InputDevDesc sta[MAX_DEVICES]; BENCHMARK_F() local
218 InputDevDesc sta[MAX_DEVICES]; BENCHMARK_F() local
266 InputDevDesc sta[MAX_DEVICES]; BENCHMARK_F() local
[all...]
/test/xts/hats/hdf/input/hdi_passthrough/
H A Dhdf_input_hdi_test.cpp73 static void OpenOnlineDev(std::vector<DevDesc> sta) in OpenOnlineDev() argument
75 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in OpenOnlineDev()
82 if (sta[i].devIndex == 0) { in OpenOnlineDev()
85 ret = g_inputInterfaces->OpenInputDevice(sta[i].devIndex); in OpenOnlineDev()
87 HDF_LOGE("%s: open device[%d] failed, ret %d", __func__, sta[i].devIndex, ret); in OpenOnlineDev()
91 ret = g_inputInterfaces->RegisterReportCallback(sta[i].devIndex, g_callback); in OpenOnlineDev()
93 HDF_LOGE("%s: register callback failed for device[%d], ret %d", __func__, sta[i].devIndex, ret); in OpenOnlineDev()
99 static void CloseOnlineDev(std::vector<DevDesc> sta) in CloseOnlineDev() argument
101 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in CloseOnlineDev()
108 if (sta[ in CloseOnlineDev()
151 std::vector<DevDesc> sta; HWTEST_F() local
1088 std::vector<DevDesc> sta; HWTEST_F() local
[all...]
/test/xts/hats/hdf/input/hdi_input/hdi_input/
H A Dhdi_input_test.cpp111 InputDevDesc sta[MAX_DEVICES] = {0}; in HWTEST_F() local
116 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, sizeof(sta) / sizeof(InputDevDesc)); in HWTEST_F()
119 __func__, sta[0].devType, sta[0].devIndex, sta[1].devType, sta[1].devIndex); in HWTEST_F()
122 if (sta[i].devIndex == 0) { in HWTEST_F()
125 if (sta[i].devType == INDEV_TYPE_TOUCH) { in HWTEST_F()
126 g_touchIndex = sta[ in HWTEST_F()
[all...]
/test/xts/acts/communication/btmanager_errorcode401/entry/src/ohosTest/ets/test/
H A DBtMGattAdvertiser401.test.js58 let sta = bluetooth.getState();
59 switch(sta){
61 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
67 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
71 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
74 console.info('[bluetooth_js] bt turning off:'+ JSON.stringify(sta));
H A DBtMGattManager401.test.js56 let sta = bluetooth.getState();
57 switch(sta){
59 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
65 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
72 console.info('[bluetooth_js] bt turning off:'+ JSON.stringify(sta));
/test/xts/hats/hdf/input/PassthroughBenchmarkTest/
H A Dhdf_input_benchmark_test.cpp79 std::vector<DevDesc> sta; in BENCHMARK_F() local
85 ret = g_inputInterfaces->ScanInputDevice(sta); in BENCHMARK_F()
88 HDF_LOGE("%s: %d, %d, %d, %d", __func__, sta[0].devType, sta[0].devIndex, sta[1].devType, sta[1].devIndex); in BENCHMARK_F()
/test/xts/acts/communication/btmanager_switchoff/entry/src/ohosTest/ets/test/
H A DbtManagerSwitchOff003.test.js28 let sta = bluetoothManager.getState();
29 switch(sta){
31 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
34 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
40 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
46 console.info('[bluetooth_js] bt turning off:'+ JSON.stringify(sta));
123 let sta = bluetoothManager.getState();
124 console.info('[bluetooth_js] bt getState:'+ JSON.stringify(sta));
/test/xts/acts/communication/bluetooth_standard/src/main/js/test/
H A DBtSetLocalName.test.js78 let sta = bluetooth.getState();
79 switch(sta){
88 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
92 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
/test/xts/hats/hdf/input/hdi_passthrough_additional/
H A Dhdf_input_hdi_test.cpp86 std::vector<DevDesc> sta; in HWTEST_F() local
90 ret |= g_inputInterfaces->ScanInputDevice(sta); in HWTEST_F()

Completed in 14 milliseconds