Home
last modified time | relevance | path

Searched refs:pendingIntent (Results 1 – 25 of 95) sorted by relevance

1234

/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilder.java460 public RowBuilder setPendingIntent(@NonNull PendingIntent pendingIntent) { in setPendingIntent() argument
461 return setPrimaryAction(new SliceAction(pendingIntent, "", false)); in setPendingIntent()
472 public RowBuilder setFollowupPendingIntent(@NonNull PendingIntent pendingIntent) { in setFollowupPendingIntent() argument
473 mFollowupAction = new SliceAction(pendingIntent, "", false); in setFollowupPendingIntent()
614 PendingIntent pendingIntent, boolean isChecked) { in addRadioButton() argument
615 return addButton(pendingIntent, isChecked, RADIO); in addRadioButton()
625 PendingIntent pendingIntent, boolean isChecked, CharSequence radioGroup) { in addRadioButton() argument
626 return addButton(pendingIntent, isChecked, RADIO).setRadioGroup(radioGroup); in addRadioButton()
635 PendingIntent pendingIntent, boolean isChecked) { in addCheckMark() argument
636 return addButton(pendingIntent, isChecked, CHECKMARK); in addCheckMark()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricUtils.java359 PendingIntent pendingIntent = (PendingIntent) fromIntent.getExtra( in copyMultiBiometricExtras() local
361 if (pendingIntent != null) { in copyMultiBiometricExtras()
363 pendingIntent); in copyMultiBiometricExtras()
366 pendingIntent = (PendingIntent) fromIntent.getExtra( in copyMultiBiometricExtras()
368 if (pendingIntent != null) { in copyMultiBiometricExtras()
370 pendingIntent); in copyMultiBiometricExtras()
383 PendingIntent pendingIntent = (PendingIntent) activity.getIntent() in tryStartingNextBiometricEnroll() local
385 if (pendingIntent == null) { in tryStartingNextBiometricEnroll()
386 pendingIntent = (PendingIntent) activity.getIntent() in tryStartingNextBiometricEnroll()
390 if (pendingIntent != null) { in tryStartingNextBiometricEnroll()
[all …]
/packages/modules/StatsD/framework/java/android/app/
DStatsManager.java252 PendingIntent pendingIntent, long configKey, long subscriberId) in setBroadcastSubscriber() argument
257 if (pendingIntent != null) { in setBroadcastSubscriber()
258 service.setBroadcastSubscriber(configKey, subscriberId, pendingIntent, in setBroadcastSubscriber()
281 long configKey, long subscriberId, PendingIntent pendingIntent) { in setBroadcastSubscriber() argument
283 setBroadcastSubscriber(pendingIntent, configKey, subscriberId); in setBroadcastSubscriber()
306 public void setFetchReportsOperation(PendingIntent pendingIntent, long configKey) in setFetchReportsOperation() argument
311 if (pendingIntent == null) { in setFetchReportsOperation()
314 service.setDataFetchOperation(configKey, pendingIntent, in setFetchReportsOperation()
343 public @NonNull long[] setActiveConfigsChangedOperation(@Nullable PendingIntent pendingIntent) in setActiveConfigsChangedOperation() argument
348 if (pendingIntent == null) { in setActiveConfigsChangedOperation()
[all …]
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceStatus.java82 @Nullable PendingIntent pendingIntent, in SafetySourceStatus() argument
88 this.mPendingIntent = pendingIntent; in SafetySourceStatus()
223 PendingIntent pendingIntent = in.readTypedObject(PendingIntent.CREATOR);
224 return new IconAction(iconType, pendingIntent);
256 public IconAction(@IconType int iconType, @NonNull PendingIntent pendingIntent) { in IconAction() argument
258 this.mPendingIntent = requireNonNull(pendingIntent); in IconAction()
356 public Builder setPendingIntent(@Nullable PendingIntent pendingIntent) { in setPendingIntent() argument
358 pendingIntent == null || pendingIntent.isActivity(), in setPendingIntent()
360 this.mPendingIntent = pendingIntent; in setPendingIntent()
DSafetyCenterEntry.java170 @Nullable PendingIntent pendingIntent, in SafetyCenterEntry() argument
178 mPendingIntent = pendingIntent; in SafetyCenterEntry()
395 public Builder setPendingIntent(@Nullable PendingIntent pendingIntent) { in setPendingIntent() argument
396 mPendingIntent = pendingIntent; in setPendingIntent()
410 @IconAction.IconActionType int type, @NonNull PendingIntent pendingIntent) { in setIconAction() argument
411 mIconAction = new IconAction(type, pendingIntent); in setIconAction()
462 PendingIntent pendingIntent = in.readTypedObject(PendingIntent.CREATOR);
463 return new IconAction(type, pendingIntent);
476 public IconAction(@IconActionType int type, @NonNull PendingIntent pendingIntent) { in IconAction() argument
478 mPendingIntent = requireNonNull(pendingIntent); in IconAction()
DSafetyCenterIssue.java394 PendingIntent pendingIntent = in.readTypedObject(PendingIntent.CREATOR);
395 return new Builder(id, label, pendingIntent)
419 @NonNull PendingIntent pendingIntent, in Action() argument
425 mPendingIntent = pendingIntent; in Action()
548 @NonNull PendingIntent pendingIntent) { in Builder() argument
551 mPendingIntent = requireNonNull(pendingIntent); in Builder()
570 public Builder setPendingIntent(@NonNull PendingIntent pendingIntent) { in setPendingIntent() argument
571 mPendingIntent = requireNonNull(pendingIntent); in setPendingIntent()
DSafetyCenterStaticEntry.java72 @Nullable PendingIntent pendingIntent) { in SafetyCenterStaticEntry() argument
75 mPendingIntent = pendingIntent; in SafetyCenterStaticEntry()
182 public Builder setPendingIntent(@Nullable PendingIntent pendingIntent) { in setPendingIntent() argument
183 mPendingIntent = pendingIntent; in setPendingIntent()
DSafetySourceIssue.java339 PendingIntent pendingIntent = in.readTypedObject(PendingIntent.CREATOR);
340 return new Builder(id, label, pendingIntent)
362 @NonNull PendingIntent pendingIntent, in Action() argument
367 mPendingIntent = pendingIntent; in Action()
479 @NonNull PendingIntent pendingIntent) { in Builder() argument
482 mPendingIntent = requireNonNull(pendingIntent); in Builder()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyNotificationListenerService.java87 private void send(String reason, PendingIntent pendingIntent) { in send() argument
88 if (pendingIntent == null) { in send()
99 + "' (" + pendingIntent + ")"); in send()
101 Log.i(TAG, "Sending pending intent for " + reason + ":" + pendingIntent); in send()
103 pendingIntent.send(); in send()
104 mSentIntent = pendingIntent; in send()
107 Log.w(TAG, "Pending intent " + pendingIntent + " canceled"); in send()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepInteractionHandler.java51 public boolean onInteraction(View view, PendingIntent pendingIntent, in onInteraction() argument
56 return RemoteViews.startPendingIntent(hostView, pendingIntent, in onInteraction()
68 if (Utilities.ATLEAST_S && !pendingIntent.isActivity()) { in onInteraction()
74 pendingIntent.getCreatorPackage(), in onInteraction()
84 if (pendingIntent.isActivity()) { in onInteraction()
87 return RemoteViews.startPendingIntent(hostView, pendingIntent, options); in onInteraction()
/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java213 final PendingIntent pendingIntent = PendingIntent.getService(context, 0, serviceIntent, in sendNotification() local
226 .setContentIntent(pendingIntent); in sendNotification()
229 builder.setDeleteIntent(pendingIntent); in sendNotification()
232 builder.setFullScreenIntent(pendingIntent, true); in sendNotification()
235 bundle.putParcelable("Magnum P.I. (Pending Intent)", pendingIntent); in sendNotification()
240 R.drawable.ic_notification, "ACTION", pendingIntent) in sendNotification()
245 bundle.putParcelable("Magnum A.P.I. (Action Pending Intent)", pendingIntent); in sendNotification()
258 R.drawable.ic_notification, "ACTION WITH REMOTE INPUT", pendingIntent) in sendNotification()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeAlarm.java112 mPendingIntent = alarmConfig.pendingIntent; in IkeAlarmWithPendingIntent()
162 public final PendingIntent pendingIntent; field in IkeAlarm.IkeAlarmConfig
168 PendingIntent pendingIntent, in IkeAlarmConfig() argument
174 this.pendingIntent = pendingIntent; in IkeAlarmConfig()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DLockScreenSafetySource.java66 final PendingIntent pendingIntent = createPendingIntent(context, in setSafetySourceData() local
85 .setPendingIntent(pendingIntent) in setSafetySourceData()
91 safetySourceDataBuilder.addIssue(createNoScreenLockIssue(context, pendingIntent)); in setSafetySourceData()
136 PendingIntent pendingIntent) { in createNoScreenLockIssue() argument
140 pendingIntent).build(); in createNoScreenLockIssue()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDailyLoggingAlarmScheduler.java69 PendingIntent pendingIntent = createAlarmReceiverPendingIntent(appContext); in setAlarm() local
70 alarmManagerWrapper.cancel(pendingIntent); in setAlarm()
72 pendingIntent = createAlarmReceiverPendingIntent(appContext); in setAlarm()
77 pendingIntent /* operation */); in setAlarm()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterDataTest.kt46 private val pendingIntent = constant
69 .setPendingIntent(pendingIntent)
74 .setPendingIntent(pendingIntent)
90 .setPendingIntent(pendingIntent)
95 .setPendingIntent(pendingIntent)
DSafetyCenterEntryTest.kt135 .pendingIntent) in getPendingIntent_returnsPendingIntent()
141 .pendingIntent) in getPendingIntent_returnsPendingIntent()
143 assertThat(SafetyCenterEntry.Builder(entry1).setPendingIntent(null).build().pendingIntent) in getPendingIntent_returnsPendingIntent()
261 .pendingIntent) in iconAction_getPendingIntent_returnsPendingIntent()
266 .pendingIntent) in iconAction_getPendingIntent_returnsPendingIntent()
DSafetyCenterEntryOrGroupTest.kt40 private val pendingIntent = constant
45 .setPendingIntent(pendingIntent)
50 .setPendingIntent(pendingIntent)
DSafetyCenterStaticEntryTest.kt77 assertThat(staticEntry1.pendingIntent).isEqualTo(pendingIntent1) in getPendingIntent_returnsPendingIntent()
78 assertThat(staticEntry2.pendingIntent).isEqualTo(pendingIntent2) in getPendingIntent_returnsPendingIntent()
79 assertThat(staticEntryMinimal.pendingIntent).isNull() in getPendingIntent_returnsPendingIntent()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataTracker.java382 PendingIntent pendingIntent = safetySourceStatus.getPendingIntent(); in toSafetyCenterEntry() local
383 if (pendingIntent == null) { in toSafetyCenterEntry()
384 pendingIntent = in toSafetyCenterEntry()
398 .setPendingIntent(pendingIntent) in toSafetyCenterEntry()
430 PendingIntent pendingIntent = toPendingIntent(safetySource.getIntentAction(), packageName); in toDefaultSafetyCenterEntry() local
442 .setPendingIntent(pendingIntent) in toDefaultSafetyCenterEntry()
459 PendingIntent pendingIntent = toPendingIntent(safetySource.getIntentAction(), null); in addSafetyCenterStaticEntryGroup() local
460 if (pendingIntent == null) { in addSafetyCenterStaticEntryGroup()
472 .setPendingIntent(pendingIntent) in addSafetyCenterStaticEntryGroup()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPanelViewController.java275 PendingIntent pendingIntent = ((QAWalletCardViewInfo) card).mWalletCard.getPendingIntent(); in onCardClicked() local
276 startPendingIntent(pendingIntent); in onCardClicked()
313 PendingIntent pendingIntent = PendingIntent.getActivity(mSysuiContext, 0, intent, in startIntent() local
315 startPendingIntent(pendingIntent); in startIntent()
318 private void startPendingIntent(PendingIntent pendingIntent) { in startPendingIntent() argument
319 mPluginCallbacks.startPendingIntentDismissingKeyguard(pendingIntent); in startPendingIntent()
/packages/modules/StatsD/aidl/android/os/
DIStatsManagerService.aidl36 void setDataFetchOperation(long configId, in PendingIntent pendingIntent, in setDataFetchOperation() argument
54 long[] setActiveConfigsChangedOperation(in PendingIntent pendingIntent, in String packageName); in setActiveConfigsChangedOperation() argument
78 void setBroadcastSubscriber(long configKey, long subscriberId, in PendingIntent pendingIntent, in setBroadcastSubscriber() argument
/packages/apps/TV/tests/robotests/src/com/android/tv/
DMediaSessionWrapperTest.java55 private PendingIntent pendingIntent; field in MediaSessionWrapperTest
59 pendingIntent = in setUp()
63 new MediaSessionWrapper(RuntimeEnvironment.application, pendingIntent) { in setUp()
81 assertThat(mediaSession.mSessionActivity).isEqualTo(this.pendingIntent); in setSessionActivity()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/
DSuggestionsPreferenceControllerTest.java203 PendingIntent pendingIntent = mock(PendingIntent.class); in launchSuggestion_sendsPendingIntent() local
204 Suggestion suggestion = new Suggestion.Builder("1").setPendingIntent(pendingIntent).build(); in launchSuggestion_sendsPendingIntent()
210 verify(pendingIntent).send(); in launchSuggestion_sendsPendingIntent()
215 PendingIntent pendingIntent = mock(PendingIntent.class); in launchSuggestion_callsSuggestionControllerLaunch() local
216 Suggestion suggestion = new Suggestion.Builder("1").setPendingIntent(pendingIntent).build(); in launchSuggestion_callsSuggestionControllerLaunch()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsManagerService.java235 public void setDataFetchOperation(long configId, PendingIntent pendingIntent, in setDataFetchOperation() argument
240 PendingIntentRef pir = new PendingIntentRef(pendingIntent, mContext); in setDataFetchOperation()
280 public long[] setActiveConfigsChangedOperation(PendingIntent pendingIntent, in setActiveConfigsChangedOperation() argument
285 PendingIntentRef pir = new PendingIntentRef(pendingIntent, mContext); in setActiveConfigsChangedOperation()
325 PendingIntent pendingIntent, String packageName) { in setBroadcastSubscriber() argument
329 PendingIntentRef pir = new PendingIntentRef(pendingIntent, mContext); in setBroadcastSubscriber()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DEligibleCardCheckerTest.java146 final PendingIntent pendingIntent = PendingIntent.getActivity( in buildSlice() local
152 = SliceAction.createDeeplink(pendingIntent, icon, ListBuilder.SMALL_IMAGE, title); in buildSlice()
158 .addAction(SliceAction.createToggle(pendingIntent, null /* actionTitle */, true)) in buildSlice()

1234