Searched refs:broadcastIntents (Results 1 – 4 of 4) sorted by relevance
283 List<Intent> broadcastIntents = shadowOf(context).getBroadcastIntents(); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver() local284 assertThat(broadcastIntents).hasSize(1); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()285 Intent broadcastIntent = broadcastIntents.get(0); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()
283 List<Intent> broadcastIntents = shadowOf(contextWrapper).getBroadcastIntents(); in broadcasts_shouldBeLogged() local284 assertTrue(broadcastIntents.size() == 1); in broadcasts_shouldBeLogged()285 assertEquals(broadcastIntent, broadcastIntents.get(0)); in broadcasts_shouldBeLogged()
480 List<Intent> broadcastIntents = shadowOf(context).getBroadcastIntents(); in broadcasts_shouldBeLogged() local481 assertThat(broadcastIntents).hasSize(1); in broadcasts_shouldBeLogged()482 assertThat(broadcastIntents.get(0)).isEqualTo(broadcastIntent); in broadcasts_shouldBeLogged()
68 private List<Intent> broadcastIntents = new ArrayList<>(); field in ShadowInstrumentation242 broadcastIntents.add(intent); in getAppropriateWrappers()394 return broadcastIntents;