Home
last modified time | relevance | path

Searched refs:getPendingIntent (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DExportImportNotificationFactory.java283 private PendingIntent getPendingIntent(Intent intent) {
295 return result == null ? getPendingIntent(FALLBACK_INTENT) : getPendingIntent(intent);
301 return result == null ? getPendingIntent(FALLBACK_INTENT) : getPendingIntent(intent);
307 return result == null ? getPendingIntent(FALLBACK_INTENT) : getPendingIntent(intent);
313 return result == null ? getPendingIntent(FALLBACK_INTENT) : getPendingIntent(intent);
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationFactory.java137 private PendingIntent getPendingIntent(Intent intent) { in getPendingIntent() method in MigrationNotificationFactory
153 return getPendingIntent(FALLBACK_INTENT); in getMigrationInfoPendingIntent()
155 return getPendingIntent(intent); in getMigrationInfoPendingIntent()
163 return getPendingIntent(FALLBACK_INTENT); in getSystemUpdatePendingIntent()
165 return getPendingIntent(intent); in getSystemUpdatePendingIntent()
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DLockScreenSafetySourceTest.java167 assertThat(safetySourceStatus.getPendingIntent().getIntent()).isNotNull(); in setSafetySourceData_whenScreenLockIsEnabled_setData()
168 assertThat(safetySourceStatus.getPendingIntent().getIntent().getAction()) in setSafetySourceData_whenScreenLockIsEnabled_setData()
172 .getPendingIntent() in setSafetySourceData_whenScreenLockIsEnabled_setData()
340 assertThat(action.getPendingIntent().getIntent().getAction()) in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue()
342 assertThat(action.getPendingIntent().getIntent().getStringExtra(EXTRA_DESTINATION)) in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue()
409 assertThat(safetySourceStatus.getPendingIntent()).isNull(); in setSafetySourceData_whenPasswordQualityIsManaged_setDisabled()
442 assertThat(safetySourceStatus.getPendingIntent()).isNotNull(); in setSafetySourceData_whenPasswordQualityIsNotManaged_setEnabled()
469 assertThat(iconAction.getPendingIntent().getIntent().getAction()) in setSafetySourceData_whenShouldShowGearMenu_setGearMenuActionIcon()
471 assertThat(iconAction.getPendingIntent().getIntent().getStringExtra(EXTRA_DESTINATION)) in setSafetySourceData_whenShouldShowGearMenu_setGearMenuActionIcon()
DWearSafetySourceTest.java270 Intent clickIntent = safetySourceStatus.getPendingIntent().getIntent(); in assertSafetySourceDisabledDataSet()
292 Intent clickIntent = safetySourceStatus.getPendingIntent().getIntent(); in assertSafetySourceEnabledDataSet()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DEthernetDetectionUtil.java38 getPendingIntent(context)); in registerEthernetDetection()
48 private static PendingIntent getPendingIntent(Context context) { in getPendingIntent() method in EthernetDetectionUtil
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DAndroidLockScreenFix.java104 PendingIntent originalPendingIntent = status.getPendingIntent(); in overrideTiramisuSafetySourceStatus()
125 context, iconAction.getPendingIntent(), /* isIconAction= */ true)); in overrideTiramisuIconAction()
146 context, action.getPendingIntent(), /* isIconAction= */ false); in overrideTiramisuIssueAction()
DSafetySourceDataOverrides.java46 .setPendingIntent(status.getPendingIntent()) in copyStatusToBuilder()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DGetTranscriptReceiver.java96 return getPendingIntent(context, intent, PendingIntent.FLAG_NO_CREATE) != null; in hasPendingAlarm()
126 getPendingIntent(context, intent, PendingIntent.FLAG_UPDATE_CURRENT); in scheduleAlarm()
135 PendingIntent alarmIntent = getPendingIntent(context, intent, PendingIntent.FLAG_NO_CREATE); in cancelAlarm()
170 private static PendingIntent getPendingIntent(Context context, Intent intent, int flags) { in getPendingIntent() method in GetTranscriptReceiver
/packages/apps/Settings/src/com/android/settings/sim/
DSimActivationNotifier.java145 stackBuilder.getPendingIntent( in sendNetworkConfigNotification()
166 stackBuilder.getPendingIntent( in sendSwitchedToRemovableSlotNotification()
202 stackBuilder.getPendingIntent( in sendEnableDsdsNotification()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DPeriodicJobManager.java74 final PendingIntent pendingIntent = getPendingIntent(); in refreshJob()
115 private PendingIntent getPendingIntent() { in getPendingIntent() method in PeriodicJobManager
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DStaticSafetyEntryPreference.java60 if (entry.getPendingIntent() != null) { in StaticSafetyEntryPreference()
64 PendingIntentSender.send(mEntry.getPendingIntent(), launchTaskId); in StaticSafetyEntryPreference()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSplitSelectDataHolder.kt219 private fun getPendingIntent(intent: Intent?, user: UserHandle?): PendingIntent? { in getPendingIntent() method in com.android.quickstep.util.SplitSelectDataHolder
303 initialPendingIntent = getPendingIntent(initialIntent, initialUser) in convertIntentsToFinalTypes()
317 secondPendingIntent = getPendingIntent(secondIntent, secondUser) in convertIntentsToFinalTypes()
/packages/services/Car/service-builtin/src/com/android/car/admin/
DNotificationHelper.java248 PendingIntent closeActionPendingIntent = getPendingIntent(context, in showResourceOveruseNotificationsAsUser()
251 PendingIntent prioritizeActionPendingIntent = getPendingIntent(context, in showResourceOveruseNotificationsAsUser()
282 static PendingIntent getPendingIntent(Context context, String action, UserHandle user, in getPendingIntent() method in NotificationHelper
/packages/apps/Car/Settings/src/com/android/car/settings/suggestions/
DSuggestionsPreferenceController.java201 if (suggestion.getPendingIntent() != null) { in launchSuggestion()
202 suggestion.getPendingIntent().send(); in launchSuggestion()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardController.java86 ((LegacySuggestionContextualCard) card).getPendingIntent().send(options.toBundle()); in onPrimaryClick()
157 .setPendingIntent(suggestion.getPendingIntent()) in loadSuggestions()
DLegacySuggestionContextualCard.java40 public PendingIntent getPendingIntent() { in getPendingIntent() method in LegacySuggestionContextualCard
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java362 safetySourceIssueAction.getPendingIntent()) in toSafetyCenterIssueAction()
685 inQuietMode ? null : safetySourceStatus.getPendingIntent(); in toSafetyCenterEntry()
689 : mPendingIntentFactory.getPendingIntent( in toSafetyCenterEntry()
731 iconAction.getPendingIntent())) in toSafetyCenterEntry()
769 mPendingIntentFactory.getPendingIntent( in toDefaultSafetyCenterEntry()
899 inQuietMode ? null : safetySourceStatus.getPendingIntent(); in toSafetyCenterStaticEntry()
903 : mPendingIntentFactory.getPendingIntent( in toSafetyCenterStaticEntry()
953 mPendingIntentFactory.getPendingIntent( in toDefaultSafetyCenterStaticEntry()
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceSafetySourceTest.java149 assertThat(safetySourceStatus.getPendingIntent().getIntent().getComponent().getClassName()) in setSafetySourceData_setsPsAuthenticatorIntent()
151 assertThat(safetySourceStatus.getPendingIntent().getIntent().getIdentifier()) in setSafetySourceData_setsPsAuthenticatorIntent()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/notifications/
DHealthConnectNotificationFactory.java48 default PendingIntent getPendingIntent(Context context, Intent intent) { in getPendingIntent() method
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceStatus.java125 public PendingIntent getPendingIntent() { in getPendingIntent() method in SafetySourceStatus
276 public PendingIntent getPendingIntent() { in getPendingIntent() method in SafetySourceStatus.IconAction
DSafetyCenterEntry.java225 public PendingIntent getPendingIntent() { in getPendingIntent() method in SafetyCenterEntry
488 public PendingIntent getPendingIntent() { in getPendingIntent() method in SafetyCenterEntry.IconAction
DSafetyCenterStaticEntry.java98 public PendingIntent getPendingIntent() { in getPendingIntent() method in SafetyCenterStaticEntry
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardTest.java53 .getPendingIntent()).isNotNull(); in build_shouldSetPendingIntent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/suggestions/
DSuggestionPreference.java95 mSuggestion.getPendingIntent().send(activityOptions.toBundle()); in launchSuggestion()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPendingRequestArgs.java103 public Intent getPendingIntent() { in getPendingIntent() method in PendingRequestArgs

12