Home
last modified time | relevance | path

Searched refs:pir (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPendingIntentControllerTest.java96 final PendingIntentRecord pir = createPendingIntentRecord(0); in alarmsRemovedOnCancel() local
97 mPendingIntentController.cancelIntentSender(pir); in alarmsRemovedOnCancel()
100 assertEquals("Wrong target for pending intent passed to alarm manager", pir, in alarmsRemovedOnCancel()
106 final PendingIntentRecord pir = createPendingIntentRecord(0); in alarmsRemovedOnRecreateWithCancelCurrent() local
110 assertEquals("Wrong target for pending intent passed to alarm manager", pir, in alarmsRemovedOnRecreateWithCancelCurrent()
116 final PendingIntentRecord pir = createPendingIntentRecord(PendingIntent.FLAG_ONE_SHOT); in alarmsRemovedOnSendingOneShot() local
117 pir.send(0, null, null, null, null, null, null); in alarmsRemovedOnSendingOneShot()
120 assertEquals("Wrong target for pending intent passed to alarm manager", pir, in alarmsRemovedOnSendingOneShot()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java169 PendingIntentRecord pir = wpir.get(); in removePendingIntentsForPackage() local
170 if (pir == null) { in removePendingIntentsForPackage()
176 if (pir.key.userId != userId) { in removePendingIntentsForPackage()
181 if (UserHandle.getAppId(pir.uid) != appId) { in removePendingIntentsForPackage()
185 if (userId != UserHandle.USER_ALL && pir.key.userId != userId) { in removePendingIntentsForPackage()
189 if (!pir.key.packageName.equals(packageName)) { in removePendingIntentsForPackage()
199 makeIntentSenderCanceled(pir); in removePendingIntentsForPackage()
200 if (pir.key.activity != null) { in removePendingIntentsForPackage()
203 pir.key.activity, pir.ref); in removePendingIntentsForPackage()
317 WeakReference<PendingIntentRecord> pir) { in clearPendingResultForActivity() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java394 IBinder activityToken, WeakReference<PendingIntentRecord> pir); in clearPendingResultForActivity() argument
DActivityRecord.java522 PendingIntentRecord pir = wpir != null ? wpir.get() : null; in dump() local
524 if (pir == null) { in dump()
527 pw.println(pir); in dump()
528 pir.dump(pw, prefix + " "); in dump()
DActivityTaskManagerService.java1079 PendingIntentRecord pir = (PendingIntentRecord)target; in startActivityIntentSender() local
1090 return pir.sendInner(0, fillInIntent, resolvedType, whitelistToken, null, null, in startActivityIntentSender()
6664 WeakReference<PendingIntentRecord> pir) { in clearPendingResultForActivity() argument
6668 r.pendingResults.remove(pir); in clearPendingResultForActivity()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1121 PreferredIntentResolver pir = mPreferredActivities.get(userId); in editPreferredActivitiesLPw() local
1122 if (pir == null) { in editPreferredActivitiesLPw()
1123 pir = new PreferredIntentResolver(); in editPreferredActivitiesLPw()
1124 mPreferredActivities.put(userId, pir); in editPreferredActivitiesLPw()
1126 return pir; in editPreferredActivitiesLPw()
1805 PreferredIntentResolver pir = mPreferredActivities.get(userId); in writePreferredActivitiesLPr() local
1806 if (pir != null) { in writePreferredActivitiesLPr()
1807 for (final PreferredActivity pa : pir.filterSet()) { in writePreferredActivitiesLPr()
DPackageManagerService.java6863 PreferredIntentResolver pir = mSettings.mPreferredActivities.get(userId);
6866 List<PreferredActivity> prefs = pir != null
6867 ? pir.queryIntent(intent, resolvedType,
6943 pir.removeFilter(pa);
6958 pir.removeFilter(pa);
6990 pir.removeFilter(pa);
6991 pir.addFilter(freshPa);
7007 pir.removeFilter(pa);
7011 pir.addFilter(lastChosen);
19635 final PreferredIntentResolver pir = mSettings.editPreferredActivitiesLPw(userId);
[all …]