/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | IntentSenderTest.java | 20 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/ |
D | ISms.aidl | 19 import android.app.PendingIntent; 98 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriber() 99 in PendingIntent deliveryIntent); in sendDataForSubscriber() 126 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions() 127 in PendingIntent deliveryIntent); in sendDataForSubscriberWithSelfPermissions() 158 in String scAddr, in String text, in PendingIntent sentIntent, in sendTextForSubscriber() 159 in PendingIntent deliveryIntent, in boolean persistMessageForNonDefaultSmsApp); in sendTextForSubscriber() 186 in String destAddr, in String scAddr, in String text, in PendingIntent sentIntent, in sendTextForSubscriberWithSelfPermissions() 187 in PendingIntent deliveryIntent, in boolean persistMessage); in sendTextForSubscriberWithSelfPermissions() 202 int subId, in byte[] pdu, String format, in PendingIntent receivedIntent); in injectSmsPduForSubscriber() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/ |
D | IEuiccController.aidl | 19 import android.app.PendingIntent; 29 String callingPackage, in PendingIntent callbackIntent); in getDownloadableSubscriptionMetadata() 31 String callingPackage, in PendingIntent callbackIntent); in getDefaultDownloadableSubscriptionList() 34 boolean switchAfterDownload, String callingPackage, in PendingIntent callbackIntent); in downloadSubscription() 37 in PendingIntent callbackIntent); in deleteSubscription() 39 in PendingIntent callbackIntent); in switchToSubscription() 41 in PendingIntent callbackIntent); in updateSubscriptionNickname() 42 oneway void eraseSubscriptions(in PendingIntent callbackIntent); in eraseSubscriptions() 43 oneway void retainSubscriptionsForFactoryReset(in PendingIntent callbackIntent); in retainSubscriptionsForFactoryReset()
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 94 public final class PendingIntent implements Parcelable { class 200 void onSendFinished(PendingIntent pendingIntent, Intent intent, in onSendFinished() 206 private final PendingIntent mPendingIntent; 214 FinishedDispatcher(PendingIntent pi, OnFinished who, Handler handler) { in FinishedDispatcher() 259 void onMarshaled(PendingIntent intent, Parcel parcel, int flags); in onMarshaled() 302 public static PendingIntent getActivity(Context context, int requestCode, in getActivity() 335 public static PendingIntent getActivity(Context context, int requestCode, in getActivity() 349 return target != null ? new PendingIntent(target) : null; in getActivity() 360 public static PendingIntent getActivityAsUser(Context context, int requestCode, in getActivityAsUser() 374 return target != null ? new PendingIntent(target) : null; in getActivityAsUser() [all …]
|
D | AlarmManager.java | 346 public void set(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in set() 435 long intervalMillis, PendingIntent operation) { in setRepeating() 485 PendingIntent operation) { in setWindow() 538 public void setExact(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in setExact() 593 public void setAlarmClock(AlarmClockInfo info, PendingIntent operation) { in setAlarmClock() 602 long intervalMillis, PendingIntent operation, WorkSource workSource) { in set() 644 long intervalMillis, int flags, PendingIntent operation, final OnAlarmListener listener, in setImpl() 778 long intervalMillis, PendingIntent operation) { in setInexactRepeating() 828 PendingIntent operation) { in setAndAllowWhileIdle() 882 PendingIntent operation) { in setExactAndAllowWhileIdle() [all …]
|
D | TaskStackBuilder.java | 248 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()
|
D | AuthenticationRequiredException.java | 42 private final PendingIntent mUserAction; 46 this(new SecurityException(in.readString()), PendingIntent.CREATOR.createFromParcel(in)); in AuthenticationRequiredException() 61 public AuthenticationRequiredException(Throwable cause, PendingIntent userAction) { in AuthenticationRequiredException() 69 public PendingIntent getUserAction() { in getUserAction()
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccManager.java | 21 import android.app.PendingIntent; 229 boolean switchAfterDownload, PendingIntent callbackIntent) { in downloadSubscription() 262 PendingIntent callbackIntent) throws IntentSender.SendIntentException { in startResolutionActivity() 263 PendingIntent resolutionIntent = in startResolutionActivity() 290 PendingIntent callbackIntent = in continueOperation() 325 DownloadableSubscription subscription, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata() 355 public void getDefaultDownloadableSubscriptionList(PendingIntent callbackIntent) { in getDefaultDownloadableSubscriptionList() 399 public void deleteSubscription(int subscriptionId, PendingIntent callbackIntent) { in deleteSubscription() 426 public void switchToSubscription(int subscriptionId, PendingIntent callbackIntent) { in switchToSubscription() 452 int subscriptionId, String nickname, PendingIntent callbackIntent) { in updateSubscriptionNickname() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | UiccSmsController.java | 23 import android.app.PendingIntent; 101 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() 102 PendingIntent deliveryIntent) { in sendDataForSubscriber() 116 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions() 117 PendingIntent deliveryIntent) { in sendDataForSubscriberWithSelfPermissions() 129 String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendText() 136 String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextForSubscriber() 150 String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendTextForSubscriberWithSelfPermissions() 151 PendingIntent deliveryIntent, boolean persistMessage) { in sendTextForSubscriberWithSelfPermissions() 163 List<String> parts, List<PendingIntent> sentIntents, in sendMultipartText() [all …]
|
D | IccSmsInterfaceManager.java | 25 import android.app.PendingIntent; 323 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendDataWithSelfPermissions() 336 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendData() 371 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendDataInternal() 390 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendText() 404 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextWithSelfPermissions() 439 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextInternal() 468 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPdu() 505 List<String> parts, List<PendingIntent> sentIntents, in sendMultipartText() 506 List<PendingIntent> deliveryIntents, boolean persistMessageForNonDefaultSmsApp) { in sendMultipartText() [all …]
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | 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( 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/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaNotificationManager.java | 20 import android.app.PendingIntent; 67 private PendingIntent mPauseIntent; 68 private PendingIntent mPlayIntent; 69 private PendingIntent mPreviousIntent; 70 private PendingIntent mNextIntent; 86 mPauseIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager() 87 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager() 88 mPlayIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager() 89 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager() 90 mPreviousIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | RemoteBugreportUtils.java | 21 import android.app.PendingIntent; 64 PendingIntent pendingDialogIntent = PendingIntent.getActivityAsUser(context, type, in buildNotification() 85 PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(context, NOTIFICATION_ID, in buildNotification() 87 PendingIntent.FLAG_CANCEL_CURRENT); in buildNotification() 88 PendingIntent pendingIntentDecline = PendingIntent.getBroadcast(context, in buildNotification() 91 PendingIntent.FLAG_CANCEL_CURRENT); in buildNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 24 import android.app.PendingIntent; 366 final PendingIntent initIntent = buildInitPendingIntent(vol); in onVolumeMounted() 382 final PendingIntent browseIntent = buildBrowsePendingIntent(vol); in onVolumeMounted() 481 final PendingIntent intent; in onMoveProgress() 530 final PendingIntent intent; in onMoveFinished() 589 private PendingIntent buildInitPendingIntent(DiskInfo disk) { in buildInitPendingIntent() 601 return PendingIntent.getActivityAsUser(mContext, requestKey, intent, in buildInitPendingIntent() 602 PendingIntent.FLAG_CANCEL_CURRENT, null, UserHandle.CURRENT); in buildInitPendingIntent() 605 private PendingIntent buildInitPendingIntent(VolumeInfo vol) { in buildInitPendingIntent() 617 return PendingIntent.getActivityAsUser(mContext, requestKey, intent, in buildInitPendingIntent() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothDiscoverableTimeoutReceiver.java | 21 import android.app.PendingIntent; 40 PendingIntent pending = PendingIntent.getBroadcast( in setDiscoverableAlarm() 50 pending = PendingIntent.getBroadcast( in setDiscoverableAlarm() 61 PendingIntent pending = PendingIntent.getBroadcast( in cancelDiscoverableAlarm() 62 context, 0, intent, PendingIntent.FLAG_NO_CREATE); in cancelDiscoverableAlarm()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | AlarmManagerCompat.java | 20 import android.app.PendingIntent; 56 PendingIntent showIntent, PendingIntent operation) { in setAlarmClock() 114 long triggerAtMillis, PendingIntent operation) { in setAndAllowWhileIdle() 159 PendingIntent operation) { in setExact() 219 long triggerAtMillis, PendingIntent operation) { in setExactAndAllowWhileIdle()
|
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
D | SmsManager.java | 19 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/base/services/core/java/com/android/server/location/ |
D | GeofenceManager.java | 25 import android.app.PendingIntent; 46 public class GeofenceManager implements LocationListener, PendingIntent.OnFinished { 151 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, in addFence() 175 public void removeFence(Geofence fence, PendingIntent intent) { in removeFence() 273 List<PendingIntent> enterIntents = new LinkedList<PendingIntent>(); in updateFences() 274 List<PendingIntent> exitIntents = new LinkedList<PendingIntent>(); in updateFences() 371 for (PendingIntent intent : exitIntents) { in updateFences() 374 for (PendingIntent intent : enterIntents) { in updateFences() 379 private void sendIntentEnter(PendingIntent pendingIntent) { in sendIntentEnter() 389 private void sendIntentExit(PendingIntent pendingIntent) { in sendIntentExit() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 21 import android.app.PendingIntent; 146 PendingIntent callbackIntent = in continueOperation() 179 String callingPackage, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata() 185 boolean forceDeactivateSim, String callingPackage, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata() 205 protected final PendingIntent mCallbackIntent; 211 PendingIntent callbackIntent) { in GetMetadataCommandCallback() 261 boolean switchAfterDownload, String callingPackage, PendingIntent callbackIntent) { in downloadSubscription() 268 PendingIntent callbackIntent) { in downloadSubscription() 300 PendingIntent callbackIntent) { in DownloadSubscriptionGetMetadataCommandCallback() 384 final PendingIntent callbackIntent) { in downloadSubscriptionPrivileged() [all …]
|
D | EuiccOperation.java | 20 import android.app.PendingIntent; 186 public void continueOperation(Bundle resolutionExtras, PendingIntent callbackIntent) { in continueOperation() 230 boolean consent, PendingIntent callbackIntent) { in resolvedGetMetadataDeactivateSim() 246 boolean consent, PendingIntent callbackIntent) { in resolvedDownloadDeactivateSim() 262 private void resolvedDownloadNoPrivileges(boolean consent, PendingIntent callbackIntent) { in resolvedDownloadNoPrivileges() 288 boolean consent, PendingIntent callbackIntent) { in resolvedGetDefaultListDeactivateSim() 301 boolean consent, PendingIntent callbackIntent) { in resolvedSwitchDeactivateSim() 316 private void resolvedSwitchNoPrivileges(boolean consent, PendingIntent callbackIntent) { in resolvedSwitchNoPrivileges() 342 private static void fail(PendingIntent callbackIntent) { in fail()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 22 import android.app.PendingIntent; 311 PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendTextMessage() 317 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextMessageInternal() 353 PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendTextMessageWithoutPersisting() 369 PendingIntent sentIntent, PendingIntent deliveryIntent, boolean persistMessage) { in sendTextMessageWithSelfPermissions() 406 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPdu() 483 ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) { in sendMultipartTextMessage() 490 List<PendingIntent> sentIntents, List<PendingIntent> deliveryIntents, in sendMultipartTextMessageInternal() 510 PendingIntent sentIntent = null; in sendMultipartTextMessageInternal() 511 PendingIntent deliveryIntent = null; in sendMultipartTextMessageInternal() [all …]
|
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
D | ContentRecommendation.java | 20 import android.app.PendingIntent; 1103 PendingIntent contentPending; in getNotificationObject() 1105 contentPending = PendingIntent.getActivity(context, mContentIntentData.mRequestCode, in getNotificationObject() 1106 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT, in getNotificationObject() 1109 contentPending = PendingIntent.getService(context, mContentIntentData.mRequestCode, in getNotificationObject() 1110 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject() 1112 contentPending = PendingIntent.getBroadcast(context, in getNotificationObject() 1114 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject() 1120 PendingIntent dismissPending; in getNotificationObject() 1122 dismissPending = PendingIntent.getActivity(context, mDismissIntentData.mRequestCode, in getNotificationObject() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | EasyEditSpan.java | 19 import android.app.PendingIntent; 56 private final PendingIntent mPendingIntent; 74 public EasyEditSpan(PendingIntent pendingIntent) { in EasyEditSpan() 136 public PendingIntent getPendingIntent() { in getPendingIntent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSMSDispatcher.java | 20 import android.app.PendingIntent; 21 import android.app.PendingIntent.CanceledException; 95 PendingIntent intent = tracker.mDeliveryIntent; in handleCdmaStatusReport() 110 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendData() 142 public void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendText() 143 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, in sendText() 175 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPdu() 190 PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, in getNewSubmitPduTracker()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WorkLockActivity.java | 27 import android.app.PendingIntent; 149 final PendingIntent target = PendingIntent.getActivity(this, /* request */ -1, getIntent(), in showConfirmCredentialActivity() 150 PendingIntent.FLAG_CANCEL_CURRENT | in showConfirmCredentialActivity() 151 PendingIntent.FLAG_ONE_SHOT | in showConfirmCredentialActivity() 152 PendingIntent.FLAG_IMMUTABLE, options.toBundle()); in showConfirmCredentialActivity()
|