Home
last modified time | relevance | path

Searched refs:hidlScanResult (Results 1 – 2 of 2) sorted by relevance

/device/google/wahoo/wifi_offload/test/
Doffload_hal_test_utils.cpp123 for (const auto& hidlScanResult : hidlScanResultsTest) { in validateScanResult() local
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()
139 if (hidlScanResult.networkInfo.ssid[k] != chreWifiSsid.ssid[k]) in validateScanResult()
142 if (hidlScanResult.networkInfo.flags != kNetworkFlags) { in validateScanResult()
/device/google/wahoo/wifi_offload/
Doffload_utils.cpp121 bool ToHidlScanResult(const wifi_offload::ScanResult& chreScanResult, ScanResult* hidlScanResult) { in ToHidlScanResult() argument
122 if (hidlScanResult == nullptr) { in ToHidlScanResult()
125 hidlScanResult->tsf = chreScanResult.tsf_; in ToHidlScanResult()
126 hidlScanResult->capability = chreScanResult.capability_; in ToHidlScanResult()
127 hidlScanResult->rssi = chreScanResult.rssi_dbm_; in ToHidlScanResult()
128 hidlScanResult->frequency = chreScanResult.frequency_scanned_mhz_; in ToHidlScanResult()
129 memcpy(&hidlScanResult->bssid[0], &chreScanResult.bssid_[0], in ToHidlScanResult()
137 hidlScanResult->networkInfo.ssid = ssid; in ToHidlScanResult()
138 hidlScanResult->networkInfo.flags = ToHidlSecurityMode(chreScanResult.security_modes_); in ToHidlScanResult()