Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTestUtil.java356 configs[netId].getNetworkSelectionStatus().setCandidate(null); in prepareConfigStore()
357 configs[netId].getNetworkSelectionStatus() in prepareConfigStore()
359 configs[netId].getNetworkSelectionStatus() in prepareConfigStore()
361 configs[netId].getNetworkSelectionStatus() in prepareConfigStore()
375 configs[netId].getNetworkSelectionStatus().setCandidate(scanResult); in prepareConfigStore()
376 configs[netId].getNetworkSelectionStatus().setCandidateScore(score); in prepareConfigStore()
377 configs[netId].getNetworkSelectionStatus() in prepareConfigStore()
379 configs[netId].getNetworkSelectionStatus() in prepareConfigStore()
502 config.getNetworkSelectionStatus().setCandidate(scanResult); in setupEphemeralNetwork()
503 config.getNetworkSelectionStatus().setCandidateScore(score); in setupEphemeralNetwork()
[all …]
DWifiNetworkSelectorTest.java847 networkSelectorChoice.getNetworkSelectionStatus() in userConnectChoiceOverridesNetworkNominators()
851 userChoice.getNetworkSelectionStatus().setCandidate(scanDetails.get(1).getScanResult()); in userConnectChoiceOverridesNetworkNominators()
874 userChoice.getNetworkSelectionStatus().setConnectChoice(null); in userConnectChoiceOverridesNetworkNominators()
875 networkSelectorChoice.getNetworkSelectionStatus() in userConnectChoiceOverridesNetworkNominators()
915 networkSelectorChoice.getNetworkSelectionStatus() in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
920 userChoice.getNetworkSelectionStatus().setCandidate(scanDetails.get(1).getScanResult()); in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
921 userChoice.getNetworkSelectionStatus().setConnectChoice(null); in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
922 networkSelectorChoice.getNetworkSelectionStatus() in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
924 networkSelectorChoice.getNetworkSelectionStatus() in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
928 userChoice.getNetworkSelectionStatus().getCandidate().level); in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
[all …]
DWifiConfigManagerTest.java258 config.getNetworkSelectionStatus().setNetworkSelectionStatus( in setUp()
262 config.getNetworkSelectionStatus().setNetworkSelectionStatus( in setUp()
265 config.getNetworkSelectionStatus().setNetworkSelectionStatus( in setUp()
1408 .getNetworkSelectionStatus().getNetworkSelectionStatus()); in testTryEnableNetwork()
1421 .getNetworkSelectionStatus().isNetworkTemporaryDisabled()); in testEnableTemporaryDisabledNetworks()
1426 .getNetworkSelectionStatus().isNetworkEnabled()); in testEnableTemporaryDisabledNetworks()
1439 .getNetworkSelectionStatus().isNetworkPermanentlyDisabled()); in testEnableTemporaryDisabledNetworks_PermanentDisableNetworksStillDisabled()
1444 .getNetworkSelectionStatus().isNetworkPermanentlyDisabled()); in testEnableTemporaryDisabledNetworks_PermanentDisableNetworksStillDisabled()
1454 .getNetworkSelectionStatus().getNetworkSelectionStatus()); in verifyDisableNetwork()
1461 .getNetworkSelectionStatus().getNetworkSelectionStatus()); in verifyDisableNetwork()
[all …]
DSupplicantStaNetworkHalTest.java288 config.getNetworkSelectionStatus().setCandidateSecurityParams( in testPskNetworkWifiConfigurationSaveRemovesPskQuotes()
302 config.getNetworkSelectionStatus().setNetworkSelectionBSSID("34:45:19:09:45:66"); in testWepNetworkWifiConfigurationSaveLoad()
499 config.getNetworkSelectionStatus().setCandidateSecurityParams( in testSsidSaveFailure()
511 config.getNetworkSelectionStatus().setNetworkSelectionBSSID("45:34:23:12"); in testInvalidBssidSaveFailure()
513 config.getNetworkSelectionStatus().setCandidateSecurityParams( in testInvalidBssidSaveFailure()
782 config.getNetworkSelectionStatus().setCandidateSecurityParams( in testAddFtPskFlags()
807 config.getNetworkSelectionStatus().setCandidateSecurityParams( in testAddFtEapFlags()
831 config.getNetworkSelectionStatus().setCandidateSecurityParams( in testAddPskSha256Flags()
857 config.getNetworkSelectionStatus().setCandidateSecurityParams( in testAddEapSha256Flags()
881 config.getNetworkSelectionStatus().setCandidateSecurityParams( in testAddPskSha256FlagsHal1_1OrLower()
[all …]
DWakeupControllerTest.java136 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in setUp()
394 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults()
396 wepNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults()
471 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
513 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in getGoodSavedNetworksAndSuggestionsIgnoreInvalidatedCaptivePortal()
514 openNetwork.getNetworkSelectionStatus().setHasNeverDetectedCaptivePortal(false); in getGoodSavedNetworksAndSuggestionsIgnoreInvalidatedCaptivePortal()
534 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in getGoodSavedNetworksAndSuggestionsIncludeValidatedCaptivePortal()
535 openNetwork.getNetworkSelectionStatus().setHasNeverDetectedCaptivePortal(false); in getGoodSavedNetworksAndSuggestionsIncludeValidatedCaptivePortal()
556 openNetworkDfs.getNetworkSelectionStatus().setHasEverConnected(true); in startFiltersOutDfsScanResults()
559 openNetwork24.getNetworkSelectionStatus().setHasEverConnected(true); in startFiltersOutDfsScanResults()
[all …]
DWifiConfigurationUtilTest.java838 network.getNetworkSelectionStatus().setNetworkSelectionBSSID(TEST_BSSID); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID()
840 network1.getNetworkSelectionStatus().setNetworkSelectionBSSID(TEST_BSSID_1); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID()
914 network.getNetworkSelectionStatus().setCandidateSecurityParams( in testIsSameNetworkReturnsTrueOnSameNetworkWithSameCandidateSecurityParams()
918 network1.getNetworkSelectionStatus().setCandidateSecurityParams( in testIsSameNetworkReturnsTrueOnSameNetworkWithSameCandidateSecurityParams()
931 network.getNetworkSelectionStatus().setCandidateSecurityParams( in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentCandidateSecurityParams()
935 network1.getNetworkSelectionStatus().setCandidateSecurityParams( in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentCandidateSecurityParams()
967 enabledNetwork1.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
970 enabledNetwork2.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
973 tempDisabledNetwork1.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
976 tempDisabledNetwork2.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
[all …]
DWifiBlocklistMonitorTest.java971 openNetwork.getNetworkSelectionStatus().getNetworkSelectionStatus()); in verifyConsistentWatchdogAndSsidBlocklist()
980 assertFalse(openNetwork.getNetworkSelectionStatus().isNetworkTemporaryDisabled()); in verifyConsistentWatchdogAndSsidBlocklist()
1003 openNetwork.getNetworkSelectionStatus().getNetworkSelectionDisableReason()); in testNetworkSelectionStatus()
1008 openNetwork.getNetworkSelectionStatus().getNetworkSelectionDisableReason()); in testNetworkSelectionStatus()
1013 openNetwork.getNetworkSelectionStatus().getNetworkSelectionDisableReason()); in testNetworkSelectionStatus()
1082 NetworkSelectionStatus currentStatus = config.getNetworkSelectionStatus(); in verifyUpdateNetworkSelectionStatus()
1088 NetworkSelectionStatus retrievedStatus = config.getNetworkSelectionStatus(); in verifyUpdateNetworkSelectionStatus()
1110 currentStatus.getNetworkSelectionStatus(), in verifyUpdateNetworkSelectionStatus()
1111 retrievedStatus.getNetworkSelectionStatus()); in verifyUpdateNetworkSelectionStatus()
DWifiConfigurationTestUtil.java784 expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertConfigurationEqualForConfigStore()
813 expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertConfigurationEqualForConfigManagerAddOrUpdate()
827 assertEquals(expected.getNetworkSelectionStatus().getNetworkSelectionBSSID(), in assertConfigurationEqualForSupplicant()
828 actual.getNetworkSelectionStatus().getNetworkSelectionBSSID()); in assertConfigurationEqualForSupplicant()
885 actual.getNetworkSelectionStatus()); in assertNetworkSelectionStatusEqualForConfigStore()
890 assertEquals(expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertNetworkSelectionStatusEqualForConfigStore()
DWifiLastResortWatchdogTest.java129 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in createFilteredQnsCandidates()
153 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in createFilteredQnsCandidates()
1662 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in testUpdateNetworkWithNullConfig()
1699 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedTrue()
1719 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedTrue()
1748 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedFalse()
1768 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedFalse()
1796 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testHasEverConnectedValueInAvailableNetworkFailureCountToString()
1808 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testHasEverConnectedValueInAvailableNetworkFailureCountToString()
1973 when(candidates.get(0).second.getNetworkSelectionStatus().hasEverConnected()) in testWatchdogVerifiesAtLeastOneNetworkIsConnectedBeforeTriggeringBugreport()
DClientModeImplTest.java853 config.getNetworkSelectionStatus().setHasEverConnected(mTestNetworkParams.hasEverConnected); in triggerConnect()
854 assertEquals(null, config.getNetworkSelectionStatus().getCandidateSecurityParams()); in triggerConnect()
860 config.getNetworkSelectionStatus().getCandidateSecurityParams()); in triggerConnect()
1998 config.getNetworkSelectionStatus().setHasEverConnected(true); in testWrongPasswordWithPreviouslyConnected()
2028 config.getNetworkSelectionStatus().setHasEverConnected(true); in testDisconnectionEventInL2ConnectingStateEndsConnectionEvent()
2058 config.getNetworkSelectionStatus().setHasEverConnected(false); in testWrongPasswordWithNeverConnected()
2092 config.getNetworkSelectionStatus().setHasEverConnected(true); in testEapSimErrorVendorSpecific()
2124 config.getNetworkSelectionStatus().setHasEverConnected(true); in testEapTlsErrorVendorSpecific()
3375 mConnectedNetwork.getNetworkSelectionStatus() in testReportConnectionEventIsCalledAfterAssociationFailure()
3424 mConnectedNetwork.getNetworkSelectionStatus() in testReportConnectionEventIsCalledAfterAuthenticationFailure()
[all …]
DWifiMetricsTest.java1800 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStat); in setupNetworkAndVerify()
1896 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStat); in testNetworkToNominatorNotCleared()
1954 when(config.getNetworkSelectionStatus()).thenReturn( in testMetricNumBssidInBlocklist()
1978 when(config.getNetworkSelectionStatus()).thenReturn( in testConnectionNetworkTypeOpen()
2186 when(config.getNetworkSelectionStatus()).thenReturn( in testConnectionCreatorUid()
2871 NetworkSelectionStatus status = testConfig.getNetworkSelectionStatus(); in testNetworkDisableReasonInUserActionEvent()
2910 NetworkSelectionStatus status = testConfig.getNetworkSelectionStatus(); in testNetworkDisableReasonDisableAutojoinInUserActionEvent()
3373 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStat); in generateRssiDelta()
3437 config.getNetworkSelectionStatus().setHasEverConnected(true); in createComplexWifiConfig()
3441 config.getNetworkSelectionStatus().setCandidate(candidate); in createComplexWifiConfig()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java237 a.getNetworkSelectionStatus()
240 b.getNetworkSelectionStatus()
468 return config.getNetworkSelectionStatus().hasEverConnected() in shouldEnableEnhancedRandomizationOnOpenNetwork()
469 && config.getNetworkSelectionStatus().hasNeverDetectedCaptivePortal(); in shouldEnableEnhancedRandomizationOnOpenNetwork()
1128 internalConfig.getNetworkSelectionStatus() in mergeWithInternalWifiConfiguration()
1129 .setConnectChoice(externalConfig.getNetworkSelectionStatus().getConnectChoice()); in mergeWithInternalWifiConfiguration()
1130 internalConfig.getNetworkSelectionStatus().setConnectChoiceRssi( in mergeWithInternalWifiConfiguration()
1131 externalConfig.getNetworkSelectionStatus().getConnectChoiceRssi()); in mergeWithInternalWifiConfiguration()
1147 configuration.getNetworkSelectionStatus().setNetworkSelectionStatus( in setDefaultsInWifiConfiguration()
1149 configuration.getNetworkSelectionStatus().setNetworkSelectionDisableReason( in setDefaultsInWifiConfiguration()
[all …]
DWifiNetworkSelector.java584 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in updateConfiguredNetworks()
623 ScanResult scanResultCandidate = candidate.getNetworkSelectionStatus().getCandidate(); in overrideCandidateWithUserConnectChoice()
625 while (tempConfig.getNetworkSelectionStatus().getConnectChoice() != null) { in overrideCandidateWithUserConnectChoice()
626 String key = tempConfig.getNetworkSelectionStatus().getConnectChoice(); in overrideCandidateWithUserConnectChoice()
627 int userSelectedRssi = tempConfig.getNetworkSelectionStatus().getConnectChoiceRssi(); in overrideCandidateWithUserConnectChoice()
632 tempConfig.getNetworkSelectionStatus(); in overrideCandidateWithUserConnectChoice()
847 SecurityParams params = currentNetwork.getNetworkSelectionStatus() in getCandidatesFromScan()
1302 network.getNetworkSelectionStatus().setCandidateSecurityParams(params); in updateCandidatesSecurityParams()
DWifiBlocklistMonitor.java953 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in shouldEnableNetwork()
990 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in updateNetworkSelectionStatus()
1039 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in setNetworkSelectionStatus()
1057 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionEnabled()
1058 if (status.getNetworkSelectionStatus() in setNetworkSelectionEnabled()
1080 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionTemporarilyDisabled()
1095 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionPermanentlyDisabled()
DWakeupController.java362 || !config.getNetworkSelectionStatus().hasEverConnected() in getGoodSavedNetworksAndSuggestions()
364 || config.getNetworkSelectionStatus().isNetworkPermanentlyDisabled() in getGoodSavedNetworksAndSuggestions()
365 || (!config.getNetworkSelectionStatus().hasNeverDetectedCaptivePortal() in getGoodSavedNetworksAndSuggestions()
DWifiConfigurationUtil.java879 if (!Objects.equals(config.getNetworkSelectionStatus().getCandidateSecurityParams(), in isSameNetwork()
880 config1.getNetworkSelectionStatus().getCandidateSecurityParams())) { in isSameNetwork()
1043 if (config.getNetworkSelectionStatus().isNetworkEnabled()) { in getNetworkStatusScore()
1045 } else if (config.getNetworkSelectionStatus().isNetworkTemporaryDisabled()) { in getNetworkStatusScore()
DWifiConnectivityManager.java460 || secondaryCmmCandidate.getNetworkSelectionStatus().getCandidate() == null) { in handleCandidatesFromScanResultsUsingSecondaryCmmIfAvailable()
470 secondaryCmmCandidate.getNetworkSelectionStatus().getCandidate().BSSID; in handleCandidatesFromScanResultsUsingSecondaryCmmIfAvailable()
1183 candidate.getNetworkSelectionStatus().getCandidate(); in isClientModeManagerConnectedOrConnectingToCandidate()
1328 if (targetNetwork.getNetworkSelectionStatus().getCandidate() == null) { in connectToNetworkUsingCmm()
1333 String targetBssid = targetNetwork.getNetworkSelectionStatus().getCandidate().BSSID; in connectToNetworkUsingCmm()
1950 || !config.getNetworkSelectionStatus().isNetworkEnabled()); in getAllScanOptimizationNetworks()
2322 && config.getNetworkSelectionStatus().isNetworkEnabled(); in retryConnectionOnLatestCandidates()
DNetworkSuggestionNominator.java143 if (!currentWCmConfiguredNetwork.getNetworkSelectionStatus().isNetworkEnabled() in addOrUpdateSuggestionToWifiConfigManger()
247 if (!wCmConfiguredNetwork.getNetworkSelectionStatus().isNetworkEnabled() in findMatchedSuggestionNetworks()
DWifiLastResortWatchdog.java589 && entry.getValue().config.getNetworkSelectionStatus().hasEverConnected()) { in checkIfAtleastOneNetworkHasEverConnected()
834 ? config.getNetworkSelectionStatus().hasEverConnected() : "null_config") in toString()
DClientModeImpl.java394 config.getNetworkSelectionStatus().setNetworkSelectionBSSID(bssid); in setTargetBssid()
1867 count = c.getNetworkSelectionStatus().getDisableReasonCounter(
2537 SecurityParams securityParams = config.getNetworkSelectionStatus()
2895 ScanResult candidate = configuration.getNetworkSelectionStatus().getCandidate();
3012 c.getNetworkSelectionStatus().clearDisableReasonCounter(
3025 count = config.getNetworkSelectionStatus().getDisableReasonCounter(
3130 if (network != null && network.getNetworkSelectionStatus().hasEverConnected()) {
3282 && config.getNetworkSelectionStatus().hasEverConnected()
5677 : config.getNetworkSelectionStatus().getNetworkStatusString()));
6170 if (null != config.getNetworkSelectionStatus().getCandidateSecurityParams()) return;
[all …]
DSavedNetworkNominator.java132 network.getNetworkSelectionStatus(); in findMatchedSavedNetworks()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java219 if (configuration.getNetworkSelectionStatus().getNetworkSelectionStatus() in inferConnectionStatus()
232 switch (configuration.getNetworkSelectionStatus() in inferConnectionStatus()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java294 config.getNetworkSelectionStatus(); in isWifiEntryDisabledByWrongPassword()
296 || networkStatus.getNetworkSelectionStatus() == NETWORK_SELECTION_ENABLED) { in isWifiEntryDisabledByWrongPassword()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiEntryListPreferenceControllerTest.java220 when(config.getNetworkSelectionStatus()).thenReturn(status); in performButtonClick_savedWifiEntry_forgetsNetwork()
221 when(status.getNetworkSelectionStatus()).thenReturn(NETWORK_SELECTION_ENABLED); in performButtonClick_savedWifiEntry_forgetsNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelper.java201 existingNetwork.getNetworkSelectionStatus(); in createWifiConfigForProvider()

12