Home
last modified time | relevance | path

Searched refs:PendingIntent (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/frameworks/base/telephony/java/com/android/internal/telephony/
DISmsImplBase.java19 import android.app.PendingIntent;
50 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber()
51 PendingIntent deliveryIntent) { in sendDataForSubscriber()
57 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions()
58 PendingIntent deliveryIntent) { in sendDataForSubscriberWithSelfPermissions()
64 String scAddr, String text, PendingIntent sentIntent, in sendTextForSubscriber()
65 PendingIntent deliveryIntent, boolean persistMessageForNonDefaultSmsApp) { in sendTextForSubscriber()
71 String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendTextForSubscriberWithSelfPermissions()
72 PendingIntent deliveryIntent, boolean persistMessage) { in sendTextForSubscriberWithSelfPermissions()
78 String scAddr, String text, PendingIntent sentIntent, in sendTextForSubscriberWithOptions()
[all …]
DISms.aidl19 import android.app.PendingIntent;
100 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriber()
101 in PendingIntent deliveryIntent); in sendDataForSubscriber()
128 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions()
129 in PendingIntent deliveryIntent); in sendDataForSubscriberWithSelfPermissions()
160 in String scAddr, in String text, in PendingIntent sentIntent, in sendTextForSubscriber()
161 in PendingIntent deliveryIntent, in boolean persistMessageForNonDefaultSmsApp); in sendTextForSubscriber()
188 in String destAddr, in String scAddr, in String text, in PendingIntent sentIntent, in sendTextForSubscriberWithSelfPermissions()
189 in PendingIntent deliveryIntent, in boolean persistMessage); in sendTextForSubscriberWithSelfPermissions()
238 in String scAddr, in String text, in PendingIntent sentIntent, in sendTextForSubscriberWithOptions()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java20 import android.app.PendingIntent;
34 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testRegisteredReceivePermissionGranted()
48 PendingIntent.OnFinished finish = new PendingIntent.OnFinished() { in testRegisteredReceivePermissionDenied()
49 public void onSendFinished(PendingIntent pi, Intent intent, in testRegisteredReceivePermissionDenied()
55 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testRegisteredReceivePermissionDenied()
63 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testLocalReceivePermissionGranted()
75 PendingIntent.OnFinished finish = new PendingIntent.OnFinished() { in testLocalReceivePermissionDenied()
76 public void onSendFinished(PendingIntent pi, Intent intent, in testLocalReceivePermissionDenied()
82 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testLocalReceivePermissionDenied()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DPendingIntentPerfTest.java64 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in create()
82 final PendingIntent previousPendingIntent = PendingIntent.getActivity(mContext, 0, in createWithCancelFlag()
86 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in createWithCancelFlag()
87 PendingIntent.FLAG_CANCEL_CURRENT); in createWithCancelFlag()
104 final PendingIntent previousPendingIntent = PendingIntent.getActivity(mContext, 0, in createWithUpdateFlag()
108 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in createWithUpdateFlag()
109 PendingIntent.FLAG_UPDATE_CURRENT); in createWithUpdateFlag()
126 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, in cancel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationUiAdjustmentTest.java21 import android.app.PendingIntent;
41 PendingIntent pendingIntent = in needReinflate_differentLength()
42 PendingIntent.getActivity(mContext, 0, new Intent(), 0); in needReinflate_differentLength()
53 PendingIntent pendingIntent = in needReinflate_differentLabels()
54 PendingIntent.getActivity(mContext, 0, new Intent(), 0); in needReinflate_differentLabels()
68 PendingIntent pendingIntent = in needReinflate_differentIcons()
69 PendingIntent.getActivity(mContext, 0, new Intent(), 0); in needReinflate_differentIcons()
84 PendingIntent firstPendingIntent = in needReinflate_differentPendingIntent()
85 PendingIntent.getActivity(mContext, 0, new Intent(Intent.ACTION_VIEW), 0); in needReinflate_differentPendingIntent()
86 PendingIntent secondPendingIntent = in needReinflate_differentPendingIntent()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccController.aidl19 import android.app.PendingIntent;
31 String callingPackage, in PendingIntent callbackIntent); in getDownloadableSubscriptionMetadata()
33 String callingPackage, in PendingIntent callbackIntent); in getDefaultDownloadableSubscriptionList()
38 in PendingIntent callbackIntent); in downloadSubscription()
41 in PendingIntent callbackIntent); in deleteSubscription()
43 in PendingIntent callbackIntent); in switchToSubscription()
45 String callingPackage, in PendingIntent callbackIntent); in updateSubscriptionNickname()
46 oneway void eraseSubscriptions(int cardId, in PendingIntent callbackIntent); in eraseSubscriptions()
47 oneway void retainSubscriptionsForFactoryReset(int cardId, in PendingIntent callbackIntent); in retainSubscriptionsForFactoryReset()
/frameworks/base/core/java/android/app/
DPendingIntent.java98 public final class PendingIntent implements Parcelable { class
206 void onSendFinished(PendingIntent pendingIntent, Intent intent, in onSendFinished()
212 private final PendingIntent mPendingIntent;
220 FinishedDispatcher(PendingIntent pi, OnFinished who, Handler handler) { in FinishedDispatcher()
265 void onMarshaled(PendingIntent intent, Parcel parcel, int flags); in onMarshaled()
309 public static PendingIntent getActivity(Context context, int requestCode, in getActivity()
342 public static PendingIntent getActivity(Context context, int requestCode, in getActivity()
356 return target != null ? new PendingIntent(target) : null; in getActivity()
368 public static PendingIntent getActivityAsUser(Context context, int requestCode, in getActivityAsUser()
382 return target != null ? new PendingIntent(target) : null; in getActivityAsUser()
[all …]
DAlarmManager.java356 public void set(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in set()
445 long intervalMillis, PendingIntent operation) { in setRepeating()
495 PendingIntent operation) { in setWindow()
548 public void setExact(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in setExact()
615 public void setAlarmClock(AlarmClockInfo info, PendingIntent operation) { in setAlarmClock()
624 long intervalMillis, PendingIntent operation, WorkSource workSource) { in set()
667 long intervalMillis, int flags, PendingIntent operation, final OnAlarmListener listener, in setImpl()
801 long intervalMillis, PendingIntent operation) { in setInexactRepeating()
851 PendingIntent operation) { in setAndAllowWhileIdle()
905 PendingIntent operation) { in setExactAndAllowWhileIdle()
[all …]
DTaskStackBuilder.java248 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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java28 import android.app.PendingIntent;
123 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber()
124 PendingIntent deliveryIntent) { in sendDataForSubscriber()
139 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions()
140 PendingIntent deliveryIntent) { in sendDataForSubscriberWithSelfPermissions()
146 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissionsInternal()
147 PendingIntent deliveryIntent, boolean isForVvm) { in sendDataForSubscriberWithSelfPermissionsInternal()
161 String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextForSubscriber()
190 String text, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendBluetoothText()
196 String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendIccText()
[all …]
DBtSmsInterfaceManager.java21 import android.app.PendingIntent;
43 public void sendText(String destAddr, String text, PendingIntent sentIntent, in sendText()
44 PendingIntent deliveryIntent, SubscriptionInfo info) { in sendText()
62 private void sendErrorInPendingIntent(PendingIntent intent, int errorCode) { in sendErrorInPendingIntent()
68 } catch (PendingIntent.CanceledException e) { in sendErrorInPendingIntent()
80 final PendingIntent mSentIntent;
81 final PendingIntent mDeliveryIntent;
84 final PendingIntent sentIntent, final PendingIntent deliveryIntent) { in MapMessageSender()
DIccSmsInterfaceManager.java26 import android.app.PendingIntent;
346 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendDataWithSelfPermissions()
362 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendData()
399 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendDataInternal()
417 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendText()
429 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextWithSelfPermissions()
487 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextInternal()
549 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextWithOptions()
572 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPdu()
588 } catch (PendingIntent.CanceledException e) { in injectSmsPdu()
[all …]
/frameworks/base/telephony/java/android/telephony/
DSmsManager.java29 import android.app.PendingIntent;
356 PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendTextMessage()
362 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextMessageInternal()
454 PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendTextMessageWithoutPersisting()
480 PendingIntent sentIntent, PendingIntent deliveryIntent, boolean persistMessage) { in sendTextMessageWithSelfPermissions()
556 PendingIntent sentIntent, PendingIntent deliveryIntent, in sendTextMessage()
564 PendingIntent sentIntent, PendingIntent deliveryIntent, boolean persistMessage, in sendTextMessageInternal()
663 PendingIntent sentIntent, PendingIntent deliveryIntent, int priority, in sendTextMessageWithoutPersisting()
700 byte[] pdu, @SmsMessage.Format String format, PendingIntent receivedIntent) { in injectSmsPdu()
717 } catch (PendingIntent.CanceledException cx) { in injectSmsPdu()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java7 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/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportUtils.java21 import android.app.PendingIntent;
63 PendingIntent pendingDialogIntent = PendingIntent.getActivityAsUser(context, type, in buildNotification()
84 PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(context, NOTIFICATION_ID, in buildNotification()
86 PendingIntent.FLAG_CANCEL_CURRENT); in buildNotification()
87 PendingIntent pendingIntentDecline = PendingIntent.getBroadcast(context, in buildNotification()
90 PendingIntent.FLAG_CANCEL_CURRENT); in buildNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java23 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/
DBluetoothDiscoverableTimeoutReceiver.java21 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/opt/telephony/src/java/android/telephony/gsm/
DSmsManager.java19 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/locksettings/recoverablekeystore/
DRecoverySnapshotListenersStorage.java20 import android.app.PendingIntent;
38 private SparseArray<PendingIntent> mAgentIntents = new SparseArray<>();
50 int recoveryAgentUid, @Nullable PendingIntent intent) { in setSnapshotListener()
75 PendingIntent intent = mAgentIntents.get(recoveryAgentUid); in recoverySnapshotAvailable()
90 private synchronized void tryToSendIntent(int recoveryAgentUid, PendingIntent intent) { in tryToSendIntent()
95 } catch (PendingIntent.CanceledException e) { in tryToSendIntent()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccManager.java26 import android.app.PendingIntent;
571 boolean switchAfterDownload, PendingIntent callbackIntent) { in downloadSubscription()
604 PendingIntent callbackIntent) throws IntentSender.SendIntentException { in startResolutionActivity()
605 PendingIntent resolutionIntent = in startResolutionActivity()
635 PendingIntent callbackIntent = in continueOperation()
670 DownloadableSubscription subscription, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata()
700 public void getDefaultDownloadableSubscriptionList(PendingIntent callbackIntent) { in getDefaultDownloadableSubscriptionList()
744 public void deleteSubscription(int subscriptionId, PendingIntent callbackIntent) { in deleteSubscription()
784 public void switchToSubscription(int subscriptionId, PendingIntent callbackIntent) { in switchToSubscription()
810 int subscriptionId, @Nullable String nickname, @NonNull PendingIntent callbackIntent) { in updateSubscriptionNickname()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceManager.java25 import android.app.PendingIntent;
47 public class GeofenceManager implements LocationListener, PendingIntent.OnFinished {
153 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, in addFence()
177 public void removeFence(Geofence fence, PendingIntent intent) { in removeFence()
275 List<PendingIntent> enterIntents = new LinkedList<PendingIntent>(); in updateFences()
276 List<PendingIntent> exitIntents = new LinkedList<PendingIntent>(); in updateFences()
373 for (PendingIntent intent : exitIntents) { in updateFences()
376 for (PendingIntent intent : enterIntents) { in updateFences()
381 private void sendIntentEnter(PendingIntent pendingIntent) { in sendIntentEnter()
391 private void sendIntentExit(PendingIntent pendingIntent) { in sendIntentExit()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverySnapshotListenersStorageTest.java6 import android.app.PendingIntent;
42 PendingIntent intent = PendingIntent.getBroadcast( in hasListener_isTrueForRegisteredUid()
56 PendingIntent intent = PendingIntent.getBroadcast( in setSnapshotListener_invokesIntentImmediatelyIfPreviouslyNotified()
77 PendingIntent intent = PendingIntent.getBroadcast( in setSnapshotListener_doesNotRepeatedlyInvokeListener()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DActivityStarter.java18 import android.app.PendingIntent;
33 void startPendingIntentDismissingKeyguard(PendingIntent intent); in startPendingIntentDismissingKeyguard()
39 void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
46 void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
57 void postStartActivityDismissingKeyguard(PendingIntent intent); in postStartActivityDismissingKeyguard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java31 import android.app.PendingIntent;
266 PendingIntent appInfoAction = in postInstantAppNotif()
267 PendingIntent.getActivityAsUser( in postInstantAppNotif()
272 PendingIntent.FLAG_IMMUTABLE, in postInstantAppNotif()
279 PendingIntent helpCenterIntent = in postInstantAppNotif()
281 ? PendingIntent.getActivityAsUser( in postInstantAppNotif()
285 PendingIntent.FLAG_IMMUTABLE, in postInstantAppNotif()
301 PendingIntent pendingIntent = in postInstantAppNotif()
302 PendingIntent.getActivityAsUser( in postInstantAppNotif()
306 PendingIntent.FLAG_IMMUTABLE /* flags */, in postInstantAppNotif()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccOperation.java20 import android.app.PendingIntent;
265 PendingIntent callbackIntent) { in continueOperation()
322 PendingIntent callbackIntent) { in resolvedGetMetadataDeactivateSim()
339 PendingIntent callbackIntent) { in resolvedDownloadDeactivateSim()
358 PendingIntent callbackIntent) { in resolvedDownloadNoPrivileges()
386 boolean consent, PendingIntent callbackIntent) { in resolvedDownloadNoPrivilegesOrDeactivateSimCheckMetadata()
419 PendingIntent callbackIntent) { in resolvedDownloadConfirmationCode()
436 PendingIntent callbackIntent) { in resolvedDownloadResolvableErrors()
470 PendingIntent callbackIntent) { in resolvedGetDefaultListDeactivateSim()
486 PendingIntent callbackIntent) { in resolvedSwitchDeactivateSim()
[all …]

12345678910>>...14