Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/provider/
DRandomNumberProviderService.java63 PendingIntent pendingIntent = PendingIntent.getService( in onComplicationUpdate() local
83 .setTapAction(pendingIntent) in onComplicationUpdate()
89 .setTapAction(pendingIntent) in onComplicationUpdate()
96 .setTapAction(pendingIntent) in onComplicationUpdate()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmUtil.java52 PendingIntent pendingIntent = PendingIntent in scheduleAlarm() local
62 pendingIntent); in scheduleAlarm()
63 mAlarmManager.setAlarmClock(alarmClockInfo, pendingIntent); in scheduleAlarm()
77 PendingIntent pendingIntent = PendingIntent in cancelAlarm() local
79 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/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/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServerService.java76 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, in createNotification() local
84 setContentIntent(pendingIntent). in createNotification()
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DInlineRequestHelper.java80 PendingIntent pendingIntent = in createInlineActionDataset() local
87 .setAuthentication(pendingIntent.getIntentSender()); in createInlineActionDataset()
129 PendingIntent pendingIntent = in createAttribution() local
132 return pendingIntent; in createAttribution()
/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.java66 PendingIntent pendingIntent = PendingIntent.getActivity(context, in buildUpdate() local
70 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/ApiDemos/src/com/example/android/apis/content/
DInstallApkSessionApi.java74 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0); in onCreate()
75 IntentSender statusReceiver = pendingIntent.getIntentSender(); in onCreate()
/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/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DListenerService.java96 PendingIntent pendingIntent = in showNotification() local
116 pendingIntent).build()) in showNotification()
/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/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java128 PendingIntent pendingIntent = PendingIntent in buildWearableOnlyNotification() local
130 builder.setDeleteIntent(pendingIntent); in buildWearableOnlyNotification()
/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/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()