/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 1625 int disableReason = NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION; in testTryEnableNetworkExponentialBackoff() local 1626 verifyDisableNetwork(openNetwork, disableReason); in testTryEnableNetworkExponentialBackoff() 1632 disableReason) * 4)); in testTryEnableNetworkExponentialBackoff() 1642 int disableReason = NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION; in testTryEnableNetworkExponentialBackoffCapped() local 1645 verifyDisableNetwork(openNetwork, disableReason); in testTryEnableNetworkExponentialBackoffCapped() 1660 int disableReason = NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION; in testTryEnableNetworkCappedByShortMaxDisableDuration() local 1663 verifyDisableNetwork(openNetwork, disableReason); in testTryEnableNetworkCappedByShortMaxDisableDuration() 1678 int disableReason = NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION; in testTryEnableNetworkNoBssidsInBlocklist() local 1680 verifyDisableNetwork(openNetwork, disableReason); in testTryEnableNetworkNoBssidsInBlocklist() 1682 mWifiBlocklistMonitor.getNetworkSelectionDisableTimeoutMillis(disableReason) in testTryEnableNetworkNoBssidsInBlocklist() [all …]
|
D | WifiMetricsTest.java | 2950 assertEquals(NetworkDisableReason.REASON_UNKNOWN, networkDisableReason.disableReason); in testLogUserActionEventValidNetworkId() 3023 networkDisableReason.disableReason); in testNetworkDisableReasonInUserActionEvent() 3056 networkDisableReason.disableReason); in testNetworkDisableReasonDisableAutojoinInUserActionEvent()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiBlocklistMonitor.java | 431 BssidDisableReason disableReason = mBssidDisableReasons.get(reasonCode); in getFailureReasonString() local 432 if (disableReason == null) { in getFailureReasonString() 435 return disableReason.reasonString; in getFailureReasonString() 1390 WifiConfiguration config, int disableReason) { in setNetworkSelectionTemporarilyDisabled() argument 1396 status.setDisableEndTime(calculateDisableEndTime(config, disableReason)); in setNetworkSelectionTemporarilyDisabled() 1397 status.setNetworkSelectionDisableReason(disableReason); in setNetworkSelectionTemporarilyDisabled() 1399 mWifiMetrics.incrementWificonfigurationBlocklistCount(disableReason); in setNetworkSelectionTemporarilyDisabled() 1402 private long calculateDisableEndTime(WifiConfiguration config, int disableReason) { in calculateDisableEndTime() argument 1403 long disableDurationMs = (long) getNetworkSelectionDisableTimeoutMillis(disableReason); in calculateDisableEndTime() 1422 WifiConfiguration config, int disableReason) { in setNetworkSelectionPermanentlyDisabled() argument [all …]
|
D | SupplicantStateTracker.java | 159 private void handleNetworkConnectionFailure(int netId, int disableReason) { in handleNetworkConnectionFailure() argument 162 + " reason " + disableReason); in handleNetworkConnectionFailure() local 166 mWifiConfigManager.updateNetworkSelectionStatus(netId, disableReason); in handleNetworkConnectionFailure()
|
D | WifiBackupRestore.java | 225 int disableReason = configuration.getNetworkSelectionStatus() in writeNetworkConfigurationsToXml() local 227 if (disableReason in writeNetworkConfigurationsToXml()
|
D | WifiConfigManager.java | 159 int disableReason) { }; in onNetworkPermanentlyDisabled() argument 168 int disableReason) { }; in onNetworkTemporarilyDisabled() argument 2210 int newNetworkSelectionStatus, int disableReason) { in sendNetworkSelectionStatusChangedUpdate() argument 2222 disableReason); in sendNetworkSelectionStatusChangedUpdate() local 2230 disableReason); in sendNetworkSelectionStatusChangedUpdate() local
|
D | ClientModeImpl.java | 1297 public void onNetworkTemporarilyDisabled(WifiConfiguration config, int disableReason) { in onNetworkTemporarilyDisabled() argument 1298 if (disableReason == DISABLED_NO_INTERNET_TEMPORARY) return; in onNetworkTemporarilyDisabled() 1308 public void onNetworkPermanentlyDisabled(WifiConfiguration config, int disableReason) { in onNetworkPermanentlyDisabled() argument 1313 if (disableReason == DISABLED_NO_INTERNET_PERMANENT) return; in onNetworkPermanentlyDisabled() 6207 int disableReason = WifiConfiguration.NetworkSelectionStatus in processMessageImpl() local 6217 disableReason = WifiConfiguration.NetworkSelectionStatus in processMessageImpl() 6239 disableReason = WifiConfiguration.NetworkSelectionStatus in processMessageImpl() 6247 disableReason = WifiConfiguration.NetworkSelectionStatus in processMessageImpl() 6255 mTargetNetworkId, disableReason); in processMessageImpl()
|
D | WifiMetrics.java | 991 result.disableReason = in convertToNetworkDisableReason() 1001 result.disableReason = NetworkDisableReason.REASON_AUTO_JOIN_DISABLED; in convertToNetworkDisableReason() 1109 NetworkDisableReason disableReason = mUserActionEvent.networkDisableReason; in toString() local 1110 if (disableReason != null) { in toString() 1112 .append(disableReason.disableReason); in toString() 1114 .append(disableReason.configTemporarilyDisabled); in toString() 1116 .append(disableReason.configPermanentlyDisabled); in toString() 1118 .append(Arrays.toString(disableReason.bssidDisableReasons)); in toString()
|
D | WifiConnectivityManager.java | 1257 public void onNetworkPermanentlyDisabled(WifiConfiguration config, int disableReason) { in onNetworkPermanentlyDisabled() argument
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 1513 int disableReason = in parseFromXml() local 1519 if (status == -1 || disableReason == -1 || in parseFromXml() 1522 disableReason = NetworkSelectionStatus.DISABLED_NONE; in parseFromXml() 1525 selectionStatus.setNetworkSelectionDisableReason(disableReason); in parseFromXml() 1528 selectionStatus.setDisableReasonCounter(disableReason, 1); in parseFromXml()
|