Home
last modified time | relevance | path

Searched refs:getNetworkSelectionStatus (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java372 config.getNetworkSelectionStatus(); in testEnableAllNetworks()
385 config.getNetworkSelectionStatus().isNetworkEnabled()); in testEnableAllNetworks()
751 assertTrue(config.getNetworkSelectionStatus().isNetworkEnabled()); in verifyHandleUserSwitch()
1013 config.getNetworkSelectionStatus().setNetworkSelectionStatus( in testDisconnectedPnoNetworkListCreation()
1037 config.getNetworkSelectionStatus().setNetworkSelectionStatus( in testDisconnectedPnoNetworkListCreation()
1061 config.getNetworkSelectionStatus().setNetworkSelectionStatus( in testDisconnectedPnoNetworkListCreation()
1064 config.getNetworkSelectionStatus().getNetworkSelectionStatus(), in testDisconnectedPnoNetworkListCreation()
1067 + config.getNetworkSelectionStatus().getNetworkSelectionStatus()); in testDisconnectedPnoNetworkListCreation()
1098 config.getNetworkSelectionStatus().setNetworkSelectionStatus( in testConnectedPnoNetworkListCreation()
1101 config.getNetworkSelectionStatus().setSeenInLastQualifiedNetworkSelection( in testConnectedPnoNetworkListCreation()
[all …]
DWifiLastResortWatchdogTest.java73 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in createFilteredQnsCandidates()
97 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in createFilteredQnsCandidates()
1493 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in testUpdateNetworkWithNullConfig()
1529 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedTrue()
1548 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedTrue()
1577 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedFalse()
1596 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedFalse()
1623 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testHasEverConnectedValueInAvailableNetworkFailureCountToString()
1635 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testHasEverConnectedValueInAvailableNetworkFailureCountToString()
DWifiQualifiedNetworkSelectorTest.java305 ScanResult candidateScan = candidate.getNetworkSelectionStatus().getCandidate(); in verifySelectedResult()
658 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in userSelectsNetworkForFirstTime()
666 WifiConfiguration.NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in userSelectsNetworkForFirstTime()
698 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in chooseUserPreferredNetwork()
926 savedConfigs[1].getNetworkSelectionStatus().setNetworkSelectionStatus( in networkChooseWithOneSsidDisabled()
1668 when(unTrustedNetworkCandidate.getNetworkSelectionStatus()).thenReturn(selectionStatus); in selectQualifiedNetworkChoosesEphemeral()
1725 when(unTrustedNetworkCandidate.getNetworkSelectionStatus()).thenReturn(selectionStatus); in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedAllowed()
1804 when(unTrustedNetworkCandidate.getNetworkSelectionStatus()).thenReturn(selectionStatus); in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedDisallowed()
1890 when(unTrustedNetworkCandidate.getNetworkSelectionStatus()).thenReturn(selectionStatus); in selectQualifiedNetworkDoesNotChooseDeletedEphemeral()
2090 when(unTrustedNetworkCandidate.getNetworkSelectionStatus()).thenReturn(selectionStatus); in selectQualifiedNetworkPrefersUntrustedOverScoredSaved()
DWifiStateMachineTest.java954 assertFalse(checkConfig.getNetworkSelectionStatus().getHasEverConnected()); in addNetworkDoesNotSetHasEverConnectedTrue()
969 assertTrue(checkConfig.getNetworkSelectionStatus().getHasEverConnected()); in setHasEverConnectedTrueOnConnect()
983 assertFalse(checkConfig.getNetworkSelectionStatus().getHasEverConnected()); in connectionFailureDoesNotSetHasEverConnectedTrue()
DWifiMetricsTest.java385 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStat); in testScanDetailAndWifiConfigurationUsage()
DWifiConnectivityManagerTest.java197 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); in mockWifiQualifiedNetworkSelector()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiQualifiedNetworkSelector.java419 config.getNetworkSelectionStatus(); in updateSavedNetworkSelectionStatus()
471 if (!selected.getNetworkSelectionStatus().isNetworkEnabled()) { in userSelectNetwork()
489 WifiConfiguration.NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in userSelectNetwork()
751 network.getNetworkSelectionStatus(); in selectQualifiedNetwork()
822 while (tempConfig.getNetworkSelectionStatus().getConnectChoice() != null) { in selectQualifiedNetwork()
823 String key = tempConfig.getNetworkSelectionStatus().getConnectChoice(); in selectQualifiedNetwork()
828 tempConfig.getNetworkSelectionStatus(); in selectQualifiedNetwork()
849 scanResultCandidate = networkCandidate.getNetworkSelectionStatus().getCandidate(); in selectQualifiedNetwork()
913 unTrustedNetworkCandidate.getNetworkSelectionStatus() in getExternalScoreCandidate()
921 networkCandidate.getNetworkSelectionStatus().setCandidate(scanResultCandidate); in getExternalScoreCandidate()
DWifiNetworkHistory.java150 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in writeKnownNetworkHistory()
157 if (config.getNetworkSelectionStatus().isNetworkEnabled()) { in writeKnownNetworkHistory()
161 config.getNetworkSelectionStatus().getDisableTime()); in writeKnownNetworkHistory()
255 + status.getNetworkSelectionStatus() + NL); in writeKnownNetworkHistory()
381 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in readNetworkHistory()
DWifiConfigManager.java644 && !config.getNetworkSelectionStatus().isNetworkEnabled()) { in enableAllNetworks()
794 if (!conf.getNetworkSelectionStatus().isNetworkEnabled()) { in saveNetwork()
1023 if (config.getNetworkSelectionStatus().isNetworkEnabled()) { in getPnoNetworkSortScore()
1025 } else if (config.getNetworkSelectionStatus().isNetworkTemporaryDisabled()) { in getPnoNetworkSortScore()
1077 a.getNetworkSelectionStatus().getSeenInLastQualifiedNetworkSelection();
1079 b.getNetworkSelectionStatus().getSeenInLastQualifiedNetworkSelection();
1216 WifiConfiguration.NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in removeUserSelectionPreference()
1366 WifiConfiguration.NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in updateNetworkSelectionStatus()
1413 WifiConfiguration.NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in tryEnableQualifiedNetwork()
1442 WifiConfiguration.NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in updateNetworkStatus()
[all …]
DWifiLastResortWatchdog.java309 && entry.getValue().config.getNetworkSelectionStatus().getHasEverConnected()) { in checkTriggerCondition()
531 ? config.getNetworkSelectionStatus().getHasEverConnected() : "null_config") in toString()
DWifiConfigStore.java277 config.getNetworkSelectionStatus().setNetworkSelectionBSSID(value); in readNetworkVariables()
279 config.getNetworkSelectionStatus().setNetworkSelectionBSSID(null); in readNetworkVariables()
623 if (config.getNetworkSelectionStatus().getNetworkSelectionBSSID() != null) { in saveNetwork()
624 String bssid = config.getNetworkSelectionStatus().getNetworkSelectionBSSID(); in saveNetwork()
954 config.getNetworkSelectionStatus().setNetworkSelectionBSSID(bssid); in setNetworkBSSID()
DWifiStateMachine.java461 String networkSelectionBSSID = config.getNetworkSelectionStatus() in setTargetBssid()
2494 lastForgetConfigurationAttempt.getNetworkSelectionStatus(); in getLogRecString()
2587 config.getNetworkSelectionStatus(); in getLogRecString()
2787 count = c.getNetworkSelectionStatus().getDisableReasonCounter( in getLogRecString()
3662 c.getNetworkSelectionStatus().clearDisableReasonCounter( in handleSuccessfulIpConfiguration()
3694 count = config.getNetworkSelectionStatus().getDisableReasonCounter( in handleIPv4Failure()
5183 config.getNetworkSelectionStatus(); in registerConnected()
5448 config.getNetworkSelectionStatus(); in processMessage()
6439 + config.getNetworkSelectionStatus().getNetworkSelectionBSSID()); in clearConfigBSSID()
7133 && config.getNetworkSelectionStatus().isNetworkEnabled() in processMessage()
[all …]
DWifiConnectivityManager.java557 ScanResult scanResultCandidate = candidate.getNetworkSelectionStatus().getCandidate(); in connectToNetwork()
DWifiMetrics.java126 ScanResult candidate = config.getNetworkSelectionStatus().getCandidate(); in updateFromWifiConfiguration()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java408 } else if (mConfig != null && !mConfig.getNetworkSelectionStatus().isNetworkEnabled()) { in getSettingsSummary()
410 mConfig.getNetworkSelectionStatus(); in getSettingsSummary()
438 if (mConfig != null && !mConfig.getNetworkSelectionStatus().isNetworkEnabled()) { in getSettingsSummary()
439 summary.append(" (" + mConfig.getNetworkSelectionStatus().getNetworkStatusString()); in getSettingsSummary()
440 if (mConfig.getNetworkSelectionStatus().getDisableTime() > 0) { in getSettingsSummary()
442 long diff = (now - mConfig.getNetworkSelectionStatus().getDisableTime()) / 1000; in getSettingsSummary()
456 mConfig.getNetworkSelectionStatus(); in getSettingsSummary()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1085 public int getNetworkSelectionStatus() { in getNetworkSelectionStatus() method in WifiConfiguration.NetworkSelectionStatus
1263 dest.writeInt(getNetworkSelectionStatus()); in writeToParcel()
1311 public NetworkSelectionStatus getNetworkSelectionStatus() { in getNetworkSelectionStatus() method in WifiConfiguration
1841 mNetworkSelectionStatus.copy(source.getNetworkSelectionStatus()); in WifiConfiguration()