/frameworks/base/apct-tests/perftests/core/src/android/app/ |
H A D | PendingIntentPerfTest.java | 64 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, 68 pendingIntent.cancel(); 86 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, 90 pendingIntent.cancel(); 108 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, 113 pendingIntent.cancel(); 126 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, 130 pendingIntent.cancel();
|
/frameworks/support/navigation/integration-tests/testapp/src/main/java/androidx/navigation/testapp/ |
H A D | DeepLinkAppWidgetProvider.java | 39 PendingIntent pendingIntent = new NavDeepLinkBuilder(context) 45 remoteViews.setOnClickPendingIntent(R.id.deep_link, pendingIntent);
|
/frameworks/base/core/java/android/app/ |
H A D | StatsManager.java | 173 * a BroadcastSubscriber with id subscriberId. This function links the given pendingIntent with 174 * that subscriberId (for that config), so that this pendingIntent is used to send the broadcast 189 * @param pendingIntent the PendingIntent to use when broadcasting info to the subscriber 198 PendingIntent pendingIntent, long configKey, long subscriberId) 203 if (pendingIntent != null) { 205 IBinder intentSender = pendingIntent.getTarget().asBinder(); 227 long configKey, long subscriberId, PendingIntent pendingIntent) { 229 setBroadcastSubscriber(pendingIntent, configKey, subscriberId); 244 * @param pendingIntent the PendingIntent to use when broadcasting info to the subscriber 251 public void setFetchReportsOperation(PendingIntent pendingIntent, lon argument 197 setBroadcastSubscriber( PendingIntent pendingIntent, long configKey, long subscriberId) argument 226 setBroadcastSubscriber( long configKey, long subscriberId, PendingIntent pendingIntent) argument 279 setDataFetchOperation(long configKey, PendingIntent pendingIntent) argument [all...] |
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/ |
H A D | CustomTabsIntent.java | 349 * @param pendingIntent Pending intent delivered when the menu item is clicked. 351 public Builder addMenuItem(@NonNull String label, @NonNull PendingIntent pendingIntent) { argument 355 bundle.putParcelable(KEY_PENDING_INTENT, pendingIntent); 377 * @param pendingIntent pending intent delivered when the button is clicked. 383 @NonNull PendingIntent pendingIntent, boolean shouldTint) { 388 bundle.putParcelable(KEY_PENDING_INTENT, pendingIntent); 401 @NonNull PendingIntent pendingIntent) { 402 return setActionButton(icon, description, pendingIntent, false); 417 * @param pendingIntent The pending intent delivered when the button is clicked. 425 PendingIntent pendingIntent) throw 382 setActionButton(@onNull Bitmap icon, @NonNull String description, @NonNull PendingIntent pendingIntent, boolean shouldTint) argument 400 setActionButton(@onNull Bitmap icon, @NonNull String description, @NonNull PendingIntent pendingIntent) argument 424 addToolbarItem(int id, @NonNull Bitmap icon, @NonNull String description, PendingIntent pendingIntent) argument 466 setSecondaryToolbarViews(@onNull RemoteViews remoteViews, @Nullable int[] clickableIDs, @Nullable PendingIntent pendingIntent) argument [all...] |
H A D | CustomTabsSession.java | 123 * @param pendingIntent The {@link PendingIntent} that will be sent when the user clicks on one 127 @Nullable int[] clickableIDs, @Nullable PendingIntent pendingIntent) { 131 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS_PENDINGINTENT, pendingIntent); 126 setSecondaryToolbarViews(@ullable RemoteViews remoteViews, @Nullable int[] clickableIDs, @Nullable PendingIntent pendingIntent) argument
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
H A D | Alarms.java | 104 PendingIntent pendingIntent = PendingIntent.getService( 106 if (pendingIntent != null && alarmManager != null) { 111 alarmManager.cancel(pendingIntent); 123 PendingIntent pendingIntent = PendingIntent.getService( 127 alarmManager.setExact(RTC_WAKEUP, triggerAtMillis, pendingIntent); 129 alarmManager.set(RTC_WAKEUP, triggerAtMillis, pendingIntent);
|
/frameworks/base/core/java/android/text/style/ |
H A D | EasyEditSpan.java | 71 * @param pendingIntent The intent will be sent when the wrapped text is deleted or modified. 75 public EasyEditSpan(PendingIntent pendingIntent) { argument 76 mPendingIntent = pendingIntent;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | AppSmsManager.java | 113 info.pendingIntent.send(mContext, 0, fillIn); 167 public final PendingIntent pendingIntent; field in class:AppSmsManager.AppRequestInfo 170 AppRequestInfo(String packageName, PendingIntent pendingIntent, String token) { argument 172 this.pendingIntent = pendingIntent;
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
H A D | ForceStopRunnable.java | 91 PendingIntent pendingIntent = getPendingIntent(ALARM_ID, FLAG_NO_CREATE); 92 if (pendingIntent == null) { 143 PendingIntent pendingIntent = getPendingIntent(alarmId, FLAG_UPDATE_CURRENT); 147 alarmManager.setExact(RTC_WAKEUP, triggerAt, pendingIntent); 149 alarmManager.set(RTC_WAKEUP, triggerAt, pendingIntent);
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GeofenceManager.java | 381 private void sendIntentEnter(PendingIntent pendingIntent) { argument 383 Slog.d(TAG, "sendIntentEnter: pendingIntent=" + pendingIntent); 388 sendIntent(pendingIntent, intent); 391 private void sendIntentExit(PendingIntent pendingIntent) { argument 393 Slog.d(TAG, "sendIntentExit: pendingIntent=" + pendingIntent); 398 sendIntent(pendingIntent, intent); 401 private void sendIntent(PendingIntent pendingIntent, Intent intent) { argument 404 pendingIntent 443 onSendFinished(PendingIntent pendingIntent, Intent intent, int resultCode, String resultData, Bundle resultExtras) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationRemoteInputManager.java | 93 final View view, final PendingIntent pendingIntent, final Intent fillInIntent) { 96 if (handleRemoteInput(view, pendingIntent)) { 101 Log.v(TAG, "Notification click handler invoked for intent: " + pendingIntent); 112 return mCallback.handleRemoteViewClick(view, pendingIntent, fillInIntent, 113 () -> superOnClickHandler(view, pendingIntent, fillInIntent)); 151 private boolean superOnClickHandler(View view, PendingIntent pendingIntent, 153 return super.onClickHandler(view, pendingIntent, fillInIntent, 157 private boolean handleRemoteInput(View view, PendingIntent pendingIntent) { 158 if (mCallback.shouldHandleRemoteInput(view, pendingIntent)) { 212 final int userId = pendingIntent 412 shouldHandleRemoteInput(View view, PendingIntent pendingIntent) argument 424 handleRemoteViewClick(View view, PendingIntent pendingIntent, Intent fillInIntent, ClickHandler defaultHandler) argument [all...] |
/frameworks/support/browser/src/main/java/androidx/browser/browseractions/ |
H A D | BrowserActionsIntent.java | 262 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(), 0); 263 mIntent.putExtra(EXTRA_APP_ID, pendingIntent); 290 * @param pendingIntent The PendingIntent to be launched when a browser specified menu item is 294 ArrayList<BrowserActionItem> items, PendingIntent pendingIntent) { 298 .setOnItemSelectedAction(pendingIntent) 420 PendingIntent pendingIntent = intent.getParcelableExtra(BrowserActionsIntent.EXTRA_APP_ID); 421 if (pendingIntent != null) { 423 return pendingIntent.getCreatorPackage(); 425 return pendingIntent.getTargetPackage(); 293 openBrowserAction(Context context, Uri uri, int type, ArrayList<BrowserActionItem> items, PendingIntent pendingIntent) argument
|
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/ |
H A D | FirebaseJobScheduler.java | 99 PendingIntent pendingIntent = createScheduleLaterPendingIntent(workSpec); 105 mAlarmManager.setExact(AlarmManager.RTC_WAKEUP, triggerAtMillis, pendingIntent); 107 mAlarmManager.set(AlarmManager.RTC_WAKEUP, triggerAtMillis, pendingIntent);
|
/frameworks/base/core/java/android/service/settings/suggestions/ |
H A D | Suggestion.java | 210 public Builder setPendingIntent(PendingIntent pendingIntent) { argument 211 mPendingIntent = pendingIntent;
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
H A D | CarrierDefaultReceiverTest.java | 103 PendingIntent pendingIntent = mNotification.getValue().contentIntent; 104 assertNotNull(pendingIntent);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationTemplateViewWrapper.java | 218 PendingIntent pendingIntent = (PendingIntent) view.getTag( 220 if (pendingIntent == null) { 223 if (mCancelledPendingIntents.contains(pendingIntent)) { 228 mCancelledPendingIntents.add(pendingIntent); 236 mUiOffloadThread.submit(() -> pendingIntent.registerCancelListener(listener)); 241 mUiOffloadThread.submit(() -> pendingIntent.registerCancelListener(listener)); 246 mUiOffloadThread.submit(() -> pendingIntent.unregisterCancelListener(listener));
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
H A D | CarrierActionUtils.java | 170 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, portalIntent, 173 R.string.portal_notification_detail, pendingIntent); 200 PendingIntent pendingIntent) { 229 if (pendingIntent != null) { 230 builder.setContentIntent(pendingIntent); 199 getNotification(Context context, int titleId, int textId, PendingIntent pendingIntent) argument
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
H A D | NotificationStressTest.java | 114 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); 124 .setContentIntent(pendingIntent)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputViewTest.java | 86 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, 90 mView.setPendingIntent(pendingIntent);
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/ |
H A D | UsbAoapDeviceTestActivity.java | 101 PendingIntent pendingIntent = PendingIntent.getBroadcast( 103 mUsbManager.requestPermission(accessory, pendingIntent);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
H A D | FragmentReceiveResultSupport.java | 81 PendingIntent pendingIntent = PendingIntent.getActivity(getContext(), 84 startIntentSenderForResult(pendingIntent.getIntentSender(),
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
H A D | FragmentReceiveResultSupport.java | 81 PendingIntent pendingIntent = PendingIntent.getActivity(getContext(), 84 startIntentSenderForResult(pendingIntent.getIntentSender(),
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | CountdownConditionProvider.java | 120 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, 122 alarms.cancel(pendingIntent); 132 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent);
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
H A D | SaveUi.java | 285 public boolean onClickHandler(View view, PendingIntent pendingIntent, 292 final boolean isValid = isValidLink(pendingIntent, intent); 302 mPendingUi.client.startIntentSender(pendingIntent.getIntentSender(), 399 private static boolean isValidLink(PendingIntent pendingIntent, Intent intent) { argument 400 if (pendingIntent == null) { 404 if (!pendingIntent.isActivity()) {
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextClassificationTest.java | 142 final PendingIntent pendingIntent = PendingIntent.getActivity( 148 pendingIntent);
|