/frameworks/opt/net/voip/src/java/android/net/sip/ |
ISipService.aidl | 19 import android.app.PendingIntent; 30 in PendingIntent incomingCallPendingIntent,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
DictionaryDecayBroadcastReciever.java | 20 import android.app.PendingIntent; 53 final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0 /* requestCode */, 54 updateIntent, PendingIntent.FLAG_CANCEL_CURRENT); 56 alarmTime, DICTIONARY_DECAY_INTERVAL, pendingIntent);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
IntentActivityFlags.java | 6 import android.app.PendingIntent; 7 import android.app.PendingIntent.CanceledException; 76 PendingIntent pi = PendingIntent.getActivities(context, 0, 77 buildIntentsToViewsLists(), PendingIntent.FLAG_UPDATE_CURRENT); 82 Log.w("IntentActivityFlags", "Failed sending PendingIntent", e);
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
UpdateService.java | 21 import android.app.PendingIntent; 64 public static PendingIntent getPendingIntent(Context context, int update, int id, long when) { 71 PendingIntent pi = PendingIntent.getService( 72 context, 58, updateIntent, PendingIntent.FLAG_UPDATE_CURRENT);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsManagerTest.java | 20 import android.app.PendingIntent; 179 private PendingIntent mSentIntent; 180 private PendingIntent mDeliveredIntent; 293 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(); 294 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(); 296 sentIntents.add(PendingIntent.getBroadcast(getContext(), 0, mSendIntent, 0)); 297 deliveryIntents.add(PendingIntent.getBroadcast(getContext(), 0, mDeliveryIntent, 0)); 315 mSentIntent = PendingIntent.getBroadcast(getContext(), 0, mSendIntent [all...] |
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoReceiveSmsPermissionTest.java | 20 import android.app.PendingIntent; 87 PendingIntent sentIntent = PendingIntent.getBroadcast(getContext(), 0, 88 new Intent(MESSAGE_SENT_ACTION), PendingIntent.FLAG_ONE_SHOT); 89 PendingIntent deliveryIntent = PendingIntent.getBroadcast(getContext(), 0, 90 new Intent(MESSAGE_STATUS_RECEIVED_ACTION), PendingIntent.FLAG_ONE_SHOT); 100 protected void sendSms(String currentNumber, String text, PendingIntent sentIntent, 101 PendingIntent deliveryIntent) {
|
/frameworks/base/core/java/android/hardware/usb/ |
IUsbManager.aidl | 19 import android.app.PendingIntent; 64 void requestDevicePermission(in UsbDevice device, String packageName, in PendingIntent pi); 71 in PendingIntent pi);
|
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkThumbnailWidgetProvider.java | 19 import android.app.PendingIntent; 83 PendingIntent launchBrowser = PendingIntent.getActivity(context, 0, 86 PendingIntent.FLAG_UPDATE_CURRENT); 98 PendingIntent.getBroadcast(context, 0, ic, 99 PendingIntent.FLAG_UPDATE_CURRENT));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPendingIntent.java | 3 import android.app.PendingIntent; 4 import android.app.PendingIntent.CanceledException; 16 * Shadow of {@code PendingIntent} that creates and sends {@code Intent}s appropriately. 18 @Implements(PendingIntent.class) 28 public static PendingIntent getActivity(Context context, int requestCode, Intent intent, int flags) { 33 public static PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { 38 public static PendingIntent getService(Context context, int requestCode, Intent intent, int flags) { 67 public static void writePendingIntentOrNullToParcel(PendingIntent sender, Parcel out) { 76 public static PendingIntent readPendingIntentOrNullFromParcel(Parcel in) { 126 if (obj instanceof PendingIntent) { [all...] |
/development/samples/training/notify-user/src/com/example/android/pingme/ |
PingService.java | 20 import android.app.PendingIntent; 77 PendingIntent piDismiss = PendingIntent.getService(this, 0, dismissIntent, 0); 81 PendingIntent piSnooze = PendingIntent.getService(this, 0, snoozeIntent, 0); 115 PendingIntent resultPendingIntent = 116 PendingIntent.getActivity( 120 PendingIntent.FLAG_UPDATE_CURRENT
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
SchedulerService.java | 20 import android.app.PendingIntent; 33 "Scheduler Test running", PendingIntent.getActivity(this, 0,
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
MockAlarmManager.java | 19 import android.app.PendingIntent; 41 public void set(int actualAlarmType, long actualAlarmTime, PendingIntent operation) {
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
AnalogAppWidgetProvider.java | 22 import android.app.PendingIntent; 44 PendingIntent.getActivity(context, 0,
|
/packages/services/Telephony/src/com/android/phone/ |
HfaService.java | 19 import android.app.PendingIntent; 40 final PendingIntent otaResponseIntent = intent.getParcelableExtra(
|
/developers/build/prebuilts/gradle/CustomNotifications/CustomNotificationsSample/src/main/java/com/example/android/customnotifications/ |
MainActivity.java | 21 import android.app.PendingIntent; 53 PendingIntent intent = PendingIntent.getActivity(this, 0, i, 54 PendingIntent.FLAG_UPDATE_CURRENT);
|
/developers/samples/android/ui/notifications/CustomNotifications/CustomNotificationsSample/src/main/java/com/example/android/customnotifications/ |
MainActivity.java | 21 import android.app.PendingIntent; 53 PendingIntent intent = PendingIntent.getActivity(this, 0, i, 54 PendingIntent.FLAG_UPDATE_CURRENT);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
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/browseable/CustomNotifications/src/com.example.android.customnotifications/ |
MainActivity.java | 21 import android.app.PendingIntent; 53 PendingIntent intent = PendingIntent.getActivity(this, 0, i, 54 PendingIntent.FLAG_UPDATE_CURRENT);
|
/frameworks/base/core/java/android/nfc/ |
INfcAdapter.aidl | 19 import android.app.PendingIntent; 46 void setForegroundDispatch(in PendingIntent intent,
|
/cts/tests/tests/app/src/android/app/cts/ |
NotificationManagerTest.java | 21 import android.app.PendingIntent; 75 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); 77 + "notification ", pendingIntent);
|
/developers/build/prebuilts/gradle/BasicNotifications/BasicNotificationsSample/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/build/prebuilts/gradle/RepeatingAlarm/RepeatingAlarmSample/src/main/java/com/example/android/repeatingalarm/ |
RepeatingAlarmFragment.java | 20 import android.app.PendingIntent; 56 // it's necessary to wrap it in a PendingIntent. Providing a different process with 57 // a PendingIntent gives that other process permission to fire the intent that this 59 // Also, this code creates a PendingIntent to start an Activity. To create a 61 PendingIntent pendingIntent = PendingIntent.getActivity(getActivity(), REQUEST_CODE, 90 FIFTEEN_SEC_MILLIS, pendingIntent);
|
/developers/samples/android/background/alarms/RepeatingAlarm/RepeatingAlarmSample/src/main/java/com/example/android/repeatingalarm/ |
RepeatingAlarmFragment.java | 20 import android.app.PendingIntent; 56 // it's necessary to wrap it in a PendingIntent. Providing a different process with 57 // a PendingIntent gives that other process permission to fire the intent that this 59 // Also, this code creates a PendingIntent to start an Activity. To create a 61 PendingIntent pendingIntent = PendingIntent.getActivity(getActivity(), REQUEST_CODE, 90 FIFTEEN_SEC_MILLIS, pendingIntent);
|
/developers/samples/android/ui/notifications/BasicNotifications/BasicNotificationsSample/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);
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
AlarmActivity.java | 21 import android.app.PendingIntent; 47 private PendingIntent mAlarmSender; 62 // Create a PendingIntent to trigger a startService() for AlarmService 63 mAlarmSender = PendingIntent.getService( // set up an intent for a call to a service
|