Home
last modified time | relevance | path

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

/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmUtil.java49 PendingIntent pendingIntent = PendingIntent in scheduleAlarm() local
59 pendingIntent); in scheduleAlarm()
60 mAlarmManager.setAlarmClock(alarmClockInfo, pendingIntent); in scheduleAlarm()
75 PendingIntent pendingIntent = PendingIntent in cancelAlarm() local
77 mAlarmManager.cancel(pendingIntent); in cancelAlarm()
/development/samples/browseable/RepeatingAlarm/src/com.example.android.repeatingalarm/
DRepeatingAlarmFragment.java61 PendingIntent pendingIntent = PendingIntent.getActivity(getActivity(), REQUEST_CODE, in onOptionsItemSelected() local
90 FIFTEEN_SEC_MILLIS, pendingIntent); in onOptionsItemSelected()
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServerService.java76 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, in createNotification() local
84 setContentIntent(pendingIntent). in createNotification()
/development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/
DMainActivity.java42 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, 0); in sendNotification() local
62 builder.setContentIntent(pendingIntent); in sendNotification()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DRemoteControlClientCompat.java99 public RemoteControlClientCompat(PendingIntent pendingIntent) { in RemoteControlClientCompat() argument
106 .newInstance(pendingIntent); in RemoteControlClientCompat()
112 public RemoteControlClientCompat(PendingIntent pendingIntent, Looper looper) { in RemoteControlClientCompat() argument
120 .newInstance(pendingIntent, looper); in RemoteControlClientCompat()
/development/samples/browseable/Notifications/Wearable/src/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()
/development/apps/BuildWidget/src/com/android/buildwidget/
DBuildWidget.java67 PendingIntent pendingIntent = PendingIntent.getActivity(context, in buildUpdate() local
71 updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent); in buildUpdate()
/development/samples/browseable/Timer/src/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()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DWordWidget.java108 PendingIntent pendingIntent = PendingIntent.getActivity(context, in buildUpdate() local
110 updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent); in buildUpdate()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DWordWidget.java117 PendingIntent pendingIntent = PendingIntent.getActivity(context, in buildUpdate() local
119 views.setOnClickPendingIntent(R.id.widget, pendingIntent); in buildUpdate()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentReceiveResultSupport.java80 PendingIntent pendingIntent = PendingIntent.getActivity(getContext(),
83 startIntentSenderForResult(pendingIntent.getIntentSender(),
/development/samples/browseable/ElizaChat/src/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()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DListenerService.java96 PendingIntent pendingIntent = in showNotification() local
116 pendingIntent).build()) in showNotification()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DSynchronizedNotificationsFragment.java108 PendingIntent pendingIntent = in buildLocalOnlyNotification() local
114 builder.setDeleteIntent(pendingIntent); in buildLocalOnlyNotification()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java128 PendingIntent pendingIntent = PendingIntent in buildWearableOnlyNotification() local
130 builder.setDeleteIntent(pendingIntent); in buildWearableOnlyNotification()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java174 final PendingIntent pendingIntent = PendingIntent.getBroadcast( in sendMessage()
196 pendingIntent); in sendMessage()
200 pendingIntent.send(SmsManager.MMS_ERROR_IO_ERROR); in sendMessage()
227 final PendingIntent pendingIntent = PendingIntent.getBroadcast( in downloadMessage()
230 locationUrl, contentUri, null/*configOverrides*/, pendingIntent); in downloadMessage()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java168 PendingIntent pendingIntent = PendingIntent.getBroadcast( in addGeofencesInternal() local
171 TouristAttractions.getGeofenceList(), pendingIntent); in addGeofencesInternal()
349 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, in showNotification() local
369 .setContentIntent(pendingIntent) in showNotification()