Home
last modified time | relevance | path

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

/system/connectivity/wificond/scanning/
Dscanner_impl.cpp204 Status ScannerImpl::startPnoScan(const PnoSettings& pno_settings, in startPnoScan() argument
206 pno_settings_ = pno_settings; in startPnoScan()
209 if (offload_scan_supported_ && StartPnoScanOffload(pno_settings)) { in startPnoScan()
213 *out_success = StartPnoScanDefault(pno_settings); in startPnoScan()
218 bool ScannerImpl::StartPnoScanOffload(const PnoSettings& pno_settings) { in StartPnoScanOffload() argument
226 ParsePnoSettings(pno_settings, &scan_ssids, &match_ssids, &freqs, in StartPnoScanOffload()
229 pno_settings.interval_ms_, in StartPnoScanOffload()
231 pno_settings.min_5g_rssi_, scan_ssids, match_ssids, match_security, freqs, in StartPnoScanOffload()
242 void ScannerImpl::ParsePnoSettings(const PnoSettings& pno_settings, in ParsePnoSettings() argument
253 for (auto& network : pno_settings.pno_networks_) { in ParsePnoSettings()
[all …]
Dscanner_impl.h62 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings,
88 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings);
90 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings);
94 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings,
99 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings) const;
/system/connectivity/wificond/tests/
Dscan_settings_unittest.cpp152 PnoSettings pno_settings; in TEST_F() local
162 pno_settings.interval_ms_ = kFakePnoIntervalMs; in TEST_F()
163 pno_settings.min_2g_rssi_ = kFakePnoMin2gRssi; in TEST_F()
164 pno_settings.min_5g_rssi_ = kFakePnoMin5gRssi; in TEST_F()
166 pno_settings.pno_networks_ = {network, network1}; in TEST_F()
169 EXPECT_EQ(::android::OK, pno_settings.writeToParcel(&parcel)); in TEST_F()
175 EXPECT_EQ(pno_settings, pno_settings_copy); in TEST_F()
Dscanner_unittest.cpp526 PnoSettings pno_settings; in TEST_F() local
527 pno_settings.interval_ms_ = kFakeScanIntervalMs; in TEST_F()
538 EXPECT_TRUE(scanner.startPnoScan(pno_settings, &success_ignored).isOk()); in TEST_F()
559 PnoSettings pno_settings; in TEST_F() local
560 pno_settings.interval_ms_ = kFakeScanIntervalMs; in TEST_F()
571 EXPECT_TRUE(scanner.startPnoScan(pno_settings, &success_ignored).isOk()); in TEST_F()
607 PnoSettings pno_settings; in TEST_F() local
611 pno_settings.pno_networks_.push_back(network); in TEST_F()
619 EXPECT_TRUE(scanner_impl.startPnoScan(pno_settings, &success).isOk()); in TEST_F()
641 PnoSettings pno_settings; in TEST_F() local
[all …]
/system/connectivity/wificond/
DAndroid.bp65 "scanning/pno_settings.cpp",
150 "scanning/pno_settings.cpp",