Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/tests/google/ble/scan/
DBleOpportunisticScanTest.py111 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
114 scan_callback)
115 self.active_scan_callback_list.append(scan_callback)
116 if not self._verify_no_events_found(scan_result.format(scan_callback)):
118 self.scn_ad.droid.bleStopBleScan(scan_callback)
150 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
153 scan_callback)
154 self.active_scan_callback_list.append(scan_callback)
156 batch_scan_result.format(scan_callback)):
158 self.scn_ad.droid.bleStopBleScan(scan_callback)
[all …]
DBleScanScreenStateTest.py43 scan_callback = -1 variable in BleScanScreenStateTest
72 filter_list, scan_settings, self.scan_callback = \
75 self.scan_callback)
80 scan_result.format(self.scan_callback), bt_default_timeout)
128 self.scn_ad.droid.bleStopBleScan(self.scan_callback)
174 self.scn_ad.droid.bleStopBleScan(self.scan_callback)
214 filter_list, scan_settings, self.scan_callback = generate_ble_scan_objects(
218 self.scan_callback)
226 self.scn_ad.droid.bleStopBleScan(self.scan_callback)
281 self.scn_ad.droid.bleStopBleScan(self.scan_callback)
[all …]
DBleOnLostOnFoundTest.py127 scan_callback = self.scn_ad.droid.bleGenScanCallback()
130 scan_callback)
131 self.active_scan_callback_list.append(scan_callback)
134 scan_result.format(scan_callback), self.default_timeout * 3)
145 scan_result.format(scan_callback), self.default_timeout * 4)
197 scan_callback = self.scn_ad.droid.bleGenScanCallback()
200 scan_callback)
201 self.active_scan_callback_list.append(scan_callback)
204 scan_result.format(scan_callback), self.default_timeout * 3)
215 scan_result.format(scan_callback), self.default_timeout * 4)
[all …]
DBleBackgroundScanTest.py111 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
124 scan_callback)
125 expected_event = scan_result.format(scan_callback)
163 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
178 scan_callback)
179 expected_event = scan_result.format(scan_callback)
/tools/test/connectivity/acts/tests/google/ble/filtering/
DUniqueFilteringTest.py114 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
116 expected_event_name = scan_result.format(scan_callback)
122 scan_callback)
123 self.scn_ad.droid.bleFlushPendingScanResults(scan_callback)
135 self.scn_ad.droid.bleStopBleScan(scan_callback)
167 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
169 expected_event_name = batch_scan_result.format(scan_callback)
177 scan_callback)
192 self.scn_ad.droid.bleStopBleScan(scan_callback)
220 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
[all …]
/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)
208 scan_result.format(scan_callback), self.default_timeout)
214 .format(scan_callback))
[all …]
DConcurrentBleAdvertisingTest.py487 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
491 scan_callback)
494 scan_result.format(scan_callback), self.default_timeout)
498 self.scn_ad.droid.bleStopBleScan(scan_callback)
501 scan_callback)
505 expected_event = scan_result.format(scan_callback)
513 self.scn_ad.droid.bleStopBleScan(scan_callback)
DConcurrentGattConnectTest.py119 scan_callback = self.pri_dut.droid.bleGenScanCallback()
124 scan_callback)
135 "BleScan{}onScanResults".format(scan_callback),
/tools/test/connectivity/acts/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py185 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
188 scan_callback)
191 scan_result.format(scan_callback), self.default_timeout)
199 self.scn_ad.droid.bleStopBleScan(scan_callback)
228 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
231 scan_callback)
234 batch_scan_result.format(scan_callback), self.default_timeout)
241 self.scn_ad.droid.bleStopBleScan(scan_callback)
274 filter_list, scan_settings, scan_callback = (
280 scan_callback)
[all …]
/tools/test/connectivity/acts/tests/google/ble/bt5/
DBt5ScanTest.py167 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
174 scan_callback)
175 self.active_scan_callback_list.append(scan_callback)
179 scan_result.format(scan_callback), self.default_timeout)
224 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
231 scan_callback)
232 self.active_scan_callback_list.append(scan_callback)
236 scan_result.format(scan_callback), self.default_timeout)
280 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
287 scan_callback)
[all …]
/tools/test/connectivity/acts/tests/google/ble/system_tests/
DBleStressTest.py93 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
96 scan_callback)
97 self.scn_ad.droid.bleStopBleScan(scan_callback)
131 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
134 scan_callback)
136 self.scn_ad.ed.pop_event(scan_result.format(scan_callback)))
137 self.scn_ad.droid.bleStopBleScan(scan_callback)
289 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
292 scan_callback)
295 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/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 = (
285 self.cen_ad.droid.bleStopBleScan(scan_callback)
349 mac_address, adv_callback, scan_callback = (
359 self.cen_ad.droid.bleStopBleScan(scan_callback)
800 mac_address, adv_callback, scan_callback = get_mac_address_of_generic_advertisement(
808 self.cen_ad.droid.bleStopBleScan(scan_callback)
1075 scan_callback = self.cen_ad.droid.bleGenScanCallback()
1080 scan_callback)
1081 expected_event_name = scan_result.format(scan_callback)
/tools/test/connectivity/acts/tests/google/coex/performance_tests/
DWlanWithBlePerformanceTest.py91 filter_list, scan_settings, scan_callback = generate_ble_scan_objects(
94 scan_callback)
97 self.pri_ad.droid.bleStopBleScan(scan_callback)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_test_utils.py101 scan_callback = scn_ad.droid.bleGenScanCallback()
102 scn_ad.droid.bleStartBleScan(filter_list, scan_settings, scan_callback)
108 scan_result.format(scan_callback), bt_default_timeout)
118 scn_ad.droid.bleStopBleScan(scan_callback)
183 scan_callback = droid.bleGenScanCallback()
184 return filter_list, scan_settings, scan_callback
518 for scan_callback in scn_callback_list:
519 scan_droid.bleStopBleScan(scan_callback)
565 scan_callback = scan_ad.droid.bleGenScanCallback()
569 scan_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)
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_gatt_utils.py109 mac_address, adv_callback, scan_callback = (