Home
last modified time | relevance | path

Searched refs:withPriority (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueTest.java934 withPriority(makeManifestReceiver(PACKAGE_GREEN, CLASS_GREEN), 10),
935 withPriority(makeManifestReceiver(PACKAGE_BLUE, CLASS_BLUE), 0))));
1114 withPriority(makeManifestReceiver(PACKAGE_GREEN, CLASS_GREEN), 10),
1115 withPriority(makeRegisteredReceiver(receiverBlueApp), 5),
1116 withPriority(makeManifestReceiver(PACKAGE_YELLOW, CLASS_YELLOW), 0))));
1150 withPriority(makeManifestReceiver(PACKAGE_GREEN, CLASS_GREEN), 10),
1151 withPriority(makeRegisteredReceiver(receiverBlueApp), 5),
1152 withPriority(makeManifestReceiver(PACKAGE_YELLOW, CLASS_YELLOW), 0))));
1748 withPriority(makeManifestReceiver(PACKAGE_GREEN, CLASS_GREEN), 100),
1749 withPriority(makeManifestReceiver(PACKAGE_GREEN, CLASS_RED), 50),
[all …]
DBaseBroadcastQueueTest.java246 static ResolveInfo withPriority(ResolveInfo info, int priority) { in withPriority() method in BaseBroadcastQueueTest
251 static BroadcastFilter withPriority(BroadcastFilter filter, int priority) { in withPriority() method in BaseBroadcastQueueTest
DBroadcastQueueModernImplTest.java464 List.of(withPriority(makeManifestReceiver(PACKAGE_GREEN, CLASS_GREEN), 10), in testRunnableAt_Ordered()
465 withPriority(makeManifestReceiver(PACKAGE_GREEN, CLASS_GREEN), 0)), true); in testRunnableAt_Ordered()
685 withPriority(makeManifestReceiver(PACKAGE_RED, PACKAGE_RED), 10), in testRunnableAt_Cached_Prioritized_NonDeferrable()
686 withPriority(makeManifestReceiver(PACKAGE_GREEN, PACKAGE_GREEN), -10)); in testRunnableAt_Cached_Prioritized_NonDeferrable()
1147 final Object greenReceiver = withPriority( in testDeliveryGroupPolicy_prioritized_diffReceivers()
1149 final Object redReceiver = withPriority( in testDeliveryGroupPolicy_prioritized_diffReceivers()
1151 final Object blueReceiver = withPriority( in testDeliveryGroupPolicy_prioritized_diffReceivers()