Home
last modified time | relevance | path

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

12

/frameworks/base/apex/jobscheduler/framework/java/android/os/
DPowerExemptionManager.java627 public void addToTemporaryAllowList(@NonNull String packageName, @ReasonCode int reasonCode, in addToTemporaryAllowList() argument
631 reasonCode, reason); in addToTemporaryAllowList()
652 @ReasonCode int reasonCode, @Nullable String reason, @AllowListEvent int event) { in addToTemporaryAllowListForEvent() argument
657 packageName, mContext.getUserId(), reasonCode, reason); in addToTemporaryAllowListForEvent()
660 packageName, mContext.getUserId(), reasonCode, reason); in addToTemporaryAllowListForEvent()
664 packageName, mContext.getUserId(), reasonCode, reason); in addToTemporaryAllowListForEvent()
696 public static int getExemptionReasonForStatsd(@ReasonCode int reasonCode) { in getExemptionReasonForStatsd() argument
697 switch (reasonCode) { in getExemptionReasonForStatsd()
745 public static String reasonCodeToString(@ReasonCode int reasonCode) { in reasonCodeToString() argument
746 switch (reasonCode) { in reasonCodeToString()
[all …]
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
DPowerWhitelistManager.java466 @ReasonCode int reasonCode, @Nullable String reason) { in whitelistAppTemporarily() argument
467 mPowerExemptionManager.addToTemporaryAllowList(packageName, reasonCode, reason, durationMs); in whitelistAppTemporarily()
523 @WhitelistEvent int event, @ReasonCode int reasonCode, @Nullable String reason) { in whitelistAppTemporarilyForEvent() argument
525 packageName, reasonCode, reason, event); in whitelistAppTemporarilyForEvent()
546 public static String reasonCodeToString(@ReasonCode int reasonCode) { in reasonCodeToString() argument
547 return PowerExemptionManager.reasonCodeToString(reasonCode); in reasonCodeToString()
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
DDeviceIdleInternal.java42 long durationMs, int userId, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistApp() argument
50 @ReasonCode int reasonCode, @Nullable String reason); in addPowerSaveTempWhitelistApp() argument
64 @TempAllowListType int type, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistAppDirect() argument
110 @TempAllowListType int getTempAllowListType(@ReasonCode int reasonCode, in getTempAllowListType() argument
/frameworks/base/telephony/java/android/telephony/ims/stub/
DCapabilityExchangeEventListener.java116 default void onPublishUpdated(int reasonCode, @NonNull String reasonPhrase, in onPublishUpdated() argument
119 .setSipResponseCode(reasonCode, reasonPhrase) in onPublishUpdated()
/frameworks/base/core/java/android/app/admin/
DPolicyUpdateReceiver.java202 int reasonCode = intent.getIntExtra( in getPolicyChangedReason() local
204 return new PolicyUpdateResult(reasonCode); in getPolicyChangedReason()
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DCapabilityExchangeAidlWrapper.java92 public void onPublishUpdated(int reasonCode, @NonNull String reasonPhrase, in onPublishUpdated() argument
100 .setSipResponseCode(reasonCode, reasonPhrase) in onPublishUpdated()
DSipDelegateAidlWrapper.java193 public void onDestroyed(int reasonCode) { in onDestroyed() argument
196 mStateBinder.onDestroyed(reasonCode); in onDestroyed()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/
DInstallActionListener.kt25 fun onPositiveResponse(reasonCode: Int)
DInstallLaunch.kt260 override fun onPositiveResponse(reasonCode: Int) { in <lambda>()
262 Log.d(LOG_TAG, "Positive button clicked. ReasonCode: $reasonCode") in <lambda>()
264 when (reasonCode) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java211 void tempPowerSaveWlChanged(int appId, boolean added, int reasonCode, String reason) { in tempPowerSaveWlChanged() argument
214 Slog.v(TAG, getTempPowerSaveWlChangedLog(appId, added, reasonCode, reason)); in tempPowerSaveWlChanged()
216 mEventsBuffer.tempPowerSaveWlChanged(appId, added, reasonCode, reason); in tempPowerSaveWlChanged()
358 int reasonCode, String reason) { in getTempPowerSaveWlChangedLog() argument
360 + "; reason=" + reasonCodeToString(reasonCode) + " <" + reason + ">"; in getTempPowerSaveWlChangedLog()
560 int reasonCode, String reason) { in tempPowerSaveWlChanged() argument
567 data.ifield2 = reasonCode; in tempPowerSaveWlChanged()
DNetworkPolicyManagerInternal.java52 @ReasonCode int reasonCode, @Nullable String reason); in onTempPowerSaveWhitelistChange() argument
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobParameters.java147 public static String getInternalReasonCodeDescription(int reasonCode) { in getInternalReasonCodeDescription() argument
148 switch (reasonCode) { in getInternalReasonCodeDescription()
162 default: return "unknown:" + reasonCode; in getInternalReasonCodeDescription()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java1255 void killLocked(String reason, @Reason int reasonCode, boolean noisy) { in killLocked() argument
1256 killLocked(reason, reasonCode, ApplicationExitInfo.SUBREASON_UNKNOWN, noisy, true); in killLocked()
1260 void killLocked(String reason, @Reason int reasonCode, @SubReason int subReason, in killLocked() argument
1262 killLocked(reason, reason, reasonCode, subReason, noisy, true); in killLocked()
1266 void killLocked(String reason, String description, @Reason int reasonCode, in killLocked() argument
1268 killLocked(reason, description, reasonCode, subReason, noisy, true); in killLocked()
1272 void killLocked(String reason, @Reason int reasonCode, @SubReason int subReason, in killLocked() argument
1274 killLocked(reason, reason, reasonCode, subReason, noisy, asyncKPG); in killLocked()
1278 void killLocked(String reason, String description, @Reason int reasonCode, in killLocked() argument
1282 if (reasonCode == ApplicationExitInfo.REASON_ANR in killLocked()
[all …]
DPendingIntentRecord.java270 @ReasonCode int reasonCode; field in PendingIntentRecord.TempAllowListDuration
277 reasonCode = _reasonCode; in TempAllowListDuration()
290 @ReasonCode int reasonCode, @Nullable String reason) { in setAllowlistDurationLocked() argument
296 new TempAllowListDuration(duration, type, reasonCode, reason)); in setAllowlistDurationLocked()
588 uid, duration.duration, duration.type, duration.reasonCode, tag.toString()); in sendInner()
798 pw.print(PowerWhitelistManager.reasonCodeToString(entry.reasonCode)); in dump()
842 sb.append(PowerWhitelistManager.reasonCodeToString(entry.reasonCode)); in toString()
DAppErrors.java454 int reasonCode = ApplicationExitInfo.REASON_ANR; in killAppAtUserRequestLocked() local
458 reasonCode = ApplicationExitInfo.REASON_OTHER; in killAppAtUserRequestLocked()
462 killAppImmediateLSP(app, reasonCode, subReason, in killAppAtUserRequestLocked()
468 private void killAppImmediateLSP(ProcessRecord app, int reasonCode, int subReason, in killAppImmediateLSP() argument
481 app.killLocked(killReason, reasonCode, subReason, true); in killAppImmediateLSP()
DPhantomProcessList.java497 @Reason int reasonCode, @SubReason int subReason, String msg) { in killPhantomProcessGroupLocked() argument
514 app.killLocked("Caused by child process: " + msg, reasonCode, subReason, true); in killPhantomProcessGroupLocked()
DPendingIntentController.java344 long duration, int type, @PowerWhitelistManager.ReasonCode int reasonCode, in setPendingIntentAllowlistDuration() argument
352 type, reasonCode, reason); in setPendingIntentAllowlistDuration()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DMetricsHelper.java87 private static int reasonToStatsReason(int reasonCode) { in reasonToStatsReason() argument
88 switch (reasonCode) { in reasonToStatsReason()
/frameworks/base/telephony/java/android/telephony/ims/
DDelegateStateCallback.java66 void onDestroyed(@SipDelegateManager.SipDelegateDestroyReason int reasonCode); in onDestroyed() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DImsStatsTest.java367 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in conclude_notRegistered()
473 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in conclude_serviceStateChanged_afterRatUnknown()
527 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in conclude_serviceStateChanged_afterRatLte()
781 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in onImsRegistering_afterImsUnregistered()
812 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in onImsUnregistered_setupFailure()
845 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in onImsUnregistered_setupFailureWithProgress()
885 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in onImsUnregistered_afterRegistered()
906 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in onImsUnregistered_nullMessage()
932 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in onImsUnregistered_longMessage()
1112 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in onImsUnregistered_multiSim()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2071 final int reasonCode = msg.arg2; in handleMessage() local
2074 reasonCode, reason); in handleMessage()
2257 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in whitelistAppTemporarily() argument
2260 addPowerSaveTempAllowlistAppChecked(packageName, durationMs, userId, reasonCode, in whitelistAppTemporarily()
2267 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in addPowerSaveTempWhitelistApp() argument
2268 addPowerSaveTempAllowlistAppChecked(packageName, duration, userId, reasonCode, reason); in addPowerSaveTempWhitelistApp()
2272 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in addPowerSaveTempWhitelistAppForMms() argument
2274 addPowerSaveTempAllowlistAppChecked(packageName, durationMs, userId, reasonCode, in addPowerSaveTempWhitelistAppForMms()
2280 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in addPowerSaveTempWhitelistAppForSms() argument
2282 addPowerSaveTempAllowlistAppChecked(packageName, durationMs, userId, reasonCode, in addPowerSaveTempWhitelistAppForSms()
[all …]
/frameworks/base/telephony/java/android/service/euicc/
DEuiccService.java369 @Nullable String reasonCode) { in encodeSmdxSubjectAndReasonCode() argument
374 if (TextUtils.isEmpty(subjectCode) || TextUtils.isEmpty(reasonCode)) { in encodeSmdxSubjectAndReasonCode()
379 final String[] reasonCodeToken = reasonCode.split("\\."); in encodeSmdxSubjectAndReasonCode()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java174 @ReasonCode int reasonCode, @Nullable String reason); in setPendingIntentAllowlistDuration() argument
213 @ReasonCode int reasonCode, in updateDeviceIdleTempAllowlist() argument
616 long duration, int type, @ReasonCode int reasonCode, String reason); in tempAllowlistForPendingIntent() argument
DBroadcastOptions.java406 @ReasonCode int reasonCode, @Nullable String reason) { in setTemporaryAppAllowlist() argument
409 mTemporaryAppAllowlistReasonCode = reasonCode; in setTemporaryAppAllowlist()

12