Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPendingIntent.java354 ShadowPendingIntent shadowPendingIntent = Shadow.extract(pendingIntent); in create() local
355 Intent intent = shadowPendingIntent.getSavedIntent(); in create()
366 ShadowPendingIntent shadowPendingIntent = Shadow.extract(pendingIntent); in create() local
367 shadowPendingIntent.cancel(); in create()
374 ShadowPendingIntent shadowPendingIntent = Shadow.extract(pendingIntent); in create() local
375 shadowPendingIntent.savedIntents = intents; in create()
376 shadowPendingIntent.type = type; in create()
377 shadowPendingIntent.savedContext = context; in create()
378 shadowPendingIntent.requestCode = requestCode; in create()
379 shadowPendingIntent.flags = flags; in create()
[all …]
DShadowAlarmManager.java171 ShadowPendingIntent shadowPendingIntent = Shadow.extract(operation); in cancel() local
172 final Intent toRemove = shadowPendingIntent.getSavedIntent(); in cancel()
173 final int requestCode = shadowPendingIntent.getRequestCode(); in cancel()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java262 ShadowPendingIntent shadowPendingIntent = shadowOf(pendingIntent); in updatePendingIntent() local
267 assertThat(shadowPendingIntent.getSavedIntent().getIntExtra("whatever", -1)).isEqualTo(5); in updatePendingIntent()
271 assertThat(shadowPendingIntent.getSavedIntent().getIntExtra("whatever", -1)).isEqualTo(77); in updatePendingIntent()