Home
last modified time | relevance | path

Searched refs:scan_callback (Results 1 – 25 of 27) sorted by relevance

12

/tools/test/connectivity/acts_tests/tests/google/ble/scan/
DBleOpportunisticScanTest.py109 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 …]
DBleScanScreenStateTest.py42 scan_callback = -1 variable in BleScanScreenStateTest
69 filter_list, scan_settings, self.scan_callback = \
72 self.scan_callback)
77 scan_result.format(self.scan_callback), bt_default_timeout)
125 self.scn_ad.droid.bleStopBleScan(self.scan_callback)
171 self.scn_ad.droid.bleStopBleScan(self.scan_callback)
211 filter_list, scan_settings, self.scan_callback = generate_ble_scan_objects(
215 self.scan_callback)
223 self.scn_ad.droid.bleStopBleScan(self.scan_callback)
278 self.scn_ad.droid.bleStopBleScan(self.scan_callback)
[all …]
DBleOnLostOnFoundTest.py125 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 …]
DBleBackgroundScanTest.py109 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/
DUniqueFilteringTest.py115 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/
DConcurrentBleScanningTest.py118 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 …]
DConcurrentBleAdvertisingTest.py490 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
494 scan_callback)
497 scan_result.format(scan_callback), self.default_timeout)
501 self.scn_ad.droid.bleStopBleScan(scan_callback)
504 scan_callback)
508 expected_event = scan_result.format(scan_callback)
516 self.scn_ad.droid.bleStopBleScan(scan_callback)
DConcurrentGattConnectTest.py117 scan_callback = self.pri_dut.droid.bleGenScanCallback()
122 scan_callback)
133 "BleScan{}onScanResults".format(scan_callback),
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/
DBt5ScanTest.py166 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/
DBeaconSwarmTest.py182 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/
DBleStressTest.py94 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/tests/google/ble/api/
DBleScanApiTest.py213 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 …]
DBleAdvertiseApiTest.py591 scan_callback = sc_droid.bleGenScanCallback()
593 scan_callback)
594 event_name = scan_result.format(scan_callback)
/tools/test/connectivity/acts_tests/tests/google/bt/performance/
DBtA2dpRangeWithBleScanTest.py74 scan_callback = self.start_ble_scan(scan_mode[1])
76 self.dut.droid.bleStopBleScan(scan_callback)
98 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
101 scan_callback)
103 return scan_callback
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
DGattToolTest.py89 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
94 scan_callback)
95 expected_event_name = scan_result.format(scan_callback)
105 self.cen_ad.droid.bleStopBleScan(scan_callback)
194 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
197 scan_callback)
DGattConnectTest.py280 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)
1088 scan_callback = self.cen_ad.droid.bleGenScanCallback()
1093 scan_callback)
1094 expected_event_name = scan_result.format(scan_callback)
1129 self.cen_ad.droid.bleStopBleScan(scan_callback)
/tools/test/connectivity/acts_tests/tests/google/ble/examples/
DBleExamplesTest.py97 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/acts_contrib/test_utils/bt/
Dble_performance_test_utils.py100 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
Dbt_test_utils.py158 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 …]
Dgattc_lib.py58 scan_callback = self.dut.droid.bleGenScanCallback()
59 event_name = scan_result.format(scan_callback)
63 scan_callback)
73 self.dut.droid.bleStopBleScan(scan_callback)
Dbt_coc_test_utils.py168 mac_address, adv_callback, scan_callback = (
193 client_ad.droid.bleStopBleScan(scan_callback)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
DBleFuchsiaAndroidTest.py153 scan_callback = self.ad.droid.bleGenScanCallback()
156 scan_callback)
157 event_name = scan_result.format(scan_callback)
167 self.ad.droid.bleStopBleScan(scan_callback)
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/
DWlanWithBlePerformanceTest.py102 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/
DBleRangeTest.py224 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)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dbluetooth_device.py716 scan_callback = self.device.droid.bleGenScanCallback()
721 scan_callback)
723 event = self.device.ed.pop_event(scan_result.format(scan_callback),

12