Searched refs:broadcastReceiver (Results 1 – 8 of 8) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextWrapperTest.java | 58 BroadcastReceiver receiver = broadcastReceiver("Larry"); in registerReceiver_shouldRegisterForAllIntentFilterActions() 74 BroadcastReceiver larryReceiver = broadcastReceiver("Larry"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver() 77 BroadcastReceiver bobReceiver = broadcastReceiver("Bob"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver() 93 BroadcastReceiver receiver = broadcastReceiver("Larry"); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission() 121 BroadcastReceiver receiver = broadcastReceiver("Larry"); in sendBroadcast_shouldSendIntentUsingHandlerIfOneIsProvided() 139 BroadcastReceiver lowReceiver = broadcastReceiver("Low"); in sendOrderedBroadcast_shouldReturnValues() 144 BroadcastReceiver highReceiver = broadcastReceiver("High"); in sendOrderedBroadcast_shouldReturnValues() 171 BroadcastReceiver lowReceiver = broadcastReceiver("Low"); in sendOrderedBroadcast_shouldExecuteSerially() 181 BroadcastReceiver highReceiver = broadcastReceiver("High"); in sendOrderedBroadcast_shouldExecuteSerially() 213 BroadcastReceiver lowReceiver = broadcastReceiver("Low"); in sendOrderedBroadcast_shouldSendByPriority() [all …]
|
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/ |
D | ShadowLocalBroadcastManager.java | 45 if (wrapper.broadcastReceiver == receiver) { 62 final BroadcastReceiver receiver = wrapper.broadcastReceiver; 85 public final BroadcastReceiver broadcastReceiver; 88 public Wrapper(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter) { 89 this.broadcastReceiver = broadcastReceiver;
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | SimpleLogger.java | 64 public void registerReceiver(BroadcastReceiver broadcastReceiver) { in registerReceiver() argument 65 broadcastManager.registerReceiver(broadcastReceiver, new IntentFilter(LOG_INTENT)); in registerReceiver() 68 public void unregisterReceiver(BroadcastReceiver broadcastReceiver) { in unregisterReceiver() argument 69 broadcastManager.unregisterReceiver(broadcastReceiver); in unregisterReceiver()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplication.java | 259 public BroadcastReceiver broadcastReceiver; field in ShadowApplication.Wrapper 267 BroadcastReceiver broadcastReceiver, in Wrapper() argument 272 this.broadcastReceiver = broadcastReceiver; in Wrapper() 281 return broadcastReceiver; in getBroadcastReceiver()
|
D | ShadowInstrumentation.java | 230 + registeredReceiver.broadcastReceiver in assertNoBroadcastListenersOfActionRegistered() 265 final BroadcastReceiver receiver = wrapper.broadcastReceiver; in postIntent() 346 wrapper.broadcastReceiver.setPendingResult(result); in postIntent() 350 Shadow.extract(wrapper.broadcastReceiver); in postIntent() 646 void unregisterReceiver(BroadcastReceiver broadcastReceiver) { 651 if (wrapper.broadcastReceiver == broadcastReceiver) { 657 throw new IllegalArgumentException("Receiver not registered: " + broadcastReceiver);
|
D | ShadowContextImpl.java | 220 protected void unregisterReceiver(BroadcastReceiver broadcastReceiver) { in unregisterReceiver() argument 221 getShadowInstrumentation().unregisterReceiver(broadcastReceiver); in unregisterReceiver()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 279 …oid sendOrderedBroadcast(Intent intent, String s, BroadcastReceiver broadcastReceiver, Handler han… in sendOrderedBroadcast() argument 289 …public void sendStickyOrderedBroadcast(Intent intent, BroadcastReceiver broadcastReceiver, Handler… in sendStickyOrderedBroadcast() argument 299 … public Intent registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter) { in registerReceiver() argument 304 …public Intent registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter, Str… in registerReceiver() argument 309 public void unregisterReceiver(BroadcastReceiver broadcastReceiver) { in unregisterReceiver() argument
|
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/ |
D | ShadowLocalBroadcastManagerTest.java | 122 assertEquals(receiver, capturedWrapper.broadcastReceiver); in testGetRegisteredBroadcastReceivers()
|