/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingIntentController.java | 25 import static com.android.server.am.PendingIntentRecord.CANCEL_REASON_OWNER_CANCELED; 26 import static com.android.server.am.PendingIntentRecord.CANCEL_REASON_SUPERSEDED; 59 import com.android.server.am.PendingIntentRecord.CancellationReason; 93 final HashMap<PendingIntentRecord.Key, WeakReference<PendingIntentRecord>> mIntentSenderRecords 120 public PendingIntentRecord getIntentSender(int type, String packageName, in getIntentSender() 173 PendingIntentRecord.Key key = new PendingIntentRecord.Key(type, packageName, featureId, in getIntentSender() 176 WeakReference<PendingIntentRecord> ref; in getIntentSender() 178 PendingIntentRecord rec = ref != null ? ref.get() : null; in getIntentSender() 204 rec = new PendingIntentRecord(this, key, callingUid); in getIntentSender() 224 Iterator<WeakReference<PendingIntentRecord>> it in removePendingIntentsForPackage() [all …]
|
D | PendingIntentRecord.java | 74 public final class PendingIntentRecord extends IIntentSender.Stub { class 111 public final WeakReference<PendingIntentRecord> ref; 282 PendingIntentRecord(PendingIntentController _controller, Key _k, int _u) { in PendingIntentRecord() method in PendingIntentRecord 729 PendingIntentRecord::completeFinalize, this)); in finalize() 738 WeakReference<PendingIntentRecord> current = controller.mIntentSenderRecords.get(key); in completeFinalize()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | PendingIntentControllerTest.java | 24 import static com.android.server.am.PendingIntentRecord.CANCEL_REASON_NULL; 25 import static com.android.server.am.PendingIntentRecord.CANCEL_REASON_ONE_SHOT_SENT; 26 import static com.android.server.am.PendingIntentRecord.CANCEL_REASON_OWNER_CANCELED; 27 import static com.android.server.am.PendingIntentRecord.CANCEL_REASON_OWNER_FORCE_STOPPED; 28 import static com.android.server.am.PendingIntentRecord.CANCEL_REASON_SUPERSEDED; 29 import static com.android.server.am.PendingIntentRecord.CANCEL_REASON_USER_STOPPED; 30 import static com.android.server.am.PendingIntentRecord.cancelReasonToString; 104 private PendingIntentRecord createPendingIntentRecord(int flags) { in createPendingIntentRecord() 112 final PendingIntentRecord pir = createPendingIntentRecord(0); in alarmsRemovedOnCancel() 122 final PendingIntentRecord pir = createPendingIntentRecord(0); in alarmsRemovedOnRecreateWithCancelCurrent() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackgroundActivityStartControllerExemptionTests.java | 51 import com.android.server.am.PendingIntentRecord; 127 PendingIntentRecord mPendingIntentRecord; // just so we can pass a non-null instance 217 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testNoExemption() 257 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testCaller_appHasVisibleWindow() 289 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testRealCaller_appHasVisibleWindow() 329 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testCaller_appAllowedByBLPC() 365 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testRealCaller_appAllowedByBLPC() 414 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testRealCaller_appAllowedByBLPCforOtherProcess() 450 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testRealCaller_isCompanionApp() 482 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testCaller_balPermission() [all …]
|
D | BackgroundActivityStartControllerTests.java | 44 import com.android.server.am.PendingIntentRecord; 120 PendingIntentRecord mPendingIntentRecord; // just so we can pass a non-null instance 240 PendingIntentRecord originatingPendingIntent = null; in testRegularActivityStart_noExemption_isBlocked() 275 PendingIntentRecord originatingPendingIntent = null; in testRegularActivityStart_notAllowed_isBlocked() 310 PendingIntentRecord originatingPendingIntent = null; in testRegularActivityStart_allowedByCaller_isAllowed() 345 PendingIntentRecord originatingPendingIntent = null; in testRegularActivityStart_allowedByRealCaller_isAllowed() 379 PendingIntentRecord originatingPendingIntent = null; in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict() 417 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked() 456 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testPendingIntent_allowedByCallerAndOptIn_isAllowed() 493 PendingIntentRecord originatingPendingIntent = mPendingIntentRecord; in testPendingIntent_allowedByRealCallerAndOptIn_isAllowed() [all …]
|
D | BackgroundActivityStartControllerLogTests.java | 32 import com.android.server.am.PendingIntentRecord; 69 PendingIntentRecord mPendingIntentRecord;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 47 import com.android.server.am.PendingIntentRecord; 225 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivitiesInPackage() 249 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivityInPackage() 448 IBinder activityToken, WeakReference<PendingIntentRecord> pir); in clearPendingResultForActivity()
|
D | ActivityStartController.java | 58 import com.android.server.am.PendingIntentRecord; 291 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivityInPackage() 335 PendingIntentRecord originatingPendingIntent, in startActivitiesInPackage() 361 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivitiesInPackage() 378 int userId, String reason, PendingIntentRecord originatingPendingIntent, in startActivities()
|
D | BackgroundActivityStartController.java | 84 import com.android.server.am.PendingIntentRecord; 260 private final PendingIntentRecord mOriginatingPendingIntent; 275 PendingIntentRecord originatingPendingIntent, in BalState() 348 PendingIntentRecord.getBackgroundStartPrivilegesAllowedByCaller( in BalState() 455 return PendingIntentRecord.isPendingIntentBalAllowedByPermission(mCheckedOptions); in isPendingIntentBalAllowedByPermission() 676 PendingIntentRecord originatingPendingIntent, in checkBackgroundActivityStart()
|
D | ActivityTaskManagerService.java | 281 import com.android.server.am.PendingIntentRecord; 1329 if (!(target instanceof PendingIntentRecord)) { in startActivityIntentSender() 1333 PendingIntentRecord pir = (PendingIntentRecord) target; in startActivityIntentSender() 5345 final PendingIntentRecord rec = mPendingIntentController.getIntentSender(type, packageName, in getIntentSenderLocked() 6020 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivitiesInPackage() 6034 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivityInPackage() 6432 WeakReference<PendingIntentRecord> pir) { in clearPendingResultForActivity()
|
D | ActivityStarter.java | 131 import com.android.server.am.PendingIntentRecord; 416 PendingIntentRecord originatingPendingIntent; 3325 ActivityStarter setOriginatingPendingIntent(PendingIntentRecord originatingPendingIntent) { in setOriginatingPendingIntent()
|
D | ActivityRecord.java | 392 import com.android.server.am.PendingIntentRecord; 538 HashSet<WeakReference<PendingIntentRecord>> pendingResults; // all pending intents for this act 1188 for (WeakReference<PendingIntentRecord> wpir : pendingResults) { in dump() 1189 PendingIntentRecord pir = wpir != null ? wpir.get() : null; in dump() 4277 for (WeakReference<PendingIntentRecord> apr : pendingResults) { in cleanUp() 4278 PendingIntentRecord rec = apr.get(); in cleanUp() 4282 PendingIntentRecord.CANCEL_REASON_HOSTING_ACTIVITY_DESTROYED); in cleanUp()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 152 import static com.android.server.am.PendingIntentRecord.FLAG_ACTIVITY_SENDER; 153 import static com.android.server.am.PendingIntentRecord.FLAG_BROADCAST_SENDER; 154 import static com.android.server.am.PendingIntentRecord.FLAG_SERVICE_SENDER;
|
/frameworks/base/services/ |
D | art-profile | 445 …anagerService;->getTagForIntentSenderLocked(Lcom/android/server/am/PendingIntentRecord;Ljava/lang/… 479 …ocalIntentReceiver$1;]Lcom/android/server/am/PendingIntentRecord;Lcom/android/server/am/PendingInt… 895 …ngIntentController;->decrementUidStatLocked(Lcom/android/server/am/PendingIntentRecord;)V+]Landroi… 896 …ent;[Ljava/lang/String;ILandroid/os/Bundle;)Lcom/android/server/am/PendingIntentRecord;+]Landroid/… 897 …ngIntentController;->incrementUidStatLocked(Lcom/android/server/am/PendingIntentRecord;)V+]Landroi… 898 HSPLcom/android/server/am/PendingIntentRecord$Key;-><init>(ILjava/lang/String;Ljava/lang/String;Lan… 899 HSPLcom/android/server/am/PendingIntentRecord$Key;->equals(Ljava/lang/Object;)Z+]Landroid/content/I… 900 …ndroid/server/am/PendingIntentRecord;-><init>(Lcom/android/server/am/PendingIntentController;Lcom/… 901 HSPLcom/android/server/am/PendingIntentRecord;->completeFinalize()V+]Lcom/android/server/am/Pending… 902 HPLcom/android/server/am/PendingIntentRecord;->getBackgroundStartPrivilegesForActivitySender(Landro… [all …]
|
D | art-wear-profile | 305 Lcom/android/server/am/PendingIntentRecord; 4675 …anagerService;->getTagForIntentSenderLocked(Lcom/android/server/am/PendingIntentRecord;Ljava/lang/… 6472 …rver/am/PendingIntentController;->cancelIntentSender(Lcom/android/server/am/PendingIntentRecord;Z)V 6473 …r/am/PendingIntentController;->decrementUidStatLocked(Lcom/android/server/am/PendingIntentRecord;)V 6474 …/content/Intent;[Ljava/lang/String;ILandroid/os/Bundle;)Lcom/android/server/am/PendingIntentRecord; 6475 …r/am/PendingIntentController;->incrementUidStatLocked(Lcom/android/server/am/PendingIntentRecord;)V 6476 …am/PendingIntentController;->makeIntentSenderCanceled(Lcom/android/server/am/PendingIntentRecord;)V 6480 PLcom/android/server/am/PendingIntentRecord$$ExternalSyntheticLambda0;-><init>()V 6481 PLcom/android/server/am/PendingIntentRecord$$ExternalSyntheticLambda0;->accept(Ljava/lang/Object;)V 6482 HPLcom/android/server/am/PendingIntentRecord$Key;-><init>(ILjava/lang/String;Ljava/lang/String;Land… [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 112 import static com.android.server.am.PendingIntentRecord.FLAG_ACTIVITY_SENDER; 113 import static com.android.server.am.PendingIntentRecord.FLAG_BROADCAST_SENDER; 114 import static com.android.server.am.PendingIntentRecord.FLAG_SERVICE_SENDER;
|