/developers/build/prebuilts/gradle/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizListenerService.java | 34 import android.app.PendingIntent; 110 PendingIntent deleteIntent = PendingIntent.getService(this, 0, 111 deleteOperation, PendingIntent.FLAG_UPDATE_CURRENT); 140 PendingIntent updateIntent = PendingIntent.getService(this, 0, updateOperation, 141 PendingIntent.FLAG_UPDATE_CURRENT); 209 * Returns a PendingIntent that will send a message to the phone to reset the quiz when fired. 211 private PendingIntent getResetQuizPendingIntent() { 214 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) [all...] |
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizListenerService.java | 34 import android.app.PendingIntent; 110 PendingIntent deleteIntent = PendingIntent.getService(this, 0, 111 deleteOperation, PendingIntent.FLAG_UPDATE_CURRENT); 140 PendingIntent updateIntent = PendingIntent.getService(this, 0, updateOperation, 141 PendingIntent.FLAG_UPDATE_CURRENT); 209 * Returns a PendingIntent that will send a message to the phone to reset the quiz when fired. 211 private PendingIntent getResetQuizPendingIntent() { 214 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) [all...] |
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
QuizListenerService.java | 34 import android.app.PendingIntent; 110 PendingIntent deleteIntent = PendingIntent.getService(this, 0, 111 deleteOperation, PendingIntent.FLAG_UPDATE_CURRENT); 140 PendingIntent updateIntent = PendingIntent.getService(this, 0, updateOperation, 141 PendingIntent.FLAG_UPDATE_CURRENT); 209 * Returns a PendingIntent that will send a message to the phone to reset the quiz when fired. 211 private PendingIntent getResetQuizPendingIntent() { 214 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
ImsSMSDispatcher.java | 20 import android.app.PendingIntent; 21 import android.app.PendingIntent.CanceledException; 161 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { 173 ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, 174 ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, 199 public void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, 200 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, 214 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { 364 String message, SmsHeader smsHeader, int format, PendingIntent sentIntent [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
TestUtils.java | 32 // Here we're trying to wait on the main thread for a PendingIntent from a background 34 // to deliver the PendingIntent if we simply call await() on the main thread. In order to
|
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/ |
SynchronizedNotificationsFragment.java | 19 import android.app.PendingIntent; 94 * {@link android.app.PendingIntent} will be added to handle the dismissal of notification to 108 PendingIntent pendingIntent = 109 PendingIntent.getService( 113 PendingIntent.FLAG_UPDATE_CURRENT); 114 builder.setDeleteIntent(pendingIntent); 150 * achieved by creating a {@link android.app.PendingIntent} that results in removal of
|
/developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/ |
SynchronizedNotificationsFragment.java | 19 import android.app.PendingIntent; 94 * {@link android.app.PendingIntent} will be added to handle the dismissal of notification to 108 PendingIntent pendingIntent = 109 PendingIntent.getService( 113 PendingIntent.FLAG_UPDATE_CURRENT); 114 builder.setDeleteIntent(pendingIntent); 150 * achieved by creating a {@link android.app.PendingIntent} that results in removal of
|
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/ |
SynchronizedNotificationsFragment.java | 19 import android.app.PendingIntent; 94 * {@link android.app.PendingIntent} will be added to handle the dismissal of notification to 108 PendingIntent pendingIntent = 109 PendingIntent.getService( 113 PendingIntent.FLAG_UPDATE_CURRENT); 114 builder.setDeleteIntent(pendingIntent); 150 * achieved by creating a {@link android.app.PendingIntent} that results in removal of
|
/frameworks/base/core/java/android/nfc/ |
INfcAdapter.aidl | 19 import android.app.PendingIntent; 53 void setForegroundDispatch(in PendingIntent intent,
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipWakeupTimer.java | 20 import android.app.PendingIntent; 48 private PendingIntent mPendingIntent; 211 throw new RuntimeException("pendingIntent is not null!"); 217 PendingIntent pendingIntent = mPendingIntent = 218 PendingIntent.getBroadcast(mContext, 0, intent, 219 PendingIntent.FLAG_UPDATE_CURRENT); 221 event.mTriggerTime, pendingIntent);
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
MockAlarmManager.java | 19 import android.app.PendingIntent; 41 public void set(int actualAlarmType, long actualAlarmTime, PendingIntent operation) {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
ActionService.java | 19 import android.app.PendingIntent; 27 protected static PendingIntent makeStartActionPendingIntent(final Context context,
|
/packages/services/Telephony/src/com/android/phone/ |
HfaService.java | 19 import android.app.PendingIntent; 40 final PendingIntent otaResponseIntent = intent.getParcelableExtra(
|
/developers/build/prebuilts/gradle/ElizaChat/ |
README.md | 25 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 26 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_CANCEL_CURRENT); 30 R.drawable.ic_full_reply, getString(R.string.reply), pendingIntent)
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
UsbManager.java | 20 import android.app.PendingIntent; 60 * Name of extra added to the {@link android.app.PendingIntent} 166 * Success or failure is returned via the {@link android.app.PendingIntent} pi. 168 * PendingIntent to indicate success or failure. 173 * @param pi PendingIntent for returning result 175 public void requestPermission(UsbAccessory accessory, PendingIntent pi) {
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
SourceActivity.java | 23 import android.app.PendingIntent; 146 PendingIntent pendingIntent = PendingIntent.getBroadcast( 147 this, 0, intent, PendingIntent.FLAG_ONE_SHOT); 148 mUsbManager.requestPermission(accessory, pendingIntent);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ImsSMSDispatcherTest.java | 32 import android.app.PendingIntent; 169 // unmock ActivityManager to be able to register receiver, create real PendingIntent and 177 PendingIntent pendingIntent = PendingIntent.getBroadcast(realContext, 0, 181 mImsSmsDispatcher.injectSmsPdu(null, SmsConstants.FORMAT_3GPP, pendingIntent);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/location/ |
CountryDetector.java | 3 import android.app.PendingIntent; 108 final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, activeIntent, 109 PendingIntent.FLAG_UPDATE_CURRENT); 112 TIME_BETWEEN_UPDATES_MS, DISTANCE_BETWEEN_UPDATES_METERS, pendingIntent);
|
/frameworks/base/media/java/android/media/session/ |
MediaSessionLegacyHelper.java | 19 import android.app.PendingIntent; 20 import android.app.PendingIntent.CanceledException; 59 private ArrayMap<PendingIntent, SessionHolder> mSessions 60 = new ArrayMap<PendingIntent, SessionHolder>(); 163 public MediaSession getSession(PendingIntent pi) { 240 public void addRccListener(PendingIntent pi, MediaSession.Callback listener) { 267 public void removeRccListener(PendingIntent pi) { 283 public void addMediaButtonListener(PendingIntent pi, ComponentName mbrComponent, 311 public void removeMediaButtonListener(PendingIntent pi) { 363 private SessionHolder getHolder(PendingIntent pi, boolean createIfMissing) [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 20 import android.app.PendingIntent; 201 private static PendingIntent createClickEventIntent(Context context, long eventId, 207 private static PendingIntent createDeleteEventIntent(Context context, long eventId, 213 private static PendingIntent createDismissAlarmsIntent(Context context, long eventId, 224 // PendingIntent will be a unique instance (the 'extras' don't achieve this). 232 return PendingIntent.getService(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); 235 private static PendingIntent createSnoozeIntent(Context context, long eventId, 248 return PendingIntent.getService(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) [all...] |
/frameworks/base/core/java/android/content/ |
IntentSender.java | 54 * created from an existing {@link android.app.PendingIntent} with 55 * {@link android.app.PendingIntent#getIntentSender() PendingIntent.getIntentSender()}. 61 * Exception thrown when trying to send through a PendingIntent that 173 * @param requiredPermission Name of permission that a recipient of the PendingIntent 224 * @return The package name of the PendingIntent, or null if there is 239 * PendingIntent, that is the identity under which you will actually be 243 * @return The uid of the PendingIntent, or -1 if there is 258 * PendingIntent, that is the user under which you will actually be 264 * @return The user handle of the PendingIntent, or null if there i [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSMSDispatcher.java | 20 import android.app.PendingIntent; 21 import android.app.PendingIntent.CanceledException; 95 PendingIntent intent = tracker.mDeliveryIntent; 110 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { 142 public void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, 143 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, 175 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { 190 PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmSMSDispatcher.java | 20 import android.app.PendingIntent; 21 import android.app.PendingIntent.CanceledException; 135 PendingIntent intent = tracker.mDeliveryIntent; 154 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { 180 public void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, 181 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, 207 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { 222 PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
StopwatchModel.java | 20 import android.app.PendingIntent; 40 import static android.app.PendingIntent.FLAG_UPDATE_CURRENT; 211 final PendingIntent pendingShowApp = PendingIntent.getActivity(mContext, 0, showApp, 212 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_UPDATE_CURRENT); 311 private PendingIntent pendingServiceIntent(Intent intent) { 312 return PendingIntent.getService(mContext, 0, intent, FLAG_UPDATE_CURRENT); 315 private PendingIntent pendingActivityIntent(Intent intent) { 316 return PendingIntent.getActivity(mContext, 0, intent, FLAG_UPDATE_CURRENT) [all...] |
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
ContentRecommendation.java | 20 import android.app.PendingIntent; 278 * {@link Builder#setDismissIntentData} to indicate that a {@link PendingIntent} for an Activity 285 * {@link Builder#setDismissIntentData} to indicate that a {@link PendingIntent} for a Broadcast 292 * {@link Builder#setDismissIntentData} to indicate that a {@link PendingIntent} for a Service 298 * Object used to encapsulate the data to be used to build the {@link PendingIntent} object 302 * The members of this object correspond to the fields passed into the {@link PendingIntent} 303 * factory methods, when creating a new PendingIntent. [all...] |