Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java85 final HashMap<PendingIntentRecord.Key, WeakReference<PendingIntentRecord>> mIntentSenderRecords
112 public PendingIntentRecord getIntentSender(int type, String packageName, in getIntentSender()
133 PendingIntentRecord.Key key = new PendingIntentRecord.Key(type, packageName, featureId, in getIntentSender()
136 WeakReference<PendingIntentRecord> ref; in getIntentSender()
138 PendingIntentRecord rec = ref != null ? ref.get() : null; in getIntentSender()
164 rec = new PendingIntentRecord(this, key, callingUid); in getIntentSender()
184 Iterator<WeakReference<PendingIntentRecord>> it in removePendingIntentsForPackage()
187 WeakReference<PendingIntentRecord> wpir = it.next(); in removePendingIntentsForPackage()
192 PendingIntentRecord pir = wpir.get(); in removePendingIntentsForPackage()
237 if (!(sender instanceof PendingIntentRecord)) { in cancelIntentSender()
[all …]
DPendingIntentRecord.java51 public final class PendingIntentRecord extends IIntentSender.Stub { class
61 public final WeakReference<PendingIntentRecord> ref;
211 PendingIntentRecord(PendingIntentController _controller, Key _k, int _u) { in PendingIntentRecord() method in PendingIntentRecord
491 PendingIntentRecord::completeFinalize, this)); in finalize()
500 WeakReference<PendingIntentRecord> current = controller.mIntentSenderRecords.get(key); in completeFinalize()
DActivityManagerService.java5732 if (target instanceof PendingIntentRecord) { in sendIntentSender()
5733 return ((PendingIntentRecord)target).sendWithResult(code, intent, resolvedType, in sendIntentSender()
5772 if (!(pendingResult instanceof PendingIntentRecord)) { in getPackageForIntentSender()
5776 PendingIntentRecord res = (PendingIntentRecord)pendingResult; in getPackageForIntentSender()
5796 if (sender instanceof PendingIntentRecord) { in getUidForIntentSender()
5798 PendingIntentRecord res = (PendingIntentRecord)sender; in getUidForIntentSender()
5808 if (!(pendingResult instanceof PendingIntentRecord)) { in isIntentSenderTargetedToPackage()
5812 PendingIntentRecord res = (PendingIntentRecord)pendingResult; in isIntentSenderTargetedToPackage()
5830 if (!(pendingResult instanceof PendingIntentRecord)) { in isIntentSenderAnActivity()
5834 PendingIntentRecord res = (PendingIntentRecord)pendingResult; in isIntentSenderAnActivity()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPendingIntentControllerTest.java92 private PendingIntentRecord createPendingIntentRecord(int flags) { in createPendingIntentRecord()
100 final PendingIntentRecord pir = createPendingIntentRecord(0); in alarmsRemovedOnCancel()
110 final PendingIntentRecord pir = createPendingIntentRecord(0); in alarmsRemovedOnRecreateWithCancelCurrent()
120 final PendingIntentRecord pir = createPendingIntentRecord(PendingIntent.FLAG_ONE_SHOT); in alarmsRemovedOnSendingOneShot()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java39 import com.android.server.am.PendingIntentRecord;
203 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivitiesInPackage()
210 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivityInPackage()
377 IBinder activityToken, WeakReference<PendingIntentRecord> pir); in clearPendingResultForActivity()
DActivityStartController.java54 import com.android.server.am.PendingIntentRecord;
287 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivityInPackage()
328 PendingIntentRecord originatingPendingIntent, boolean allowBackgroundActivityStart) { in startActivitiesInPackage()
350 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivitiesInPackage()
367 int userId, String reason, PendingIntentRecord originatingPendingIntent, in startActivities()
DActivityStarter.java119 import com.android.server.am.PendingIntentRecord;
344 PendingIntentRecord originatingPendingIntent;
1236 WindowProcessController callerApp, PendingIntentRecord originatingPendingIntent, in shouldAbortBackgroundActivityStart()
2826 ActivityStarter setOriginatingPendingIntent(PendingIntentRecord originatingPendingIntent) { in setOriginatingPendingIntent()
DActivityTaskManagerService.java267 import com.android.server.am.PendingIntentRecord;
1114 if (!(target instanceof PendingIntentRecord)) { in startActivityIntentSender()
1118 PendingIntentRecord pir = (PendingIntentRecord)target; in startActivityIntentSender()
5746 final PendingIntentRecord rec = mPendingIntentController.getIntentSender(type, packageName, in getIntentSenderLocked()
6174 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivitiesInPackage()
6188 boolean validateIncomingUser, PendingIntentRecord originatingPendingIntent, in startActivityInPackage()
6624 WeakReference<PendingIntentRecord> pir) { in clearPendingResultForActivity()
DActivityRecord.java306 import com.android.server.am.PendingIntentRecord;
461 HashSet<WeakReference<PendingIntentRecord>> pendingResults; // all pending intents for this act
854 for (WeakReference<PendingIntentRecord> wpir : pendingResults) { in dump()
855 PendingIntentRecord pir = wpir != null ? wpir.get() : null; in dump()
3025 for (WeakReference<PendingIntentRecord> apr : pendingResults) { in cleanUp()
3026 PendingIntentRecord rec = apr.get(); in cleanUp()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java99 import static com.android.server.am.PendingIntentRecord.FLAG_ACTIVITY_SENDER;
100 import static com.android.server.am.PendingIntentRecord.FLAG_BROADCAST_SENDER;
101 import static com.android.server.am.PendingIntentRecord.FLAG_SERVICE_SENDER;
/frameworks/base/services/
Dart-profile5650 HSPLcom/android/server/am/-$$Lambda$PendingIntentRecord$hlEHdgdG_SS5n3v7IRr7e6QZgLQ;-><clinit>()V
5651 HSPLcom/android/server/am/-$$Lambda$PendingIntentRecord$hlEHdgdG_SS5n3v7IRr7e6QZgLQ;-><init>()V
5652 HSPLcom/android/server/am/-$$Lambda$PendingIntentRecord$hlEHdgdG_SS5n3v7IRr7e6QZgLQ;->accept(Ljava/…
6301 …anagerService;->getTagForIntentSenderLocked(Lcom/android/server/am/PendingIntentRecord;Ljava/lang/…
7289 …rver/am/PendingIntentController;->cancelIntentSender(Lcom/android/server/am/PendingIntentRecord;Z)V
7292 …/content/Intent;[Ljava/lang/String;ILandroid/os/Bundle;)Lcom/android/server/am/PendingIntentRecord;
7296 …am/PendingIntentController;->makeIntentSenderCanceled(Lcom/android/server/am/PendingIntentRecord;)V
7302 HSPLcom/android/server/am/PendingIntentRecord$Key;-><init>(ILjava/lang/String;Ljava/lang/String;Lan…
7303 HSPLcom/android/server/am/PendingIntentRecord$Key;->equals(Ljava/lang/Object;)Z
7304 HSPLcom/android/server/am/PendingIntentRecord$Key;->hashCode()I
[all …]