HomeSort by relevance Sort by last modified time
    Searched refs:scan_result (Results 1 - 25 of 31) sorted by null

1 2

  /system/bt/service/doc/
IBluetoothLowEnergyCallback.txt 43 * this client using IBluetoothLowEnergy.startScan. |scan_result| contains all
46 void onScanResult(in ScanResult scan_result);
  /system/bt/service/common/bluetooth/binder/
IBluetoothLowEnergyCallback.h 25 #include <bluetooth/scan_result.h>
62 virtual void OnScanResult(const bluetooth::ScanResult& scan_result) = 0;
103 void OnScanResult(const bluetooth::ScanResult& scan_result) override;
IBluetoothLowEnergyCallback.cpp 76 auto scan_result = CreateScanResultFromParcel(data); local
77 CHECK(scan_result.get());
78 OnScanResult(*scan_result);
152 const bluetooth::ScanResult& scan_result) {
157 WriteScanResultToParcel(scan_result, &data);
parcel_helpers.h 27 #include <bluetooth/scan_result.h>
92 const bluetooth::ScanResult& scan_result,
parcel_helpers.cpp 272 const bluetooth::ScanResult& scan_result,
278 if (util::IsAddressValid(scan_result.device_address())) {
280 parcel->writeCString(scan_result.device_address().c_str());
285 parcel->writeByteVector(scan_result.scan_record());
286 parcel->writeInt32(scan_result.rssi());
  /external/autotest/server/site_tests/network_WiFi_VerifyAttenuator/
network_WiFi_VerifyAttenuator.py 115 scan_result = self._client_iw_runner.wait_for_scan_result(
117 if scan_result is None or len(scan_result) == 0:
120 for network in scan_result:
211 scan_result = self._client_iw_runner.wait_for_scan_result(
213 if scan_result is None or len(scan_result) == 0:
216 elif (len(scan_result) == 1 and scan_result[0].ssid == hidden_ssid):
219 elif len(scan_result) > 1
    [all...]
  /tools/test/connectivity/acts/tests/google/ble/scan/
BleOpportunisticScanTest.py 34 from acts.test_utils.bt.bt_test_utils import scan_result
120 if not self._verify_no_events_found(scan_result.format(scan_callback)):
199 if not self._verify_no_events_found(scan_result.format(scan_callback)):
209 scan_result.format(scan_callback2), self.default_timeout)
211 scan_result.format(scan_callback), self.default_timeout)
326 scan_result.format(scan_callback2), self.default_timeout)
367 if not self._verify_no_events_found(scan_result.format(scan_callback)):
380 return self._verify_no_events_found(scan_result.format(scan_callback))
430 scan_result.format(callback), self.default_timeout)
531 if not self._verify_no_events_found(scan_result.format(scan_callback))
    [all...]
BleOnLostOnFoundTest.py 31 from acts.test_utils.bt.bt_test_utils import scan_result
126 scan_result.format(scan_callback), self.default_timeout * 3)
137 scan_result.format(scan_callback), self.default_timeout * 4)
194 scan_result.format(scan_callback), self.default_timeout * 3)
205 scan_result.format(scan_callback), self.default_timeout * 4)
262 scan_result.format(scan_callback), self.default_timeout * 3)
273 scan_result.format(scan_callback), self.default_timeout * 4)
BleBackgroundScanTest.py 30 from acts.test_utils.bt.bt_test_utils import scan_result
132 expected_event = scan_result.format(scan_callback)
178 expected_event = scan_result.format(scan_callback)
DeathToBluetoothTest.py 87 self.scn_ad.ed.pop_event(scan_result.format(scan_callback))
  /tools/test/connectivity/acts/tests/google/wifi/
WifiScannerMultiScanTest.py 49 def check_interval(self, scan_result, scan_result_next):
61 scan_result: A dictionary representing a scan result for a BSSID.
63 BSSID, whose scan happened after scan_result.
65 actual_interval = scan_result_next["timestamp"] - scan_result["timestamp"]
71 scan_result,
77 def verify_one_scan_result(self, scan_result):
84 scan_result: A dictionary representing the scan result of a single
87 freq = scan_result["frequency"]
90 freq, scan_result, self.scan_channels)
112 for scan_result in scan_results
    [all...]
