Home
last modified time | relevance | path

Searched refs:cancelReason (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPendingIntentControllerTest.java144 assertCancelReason(CANCEL_REASON_NULL, pir.cancelReason); in testCancellationReason()
150 assertCancelReason(CANCEL_REASON_OWNER_CANCELED, pir.cancelReason); in testCancellationReason()
156 assertCancelReason(CANCEL_REASON_SUPERSEDED, pir.cancelReason); in testCancellationReason()
162 assertCancelReason(CANCEL_REASON_ONE_SHOT_SENT, pir.cancelReason); in testCancellationReason()
170 assertCancelReason(CANCEL_REASON_OWNER_FORCE_STOPPED, pir.cancelReason); in testCancellationReason()
178 assertCancelReason(CANCEL_REASON_USER_STOPPED, pir.cancelReason); in testCancellationReason()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java212 boolean doIt, @CancellationReason int cancelReason) { in removePendingIntentsForPackage() argument
262 makeIntentSenderCanceled(pir, cancelReason); in removePendingIntentsForPackage()
300 @CancellationReason int cancelReason) { in cancelIntentSender() argument
302 makeIntentSenderCanceled(rec, cancelReason); in cancelIntentSender()
367 @CancellationReason int cancelReason) { in makeIntentSenderCanceled() argument
369 rec.cancelReason = cancelReason; in makeIntentSenderCanceled()
DPendingIntentRecord.java114 @CancellationReason int cancelReason = CANCEL_REASON_NULL; field in PendingIntentRecord
468 if (cancelReason == CANCEL_REASON_OWNER_FORCE_STOPPED in sendInner()
747 static String cancelReasonToString(@CancellationReason int cancelReason) { in cancelReasonToString() argument
748 return switch (cancelReason) { in cancelReasonToString()
782 pw.print(" cancelReason="); pw.println(cancelReasonToString(cancelReason)); in dump()
DCachedAppOptimizer.java1698 void cancelCompactionForProcess(ProcessRecord app, CancelCompactReason cancelReason) { in cancelCompactionForProcess() argument
1710 if (mTotalCompactionsCancelled.containsKey(cancelReason)) { in cancelCompactionForProcess()
1711 int count = mTotalCompactionsCancelled.get(cancelReason); in cancelCompactionForProcess()
1712 mTotalCompactionsCancelled.put(cancelReason, count + 1); in cancelCompactionForProcess()
1714 mTotalCompactionsCancelled.put(cancelReason, 1); in cancelCompactionForProcess()
1720 " reason: " + cancelReason.name()); in cancelCompactionForProcess()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionAssociationActivity.java380 final String cancelReason; in cancel() local
383 cancelReason = REASON_USER_REJECTED; in cancel()
386 cancelReason = REASON_DISCOVERY_TIMEOUT; in cancel()
389 cancelReason = REASON_INTERNAL_ERROR; in cancel()
392 cancelReason = REASON_CANCELED; in cancel()
398 Slog.i(TAG, "Sending onFailure to app due to reason=" + cancelReason); in cancel()
399 mAppCallback.onFailure(cancelReason); in cancel()
/frameworks/base/core/java/android/view/
DViewRootImpl.java3382 String cancelReason = null; in performTraversals() local
3670 cancelReason = "relayout"; in performTraversals()
4013 cancelReason = "wm_sync"; in performTraversals()
4287 : "cancel_" + cancelReason; in performTraversals()