Home
last modified time | relevance | path

Searched refs:disableReason (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBlocklistMonitorTest.java1625 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 …]
DWifiMetricsTest.java2950 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/
DWifiBlocklistMonitor.java431 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 …]
DSupplicantStateTracker.java159 private void handleNetworkConnectionFailure(int netId, int disableReason) { in handleNetworkConnectionFailure() argument
162 + " reason " + disableReason); in handleNetworkConnectionFailure() local
166 mWifiConfigManager.updateNetworkSelectionStatus(netId, disableReason); in handleNetworkConnectionFailure()
DWifiBackupRestore.java225 int disableReason = configuration.getNetworkSelectionStatus() in writeNetworkConfigurationsToXml() local
227 if (disableReason in writeNetworkConfigurationsToXml()
DWifiConfigManager.java159 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
DClientModeImpl.java1297 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()
DWifiMetrics.java991 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()
DWifiConnectivityManager.java1257 public void onNetworkPermanentlyDisabled(WifiConfiguration config, int disableReason) { in onNetworkPermanentlyDisabled() argument
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java1513 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()