Home
last modified time | relevance | path

Searched refs:chreScanResults (Results 1 – 4 of 4) sorted by relevance

/device/google/wahoo/wifi_offload/test/
Doffload_hal_test_utils.cpp28 void createChreScanResultsForTest(std::vector<wifi_offload::ScanResult>* chreScanResults) { in createChreScanResultsForTest() argument
37 chreScanResults->push_back(chreScanResult); in createChreScanResultsForTest()
119 const std::vector<wifi_offload::ScanResult> chreScanResults) { in validateScanResult() argument
120 if (hidlScanResultsTest.size() != chreScanResults.size()) in validateScanResult()
124 if (hidlScanResult.tsf != chreScanResults[i].tsf_) in validateScanResult()
126 if (hidlScanResult.rssi != chreScanResults[i].rssi_dbm_) in validateScanResult()
128 if (hidlScanResult.capability != chreScanResults[i].capability_) in validateScanResult()
130 if (hidlScanResult.frequency != chreScanResults[i].frequency_scanned_mhz_) in validateScanResult()
133 if (hidlScanResult.bssid[j] != chreScanResults[i].bssid_[j]) in validateScanResult()
137 chreScanResults[i].ssid_.ToChreWifiSsidListItem(&chreWifiSsid); in validateScanResult()
Doffload_hal_test_utils.h30 void createChreScanResultsForTest(std::vector<wifi_offload::ScanResult>* chreScanResults);
36 const std::vector<wifi_offload::ScanResult> chreScanResults);
/device/google/wahoo/wifi_offload/
Doffload_utils.h15 bool ToHidlScanResults(const std::vector<wifi_offload::ScanResult>& chreScanResults,
Doffload_utils.cpp142 bool ToHidlScanResults(const std::vector<wifi_offload::ScanResult>& chreScanResults, in ToHidlScanResults() argument
144 LOG(VERBOSE) << "ScanResults from CHRE, size=" << chreScanResults.size(); in ToHidlScanResults()
145 for (const auto& scan_result_from_nano_app : chreScanResults) { in ToHidlScanResults()