Home
last modified time | relevance | path

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

123

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDailyLoggingAlarmScheduler.java68 PendingIntent pendingIntent = createAlarmReceiverPendingIntent(appContext); in setAlarm() local
69 alarmManagerWrapper.cancel(pendingIntent); in setAlarm()
71 pendingIntent = createAlarmReceiverPendingIntent(appContext); in setAlarm()
76 pendingIntent /* operation */); in setAlarm()
/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/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/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java191 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, in getContentPendingIntent() local
193 return pendingIntent; in getContentPendingIntent()
199 PendingIntent pendingIntent = PendingIntent.getService( in getDeleteIntent() local
204 return pendingIntent; in getDeleteIntent()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java164 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in initImportanceHighBotton() local
177 null, "Long Action (no-op)", pendingIntent).build()) in initImportanceHighBotton()
180 null, "Action (no-op)", pendingIntent).build()) in initImportanceHighBotton()
183 null, "Long Action (no-op)", pendingIntent).build()) in initImportanceHighBotton()
501 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in initCallButton() local
511 .setFullScreenIntent(pendingIntent, true) in initCallButton()
/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/
DNotificationPayloadHandler.java124 PendingIntent pendingIntent = action.actionIntent; in fireAction() local
128 pendingIntent.send(resultCode); in fireAction()
130 pendingIntent.send(mContext, resultCode, additionalData); in fireAction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardFeatureProviderImplTest.java110 final PendingIntent pendingIntent = spy( in buildSlice() local
112 doReturn(intent).when(pendingIntent).getIntent(); in buildSlice()
114 final SliceAction action = SliceAction.createDeeplink(pendingIntent, icon, in buildSlice()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java1009 PendingIntent pendingIntent = PendingIntent.getService(context, instance.hashCode(), in scheduleInstanceStateChange() local
1015 am.setExactAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, timeInMillis, pendingIntent); in scheduleInstanceStateChange()
1017 am.setExact(AlarmManager.RTC_WAKEUP, timeInMillis, pendingIntent); in scheduleInstanceStateChange()
1026 PendingIntent pendingIntent = PendingIntent.getService(context, instance.hashCode(), in cancelScheduledInstanceStateChange() local
1030 if (pendingIntent != null) { in cancelScheduledInstanceStateChange()
1032 am.cancel(pendingIntent); in cancelScheduledInstanceStateChange()
1033 pendingIntent.cancel(); in cancelScheduledInstanceStateChange()
DAlarmStateManager.kt122 val pendingIntent: PendingIntent = in <lambda>() constant
129 am.setExactAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, timeInMillis, pendingIntent) in <lambda>()
131 am.setExact(AlarmManager.RTC_WAKEUP, timeInMillis, pendingIntent) in <lambda>()
139 val pendingIntent: PendingIntent? = in <lambda>() constant
144 pendingIntent?.let { in <lambda>()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedConnection.java97 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 1, intent, 0); in onShowIncomingCallUi() local
106 builder.setContentIntent(pendingIntent); in onShowIncomingCallUi()
107 builder.setFullScreenIntent(pendingIntent, true); in onShowIncomingCallUi()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCard.java45 public Builder setPendingIntent(PendingIntent pendingIntent) { in setPendingIntent() argument
46 mPendingIntent = pendingIntent; in setPendingIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DTetherService.java320 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); in scheduleAlarm() local
326 pendingIntent); in scheduleAlarm()
348 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); in cancelAlarmIfNecessary() local
350 alarmManager.cancel(pendingIntent); in cancelAlarmIfNecessary()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java124 final PendingIntent pendingIntent = PendingIntent.getService(context, in DownloadTask() local
129 pendingIntent).build(); in DownloadTask()
432 final PendingIntent pendingIntent = PendingIntent.getActivity( in makeDoneNotification() local
438 .setContentIntent(pendingIntent) in makeDoneNotification()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCard.java53 public Builder setPendingIntent(PendingIntent pendingIntent) { in setPendingIntent() argument
54 mPendingIntent = pendingIntent; in setPendingIntent()
/packages/services/Mms/src/com/android/mms/service/
DMmsRequest.java218 final PendingIntent pendingIntent = getPendingIntent(); in processResult() local
219 if (pendingIntent != null) { in processResult()
236 pendingIntent.send(context, result, fillIn); in processResult()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionServiceImpl.java167 final PendingIntent pendingIntent = PendingIntent.getBroadcast( in scheduleAlarm() local
175 SystemClock.elapsedRealtime() + delayMs, pendingIntent); in scheduleAlarm()
177 mgr.cancel(pendingIntent); in scheduleAlarm()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java357 PendingIntent pendingIntent = in updateMwi() local
369 .setContentIntent(pendingIntent) in updateMwi()
384 pendingIntent, isSettingsIntent, userHandle, isRefresh)) { in updateMwi()
435 String number, PendingIntent pendingIntent, boolean isSettingsIntent, in maybeSendVoicemailNotificationUsingDefaultDialer() argument
457 if (pendingIntent != null) { in maybeSendVoicemailNotificationUsingDefaultDialer()
461 pendingIntent); in maybeSendVoicemailNotificationUsingDefaultDialer()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/deviceinfo/
DEmergencyInfoSlice.java72 final PendingIntent pendingIntent = in createPrimaryAction() local
80 pendingIntent, in createPrimaryAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/
DEmergencyInfoSlice.java72 final PendingIntent pendingIntent = in createPrimaryAction() local
80 pendingIntent, in createPrimaryAction()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsStorageStatusManager.java65 final PendingIntent pendingIntent = UIIntents.get() in postStorageLowNotification() local
75 .setContentIntent(pendingIntent); in postStorageLowNotification()
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DSmsMessageReceiver.java89 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, di, 0); in createDisplayMessageIntent() local
90 return pendingIntent; in createDisplayMessageIntent()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/proxy/
DStartActivityParams.java51 public StartActivityParams(PendingIntent pendingIntent, int requestCode) { in StartActivityParams() argument
52 this.mPICallback = pendingIntent; in StartActivityParams()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DNotificationUtils.java81 final PendingIntent pendingIntent = getReplyPendingIntent(context, notificationId); in sendDirectReplyNotification() local
83 new Notification.Action.Builder(null, "Direct Reply Test", pendingIntent) in sendDirectReplyNotification()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceHalfCardRendererHelperTest.java105 final PendingIntent pendingIntent = PendingIntent.getActivity( in buildSlice() local
111 = SliceAction.createDeeplink(pendingIntent, icon, ListBuilder.SMALL_IMAGE, title); in buildSlice()
DSliceDeferredSetupCardRendererHelperTest.java115 final PendingIntent pendingIntent = PendingIntent.getActivity( in buildSlice() local
121 = SliceAction.createDeeplink(pendingIntent, icon, ListBuilder.SMALL_IMAGE, TITLE); in buildSlice()

123