Home
last modified time | relevance | path

Searched refs:numSavedNetworks (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java964 final int numSavedNetworks = (savedNetworks != null) ? savedNetworks.size() : 0; in setAdditionalSettingsSummaries() local
965 mSavedNetworksPreference.setVisible(numSavedNetworks > 0); in setAdditionalSettingsSummaries()
966 if (numSavedNetworks > 0) { in setAdditionalSettingsSummaries()
968 getSavedNetworkSettingsSummaryText(savedNetworks, numSavedNetworks)); in setAdditionalSettingsSummaries()
973 List<AccessPoint> savedNetworks, int numSavedNetworks) { in getSavedNetworkSettingsSummaryText() argument
980 final int numSavedNormalNetworks = numSavedNetworks - numSavedPasspointNetworks; in getSavedNetworkSettingsSummaryText()
982 if (numSavedNetworks == numSavedNormalNetworks) { in getSavedNetworkSettingsSummaryText()
985 } else if (numSavedNetworks == numSavedPasspointNetworks) { in getSavedNetworkSettingsSummaryText()
991 numSavedNetworks, numSavedNetworks); in getSavedNetworkSettingsSummaryText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiSettings.java957 final int numSavedNetworks = mWifiTracker.getNumSavedNetworks(); in setAdditionalSettingsSummaries() local
958 mSavedNetworksPreference.setVisible(numSavedNetworks > 0); in setAdditionalSettingsSummaries()
961 numSavedNetworks, numSavedNetworks)); in setAdditionalSettingsSummaries()