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

1 2

  /packages/apps/Mms/src/com/android/mms/transaction/
SmsSingleRecipientSender.java 5 import android.app.PendingIntent;
79 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(messageCount);
80 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(messageCount);
86 deliveryIntents.add(PendingIntent.getBroadcast(
113 sentIntents.add(PendingIntent.getBroadcast(mContext, requestCode, intent, 0));
MessagingNotification.java 33 import android.app.PendingIntent;
    [all...]
  /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...]
  /frameworks/base/packages/Shell/src/com/android/shell/
BugreportReceiver.java 26 import android.app.PendingIntent;
92 builder.setContentIntent(PendingIntent.getActivity(
93 context, 0, notifIntent, PendingIntent.FLAG_CANCEL_CURRENT));
  /cts/tests/tests/app/src/android/app/cts/
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...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
SmsManagerTest.java 20 import android.app.PendingIntent;
173 private PendingIntent mSentIntent;
174 private PendingIntent mDeliveredIntent;
287 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>();
288 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>();
290 sentIntents.add(PendingIntent.getBroadcast(getContext(), 0, mSendIntent, 0));
291 deliveryIntents.add(PendingIntent.getBroadcast(getContext(), 0, mDeliveryIntent, 0));
309 mSentIntent = PendingIntent.getBroadcast(getContext(), 0, mSendIntent
    [all...]
  /frameworks/base/core/java/android/app/
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...]
ActivityManagerNative.java 100 static public void noteWakeupAlarm(PendingIntent ps) {
719 PendingIntent pi = getRunningServiceControlPanel(comp);
721 PendingIntent.writePendingIntentOrNullToParcel(pi, reply);
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/calllog/
DefaultVoicemailNotifier.java 21 import android.app.PendingIntent;
179 PendingIntent.getActivity(mContext, 0, playIntent, 0));
185 PendingIntent.getActivity(mContext, 0, contentIntent, 0));
197 private PendingIntent createMarkNewVoicemailsAsOldIntent() {
200 return PendingIntent.getService(mContext, 0, intent, 0);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadNotifier.java 28 import android.app.PendingIntent;
54 * {@link PendingIntent} that launch towards {@link DownloadReceiver}.
170 builder.setContentIntent(PendingIntent.getBroadcast(mContext,
171 0, intent, PendingIntent.FLAG_UPDATE_CURRENT));
194 builder.setContentIntent(PendingIntent.getBroadcast(mContext,
195 0, intent, PendingIntent.FLAG_UPDATE_CURRENT));
199 builder.setDeleteIntent(PendingIntent.getBroadcast(mContext, 0, hideIntent, 0));
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppNotification.java 40 import android.app.PendingIntent;
335 b.setContentIntent(PendingIntent.getBroadcast(mContext, 0, intent, 0));
406 outNoti.setLatestEventInfo(mContext, title, caption, PendingIntent.getBroadcast(
410 outNoti.deleteIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
453 inNoti.setLatestEventInfo(mContext, title, caption, PendingIntent.getBroadcast(
457 inNoti.deleteIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
497 n.setLatestEventInfo(mContext, title, caption, PendingIntent.getBroadcast(mContext, 0,
503 n.deleteIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
  /packages/apps/Phone/src/com/android/phone/
NotificationMgr.java 21 import android.app.PendingIntent;
539 .setContentIntent(PendingIntent.getActivity(mContext, 0, callLogIntent, 0))
578 private PendingIntent createClearMissedCallsIntent() {
581 return PendingIntent.getService(mContext, 0, intent, 0);
    [all...]
  /frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java 81 import android.app.PendingIntent;
745 builder.setDeleteIntent(PendingIntent.getBroadcast(
746 mContext, 0, snoozeIntent, PendingIntent.FLAG_UPDATE_CURRENT));
749 builder.setContentIntent(PendingIntent.getActivity(
750 mContext, 0, viewIntent, PendingIntent.FLAG_UPDATE_CURRENT));
    [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 

Completed in 415 milliseconds

1 2