/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowUsageStatsManagerTest.java | 194 PendingIntent pendingIntent1 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION1"), 0); in testRegisterAppUsageObserver_uniqueObserverIds_shouldAddBothObservers() 197 PendingIntent pendingIntent2 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION2"), 0); in testRegisterAppUsageObserver_uniqueObserverIds_shouldAddBothObservers() 216 PendingIntent pendingIntent1 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION1"), 0); in testRegisterAppUsageObserver_duplicateObserverIds_shouldOverrideExistingObserver() 219 PendingIntent pendingIntent2 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION2"), 0); in testRegisterAppUsageObserver_duplicateObserverIds_shouldOverrideExistingObserver() 232 PendingIntent pendingIntent1 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION1"), 0); in testUnregisterAppUsageObserver_existingObserverId_shouldRemoveObserver() 235 PendingIntent pendingIntent2 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION2"), 0); in testUnregisterAppUsageObserver_existingObserverId_shouldRemoveObserver() 250 PendingIntent pendingIntent1 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION1"), 0); in testUnregisterAppUsageObserver_nonExistentObserverId_shouldBeNoOp() 253 PendingIntent pendingIntent2 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION2"), 0); in testUnregisterAppUsageObserver_nonExistentObserverId_shouldBeNoOp() 274 PendingIntent pendingIntent1 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION1"), 0); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver() 277 PendingIntent pendingIntent2 = PendingIntent.getBroadcast(context, 0, new Intent("ACTION2"), 0); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()
|
D | ShadowPendingIntentTest.java | 41 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 99, intent, 100); in getBroadcast_shouldCreateIntentForBroadcast() 261 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, 0); in updatePendingIntent() 266 PendingIntent.getBroadcast(context, 0, intent, 0); in updatePendingIntent() 270 PendingIntent.getBroadcast(context, 0, intent, FLAG_UPDATE_CURRENT); in updatePendingIntent() 349 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 99, intent, FLAG_NO_CREATE); in getBroadcast_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() 356 PendingIntent.getBroadcast(context, 99, intent, 0); in getBroadcast_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() 357 assertThat(PendingIntent.getBroadcast(context, 98, intent, FLAG_NO_CREATE)).isNull(); in getBroadcast_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() 363 PendingIntent.getBroadcast(context, 99, intent, 100); in getBroadcast_withFlagNoCreate_shouldReturnExistingIntent() 366 PendingIntent saved = PendingIntent.getBroadcast(context, 99, identical, FLAG_NO_CREATE); in getBroadcast_withFlagNoCreate_shouldReturnExistingIntent() 374 PendingIntent.getBroadcast(context, 99, intent, 100); in getBroadcast_withNoFlags_shouldReturnExistingIntent() [all …]
|
D | ShadowAlarmManagerTest.java | 253 PendingIntent.getBroadcast(context, 0, intent, FLAG_UPDATE_CURRENT); in cancel_removesMatchingPendingIntents() 258 PendingIntent.getBroadcast(context, 0, intent2, FLAG_UPDATE_CURRENT); in cancel_removesMatchingPendingIntents() 265 PendingIntent.getBroadcast(context, 0, intent3, FLAG_UPDATE_CURRENT); in cancel_removesMatchingPendingIntents() 274 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, newIntent, 0); in cancel_removesMatchingPendingIntentsWithActions() 279 alarmManager.cancel(PendingIntent.getBroadcast(context, 0, new Intent("anotherAction"), 0)); in cancel_removesMatchingPendingIntentsWithActions() 282 alarmManager.cancel(PendingIntent.getBroadcast(context, 0, new Intent("someAction"), 0)); in cancel_removesMatchingPendingIntentsWithActions() 341 PendingIntent show = PendingIntent.getBroadcast(context, 0, new Intent("showAction"), 0); in getNextAlarmClockInfo() 342 PendingIntent operation = PendingIntent.getBroadcast(context, 0, new Intent("opAction"), 0); in getNextAlarmClockInfo() 353 PendingIntent show2 = PendingIntent.getBroadcast(context, 0, new Intent("showAction2"), 0); in getNextAlarmClockInfo() 354 PendingIntent operation2 = PendingIntent.getBroadcast(context, 0, new Intent("opAction2"), 0); in getNextAlarmClockInfo()
|
D | ShadowLocationManagerTest.java | 197 PendingIntent.getBroadcast(context, 0, someIntent, PendingIntent.FLAG_UPDATE_CURRENT); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria() 200 PendingIntent.getBroadcast(context, 0, someOtherIntent, PendingIntent.FLAG_UPDATE_CURRENT); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria() 233 PendingIntent.getBroadcast(context, 0, someIntent, PendingIntent.FLAG_UPDATE_CURRENT); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingLocationListeners() 236 PendingIntent.getBroadcast(context, 0, someOtherIntent, PendingIntent.FLAG_UPDATE_CURRENT); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingLocationListeners() 284 PendingIntent.getBroadcast(context, 0, someIntent, PendingIntent.FLAG_UPDATE_CURRENT); in shouldThrowExceptionWhenRequestingLocationUpdatesAndNoProviderIsFound() 389 PendingIntent.getBroadcast(context, 0, someIntent, PendingIntent.FLAG_UPDATE_CURRENT); in shouldRegisterLocationUpdatesWhenProviderGiven() 404 PendingIntent.getBroadcast(context, 0, someIntent, PendingIntent.FLAG_UPDATE_CURRENT); in shouldRegisterLocationUpdatesWhenCriteriaGiven()
|
D | ShadowContextImplTest.java | 131 PendingIntent.getBroadcast( in startIntentSender_broadcastIntent()
|
D | ShadowNotificationBuilderTest.java | 215 PendingIntent.getBroadcast(ApplicationProvider.getApplicationContext(), 0, null, 0); in build_addsActionToNotification()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothMapClientFacade.java | 140 mSentIntent = PendingIntent.getBroadcast(mService, 0, mSendIntent, in mapSendMessage() 142 mDeliveredIntent = PendingIntent.getBroadcast( in mapSendMessage()
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
D | PresenceCapabilityTask.java | 120 PendingIntent mAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent, in startTimer()
|
D | PresencePublication.java | 967 mRetryAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent, in scheduleRetryPublish()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | BaseUsbConnection.java | 130 PendingIntent permissionIntent = PendingIntent.getBroadcast(context, 0, in connect()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PollingTask.java | 201 mRetryAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent, in scheduleRetry()
|
D | CapabilityPolling.java | 456 mDiscoveryAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent, in schedulePolling()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPendingIntent.java | 87 protected static PendingIntent getBroadcast( in getBroadcast() method in ShadowPendingIntent
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/ |
D | RcsStackAdaptor.java | 651 mRetryAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent, in startInitPresenceTimer()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | SmsFacade.java | 740 return PendingIntent.getBroadcast(mService, 0, intent, 0); in createBroadcastPendingIntent()
|