Home
last modified time | relevance | path

Searched refs:chre_scan_result (Results 1 – 3 of 3) sorted by relevance

/system/chre/apps/wifi_offload/test/
Dscanresult_test.cc23 chreWifiScanResult chre_scan_result; in TEST() local
24 init(chre_scan_result, random_gen); in TEST()
25 wifi_offload::ScanResult nanoapp_scan_result(chre_scan_result); in TEST()
28 ssid.SetData(chre_scan_result.ssid, chre_scan_result.ssidLen); in TEST()
30 EXPECT_EQ(chre_scan_result.securityMode, nanoapp_scan_result.security_modes_); in TEST()
31 EXPECT_EQ(0, std::memcmp(chre_scan_result.bssid, nanoapp_scan_result.bssid_, in TEST()
33 EXPECT_EQ(chre_scan_result.capabilityInfo, nanoapp_scan_result.capability_); in TEST()
34 EXPECT_EQ(chre_scan_result.primaryChannel, in TEST()
36 EXPECT_EQ(chre_scan_result.rssi, nanoapp_scan_result.rssi_dbm_); in TEST()
/system/chre/apps/wifi_offload/
Dscan_result.cc60 ScanResult::ScanResult(const chreWifiScanResult &chre_scan_result) { in ScanResult() argument
61 UpdateFromChreWifiScanResult(chre_scan_result); in ScanResult()
140 const chreWifiScanResult &chre_scan_result) { in UpdateFromChreWifiScanResult() argument
141 ssid_.SetData(chre_scan_result.ssid, chre_scan_result.ssidLen); in UpdateFromChreWifiScanResult()
147 if (chre_scan_result.securityMode & chre_security_mode) { in UpdateFromChreWifiScanResult()
152 std::memcpy(bssid_, chre_scan_result.bssid, CHRE_WIFI_BSSID_LEN); in UpdateFromChreWifiScanResult()
155 capability_ = chre_scan_result.capabilityInfo; in UpdateFromChreWifiScanResult()
156 if (chre_scan_result.channelWidth == CHRE_WIFI_CHANNEL_WIDTH_20_MHZ) { in UpdateFromChreWifiScanResult()
157 frequency_scanned_mhz_ = chre_scan_result.primaryChannel; in UpdateFromChreWifiScanResult()
161 chre_scan_result.channelWidth); in UpdateFromChreWifiScanResult()
[all …]
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dscan_result.h71 explicit ScanResult(const chreWifiScanResult &chre_scan_result);
93 void UpdateFromChreWifiScanResult(const chreWifiScanResult &chre_scan_result);