/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTestUtil.java | 235 configs[netId].getNetworkSelectionStatus().setCandidate(null); in prepareConfigStore() 236 configs[netId].getNetworkSelectionStatus() in prepareConfigStore() 238 configs[netId].getNetworkSelectionStatus() in prepareConfigStore() 251 configs[netId].getNetworkSelectionStatus().setCandidate(scanResult); in prepareConfigStore() 252 configs[netId].getNetworkSelectionStatus().setCandidateScore(score); in prepareConfigStore() 253 configs[netId].getNetworkSelectionStatus() in prepareConfigStore() 265 configs[netId].getNetworkSelectionStatus().setConnectChoice(null); in prepareConfigStore() 266 configs[netId].getNetworkSelectionStatus() in prepareConfigStore() 280 configs[netId].getNetworkSelectionStatus().setConnectChoice(configKey); in prepareConfigStore() 281 configs[netId].getNetworkSelectionStatus().setConnectChoiceTimestamp( in prepareConfigStore() [all …]
|
D | WifiConfigurationTestUtil.java | 607 expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertConfigurationEqualForConfigStore() 637 expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertConfigurationEqualForConfigManagerAddOrUpdate() 651 assertEquals(expected.getNetworkSelectionStatus().getNetworkSelectionBSSID(), in assertConfigurationEqualForSupplicant() 652 actual.getNetworkSelectionStatus().getNetworkSelectionBSSID()); in assertConfigurationEqualForSupplicant() 692 actual.getNetworkSelectionStatus()); in assertNetworkSelectionStatusEqualForConfigStore() 697 assertEquals(expected.getNetworkSelectionStatus(), actual.getNetworkSelectionStatus()); in assertNetworkSelectionStatusEqualForConfigStore()
|
D | WakeupControllerTest.java | 334 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults() 336 wepNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults() 409 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 451 openNetworkDfs.getNetworkSelectionStatus().setHasEverConnected(true); in startFiltersOutDfsScanResults() 454 openNetwork24.getNetworkSelectionStatus().setHasEverConnected(true); in startFiltersOutDfsScanResults() 484 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in onResultsUpdatesWakeupLockForSavedNetworks()
|
D | WifiConfigurationUtilTest.java | 770 network.getNetworkSelectionStatus().setNetworkSelectionBSSID(TEST_BSSID); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID() 772 network1.getNetworkSelectionStatus().setNetworkSelectionBSSID(TEST_BSSID_1); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID() 865 enabledNetwork1.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator() 868 enabledNetwork2.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator() 871 tempDisabledNetwork1.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator() 874 tempDisabledNetwork2.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator() 877 permDisabledNetwork.getNetworkSelectionStatus().setNetworkSelectionStatus( in testPnoListComparator()
|
D | WifiConfigManagerTest.java | 1126 assertFalse(retrievedNetwork.getNetworkSelectionStatus().isNotRecommended()); in testUpdateNetworkNotRecommended() 1134 assertTrue(retrievedNetwork.getNetworkSelectionStatus().isNotRecommended()); in testUpdateNetworkNotRecommended() 1142 assertFalse(retrievedNetwork.getNetworkSelectionStatus().isNotRecommended()); in testUpdateNetworkNotRecommended() 1173 .getNetworkSelectionStatus(); in testTryEnableNetwork() 1186 .getNetworkSelectionStatus(); in testTryEnableNetwork() 1205 NetworkSelectionStatus retrievedStatus = retrievedNetwork.getNetworkSelectionStatus(); in testEnableDisableNetwork() 1213 retrievedStatus = retrievedNetwork.getNetworkSelectionStatus(); in testEnableDisableNetwork() 1240 NetworkSelectionStatus retrievedStatus = retrievedNetwork.getNetworkSelectionStatus(); in testEnableNetworkFailedDueToPermissionDenied() 1269 NetworkSelectionStatus retrievedStatus = retrievedNetwork.getNetworkSelectionStatus(); in testDisableNetworkFailedDueToPermissionDenied() 1714 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in testAddNetworkOverridesHasEverConnectedWhenTrueInNewConfig() [all …]
|
D | WifiNetworkSelectorTest.java | 688 selectedWifiConfig.getNetworkSelectionStatus() in setUserConnectChoice() 690 selectedWifiConfig.getNetworkSelectionStatus().setNetworkSelectionStatus( in setUserConnectChoice() 692 selectedWifiConfig.getNetworkSelectionStatus().setConnectChoice("bogusKey"); in setUserConnectChoice() 695 configInLastNetworkSelection.getNetworkSelectionStatus() in setUserConnectChoice() 737 networkSelectorChoice.getNetworkSelectionStatus() in userConnectChoiceOverridesNetworkEvaluators() 741 userChoice.getNetworkSelectionStatus() in userConnectChoiceOverridesNetworkEvaluators() 804 networkSelectorChoice.getNetworkSelectionStatus() in testMultipleEvaluatorsSetsNominatorIdCorrectly() 808 userChoice.getNetworkSelectionStatus() in testMultipleEvaluatorsSetsNominatorIdCorrectly()
|
D | WifiLastResortWatchdogTest.java | 107 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in createFilteredQnsCandidates() 131 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in createFilteredQnsCandidates() 1615 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStatus); in testUpdateNetworkWithNullConfig() 1651 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedTrue() 1670 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedTrue() 1699 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedFalse() 1718 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testUpdateNetworkWithHasEverConnectedFalse() 1745 when(configHasEverConnectedTrue.getNetworkSelectionStatus()) in testHasEverConnectedValueInAvailableNetworkFailureCountToString() 1757 when(configHasEverConnectedFalse.getNetworkSelectionStatus()) in testHasEverConnectedValueInAvailableNetworkFailureCountToString() 1921 when(candidates.get(0).second.getNetworkSelectionStatus().getHasEverConnected()) in testWatchdogVerifiesAtLeastOneNetworkIsConnectedBeforeTriggeringBugreport()
|
D | WifiConnectivityManagerTest.java | 290 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); in mockWifiNetworkSelector() 1750 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); 1804 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); 1894 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult); 1934 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult);
|
D | NetworkSuggestionEvaluatorTest.java | 543 suggestions[0].wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionStatus( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 601 suggestions[0].wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionStatus( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
|
D | SupplicantStaIfaceHalTest.java | 712 testBssid, config.getNetworkSelectionStatus().getNetworkSelectionBSSID())); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant() 713 config.getNetworkSelectionStatus().setNetworkSelectionBSSID(testBssid); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant() 818 roamingConfig.getNetworkSelectionStatus().setNetworkSelectionBSSID("45:34:23:23:ab:ed"); in testRoamFailureDueToBssidSet() 885 roamingConfig.getNetworkSelectionStatus().setNetworkSelectionBSSID("45:34:23:23:ab:ed"); in testRoamFailureDueToReassociate() 2351 roamingConfig.getNetworkSelectionStatus().setNetworkSelectionBSSID(roamBssid); in executeAndValidateRoamSequence()
|
D | WifiMetricsTest.java | 1380 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStat); in testScanDetailAndWifiConfigurationUsage() 1457 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStat); in testNetworkToNominatorNotCleared() 2312 when(config.getNetworkSelectionStatus()).thenReturn(networkSelectionStat); in generateRssiDelta() 2375 config.getNetworkSelectionStatus().setHasEverConnected(true); in createComplexWifiConfig() 2379 config.getNetworkSelectionStatus().setCandidate(candidate); in createComplexWifiConfig() 2393 assertEquals(config.getNetworkSelectionStatus().getHasEverConnected(), in assertConfigInfoEqualsWifiConfig() 2395 assertEquals(config.getNetworkSelectionStatus().getCandidate().level, info.scanRssi); in assertConfigInfoEqualsWifiConfig() 2396 assertEquals(config.getNetworkSelectionStatus().getCandidate().frequency, info.scanFreq); in assertConfigInfoEqualsWifiConfig()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 42 if (config != null && !config.getNetworkSelectionStatus().isNetworkEnabled()) { in buildLoggingSummary() 43 summary.append(" (" + config.getNetworkSelectionStatus().getNetworkStatusString()); in buildLoggingSummary() 44 if (config.getNetworkSelectionStatus().getDisableTime() > 0) { in buildLoggingSummary() 46 long diff = (now - config.getNetworkSelectionStatus().getDisableTime()) / 1000; in buildLoggingSummary() 60 config.getNetworkSelectionStatus(); in buildLoggingSummary()
|
D | AccessPoint.java | 1156 int messageID = mConfig.getNetworkSelectionStatus().isNetworkPermanentlyDisabled() in getSettingsSummary() 1160 } else if (mConfig != null && !mConfig.getNetworkSelectionStatus().isNetworkEnabled()) { in getSettingsSummary() 1162 mConfig.getNetworkSelectionStatus(); in getSettingsSummary() 1178 } else if (mConfig != null && mConfig.getNetworkSelectionStatus().isNotRecommended()) { in getSettingsSummary()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 255 a.getNetworkSelectionStatus() 258 b.getNetworkSelectionStatus() 1086 configuration.getNetworkSelectionStatus().setNetworkSelectionStatus( in setDefaultsInWifiConfiguration() 1088 configuration.getNetworkSelectionStatus().setNetworkSelectionDisableReason( in setDefaultsInWifiConfiguration() 1256 newInternalConfig.getNetworkSelectionStatus().setHasEverConnected(false); in addOrUpdateNetworkInternal() 1561 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionEnabled() 1562 if (status.getNetworkSelectionStatus() in setNetworkSelectionEnabled() 1584 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionTemporarilyDisabled() 1600 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionPermanentlyDisabled() 1633 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in setNetworkSelectionStatus() [all …]
|
D | WifiNetworkSelector.java | 549 if (!selected.getNetworkSelectionStatus().isNetworkEnabled()) { in setUserConnectChoice() 567 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in setLegacyUserConnectChoice() 617 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in updateConfiguredNetworks() 656 ScanResult scanResultCandidate = candidate.getNetworkSelectionStatus().getCandidate(); in overrideCandidateWithUserConnectChoice() 658 while (tempConfig.getNetworkSelectionStatus().getConnectChoice() != null) { in overrideCandidateWithUserConnectChoice() 659 String key = tempConfig.getNetworkSelectionStatus().getConnectChoice(); in overrideCandidateWithUserConnectChoice() 664 tempConfig.getNetworkSelectionStatus(); in overrideCandidateWithUserConnectChoice()
|
D | CarrierNetworkEvaluator.java | 130 && !existingNetwork.getNetworkSelectionStatus().isNetworkEnabled() in evaluateNetworks() 160 nss = config.getNetworkSelectionStatus(); in evaluateNetworks()
|
D | WifiLastResortWatchdog.java | 543 && entry.getValue().config.getNetworkSelectionStatus().getHasEverConnected()) { in checkIfAtleastOneNetworkHasEverConnected() 761 ? config.getNetworkSelectionStatus().getHasEverConnected() : "null_config") in toString()
|
D | WifiConfigurationUtil.java | 875 if (config.getNetworkSelectionStatus().isNetworkEnabled()) { in getNetworkStatusScore() 877 } else if (config.getNetworkSelectionStatus().isNetworkTemporaryDisabled()) { in getNetworkStatusScore()
|
D | SavedNetworkEvaluator.java | 219 network.getNetworkSelectionStatus(); in evaluateNetworks()
|
D | NetworkSuggestionEvaluator.java | 110 if (!wCmConfiguredNetwork.getNetworkSelectionStatus().isNetworkEnabled() in evaluateNetworks()
|
D | NetworkListStoreData.java | 164 NetworkSelectionStatusXmlUtil.writeToXml(out, config.getNetworkSelectionStatus()); in serializeNetwork()
|
D | WakeupController.java | 327 || !config.getNetworkSelectionStatus().getHasEverConnected()) { in getGoodSavedNetworksAndSuggestions()
|
D | ScoredNetworkEvaluator.java | 168 if (!configuredNetwork.getNetworkSelectionStatus().isNetworkEnabled()) { in evaluateNetworks()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 1459 public int getNetworkSelectionStatus() { in getNetworkSelectionStatus() method in WifiConfiguration.NetworkSelectionStatus 1641 dest.writeInt(getNetworkSelectionStatus()); in writeToParcel() 1738 public NetworkSelectionStatus getNetworkSelectionStatus() { in getNetworkSelectionStatus() method in WifiConfiguration 2376 mNetworkSelectionStatus.copy(source.getNetworkSelectionStatus()); in WifiConfiguration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 233 existingNetwork.getNetworkSelectionStatus(); in createWifiConfigForProvider()
|