Searched refs:scn_ad (Results 1 – 12 of 12) sorted by relevance
/tools/test/connectivity/acts/tests/google/ble/scan/ |
D | BleOpportunisticScanTest.py | 50 self.scn_ad = self.android_devices[0] 55 utils.set_location_service(self.scn_ad, True) 61 self.scn_ad, self.active_scan_callback_list, self.adv_ad, 78 event = self.scn_ad.ed.pop_event(event_name, self.default_timeout) 109 self.scn_ad.droid.bleSetScanSettingsScanMode(ble_scan_settings_modes[ 112 self.scn_ad.droid) 113 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, 118 self.scn_ad.droid.bleStopBleScan(scan_callback) 146 self.scn_ad.droid.bleSetScanSettingsScanMode(ble_scan_settings_modes[ 148 self.scn_ad.droid.bleSetScanSettingsReportDelayMillis( [all …]
|
D | BleBackgroundScanTest.py | 50 self.scn_ad = self.android_devices[0] 55 utils.set_location_service(self.scn_ad, True) 61 enable_bluetooth(self.scn_ad.droid, self.scn_ad.ed) 62 self.scn_ad.droid.bluetoothDisableBLE() 69 self.scn_ad, self.active_adv_callback_list, self.adv_ad, 107 self.scn_ad.droid.bluetoothEnableBLE() 109 self.scn_ad.droid.bleSetScanSettingsScanMode( 112 self.scn_ad.droid) 113 self.scn_ad.droid.bleSetScanFilterDeviceName( 115 self.scn_ad.droid.bleBuildScanFilter(filter_list) [all …]
|
D | BleOnLostOnFoundTest.py | 44 self.scn_ad = self.android_devices[0] 49 utils.set_location_service(self.scn_ad, True) 55 self.scn_ad, self.active_adv_callback_list, self.adv_ad, 79 self.scn_ad.ed.pop_event(event_name, self.default_timeout) 115 filter_list = self.scn_ad.droid.bleGenFilterList() 116 self.scn_ad.droid.bleSetScanFilterDeviceName( 118 self.scn_ad.droid.bleSetScanSettingsScanMode(ble_scan_settings_modes[ 120 self.scn_ad.droid.bleSetScanSettingsCallbackType( 122 self.scn_ad.droid.bleSetScanSettingsMatchMode( 124 self.scn_ad.droid.bleSetScanSettingsNumOfMatches( [all …]
|
D | BleScanScreenStateTest.py | 48 self.scn_ad = self.android_devices[0] 53 utils.set_location_service(self.scn_ad, True) 73 generate_ble_scan_objects(self.scn_ad.droid) 74 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, 79 self.scn_ad.ed.pop_event( 117 self.scn_ad.droid.wakeUpNow() 128 self.scn_ad.droid.bleStopBleScan(self.scan_callback) 161 self.scn_ad.droid.goToSleepNow() 174 self.scn_ad.droid.bleStopBleScan(self.scan_callback) 210 self.scn_ad.droid.goToSleepNow() [all …]
|
/tools/test/connectivity/acts/tests/google/ble/filtering/ |
D | UniqueFilteringTest.py | 43 self.scn_ad = self.android_devices[0] 115 self.scn_ad.droid) 121 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, 123 self.scn_ad.droid.bleFlushPendingScanResults(scan_callback) 124 worker = self.scn_ad.ed.handle_event( 135 self.scn_ad.droid.bleStopBleScan(scan_callback) 166 self.scn_ad.droid.bleSetScanSettingsReportDelayMillis(5000) 168 self.scn_ad.droid) 176 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, 178 system_time_nanos = self.scn_ad.droid.getSystemElapsedRealtimeNanos() [all …]
|
/tools/test/connectivity/acts/tests/google/ble/concurrency/ |
D | ConcurrentBleScanningTest.py | 44 self.scn_ad = self.android_devices[0] 85 self.scn_ad.droid.bleSetScanSettingsCallbackType( 87 self.scn_ad.droid.bleSetScanSettingsScanMode(ble_scan_settings_modes[ 110 filter_list = self.scn_ad.droid.bleGenFilterList() 111 self.scn_ad.droid.bleSetScanFilterDeviceName( 113 self.scn_ad.droid.bleBuildScanFilter(filter_list) 114 scan_settings = self.scn_ad.droid.bleBuildScanSetting() 118 scan_callback = self.scn_ad.droid.bleGenScanCallback() 120 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, 123 self.scn_ad.ed.pop_event( [all …]
|
D | ConcurrentBleAdvertisingTest.py | 51 self.scn_ad = self.android_devices[0] 66 scan_and_verify_n_advertisements(self.scn_ad, num_advertisements) 129 self.scn_ad.droid.bleSetScanFilterDeviceName( 161 self.scn_ad.droid.bleSetScanFilterDeviceName( 192 self.scn_ad.droid.bleSetScanFilterManufacturerData(1, [1]) 223 self.scn_ad.droid.bleSetScanFilterManufacturerData(1, [1], [1]) 255 filter_list = self.scn_ad.droid.bleGenFilterList() 256 self.scn_ad.droid.bleSetScanFilterServiceData( 291 self.scn_ad.droid.bleSetScanFilterDeviceName( 293 self.scn_ad.droid.bleSetScanFilterManufacturerData(1, [1], [1]) [all …]
|
D | ConcurrentBleAdvertisementDiscoveryTest.py | 52 self.scn_ad = self.android_devices[0] 105 filter_list = self.scn_ad.droid.bleGenFilterList() 106 self.scn_ad.droid.bleBuildScanFilter(filter_list) 107 self.scn_ad.droid.bleSetScanSettingsCallbackType( 109 self.scn_ad.droid.bleSetScanSettingsScanMode(ble_scan_settings_modes[ 116 self.scn_ad, self.max_advertisements): 121 if not reset_bluetooth([self.scn_ad]):
|
/tools/test/connectivity/acts/tests/google/ble/bt5/ |
D | Bt5ScanTest.py | 65 self.scn_ad = self.android_devices[0] 69 if not self.scn_ad.droid.bluetoothIsLeExtendedAdvertisingSupported(): 79 self.scn_ad, self.active_scan_callback_list, self.adv_ad, []) 107 d = self.scn_ad.droid 164 self.scn_ad.droid.bleSetScanSettingsLegacy(False) 165 self.scn_ad.droid.bleSetScanSettingsPhy(ble_scan_settings_phys['1m']) 168 self.scn_ad.droid) 171 self.scn_ad.droid.bleSetScanFilterDeviceName(adv_device_name) 172 self.scn_ad.droid.bleBuildScanFilter(filter_list) 173 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, [all …]
|
/tools/test/connectivity/acts/tests/google/ble/beacon_tests/ |
D | BeaconSwarmTest.py | 46 self.scn_ad = self.android_devices[0] 68 reset_bluetooth([self.scn_ad]) 183 self.scn_ad.droid.bleSetScanSettingsScanMode( 186 self.scn_ad.droid) 187 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, 190 event_info = self.scn_ad.ed.pop_event( 199 self.scn_ad.droid.bleStopBleScan(scan_callback) 225 self.scn_ad.droid.bleSetScanSettingsScanMode( 227 self.scn_ad.droid.bleSetScanSettingsReportDelayMillis(1000) 229 self.scn_ad.droid) [all …]
|
/tools/test/connectivity/acts/tests/google/ble/system_tests/ |
D | BleStressTest.py | 44 self.scn_ad = self.android_devices[0] 61 bonded_devices = self.scn_ad.droid.bluetoothGetBondedDevices() 94 self.scn_ad.droid) 95 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, 97 self.scn_ad.droid.bleStopBleScan(scan_callback) 132 self.scn_ad.droid) 133 self.scn_ad.droid.bleStartBleScan(filter_list, scan_settings, 136 self.scn_ad.ed.pop_event(scan_result.format(scan_callback))) 137 self.scn_ad.droid.bleStopBleScan(scan_callback) 241 test_result = reset_bluetooth([self.scn_ad]) [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_test_utils.py | 84 def scan_and_verify_n_advertisements(scn_ad, max_advertisements): argument 98 filter_list = scn_ad.droid.bleGenFilterList() 99 scn_ad.droid.bleBuildScanFilter(filter_list) 100 scan_settings = scn_ad.droid.bleBuildScanSetting() 101 scan_callback = scn_ad.droid.bleGenScanCallback() 102 scn_ad.droid.bleStartBleScan(filter_list, scan_settings, scan_callback) 107 event = scn_ad.ed.pop_event( 118 scn_ad.droid.bleStopBleScan(scan_callback)
|