Searched refs:scan_mode (Results 1 – 6 of 6) sorted by relevance
33 for scan_mode in self.scan_modes:34 self.generate_test_case_no_devices_around(scan_mode)43 def generate_test_case_no_devices_around(self, scan_mode): argument46 self.measure_ble_scan_power(scan_mode)49 bleenum.ScanSettingsScanMode(scan_mode).name))52 def measure_ble_scan_power(self, scan_mode): argument54 btputils.start_apk_ble_scan(self.dut, scan_mode, self.scan_duration)
54 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':
107 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']:
127 def start_apk_ble_scan(dut, scan_mode, scan_duration): argument148 scan_mode)160 bleenum.ScanSettingsScanMode(scan_mode).name, scan_duration))
36 def set_scan_mode(self, scan_mode): argument38 set_bt_scan_mode(self.dut, bt_scan_mode_types[scan_mode])
283 scan_mode = pri_ad.droid.bluetoothGetScanMode()284 if scan_mode == bt_scan_mode_types['connectable_discoverable']: