Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTestUtil.java341 configs[netId].getNetworkSelectionStatus().setCandidate(null); in prepareConfigStore()
342 configs[netId].getNetworkSelectionStatus() in prepareConfigStore()
344 configs[netId].getNetworkSelectionStatus() in prepareConfigStore()
357 configs[netId].getNetworkSelectionStatus().setCandidate(scanResult); in prepareConfigStore()
358 configs[netId].getNetworkSelectionStatus().setCandidateScore(score); in prepareConfigStore()
359 configs[netId].getNetworkSelectionStatus() in prepareConfigStore()
371 configs[netId].getNetworkSelectionStatus().setConnectChoice(null); in prepareConfigStore()
382 configs[netId].getNetworkSelectionStatus().setConnectChoice(configKey); in prepareConfigStore()
503 config.getNetworkSelectionStatus().setCandidate(scanResult); in setupEphemeralNetwork()
504 config.getNetworkSelectionStatus().setCandidateScore(score); in setupEphemeralNetwork()
[all …]
DWifiConfigurationTestUtil.java674 expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertConfigurationEqualForConfigStore()
702 expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertConfigurationEqualForConfigManagerAddOrUpdate()
716 assertEquals(expected.getNetworkSelectionStatus().getNetworkSelectionBSSID(), in assertConfigurationEqualForSupplicant()
717 actual.getNetworkSelectionStatus().getNetworkSelectionBSSID()); in assertConfigurationEqualForSupplicant()
757 actual.getNetworkSelectionStatus()); in assertNetworkSelectionStatusEqualForConfigStore()
762 assertEquals(expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertNetworkSelectionStatusEqualForConfigStore()
DWakeupControllerTest.java108 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in setUp()
353 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults()
355 wepNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults()
428 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
470 openNetworkDfs.getNetworkSelectionStatus().setHasEverConnected(true); in startFiltersOutDfsScanResults()
473 openNetwork24.getNetworkSelectionStatus().setHasEverConnected(true); in startFiltersOutDfsScanResults()
503 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in onResultsUpdatesWakeupLockForSavedNetworks()
DWifiConfigurationUtilTest.java755 network.getNetworkSelectionStatus().setNetworkSelectionBSSID(TEST_BSSID); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID()
757 network1.getNetworkSelectionStatus().setNetworkSelectionBSSID(TEST_BSSID_1); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID()
850 enabledNetwork1.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
853 enabledNetwork2.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
856 tempDisabledNetwork1.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
859 tempDisabledNetwork2.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
862 permDisabledNetwork.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
DWifiConfigManagerTest.java1349 mWifiConfigManager.getConfiguredNetwork(networkId).getNetworkSelectionStatus(); in verifyNetworkIsEnabledAfter()
1357 .getNetworkSelectionStatus(); in verifyNetworkIsEnabledAfter()
1413 .getNetworkSelectionStatus(); in testTryEnableNetworkNoBssidsInBlocklist()
1432 NetworkSelectionStatus retrievedStatus = retrievedNetwork.getNetworkSelectionStatus(); in testEnableDisableNetwork()
1441 retrievedStatus = retrievedNetwork.getNetworkSelectionStatus(); in testEnableDisableNetwork()
1468 NetworkSelectionStatus retrievedStatus = retrievedNetwork.getNetworkSelectionStatus(); in testEnableNetworkFailedDueToPermissionDenied()
1498 NetworkSelectionStatus retrievedStatus = retrievedNetwork.getNetworkSelectionStatus(); in testDisableNetworkFailedDueToPermissionDenied()
1995 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in testAddNetworkOverridesHasEverConnectedWhenTrueInNewConfig()
2166 retrievedNetwork.getNetworkSelectionStatus().hasEverConnected()); in testUpdateRequirePMFClearsHasEverConnected()
3620 retrievedNetwork.getNetworkSelectionStatus().getConnectChoice()); in testRemoveNetworkRemovesConnectChoice()
[all …]
DWifiNetworkSelectorTest.java719 selectedWifiConfig.getNetworkSelectionStatus() in setUserConnectChoice()
721 selectedWifiConfig.getNetworkSelectionStatus().setNetworkSelectionStatus( in setUserConnectChoice()
723 selectedWifiConfig.getNetworkSelectionStatus().setConnectChoice("bogusKey"); in setUserConnectChoice()
726 configInLastNetworkSelection.getNetworkSelectionStatus() in setUserConnectChoice()
767 networkSelectorChoice.getNetworkSelectionStatus() in userConnectChoiceOverridesNetworkNominators()
771 userChoice.getNetworkSelectionStatus() in userConnectChoiceOverridesNetworkNominators()
836 networkSelectorChoice.getNetworkSelectionStatus() in testMultipleNominatorsSetsNominatorIdCorrectly()
840 userChoice.getNetworkSelectionStatus() in testMultipleNominatorsSetsNominatorIdCorrectly()
DWifiLastResortWatchdogTest.java112 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in createFilteredQnsCandidates()
136 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in createFilteredQnsCandidates()
1621 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in testUpdateNetworkWithNullConfig()
1657 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedTrue()
1676 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedTrue()
1705 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedFalse()
1724 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedFalse()
1751 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testHasEverConnectedValueInAvailableNetworkFailureCountToString()
1763 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testHasEverConnectedValueInAvailableNetworkFailureCountToString()
1928 when(candidates.get(0).second.getNetworkSelectionStatus().hasEverConnected()) in testWatchdogVerifiesAtLeastOneNetworkIsConnectedBeforeTriggeringBugreport()
DClientModeImplTest.java1783 config.getNetworkSelectionStatus().setHasEverConnected(true); in testWrongPasswordWithPreviouslyConnected()
1815 config.getNetworkSelectionStatus().setHasEverConnected(false); in testWrongPasswordWithNeverConnected()
1876 config.getNetworkSelectionStatus().setHasEverConnected(true); in testEapSimErrorVendorSpecific()
1919 config.getNetworkSelectionStatus().setHasEverConnected(true); in testEapTlsErrorVendorSpecific()
3060 mConnectedNetwork.getNetworkSelectionStatus() in testReportConnectionEventIsCalledAfterAssociationFailure()
3093 mConnectedNetwork.getNetworkSelectionStatus() in testReportConnectionEventIsCalledAfterAuthenticationFailure()
3292 mConnectedNetwork.getNetworkSelectionStatus() in testReportConnectionEventIsCalledAfterDhcpFailure()
3317 mConnectedNetwork.getNetworkSelectionStatus() in testReportConnectionEventIsCalledAfterSuccessfulConnection()
4434 when(config.getNetworkSelectionStatus()) in testNoWpa3UpgradeWhenOverlaysAreOff()
4465 when(config.getNetworkSelectionStatus()) in testWpa3UpgradeOffload()
[all …]
DWifiConnectivityManagerTest.java356 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); in mockWifiNetworkSelector()
2329 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); in useConfigSpecifiedBssidToConnectWhenFirmwareRoamingOn()
2381 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); in useConfigSpecifiedBssidToConnectionWhenFirmwareRoamingOff()
2467 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); in dropConnectAttemptIfConfigSpecifiedBssidDifferentFromScanResultBssid()
2505 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); in dropRoamingAttemptIfConfigSpecifiedBssidDifferentFromScanResultBssid()
3017 network3.getNetworkSelectionStatus().setNetworkSelectionStatus( in testRetrievePnoList()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java49 && (config.getNetworkSelectionStatus().getNetworkSelectionStatus() in buildLoggingSummary()
51 summary.append(" (" + config.getNetworkSelectionStatus().getNetworkStatusString()); in buildLoggingSummary()
52 if (config.getNetworkSelectionStatus().getDisableTime() > 0) { in buildLoggingSummary()
54 long diff = (now - config.getNetworkSelectionStatus().getDisableTime()) / 1000; in buildLoggingSummary()
67 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in buildLoggingSummary()
DAccessPoint.java1167 mConfig.getNetworkSelectionStatus().getNetworkSelectionStatus() in getSettingsSummary()
1173 && (mConfig.getNetworkSelectionStatus().getNetworkSelectionStatus() in getSettingsSummary()
1176 mConfig.getNetworkSelectionStatus(); in getSettingsSummary()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java224 a.getNetworkSelectionStatus()
227 b.getNetworkSelectionStatus()
1101 configuration.getNetworkSelectionStatus().setNetworkSelectionStatus( in setDefaultsInWifiConfiguration()
1103 configuration.getNetworkSelectionStatus().setNetworkSelectionDisableReason( in setDefaultsInWifiConfiguration()
1291 newInternalConfig.getNetworkSelectionStatus().setHasEverConnected(false); in addOrUpdateNetworkInternal()
1617 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionEnabled()
1618 if (status.getNetworkSelectionStatus() in setNetworkSelectionEnabled()
1643 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionTemporarilyDisabled()
1660 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionPermanentlyDisabled()
1695 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in setNetworkSelectionStatus()
[all …]
DWifiNetworkSelector.java545 if (!selected.getNetworkSelectionStatus().isNetworkEnabled()) { in setUserConnectChoice()
561 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in setLegacyUserConnectChoice()
610 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in updateConfiguredNetworks()
649 ScanResult scanResultCandidate = candidate.getNetworkSelectionStatus().getCandidate(); in overrideCandidateWithUserConnectChoice()
651 while (tempConfig.getNetworkSelectionStatus().getConnectChoice() != null) { in overrideCandidateWithUserConnectChoice()
652 String key = tempConfig.getNetworkSelectionStatus().getConnectChoice(); in overrideCandidateWithUserConnectChoice()
657 tempConfig.getNetworkSelectionStatus(); in overrideCandidateWithUserConnectChoice()
DNetworkSuggestionNominator.java204 if (!wCmConfiguredNetwork.getNetworkSelectionStatus().isNetworkEnabled() in findMatchedSuggestionNetworks()
258 if (!currentWCmConfiguredNetwork.getNetworkSelectionStatus().isNetworkEnabled() in addAutojoinDisabledSuggestionToWifiConfigManager()
DSavedNetworkNominator.java127 network.getNetworkSelectionStatus(); in findMatchedSavedNetworks()
DWifiLastResortWatchdog.java549 && entry.getValue().config.getNetworkSelectionStatus().hasEverConnected()) { in checkIfAtleastOneNetworkHasEverConnected()
794 ? config.getNetworkSelectionStatus().hasEverConnected() : "null_config") in toString()
DWifiConfigurationUtil.java863 if (config.getNetworkSelectionStatus().isNetworkEnabled()) { in getNetworkStatusScore()
865 } else if (config.getNetworkSelectionStatus().isNetworkTemporaryDisabled()) { in getNetworkStatusScore()
DWakeupController.java343 || !config.getNetworkSelectionStatus().hasEverConnected()) { in getGoodSavedNetworksAndSuggestions()
DNetworkListStoreData.java168 NetworkSelectionStatusXmlUtil.writeToXml(out, config.getNetworkSelectionStatus()); in serializeNetwork()
DScoredNetworkNominator.java184 if (!configuredNetwork.getNetworkSelectionStatus().isNetworkEnabled()) { in nominateNetworks()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java404 wifiConfiguration.getNetworkSelectionStatus().getNetworkSelectionStatus() in getDisconnectedStateDescription()
408 } else if (wifiConfiguration.getNetworkSelectionStatus().getNetworkSelectionStatus() in getDisconnectedStateDescription()
411 wifiConfiguration.getNetworkSelectionStatus(); in getDisconnectedStateDescription()
516 NetworkSelectionStatus networkSelectionStatus = wifiConfig.getNetworkSelectionStatus(); in getNetworkSelectionDescription()
518 if (networkSelectionStatus.getNetworkSelectionStatus() != NETWORK_SELECTION_ENABLED) { in getNetworkSelectionDescription()
DStandardWifiEntry.java647 && !wifiConfig.getNetworkSelectionStatus().hasEverConnected()) { in shouldEditBeforeConnect()
652 NetworkSelectionStatus networkSelectionStatus = wifiConfig.getNetworkSelectionStatus(); in shouldEditBeforeConnect()
653 if (networkSelectionStatus.getNetworkSelectionStatus() != NETWORK_SELECTION_ENABLED) { in shouldEditBeforeConnect()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java493 status1.getNetworkSelectionStatus()); in testNetworkSelectionStatusBuilder()
506 status1.getNetworkSelectionStatus()); in testNetworkSelectionStatusBuilder()
512 status2.getNetworkSelectionStatus()); in testNetworkSelectionStatusBuilder()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelper.java192 existingNetwork.getNetworkSelectionStatus(); in createWifiConfigForProvider()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1741 public int getNetworkSelectionStatus() { in getNetworkSelectionStatus() method in WifiConfiguration.NetworkSelectionStatus
1929 dest.writeInt(getNetworkSelectionStatus()); in writeToParcel()
2060 public NetworkSelectionStatus getNetworkSelectionStatus() { in getNetworkSelectionStatus() method in WifiConfiguration
2727 mNetworkSelectionStatus.copy(source.getNetworkSelectionStatus()); in WifiConfiguration()

12