Home
last modified time | relevance | path

Searched refs:reasonCode (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DFrameParser.java611 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/opt/net/wifi/service/java/com/android/server/wifi/
DLocalOnlyHotspotRequestInfo.java89 public void sendHotspotFailedMessage(int reasonCode) throws RemoteException { in sendHotspotFailedMessage() argument
92 message.arg1 = reasonCode; in sendHotspotFailedMessage()
DSupplicantStaIfaceHal.java2627 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
2634 reasonCode == WnmData.ESS, reAuthDelayInSec)); in onHs20DeauthImminentNotice()
2639 public void onDisconnected(byte[/* 6 */] bssid, boolean locallyGenerated, int reasonCode) { in onDisconnected() argument
2645 + " reasonCode=" + reasonCode); in onDisconnected()
2648 && (!locallyGenerated || reasonCode != ReasonCode.IE_IN_4WAY_DIFFERS)) { in onDisconnected()
2653 mIfaceName, locallyGenerated ? 1 : 0, reasonCode, in onDisconnected()
2807 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
2809 mCallbackV1_0.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice()
2814 int reasonCode) { in onDisconnected() argument
2815 mCallbackV1_0.onDisconnected(bssid, locallyGenerated, reasonCode); in onDisconnected()
[all …]
DWifiConnectivityManager.java1290 private boolean updateBssidBlacklist(String bssid, boolean enable, int reasonCode) { in updateBssidBlacklist() argument
1317 || reasonCode == REASON_CODE_AP_UNABLE_TO_HANDLE_NEW_STA) { in updateBssidBlacklist()
1334 public boolean trackBssid(String bssid, boolean enable, int reasonCode) { in trackBssid() argument
1336 + reasonCode); in trackBssid()
1342 if (!updateBssidBlacklist(bssid, enable, reasonCode)) { in trackBssid()
DSupplicantStateTracker.java186 int reasonCode) { in sendSupplicantStateChangedBroadcast() argument
224 reasonCode); in sendSupplicantStateChangedBroadcast()
DClientModeImpl.java3351 private boolean isPermanentWrongPasswordFailure(int networkId, int reasonCode) { in isPermanentWrongPasswordFailure() argument
3352 if (reasonCode != WifiManager.ERROR_AUTH_FAILURE_WRONG_PSWD) { in isPermanentWrongPasswordFailure()
3982 int reasonCode; in processMessage() local
3993 reasonCode = message.arg2; in processMessage()
3995 + reasonCode + " timedOut=" + Boolean.toString(timedOut)); in processMessage()
4003 reasonCode); in processMessage()
4009 reasonCode); in processMessage()
4029 reasonCode = message.arg1; in processMessage()
4031 if (isPermanentWrongPasswordFailure(mTargetNetworkId, reasonCode)) { in processMessage()
4040 } else if (reasonCode == WifiManager.ERROR_AUTH_FAILURE_EAP_FAILURE) { in processMessage()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java1228 int reasonCode = 5; in testDisconnectedCallback() local
1230 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testDisconnectedCallback() local
1232 eq(WLAN0_IFACE_NAME), eq(1), eq(reasonCode), eq(BSSID)); in testDisconnectedCallback()
1235 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testDisconnectedCallback() local
1237 eq(WLAN0_IFACE_NAME), eq(0), eq(reasonCode), eq(BSSID)); in testDisconnectedCallback()
1248 int reasonCode = 3; in testAuthFailurePassword() local
1250 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testAuthFailurePassword() local
1255 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testAuthFailurePassword() local
1265 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testAuthFailurePassword() local
1267 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testAuthFailurePassword() local
[all …]
DSupplicantStateTrackerTest.java175 int reasonCode = (int) in testReasonCodeInSupplicantStateChangeIntent()
177 assertEquals(reasonCode, WifiManager.ERROR_AUTH_FAILURE_WRONG_PSWD); in testReasonCodeInSupplicantStateChangeIntent()
/frameworks/base/telephony/java/android/service/euicc/
DEuiccService.java331 @NonNull String reasonCode) { in encodeSmdxSubjectAndReasonCode() argument
336 if (TextUtils.isEmpty(subjectCode) || TextUtils.isEmpty(reasonCode)) { in encodeSmdxSubjectAndReasonCode()
341 final String[] reasonCodeToken = reasonCode.split("\\."); in encodeSmdxSubjectAndReasonCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java469 String reasonCode = sections.pop() + "." + sections.pop() + "." + sections.pop(); in decodeSmdxSubjectAndReasonCode() local
473 reasonCode = reasonCode.replaceAll("^(0\\.)*", ""); in decodeSmdxSubjectAndReasonCode()
475 return Pair.create(subjectCode, reasonCode); in decodeSmdxSubjectAndReasonCode()
513 final String reasonCode = subjectReasonCode.second; in addExtrasToResultIntent() local
516 intent.putExtra(EuiccManager.EXTRA_EMBEDDED_SUBSCRIPTION_SMDX_REASON_CODE, reasonCode); in addExtrasToResultIntent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java146 int reasonCode = (int) invocation.getArguments()[0]; in imsCallMocking()
148 mImsCallListener.onCallStartFailed(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
149 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
159 int reasonCode = (int) invocation.getArguments()[0]; in imsCallMocking()
161 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java4512 int reasonCode; in onDataEnabledChanged() local
4514 reasonCode = ImsReasonInfo.CODE_DATA_LIMIT_REACHED; in onDataEnabledChanged()
4516 reasonCode = ImsReasonInfo.CODE_DATA_DISABLED; in onDataEnabledChanged()
4519 reasonCode = ImsReasonInfo.CODE_DATA_DISABLED; in onDataEnabledChanged()
4524 maybeNotifyDataDisabled(enabled, reasonCode); in onDataEnabledChanged()
4526 handleDataEnabledChange(enabled, reasonCode); in onDataEnabledChanged()
4540 private void maybeNotifyDataDisabled(boolean enabled, int reasonCode) { in maybeNotifyDataDisabled() argument
4554 if (reasonCode == ImsReasonInfo.CODE_DATA_DISABLED) { in maybeNotifyDataDisabled()
4557 } else if (reasonCode == ImsReasonInfo.CODE_DATA_LIMIT_REACHED) { in maybeNotifyDataDisabled()
4575 private void handleDataEnabledChange(boolean enabled, int reasonCode) { in handleDataEnabledChange() argument
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java2060 int reasonCode = ImsReasonInfo.CODE_UNSPECIFIED; in markCallAsMerged() local
2062 reasonCode = ImsReasonInfo.CODE_USER_TERMINATED_BY_REMOTE; in markCallAsMerged()
2065 reasonCode = ImsReasonInfo.CODE_LOCAL_ENDED_BY_CONFERENCE_MERGE; in markCallAsMerged()
2069 reasonCode, 0, reasonInfo); in markCallAsMerged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java445 assertEquals(123, log.callSessions[0].events[1].reasonInfo.reasonCode); in testWriteOnImsCallHandoverEvent()
492 assertEquals(123, log.events[0].imsConnectionState.reasonInfo.reasonCode); in testWriteOnImsConnectionState()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java3394 int reasonCode = msg.arg1; in LocalOnlyHotspotCallbackProxy()
3396 + reasonCode); in LocalOnlyHotspotCallbackProxy()
3397 callback.onFailed(reasonCode); in LocalOnlyHotspotCallbackProxy()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1283 ri.reasonCode = reasonInfo.getCode(); in writeOnImsConnectionState()
2080 ri.reasonCode = reasonInfo.getCode(); in toImsReasonInfoProto()