WifiRttManagerTest.py 368 def rtt_config_from_scan_result(self, scan_result):
379 freq = scan_result[RttParam.frequency]
381 p[RttParam.BSSID] = scan_result[WifiEnums.BSSID_KEY]
386 cf0 = scan_result[RttParam.center_freq0]
389 cf1 = scan_result[RttParam.center_freq1]
392 cw = scan_result["channelWidth"]
395 if scan_result["is80211McRTTResponder"]:
  /external/autotest/client/site_tests/network_3GScanningProperty/files/
modems.py 91 scan_result = super(AsyncScanModem, self).SyncScan()
98 self._scan_ok_callback(scan_result)
  /tools/test/connectivity/acts/tests/google/ble/examples/
BleExamplesTest.py 25 from acts.test_utils.bt.bt_test_utils import scan_result
102 event_name = scan_result.format(scan_callback)
  /external/autotest/server/cros/network/
wpa_cli_proxy.py 286 scan_result = self.run_wpa_cli_cmd('scan_results',
289 for line in scan_result.stdout.strip().splitlines():
305 scan_result = self.run_wpa_cli_cmd('scan', check_result=False)
306 if scan_result.stdout.strip().endswith('OK'):
wifi_client.py 550 scan_result = self.iw_runner.timed_scan(
553 if scan_result is not None:
561 if scan_result.time > scan_timeout_seconds:
563 (scan_result.time))
566 self.assert_bsses_include_ssids(scan_result.bss_list, ssids)
568 logging.info('Wifi scan completed in %.2f seconds', scan_result.time)
569 return scan_result.time
    [all...]
  /tools/test/connectivity/acts/tests/google/ble/system_tests/
BleOnLostOnFoundStressTest.py 43 scan_result = "BleScan{}onScanResults" variable in class:BleOnLostOnFoundStressTest
128 self.scan_result.format(scan_callback),
137 self.scan_result.format(scan_callback),
198 self.scan_result.format(scan_callback),
207 self.scan_result.format(scan_callback),
BleStressTest.py 30 from acts.test_utils.bt.bt_test_utils import scan_result
114 self.log.info(self.scn_ad.ed.pop_event(scan_result.format(
  /tools/test/connectivity/acts/tests/google/ble/beacon_tests/
BeaconSwarmTest.py 30 from acts.test_utils.bt.bt_test_utils import scan_result
194 scan_result.format(scan_callback), self.default_timeout)
285 scan_result.format(scan_callback), self.default_timeout))
338 scan_result.format(cb), self.default_timeout)
  /tools/test/connectivity/acts/tests/google/ble/filtering/
UniqueFilteringTest.py 32 from acts.test_utils.bt.bt_test_utils import scan_result
115 expected_event_name = scan_result.format(scan_callback)
272 expected_event_name = scan_result.format(scan_callback)
328 expected_event_name = scan_result.format(scan_callback)
439 expected_event_name = scan_result.format(scan_callback)
463 expected_event_name = scan_result.format(scan_callback2)
  /tools/test/connectivity/acts/tests/google/ble/concurrency/
ConcurrentBleScanningTest.py 33 from acts.test_utils.bt.bt_test_utils import scan_result
122 scan_result.format(scan_callback), self.default_timeout)
205 scan_result.format(scan_callback), self.default_timeout)
338 expected_scan_event_name = scan_result.format(scan_callback)
ConcurrentBleAdvertisingTest.py 35 from acts.test_utils.bt.bt_test_utils import scan_result
101 scan_result.format(scan_callback), self.default_timeout)
571 scan_result.format(scan_callback), self.default_timeout)
585 expected_event = scan_result.format(scan_callback)
  /system/bt/service/client/
main.cpp 190 void OnScanResult(const bluetooth::ScanResult& scan_result) override {
193 << COLOR_BOLDYELLOW "[" << scan_result.device_address() << "] "
194 << COLOR_BOLDWHITE "- RSSI: " << scan_result.rssi() << COLOR_OFF;
198 << base::HexEncode(scan_result.scan_record().data(),
199 scan_result.scan_record().size());
  /system/bt/service/
low_energy_client.h 31 #include "service/common/bluetooth/scan_result.h"
62 const ScanResult& scan_result) = 0;
  /external/autotest/client/common_lib/cros/network/
iw_runner.py 556 scan_result = self.timed_scan(interface, frequencies, ssids)
557 if scan_result is None:
559 return scan_result.bss_list

Completed in 296 milliseconds

1 2