Home
last modified time | relevance | path

Searched refs:PendingIntentRecord (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java25 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 …]
DPendingIntentRecord.java74 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/
DPendingIntentControllerTest.java24 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/
DBackgroundActivityStartControllerExemptionTests.java51 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 …]
DBackgroundActivityStartControllerTests.java44 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 …]
DBackgroundActivityStartControllerLogTests.java32 import com.android.server.am.PendingIntentRecord;
69 PendingIntentRecord mPendingIntentRecord;
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java47 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()
DActivityStartController.java58 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()
DBackgroundActivityStartController.java84 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()
DActivityTaskManagerService.java281 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()
DActivityStarter.java131 import com.android.server.am.PendingIntentRecord;
416 PendingIntentRecord originatingPendingIntent;
3325 ActivityStarter setOriginatingPendingIntent(PendingIntentRecord originatingPendingIntent) { in setOriginatingPendingIntent()
DActivityRecord.java392 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/
DNotificationManagerService.java152 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/
Dart-profile445 …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 …]
Dart-wear-profile305 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/
DNotificationManagerServiceTest.java112 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;