/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTestUtil.java | 341 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 …]
|
D | WifiConfigurationTestUtil.java | 674 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()
|
D | WakeupControllerTest.java | 108 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()
|
D | WifiConfigurationUtilTest.java | 755 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()
|
D | WifiConfigManagerTest.java | 1349 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 …]
|
D | WifiNetworkSelectorTest.java | 719 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()
|
D | WifiLastResortWatchdogTest.java | 112 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()
|
D | ClientModeImplTest.java | 1783 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 …]
|
D | WifiConnectivityManagerTest.java | 356 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/ |
D | WifiUtils.java | 49 && (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()
|
D | AccessPoint.java | 1167 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/ |
D | WifiConfigManager.java | 224 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 …]
|
D | WifiNetworkSelector.java | 545 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()
|
D | NetworkSuggestionNominator.java | 204 if (!wCmConfiguredNetwork.getNetworkSelectionStatus().isNetworkEnabled() in findMatchedSuggestionNetworks() 258 if (!currentWCmConfiguredNetwork.getNetworkSelectionStatus().isNetworkEnabled() in addAutojoinDisabledSuggestionToWifiConfigManager()
|
D | SavedNetworkNominator.java | 127 network.getNetworkSelectionStatus(); in findMatchedSavedNetworks()
|
D | WifiLastResortWatchdog.java | 549 && entry.getValue().config.getNetworkSelectionStatus().hasEverConnected()) { in checkIfAtleastOneNetworkHasEverConnected() 794 ? config.getNetworkSelectionStatus().hasEverConnected() : "null_config") in toString()
|
D | WifiConfigurationUtil.java | 863 if (config.getNetworkSelectionStatus().isNetworkEnabled()) { in getNetworkStatusScore() 865 } else if (config.getNetworkSelectionStatus().isNetworkTemporaryDisabled()) { in getNetworkStatusScore()
|
D | WakeupController.java | 343 || !config.getNetworkSelectionStatus().hasEverConnected()) { in getGoodSavedNetworksAndSuggestions()
|
D | NetworkListStoreData.java | 168 NetworkSelectionStatusXmlUtil.writeToXml(out, config.getNetworkSelectionStatus()); in serializeNetwork()
|
D | ScoredNetworkNominator.java | 184 if (!configuredNetwork.getNetworkSelectionStatus().isNetworkEnabled()) { in nominateNetworks()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | Utils.java | 404 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()
|
D | StandardWifiEntry.java | 647 && !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/ |
D | WifiConfigurationTest.java | 493 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/ |
D | PasspointNetworkNominateHelper.java | 192 existingNetwork.getNetworkSelectionStatus(); in createWifiConfigForProvider()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 1741 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()
|