Home
last modified time | relevance | path

Searched refs:pendingIntent (Results 1 – 12 of 12) sorted by relevance

/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
DAlarmUtil.java52 PendingIntent pendingIntent = PendingIntent in scheduleAlarm() local
63 pendingIntent); in scheduleAlarm()
64 mAlarmManager.setAlarmClock(alarmClockInfo, pendingIntent); in scheduleAlarm()
78 PendingIntent pendingIntent = PendingIntent in cancelAlarm() local
80 mAlarmManager.cancel(pendingIntent); in cancelAlarm()
/developers/samples/android/background/alarms/RepeatingAlarm/Application/src/main/java/com/example/android/repeatingalarm/
DRepeatingAlarmFragment.java61 PendingIntent pendingIntent = PendingIntent.getActivity(getActivity(), REQUEST_CODE, in onOptionsItemSelected() local
90 FIFTEEN_SEC_MILLIS, pendingIntent); in onOptionsItemSelected()
/developers/samples/android/notification/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/
DMainActivity.java42 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, 0); in sendNotification() local
62 builder.setContentIntent(pendingIntent); in sendNotification()
/developers/samples/android/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
DNotificationPresets.java70 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, in buildNotification() local
94 context.getString(R.string.action_a), pendingIntent)) in buildNotification()
96 context.getString(R.string.reply), pendingIntent) in buildNotification()
192 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, in buildNotification() local
218 context.getString(R.string.action_a), pendingIntent)) in buildNotification()
220 context.getString(R.string.action_b), pendingIntent)) in buildNotification()
222 context.getString(R.string.action_c), pendingIntent)) in buildNotification()
224 context.getString(R.string.action_d), pendingIntent)) in buildNotification()
/developers/samples/android/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
DTimerNotificationService.java78 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, in deleteTimer() local
80 alarm.cancel(pendingIntent); in deleteTimer()
DSetTimerActivity.java115 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, in registerWithAlarmManager() local
122 alarm.setExact(AlarmManager.RTC_WAKEUP, wakeupTime, pendingIntent); in registerWithAlarmManager()
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
DListenerService.java97 PendingIntent pendingIntent = in showNotification() local
117 pendingIntent).build()) in showNotification()
/developers/samples/android/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/
DResponderService.java102 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, in showNotification() local
107 R.drawable.ic_full_reply, getString(R.string.reply), pendingIntent) in showNotification()
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
DAdvertiserService.java156 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, in goForeground() local
162 .setContentIntent(pendingIntent) in goForeground()
/developers/samples/android/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DSynchronizedNotificationsFragment.java108 PendingIntent pendingIntent = in buildLocalOnlyNotification() local
114 builder.setDeleteIntent(pendingIntent); in buildLocalOnlyNotification()
/developers/samples/android/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/
DNotificationUpdateService.java128 PendingIntent pendingIntent = PendingIntent in buildWearableOnlyNotification() local
130 builder.setDeleteIntent(pendingIntent); in buildWearableOnlyNotification()
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
DUtilityService.java170 PendingIntent pendingIntent = PendingIntent.getBroadcast( in addGeofencesInternal() local
173 TouristAttractions.getGeofenceList(), pendingIntent); in addGeofencesInternal()
351 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, in showNotification() local
371 .setContentIntent(pendingIntent) in showNotification()