Home
last modified time | relevance | path

Searched refs:receiverPermission (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextImpl.java150 protected void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
152 .sendBroadcastWithPermission(intent, receiverPermission, realContextImpl); in sendBroadcast()
156 protected void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
158 .sendOrderedBroadcastWithPermission(intent, receiverPermission, realContextImpl); in sendOrderedBroadcast()
164 String receiverPermission, in sendOrderedBroadcast() argument
173 receiverPermission, in sendOrderedBroadcast()
DShadowInstrumentation.java204 String receiverPermission, in sendOrderedBroadcast() argument
211 List<Wrapper> receivers = getAppropriateWrappers(intent, receiverPermission); in sendOrderedBroadcast()
241 private List<Wrapper> getAppropriateWrappers(Intent intent, String receiverPermission) { in getAppropriateWrappers() argument
249 if (hasMatchingPermission(wrapper.broadcastPermission, receiverPermission) in getAppropriateWrappers()
367 void sendBroadcastWithPermission(Intent intent, String receiverPermission, Context context) {
368 List<Wrapper> wrappers = getAppropriateWrappers(intent, receiverPermission);
373 Intent intent, String receiverPermission, Context context) {
374 List<Wrapper> wrappers = getAppropriateWrappers(intent, receiverPermission);