Home
last modified time | relevance | path

Searched refs:getForegroundService (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java121 PendingIntent pendingIntent = PendingIntent.getForegroundService(context, 99, intent, 100); in getForegroundService_shouldCreateIntentForBroadcast()
423 PendingIntent.getForegroundService(context, 99, intent, FLAG_NO_CREATE); in getForegroundService_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists()
431 PendingIntent.getForegroundService(context, 99, intent, 0); in getForegroundService_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched()
432 assertThat(PendingIntent.getForegroundService(context, 98, intent, FLAG_NO_CREATE)).isNull(); in getForegroundService_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched()
439 PendingIntent.getForegroundService(context, 99, intent, 100); in getForegroundService_withFlagNoCreate_shouldReturnExistingIntent()
443 PendingIntent.getForegroundService(context, 99, identical, FLAG_NO_CREATE); in getForegroundService_withFlagNoCreate_shouldReturnExistingIntent()
452 PendingIntent.getForegroundService(context, 99, intent, 100); in getForegroundService_withNoFlags_shouldReturnExistingIntent()
455 PendingIntent saved = PendingIntent.getForegroundService(context, 99, identical, 0); in getForegroundService_withNoFlags_shouldReturnExistingIntent()
504 PendingIntent pendingIntent = PendingIntent.getForegroundService(context, 99, intent, 100); in cancel_shouldRemovePendingIntentForForegroundService()
508 assertThat(PendingIntent.getForegroundService(context, 99, intent, FLAG_NO_CREATE)).isNull(); in cancel_shouldRemovePendingIntentForForegroundService()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPendingIntent.java99 protected static PendingIntent getForegroundService( in getForegroundService() method in ShadowPendingIntent