Searched refs:pendingIntent (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsIntent.java348 * @param pendingIntent Pending intent delivered when the menu item is clicked.
350 public Builder addMenuItem(@NonNull String label, @NonNull PendingIntent pendingIntent) { argument
354 bundle.putParcelable(KEY_PENDING_INTENT, pendingIntent);
376 * @param pendingIntent pending intent delivered when the button is clicked.
382 @NonNull PendingIntent pendingIntent, boolean shouldTint) {
387 bundle.putParcelable(KEY_PENDING_INTENT, pendingIntent);
400 @NonNull PendingIntent pendingIntent) {
401 return setActionButton(icon, description, pendingIntent, false);
416 * @param pendingIntent The pending intent delivered when the button is clicked.
424 PendingIntent pendingIntent) throw
381 setActionButton(@onNull Bitmap icon, @NonNull String description, @NonNull PendingIntent pendingIntent, boolean shouldTint) argument
399 setActionButton(@onNull Bitmap icon, @NonNull String description, @NonNull PendingIntent pendingIntent) argument
423 addToolbarItem(int id, @NonNull Bitmap icon, @NonNull String description, PendingIntent pendingIntent) argument
465 setSecondaryToolbarViews(@onNull RemoteViews remoteViews, @Nullable int[] clickableIDs, @Nullable PendingIntent pendingIntent) argument
[all...]
H A DCustomTabsSession.java105 * @param pendingIntent The {@link PendingIntent} that will be sent when the user clicks on one
109 @Nullable int[] clickableIDs, @Nullable PendingIntent pendingIntent) {
113 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS_PENDINGINTENT, pendingIntent);
108 setSecondaryToolbarViews(@ullable RemoteViews remoteViews, @Nullable int[] clickableIDs, @Nullable PendingIntent pendingIntent) argument
/frameworks/base/core/java/android/text/style/
H A DEasyEditSpan.java70 * @param pendingIntent The intent will be sent when the wrapped text is deleted or modified.
74 public EasyEditSpan(PendingIntent pendingIntent) { argument
75 mPendingIntent = pendingIntent;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DAppSmsManager.java113 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/base/services/core/java/com/android/server/location/
H A DGeofenceManager.java379 private void sendIntentEnter(PendingIntent pendingIntent) { argument
381 Slog.d(TAG, "sendIntentEnter: pendingIntent=" + pendingIntent);
386 sendIntent(pendingIntent, intent);
389 private void sendIntentExit(PendingIntent pendingIntent) { argument
391 Slog.d(TAG, "sendIntentExit: pendingIntent=" + pendingIntent);
396 sendIntent(pendingIntent, intent);
399 private void sendIntent(PendingIntent pendingIntent, Intent intent) { argument
402 pendingIntent
440 onSendFinished(PendingIntent pendingIntent, Intent intent, int resultCode, String resultData, Bundle resultExtras) argument
[all...]
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCarrierActionUtils.java119 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, portalIntent,
122 R.string.portal_notification_detail, pendingIntent);
149 PendingIntent pendingIntent) {
172 if (pendingIntent != null) {
173 builder.setContentIntent(pendingIntent);
148 getNotification(Context context, int titleId, int textId, PendingIntent pendingIntent) argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DCountdownConditionProvider.java117 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE,
119 alarms.cancel(pendingIntent);
129 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent);
H A DEventConditionProvider.java270 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext,
276 alarms.cancel(pendingIntent);
284 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent);
H A DScheduleConditionProvider.java207 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext,
213 alarms.cancel(pendingIntent);
217 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent);
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
H A DCarrierDefaultReceiverTest.java103 PendingIntent pendingIntent = mNotification.getValue().contentIntent;
104 assertNotNull(pendingIntent);
/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java114 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0);
124 .setContentIntent(pendingIntent)
/frameworks/base/services/core/java/com/android/server/utils/
H A DManagedApplicationService.java193 final PendingIntent pendingIntent = PendingIntent.getActivity(
197 putExtra(Intent.EXTRA_CLIENT_INTENT, pendingIntent);
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/
H A DUsbAoapDeviceTestActivity.java101 PendingIntent pendingIntent = PendingIntent.getBroadcast(
103 mUsbManager.requestPermission(accessory, pendingIntent);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentReceiveResultSupport.java80 PendingIntent pendingIntent = PendingIntent.getActivity(getContext(),
83 startIntentSenderForResult(pendingIntent.getIntentSender(),
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentReceiveResultSupport.java80 PendingIntent pendingIntent = PendingIntent.getActivity(getContext(),
83 startIntentSenderForResult(pendingIntent.getIntentSender(),
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DSourceActivity.java146 PendingIntent pendingIntent = PendingIntent.getBroadcast(
148 mUsbManager.requestPermission(accessory, pendingIntent);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DImsSMSDispatcherTest.java182 PendingIntent pendingIntent = PendingIntent.getBroadcast(realContext, 0,
186 mImsSmsDispatcher.injectSmsPdu(null, SmsConstants.FORMAT_3GPP, pendingIntent);
/frameworks/support/fragment/tests/java/android/support/v4/app/
H A DFragmentReceiveResultTest.java146 PendingIntent pendingIntent = PendingIntent.getActivity(mActivity,
150 mFragment.startIntentSenderForResult(pendingIntent.getIntentSender(),
/frameworks/base/core/java/android/app/
H A DActivityView.java257 public void startActivity(PendingIntent pendingIntent) { argument
264 if (DEBUG) Log.v(TAG, "startActivityPendingIntent(): PendingIntent=" + pendingIntent + " "
266 final IIntentSender iIntentSender = pendingIntent.getTarget();
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkNotificationManager.java252 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
253 showNotification(id, NotificationType.SIGN_IN, null, null, pendingIntent, false);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeupTimer.java211 throw new RuntimeException("pendingIntent is not null!");
217 PendingIntent pendingIntent = mPendingIntent =
221 event.mTriggerTime, pendingIntent);
/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java1721 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, new Intent("a"), 0);
1729 mCm.requestNetwork(builder.build(), pendingIntent);
1739 mCm.requestNetwork(builder.build(), pendingIntent);
3046 PendingIntent pendingIntent =
3048 mCm.requestNetwork(networkRequest, pendingIntent);
3049 pendingIntents.add(pendingIntent);
3054 for (PendingIntent pendingIntent : pendingIntents) {
3055 mCm.unregisterNetworkCallback(pendingIntent);
3061 PendingIntent pendingIntent =
3063 mCm.registerNetworkCallback(networkRequest, pendingIntent);
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DFillUi.java113 public boolean onClickHandler(View view, PendingIntent pendingIntent,
115 if (pendingIntent != null) {
116 mCallback.startIntentSender(pendingIntent.getIntentSender());
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java241 public boolean onClickHandler(View view, PendingIntent pendingIntent, argument
243 return onClickHandler(view, pendingIntent, fillInIntent, StackId.INVALID_STACK_ID);
246 public boolean onClickHandler(View view, PendingIntent pendingIntent, argument
262 pendingIntent.getIntentSender(), fillInIntent,
540 PendingIntent pendingIntent = (PendingIntent) parent.getTag();
545 handler.onClickHandler(v, pendingIntent, fillInIntent);
795 public SetOnClickPendingIntent(int id, PendingIntent pendingIntent) { argument
797 this.pendingIntent = pendingIntent;
805 pendingIntent
862 PendingIntent pendingIntent; field in class:RemoteViews.SetOnClickPendingIntent
2751 setOnClickPendingIntent(int viewId, PendingIntent pendingIntent) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DConnOnActivityStartTest.java482 PendingIntent pendingIntent = PendingIntent.getBroadcast(
484 return pendingIntent.getIntentSender();

Completed in 2878 milliseconds

12