Home
last modified time | relevance | path

Searched refs:scan_mode (Results 1 – 7 of 7) sorted by relevance

/tools/test/connectivity/acts/tests/google/power/bt/
DPowerBLEscanTest.py33 for scan_mode in self.scan_modes:
34 self.generate_test_case_no_devices_around(scan_mode,
45 def generate_test_case_no_devices_around(self, scan_mode, scan_duration): argument
48 self.measure_ble_scan_power(scan_mode, scan_duration)
51 bleenum.ScanSettingsScanMode(scan_mode).name))
54 def measure_ble_scan_power(self, scan_mode, scan_duration): argument
56 btputils.start_apk_ble_scan(self.dut, scan_mode, scan_duration)
/tools/test/connectivity/acts/tests/google/power/wifi/
DPowerWiFiscanTest.py54 self.log.info('Trigger {} scans'.format(self.test_configs.scan_mode))
59 self.APK_SCAN_CMDS[self.test_configs.scan_mode])
62 if self.test_configs.scan_mode == 'pno':
65 elif self.test_configs.scan_mode == 'connectivity':
70 elif self.test_configs.scan_mode == 'roaming':
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_power_test_utils.py125 def start_apk_ble_scan(dut, scan_mode, scan_duration): argument
144 scan_mode)
156 bleenum.ScanSettingsScanMode(scan_mode).name, scan_duration))
Dbta_lib.py36 def set_scan_mode(self, scan_mode): argument
38 set_bt_scan_mode(self.dut, bt_scan_mode_types[scan_mode])
Dbt_test_utils.py1392 scan_mode = droid.bluetoothGetScanMode()
1394 if scan_mode != scan_mode_value:
1398 scan_mode = droid.bluetoothGetScanMode()
1399 if scan_mode != scan_mode_value:
1404 scan_mode = droid.bluetoothGetScanMode()
1405 if scan_mode != scan_mode_value:
1409 scan_mode = droid.bluetoothGetScanMode()
1410 if scan_mode != scan_mode_value:
/tools/test/connectivity/acts/tests/google/bt/
DBtBasicFunctionalityTest.py107 scan_mode = self.droid_ad.droid.bluetoothGetScanMode()
108 if (scan_mode == bt_scan_mode_types['connectable_discoverable']):
172 scan_mode = self.droid1_ad.droid.bluetoothGetScanMode()
173 if scan_mode == bt_scan_mode_types['none']:
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py284 scan_mode = pri_ad.droid.bluetoothGetScanMode()
285 if scan_mode == bt_scan_mode_types['connectable_discoverable']: