/development/samples/browseable/RepeatingAlarm/src/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);
|
/external/chromium_org/tools/android/memconsumer/java/src/org/chromium/memconsumer/ |
ResidentService.java | 8 import android.app.PendingIntent; 40 PendingIntent pendingIntent = 41 PendingIntent.getActivity(this, 0, notificationIntent, 0); 46 setDeleteIntent(pendingIntent). 47 setContentIntent(pendingIntent).
|
/external/deqp/android/package/src/com/drawelements/deqp/execserver/ |
ExecService.java | 28 import android.app.PendingIntent; 65 PendingIntent pm = PendingIntent.getActivity(this, 0, launchIntent, 0);
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
AlarmImpl.java | 20 import android.app.PendingIntent; 53 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, wakupIntent, 0);
|
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
NotificationCompatHoneycomb.java | 20 import android.app.PendingIntent; 29 PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon) {
|
/frameworks/support/v4/ics/android/support/v4/app/ |
NotificationCompatIceCreamSandwich.java | 20 import android.app.PendingIntent; 29 PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon,
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/session/ |
MediaSessionCompatApi18.java | 18 import android.app.PendingIntent; 31 public static void registerMediaButtonEventReceiver(Context context, PendingIntent pi) { 36 public static void unregisterMediaButtonEventReceiver(Context context, PendingIntent pi) {
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SimFullReceiver.java | 22 import android.app.PendingIntent; 49 PendingIntent pendingIntent = PendingIntent.getActivity( 60 pendingIntent);
|
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));
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarProvider2ForTesting.java | 4 import android.app.PendingIntent; 61 public void set(int type, long triggerAtTime, PendingIntent operation) { 65 public void cancel(PendingIntent operation) {
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
CallServiceNotifier.java | 23 import android.app.PendingIntent; 175 final PendingIntent intent = createShowAllPhoneAccountsIntent(context); 210 private PendingIntent createExitIntent(Context context) { 214 return PendingIntent.getBroadcast(context, 0, intent, 0); 220 private PendingIntent createRegisterPhoneAccountIntent(Context context) { 223 return PendingIntent.getBroadcast(context, 0, intent, 0); 229 private PendingIntent createShowAllPhoneAccountsIntent(Context context) { 232 return PendingIntent.getBroadcast(context, 0, intent, 0); 238 private PendingIntent createIncomingVideoCall(Context context) { 241 return PendingIntent.getBroadcast(context, 0, intent, 0) [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
GeofenceManager.java | 25 import android.app.PendingIntent; 42 public class GeofenceManager implements LocationListener, PendingIntent.OnFinished { 119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, 143 public void removeFence(Geofence fence, PendingIntent intent) { 241 List<PendingIntent> enterIntents = new LinkedList<PendingIntent>(); 242 List<PendingIntent> exitIntents = new LinkedList<PendingIntent>(); 339 for (PendingIntent intent : exitIntents) { 342 for (PendingIntent intent : enterIntents) [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
NotificationHelper.java | 7 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( 55 PendingIntent.FLAG_CANCEL_CURRENT)); 56 mIntents.put(R.drawable.ic_play_arrow, PendingIntent.getBroadcast(mService, 100, 58 PendingIntent.FLAG_CANCEL_CURRENT)); 59 mIntents.put(R.drawable.ic_skip_previous, PendingIntent.getBroadcast(mService, 100, 61 PendingIntent.FLAG_CANCEL_CURRENT)); 62 mIntents.put(R.drawable.ic_skip_next, PendingIntent.getBroadcast(mService, 100 [all...] |
/external/chromium_org/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/ |
DebugService.java | 8 import android.app.PendingIntent; 88 PendingIntent showInfoPendingIntent = 89 PendingIntent.getActivity(DebugService.this, 0, showInfoIntent, 0); 93 PendingIntent stopPendingIntent = 94 PendingIntent.getService(DebugService.this, 0, stopIntent, 0);
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
WakeUpCall.java | 20 import android.app.PendingIntent; 79 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, 80 PendingIntent.FLAG_UPDATE_CURRENT); 86 am.cancel(PendingIntent.getBroadcast(context, 0, intent, 0));
|
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessagingService.java | 19 import android.app.PendingIntent; 120 PendingIntent readPendingIntent = PendingIntent.getBroadcast(getApplicationContext(), 123 PendingIntent.FLAG_UPDATE_CURRENT); 131 PendingIntent replyIntent = PendingIntent.getBroadcast(getApplicationContext(), 134 PendingIntent.FLAG_UPDATE_CURRENT);
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessagingService.java | 19 import android.app.PendingIntent; 120 PendingIntent readPendingIntent = PendingIntent.getBroadcast(getApplicationContext(), 123 PendingIntent.FLAG_UPDATE_CURRENT); 131 PendingIntent replyIntent = PendingIntent.getBroadcast(getApplicationContext(), 134 PendingIntent.FLAG_UPDATE_CURRENT);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlarmController.java | 25 import android.app.PendingIntent; 92 PendingIntent sender = PendingIntent.getBroadcast(AlarmController.this, 124 PendingIntent sender = PendingIntent.getBroadcast(AlarmController.this, 151 PendingIntent sender = PendingIntent.getBroadcast(AlarmController.this,
|
IncomingMessage.java | 26 import android.app.PendingIntent; 114 // The PendingIntent to launch our activity if the user selects this 118 PendingIntent contentIntent = PendingIntent.getActivities(this, 0, 119 makeMessageIntentStack(this, from, message), PendingIntent.FLAG_CANCEL_CURRENT); 163 // The PendingIntent to launch our activity if the user selects this 171 PendingIntent contentIntent = PendingIntent.getActivity(this, 0, 172 intent, PendingIntent.FLAG_CANCEL_CURRENT);
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
MessagingService.java | 19 import android.app.PendingIntent; 120 PendingIntent readPendingIntent = PendingIntent.getBroadcast(getApplicationContext(), 123 PendingIntent.FLAG_UPDATE_CURRENT); 131 PendingIntent replyIntent = PendingIntent.getBroadcast(getApplicationContext(), 134 PendingIntent.FLAG_UPDATE_CURRENT);
|
/frameworks/base/core/java/android/app/ |
TaskStackBuilder.java | 75 * @param context The context that will launch the new task stack or generate a PendingIntent 237 * Obtain a {@link PendingIntent} for launching the task constructed by this builder so far. 240 * @param flags May be {@link PendingIntent#FLAG_ONE_SHOT}, 241 * {@link PendingIntent#FLAG_NO_CREATE}, {@link PendingIntent#FLAG_CANCEL_CURRENT}, 242 * {@link PendingIntent#FLAG_UPDATE_CURRENT}, or any of the flags supported by 246 * @return The obtained PendingIntent 248 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags) { 253 * Obtain a {@link PendingIntent} for launching the task constructed by this builder so far [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 20 import android.app.PendingIntent; 97 PendingIntent pendingIntent = PendingIntent.getActivity( 98 context, 0, clickIntent, PendingIntent.FLAG_UPDATE_CURRENT); 99 views.setPendingIntentTemplate(R.id.appwidget_stack_view, pendingIntent); 120 PendingIntent pendingClickIntent = PendingIntent.getActivity(context, 0, 121 clickIntent, PendingIntent.FLAG_CANCEL_CURRENT);
|
/packages/apps/Mms/src/com/android/mms/widget/ |
MmsWidgetProvider.java | 19 import android.app.PendingIntent; 85 PendingIntent clickIntent; 97 clickIntent = PendingIntent.getActivity( 98 context, 0, convIntent, PendingIntent.FLAG_UPDATE_CURRENT); 104 clickIntent = PendingIntent.getActivity( 105 context, 0, composeIntent, PendingIntent.FLAG_UPDATE_CURRENT); 115 taskStackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
UiccSmsController.java | 22 import android.app.PendingIntent; 108 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { 114 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, 115 PendingIntent deliveryIntent) { 127 String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { 133 String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { 145 List<String> parts, List<PendingIntent> sentIntents [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
LocationManagerTest.java | 3 import android.app.PendingIntent; 175 PendingIntent someLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric 177 PendingIntent.FLAG_UPDATE_CURRENT); 179 PendingIntent someOtherLocationListenerPendingIntent = PendingIntent.getBroadcast( 181 PendingIntent.FLAG_UPDATE_CURRENT); 193 Map<PendingIntent, Criteria> expectedCriteria = new HashMap<PendingIntent, Criteria>(); 213 PendingIntent someLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric.getShadowApplication(). (…) [all...] |