Home
last modified time | relevance | path

Searched refs:sta (Results 1 – 25 of 41) sorted by relevance

12

/test/xts/hats/hdf/input/inputBenchmarkTest/
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[i].devIndex); in OpenOnlineDev()
[all …]
/test/xts/acts/communication/btmanager_errorcode202/src/main/js/test/
DBtManagerErrorCode202.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/hdi_passthrough/
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[i].devIndex == 0) { in CloseOnlineDev()
[all …]
/test/xts/acts/communication/bluetooth_profile/src/main/js/test/
DBtManagerA2dp.test.js55 let sta = bluetoothManager.getState();
56 switch (sta) {
65 console.info('[bluetooth_js] bt turning on:' + JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:' + JSON.stringify(sta));
DBtManagerHfp.test.js55 let sta = bluetoothManager.getState();
56 switch (sta) {
65 console.info('[bluetooth_js] bt turning on:' + JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:' + JSON.stringify(sta));
DBluetoothHfp.test.js55 let sta = bluetooth.getState();
56 switch(sta){
65 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
DBluetoothA2dp.test.js55 let sta = bluetooth.getState();
56 switch(sta){
65 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
DBtGattService.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));
/test/xts/acts/communication/bluetooth_scanpairing/src/main/js/test/
DBtManagerPair.test.js55 let sta = bluetoothManager.getState();
56 switch (sta) {
65 console.info('[bluetooth_js] bt turning on:' + JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:' + JSON.stringify(sta));
DBtManagerDiscovery.test.js55 let sta = bluetoothManager.getState();
56 switch (sta) {
65 console.info('[bluetooth_js] bt turning on:' + JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:' + JSON.stringify(sta));
DBtPair.test.js55 let sta = bluetooth.getState();
56 switch(sta){
65 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
/test/xts/hats/hdf/input/hdi_input/hdi_input/
Dhdi_input_test.cpp111 InputDevDesc sta[MAX_DEVICES] = {0}; variable
116 … ret = g_inputInterface->iInputManager->ScanInputDevice(sta, sizeof(sta) / sizeof(InputDevDesc));
119 __func__, sta[0].devType, sta[0].devIndex, sta[1].devType, sta[1].devIndex);
122 if (sta[i].devIndex == 0) {
125 if (sta[i].devType == INDEV_TYPE_TOUCH) {
126 g_touchIndex = sta[i].devIndex;
/test/xts/acts/communication/bluetooth_standard/src/main/js/test/
DBtSysSubscBle.test.js57 let sta = bluetooth.getState();
58 switch(sta){
67 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
71 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
DBtManagerSpp.test.js55 let sta = bluetoothManager.getState();
56 switch (sta) {
65 console.info('[bluetooth_js] bt turning on:' + JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:' + JSON.stringify(sta));
DBtSetSwitch.test.js55 let sta = bluetooth.getState();
56 switch(sta){
65 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
DBtManagerSetSwitch.test.js55 let sta = bluetoothManager.getState();
56 switch (sta) {
65 console.info('[bluetooth_js] bt turning on:' + JSON.stringify(sta));
69 console.info('[bluetooth_js] bt turn on:' + JSON.stringify(sta));
DBtSpp.test.js55 let sta = bluetooth.getState();
56 switch(sta){
58 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
64 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
68 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
71 console.info('[bluetooth_js] bt turning off:'+ JSON.stringify(sta));
DBtGattAdvertiser.test.js57 let sta = bluetooth.getState();
58 switch(sta){
60 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
66 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
70 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
73 console.info('[bluetooth_js] bt turning off:'+ JSON.stringify(sta));
DBtSetLocalName.test.js79 let sta = bluetooth.getState();
80 switch(sta){
89 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
93 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
/test/xts/acts/communication/bluetooth_gatt/src/main/js/test/
DBluetoothAdvertising.test.js56 let sta = btAccess.getState();
57 switch(sta){
66 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
70 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
DBtManagerGattAdvertiser.test.js57 let sta = bluetooth.getState();
58 switch(sta){
60 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
66 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
70 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
73 console.info('[bluetooth_js] bt turning off:'+ JSON.stringify(sta));
/test/xts/hats/hdf/input/PassthroughBenchmarkTest/
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].d… in BENCHMARK_F()
/test/xts/acts/communication/btmanager_errorcode401/src/main/js/test/
DBtMGattAdvertiser401.test.js57 let sta = bluetooth.getState();
58 switch(sta){
60 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
66 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
70 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
73 console.info('[bluetooth_js] bt turning off:'+ JSON.stringify(sta));
/test/xts/acts/communication/btmanager_switchoff/src/main/js/test/
DbtManagerSwitchOff003.test.js30 let sta = bluetoothManager.getState();
31 switch(sta){
33 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
36 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));
113 let sta = bluetoothManager.getState();
114 console.info('[bluetooth_js] bt getState:'+ JSON.stringify(sta));
/test/xts/acts/communication/bluetooth_ble/src/main/ets/test/
DBtBleService.test.ets44 let sta = btAccess.getState();
45 switch(sta){
47 console.info('[bluetooth_js] bt turn off:'+ JSON.stringify(sta));
53 console.info('[bluetooth_js] bt turning on:'+ JSON.stringify(sta));
57 console.info('[bluetooth_js] bt turn on:'+ JSON.stringify(sta));
60 console.info('[bluetooth_js] bt turning off:'+ JSON.stringify(sta));

12