Home
last modified time | relevance | path

Searched refs:isSuggestion (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DNetworkRequestEntry.java57 public synchronized boolean isSuggestion() { in isSuggestion() method in NetworkRequestEntry
DPasspointWifiEntry.java288 public synchronized boolean isSuggestion() { in isSuggestion() method in PasspointWifiEntry
351 return !isSuggestion() && mPasspointConfig != null; in canForget()
378 return !isSuggestion() && mPasspointConfig != null; in canSetMeteredChoice()
407 return !isSuggestion() && mPasspointConfig != null; in canSetPrivacy()
DStandardWifiEntry.java286 public synchronized boolean isSuggestion() { in isSuggestion() method in StandardWifiEntry
293 return !isSaved() && !isSuggestion() in needsWifiConfiguration()
349 if (isSaved() || isSuggestion()) { in connect()
513 if (!isSuggestion() && mTargetWifiConfig != null) { in getMeteredChoice()
589 return isSaved() || isSuggestion(); in canSetAutoJoinEnabled()
1033 if ((mHasAddConfigUserRestriction && !(isSaved() || isSuggestion())) in hasAdminRestrictions()
DWifiEntry.java222 .thenComparing((WifiEntry entry) -> !entry.isSuggestion())
496 public boolean isSuggestion() { in isSuggestion() method in WifiEntry
1287 if (isSuggestion()) { in toString()
1293 if ((isSaved() || isSuggestion() || isSubscription()) && !isAutoJoinEnabled()) { in toString()
DKnownNetworkEntry.java117 public synchronized boolean isSuggestion() { in isSuggestion() method in KnownNetworkEntry
DWifiPickerTracker.java1167 return !entry.isSuggestion(); in updateWifiConfigurations()
1192 return !wifiEntry.isSubscription() && !wifiEntry.isSuggestion(); in updatePasspointConfigurations()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DWifiPickerTrackerTest.java1529 assertThat(entries.get(2).isSuggestion()).isTrue(); in testGetWifiEntries_defaultSortingCriteria_returnsEntriesinCorrectOrder()
1580 .filter(WifiEntry::isSuggestion) in testGetWifiEntries_multipleSuggestions_returnsMultipleEntries()
1595 .filter(WifiEntry::isSuggestion) in testGetWifiEntries_multipleSuggestions_returnsMultipleEntries()
1619 assertThat(wifiEntry.isSuggestion()).isFalse(); in testGetWifiEntries_userSharedSuggestionConfigAdded_returnsSuggestion()
1640 assertThat(wifiEntry.isSuggestion()).isTrue(); in testGetWifiEntries_userSharedSuggestionConfigAdded_returnsSuggestion()
1659 assertThat(wifiEntry.isSuggestion()).isFalse(); in testGetWifiEntries_nonSharedSuggestionConfigAdded_returnsNotSuggestion()
1678 assertThat(wifiEntry.isSuggestion()).isFalse(); in testGetWifiEntries_nonSharedSuggestionConfigAdded_returnsNotSuggestion()
1723 assertThat(suggestionEntry.isSuggestion()).isTrue(); in testGetWifiEntries_preConnectedSuggestion_becomesUserShareable()
DStandardWifiEntryTest.java1478 when(spyEntry.isSuggestion()).thenReturn(true); in testCanConnect_userRestrictionSet_suggestionNetwork_returnTrue()
1500 when(spyEntry.isSuggestion()).thenReturn(false); in testCanConnect_UserRestrictionSet_returnFalse()
1800 when(spyEntry.isSuggestion()).thenReturn(false); in testHasAdminRestrictions_noUserRestrictionSet_returnsFalse()
1822 when(spyEntry.isSuggestion()).thenReturn(false); in testHasAdminRestrictions_userRestrictionSet_returnsTrue()