Home
last modified time | relevance | path

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

12

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationFactory.java342 private PendingIntent getPendingIntent(@NonNull Intent intent) { in getPendingIntent() method in MigrationNotificationFactory
358 return getPendingIntent(FALLBACK_INTENT); in getMigrationInfoPendingIntent()
360 return getPendingIntent(intent); in getMigrationInfoPendingIntent()
368 return getPendingIntent(FALLBACK_INTENT); in getHealthHomeSettingsPendingIntent()
370 return getPendingIntent(intent); in getHealthHomeSettingsPendingIntent()
378 return getPendingIntent(FALLBACK_INTENT); in getSystemUpdatePendingIntent()
380 return getPendingIntent(intent); in getSystemUpdatePendingIntent()
391 return getPendingIntent(intent); in getAppStorePendingIntent()
399 return getPendingIntent(FALLBACK_INTENT); in getSystemStoragePendingIntent()
401 return getPendingIntent(intent); in getSystemStoragePendingIntent()
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DLockScreenSafetySourceTest.java158 assertThat(safetySourceStatus.getPendingIntent().getIntent()).isNotNull(); in setSafetySourceData_whenScreenLockIsEnabled_setData()
159 assertThat(safetySourceStatus.getPendingIntent().getIntent().getAction()) in setSafetySourceData_whenScreenLockIsEnabled_setData()
163 .getPendingIntent() in setSafetySourceData_whenScreenLockIsEnabled_setData()
331 assertThat(action.getPendingIntent().getIntent().getAction()) in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue()
333 assertThat(action.getPendingIntent().getIntent().getStringExtra(EXTRA_DESTINATION)) in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue()
400 assertThat(safetySourceStatus.getPendingIntent()).isNull(); in setSafetySourceData_whenPasswordQualityIsManaged_setDisabled()
433 assertThat(safetySourceStatus.getPendingIntent()).isNotNull(); in setSafetySourceData_whenPasswordQualityIsNotManaged_setEnabled()
460 assertThat(iconAction.getPendingIntent().getIntent().getAction()) in setSafetySourceData_whenShouldShowGearMenu_setGearMenuActionIcon()
462 assertThat(iconAction.getPendingIntent().getIntent().getStringExtra(EXTRA_DESTINATION)) in setSafetySourceData_whenShouldShowGearMenu_setGearMenuActionIcon()
/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()
DDefaultActionOverrideFix.java121 return mPendingIntentFactory.getPendingIntent( in getDefaultIntentForSource()
/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/fuelgauge/batteryusage/
DPeriodicJobManager.java74 final PendingIntent pendingIntent = getPendingIntent(); in refreshJob()
115 private PendingIntent getPendingIntent() { in getPendingIntent() method in PeriodicJobManager
/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/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
303 initialPendingIntent = getPendingIntent(initialIntent, initialUser) in convertIntentsToFinalTypes()
317 secondPendingIntent = getPendingIntent(secondIntent, secondUser) in convertIntentsToFinalTypes()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java363 safetySourceIssueAction.getPendingIntent()) in toSafetyCenterIssueAction()
613 inQuietMode ? null : safetySourceStatus.getPendingIntent(); in toSafetyCenterEntry()
617 : mPendingIntentFactory.getPendingIntent( in toSafetyCenterEntry()
659 iconAction.getPendingIntent())) in toSafetyCenterEntry()
697 mPendingIntentFactory.getPendingIntent( in toDefaultSafetyCenterEntry()
831 inQuietMode ? null : safetySourceStatus.getPendingIntent(); in toSafetyCenterStaticEntry()
835 : mPendingIntentFactory.getPendingIntent( in toSafetyCenterStaticEntry()
885 mPendingIntentFactory.getPendingIntent( in toDefaultSafetyCenterStaticEntry()
DPendingIntentFactory.java74 public PendingIntent getPendingIntent( in getPendingIntent() method in PendingIntentFactory
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardController.java82 ((LegacySuggestionContextualCard) card).getPendingIntent().send(); in onPrimaryClick()
153 .setPendingIntent(suggestion.getPendingIntent()) in loadSuggestions()
DLegacySuggestionContextualCard.java40 public PendingIntent getPendingIntent() { in getPendingIntent() method in LegacySuggestionContextualCard
/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/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/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardTest.java53 .getPendingIntent()).isNotNull(); in build_shouldSetPendingIntent()
/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/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
/packages/services/Mms/src/com/android/mms/service/
DMmsRequest.java336 final PendingIntent pendingIntent = getPendingIntent(); in processResult()
515 protected abstract PendingIntent getPendingIntent(); in getPendingIntent() method in MmsRequest

12