/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | BssidBlocklistMonitor.java | 175 @NonNull String bssid, @NonNull String ssid, int reasonCode) { in incrementFailureCountForBssid() argument 177 status.incrementFailureCount(reasonCode); in incrementFailureCountForBssid() 199 @FailureReason int reasonCode) { in isValidNetworkAndFailureReason() argument 202 || reasonCode < 0 || reasonCode >= NUMBER_REASON_CODES) { in isValidNetworkAndFailureReason() 204 + ", reasonCode=" + reasonCode); in isValidNetworkAndFailureReason() 211 @FailureReason int reasonCode) { in shouldWaitForWatchdogToTriggerFirst() argument 212 boolean isWatchdogRelatedFailure = reasonCode == REASON_ASSOCIATION_REJECTION in shouldWaitForWatchdogToTriggerFirst() 213 || reasonCode == REASON_AUTHENTICATION_FAILURE in shouldWaitForWatchdogToTriggerFirst() 214 || reasonCode == REASON_DHCP_FAILURE; in shouldWaitForWatchdogToTriggerFirst() 238 private String getFailureReasonString(@FailureReason int reasonCode) { in getFailureReasonString() argument [all …]
|
D | SupplicantStaIfaceCallbackV1_1Impl.java | 82 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument 84 mCallbackV10.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice() 89 int reasonCode) { in onDisconnected() argument 90 mCallbackV10.onDisconnected(bssid, locallyGenerated, reasonCode); in onDisconnected()
|
D | SupplicantStaIfaceCallbackV1_2Impl.java | 88 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument 90 mCallbackV11.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice() 95 int reasonCode) { in onDisconnected() argument 96 mCallbackV11.onDisconnected(bssid, locallyGenerated, reasonCode); in onDisconnected()
|
D | SupplicantStaIfaceCallbackV1_3Impl.java | 91 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument 93 mCallbackV12.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice() 98 int reasonCode) { in onDisconnected() argument 103 + " reasonCode=" + reasonCode); in onDisconnected() 106 && (!locallyGenerated || reasonCode != ReasonCode.IE_IN_4WAY_DIFFERS)) { in onDisconnected() 111 mIfaceName, locallyGenerated ? 1 : 0, reasonCode, in onDisconnected()
|
D | LocalOnlyHotspotRequestInfo.java | 89 public void sendHotspotFailedMessage(int reasonCode) throws RemoteException { in sendHotspotFailedMessage() argument 90 mCallback.onHotspotFailed(reasonCode); in sendHotspotFailedMessage()
|
D | SupplicantStaIfaceCallbackImpl.java | 226 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument 233 reasonCode == WnmData.ESS, reAuthDelayInSec)); in onHs20DeauthImminentNotice() 238 public void onDisconnected(byte[/* 6 */] bssid, boolean locallyGenerated, int reasonCode) { in onDisconnected() argument 244 + " reasonCode=" + reasonCode); in onDisconnected() 247 && (!locallyGenerated || reasonCode != ReasonCode.IE_IN_4WAY_DIFFERS)) { in onDisconnected() 252 mIfaceName, locallyGenerated ? 1 : 0, reasonCode, in onDisconnected()
|
D | WifiHealthMonitor.java | 612 int getCount(@FailureReasonCode int reasonCode) { in getCount() argument 613 return mCount[reasonCode]; in getCount() 616 void setCount(@FailureReasonCode int reasonCode, int cnt) { in setCount() argument 617 mCount[reasonCode] = cnt; in setCount() 620 void incrementCount(@FailureReasonCode int reasonCode) { in incrementCount() argument 621 mCount[reasonCode]++; in incrementCount()
|
D | WifiScoreCard.java | 649 int reasonCode, int highThresholdPercent, int minCount, int refCountCode) { in detectAbnormalFailureReason() argument 654 if (isHighPercentageAndEnoughCount(stats, countCode, reasonCode, in detectAbnormalFailureReason() 658 return reasonCode; in detectAbnormalFailureReason() 665 int reasonCode, int highThresholdPercent, int minCount, int refCountCode) { in isHighPercentageAndEnoughCount() argument 1144 FailureStats statsInc, int countCode, int reasonCode, in statsDeltaDetection() argument 1148 statsInc.incrementCount(reasonCode); in statsDeltaDetection() 1154 statsDec.incrementCount(reasonCode); in statsDeltaDetection() 1161 int reasonCode, int highThresholdPercent, int minCount, int refCountCode) { in recentStatsHighDetection() argument 1162 if (isHighPercentageAndEnoughCount(mRecentStats, countCode, reasonCode, in recentStatsHighDetection() 1164 statsHigh.incrementCount(reasonCode); in recentStatsHighDetection()
|
D | SupplicantStateTracker.java | 175 int reasonCode) { in sendSupplicantStateChangedBroadcast() argument 233 reasonCode); in sendSupplicantStateChangedBroadcast()
|
D | ClientModeImpl.java | 1599 int reasonCode = mWifiScoreCard.detectAbnormalConnectionFailure(ssid); in checkAbnormalConnectionFailureAndTakeBugReport() local 1600 if (reasonCode != WifiHealthMonitor.REASON_NO_FAILURE) { in checkAbnormalConnectionFailureAndTakeBugReport() 1603 + WifiHealthMonitor.FAILURE_REASON_NAME[reasonCode]; in checkAbnormalConnectionFailureAndTakeBugReport() 1612 int reasonCode = mWifiScoreCard.detectAbnormalDisconnection(); in checkAbnormalDisconnectionAndTakeBugReport() local 1613 if (reasonCode != WifiHealthMonitor.REASON_NO_FAILURE) { in checkAbnormalDisconnectionAndTakeBugReport() 1616 + WifiHealthMonitor.FAILURE_REASON_NAME[reasonCode]; in checkAbnormalDisconnectionAndTakeBugReport() 3250 private boolean isPermanentWrongPasswordFailure(int networkId, int reasonCode) { 3251 if (reasonCode != WifiManager.ERROR_AUTH_FAILURE_WRONG_PSWD) { 3843 int reasonCode; 3858 reasonCode = message.arg2; [all …]
|
D | HostapdHal.java | 572 @NonNull MacAddress client, int reasonCode) { in forceClientDisconnect() argument 581 switch (reasonCode) { in forceClientDisconnect() 593 "Unknown disconnect reason code:" + reasonCode); in forceClientDisconnect()
|
D | WifiNative.java | 1772 @NonNull MacAddress client, int reasonCode) { 1773 return mHostapdHal.forceClientDisconnect(ifaceName, client, reasonCode);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 611 short reasonCode = data.getShort(); in parseDisassociationFrame() local 612 mResultString = String.format("%d: %s", reasonCode, decodeIeee80211ReasonCode(reasonCode)); in parseDisassociationFrame() 652 short reasonCode = data.getShort(); in parseDeauthenticationFrame() local 653 mResultString = String.format("%d: %s", reasonCode, decodeIeee80211ReasonCode(reasonCode)); in parseDeauthenticationFrame() 657 private String decodeIeee80211ReasonCode(short reasonCode) { in decodeIeee80211ReasonCode() argument 658 switch (reasonCode) { in decodeIeee80211ReasonCode()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobParameters.java | 84 public static String getReasonCodeDescription(int reasonCode) { in getReasonCodeDescription() argument 85 switch (reasonCode) { in getReasonCodeDescription() 93 default: return "unknown:" + reasonCode; in getReasonCodeDescription()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 1027 int reasonCode = 5; in testDisconnectedCallback() local 1029 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testDisconnectedCallback() local 1031 eq(WLAN0_IFACE_NAME), eq(1), eq(reasonCode), eq(BSSID)); in testDisconnectedCallback() 1034 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testDisconnectedCallback() local 1036 eq(WLAN0_IFACE_NAME), eq(0), eq(reasonCode), eq(BSSID)); in testDisconnectedCallback() 1047 int reasonCode = 3; in testAuthFailurePassword() local 1049 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testAuthFailurePassword() local 1054 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testAuthFailurePassword() local 1064 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testAuthFailurePassword() local 1066 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testAuthFailurePassword() local [all …]
|
D | SupplicantStateTrackerTest.java | 167 int reasonCode = (int) in testReasonCodeInSupplicantStateChangeIntent() 169 assertEquals(reasonCode, WifiManager.ERROR_AUTH_FAILURE_WRONG_PSWD); in testReasonCodeInSupplicantStateChangeIntent()
|
/frameworks/base/telephony/java/android/service/euicc/ |
D | EuiccService.java | 331 @Nullable String reasonCode) in encodeSmdxSubjectAndReasonCode() argument 337 if (TextUtils.isEmpty(subjectCode) || TextUtils.isEmpty(reasonCode)) { in encodeSmdxSubjectAndReasonCode() 342 final String[] reasonCodeToken = reasonCode.split("\\."); in encodeSmdxSubjectAndReasonCode()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 470 String reasonCode = sections.pop() + "." + sections.pop() + "." + sections.pop(); in decodeSmdxSubjectAndReasonCode() local 474 reasonCode = reasonCode.replaceAll("^(0\\.)*", ""); in decodeSmdxSubjectAndReasonCode() 476 return Pair.create(subjectCode, reasonCode); in decodeSmdxSubjectAndReasonCode() 514 final String reasonCode = subjectReasonCode.second; in addExtrasToResultIntent() local 517 intent.putExtra(EuiccManager.EXTRA_EMBEDDED_SUBSCRIPTION_SMDX_REASON_CODE, reasonCode); in addExtrasToResultIntent()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppErrors.java | 322 int reasonCode = ApplicationExitInfo.REASON_ANR; in killAppAtUserRequestLocked() local 325 reasonCode = ApplicationExitInfo.REASON_OTHER; in killAppAtUserRequestLocked() 330 killAppImmediateLocked(app, reasonCode, subReason, in killAppAtUserRequestLocked() 334 private void killAppImmediateLocked(ProcessRecord app, int reasonCode, int subReason, in killAppImmediateLocked() argument 343 app.kill(killReason, reasonCode, subReason, true); in killAppImmediateLocked()
|
D | ProcessList.java | 2612 int reasonCode, int subReason, String reason) { in killPackageProcessesLocked() argument 2615 false /* evenPersistent */, false /* setRemoved */, reasonCode, in killPackageProcessesLocked() 2649 boolean doit, boolean evenPersistent, boolean setRemoved, int reasonCode, in killPackageProcessesLocked() argument 2723 reasonCode, subReason, reason); in killPackageProcessesLocked() local 2732 boolean callerWillRestart, boolean allowRestart, int reasonCode, String reason) { in removeProcessLocked() argument 2733 return removeProcessLocked(app, callerWillRestart, allowRestart, reasonCode, in removeProcessLocked() 2739 boolean allowRestart, int reasonCode, int subReason, String reason) { in removeProcessLocked() argument 2776 app.kill(reason, reasonCode, subReason, true); in removeProcessLocked()
|
D | ProcessRecord.java | 905 void kill(String reason, @Reason int reasonCode, boolean noisy) { in kill() argument 906 kill(reason, reasonCode, ApplicationExitInfo.SUBREASON_UNKNOWN, noisy); in kill() 909 void kill(String reason, @Reason int reasonCode, @SubReason int subReason, boolean noisy) { in kill() argument 918 mService.mProcessList.noteAppKill(this, reasonCode, subReason, reason); in kill()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 147 int reasonCode = (int) invocation.getArguments()[0]; in imsCallMocking() 149 mImsCallListener.onCallStartFailed(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking() 150 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking() 160 int reasonCode = (int) invocation.getArguments()[0]; in imsCallMocking() 162 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 4524 int reasonCode; in onDataEnabledChanged() local 4526 reasonCode = ImsReasonInfo.CODE_DATA_LIMIT_REACHED; in onDataEnabledChanged() 4528 reasonCode = ImsReasonInfo.CODE_DATA_DISABLED; in onDataEnabledChanged() 4531 reasonCode = ImsReasonInfo.CODE_DATA_DISABLED; in onDataEnabledChanged() 4536 maybeNotifyDataDisabled(enabled, reasonCode); in onDataEnabledChanged() 4538 handleDataEnabledChange(enabled, reasonCode); in onDataEnabledChanged() 4552 private void maybeNotifyDataDisabled(boolean enabled, int reasonCode) { in maybeNotifyDataDisabled() argument 4566 if (reasonCode == ImsReasonInfo.CODE_DATA_DISABLED) { in maybeNotifyDataDisabled() 4569 } else if (reasonCode == ImsReasonInfo.CODE_DATA_LIMIT_REACHED) { in maybeNotifyDataDisabled() 4587 private void handleDataEnabledChange(boolean enabled, int reasonCode) { in handleDataEnabledChange() argument [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsCall.java | 2061 int reasonCode = ImsReasonInfo.CODE_UNSPECIFIED; in markCallAsMerged() local 2063 reasonCode = ImsReasonInfo.CODE_USER_TERMINATED_BY_REMOTE; in markCallAsMerged() 2066 reasonCode = ImsReasonInfo.CODE_LOCAL_ENDED_BY_CONFERENCE_MERGE; in markCallAsMerged() 2070 reasonCode, 0, reasonInfo); in markCallAsMerged()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 446 assertEquals(123, log.callSessions[0].events[1].reasonInfo.reasonCode); in testWriteOnImsCallHandoverEvent() 493 assertEquals(123, log.events[0].imsConnectionState.reasonInfo.reasonCode); in testWriteOnImsConnectionState()
|