/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
SmsMessageReceiver.java | 21 import android.app.PendingIntent; 73 private PendingIntent createDisplayMessageIntent(Context context, String fromAddress, 85 // created here for other messages. Without this line, the PendingIntent always gets the 89 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, di, 0); 90 return pendingIntent;
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertReminder.java | 20 import android.app.PendingIntent; 48 private static PendingIntent sPlayReminderIntent; 136 sPlayReminderIntent = PendingIntent.getService(context, 0, playIntent, 137 PendingIntent.FLAG_UPDATE_CURRENT);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerReceiver.java | 22 import android.app.PendingIntent; 226 PendingIntent p = PendingIntent.getBroadcast(context, 227 0, intent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_UPDATE_CURRENT); 309 PendingIntent pendingActivityIntent = PendingIntent.getActivity(context, 0, activityIntent, 310 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_UPDATE_CURRENT); 319 PendingIntent pendingNextBroadcast [all...] |
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
NotificationsActivity.java | 24 import android.app.PendingIntent; 60 .setContentIntent(PendingIntent.getActivity(this, 0,
|
/frameworks/base/core/java/com/android/internal/net/ |
LegacyVpnInfo.java | 19 import android.app.PendingIntent; 43 public PendingIntent intent;
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
IInCallService.aidl | 19 import android.app.PendingIntent;
|
/frameworks/support/v4/java/android/support/v4/app/ |
TaskStackBuilder.java | 20 import android.app.PendingIntent; 54 * {@link PendingIntent} generated by {@link #getPendingIntent(int, int)} will construct 77 PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, 82 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, 86 return PendingIntent.getActivity(context, requestCode, topIntent, flags); 91 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, 102 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, 133 * @param context The context that will launch the new task stack or generate a PendingIntent 144 * @param context The context that will launch the new task stack or generate a PendingIntent 333 * Obtain a {@link PendingIntent} for launching the task constructed by this builder so far [all...] |
/developers/build/prebuilts/gradle/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
ResponderService.java | 20 import android.app.PendingIntent; 102 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 103 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_CANCEL_CURRENT); 107 R.drawable.ic_full_reply, getString(R.string.reply), pendingIntent)
|
/developers/samples/android/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
ResponderService.java | 20 import android.app.PendingIntent; 102 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 103 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_CANCEL_CURRENT); 107 R.drawable.ic_full_reply, getString(R.string.reply), pendingIntent)
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
RemoteControlClientCompat.java | 19 import android.app.PendingIntent; 99 public RemoteControlClientCompat(PendingIntent pendingIntent) { 105 sRemoteControlClientClass.getConstructor(PendingIntent.class) 106 .newInstance(pendingIntent); 112 public RemoteControlClientCompat(PendingIntent pendingIntent, Looper looper) { 119 sRemoteControlClientClass.getConstructor(PendingIntent.class, Looper.class) 120 .newInstance(pendingIntent, looper);
|
/development/samples/browseable/ElizaChat/Application/src/com.example.android.wearable.elizachat/ |
ResponderService.java | 20 import android.app.PendingIntent; 102 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 103 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_CANCEL_CURRENT); 107 R.drawable.ic_full_reply, getString(R.string.reply), pendingIntent)
|
/developers/build/prebuilts/gradle/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizListenerService.java | 34 import android.app.PendingIntent; 113 PendingIntent deleteIntent = PendingIntent.getService(this, 0, 114 deleteOperation, PendingIntent.FLAG_UPDATE_CURRENT); 143 PendingIntent updateIntent = PendingIntent.getService(this, 0, updateOperation, 144 PendingIntent.FLAG_UPDATE_CURRENT); 212 * Returns a PendingIntent that will send a message to the phone to reset the quiz when fired. 214 private PendingIntent getResetQuizPendingIntent() { 217 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) [all...] |
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizListenerService.java | 34 import android.app.PendingIntent; 113 PendingIntent deleteIntent = PendingIntent.getService(this, 0, 114 deleteOperation, PendingIntent.FLAG_UPDATE_CURRENT); 143 PendingIntent updateIntent = PendingIntent.getService(this, 0, updateOperation, 144 PendingIntent.FLAG_UPDATE_CURRENT); 212 * Returns a PendingIntent that will send a message to the phone to reset the quiz when fired. 214 private PendingIntent getResetQuizPendingIntent() { 217 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) [all...] |
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
QuizListenerService.java | 34 import android.app.PendingIntent; 113 PendingIntent deleteIntent = PendingIntent.getService(this, 0, 114 deleteOperation, PendingIntent.FLAG_UPDATE_CURRENT); 143 PendingIntent updateIntent = PendingIntent.getService(this, 0, updateOperation, 144 PendingIntent.FLAG_UPDATE_CURRENT); 212 * Returns a PendingIntent that will send a message to the phone to reset the quiz when fired. 214 private PendingIntent getResetQuizPendingIntent() { 217 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSMSDispatcher.java | 20 import android.app.PendingIntent; 21 import android.app.PendingIntent.CanceledException; 94 PendingIntent intent = tracker.mDeliveryIntent; 109 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { 130 protected void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, 131 PendingIntent deliveryIntent, Uri messageUri, String callingPkg) { 155 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { 170 PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 21 import android.app.PendingIntent; 133 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 201 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 215 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 259 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 274 boolean sound, boolean visible, PendingIntent pi) [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 24 import android.app.PendingIntent; 163 PendingIntent pending = PendingIntent.getBroadcast(mContext, 0 /* ignored */, intent, 164 PendingIntent.FLAG_NO_CREATE); 169 pending = PendingIntent.getBroadcast(mContext, 0 /* ignored */, intent, 170 PendingIntent.FLAG_CANCEL_CURRENT); 230 PendingIntent pending = PendingIntent.getBroadcast( 231 mContext, 0, intent, PendingIntent.FLAG_NO_CREATE); 236 pending = PendingIntent.getBroadcast [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 20 import android.app.PendingIntent; 201 private static PendingIntent createClickEventIntent(Context context, long eventId, 207 private static PendingIntent createDeleteEventIntent(Context context, long eventId, 213 private static PendingIntent createDismissAlarmsIntent(Context context, long eventId, 224 // PendingIntent will be a unique instance (the 'extras' don't achieve this). 232 return PendingIntent.getService(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); 235 private static PendingIntent createSnoozeIntent(Context context, long eventId, 248 return PendingIntent.getService(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
NotificationTest.java | 20 import android.app.PendingIntent; 71 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); 72 mNotification.contentIntent = pendingIntent; 74 final PendingIntent delPendingIntent = PendingIntent.getBroadcast( 157 final PendingIntent contentIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
|
/developers/build/prebuilts/gradle/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/ |
HomeListenerService.java | 31 import android.app.PendingIntent; 118 PendingIntent deleteIntent = PendingIntent.getService(this, 0, deleteOperation, 119 PendingIntent.FLAG_ONE_SHOT); 120 PendingIntent silentDeleteIntent = PendingIntent.getService(this, 1, 121 deleteOperation.putExtra(EXTRA_SILENT, true), PendingIntent.FLAG_ONE_SHOT);
|
/developers/build/prebuilts/gradle/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/ |
HomeListenerService.java | 30 import android.app.PendingIntent; 126 PendingIntent checkInIntent = PendingIntent.getService(this, 0, 127 checkInOperation.setAction(ACTION_CHECK_IN), PendingIntent.FLAG_CANCEL_CURRENT); 128 PendingIntent deleteDataItemIntent = PendingIntent.getService(this, 1, 130 PendingIntent.FLAG_CANCEL_CURRENT);
|
/developers/samples/android/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/ |
HomeListenerService.java | 31 import android.app.PendingIntent; 118 PendingIntent deleteIntent = PendingIntent.getService(this, 0, deleteOperation, 119 PendingIntent.FLAG_ONE_SHOT); 120 PendingIntent silentDeleteIntent = PendingIntent.getService(this, 1, 121 deleteOperation.putExtra(EXTRA_SILENT, true), PendingIntent.FLAG_ONE_SHOT);
|
/developers/samples/android/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/ |
HomeListenerService.java | 30 import android.app.PendingIntent; 126 PendingIntent checkInIntent = PendingIntent.getService(this, 0, 127 checkInOperation.setAction(ACTION_CHECK_IN), PendingIntent.FLAG_CANCEL_CURRENT); 128 PendingIntent deleteDataItemIntent = PendingIntent.getService(this, 1, 130 PendingIntent.FLAG_CANCEL_CURRENT);
|
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/ |
HomeListenerService.java | 31 import android.app.PendingIntent; 118 PendingIntent deleteIntent = PendingIntent.getService(this, 0, deleteOperation, 119 PendingIntent.FLAG_ONE_SHOT); 120 PendingIntent silentDeleteIntent = PendingIntent.getService(this, 1, 121 deleteOperation.putExtra(EXTRA_SILENT, true), PendingIntent.FLAG_ONE_SHOT);
|
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/ |
HomeListenerService.java | 30 import android.app.PendingIntent; 126 PendingIntent checkInIntent = PendingIntent.getService(this, 0, 127 checkInOperation.setAction(ACTION_CHECK_IN), PendingIntent.FLAG_CANCEL_CURRENT); 128 PendingIntent deleteDataItemIntent = PendingIntent.getService(this, 1, 130 PendingIntent.FLAG_CANCEL_CURRENT);
|