Home
last modified time | relevance | path

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

12

/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dscan_result.h32 class ScanResult {
61 using FbsType = fbs::ScanResult;
65 ScanResult();
67 ScanResult(const ScanResult &other);
69 ScanResult(ScanResult &&other) = default;
71 explicit ScanResult(const chreWifiScanResult &chre_scan_result);
73 ~ScanResult() = default;
75 bool operator==(const ScanResult &other) const;
77 flatbuffers::Offset<ScanResult::FbsType> Serialize(
80 bool Deserialize(const ScanResult::FbsType &fbs_result);
Dscan_result_message.h38 void SetScanResults(const Vector<ScanResult> &results);
39 void GetScanResults(Vector<ScanResult> *results);
47 Vector<ScanResult> scan_results_;
Dflatbuffers_serialization.h58 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results,
76 wifi_offload::Vector<wifi_offload::ScanResult> *results);
/system/bt/service/common/android/bluetooth/
Dscan_result.h31 class ScanResult : public Parcelable, public ::bluetooth::ScanResult {
33 ScanResult() = default;
35 ScanResult(const ::bluetooth::ScanResult& scan_result) // NOLINT in ScanResult() function
36 : ::bluetooth::ScanResult(scan_result){}; in ScanResult()
37 ~ScanResult() = default;
DIBluetoothLeScannerCallback.aidl19 import android.bluetooth.ScanResult;
23 void OnScanResult(in ScanResult scan_result); in OnScanResult()
Dscan_result.cc34 status_t ScanResult::writeToParcel(Parcel* parcel) const { in writeToParcel()
46 status_t ScanResult::readFromParcel(const Parcel* parcel) { in readFromParcel()
DScanResult.aidl19 parcelable ScanResult cpp_header "android/bluetooth/scan_result.h";
DIBluetoothLowEnergyCallback.aidl19 import android.bluetooth.ScanResult;
/system/chre/apps/wifi_offload/
Dscan_result.cc41 ScanResult::ScanResult() in ScanResult() function in wifi_offload::ScanResult
50 ScanResult::ScanResult(const ScanResult &other) in ScanResult() function in wifi_offload::ScanResult
60 ScanResult::ScanResult(const chreWifiScanResult &chre_scan_result) { in ScanResult() function in wifi_offload::ScanResult
64 bool ScanResult::operator==(const ScanResult &other) const { in operator ==()
75 flatbuffers::Offset<ScanResult::FbsType> ScanResult::Serialize( in Serialize()
84 bool ScanResult::Deserialize(const ScanResult::FbsType &fbs_result) { in Deserialize()
128 void ScanResult::Log() const { in Log()
139 void ScanResult::UpdateFromChreWifiScanResult( in UpdateFromChreWifiScanResult()
Dscan_result_message.cc22 void ScanResultMessage::SetScanResults(const Vector<ScanResult> &results) { in SetScanResults()
30 void ScanResultMessage::GetScanResults(Vector<ScanResult> *results) { in GetScanResults()
59 if (!DeserializeVector<ScanResult>(*fbs_results, &scan_results_)) { in Deserialize()
Dflatbuffers_serialization.cc45 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results, in Serialize()
53 wifi_offload::Vector<wifi_offload::ScanResult> *results) { in Deserialize()
/system/bt/service/common/bluetooth/
Dscan_result.h28 class ScanResult {
30 ScanResult(const std::string& device_address,
32 ScanResult() = default;
33 virtual ~ScanResult() = default;
46 bool operator==(const ScanResult& rhs) const;
Dscan_result.cc24 ScanResult::ScanResult(const std::string& device_address, in ScanResult() function in bluetooth::ScanResult
31 bool ScanResult::operator==(const ScanResult& rhs) const { in operator ==()
/system/bt/binder/android/bluetooth/le/
DIScannerCallback.aidl18 import android.bluetooth.le.ScanResult;
27 void onScanResult(in ScanResult scanResult); in onScanResult()
28 void onBatchScanResults(in List<ScanResult> batchResults); in onBatchScanResults()
29 void onFoundOrLost(in boolean onFound, in ScanResult scanResult); in onFoundOrLost()
DScanResult.aidl19 parcelable ScanResult;
/system/bt/service/test/
Dparcelable_unittest.cc37 using bluetooth::ScanResult;
130 TEST(ParcelableTest, ScanResult) { in TEST() argument
138 ScanResult result0(kTestAddress, kEmptyBytes, kTestRssi); in TEST()
139 ScanResult result1(kTestAddress, kTestBytes, kTestRssi); in TEST()
141 bool result = TestData<ScanResult, android::bluetooth::ScanResult>(result0); in TEST()
144 result = TestData<ScanResult, android::bluetooth::ScanResult>(result1); in TEST()
DParcelableTest.aidl15 import android.bluetooth.ScanResult;
23 void OnScanResult(in ScanResult scan_result); in OnScanResult()
Dlow_energy_scanner_unittest.cc96 const ScanResult& last_scan_result() const { return last_scan_result_; } in last_scan_result()
99 const ScanResult& scan_result) override { in OnScanResult()
107 ScanResult last_scan_result_;
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/
Dflatbuffers_types_generated.h18 struct ScanResult;
147 struct ScanResult FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
195 typedef ScanResult Table;
199 fbb_.AddOffset(ScanResult::VT_SSID, ssid); in add_ssid()
202 fbb_.AddElement<uint8_t>(ScanResult::VT_SECURITY_MODES, security_modes, 0); in add_security_modes()
205 fbb_.AddOffset(ScanResult::VT_BSSID, bssid); in add_bssid()
208 fbb_.AddElement<uint16_t>(ScanResult::VT_CAPABILITY, capability, 0); in add_capability()
211 fbb_.AddElement<uint32_t>(ScanResult::VT_FREQUENCY_SCANNED_MHZ, frequency_scanned_mhz, 0); in add_frequency_scanned_mhz()
214 fbb_.AddElement<int8_t>(ScanResult::VT_RSSI_DBM, rssi_dbm, 0); in add_rssi_dbm()
217 fbb_.AddElement<uint64_t>(ScanResult::VT_TSF, tsf, 0); in add_tsf()
[all …]
Dflatbuffers_types.fbs38 table ScanResult {
52 scan_results:[ScanResult];
/system/chre/apps/wifi_offload/test/
Dscanresult_test.cc25 wifi_offload::ScanResult nanoapp_scan_result(chre_scan_result); in TEST()
Doffloadtypes_test.cc71 typedef testing::Types<wifi_offload::PreferredNetwork, wifi_offload::ScanResult,
/system/chre/apps/test/common/proto/
Dchre_cross_validation_wifi.proto53 * The fields that are common between the AP framework ScanResult object @
54 * //frameworks/base/wifi/java/android/net/wifi/ScanResult.java
/system/bt/service/ipc/binder/
Dbluetooth_le_scanner_binder_server.h65 const bluetooth::ScanResult& result) override;
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorWifi.java28 import android.net.wifi.ScanResult;
211 List<ScanResult> results = mWifiManager.getScanResults(); in sendWifiScanResultsToChre()
228 private NanoAppMessage makeWifiScanResultMessage(ScanResult result, int totalNumResults, in makeWifiScanResultMessage()

12