Home
last modified time | relevance | path

Searched refs:pno_settings (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/wificond/tests/
Dscan_settings_unittest.cpp153 PnoSettings pno_settings; in TEST_F() local
163 pno_settings.interval_ms_ = kFakePnoIntervalMs; in TEST_F()
164 pno_settings.min_2g_rssi_ = kFakePnoMin2gRssi; in TEST_F()
165 pno_settings.min_5g_rssi_ = kFakePnoMin5gRssi; in TEST_F()
166 pno_settings.min_6g_rssi_ = kFakePnoMin6gRssi; in TEST_F()
168 pno_settings.pno_networks_ = {network, network1}; in TEST_F()
171 EXPECT_EQ(::android::OK, pno_settings.writeToParcel(&parcel)); in TEST_F()
177 EXPECT_EQ(pno_settings, pno_settings_copy); in TEST_F()
Dscanner_unittest.cpp354 PnoSettings pno_settings; in TEST_F() local
355 pno_settings.interval_ms_ = kFakeScanIntervalMs; in TEST_F()
366 EXPECT_TRUE(scanner.startPnoScan(pno_settings, &success_ignored).isOk()); in TEST_F()
387 PnoSettings pno_settings; in TEST_F() local
388 pno_settings.interval_ms_ = kFakeScanIntervalMs; in TEST_F()
400 EXPECT_TRUE(scanner.startPnoScan(pno_settings, &success_ignored).isOk()); in TEST_F()
433 PnoSettings pno_settings; in TEST_F() local
437 pno_settings.pno_networks_.push_back(network); in TEST_F()
445 EXPECT_TRUE(scanner_impl.startPnoScan(pno_settings, &success).isOk()); in TEST_F()
464 PnoSettings pno_settings; in TEST_F() local
[all …]
/system/connectivity/wificond/scanning/
Dscanner_impl.cpp200 Status ScannerImpl::startPnoScan(const PnoSettings& pno_settings, in startPnoScan() argument
202 pno_settings_ = pno_settings; in startPnoScan()
204 *out_success = StartPnoScanDefault(pno_settings); in startPnoScan()
208 void ScannerImpl::ParsePnoSettings(const PnoSettings& pno_settings, in ParsePnoSettings() argument
219 for (auto& network : pno_settings.pno_networks_) { in ParsePnoSettings()
272 bool ScannerImpl::StartPnoScanDefault(const PnoSettings& pno_settings) { in StartPnoScanDefault() argument
286 ParsePnoSettings(pno_settings, &scan_ssids, &match_ssids, &freqs, &unused); in StartPnoScanDefault()
301 GenerateIntervalSetting(pno_settings), in StartPnoScanDefault()
302 pno_settings.min_2g_rssi_, in StartPnoScanDefault()
303 pno_settings.min_5g_rssi_, in StartPnoScanDefault()
[all …]
Dscanner_impl.h57 const android::net::wifi::nl80211::PnoSettings& pno_settings,
80 const android::net::wifi::nl80211::PnoSettings& pno_settings);
83 const android::net::wifi::nl80211::PnoSettings& pno_settings,
88 const android::net::wifi::nl80211::PnoSettings& pno_settings) const;
/system/connectivity/wificond/
DAndroid.bp107 "scanning/pno_settings.cpp",
178 "scanning/pno_settings.cpp",