Home
last modified time | relevance | path

Searched refs:getSavedIntent (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java48 assertThat(intent).isEqualTo(shadow.getSavedIntent()); in getBroadcast_shouldCreateIntentForBroadcast()
64 assertThat(intent).isEqualTo(shadow.getSavedIntent()); in getActivity_shouldCreateIntentForBroadcast()
111 assertThat(intent).isEqualTo(shadow.getSavedIntent()); in getService_shouldCreateIntentForBroadcast()
128 assertThat(intent).isEqualTo(shadow.getSavedIntent()); in getForegroundService_shouldCreateIntentForBroadcast()
267 assertThat(shadowPendingIntent.getSavedIntent().getIntExtra("whatever", -1)).isEqualTo(5); in updatePendingIntent()
271 assertThat(shadowPendingIntent.getSavedIntent().getIntExtra("whatever", -1)).isEqualTo(77); in updatePendingIntent()
295 assertThat(intent).isSameAs(shadowOf(saved).getSavedIntent()); in getActivity_withFlagNoCreate_shouldReturnExistingIntent()
306 assertThat(intent).isSameAs(shadowOf(saved).getSavedIntent()); in getActivity_withNoFlags_shouldReturnExistingIntent()
368 assertThat(intent).isSameAs(shadowOf(saved).getSavedIntent()); in getBroadcast_withFlagNoCreate_shouldReturnExistingIntent()
379 assertThat(intent).isSameAs(shadowOf(saved).getSavedIntent()); in getBroadcast_withNoFlags_shouldReturnExistingIntent()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPendingIntent.java247 public Intent getSavedIntent() { in getSavedIntent() method in ShadowPendingIntent
355 Intent intent = shadowPendingIntent.getSavedIntent(); in create()
410 Intent savedIntent = shadowPendingIntent.getSavedIntent(); in getCreatedIntentFor()
DShadowAlarmManager.java172 final Intent toRemove = shadowPendingIntent.getSavedIntent(); in cancel()
177 final Intent scheduledIntent = scheduledShadowPendingIntent.getSavedIntent(); in cancel()