/tools/test/connectivity/acts_tests/tests/google/ble/scan/ |
D | BleOpportunisticScanTest.py | 109 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 112 scan_callback) 113 self.active_scan_callback_list.append(scan_callback) 114 if not self._verify_no_events_found(scan_result.format(scan_callback)): 116 self.scn_ad.droid.bleStopBleScan(scan_callback) 148 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 151 scan_callback) 152 self.active_scan_callback_list.append(scan_callback) 154 batch_scan_result.format(scan_callback)): 156 self.scn_ad.droid.bleStopBleScan(scan_callback) [all …]
|
D | BleScanScreenStateTest.py | 39 scan_callback = -1 variable in BleScanScreenStateTest 67 filter_list, scan_settings, self.scan_callback = \ 70 self.scan_callback) 74 self.scn_ad.ed.pop_event(scan_result.format(self.scan_callback), 123 self.scn_ad.droid.bleStopBleScan(self.scan_callback) 169 self.scn_ad.droid.bleStopBleScan(self.scan_callback) 209 filter_list, scan_settings, self.scan_callback = generate_ble_scan_objects( 213 self.scan_callback) 221 self.scn_ad.droid.bleStopBleScan(self.scan_callback) 276 self.scn_ad.droid.bleStopBleScan(self.scan_callback) [all …]
|
D | BleOnLostOnFoundTest.py | 125 scan_callback = self.scn_ad.droid.bleGenScanCallback() 128 scan_callback) 129 self.active_scan_callback_list.append(scan_callback) 132 scan_result.format(scan_callback), self.default_timeout * 3) 143 scan_result.format(scan_callback), self.default_timeout * 4) 195 scan_callback = self.scn_ad.droid.bleGenScanCallback() 198 scan_callback) 199 self.active_scan_callback_list.append(scan_callback) 202 scan_result.format(scan_callback), self.default_timeout * 3) 213 scan_result.format(scan_callback), self.default_timeout * 4) [all …]
|
D | BleBackgroundScanTest.py | 109 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 122 scan_callback) 123 expected_event = scan_result.format(scan_callback) 161 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 176 scan_callback) 177 expected_event = scan_result.format(scan_callback)
|
/tools/test/connectivity/acts_tests/tests/google/ble/filtering/ |
D | UniqueFilteringTest.py | 115 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 117 expected_event_name = scan_result.format(scan_callback) 127 scan_callback) 128 self.scn_ad.droid.bleFlushPendingScanResults(scan_callback) 140 self.scn_ad.droid.bleStopBleScan(scan_callback) 172 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 174 expected_event_name = batch_scan_result.format(scan_callback) 185 scan_callback) 200 self.scn_ad.droid.bleStopBleScan(scan_callback) 228 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/concurrency/ |
D | ConcurrentBleScanningTest.py | 118 scan_callback = self.scn_ad.droid.bleGenScanCallback() 119 scan_callback_list.append(scan_callback) 121 scan_callback) 124 scan_result.format(scan_callback), self.default_timeout) 129 .format(scan_callback)) 187 scan_callback = self.scn_ad.droid.bleGenScanCallback() 188 scan_callback_list.append(scan_callback) 190 scan_callback) 252 scan_callback = self.scn_ad.droid.bleGenScanCallback() 254 scan_callback) [all …]
|
D | ConcurrentBleAdvertisingTest.py | 491 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 495 scan_callback) 497 self.scn_ad.ed.pop_event(scan_result.format(scan_callback), 502 self.scn_ad.droid.bleStopBleScan(scan_callback) 505 scan_callback) 509 expected_event = scan_result.format(scan_callback) 517 self.scn_ad.droid.bleStopBleScan(scan_callback)
|
D | ConcurrentGattConnectTest.py | 115 scan_callback = self.pri_dut.droid.bleGenScanCallback() 120 scan_callback) 131 "BleScan{}onScanResults".format(scan_callback),
|
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/ |
D | Bt5ScanTest.py | 166 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 173 scan_callback) 174 self.active_scan_callback_list.append(scan_callback) 178 scan_result.format(scan_callback), self.default_timeout) 223 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 230 scan_callback) 231 self.active_scan_callback_list.append(scan_callback) 235 scan_result.format(scan_callback), self.default_timeout) 279 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 286 scan_callback) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/beacon_tests/ |
D | BeaconSwarmTest.py | 182 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 185 scan_callback) 188 scan_result.format(scan_callback), self.default_timeout) 196 self.scn_ad.droid.bleStopBleScan(scan_callback) 225 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 228 scan_callback) 231 batch_scan_result.format(scan_callback), self.default_timeout) 238 self.scn_ad.droid.bleStopBleScan(scan_callback) 271 filter_list, scan_settings, scan_callback = ( 277 scan_callback) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/system_tests/ |
D | BleStressTest.py | 94 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 97 scan_callback) 98 self.scn_ad.droid.bleStopBleScan(scan_callback) 132 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 135 scan_callback) 137 self.scn_ad.ed.pop_event(scan_result.format(scan_callback))) 138 self.scn_ad.droid.bleStopBleScan(scan_callback) 290 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 293 scan_callback) 296 scan_callback) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | BtMultiprofileBaseTest.py | 44 scan_callback = self.start_ble_scan(self.dut, mode) 46 self.dut.droid.bleStopBleScan(scan_callback) 51 scan_callback = self.start_ble_scan(self.dut, mode) 54 self.dut.droid.bleStopBleScan(scan_callback) 61 scan_callback = self.start_ble_scan(self.dut, mode) 66 self.dut.droid.bleStopBleScan(scan_callback) 89 scan_callback = self.start_ble_scan(self.dut, mode) 95 self.dut.droid.bleStopBleScan(scan_callback)
|
D | ble_performance_test_utils.py | 100 def read_ble_scan_rssi(client_ad, scan_callback, rssi_read_duration=30): argument 115 scan_callback) 322 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 327 client_ad.droid.bleStartBleScan(filter_list, scan_settings, scan_callback) 328 return adv_callback, scan_callback
|
D | bt_test_utils.py | 158 for scan_callback in scn_callback_list: 159 scan_droid.bleStopBleScan(scan_callback) 598 scan_callback = droid.bleGenScanCallback() 599 return filter_list, scan_settings, scan_callback 1031 scan_callback = scan_ad.droid.bleGenScanCallback() 1035 scan_ad.droid.bleStartBleScan(filter_list, scan_settings, scan_callback) 1038 "BleScan{}onScanResults".format(scan_callback), bt_default_timeout) 1043 return mac_address, advertise_callback, scan_callback 1426 scan_callback = scn_ad.droid.bleGenScanCallback() 1427 scn_ad.droid.bleStartBleScan(filter_list, scan_settings, scan_callback) [all …]
|
D | gattc_lib.py | 57 scan_callback = self.dut.droid.bleGenScanCallback() 58 event_name = scan_result.format(scan_callback) 62 scan_callback) 72 self.dut.droid.bleStopBleScan(scan_callback)
|
D | bt_coc_test_utils.py | 168 mac_address, adv_callback, scan_callback = ( 193 client_ad.droid.bleStopBleScan(scan_callback)
|
/tools/test/connectivity/acts_tests/tests/google/ble/api/ |
D | BleScanApiTest.py | 213 self.scan_callback = droid.bleGenScanCallback() 270 self.filter_list, self.scan_settings_index, self.scan_callback) 272 self.ad_dut.droid.bleStopBleScan(self.scan_callback) 1189 scan_callback = droid.bleGenLeScanCallback() 1191 droid, scan_callback, service_uuid_list) 1218 scan_callback = droid.bleGenLeScanCallback() 1220 droid, scan_callback, service_uuid_list) 1247 scan_callback = droid.bleGenLeScanCallback() 1249 droid, scan_callback, service_uuid_list) 1276 scan_callback = droid.bleGenLeScanCallback() [all …]
|
/tools/test/connectivity/acts_tests/tests/google/bt/performance/ |
D | BtA2dpRangeWithBleScanTest.py | 80 scan_callback = self.start_ble_scan(scan_mode[1]) 82 self.dut.droid.bleStopBleScan(scan_callback) 105 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 108 scan_callback) 110 return scan_callback
|
/tools/netsim/testing/mobly/ |
D | ble_utils.py | 162 scanner.scan_callback = scanner.mbs.bleStartScan( 197 scan_result = scanner.scan_callback.waitForEvent( 249 scanner.scan_callback = scanner.mbs.bleStartScan() 251 failure = scanner.scan_callback.getAll('onScanFailed') 258 scan_result = scanner.scan_callback.getAll('onScanResult') 307 scanner.mbs.bleStopScan(scanner.scan_callback.callback_id) 322 scanner.mbs.bleStopScan(scanner.scan_callback.callback_id)
|
/tools/test/connectivity/acts_tests/tests/google/ble/examples/ |
D | BleExamplesTest.py | 97 scan_callback = self.scn_droid.bleGenScanCallback() 99 scan_callback) 100 self.active_scan_callback_list.append(scan_callback) 101 event_name = scan_result.format(scan_callback)
|
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/ |
D | GattToolTest.py | 88 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 93 scan_callback) 94 expected_event_name = scan_result.format(scan_callback) 104 self.cen_ad.droid.bleStopBleScan(scan_callback) 193 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 196 scan_callback)
|
D | GattConnectTest.py | 280 mac_address, adv_callback, scan_callback = ( 286 self.cen_ad.droid.bleStopBleScan(scan_callback) 350 mac_address, adv_callback, scan_callback = ( 360 self.cen_ad.droid.bleStopBleScan(scan_callback) 802 mac_address, adv_callback, scan_callback = get_mac_address_of_generic_advertisement( 810 self.cen_ad.droid.bleStopBleScan(scan_callback) 1089 scan_callback = self.cen_ad.droid.bleGenScanCallback() 1094 scan_callback) 1095 expected_event_name = scan_result.format(scan_callback) 1131 self.cen_ad.droid.bleStopBleScan(scan_callback)
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ |
D | BleFuchsiaAndroidTest.py | 148 scan_callback = self.ad.droid.bleGenScanCallback() 151 scan_callback) 152 event_name = scan_result.format(scan_callback) 162 self.ad.droid.bleStopBleScan(scan_callback)
|
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/ |
D | WlanWithBlePerformanceTest.py | 102 filter_list, scan_settings, scan_callback = generate_ble_scan_objects( 105 scan_callback) 108 self.pri_ad.droid.bleStopBleScan(scan_callback)
|
/tools/test/connectivity/acts_tests/tests/google/ble/performance/ |
D | BleRangeTest.py | 224 adv_callback, scan_callback = start_advertising_and_scanning( 227 self.active_scan_callback_list.append(scan_callback) 229 self.client_ad, scan_callback) 256 self.client_ad.droid.bleStopBleScan(scan_callback)
|