/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
MediaNotificationManager.java | 21 import android.app.PendingIntent; 64 private PendingIntent mPauseIntent; 65 private PendingIntent mPlayIntent; 66 private PendingIntent mPreviousIntent; 67 private PendingIntent mNextIntent; 84 mPauseIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, 85 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); 86 mPlayIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, 87 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); 88 mPreviousIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
MediaNotificationManager.java | 20 import android.app.PendingIntent; 67 private PendingIntent mPauseIntent; 68 private PendingIntent mPlayIntent; 69 private PendingIntent mPreviousIntent; 70 private PendingIntent mNextIntent; 86 mPauseIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, 87 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); 88 mPlayIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, 89 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); 90 mPreviousIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE [all...] |
/developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/ |
MainActivity.java | 5 import android.app.PendingIntent; 37 * The intent needs to be packaged into a {@link android.app.PendingIntent} so that the 42 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, 0); 62 builder.setContentIntent(pendingIntent);
|
/developers/samples/android/notification/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/ |
MainActivity.java | 5 import android.app.PendingIntent; 37 * The intent needs to be packaged into a {@link android.app.PendingIntent} so that the 42 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, 0); 62 builder.setContentIntent(pendingIntent);
|
/developers/samples/android/wearable/wear/ElizaChat/ |
template-params.xml | 82 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 83 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_CANCEL_CURRENT); 87 R.drawable.ic_full_reply, getString(R.string.reply), pendingIntent)
|
/development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/ |
MainActivity.java | 5 import android.app.PendingIntent; 37 * The intent needs to be packaged into a {@link android.app.PendingIntent} so that the 42 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, 0); 62 builder.setContentIntent(pendingIntent);
|
/frameworks/base/media/java/android/media/session/ |
ISession.aidl | 18 import android.app.PendingIntent; 37 void setMediaButtonReceiver(in PendingIntent mbr); 38 void setLaunchPendingIntent(in PendingIntent pi);
|
/frameworks/support/compat/honeycomb/android/support/v4/app/ |
NotificationCompatHoneycomb.java | 20 import android.app.PendingIntent; 29 PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon) {
|
/frameworks/support/compat/ics/android/support/v4/app/ |
NotificationCompatIceCreamSandwich.java | 20 import android.app.PendingIntent; 33 int number, PendingIntent contentIntent, PendingIntent fullScreenIntent,
|
/packages/services/Telephony/tests/src/com/android/services/telephony/activation/ |
SimActivationTest.java | 19 import android.app.PendingIntent; 53 PendingIntent pendingResponse = PendingIntent.getBroadcast(
|
/cts/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( 155 final PendingIntent contentIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoReceiveSmsPermissionTest.java | 20 import android.app.PendingIntent; 88 PendingIntent sentIntent = PendingIntent.getBroadcast(getContext(), 0, 89 new Intent(MESSAGE_SENT_ACTION), PendingIntent.FLAG_ONE_SHOT); 90 PendingIntent deliveryIntent = PendingIntent.getBroadcast(getContext(), 0, 91 new Intent(MESSAGE_STATUS_RECEIVED_ACTION), PendingIntent.FLAG_ONE_SHOT); 104 protected void sendSms(String currentNumber, String text, PendingIntent sentIntent, 105 PendingIntent deliveryIntent) {
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
PlaylistItem.java | 19 import android.app.PendingIntent; 33 private final PendingIntent mUpdateReceiver; 41 public PlaylistItem(String qid, String iid, Uri uri, String mime, PendingIntent pi) { 86 public PendingIntent getUpdateReceiver() {
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
PlaylistItem.java | 19 import android.app.PendingIntent; 33 private final PendingIntent mUpdateReceiver; 41 public PlaylistItem(String qid, String iid, Uri uri, String mime, PendingIntent pi) { 86 public PendingIntent getUpdateReceiver() {
|
/development/samples/ApiDemos/src/com/example/android/apis/nfc/ |
ForegroundDispatch.java | 22 import android.app.PendingIntent; 38 private PendingIntent mPendingIntent; 54 // Create a generic PendingIntent that will be deliver to this activity. The NFC stack 57 mPendingIntent = PendingIntent.getActivity(this, 0,
|
/development/samples/browseable/ActiveNotifications/ |
_index.jd | 15 via a PendingIntent.
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
PlaylistItem.java | 19 import android.app.PendingIntent; 33 private final PendingIntent mUpdateReceiver; 41 public PlaylistItem(String qid, String iid, Uri uri, String mime, PendingIntent pi) { 86 public PendingIntent getUpdateReceiver() {
|
/frameworks/base/core/java/android/app/ |
PendingIntent.aidl | 20 parcelable PendingIntent;
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
PlaylistItem.java | 19 import android.app.PendingIntent; 34 private final PendingIntent mUpdateReceiver; 43 PendingIntent pi) { 93 public PendingIntent getUpdateReceiver() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 20 import android.app.PendingIntent; 97 PendingIntent pendingIntent = PendingIntent.getActivity( 98 context, 0, clickIntent, PendingIntent.FLAG_UPDATE_CURRENT); 99 views.setPendingIntentTemplate(R.id.appwidget_stack_view, pendingIntent); 120 PendingIntent pendingClickIntent = PendingIntent.getActivity(context, 0, 121 clickIntent, PendingIntent.FLAG_CANCEL_CURRENT);
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
SmsStorageStatusManager.java | 19 import android.app.PendingIntent; 65 final PendingIntent pendingIntent = UIIntents.get() 75 .setContentIntent(pendingIntent);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
NotificationActionUtils.java | 21 import android.app.PendingIntent; 208 final PendingIntent pendingIntent = getNotificationActionPendingIntent( 217 notification.addAction(actionIconResId, title, pendingIntent); 221 final PendingIntent wearPendingIntent = getWearNotificationActionPendingIntent( 347 * Creates a {@link PendingIntent} for the specified notification action. 349 private static PendingIntent getNotificationActionPendingIntent(final Context context, 373 notificationId, PendingIntent.FLAG_UPDATE_CURRENT); 387 notificationId, PendingIntent.FLAG_UPDATE_CURRENT); 397 return PendingIntent.getService [all...] |
/platform_testing/tests/jank/notificationsgenerator_wear/src/com/google/android/wearable/support/ |
CustomPostNotificationReceiver.java | 20 import android.app.PendingIntent; 50 PendingIntent remoteInputPendingIntent = PendingIntent 52 PendingIntent.FLAG_UPDATE_CURRENT);
|
/frameworks/support/core-utils/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 336 * Obtain a {@link PendingIntent} for launching the task constructed by this builder so far [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 23 import android.app.PendingIntent; 351 final PendingIntent initIntent = buildInitPendingIntent(vol); 368 final PendingIntent browseIntent = buildBrowsePendingIntent(vol); 469 final PendingIntent intent; 517 final PendingIntent intent; 574 private PendingIntent buildInitPendingIntent(DiskInfo disk) { 581 return PendingIntent.getActivityAsUser(mContext, requestKey, intent, 582 PendingIntent.FLAG_CANCEL_CURRENT, null, UserHandle.CURRENT); 585 private PendingIntent buildInitPendingIntent(VolumeInfo vol) { 592 return PendingIntent.getActivityAsUser(mContext, requestKey, intent [all...] |