Home
last modified time | relevance | path

Searched refs:reasonCode (Results 1 – 14 of 14) 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.java2603 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
2610 reasonCode == WnmData.ESS, reAuthDelayInSec)); in onHs20DeauthImminentNotice()
2615 public void onDisconnected(byte[/* 6 */] bssid, boolean locallyGenerated, int reasonCode) { in onDisconnected() argument
2621 + " reasonCode=" + reasonCode); in onDisconnected()
2624 && (!locallyGenerated || reasonCode != ReasonCode.IE_IN_4WAY_DIFFERS)) { in onDisconnected()
2629 mIfaceName, locallyGenerated ? 1 : 0, reasonCode, in onDisconnected()
2783 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
2785 mCallbackV1_0.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice()
2790 int reasonCode) { in onDisconnected() argument
2791 mCallbackV1_0.onDisconnected(bssid, locallyGenerated, reasonCode); in onDisconnected()
[all …]
DWifiConnectivityManager.java1287 private boolean updateBssidBlacklist(String bssid, boolean enable, int reasonCode) { in updateBssidBlacklist() argument
1314 || reasonCode == REASON_CODE_AP_UNABLE_TO_HANDLE_NEW_STA) { in updateBssidBlacklist()
1331 public boolean trackBssid(String bssid, boolean enable, int reasonCode) { in trackBssid() argument
1333 + reasonCode); in trackBssid()
1339 if (!updateBssidBlacklist(bssid, enable, reasonCode)) { in trackBssid()
DSupplicantStateTracker.java186 int reasonCode) { in sendSupplicantStateChangedBroadcast() argument
224 reasonCode); in sendSupplicantStateChangedBroadcast()
DClientModeImpl.java3327 private boolean isPermanentWrongPasswordFailure(int networkId, int reasonCode) { in isPermanentWrongPasswordFailure() argument
3328 if (reasonCode != WifiManager.ERROR_AUTH_FAILURE_WRONG_PSWD) { in isPermanentWrongPasswordFailure()
3954 int reasonCode; in processMessage() local
3965 reasonCode = message.arg2; in processMessage()
3967 + reasonCode + " timedOut=" + Boolean.toString(timedOut)); in processMessage()
3975 reasonCode); in processMessage()
3981 reasonCode); in processMessage()
4001 reasonCode = message.arg1; in processMessage()
4003 if (isPermanentWrongPasswordFailure(mTargetNetworkId, reasonCode)) { in processMessage()
4012 } 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java145 int reasonCode = (int) invocation.getArguments()[0]; in imsCallMocking()
147 mImsCallListener.onCallStartFailed(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
148 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
158 int reasonCode = (int) invocation.getArguments()[0]; in imsCallMocking()
160 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java3909 int reasonCode; in onDataEnabledChanged() local
3911 reasonCode = ImsReasonInfo.CODE_DATA_LIMIT_REACHED; in onDataEnabledChanged()
3913 reasonCode = ImsReasonInfo.CODE_DATA_DISABLED; in onDataEnabledChanged()
3916 reasonCode = ImsReasonInfo.CODE_DATA_DISABLED; in onDataEnabledChanged()
3921 maybeNotifyDataDisabled(enabled, reasonCode); in onDataEnabledChanged()
3923 handleDataEnabledChange(enabled, reasonCode); in onDataEnabledChanged()
3937 private void maybeNotifyDataDisabled(boolean enabled, int reasonCode) { in maybeNotifyDataDisabled() argument
3951 if (reasonCode == ImsReasonInfo.CODE_DATA_DISABLED) { in maybeNotifyDataDisabled()
3954 } else if (reasonCode == ImsReasonInfo.CODE_DATA_LIMIT_REACHED) { in maybeNotifyDataDisabled()
3972 private void handleDataEnabledChange(boolean enabled, int reasonCode) { in handleDataEnabledChange() argument
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java1978 int reasonCode = ImsReasonInfo.CODE_UNSPECIFIED; in markCallAsMerged() local
1980 reasonCode = ImsReasonInfo.CODE_USER_TERMINATED_BY_REMOTE; in markCallAsMerged()
1983 reasonCode = ImsReasonInfo.CODE_LOCAL_ENDED_BY_CONFERENCE_MERGE; in markCallAsMerged()
1987 reasonCode, 0, reasonInfo); in markCallAsMerged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java412 assertEquals(123, log.callSessions[0].events[1].reasonInfo.reasonCode); in testWriteOnImsCallHandoverEvent()
459 assertEquals(123, log.events[0].imsConnectionState.reasonInfo.reasonCode); in testWriteOnImsConnectionState()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java3331 int reasonCode = msg.arg1; in LocalOnlyHotspotCallbackProxy()
3333 + reasonCode); in LocalOnlyHotspotCallbackProxy()
3334 callback.onFailed(reasonCode); in LocalOnlyHotspotCallbackProxy()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1228 ri.reasonCode = reasonInfo.getCode(); in writeOnImsConnectionState()
2021 ri.reasonCode = reasonInfo.getCode(); in toImsReasonInfoProto()