Home
last modified time | relevance | path

Searched refs:broadcastIntent (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManagerTest.java135 Intent broadcastIntent = new Intent("foo"); in testGetSentBroadcastIntents() local
136 broadcastManager.sendBroadcast(broadcastIntent); in testGetSentBroadcastIntents()
139 assertEquals(broadcastIntent, shadowLocalBroadcastManager.getSentBroadcastIntents().get(0)); in testGetSentBroadcastIntents()
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManager.java63 final Intent broadcastIntent = intent;
67 receiver.onReceive(RuntimeEnvironment.application, broadcastIntent);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUsageStatsManagerTest.java285 Intent broadcastIntent = broadcastIntents.get(0); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver() local
286 assertThat(broadcastIntent.getAction()).isEqualTo("ACTION2"); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()
287 assertThat(broadcastIntent.getIntExtra(UsageStatsManager.EXTRA_OBSERVER_ID, 0)).isEqualTo(24); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()
288 assertThat(broadcastIntent.getLongExtra(UsageStatsManager.EXTRA_TIME_LIMIT, 0)) in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()
290 assertThat(broadcastIntent.getLongExtra(UsageStatsManager.EXTRA_TIME_USED, 0)) in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()
DShadowApplicationTest.java477 Intent broadcastIntent = new Intent("foo"); in broadcasts_shouldBeLogged() local
478 context.sendBroadcast(broadcastIntent); in broadcasts_shouldBeLogged()
482 assertThat(broadcastIntents.get(0)).isEqualTo(broadcastIntent); in broadcasts_shouldBeLogged()
487 Intent broadcastIntent = new Intent("Foo"); in sendStickyBroadcast() local
488 context.sendStickyBroadcast(broadcastIntent); in sendStickyBroadcast()
496 context.sendStickyBroadcast(broadcastIntent); in sendStickyBroadcast()
DShadowContextWrapperTest.java371 Intent broadcastIntent = new Intent("foo"); in broadcasts_shouldBeLogged() local
372 contextWrapper.sendBroadcast(broadcastIntent); in broadcasts_shouldBeLogged()
376 assertEquals(broadcastIntent, broadcastIntents.get(0)); in broadcasts_shouldBeLogged()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInstrumentation.java272 final Intent broadcastIntent = intent; in postIntent() local
278 shReceiver.onReceive(context, broadcastIntent, abort); in postIntent()