/test/xts/hats/hdf/input/inputBenchmarkTest/ |
D | hdf_input_benchmark_test.cpp | 43 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/ |
D | BtManagerErrorCode202.test.js | 56 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/ |
D | hdf_input_hdi_test.cpp | 73 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/ |
D | BtManagerA2dp.test.js | 55 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));
|
D | BtManagerHfp.test.js | 55 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));
|
D | BluetoothHfp.test.js | 55 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));
|
D | BluetoothA2dp.test.js | 55 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));
|
D | BtGattService.test.js | 58 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/ |
D | BtManagerPair.test.js | 55 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));
|
D | BtManagerDiscovery.test.js | 55 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));
|
D | BtPair.test.js | 55 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/ |
D | hdi_input_test.cpp | 111 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/ |
D | BtSysSubscBle.test.js | 57 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));
|
D | BtManagerSpp.test.js | 55 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));
|
D | BtSetSwitch.test.js | 55 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));
|
D | BtManagerSetSwitch.test.js | 55 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));
|
D | BtSpp.test.js | 55 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));
|
D | BtGattAdvertiser.test.js | 57 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));
|
D | BtSetLocalName.test.js | 79 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/ |
D | BluetoothAdvertising.test.js | 56 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));
|
D | BtManagerGattAdvertiser.test.js | 57 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/ |
D | hdf_input_benchmark_test.cpp | 79 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/ |
D | BtMGattAdvertiser401.test.js | 57 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/ |
D | btManagerSwitchOff003.test.js | 30 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/ |
D | BtBleService.test.ets | 44 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));
|