Home
last modified time | relevance | path

Searched refs:PendingIntent (Results 1 – 25 of 250) sorted by relevance

12345678910

/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java20 import android.app.PendingIntent;
33 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testRegisteredReceivePermissionGranted()
47 PendingIntent.OnFinished finish = new PendingIntent.OnFinished() { in testRegisteredReceivePermissionDenied()
48 public void onSendFinished(PendingIntent pi, Intent intent, in testRegisteredReceivePermissionDenied()
54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testRegisteredReceivePermissionDenied()
62 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testLocalReceivePermissionGranted()
74 PendingIntent.OnFinished finish = new PendingIntent.OnFinished() { in testLocalReceivePermissionDenied()
75 public void onSendFinished(PendingIntent pi, Intent intent, in testLocalReceivePermissionDenied()
81 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testLocalReceivePermissionDenied()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISms.aidl19 import android.app.PendingIntent;
129 in byte[] data, in PendingIntent sentIntent, in PendingIntent deliveryIntent); in sendData()
156 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriber()
157 in PendingIntent deliveryIntent); in sendDataForSubscriber()
183 in PendingIntent sentIntent, in PendingIntent deliveryIntent); in sendText()
210 in String scAddr, in String text, in PendingIntent sentIntent, in sendTextForSubscriber()
211 in PendingIntent deliveryIntent); in sendTextForSubscriber()
224 void injectSmsPdu(in byte[] pdu, String format, in PendingIntent receivedIntent); in injectSmsPdu()
249 in List<String> parts, in List<PendingIntent> sentIntents, in sendMultipartText()
250 in List<PendingIntent> deliveryIntents); in sendMultipartText()
[all …]
DIMms.aidl19 import android.app.PendingIntent;
43 String locationUrl, in Bundle configOverrides, in PendingIntent sentIntent); in sendMessage()
61 in PendingIntent downloadedIntent); in downloadMessage()
174 in Bundle configOverrides, in PendingIntent sentIntent); in sendStoredMessage()
/frameworks/base/core/java/android/app/
DPendingIntent.java92 public final class PendingIntent implements Parcelable { class
188 void onSendFinished(PendingIntent pendingIntent, Intent intent, in onSendFinished()
194 private final PendingIntent mPendingIntent;
201 FinishedDispatcher(PendingIntent pi, OnFinished who, Handler handler) { in FinishedDispatcher()
250 public static PendingIntent getActivity(Context context, int requestCode, in getActivity()
283 public static PendingIntent getActivity(Context context, int requestCode, in getActivity()
297 return target != null ? new PendingIntent(target) : null; in getActivity()
308 public static PendingIntent getActivityAsUser(Context context, int requestCode, in getActivityAsUser()
322 return target != null ? new PendingIntent(target) : null; in getActivityAsUser()
373 public static PendingIntent getActivities(Context context, int requestCode, in getActivities()
[all …]
DAlarmManager.java207 public void set(int type, long triggerAtMillis, PendingIntent operation) { in set()
268 long intervalMillis, PendingIntent operation) { in setRepeating()
318 PendingIntent operation) { in setWindow()
356 public void setExact(int type, long triggerAtMillis, PendingIntent operation) { in setExact()
384 public void setAlarmClock(AlarmClockInfo info, PendingIntent operation) { in setAlarmClock()
391 PendingIntent operation, WorkSource workSource) { in set()
396 PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) { in setImpl()
509 long intervalMillis, PendingIntent operation) { in setInexactRepeating()
523 public void cancel(PendingIntent operation) { in cancel()
597 private final PendingIntent mShowIntent;
[all …]
DTaskStackBuilder.java248 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags) { in getPendingIntent()
267 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags, in getPendingIntent()
274 return PendingIntent.getActivities(mSourceContext, requestCode, getIntents(), in getPendingIntent()
281 public PendingIntent getPendingIntent(int requestCode, int flags, Bundle options, in getPendingIntent()
288 return PendingIntent.getActivitiesAsUser(mSourceContext, requestCode, getIntents(), flags, in getPendingIntent()
DIAlarmManager.aidl20 import android.app.PendingIntent;
31 long interval, in PendingIntent operation, in WorkSource workSource, in set()
35 void remove(in PendingIntent operation); in remove()
/frameworks/support/v4/donut/android/support/v4/app/
DNotificationCompatBase.java19 import android.app.PendingIntent;
27 protected abstract PendingIntent getActionIntent(); in getActionIntent()
32 Action build(int icon, CharSequence title, PendingIntent actionIntent, in build()
43 abstract PendingIntent getReplyPendingIntent(); in getReplyPendingIntent()
44 abstract PendingIntent getReadPendingIntent(); in getReadPendingIntent()
50 PendingIntent replyPendingIntent, PendingIntent readPendingIntent, in build()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java7 import android.app.PendingIntent;
39 private final SparseArray<PendingIntent> mIntents = new SparseArray<PendingIntent>();
53 mIntents.put(R.drawable.ic_pause, PendingIntent.getBroadcast(mService, 100, new Intent( in NotificationHelper()
55 PendingIntent.FLAG_CANCEL_CURRENT)); in NotificationHelper()
56 mIntents.put(R.drawable.ic_play_arrow, PendingIntent.getBroadcast(mService, 100, in NotificationHelper()
58 PendingIntent.FLAG_CANCEL_CURRENT)); in NotificationHelper()
59 mIntents.put(R.drawable.ic_skip_previous, PendingIntent.getBroadcast(mService, 100, in NotificationHelper()
61 PendingIntent.FLAG_CANCEL_CURRENT)); in NotificationHelper()
62 mIntents.put(R.drawable.ic_skip_next, PendingIntent.getBroadcast(mService, 100, in NotificationHelper()
64 PendingIntent.FLAG_CANCEL_CURRENT)); in NotificationHelper()
[all …]
/frameworks/opt/telephony/src/java/android/telephony/gsm/
DSmsManager.java19 import android.app.PendingIntent;
78 PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendTextMessage()
130 ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) { in sendMultipartTextMessage()
163 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendDataMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DUiccSmsController.java22 import android.app.PendingIntent;
108 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendData()
114 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber()
115 PendingIntent deliveryIntent) { in sendDataForSubscriber()
127 String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendText()
133 String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendTextForSubscriber()
145 List<String> parts, List<PendingIntent> sentIntents, in sendMultipartText()
146 List<PendingIntent> deliveryIntents) throws android.os.RemoteException { in sendMultipartText()
152 String scAddr, List<String> parts, List<PendingIntent> sentIntents, in sendMultipartTextForSubscriber()
153 List<PendingIntent> deliveryIntents) in sendMultipartTextForSubscriber()
[all …]
DIccSmsInterfaceManager.java21 import android.app.PendingIntent;
346 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendData()
389 String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendText()
417 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPdu()
454 List<String> parts, List<PendingIntent> sentIntents, in sendMultipartText()
455 List<PendingIntent> deliveryIntents) { in sendMultipartText()
484 PendingIntent singleSentIntent = null; in sendMultipartText()
489 PendingIntent singleDeliveryIntent = null; in sendMultipartText()
502 (ArrayList<PendingIntent>) sentIntents, (ArrayList<PendingIntent>) deliveryIntents, in sendMultipartText()
878 PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendStoredText()
[all …]
DImsSMSDispatcher.java20 import android.app.PendingIntent;
21 import android.app.PendingIntent.CanceledException;
162 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendData()
174 ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, in sendMultipartText()
175 ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg) { in sendMultipartText()
199 protected void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendText()
200 PendingIntent deliveryIntent, Uri messageUri, String callingPkg) { in sendText()
212 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPdu()
357 String message, SmsHeader smsHeader, int format, PendingIntent sentIntent, in getNewSubmitPduTracker()
358 PendingIntent deliveryIntent, boolean lastPart, in getNewSubmitPduTracker()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceManager.java25 import android.app.PendingIntent;
42 public class GeofenceManager implements LocationListener, PendingIntent.OnFinished {
119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, in addFence()
143 public void removeFence(Geofence fence, PendingIntent intent) { in removeFence()
241 List<PendingIntent> enterIntents = new LinkedList<PendingIntent>(); in updateFences()
242 List<PendingIntent> exitIntents = new LinkedList<PendingIntent>(); in updateFences()
339 for (PendingIntent intent : exitIntents) { in updateFences()
342 for (PendingIntent intent : enterIntents) { in updateFences()
347 private void sendIntentEnter(PendingIntent pendingIntent) { in sendIntentEnter()
357 private void sendIntentExit(PendingIntent pendingIntent) { in sendIntentExit()
[all …]
/frameworks/base/docs/html/training/notify-user/
Dnavigation.jd15 <li><a href="#DirectEntry">Set up a regular activity PendingIntent</a></li>
16 <li><a href="#ExtendedNotification">Set up a special activity PendingIntent</a></li>
64 <h2 id="DirectEntry">Set Up a Regular Activity PendingIntent</h2>
66 To set up a {@link android.app.PendingIntent} that starts a direct entry
104 // Gets a PendingIntent containing the entire back stack
105 PendingIntent resultPendingIntent =
106 stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT);
115 <h2 id="ExtendedNotification">Set Up a Special Activity PendingIntent</h2>
123 and create the {@link android.app.PendingIntent} by calling
124 {@link android.app.PendingIntent#getActivity getActivity()}:
[all …]
/frameworks/base/core/java/android/text/style/
DEasyEditSpan.java19 import android.app.PendingIntent;
56 private final PendingIntent mPendingIntent;
74 public EasyEditSpan(PendingIntent pendingIntent) { in EasyEditSpan()
126 public PendingIntent getPendingIntent() { in getPendingIntent()
/frameworks/support/v4/honeycomb/android/support/v4/app/
DTaskStackBuilderHoneycomb.java19 import android.app.PendingIntent;
27 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, in getActivitiesPendingIntent()
29 return PendingIntent.getActivities(context, requestCode, intents, flags); in getActivitiesPendingIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java21 import android.app.PendingIntent;
133 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in onStorageStateChangedAsync()
201 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in onStorageStateChangedAsync()
215 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in onStorageStateChangedAsync()
259 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in updateUsbMassStorageNotification()
274 boolean sound, boolean visible, PendingIntent pi) { in setUsbStorageNotification()
309 pi = PendingIntent.getBroadcastAsUser(mContext, 0, intent, 0, in setUsbStorageNotification()
359 boolean dismissable, PendingIntent pi) { in setMediaStorageNotification()
402 pi = PendingIntent.getBroadcastAsUser(mContext, 0, intent, 0, in setMediaStorageNotification()
/frameworks/support/v4/jellybean/android/support/v4/app/
DTaskStackBuilderJellybean.java19 import android.app.PendingIntent;
26 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, in getActivitiesPendingIntent()
28 return PendingIntent.getActivities(context, requestCode, intents, flags, options); in getActivitiesPendingIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java20 import android.app.PendingIntent;
21 import android.app.PendingIntent.CanceledException;
94 PendingIntent intent = tracker.mDeliveryIntent; in handleCdmaStatusReport()
109 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendData()
130 protected void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendText()
131 PendingIntent deliveryIntent, Uri messageUri, String callingPkg) { in sendText()
155 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPdu()
170 PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, in getNewSubmitPduTracker()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsManager.java20 import android.app.PendingIntent;
259 PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendTextMessage()
295 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPdu()
371 ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) { in sendMultipartTextMessage()
390 PendingIntent sentIntent = null; in sendMultipartTextMessage()
391 PendingIntent deliveryIntent = null; in sendMultipartTextMessage()
435 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendDataMessage()
985 Bundle configOverrides, PendingIntent sentIntent) { in sendMultimediaMessage()
1016 Bundle configOverrides, PendingIntent downloadedIntent) { in downloadMultimediaMessage()
1290 public void sendStoredTextMessage(Uri messageUri, String scAddress, PendingIntent sentIntent, in sendStoredTextMessage()
[all …]
/frameworks/support/v4/gingerbread/android/support/v4/app/
DNotificationCompatGingerbread.java20 import android.app.PendingIntent;
25 CharSequence contentTitle, CharSequence contentText, PendingIntent contentIntent, in add()
26 PendingIntent fullScreenIntent) { in add()
/frameworks/support/v4/java/android/support/v4/app/
DTaskStackBuilder.java20 import android.app.PendingIntent;
77 PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, in getPendingIntent()
82 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, in getPendingIntent()
86 return PendingIntent.getActivity(context, requestCode, topIntent, flags); in getPendingIntent()
91 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, in getPendingIntent()
102 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, in getPendingIntent()
343 public PendingIntent getPendingIntent(int requestCode, int flags) { in getPendingIntent()
360 public PendingIntent getPendingIntent(int requestCode, int flags, Bundle options) { in getPendingIntent()
/frameworks/base/media/java/android/media/
DPlayerRecord.java19 import android.app.PendingIntent;
53 final private PendingIntent mMediaIntent;
154 final private PendingIntent mMediaIntent;
156 RcClientDeathHandler(IBinder cb, PendingIntent pi) { in RcClientDeathHandler()
219 protected PlayerRecord(PendingIntent mediaIntent, ComponentName eventReceiver, IBinder token) in PlayerRecord()
256 protected PendingIntent getMediaButtonIntent() { in getMediaButtonIntent()
260 protected boolean hasMatchingMediaButtonIntent(PendingIntent pi) { in hasMatchingMediaButtonIntent()
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
DWakeUpCall.java20 import android.app.PendingIntent;
79 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, in onReceive()
80 PendingIntent.FLAG_UPDATE_CURRENT); in onReceive()
86 am.cancel(PendingIntent.getBroadcast(context, 0, intent, 0)); in onReceive()

12345678910