/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...] |
/cts/tests/tests/app/src/android/app/cts/ |
PendingIntent_CanceledExceptionTest.java | 19 import android.app.PendingIntent; 20 import android.app.PendingIntent.CanceledException; 27 @TestTargetClass(PendingIntent.CanceledException.class) 33 method = "PendingIntent.CanceledException", 38 method = "PendingIntent.CanceledException", 43 method = "PendingIntent.CanceledException", 48 PendingIntent.CanceledException canceledException = new PendingIntent.CanceledException(); 56 canceledException = new PendingIntent.CanceledException(message); 64 canceledException = new PendingIntent.CanceledException(ex) [all...] |
PendingIntentTest.java | 19 import android.app.PendingIntent; 20 import android.app.PendingIntent.CanceledException; 34 @TestTargetClass(PendingIntent.class) 38 private PendingIntent mPendingIntent; 44 private PendingIntent.OnFinished mFinish; 53 mFinish = new PendingIntent.OnFinished() { 54 public void onSendFinished(PendingIntent pi, Intent intent, int resultCode, 114 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, 115 PendingIntent.FLAG_CANCEL_CURRENT); 126 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent [all...] |
NotificationTest.java | 20 import android.app.PendingIntent; 108 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); 109 mNotification.contentIntent = pendingIntent; 111 final PendingIntent delPendingIntent = PendingIntent.getBroadcast( 194 java.lang.CharSequence.class, android.app.PendingIntent.class} 200 final PendingIntent contentIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0) [all...] |
AlarmManagerTest.java | 25 import android.app.PendingIntent; 36 private PendingIntent mSender; 59 mSender = PendingIntent.getBroadcast(mContext, 0, mIntent, 0); 76 args = {int.class, long.class, android.app.PendingIntent.class} 120 args = {int.class, long.class, android.app.PendingIntent.class} 138 args = {int.class, long.class, long.class, android.app.PendingIntent.class} 157 args = {android.app.PendingIntent.class} 178 args = {int.class, long.class, long.class, android.app.PendingIntent.class}
|
/cts/tests/tests/telephony/src/android/telephony/gsm/cts/ |
SmsManagerTest.java | 21 import android.app.PendingIntent; 52 ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) { 57 protected void sendDataMessage(String destAddr,short port, byte[] data, PendingIntent sentIntent, PendingIntent deliveredIntent) { 62 protected void sendTextMessage(String destAddr, String text, PendingIntent sentIntent, PendingIntent deliveredIntent) {
|
/frameworks/base/core/java/android/app/ |
PendingIntent.java | 39 * <p>By giving a PendingIntent to another application, 42 * identity). As such, you should be careful about how you build the PendingIntent: 47 * <p>A PendingIntent itself is simply a reference to a token maintained by 50 * PendingIntent itself will remain usable from other processes that 52 * same kind of PendingIntent (same operation, same Intent action, data, 53 * categories, and components, and same flags), it will receive a PendingIntent 57 public final class PendingIntent implements Parcelable { 63 * PendingIntent can only be used once. If set, after 70 * {@link #getService}: if the described PendingIntent does not already 76 * {@link #getService}: if the described PendingIntent already exists [all...] |
IAlarmManager.aidl | 19 import android.app.PendingIntent; 27 void set(int type, long triggerAtTime, in PendingIntent operation); 28 void setRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation); 29 void setInexactRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation); 32 void remove(in PendingIntent operation);
|
PendingIntent.aidl | 20 parcelable PendingIntent;
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsManagerTest.java | 24 import android.app.PendingIntent; 100 private PendingIntent mSentIntent; 101 private PendingIntent mDeliveredIntent; 144 PendingIntent.class, PendingIntent.class} 149 args = {String.class, String.class, String.class, PendingIntent.class, 150 PendingIntent.class} 211 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(); 212 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>() [all...] |
/packages/apps/Phone/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/base/telephony/java/com/android/internal/telephony/ |
IccSmsInterfaceManagerProxy.java | 19 import android.app.PendingIntent; 54 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { 60 String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { 65 List<String> parts, List<PendingIntent> sentIntents, 66 List<PendingIntent> deliveryIntents) throws android.os.RemoteException {
|
IccSmsInterfaceManager.java | 19 import android.app.PendingIntent; 59 * @param sentIntent if not NULL this <code>PendingIntent</code> is 72 * @param deliveryIntent if not NULL this <code>PendingIntent</code> is 77 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { 96 * @param sentIntent if not NULL this <code>PendingIntent</code> is 109 * @param deliveryIntent if not NULL this <code>PendingIntent</code> is 114 String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { 135 * <code>PendingIntent</code>s (one for each message part) that i [all...] |
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...] |
/packages/apps/Music/src/com/android/music/ |
MediaAppWidgetProvider.java | 19 import android.app.PendingIntent; 175 PendingIntent pendingIntent; 181 pendingIntent = PendingIntent.getActivity(context, 183 views.setOnClickPendingIntent(R.id.album_appwidget, pendingIntent); 186 pendingIntent = PendingIntent.getActivity(context, 188 views.setOnClickPendingIntent(R.id.album_appwidget, pendingIntent); 193 pendingIntent = PendingIntent.getService(context [all...] |
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoReceiveGsmSmsPermissionTest.java | 19 import android.app.PendingIntent; 29 protected void sendSms(PendingIntent sentIntent, PendingIntent deliveryIntent,
|
NoReceiveSmsPermissionTest.java | 20 import android.app.PendingIntent; 86 PendingIntent sentIntent = PendingIntent.getBroadcast(getContext(), 0, 87 new Intent(MESSAGE_SENT_ACTION), PendingIntent.FLAG_ONE_SHOT); 88 PendingIntent deliveryIntent = PendingIntent.getBroadcast(getContext(), 0, 89 new Intent(MESSAGE_STATUS_RECEIVED_ACTION), PendingIntent.FLAG_ONE_SHOT); 99 protected void sendSms(String currentNumber, String text, PendingIntent sentIntent, 100 PendingIntent deliveryIntent) {
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
AnalogAppWidgetProvider.java | 22 import android.app.PendingIntent; 43 PendingIntent.getActivity(context, 0, 45 PendingIntent.FLAG_CANCEL_CURRENT));
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
BuildWidget.java | 19 import android.app.PendingIntent; 66 PendingIntent pendingIntent = PendingIntent.getActivity(context, 70 updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent);
|
/frameworks/base/location/java/android/location/ |
ILocationManager.aidl | 19 import android.app.PendingIntent; 44 boolean singleShot, in PendingIntent intent); 46 void removeUpdatesPI(in PendingIntent intent); 57 long expiration, in PendingIntent intent); 58 void removeProximityAlert(in PendingIntent intent);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SimFullReceiver.java | 25 import android.app.PendingIntent; 49 PendingIntent pendingIntent = PendingIntent.getActivity( 60 pendingIntent);
|
SmsRejectedReceiver.java | 23 import android.app.PendingIntent; 61 PendingIntent pendingIntent = PendingIntent.getActivity( 83 pendingIntent);
|
SmsSingleRecipientSender.java | 5 import android.app.PendingIntent; 67 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(messageCount); 68 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(messageCount); 74 deliveryIntents.add(PendingIntent.getBroadcast( 90 sentIntents.add(PendingIntent.getBroadcast(
|
/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,
|
/frameworks/base/voip/java/android/net/sip/ |
ISipService.aidl | 19 import android.app.PendingIntent; 30 in PendingIntent incomingCallPendingIntent,
|