Home
last modified time | relevance | path

Searched refs:scan_result (Results 1 – 25 of 34) sorted by relevance

12

/tools/test/connectivity/acts_tests/tests/google/ble/scan/
DBleOpportunisticScanTest.py36 from acts_contrib.test_utils.bt.bt_constants import scan_result
114 if not self._verify_no_events_found(scan_result.format(scan_callback)):
195 if not self._verify_no_events_found(scan_result.format(scan_callback)):
206 scan_result.format(scan_callback2), self.default_timeout)
212 scan_result.format(scan_callback), self.default_timeout)
340 scan_result.format(scan_callback2), self.default_timeout)
384 if not self._verify_no_events_found(scan_result.format(scan_callback)):
401 return self._verify_no_events_found(scan_result.format(scan_callback))
452 scan_result.format(callback), self.default_timeout)
561 if not self._verify_no_events_found(scan_result.format(scan_callback)):
[all …]
DBleScanScreenStateTest.py30 from acts_contrib.test_utils.bt.bt_constants import scan_result
74 self.scn_ad.ed.pop_event(scan_result.format(self.scan_callback),
448 self.scn_ad.ed.pop_event(scan_result.format(scan_callback),
455 self.scn_ad.ed.pop_event(scan_result.format(scan_callback2),
467 self.scn_ad.ed.pop_event(scan_result.format(scan_callback),
475 self.scn_ad.ed.pop_event(scan_result.format(scan_callback2),
533 scan_result.format(self.scan_callback),
546 self.scn_ad.ed.pop_event(scan_result.format(callback),
DBleOnLostOnFoundTest.py34 from acts_contrib.test_utils.bt.bt_constants import scan_result
132 scan_result.format(scan_callback), self.default_timeout * 3)
143 scan_result.format(scan_callback), self.default_timeout * 4)
202 scan_result.format(scan_callback), self.default_timeout * 3)
213 scan_result.format(scan_callback), self.default_timeout * 4)
272 scan_result.format(scan_callback), self.default_timeout * 3)
283 scan_result.format(scan_callback), self.default_timeout * 4)
DBleBackgroundScanTest.py35 from acts_contrib.test_utils.bt.bt_constants import scan_result
123 expected_event = scan_result.format(scan_callback)
177 expected_event = scan_result.format(scan_callback)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
DBleFuchsiaTest.py76 scan_result = le_scan_for_device_by_name(self.fuchsia_scan, self.log,
79 if not scan_result:
120 scan_result = le_scan_for_device_by_name(self.fuchsia_scan, self.log,
123 if not scan_result:
127 name, did, connectable = scan_result["name"], scan_result[
128 "id"], scan_result["connectable"]
DBleFuchsiaAndroidTest.py28 from acts_contrib.test_utils.bt.bt_constants import scan_result
93 scan_result = le_scan_for_device_by_name(self.fd, self.log,
96 if not scan_result:
99 name, did, connectable = scan_result["name"], scan_result[
100 "id"], scan_result["connectable"]
152 event_name = scan_result.format(scan_callback)
/tools/netsim/testing/mobly/
Dble_utils.py124 def IsRequiredScanResult(scan_result: callback_event.CallbackEvent) -> bool:
125 result = scan_result.data['result']
197 scan_result = scanner.scan_callback.waitForEvent(
202 result = scan_result.data['result']
203 scan_start_to_result_time_ms = scan_result.data['StartToResultTimeDeltaMs']
247 scan_result = None
258 scan_result = scanner.scan_callback.getAll('onScanResult')
259 if scan_result:
282 if scan_result:
284 result = [result.data['result'] for result in scan_result]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiScannerMultiScanTest.py52 def check_interval(self, scan_result, scan_result_next): argument
68 actual_interval = scan_result_next["timestamp"] - scan_result[
76 scan_result, scan_result_next, delta / 1000,
79 def verify_one_scan_result(self, scan_result): argument
89 freq = scan_result["frequency"]
93 % (freq, scan_result, self.scan_channels))
113 for scan_result in scan_results:
114 self.verify_one_scan_result(scan_result)
DWifiRttManagerTest.py372 def rtt_config_from_scan_result(self, scan_result): argument
383 freq = scan_result[RttParam.frequency]
385 p[RttParam.BSSID] = scan_result[WifiEnums.BSSID_KEY]
390 cf0 = scan_result[RttParam.center_freq0]
393 cf1 = scan_result[RttParam.center_freq1]
396 cw = scan_result["channelWidth"]
399 if scan_result["is80211McRTTResponder"]:
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DRangeApSupporting11McTest.py291 def rtt_config_from_scan_result(self, scan_result): argument
309 freq = scan_result[RttParam.frequency]
311 p[RttParam.BSSID] = scan_result[WifiEnums.BSSID_KEY]
316 cf0 = scan_result[RttParam.center_freq0]
319 cf1 = scan_result[RttParam.center_freq1]
322 cw = scan_result["channelWidth"]
325 if scan_result["is80211McRTTResponder"]:
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/
DHiddenNetworksTest.py101 scan_result = fd.sl4f.wlan_policy_lib.wlanScanForNetworks()
102 if scan_result["error"] != None:
104 scan_result["error"])
107 scans = scan_result["result"]
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/
DBt5ScanTest.py36 from acts_contrib.test_utils.bt.bt_constants import scan_result
178 scan_result.format(scan_callback), self.default_timeout)
235 scan_result.format(scan_callback), self.default_timeout)
291 scan_result.format(scan_callback), self.default_timeout)
349 scan_result.format(scan_callback), self.default_timeout)
407 scan_result.format(scan_callback), self.default_timeout)
/tools/test/connectivity/acts_tests/tests/google/ble/filtering/
DUniqueFilteringTest.py35 from acts_contrib.test_utils.bt.bt_constants import scan_result
117 expected_event_name = scan_result.format(scan_callback)
288 expected_event_name = scan_result.format(scan_callback)
343 expected_event_name = scan_result.format(scan_callback)
459 expected_event_name = scan_result.format(scan_callback)
491 expected_event_name = scan_result.format(scan_callback2)
558 expected_event_name = scan_result.format(scan_callback)
633 expected_event_name = scan_result.format(scan_callback)
/tools/test/connectivity/acts_tests/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py30 from acts_contrib.test_utils.bt.bt_test_utils import scan_result
188 scan_result.format(scan_callback), self.default_timeout)
279 scan_result.format(scan_callback), self.default_timeout))
332 scan_result.format(cb), self.default_timeout)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/rtt/
Drtt_test_utils.py194 def validate_ap_result(scan_result, range_result): argument
205 scan_result[wutils.WifiEnums.BSSID_KEY],
208 if (rconsts.SCAN_RESULT_KEY_RTT_RESPONDER in scan_result
209 and scan_result[rconsts.SCAN_RESULT_KEY_RTT_RESPONDER]):
/tools/test/connectivity/acts_tests/tests/google/ble/concurrency/
DConcurrentBleScanningTest.py34 from acts_contrib.test_utils.bt.bt_constants import scan_result
124 scan_result.format(scan_callback), self.default_timeout)
208 scan_result.format(callback), self.default_timeout)
338 expected_scan_event_name = scan_result.format(scan_callback)
DConcurrentBleAdvertisingTest.py37 from acts_contrib.test_utils.bt.bt_constants import scan_result
497 self.scn_ad.ed.pop_event(scan_result.format(scan_callback),
509 expected_event = scan_result.format(scan_callback)
DConcurrentBleAdvertisementDiscoveryTest.py27 from acts_contrib.test_utils.bt.bt_constants import scan_result
/tools/test/connectivity/acts_tests/tests/google/ble/examples/
DBleExamplesTest.py25 from acts_contrib.test_utils.bt.bt_constants import scan_result
101 event_name = scan_result.format(scan_callback)
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_capture.py146 def _parse_scan_results(self, scan_result): argument
162 for line in scan_result.splitlines():
/tools/test/connectivity/acts_tests/tests/google/ble/system_tests/
DBleStressTest.py34 from acts_contrib.test_utils.bt.bt_constants import scan_result
137 self.scn_ad.ed.pop_event(scan_result.format(scan_callback)))
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
DGattToolTest.py35 from acts_contrib.test_utils.bt.bt_constants import scan_result
94 expected_event_name = scan_result.format(scan_callback)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_constants.py55 scan_result = "BleScan{}onScanResults" variable
/tools/test/connectivity/acts_tests/tests/google/bt/performance/
DBtA2dpRangeWithBleScanTest.py22 from acts_contrib.test_utils.bt.bt_constants import scan_result
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dota_sniffer.py472 scan_result = self._sniffer_server.run(scan_command).stdout
474 return scan_result

12