Searched refs:wifiEntry (Results 1 – 7 of 7) sorted by relevance
166 final WifiEntry wifiEntry = tracker.getWifiEntry(); in testScanResultsAvailableAction_updates_getLevel() local168 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()177 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()187 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel()205 final WifiEntry wifiEntry = tracker.getWifiEntry(); in testConfiguredNetworksChangedAction_updates_isSaved() local207 assertThat(wifiEntry.isSaved()).isFalse(); in testConfiguredNetworksChangedAction_updates_isSaved()217 assertThat(wifiEntry.isSaved()).isTrue(); in testConfiguredNetworksChangedAction_updates_isSaved()225 assertThat(wifiEntry.isSaved()).isFalse(); in testConfiguredNetworksChangedAction_updates_isSaved()246 final WifiEntry wifiEntry = tracker.getWifiEntry(); in testWifiStateChanged_disabled_clearsLevel() local248 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testWifiStateChanged_disabled_clearsLevel()[all …]
311 for (WifiEntry wifiEntry : wifiPickerTracker.getWifiEntries()) { in testGetWifiEntries_wifiNetworkEntries_createdForEachSsidAndSecurityPair()312 seenTitles.add(wifiEntry.getTitle()); in testGetWifiEntries_wifiNetworkEntries_createdForEachSsidAndSecurityPair()
521 @NonNull WifiEntry wifiEntry) { in getAutoConnectDescription() argument522 if (context == null || wifiEntry == null || !wifiEntry.canSetAutoJoinEnabled()) { in getAutoConnectDescription()526 return wifiEntry.isAutoJoinEnabled() in getAutoConnectDescription()530 static String getMeteredDescription(@NonNull Context context, @Nullable WifiEntry wifiEntry) { in getMeteredDescription() argument531 if (context == null || wifiEntry == null) { in getMeteredDescription()535 if (!wifiEntry.canSetMeteredChoice() in getMeteredDescription()536 && wifiEntry.getMeteredChoice() != WifiEntry.METERED_CHOICE_METERED) { in getMeteredDescription()540 if (wifiEntry.getMeteredChoice() == WifiEntry.METERED_CHOICE_METERED) { in getMeteredDescription()542 } else if (wifiEntry.getMeteredChoice() == WifiEntry.METERED_CHOICE_UNMETERED) { in getMeteredDescription()545 return wifiEntry.isMetered() ? context.getString( in getMeteredDescription()[all …]
306 final PasspointWifiEntry wifiEntry = entry.getValue(); in updatePasspointWifiEntryConfigs() local307 final String key = wifiEntry.getKey(); in updatePasspointWifiEntryConfigs()310 wifiEntry.updatePasspointConfig(cachedConfig); in updatePasspointWifiEntryConfigs()
752 final PasspointWifiEntry wifiEntry = entry.getValue(); in updatePasspointConfigurations() local753 final String key = wifiEntry.getKey(); in updatePasspointConfigurations()754 wifiEntry.updatePasspointConfig(mPasspointConfigCache.get(key)); in updatePasspointConfigurations()755 return !wifiEntry.isSubscription() && !wifiEntry.isSuggestion(); in updatePasspointConfigurations()
32 public LongPressWifiEntryPreference(Context context, WifiEntry wifiEntry, Fragment fragment) { in LongPressWifiEntryPreference() argument33 super(context, wifiEntry); in LongPressWifiEntryPreference()
71 public WifiEntryPreference(@NonNull Context context, @NonNull WifiEntry wifiEntry) { in WifiEntryPreference() argument72 this(context, wifiEntry, new IconInjector(context)); in WifiEntryPreference()76 WifiEntryPreference(@NonNull Context context, @NonNull WifiEntry wifiEntry, in WifiEntryPreference() argument83 mWifiEntry = wifiEntry; in WifiEntryPreference()