/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustmentTest.java | 41 PendingIntent pendingIntent = in needReinflate_differentLength() local 44 createActionBuilder("first", R.drawable.ic_corp_icon, pendingIntent).build(); in needReinflate_differentLength() 53 PendingIntent pendingIntent = in needReinflate_differentLabels() local 56 createActionBuilder("first", R.drawable.ic_corp_icon, pendingIntent).build(); in needReinflate_differentLabels() 58 createActionBuilder("second", R.drawable.ic_corp_icon, pendingIntent).build(); in needReinflate_differentLabels() 68 PendingIntent pendingIntent = in needReinflate_differentIcons() local 71 createActionBuilder("same", R.drawable.ic_corp_icon, pendingIntent).build(); in needReinflate_differentIcons() 73 createActionBuilder("same", R.drawable.ic_account_circle, pendingIntent) in needReinflate_differentIcons() 103 PendingIntent pendingIntent = in needReinflate_differentChoices() local 112 createActionBuilder("same", R.drawable.ic_corp_icon, pendingIntent) in needReinflate_differentChoices() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | PendingIntentPerfTest.java | 64 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in create() local 68 pendingIntent.cancel(); in create() 86 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in createWithCancelFlag() local 90 pendingIntent.cancel(); in createWithCancelFlag() 108 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in createWithUpdateFlag() local 113 pendingIntent.cancel(); in createWithUpdateFlag() 126 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, in cancel() local 130 pendingIntent.cancel(); in cancel()
|
/frameworks/base/core/java/android/app/ |
D | StatsManager.java | 207 PendingIntent pendingIntent, long configKey, long subscriberId) in setBroadcastSubscriber() argument 212 if (pendingIntent != null) { in setBroadcastSubscriber() 214 IBinder intentSender = pendingIntent.getTarget().asBinder(); in setBroadcastSubscriber() 237 long configKey, long subscriberId, PendingIntent pendingIntent) { in setBroadcastSubscriber() argument 239 setBroadcastSubscriber(pendingIntent, configKey, subscriberId); in setBroadcastSubscriber() 261 public void setFetchReportsOperation(PendingIntent pendingIntent, long configKey) in setFetchReportsOperation() argument 266 if (pendingIntent == null) { in setFetchReportsOperation() 270 IBinder intentSender = pendingIntent.getTarget().asBinder(); in setFetchReportsOperation() 299 public @NonNull long[] setActiveConfigsChangedOperation(@Nullable PendingIntent pendingIntent) in setActiveConfigsChangedOperation() argument 304 if (pendingIntent == null) { in setActiveConfigsChangedOperation() [all …]
|
D | ActivityView.java | 263 public void startActivity(@NonNull PendingIntent pendingIntent) { in startActivity() argument 266 pendingIntent.send(null /* context */, 0 /* code */, null /* intent */, in startActivity() 290 public void startActivity(@NonNull PendingIntent pendingIntent, in startActivity() argument 294 pendingIntent.send(null /* context */, 0 /* code */, null /* intent */, in startActivity()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubClientBroker.java | 115 PendingIntentRequest(PendingIntent pendingIntent, long nanoAppId) { in PendingIntentRequest() argument 116 mPendingIntent = pendingIntent; in PendingIntentRequest() 152 ContextHubInfo contextHubInfo, short hostEndPointId, PendingIntent pendingIntent, in ContextHubClientBroker() argument 159 mPendingIntentRequest = new PendingIntentRequest(pendingIntent, nanoAppId); in ContextHubClientBroker() 294 PendingIntent pendingIntent = null; in hasPendingIntent() local 297 pendingIntent = mPendingIntentRequest.getPendingIntent(); in hasPendingIntent() 300 return (pendingIntent != null) && pendingIntent.equals(intent) in hasPendingIntent() 388 private void doSendPendingIntent(PendingIntent pendingIntent, Intent intent) { in doSendPendingIntent() argument 390 pendingIntent.send( in doSendPendingIntent()
|
D | GeofenceManager.java | 381 private void sendIntentEnter(PendingIntent pendingIntent) { in sendIntentEnter() argument 383 Slog.d(TAG, "sendIntentEnter: pendingIntent=" + pendingIntent); in sendIntentEnter() 388 sendIntent(pendingIntent, intent); in sendIntentEnter() 391 private void sendIntentExit(PendingIntent pendingIntent) { in sendIntentExit() argument 393 Slog.d(TAG, "sendIntentExit: pendingIntent=" + pendingIntent); in sendIntentExit() 398 sendIntent(pendingIntent, intent); in sendIntentExit() 401 private void sendIntent(PendingIntent pendingIntent, Intent intent) { in sendIntent() argument 404 pendingIntent.send(mContext, 0, intent, this, null, in sendIntent() 408 removeFence(null, pendingIntent); in sendIntent() 443 public void onSendFinished(PendingIntent pendingIntent, Intent intent, int resultCode, in onSendFinished() argument
|
D | ContextHubClientManager.java | 126 ContextHubInfo contextHubInfo, PendingIntent pendingIntent, long nanoAppId) { in registerClient() argument 130 broker = getClientBroker(contextHubInfo.getId(), pendingIntent, nanoAppId); in registerClient() 136 hostEndPointId, pendingIntent, nanoAppId); in registerClient() 278 int contextHubId, PendingIntent pendingIntent, long nanoAppId) { in getClientBroker() argument 280 if (broker.hasPendingIntent(pendingIntent, nanoAppId) in getClientBroker()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | AppSmsManager.java | 175 info.pendingIntent.send(mContext, 0, fillIn); in handleSmsReceivedIntent() 201 request.pendingIntent.send(mContext, 0, fillIn); in removeExpiredTokenLocked() 270 public final PendingIntent pendingIntent; field in AppSmsManager.AppRequestInfo 277 AppRequestInfo(String packageName, PendingIntent pendingIntent, String token) { in AppRequestInfo() argument 278 this(packageName, pendingIntent, token, null, in AppRequestInfo() 282 AppRequestInfo(String packageName, PendingIntent pendingIntent, String token, in AppRequestInfo() argument 285 this.pendingIntent = pendingIntent; in AppRequestInfo()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | ActionsSuggestionsHelperTest.java | 161 PendingIntent pendingIntent = PendingIntent.getActivity( in testDeduplicateActions() local 169 .setAction(new RemoteAction(icon, "label", "1", pendingIntent)) in testDeduplicateActions() 175 icon, "label", "2", pendingIntent)) in testDeduplicateActions() 181 icon, "label", "3", pendingIntent)) in testDeduplicateActions() 187 icon, "another_label", "4", pendingIntent)) in testDeduplicateActions() 192 .setAction(new RemoteAction(icon, "label", "5", pendingIntent)) in testDeduplicateActions() 216 PendingIntent pendingIntent = PendingIntent.getActivity( in testDeduplicateActions_nullComponent() local 224 .setAction(new RemoteAction(icon, "label", "1", pendingIntent)) in testDeduplicateActions_nullComponent() 230 icon, "label", "2", pendingIntent)) in testDeduplicateActions_nullComponent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 138 View view, PendingIntent pendingIntent, RemoteViews.RemoteResponse response) { 142 if (handleRemoteInput(view, pendingIntent)) { 147 Log.v(TAG, "Notification click handler invoked for intent: " + pendingIntent); 149 logActionClick(view, pendingIntent); 158 return mCallback.handleRemoteViewClick(view, pendingIntent, () -> { 162 return RemoteViews.startPendingIntent(view, pendingIntent, options); 225 private boolean handleRemoteInput(View view, PendingIntent pendingIntent) { 226 if (mCallback.shouldHandleRemoteInput(view, pendingIntent)) { 252 return activateRemoteInput(view, inputs, input, pendingIntent, 362 PendingIntent pendingIntent, @Nullable EditedSuggestionInfo editedSuggestionInfo) { in activateRemoteInput() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationTemplateViewWrapper.java | 229 PendingIntent pendingIntent = (PendingIntent) view.getTag( in performOnPendingIntentCancellation() local 231 if (pendingIntent == null) { in performOnPendingIntentCancellation() 234 if (mCancelledPendingIntents.contains(pendingIntent)) { in performOnPendingIntentCancellation() 239 mCancelledPendingIntents.add(pendingIntent); in performOnPendingIntentCancellation() 247 mUiOffloadThread.submit(() -> pendingIntent.registerCancelListener(listener)); in performOnPendingIntentCancellation() 252 mUiOffloadThread.submit(() -> pendingIntent.registerCancelListener(listener)); in performOnPendingIntentCancellation() 257 mUiOffloadThread.submit(() -> pendingIntent.unregisterCancelListener(listener)); in performOnPendingIntentCancellation()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | GlobalActionsPanelPlugin.java | 71 default void startPendingIntentDismissingKeyguard(PendingIntent pendingIntent) { in startPendingIntentDismissingKeyguard() argument 73 pendingIntent.send(); in startPendingIntentDismissingKeyguard()
|
/frameworks/base/core/java/android/text/style/ |
D | EasyEditSpan.java | 75 public EasyEditSpan(PendingIntent pendingIntent) { in EasyEditSpan() argument 76 mPendingIntent = pendingIntent; in EasyEditSpan()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 173 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, portalIntent, in onShowCaptivePortalNotification() local 176 R.string.portal_notification_detail, pendingIntent); in onShowCaptivePortalNotification() 211 PendingIntent pendingIntent) { in getNotification() argument 240 if (pendingIntent != null) { in getNotification() 241 builder.setContentIntent(pendingIntent); in getNotification()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | CountdownConditionProvider.java | 120 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, in onSubscribe() local 122 alarms.cancel(pendingIntent); in onSubscribe() 132 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent); in onSubscribe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarRemoteInputCallback.java | 228 public boolean shouldHandleRemoteInput(View view, PendingIntent pendingIntent) { in shouldHandleRemoteInput() argument 234 public boolean handleRemoteViewClick(View view, PendingIntent pendingIntent, in handleRemoteViewClick() argument 236 final boolean isActivity = pendingIntent.isActivity(); in handleRemoteViewClick() 239 pendingIntent.getIntent(), mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick()
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
D | CarrierDefaultReceiverTest.java | 101 PendingIntent pendingIntent = mNotification.getValue().contentIntent; in testOnReceiveRedirection() local 102 assertNotNull(pendingIntent); in testOnReceiveRedirection()
|
/frameworks/base/core/java/android/service/settings/suggestions/ |
D | Suggestion.java | 210 public Builder setPendingIntent(PendingIntent pendingIntent) { in setPendingIntent() argument 211 mPendingIntent = pendingIntent; in setPendingIntent()
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
D | NotificationStressTest.java | 114 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in sendNotification() local 124 .setContentIntent(pendingIntent) in sendNotification()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/ |
D | UsbAoapDeviceTestActivity.java | 101 PendingIntent pendingIntent = PendingIntent.getBroadcast( in onAccessoryAttached() local 103 mUsbManager.requestPermission(accessory, pendingIntent); in onAccessoryAttached()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | SaveUi.java | 310 final RemoteViews.OnClickHandler handler = (view, pendingIntent, response) -> { in applyCustomDescription() 317 final boolean isValid = isValidLink(pendingIntent, intent); in applyCustomDescription() 327 mPendingUi.client.startIntentSender(pendingIntent.getIntentSender(), in applyCustomDescription() 456 private static boolean isValidLink(PendingIntent pendingIntent, Intent intent) { in isValidLink() argument 457 if (pendingIntent == null) { in isValidLink() 461 if (!pendingIntent.isActivity()) { in isValidLink()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallUninstalling.java | 97 PendingIntent pendingIntent = PendingIntent.getBroadcast(this, mUninstallId, in onCreate() local 107 getPackageName(), flags, pendingIntent.getIntentSender(), in onCreate()
|
/frameworks/base/core/java/android/view/textclassifier/intent/ |
D | LabeledIntent.java | 142 final PendingIntent pendingIntent = in resolve() local 151 new RemoteAction(icon, title, resolveDescription(resolveInfo, pm), pendingIntent); in resolve()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartRepliesTest.java | 400 PendingIntent pendingIntent = in setupAppGeneratedReplies() local 403 new Notification.Action.Builder(null, "Test Action", pendingIntent).build(); in setupAppGeneratedReplies() 432 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in createActionBuilder() local 433 return new Notification.Action.Builder(mActionIcon, actionTitle, pendingIntent); in createActionBuilder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 222 if (smartReplies.remoteInput != null && smartReplies.pendingIntent != null) { in inflateRepliesFromRemoteInput() 281 smartReplies.pendingIntent, editedSuggestionInfo); in inflateReplyButton() 296 smartReplies.pendingIntent.send(context, 0, intent); in inflateReplyButton() 950 public final PendingIntent pendingIntent; field in SmartReplyView.SmartReplies 956 PendingIntent pendingIntent, boolean fromAssistant) { in SmartReplies() argument 959 this.pendingIntent = pendingIntent; in SmartReplies()
|