Home
last modified time | relevance | path

Searched refs:ScanResult (Results 1 – 25 of 46) 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_types_generated.h31 struct ScanResult;
136 struct ScanResult FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
177 fbb_.AddOffset(ScanResult::VT_SSID, ssid); in add_ssid()
180 fbb_.AddElement<uint8_t>(ScanResult::VT_SECURITY_MODES, security_modes, 0); in add_security_modes()
183 fbb_.AddOffset(ScanResult::VT_BSSID, bssid); in add_bssid()
186 fbb_.AddElement<uint16_t>(ScanResult::VT_CAPABILITY, capability, 0); in add_capability()
189 fbb_.AddElement<uint32_t>(ScanResult::VT_FREQUENCY_SCANNED_MHZ, in add_frequency_scanned_mhz()
193 fbb_.AddElement<int8_t>(ScanResult::VT_RSSI_DBM, rssi_dbm, 0); in add_rssi_dbm()
196 fbb_.AddElement<uint64_t>(ScanResult::VT_TSF, tsf, 0); in add_tsf()
202 flatbuffers::Offset<ScanResult> Finish() { in Finish()
[all …]
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/connectivity/wificond/tests/
Doffload_callback_test.cpp29 using android::hardware::wifi::offload::V1_0::ScanResult;
46 std::vector<ScanResult> dummy_scan_results_;
56 std::vector<ScanResult> scan_result; in TEST_F()
60 [&scan_result](std::vector<ScanResult> scanResult) -> void { in TEST_F()
64 hidl_vec<ScanResult> offloadScanResult(dummy_scan_results_); in TEST_F()
Doffload_test_utils.cpp22 using android::hardware::wifi::offload::V1_0::ScanResult;
36 std::vector<ScanResult> OffloadTestUtils::createOffloadScanResults() { in createOffloadScanResults()
37 std::vector<ScanResult> scanResults; in createOffloadScanResults()
38 ScanResult scanResult; in createOffloadScanResults()
Dmock_offload_callback_handlers.h37 android::hardware::wifi::offload::V1_0::ScanResult>& scanResult));
/system/connectivity/wificond/scanning/offload/
Doffload_callback.cpp25 using ::android::hardware::wifi::offload::V1_0::ScanResult;
40 const hidl_vec<ScanResult>& scan_result) { in onScanResult()
42 handlers_->OnScanResultHandler(std::vector<ScanResult>(scan_result)); in onScanResult()
Doffload_callback_handlers.h30 const std::vector<::android::hardware::wifi::offload::V1_0::ScanResult>&
Doffload_callback.h37 ::android::hardware::wifi::offload::V1_0::ScanResult>& 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()
/system/chre/apps/wifi_offload/test/
Dscanresult_test.cc25 wifi_offload::ScanResult nanoapp_scan_result(chre_scan_result); in TEST()

12