Home
last modified time | relevance | path

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

123

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiBlocklistMonitor.java262 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
299 || reasonCode == REASON_DHCP_FAILURE; in shouldWaitForWatchdogToTriggerFirst()
331 if (reasonCode == INVALID_REASON) { in getFailureReasonString()
380 @FailureReason int reasonCode, int rssi) { in handleBssidConnectionFailureInternal() argument
394 reasonCode, rssi); in handleBssidConnectionFailureInternal()
417 @FailureReason int reasonCode, int rssi) { in handleBssidConnectionFailure() argument
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A DLocalOnlyHotspotRequestInfo.java92 public void sendHotspotFailedMessage(int reasonCode) throws RemoteException { in sendHotspotFailedMessage() argument
93 mCallback.onHotspotFailed(reasonCode); in sendHotspotFailedMessage()
H A 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()
/aosp12/frameworks/base/apex/jobscheduler/framework/java/android/os/
H A DPowerExemptionManager.java526 public void addToTemporaryAllowList(@NonNull String packageName, @ReasonCode int reasonCode, in addToTemporaryAllowList() argument
530 reasonCode, reason); in addToTemporaryAllowList()
551 @ReasonCode int reasonCode, @Nullable String reason, @AllowListEvent int event) { in addToTemporaryAllowListForEvent() argument
556 packageName, mContext.getUserId(), reasonCode, reason); in addToTemporaryAllowListForEvent()
559 packageName, mContext.getUserId(), reasonCode, reason); in addToTemporaryAllowListForEvent()
563 packageName, mContext.getUserId(), reasonCode, reason); in addToTemporaryAllowListForEvent()
597 public static String reasonCodeToString(@ReasonCode int reasonCode) { in reasonCodeToString() argument
598 switch (reasonCode) { in reasonCodeToString()
724 return "(unknown:" + reasonCode + ")"; in reasonCodeToString()
H A DIDeviceIdleController.aidl46 …void addPowerSaveTempWhitelistApp(String name, long duration, int userId, int reasonCode, String r… in addPowerSaveTempWhitelistApp() argument
47 long addPowerSaveTempWhitelistAppForMms(String name, int userId, int reasonCode, String reason); in addPowerSaveTempWhitelistAppForMms() argument
48 long addPowerSaveTempWhitelistAppForSms(String name, int userId, int reasonCode, String reason); in addPowerSaveTempWhitelistAppForSms() argument
49 long whitelistAppTemporarily(String name, int userId, int reasonCode, String reason); in whitelistAppTemporarily() argument
H A DPowerWhitelistManager.java461 @ReasonCode int reasonCode, @Nullable String reason) { in whitelistAppTemporarily() argument
462 mPowerExemptionManager.addToTemporaryAllowList(packageName, reasonCode, reason, durationMs); in whitelistAppTemporarily()
518 @WhitelistEvent int event, @ReasonCode int reasonCode, @Nullable String reason) { in whitelistAppTemporarilyForEvent() argument
520 packageName, reasonCode, reason, event); in whitelistAppTemporarilyForEvent()
541 public static String reasonCodeToString(@ReasonCode int reasonCode) { in reasonCodeToString() argument
542 return PowerExemptionManager.reasonCodeToString(reasonCode); in reasonCodeToString()
/aosp12/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
H A DDeviceIdleInternal.java41 long durationMs, int userId, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistApp() argument
49 @ReasonCode int reasonCode, @Nullable String reason); in addPowerSaveTempWhitelistApp() argument
63 @TempAllowListType int type, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistAppDirect() argument
106 @TempAllowListType int getTempAllowListType(@ReasonCode int reasonCode, in getTempAllowListType() argument
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/
H A 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()
/aosp12/packages/services/Telephony/src/com/android/services/telephony/rcs/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyLogger.java196 void tempPowerSaveWlChanged(int appId, boolean added, int reasonCode, String reason) { in tempPowerSaveWlChanged() argument
199 Slog.v(TAG, getTempPowerSaveWlChangedLog(appId, added, reasonCode, reason)); in tempPowerSaveWlChanged()
201 mEventsBuffer.tempPowerSaveWlChanged(appId, added, reasonCode, reason); in tempPowerSaveWlChanged()
330 int reasonCode, String reason) { in getTempPowerSaveWlChangedLog() argument
332 + "; reason=" + reasonCodeToString(reasonCode) + " <" + reason + ">"; in getTempPowerSaveWlChangedLog()
503 int reasonCode, String reason) { in tempPowerSaveWlChanged() argument
510 data.ifield2 = reasonCode; in tempPowerSaveWlChanged()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DPendingIntentRecord.java222 @ReasonCode int reasonCode; field in PendingIntentRecord.TempAllowListDuration
229 reasonCode = _reasonCode; in TempAllowListDuration()
242 @ReasonCode int reasonCode, @Nullable String reason) { in setAllowlistDurationLocked() argument
248 new TempAllowListDuration(duration, type, reasonCode, reason)); in setAllowlistDurationLocked()
411 uid, duration.duration, duration.type, duration.reasonCode, tag.toString()); in sendInner()
583 pw.print(PowerWhitelistManager.reasonCodeToString(entry.reasonCode)); in dump()
627 sb.append(PowerWhitelistManager.reasonCodeToString(entry.reasonCode)); in toString()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/
H A DDeviceIdleController.java1760 final int reasonCode = msg.arg2; in handleMessage() local
1763 reasonCode, reason); in handleMessage()
2056 userId, sync, reasonCode, reason); in addPowerSaveTempWhitelistApp()
2072 tempAllowListType, sync, reasonCode, reason); in addPowerSaveTempWhitelistAppDirect()
2805 switch (reasonCode) { in getTempAllowListType()
2869 @ReasonCode int reasonCode, @Nullable String reason) { in addPowerSaveTempAllowlistAppInternal() argument
2873 tempAllowListType, sync, reasonCode, reason); in addPowerSaveTempAllowlistAppInternal()
2884 @ReasonCode int reasonCode, @Nullable String reason) { in addPowerSaveTempWhitelistAppDirectInternal() argument
2910 reasonCode, reason, callingUid); in addPowerSaveTempWhitelistAppDirectInternal()
2918 reasonCode, reason).sendToTarget(); in addPowerSaveTempWhitelistAppDirectInternal()
[all …]
/aosp12/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
H A DJobParameters.java127 public static String getInternalReasonCodeDescription(int reasonCode) { in getInternalReasonCodeDescription() argument
128 switch (reasonCode) { in getInternalReasonCodeDescription()
140 default: return "unknown:" + reasonCode; in getInternalReasonCodeDescription()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DSupplicantStaIfaceHalTest.java1121 int reasonCode = 5; in testDisconnectedCallback() local
1123 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testDisconnectedCallback() local
1143 int reasonCode = 3; in testAuthFailurePasswordOnDisconnect() local
1145 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testAuthFailurePasswordOnDisconnect() local
1176 int reasonCode = 3; in testAuthFailureEapOnDisconnect() local
1178 NativeUtil.macAddressToByteArray(BSSID), true, reasonCode); in testAuthFailureEapOnDisconnect() local
1215 int reasonCode = 3; in testOnlyOneAuthFailureEap() local
1314 int reasonCode = 3; in testNetworkRemovedDuring4way() local
2373 int reasonCode = isEss ? WnmData.ESS : WnmData.ESS + 1; in executeAndValidateHs20DeauthImminentCallback() local
2376 bssid, reasonCode, reauthDelay, HS20_URL); in executeAndValidateHs20DeauthImminentCallback()
[all …]
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DMetricsHelper.java84 private static int reasonToStatsReason(int reasonCode) { in reasonToStatsReason() argument
85 switch (reasonCode) { in reasonToStatsReason()
/aosp12/frameworks/base/core/java/android/app/
H A DBroadcastOptions.java169 @ReasonCode int reasonCode, @Nullable String reason) { in setTemporaryAppAllowlist() argument
172 mTemporaryAppAllowlistReasonCode = reasonCode; in setTemporaryAppAllowlist()
H A DActivityManagerInternal.java134 @ReasonCode int reasonCode, @Nullable String reason); in setPendingIntentAllowlistDuration() argument
173 @ReasonCode int reasonCode, in updateDeviceIdleTempAllowlist() argument
376 long duration, int type, @ReasonCode int reasonCode, String reason); in tempAllowlistForPendingIntent() argument
/aosp12/frameworks/base/telephony/java/android/telephony/ims/aidl/
H A DSipDelegateAidlWrapper.java179 public void onDestroyed(int reasonCode) { in onDestroyed() argument
182 mStateBinder.onDestroyed(reasonCode); in onDestroyed()

123