HomeSort by relevance Sort by last modified time
    Searched refs:PendingIntent (Results 1 - 25 of 331) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/
PendingIntent.aidl 20 parcelable PendingIntent;
IAlarmManager.aidl 19 import android.app.PendingIntent;
30 long interval, in PendingIntent operation, in WorkSource workSource);
33 void remove(in PendingIntent operation);
AlarmManager.java 55 * {@link #setWindow(int, long, long, PendingIntent)} and
56 * {@link #setExact(int, long, PendingIntent)}. Applications whose {@code targetSdkVersion}
160 * the necessary behavior; see {@link #setWindow(int, long, long, PendingIntent)}
161 * and {@link #setExact(int, long, PendingIntent)}.
174 * typically comes from {@link PendingIntent#getBroadcast
190 public void set(int type, long triggerAtMillis, PendingIntent operation) {
234 * typically comes from {@link PendingIntent#getBroadcast
251 long intervalMillis, PendingIntent operation) {
257 * is similar to {@link #set(int, long, PendingIntent)}, but allows the
270 * {@link #set(int, long, PendingIntent)} method. This will give the OS the mos
    [all...]
PendingIntent.java 40 * <p>By giving a PendingIntent to another application,
43 * identity). As such, you should be careful about how you build the PendingIntent:
48 * <p>A PendingIntent itself is simply a reference to a token maintained by
51 * PendingIntent itself will remain usable from other processes that
53 * same kind of PendingIntent (same operation, same Intent action, data,
54 * categories, and components, and same flags), it will receive a PendingIntent
59 * are considered to be the same for purposes of retrieving a PendingIntent.
60 * A common mistake people make is to create multiple PendingIntent objects
62 * a different PendingIntent each time. This does <em>not</em> happen. The
67 * the same PendingIntent for both of them
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlarmManagerInterface.java 19 import android.app.PendingIntent;
25 public void set(int type, long triggerAtMillis, PendingIntent operation);
  /cts/tests/tests/app/src/android/app/cts/
PendingIntent_CanceledExceptionTest.java 19 import android.app.PendingIntent;
20 import android.app.PendingIntent.CanceledException;
26 PendingIntent.CanceledException canceledException = new PendingIntent.CanceledException();
34 canceledException = new PendingIntent.CanceledException(message);
42 canceledException = new PendingIntent.CanceledException(ex);
PendingIntentTest.java 19 import android.app.PendingIntent;
20 import android.app.PendingIntent.CanceledException;
33 private PendingIntent mPendingIntent;
39 private PendingIntent.OnFinished mFinish;
48 mFinish = new PendingIntent.OnFinished() {
49 public void onSendFinished(PendingIntent pi, Intent intent, int resultCode,
104 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent,
105 PendingIntent.FLAG_CANCEL_CURRENT);
116 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent,
117 PendingIntent.FLAG_NO_CREATE)
    [all...]
  /packages/services/Telephony/src/com/android/phone/
SipUtil.java 19 import android.app.PendingIntent;
28 public static PendingIntent createIncomingCallPendingIntent() {
32 return PendingIntent.getBroadcast(phoneContext, 0, intent,
33 PendingIntent.FLAG_UPDATE_CURRENT);
  /frameworks/support/v4/honeycomb/android/support/v4/app/
TaskStackBuilderHoneycomb.java 19 import android.app.PendingIntent;
27 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode,
29 return PendingIntent.getActivities(context, requestCode, intents, flags);
  /frameworks/base/core/tests/coretests/src/android/app/activity/
IntentSenderTest.java 20 import android.app.PendingIntent;
33 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0,
47 PendingIntent.OnFinished finish = new PendingIntent.OnFinished() {
48 public void onSendFinished(PendingIntent pi, Intent intent,
54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0);
62 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0
    [all...]
  /frameworks/support/v4/jellybean/android/support/v4/app/
TaskStackBuilderJellybean.java 19 import android.app.PendingIntent;
26 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode,
28 return PendingIntent.getActivities(context, requestCode, intents, flags, options);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSmsManager.java 3 import android.app.PendingIntent;
28 PendingIntent sentIntent, PendingIntent deliveryIntent) {
56 private PendingIntent sentIntent;
57 private PendingIntent deliveryIntent;
61 PendingIntent sentIntent, PendingIntent deliveryIntent) {
81 public PendingIntent getSentIntent() {
85 public PendingIntent getDeliveryIntent() {
ShadowNotification.java 4 import android.app.PendingIntent;
31 CharSequence contentText, PendingIntent contentIntent) {
43 private final PendingIntent contentIntent;
45 private LatestEventInfo(CharSequence contentTitle, CharSequence contentText, PendingIntent contentIntent) {
59 public PendingIntent getContentIntent() {
ShadowAlarmManager.java 4 import android.app.PendingIntent;
24 public void set(int type, long triggerAtTime, PendingIntent operation) {
29 public void setRepeating (int type, long triggerAtTime, long interval, PendingIntent operation){
33 private void internalSet(int type, long triggerAtTime, long interval, PendingIntent operation) {
80 public void cancel(PendingIntent pendingIntent) {
81 final Intent intentTypeToRemove = shadowOf(pendingIntent).getSavedIntent();
91 * Container object to hold an PendingIntent, together with the alarm
98 public PendingIntent operation;
100 public ScheduledAlarm(int type, long triggerAtTime, PendingIntent operation)
    [all...]
ShadowNfcAdapter.java 4 import android.app.PendingIntent;
19 private PendingIntent intent;
42 public void enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) {
58 public PendingIntent getIntent() {
  /frameworks/base/telephony/java/com/android/internal/telephony/
ISms.aidl 19 import android.app.PendingIntent;
75 * @param sentIntent if not NULL this <code>PendingIntent</code> is
88 * @param deliveryIntent if not NULL this <code>PendingIntent</code> is
93 in byte[] data, in PendingIntent sentIntent, in PendingIntent deliveryIntent);
101 * @param sentIntent if not NULL this <code>PendingIntent</code> is
114 * @param deliveryIntent if not NULL this <code>PendingIntent</code> is
119 in PendingIntent sentIntent, in PendingIntent deliveryIntent);
130 * <code>PendingIntent</code>s (one for each message part) that i
    [all...]
  /cts/tests/tests/telephony/src/android/telephony/gsm/cts/
SmsManagerTest.java 21 import android.app.PendingIntent;
43 ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) {
48 protected void sendDataMessage(String destAddr,short port, byte[] data, PendingIntent sentIntent, PendingIntent deliveredIntent) {
53 protected void sendTextMessage(String destAddr, String text, PendingIntent sentIntent, PendingIntent deliveredIntent) {
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AlarmManagerTest.java 6 import android.app.PendingIntent;
43 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0));
53 PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0));
60 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0));
61 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0));
66 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, 0, AlarmManager.INTERVAL_HOUR, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0));
67 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, 0, AlarmManager.INTERVAL_HOUR, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0));
76 PendingIntent pendingIntent = PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)
    [all...]
PendingIntentTest.java 12 import android.app.PendingIntent;
29 PendingIntent service = PendingIntent.getService(null, 0, expectedIntent, 0);
38 PendingIntent pendingIntent = PendingIntent.getBroadcast(Robolectric.application, 99, intent, 100);
39 ShadowPendingIntent shadow = shadowOf(pendingIntent);
50 PendingIntent pendingIntent = PendingIntent.getActivity(Robolectric.application, 99, intent, 100)
    [all...]
NotificationTest.java 5 import android.app.PendingIntent;
18 PendingIntent pendingIntent = PendingIntent.getActivity(new Activity(), 0, new Intent(), 0);
20 notification.setLatestEventInfo(new Activity(), "title", "content", pendingIntent);
21 assertThat(pendingIntent, is(notification.contentIntent));
  /frameworks/base/core/java/android/text/style/
EasyEditSpan.java 19 import android.app.PendingIntent;
56 private final PendingIntent mPendingIntent;
70 * @param pendingIntent The intent will be sent when the wrapped text is deleted or modified.
74 public EasyEditSpan(PendingIntent pendingIntent) {
75 mPendingIntent = pendingIntent;
126 public PendingIntent getPendingIntent() {
  /frameworks/opt/telephony/src/java/android/telephony/gsm/
SmsManager.java 19 import android.app.PendingIntent;
58 * @param sentIntent if not NULL this <code>PendingIntent</code> is
68 * @param deliveryIntent if not NULL this <code>PendingIntent</code> is
78 PendingIntent sentIntent, PendingIntent deliveryIntent) {
108 * <code>PendingIntent</code>s (one for each message part) that is
119 * <code>PendingIntent</code>s (one for each message part) that is
130 ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) {
143 * @param sentIntent if not NULL this <code>PendingIntent</code> i
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDiscoverableTimeoutReceiver.java 21 import android.app.PendingIntent;
42 PendingIntent pending = PendingIntent.getBroadcast(
52 pending = PendingIntent.getBroadcast(
63 PendingIntent pending = PendingIntent.getBroadcast(
64 context, 0, intent, PendingIntent.FLAG_NO_CREATE);
  /packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
ToastService.java 20 import android.app.PendingIntent;
63 public static PendingIntent getPendingIntent(Context context, String text) {
68 PendingIntent pi = PendingIntent.getService(
69 context, 58, toastIntent, PendingIntent.FLAG_UPDATE_CURRENT);
  /frameworks/base/media/java/android/media/
IRemoteControlDisplay.aidl 19 import android.app.PendingIntent;
35 * @param clientMediaIntent the PendingIntent associated with the client.
40 void setCurrentClientId(int clientGeneration, in PendingIntent clientMediaIntent,

Completed in 546 milliseconds

1 2 3 4 5 6 7 8 91011>>