Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/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/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 …]
DFilteringTest.py12040 scan_callback = self.scn_ad.droid.bleGenScanCallback()
12042 scan_callback)
12076 expected_scan_event_name = scan_result.format(scan_callback)
12099 self.scn_ad.droid.bleStopBleScan(scan_callback)
/tools/test/connectivity/acts/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/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/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/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/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/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 …]
/tools/test/connectivity/acts/tests/google/fuchsia/bt/
DBleFuchsiaAndroidTest.py142 scan_callback = self.ad.droid.bleGenScanCallback()
145 scan_callback)
146 event_name = scan_result.format(scan_callback)
156 self.ad.droid.bleStopBleScan(scan_callback)
/tools/test/connectivity/acts/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/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/framework/acts/test_utils/bt/
Dbt_test_utils.py155 for scan_callback in scn_callback_list:
156 scan_droid.bleStopBleScan(scan_callback)
591 scan_callback = droid.bleGenScanCallback()
592 return filter_list, scan_settings, scan_callback
891 scan_callback = scan_ad.droid.bleGenScanCallback()
895 scan_ad.droid.bleStartBleScan(filter_list, scan_settings, scan_callback)
898 "BleScan{}onScanResults".format(scan_callback), bt_default_timeout)
903 return mac_address, advertise_callback, scan_callback
1288 scan_callback = scn_ad.droid.bleGenScanCallback()
1289 scn_ad.droid.bleStartBleScan(filter_list, scan_settings, scan_callback)
[all …]
Dbt_coc_test_utils.py165 mac_address, adv_callback, scan_callback = (
190 client_ad.droid.bleStopBleScan(scan_callback)
Dbt_gatt_utils.py109 mac_address, adv_callback, scan_callback = (
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dbluetooth_device.py708 scan_callback = self.device.droid.bleGenScanCallback()
713 scan_callback)
715 event = self.device.ed.pop_event(scan_result.format(scan_callback),