Searched refs:pendingIntent (Results 1 – 8 of 8) sorted by relevance
76 …PendingIntent pendingIntent = PendingIntent.getActivity(activity, 0, new Intent(activity, activity… in shouldSupportGetNextScheduledAlarm() local77 alarmManager.set(AlarmManager.ELAPSED_REALTIME, now, pendingIntent); in shouldSupportGetNextScheduledAlarm()81 assertScheduledAlarm(now, pendingIntent, scheduledAlarm); in shouldSupportGetNextScheduledAlarm()89 …PendingIntent pendingIntent = PendingIntent.getActivity(activity, 0, new Intent(activity, activity… in shouldSupportGetNextScheduledAlarmForRepeatingAlarms() local90 …anager.setRepeating(AlarmManager.ELAPSED_REALTIME, now, AlarmManager.INTERVAL_HOUR, pendingIntent); in shouldSupportGetNextScheduledAlarmForRepeatingAlarms()94 … assertRepeatingScheduledAlarm(now, AlarmManager.INTERVAL_HOUR, pendingIntent, scheduledAlarm); in shouldSupportGetNextScheduledAlarmForRepeatingAlarms()102 …PendingIntent pendingIntent = PendingIntent.getActivity(activity, 0, new Intent(activity, activity… in shouldSupportPeekScheduledAlarm() local103 alarmManager.set(AlarmManager.ELAPSED_REALTIME, now, pendingIntent); in shouldSupportPeekScheduledAlarm()107 assertScheduledAlarm(now, pendingIntent, scheduledAlarm); in shouldSupportPeekScheduledAlarm()113 …PendingIntent pendingIntent = PendingIntent.getBroadcast(Robolectric.application.getApplicationCon… in cancel_removesMatchingPendingIntents() local[all …]
38 …PendingIntent pendingIntent = PendingIntent.getBroadcast(Robolectric.application, 99, intent, 100); in getBroadcast__shouldCreateIntentForBroadcast() local39 ShadowPendingIntent shadow = shadowOf(pendingIntent); in getBroadcast__shouldCreateIntentForBroadcast()50 … PendingIntent pendingIntent = PendingIntent.getActivity(Robolectric.application, 99, intent, 100); in getActivity__shouldCreateIntentForBroadcast() local51 ShadowPendingIntent shadow = shadowOf(pendingIntent); in getActivity__shouldCreateIntentForBroadcast()62 … PendingIntent pendingIntent = PendingIntent.getService(Robolectric.application, 99, intent, 100); in getService__shouldCreateIntentForBroadcast() local63 ShadowPendingIntent shadow = shadowOf(pendingIntent); in getService__shouldCreateIntentForBroadcast()
18 PendingIntent pendingIntent = PendingIntent.getActivity(new Activity(), 0, new Intent(), 0); in setLatestEventInfo__shouldCaptureContentIntent() local20 notification.setLatestEventInfo(new Activity(), "title", "content", pendingIntent); in setLatestEventInfo__shouldCaptureContentIntent()21 assertThat(pendingIntent, is(notification.contentIntent)); in setLatestEventInfo__shouldCaptureContentIntent()
224 …tLocationUpdates(long minTime, float minDistance, Criteria criteria, PendingIntent pendingIntent) { in requestLocationUpdates() argument225 if (pendingIntent == null) { in requestLocationUpdates()231 requestLocationUdpateCriteriaPendingIntents.put(pendingIntent, criteria); in requestLocationUpdates()236 PendingIntent pendingIntent) { in requestLocationUpdates() argument237 if (pendingIntent == null) { in requestLocationUpdates()244 requestLocationUdpateProviderPendingIntents.put(pendingIntent, provider); in requestLocationUpdates()253 public void removeUpdates(PendingIntent pendingIntent) { in removeUpdates() argument254 while (requestLocationUdpateCriteriaPendingIntents.remove(pendingIntent) != null); in removeUpdates()255 while (requestLocationUdpateProviderPendingIntents.remove(pendingIntent) != null); in removeUpdates()
180 PendingIntent pendingIntent = Robolectric.newInstanceOf(PendingIntent.class); in create() local181 ShadowPendingIntent shadowPendingIntent = Robolectric.shadowOf(pendingIntent); in create()188 return pendingIntent; in create()
80 public void cancel(PendingIntent pendingIntent) { in cancel() argument81 final Intent intentTypeToRemove = shadowOf(pendingIntent).getSavedIntent(); in cancel()
54 public void setOnClickPendingIntent(int viewId, final PendingIntent pendingIntent) { in setOnClickPendingIntent() argument61 pendingIntent.send(view.getContext(), 0, null); in setOnClickPendingIntent()
META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...