Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBlocklistMonitor.java260 @NonNull String bssid, @NonNull String ssid, int reasonCode) { in incrementFailureCountForBssid() argument
262 status.incrementFailureCount(reasonCode); in incrementFailureCountForBssid()
284 @FailureReason int reasonCode) { in isValidNetworkAndFailureReason() argument
287 || reasonCode < 0 || reasonCode >= NUMBER_REASON_CODES) { in isValidNetworkAndFailureReason()
289 + ", reasonCode=" + reasonCode); in isValidNetworkAndFailureReason()
296 @FailureReason int reasonCode) { in shouldWaitForWatchdogToTriggerFirst() argument
297 boolean isWatchdogRelatedFailure = reasonCode == REASON_ASSOCIATION_REJECTION in shouldWaitForWatchdogToTriggerFirst()
298 || reasonCode == REASON_AUTHENTICATION_FAILURE in shouldWaitForWatchdogToTriggerFirst()
299 || reasonCode == REASON_DHCP_FAILURE; in shouldWaitForWatchdogToTriggerFirst()
330 private String getFailureReasonString(@FailureReason int reasonCode) { in getFailureReasonString() argument
[all …]
DDisconnectEventInfo.java28 public final int reasonCode; field in DisconnectEventInfo
31 public DisconnectEventInfo(@NonNull String ssid, @NonNull String bssid, int reasonCode, in DisconnectEventInfo() argument
35 this.reasonCode = reasonCode; in DisconnectEventInfo()
44 sb.append(" reasonCode: ").append(reasonCode); in toString()
DMboOceController.java198 public MboAssocDisallowedAttr(int reasonCode) { in MboAssocDisallowedAttr() argument
199 mReasonCode = halToFrameworkMboAssocRDisallowedReasonCode(reasonCode); in MboAssocDisallowedAttr()
209 halToFrameworkMboAssocRDisallowedReasonCode(int reasonCode) { in halToFrameworkMboAssocRDisallowedReasonCode() argument
210 switch (reasonCode) { in halToFrameworkMboAssocRDisallowedReasonCode()
DSupplicantStaIfaceCallbackV1_1Impl.java90 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
92 mCallbackV10.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice()
97 int reasonCode) { in onDisconnected() argument
98 mCallbackV10.onDisconnected(bssid, locallyGenerated, reasonCode); in onDisconnected()
DSupplicantStateTracker.java247 SupplicantState state, boolean failedAuth, int reasonCode) { in sendSupplicantStateChangedBroadcast() argument
255 + " reasonCode=" + reasonCode; in sendSupplicantStateChangedBroadcast()
261 sendSupplicantStateChangedBroadcast(mContext, state, failedAuth, reasonCode); in sendSupplicantStateChangedBroadcast()
266 Context context, SupplicantState state, boolean failedAuth, int reasonCode) { in sendSupplicantStateChangedBroadcast() argument
277 reasonCode); in sendSupplicantStateChangedBroadcast()
DSupplicantStaIfaceCallbackV1_2Impl.java96 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
98 mCallbackV11.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice()
103 int reasonCode) { in onDisconnected() argument
104 mCallbackV11.onDisconnected(bssid, locallyGenerated, reasonCode); in onDisconnected()
DSupplicantStaIfaceCallbackV1_4Impl.java98 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
100 mCallbackV13.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice()
105 int reasonCode) { in onDisconnected() argument
106 mCallbackV13.onDisconnected(bssid, locallyGenerated, reasonCode); in onDisconnected()
DSupplicantStaIfaceCallbackImpl.java260 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
267 reasonCode == WnmData.ESS, reAuthDelayInSec)); in onHs20DeauthImminentNotice()
272 public void onDisconnected(byte[/* 6 */] bssid, boolean locallyGenerated, int reasonCode) { in onDisconnected() argument
278 + " reasonCode=" + reasonCode); in onDisconnected()
285 && (!locallyGenerated || reasonCode != ReasonCode.IE_IN_4WAY_DIFFERS)) { in onDisconnected()
295 mIfaceName, locallyGenerated, reasonCode, mCurrentSsid, in onDisconnected()
DSupplicantStaIfaceCallbackV1_3Impl.java82 public void onHs20DeauthImminentNotice(byte[/* 6 */] bssid, int reasonCode, in onHs20DeauthImminentNotice() argument
84 mCallbackV12.onHs20DeauthImminentNotice(bssid, reasonCode, reAuthDelayInSec, url); in onHs20DeauthImminentNotice()
89 int reasonCode) { in onDisconnected() argument
90 mCallbackV12.onDisconnected(bssid, locallyGenerated, reasonCode); in onDisconnected()
DLocalOnlyHotspotRequestInfo.java92 public void sendHotspotFailedMessage(int reasonCode) throws RemoteException { in sendHotspotFailedMessage() argument
93 mCallback.onHotspotFailed(reasonCode); in sendHotspotFailedMessage()
DWifiHealthMonitor.java653 int getCount(@FailureReasonCode int reasonCode) { in getCount() argument
654 return mCount[reasonCode]; in getCount()
657 void setCount(@FailureReasonCode int reasonCode, int cnt) { in setCount() argument
658 mCount[reasonCode] = cnt; in setCount()
661 void incrementCount(@FailureReasonCode int reasonCode) { in incrementCount() argument
662 mCount[reasonCode]++; in incrementCount()
DClientModeImpl.java1430 int reasonCode = mWifiScoreCard.detectAbnormalConnectionFailure(ssid); in checkAbnormalConnectionFailureAndTakeBugReport() local
1431 if (reasonCode != WifiHealthMonitor.REASON_NO_FAILURE) { in checkAbnormalConnectionFailureAndTakeBugReport()
1434 + WifiHealthMonitor.FAILURE_REASON_NAME[reasonCode]; in checkAbnormalConnectionFailureAndTakeBugReport()
1442 int reasonCode = mWifiScoreCard.detectAbnormalDisconnection(mInterfaceName); in checkAbnormalDisconnectionAndTakeBugReport() local
1443 if (reasonCode != WifiHealthMonitor.REASON_NO_FAILURE) { in checkAbnormalDisconnectionAndTakeBugReport()
1446 + WifiHealthMonitor.FAILURE_REASON_NAME[reasonCode]; in checkAbnormalDisconnectionAndTakeBugReport()
3125 private boolean isPermanentWrongPasswordFailure(int networkId, int reasonCode) {
3126 if (reasonCode != WifiManager.ERROR_AUTH_FAILURE_WRONG_PSWD) {
4412 if (eventInfo.reasonCode == ReasonCode.FOURWAY_HANDSHAKE_TIMEOUT) {
4421 getConnectingWifiConfigurationInternal(), eventInfo.reasonCode);
[all …]
DWifiScoreCard.java735 int reasonCode, int highThresholdPercent, int minCount, int refCountCode) { in detectAbnormalFailureReason() argument
740 if (isHighPercentageAndEnoughCount(stats, countCode, reasonCode, in detectAbnormalFailureReason()
744 return reasonCode; in detectAbnormalFailureReason()
751 int reasonCode, int highThresholdPercent, int minCount, int refCountCode) { in isHighPercentageAndEnoughCount() argument
1738 FailureStats statsInc, int countCode, int reasonCode, in statsDeltaDetection() argument
1742 statsInc.incrementCount(reasonCode); in statsDeltaDetection()
1748 statsDec.incrementCount(reasonCode); in statsDeltaDetection()
1755 int reasonCode, int highThresholdPercent, int minCount, int refCountCode) { in recentStatsHighDetection() argument
1756 if (isHighPercentageAndEnoughCount(mRecentStats, countCode, reasonCode, in recentStatsHighDetection()
1758 statsHigh.incrementCount(reasonCode); in recentStatsHighDetection()
DHostapdHal.java516 @NonNull MacAddress client, int reasonCode) { in forceClientDisconnect() argument
525 switch (reasonCode) { in forceClientDisconnect()
537 "Unknown disconnect reason code:" + reasonCode); in forceClientDisconnect()
DWifiNative.java1975 @NonNull MacAddress client, int reasonCode) {
1976 return mHostapdHal.forceClientDisconnect(ifaceName, client, reasonCode);
DWifiMetrics.java5375 event.reason = disconnectEventInfo.reasonCode; in processMessage()
/packages/modules/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()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DMessageTransportWrapper.java462 private void notifyDelegateSendError(String logReason, SipMessage message, int reasonCode) { in notifyDelegateSendError() argument
464 logi("Error sending SipMessage[id: " + transactionId + ", code: " + reasonCode in notifyDelegateSendError()
467 mAppCallback.onMessageSendFailure(transactionId, reasonCode); in notifyDelegateSendError()
473 private void notifyAppReceiveError(String logReason, SipMessage message, int reasonCode) { in notifyAppReceiveError() argument
475 logi("Error sending SipMessage[id: " + transactionId + ", code: " + reasonCode + "] -> " in notifyAppReceiveError()
478 mSipDelegate.notifyMessageReceiveError(transactionId, reasonCode); in notifyAppReceiveError()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java1121 int reasonCode = 5; in testDisconnectedCallback() local
1123 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testDisconnectedCallback() local
1125 eq(WLAN0_IFACE_NAME), eq(true), eq(reasonCode), eq(SUPPLICANT_SSID), eq(BSSID)); in testDisconnectedCallback()
1128 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testDisconnectedCallback() local
1130 eq(WLAN0_IFACE_NAME), eq(false), eq(reasonCode), eq(SUPPLICANT_SSID), eq(BSSID)); in testDisconnectedCallback()
1143 int reasonCode = 3; in testAuthFailurePasswordOnDisconnect() local
1145 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testAuthFailurePasswordOnDisconnect() local
1150 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testAuthFailurePasswordOnDisconnect() local
1160 NativeUtil.macAddressToByteArray(BSSID), false, reasonCode); in testAuthFailurePasswordOnDisconnect() local
1176 int reasonCode = 3; in testAuthFailureEapOnDisconnect() local
[all …]
DWifiMonitorTest.java482 assertEquals(reason, disconnectEventInfo.reasonCode); in testBroadcastNetworkDisconnectionEvent()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java788 int reasonCode = msg.arg1; in ProjectionAccessPointCallbackProxy()
790 + reasonCode); in ProjectionAccessPointCallbackProxy()
791 callback.onFailed(reasonCode); in ProjectionAccessPointCallbackProxy()