Home
last modified time | relevance | path

Searched defs:pendingIntent (Results 1 – 25 of 28) sorted by relevance

12

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java51 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 99, intent, 0); in getBroadcast_shouldCreateIntentForBroadcast() local
70 PendingIntent pendingIntent = PendingIntent.getActivity(context, 99, intent, 0, bundle); in getActivity_withBundle_shouldCreateIntentForBroadcast() local
88 PendingIntent pendingIntent = PendingIntent.getActivities(context, 99, intents, 0); in getActivities_shouldCreateIntentForBroadcast() local
106 PendingIntent pendingIntent = PendingIntent.getActivities(context, 99, intents, 0, bundle); in getActivities_withBundle_shouldCreateIntentForBroadcast() local
123 PendingIntent pendingIntent = PendingIntent.getService(context, 99, intent, 0); in getService_shouldCreateIntentForBroadcast() local
140 PendingIntent pendingIntent = PendingIntent.getForegroundService(context, 99, intent, 0); in getForegroundService_shouldCreateIntentForBroadcast() local
177 PendingIntent pendingIntent = PendingIntent.getActivity(context, 99, intent, 0); in send_shouldFillInIntentData() local
193 PendingIntent pendingIntent = PendingIntent.getActivity(context, 99, intent, 0); in send_shouldNotReusePreviouslyFilledInIntentData() local
216 PendingIntent pendingIntent = PendingIntent.getActivities(context, 99, intents, 0); in send_shouldFillInLastIntentData() local
240 PendingIntent pendingIntent = PendingIntent.getActivities(context, 99, intents, FLAG_IMMUTABLE); in send_shouldFillInIntentData_immutable() local
[all …]
DShadowNotificationTest.java18 PendingIntent pendingIntent = PendingIntent.getActivity(getApplication(), 0, new Intent(), 0); in setLatestEventInfo__shouldCaptureContentIntent() local
20 notification.setLatestEventInfo(getApplication(), "title", "content", pendingIntent); in setLatestEventInfo__shouldCaptureContentIntent() local
DShadowAmbientContextManagerTest.java53 PendingIntent pendingIntent = in registerObserver_shouldStoreLastRequest() local
80 PendingIntent pendingIntent = in registerObserver_thenUnregister_shouldClearLastRequest() local
111 PendingIntent pendingIntent = in registerObserver_statusSetToSuccess_shouldNotifyConsumerWithStoredStatus() local
DShadowBluetoothLeScannerTest.java37 private PendingIntent pendingIntent; field in ShadowBluetoothLeScannerTest
DShadowConnectivityManagerTest.java352 PendingIntent pendingIntent = createSimplePendingIntent(); in registerCallback_withPendingIntent_shouldAddCallback() local
353 connectivityManager.registerNetworkCallback(builder.build(), pendingIntent); in registerCallback_withPendingIntent_shouldAddCallback() local
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java41 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 99, intent, 100); in getBroadcast_shouldCreateIntentForBroadcast() local
57 PendingIntent pendingIntent = PendingIntent.getActivity(context, 99, intent, 100); in getActivity_shouldCreateIntentForBroadcast() local
73 PendingIntent pendingIntent = PendingIntent.getActivities(context, 99, intents, 100); in getActivities_shouldCreateIntentForBroadcast() local
88 PendingIntent pendingIntent = in getActivities_withBundle_shouldCreateIntentForBroadcast() local
104 PendingIntent pendingIntent = PendingIntent.getService(context, 99, intent, 100); in getService_shouldCreateIntentForBroadcast() local
121 PendingIntent pendingIntent = PendingIntent.getForegroundService(context, 99, intent, 100); in getForegroundService_shouldCreateIntentForBroadcast() local
158 PendingIntent pendingIntent = PendingIntent.getActivity(context, 99, intent, 100); in send_shouldFillInIntentData() local
174 PendingIntent pendingIntent = PendingIntent.getActivity(context, 99, intent, 100); in send_shouldNotReusePreviouslyFilledInIntentData() local
197 PendingIntent pendingIntent = PendingIntent.getActivities(context, 99, intents, 100); in send_shouldFillInLastIntentData() local
220 PendingIntent pendingIntent = PendingIntent.getActivities(context, 99, intents, 100); in send_shouldNotUsePreviouslyFilledInLastIntentData() local
[all …]
DShadowAlarmManagerTest.java213 PendingIntent pendingIntent = PendingIntent.getActivity(activity, 0, intent, 0); in shouldSupportGetNextScheduledAlarm() local
227 PendingIntent pendingIntent = PendingIntent.getActivity(activity, 0, intent, 0); in getNextScheduledAlarm_shouldReturnRepeatingAlarms() local
241 PendingIntent pendingIntent = PendingIntent.getActivity(activity, 0, intent, 0); in peekNextScheduledAlarm_shouldReturnNextAlarm() local
252 PendingIntent pendingIntent = in cancel_removesMatchingPendingIntents() local
274 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, newIntent, 0); in cancel_removesMatchingPendingIntentsWithActions() local
380 private void assertScheduledAlarm(long now, PendingIntent pendingIntent, in assertScheduledAlarm()
385 private void assertRepeatingScheduledAlarm(long now, long interval, PendingIntent pendingIntent, in assertRepeatingScheduledAlarm()
DShadowNotificationTest.java18 PendingIntent pendingIntent = PendingIntent.getActivity(application, 0, new Intent(), 0); in setLatestEventInfo__shouldCaptureContentIntent() local
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBluetoothLeScanner.java44 public abstract PendingIntent pendingIntent(); in pendingIntent() method in ShadowBluetoothLeScanner.ScanParams
58 List<ScanFilter> filters, ScanSettings settings, PendingIntent pendingIntent) { in create()
85 List<ScanFilter> filters, ScanSettings settings, PendingIntent pendingIntent) { in startScan()
102 protected void stopScan(PendingIntent pendingIntent) { in stopScan()
DShadowSmsManager.java443 @Nullable protected final PendingIntent pendingIntent; field in ShadowSmsManager.MultimediaMessageParams
450 @Nullable PendingIntent pendingIntent, in MultimediaMessageParams()
479 @Nullable PendingIntent pendingIntent, in SendMultimediaMessageParams()
501 @Nullable PendingIntent pendingIntent, in DownloadMultimediaMessageParams()
DShadowLocationManager.java683 protected void requestSingleUpdate(String provider, PendingIntent pendingIntent) { in requestSingleUpdate()
689 protected void requestSingleUpdate(Criteria criteria, PendingIntent pendingIntent) { in requestSingleUpdate()
788 String provider, long minTime, float minDistance, PendingIntent pendingIntent) { in requestLocationUpdates()
795 long minTime, float minDistance, Criteria criteria, PendingIntent pendingIntent) { in requestLocationUpdates()
838 @Nullable LocationRequest request, PendingIntent pendingIntent) { in requestLocationUpdates()
843 request.getProvider(), new RoboLocationRequest(request), pendingIntent); in requestLocationUpdates() local
854 String provider, LocationRequest request, PendingIntent pendingIntent) { in requestLocationUpdates()
867 String provider, RoboLocationRequest request, PendingIntent pendingIntent) { in requestLocationUpdatesInternal()
880 protected void removeUpdates(PendingIntent pendingIntent) { in removeUpdates()
901 protected void requestFlush(String provider, PendingIntent pendingIntent, int requestCode) { in requestFlush()
[all …]
DShadowBluetoothAdapter.java603 protected int startRfcommServer(String name, UUID uuid, PendingIntent pendingIntent) { in startRfcommServer()
704 final PendingIntent pendingIntent; field in ShadowBluetoothAdapter.BackgroundRfcommServerEntry
706 BackgroundRfcommServerEntry(UUID uuid, PendingIntent pendingIntent) { in BackgroundRfcommServerEntry()
DShadowConnectivityManager.java117 protected void registerNetworkCallback(NetworkRequest request, PendingIntent pendingIntent) { in registerNetworkCallback()
167 protected void unregisterNetworkCallback(PendingIntent pendingIntent) { in unregisterNetworkCallback()
DShadowContextHubManager.java123 Context context, ContextHubInfo hubInfo, PendingIntent pendingIntent, long nanoAppId) { in createClient()
DShadowPendingIntent.java136 PendingIntent pendingIntent = i.next(); in cancel() local
602 PendingIntent pendingIntent = getCreatedIntentFor(type, intents, requestCode, flags); in create() local
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DRoboIntentSender.java15 private PendingIntent pendingIntent; field in RoboIntentSender
17 public RoboIntentSender(PendingIntent pendingIntent) { in RoboIntentSender()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDefaultMediaDescriptionAdapter.java35 @Nullable private final PendingIntent pendingIntent; field in DefaultMediaDescriptionAdapter
43 public DefaultMediaDescriptionAdapter(@Nullable PendingIntent pendingIntent) { in DefaultMediaDescriptionAdapter()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDefaultMediaDescriptionAdapter.java35 @Nullable private final PendingIntent pendingIntent; field in DefaultMediaDescriptionAdapter
43 public DefaultMediaDescriptionAdapter(@Nullable PendingIntent pendingIntent) { in DefaultMediaDescriptionAdapter()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/fakes/
DRoboIntentSender.java16 private PendingIntent pendingIntent; field in RoboIntentSender
18 public RoboIntentSender(PendingIntent pendingIntent) { in RoboIntentSender()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/ui/src/test/java/com/google/android/exoplayer2/ui/
DDefaultMediaDescriptionAdapterTest.java42 PendingIntent pendingIntent = in getters_returnMediaMetadataValues() local
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/test/java/com/google/android/exoplayer2/ui/
DDefaultMediaDescriptionAdapterTest.java42 PendingIntent pendingIntent = in getters_returnMediaMetadataValues() local
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java150 PendingIntent pendingIntent = in testDeduplicateActions() local
204 PendingIntent pendingIntent = in testDeduplicateActions_nullComponent() local
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java282 long minTime, float minDistance, Criteria criteria, PendingIntent pendingIntent) { in requestLocationUpdates()
294 String provider, long minTime, float minDistance, PendingIntent pendingIntent) { in requestLocationUpdates()
323 protected void removeUpdates(PendingIntent pendingIntent) { in removeUpdates()
DShadowPendingIntent.java108 PendingIntent pendingIntent = i.next(); in cancel() local
347 PendingIntent pendingIntent = getCreatedIntentFor(type, intents, requestCode, flags); in create() local
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/
DLabeledIntent.java161 final PendingIntent pendingIntent = createPendingIntent(context, resolvedIntent, requestCode); in createRemoteAction() local

12