Home
last modified time | relevance | path

Searched refs:isSaved (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImplTest.kt215 `when`(wifiEntryOther.isSaved).thenReturn(true) in connectToSavedWifiEntry()
226 `when`(wifiEntryOther.isSaved).thenReturn(false) in connectToSecuredNotSavedWifiEntry()
239 `when`(wifiEntryOther.isSaved).thenReturn(false) in connectToNotSecuredNotSavedWifiEntry()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DNetworkRequestEntry.java52 public synchronized boolean isSaved() { in isSaved() method in NetworkRequestEntry
DStandardWifiEntry.java280 public synchronized boolean isSaved() { in isSaved() method in StandardWifiEntry
293 return !isSaved() && !isSuggestion() in needsWifiConfiguration()
301 if (!isSaved()) { in getWifiConfiguration()
349 if (isSaved() || isSuggestion()) { in connect()
550 return isSaved(); in canSetPrivacy()
589 return isSaved() || isSuggestion(); in canSetAutoJoinEnabled()
1033 if ((mHasAddConfigUserRestriction && !(isSaved() || isSuggestion())) in hasAdminRestrictions()
DWifiEntry.java221 .thenComparing((WifiEntry entry) -> !entry.isSaved())
489 public boolean isSaved() { in isSaved() method in WifiEntry
1281 if (isSaved()) { in toString()
1293 if ((isSaved() || isSuggestion() || isSubscription()) && !isAutoJoinEnabled()) { in toString()
DKnownNetworkEntry.java112 public synchronized boolean isSaved() { in isSaved() method in KnownNetworkEntry
DSavedNetworkTracker.java464 return !entry.isSaved(); in updateStandardWifiEntryConfigs()
DWifiPickerTracker.java600 if (!entry.isSaved()) { in updateWifiEntries()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTrackerTest.java232 assertThat(wifiEntry.isSaved()).isFalse(); in testConfiguredNetworksChangedAction_updates_isSaved()
242 assertThat(wifiEntry.isSaved()).isTrue(); in testConfiguredNetworksChangedAction_updates_isSaved()
250 assertThat(wifiEntry.isSaved()).isFalse(); in testConfiguredNetworksChangedAction_updates_isSaved()
DStandardWifiEntryTest.java349 assertThat(entry.isSaved()).isFalse(); in testUpdateConfig_unsavedToSaved()
358 assertThat(entry.isSaved()).isTrue(); in testUpdateConfig_unsavedToSaved()
373 assertThat(entry.isSaved()).isTrue(); in testUpdateConfig_savedToUnsaved()
378 assertThat(entry.isSaved()).isFalse(); in testUpdateConfig_savedToUnsaved()
539 assertThat(entry.isSaved()).isFalse(); in testConnect_openNetwork_callsConnect()
1457 when(spyEntry.isSaved()).thenReturn(true); in testCanConnect_userRestrictionSet_savedNetwork_returnTrue()
1499 when(spyEntry.isSaved()).thenReturn(false); in testCanConnect_UserRestrictionSet_returnFalse()
1589 assertThat(entry.isSaved()).isTrue(); in testGetLevel_multipleSecurities_configAndScansMatch()
1595 assertThat(entry.isSaved()).isTrue(); in testGetLevel_multipleSecurities_configAndScansMatch()
1601 assertThat(entry.isSaved()).isFalse(); in testGetLevel_multipleSecurities_configAndScansMatch()
[all …]
DWifiPickerTrackerTest.java494 assertThat(entry.isSaved()).isFalse(); in testGetWifiEntries_configuredNetworksChanged_unsavedToSaved()
503 assertThat(entry.isSaved()).isTrue(); in testGetWifiEntries_configuredNetworksChanged_unsavedToSaved()
529 assertThat(entry.isSaved()).isTrue(); in testGetWifiEntries_configuredNetworksChanged_savedToUnsaved()
536 assertThat(entry.isSaved()).isFalse(); in testGetWifiEntries_configuredNetworksChanged_savedToUnsaved()
1527 assertThat(entries.get(1).isSaved()).isTrue(); in testGetWifiEntries_defaultSortingCriteria_returnsEntriesinCorrectOrder()
1599 .filter(WifiEntry::isSaved) in testGetWifiEntries_multipleSuggestions_returnsMultipleEntries()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapter.java184 if (wifiEntry.canDisconnect() || wifiEntry.isSaved()) { in shouldEnabled()
223 if (wifiEntry.isSaved()) { in wifiConnect()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java221 when(mWifiEntry.isSaved()).thenReturn(true); in viewHolderShouldEnabled_wifiCanNotConnectButIsSaved_returnTrue()
249 when(mWifiEntry.isSaved()).thenReturn(true); in viewHolderOnWifiClick_wifiCanNotConnectButIsSaved_launchWifiDetailsSetting()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java471 if (isSaved() && !other.isSaved()) return -1; in compareTo()
472 if (!isSaved() && other.isSaved()) return 1; in compareTo()
520 if (isSaved()) { in toString()
1362 public boolean isSaved() { in isSaved() method in AccessPoint
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImpl.java187 if (ap.isSaved()) { in connect()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java645 assertThat(savedAp.isSaved()).isTrue();
648 assertThat(newAp.isSaved()).isFalse();