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()
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()
374 List<Intent> broadcastIntents = shadowOf(contextWrapper).getBroadcastIntents(); in broadcasts_shouldBeLogged() local375 assertTrue(broadcastIntents.size() == 1); in broadcasts_shouldBeLogged()376 assertEquals(broadcastIntent, broadcastIntents.get(0)); in broadcasts_shouldBeLogged()
68 private List<Intent> broadcastIntents = new ArrayList<>(); field in ShadowInstrumentation247 broadcastIntents.add(intent); in getAppropriateWrappers()399 return broadcastIntents;