Home
last modified time | relevance | path

Searched refs:BroadcastFilter (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBaseBroadcastQueueTest.java251 static BroadcastFilter withPriority(BroadcastFilter filter, int priority) { in withPriority()
275 BroadcastFilter makeRegisteredReceiver(ProcessRecord app) { in makeRegisteredReceiver()
279 BroadcastFilter makeRegisteredReceiver(ProcessRecord app, int priority) { in makeRegisteredReceiver()
284 static BroadcastFilter makeRegisteredReceiver(ReceiverList receiverList, int priority) { in makeRegisteredReceiver()
287 final BroadcastFilter res = new BroadcastFilter(filter, receiverList, in makeRegisteredReceiver()
DBroadcastQueueTest.java1811 final BroadcastFilter receiverGreen = makeRegisteredReceiver(receiverGreenApp);
1812 final BroadcastFilter receiverBlue = makeRegisteredReceiver(receiverBlueApp);
1813 final BroadcastFilter receiverYellow = makeRegisteredReceiver(receiverYellowApp);
1837 final BroadcastFilter receiverGreenA = makeRegisteredReceiver(receiverGreenApp);
1838 final BroadcastFilter receiverGreenB = makeRegisteredReceiver(receiverGreenApp);
1861 final BroadcastFilter receiverGreen = makeRegisteredReceiver(receiverGreenApp);
1862 final BroadcastFilter receiverBlue = makeRegisteredReceiver(receiverBlueApp);
1927 final BroadcastFilter receiverGreen = makeRegisteredReceiver(receiverGreenApp, 10);
1928 final BroadcastFilter receiverBlue = makeRegisteredReceiver(receiverBlueApp, 5);
1929 final BroadcastFilter receiverYellow = makeRegisteredReceiver(receiverYellowApp, 0);
[all …]
DBroadcastQueueModernImplTest.java189 private static BroadcastFilter makeMockRegisteredReceiver() { in makeMockRegisteredReceiver()
190 return mock(BroadcastFilter.class); in makeMockRegisteredReceiver()
1790 BroadcastFilter makeRegisteredReceiver(ProcessRecord app, int priority) { in makeRegisteredReceiver()
/frameworks/base/services/core/java/com/android/server/am/
DReceiverList.java35 final class ReceiverList extends ArrayList<BroadcastFilter>
74 final BroadcastFilter f = get(i); in containsFilter()
97 BroadcastFilter bf = get(i); in dumpDebug()
124 BroadcastFilter bf = get(i); in dump()
DBroadcastRecord.java254 return (receivers.get(index) instanceof BroadcastFilter) && !ordered in isAssumedDelivered()
261 BroadcastFilter curFilter; // the registered receiver currently running.
391 if (o instanceof BroadcastFilter) { in dump()
393 ((BroadcastFilter) o).dumpBrief(pw, p2); in dump()
788 if (receiver instanceof BroadcastFilter) { in getReceiverUid()
789 return ((BroadcastFilter) receiver).owningUid; in getReceiverUid()
796 if (receiver instanceof BroadcastFilter) { in getReceiverProcessName()
797 return ((BroadcastFilter) receiver).receiverList.app.processName; in getReceiverProcessName()
804 if (receiver instanceof BroadcastFilter) { in getReceiverPackageName()
805 return ((BroadcastFilter) receiver).receiverList.app.info.packageName; in getReceiverPackageName()
[all …]
DBroadcastFilter.java29 public final class BroadcastFilter extends IntentFilter { class
42 BroadcastFilter(IntentFilter _filter, ReceiverList _receiverList, in BroadcastFilter() method in BroadcastFilter
DBroadcastQueueModernImpl.java742 return (r.receivers.get(i) instanceof BroadcastFilter); in onApplicationCleanupLocked()
991 if (receiver instanceof BroadcastFilter) { in scheduleReceiverColdLocked()
1121 if ((receiver instanceof BroadcastFilter) in shouldSkipReceiver()
1122 && ((BroadcastFilter) receiver).receiverList.pid != app.getPid()) { in shouldSkipReceiver()
1195 if (receiver instanceof BroadcastFilter) { in dispatchReceivers()
1196 notifyScheduleRegisteredReceiver(app, r, (BroadcastFilter) receiver); in dispatchReceivers()
1198 ((BroadcastFilter) receiver).receiverList.receiver, in dispatchReceivers()
2118 @NonNull BroadcastRecord r, @NonNull BroadcastFilter receiver) { in notifyScheduleRegisteredReceiver()
2197 final int receiverType = (receiver instanceof BroadcastFilter) in logBroadcastDeliveryEventReported()
DBroadcastSkipPolicy.java75 if (target instanceof BroadcastFilter) { in shouldSkipMessage()
76 return shouldSkipMessage(r, (BroadcastFilter) target); in shouldSkipMessage()
368 @NonNull BroadcastFilter filter) { in shouldSkipMessage()
DBroadcastProcessQueue.java1612 if (receiver instanceof BroadcastFilter) { in dumpRecord()
1613 final BroadcastFilter filter = (BroadcastFilter) receiver; in dumpRecord()
DEventLogTags.logtags36 …st_discard_filter (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(BroadcastFilter|1|5)
/frameworks/base/services/core/java/com/android/server/pm/
DSaferIntentUtils.java51 import com.android.server.am.BroadcastFilter;
379 } else if (c instanceof BroadcastFilter broadcastFilter) { in filterNonExportedComponents()
/frameworks/base/services/
Dart-profile-boot432 Lcom/android/server/am/BroadcastFilter;-><init>(Landroid/content/IntentFilter;Lcom/android/server/a…
462 …/ActivityManagerService$4;->allowFilterResult(Lcom/android/server/am/BroadcastFilter;Ljava/util/Li…
636 …edReceiverLocked(Lcom/android/server/am/BroadcastRecord;Lcom/android/server/am/BroadcastFilter;ZI)V
Dart-profile90 …/Object;Ljava/lang/Object;)I+]Landroid/content/IntentFilter;Lcom/android/server/am/BroadcastFilter;
93 …tent/pm/AuxiliaryResolveInfo$AuxiliaryFilter;,Lcom/android/server/am/BroadcastFilter;]Landroid/uti…
94 …t/IntentFilter;Landroid/content/IntentFilter;,Lcom/android/server/am/BroadcastFilter;]Lcom/android…
105 …tent/pm/AuxiliaryResolveInfo$AuxiliaryFilter;,Lcom/android/server/am/BroadcastFilter;]Lcom/android…
107 …t/IntentFilter;Landroid/content/IntentFilter;,Lcom/android/server/am/BroadcastFilter;]Lcom/android…
112 …t/IntentFilter;Landroid/content/IntentFilter;,Lcom/android/server/am/BroadcastFilter;]Lcom/android…
353 …/ActivityManagerService$3;->allowFilterResult(Lcom/android/server/am/BroadcastFilter;Ljava/util/Li…
355 …am/ActivityManagerService$3;->getIntentFilter(Lcom/android/server/am/BroadcastFilter;)Landroid/con…
357 …vice$3;->isPackageForFilter(Ljava/lang/String;Lcom/android/server/am/BroadcastFilter;)Z+]Ljava/lan…
359 …roid/server/pm/Computer;Lcom/android/server/am/BroadcastFilter;IIJ)Lcom/android/server/am/Broadcas…
[all …]
Dart-wear-profile231 Lcom/android/server/am/BroadcastFilter;
4385 …/ActivityManagerService$3;->allowFilterResult(Lcom/android/server/am/BroadcastFilter;Ljava/util/Li…
4387 …am/ActivityManagerService$3;->getIntentFilter(Lcom/android/server/am/BroadcastFilter;)Landroid/con…
4389 …tyManagerService$3;->isPackageForFilter(Ljava/lang/String;Lcom/android/server/am/BroadcastFilter;)Z
4391 …om/android/server/am/ActivityManagerService$3;->newArray(I)[Lcom/android/server/am/BroadcastFilter;
4393 …roid/server/pm/Computer;Lcom/android/server/am/BroadcastFilter;IIJ)Lcom/android/server/am/Broadcas…
5730 HPLcom/android/server/am/BroadcastFilter;-><init>(Landroid/content/IntentFilter;Lcom/android/server…
5887 …r/am/ProcessRecord;Lcom/android/server/am/BroadcastRecord;Lcom/android/server/am/BroadcastFilter;)V
5965 …essage(Lcom/android/server/am/BroadcastRecord;Lcom/android/server/am/BroadcastFilter;)Ljava/lang/S…
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto123 // Used to find the BroadcastFilter object in IntentResolver