Searched refs:isSuggestion (Results 1 – 8 of 8) sorted by relevance
57 public synchronized boolean isSuggestion() { in isSuggestion() method in NetworkRequestEntry
288 public synchronized boolean isSuggestion() { in isSuggestion() method in PasspointWifiEntry351 return !isSuggestion() && mPasspointConfig != null; in canForget()378 return !isSuggestion() && mPasspointConfig != null; in canSetMeteredChoice()407 return !isSuggestion() && mPasspointConfig != null; in canSetPrivacy()
286 public synchronized boolean isSuggestion() { in isSuggestion() method in StandardWifiEntry293 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()
222 .thenComparing((WifiEntry entry) -> !entry.isSuggestion())496 public boolean isSuggestion() { in isSuggestion() method in WifiEntry1287 if (isSuggestion()) { in toString()1293 if ((isSaved() || isSuggestion() || isSubscription()) && !isAutoJoinEnabled()) { in toString()
117 public synchronized boolean isSuggestion() { in isSuggestion() method in KnownNetworkEntry
1167 return !entry.isSuggestion(); in updateWifiConfigurations()1192 return !wifiEntry.isSubscription() && !wifiEntry.isSuggestion(); in updatePasspointConfigurations()
1529 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()
1478 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()