Searched refs:broadcastIntent (Results 1 – 6 of 6) sorted by relevance
135 Intent broadcastIntent = new Intent("foo"); in testGetSentBroadcastIntents() local136 broadcastManager.sendBroadcast(broadcastIntent); in testGetSentBroadcastIntents()139 assertEquals(broadcastIntent, shadowLocalBroadcastManager.getSentBroadcastIntents().get(0)); in testGetSentBroadcastIntents()
63 final Intent broadcastIntent = intent;67 receiver.onReceive(RuntimeEnvironment.application, broadcastIntent);
285 Intent broadcastIntent = broadcastIntents.get(0); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver() local286 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()
477 Intent broadcastIntent = new Intent("foo"); in broadcasts_shouldBeLogged() local478 context.sendBroadcast(broadcastIntent); in broadcasts_shouldBeLogged()482 assertThat(broadcastIntents.get(0)).isEqualTo(broadcastIntent); in broadcasts_shouldBeLogged()487 Intent broadcastIntent = new Intent("Foo"); in sendStickyBroadcast() local488 context.sendStickyBroadcast(broadcastIntent); in sendStickyBroadcast()496 context.sendStickyBroadcast(broadcastIntent); in sendStickyBroadcast()
371 Intent broadcastIntent = new Intent("foo"); in broadcasts_shouldBeLogged() local372 contextWrapper.sendBroadcast(broadcastIntent); in broadcasts_shouldBeLogged()376 assertEquals(broadcastIntent, broadcastIntents.get(0)); in broadcasts_shouldBeLogged()
272 final Intent broadcastIntent = intent; in postIntent() local278 shReceiver.onReceive(context, broadcastIntent, abort); in postIntent()