Home
last modified time | relevance | path

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

12

/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/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java177 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, in getContentPendingIntent() local
179 return pendingIntent; in getContentPendingIntent()
185 PendingIntent pendingIntent = PendingIntent.getBroadcast( in getDeleteIntent() local
190 return pendingIntent; in getDeleteIntent()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationActionUtils.java208 final PendingIntent pendingIntent = getNotificationActionPendingIntent( in addNotificationActions() local
217 notification.addAction(actionIconResId, title, pendingIntent); in addNotificationActions()
691 final PendingIntent pendingIntent = in registerUndoTimeout() local
694 alarmManager.set(AlarmManager.ELAPSED_REALTIME, triggerAtMills, pendingIntent); in registerUndoTimeout()
710 final PendingIntent pendingIntent = in cancelUndoTimeout() local
713 alarmManager.cancel(pendingIntent); in cancelUndoTimeout()
729 final PendingIntent pendingIntent = in createUndoTimeoutPendingIntent() local
732 return pendingIntent; in createUndoTimeoutPendingIntent()
/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()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java352 PendingIntent pendingIntent = in updateMwi() local
365 .setContentIntent(pendingIntent) in updateMwi()
381 pendingIntent, isSettingsIntent, userHandle, isRefresh)) { in updateMwi()
427 String number, PendingIntent pendingIntent, boolean isSettingsIntent, in maybeSendVoicemailNotificationUsingDefaultDialer() argument
449 if (pendingIntent != null) { in maybeSendVoicemailNotificationUsingDefaultDialer()
453 pendingIntent); in maybeSendVoicemailNotificationUsingDefaultDialer()
/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/apps/Settings/src/com/android/settings/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/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCard.java45 public Builder setPendingIntent(PendingIntent pendingIntent) { in setPendingIntent() argument
46 mPendingIntent = pendingIntent; in setPendingIntent()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java310 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); in scheduleAlarm() local
318 pendingIntent); in scheduleAlarm()
340 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); in cancelAlarmIfNecessary() local
342 alarmManager.cancel(pendingIntent); in cancelAlarmIfNecessary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DTetherService.java296 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); in scheduleAlarm() local
304 pendingIntent); in scheduleAlarm()
326 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); in cancelAlarmIfNecessary() local
328 alarmManager.cancel(pendingIntent); in cancelAlarmIfNecessary()
/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.java169 final PendingIntent pendingIntent = PendingIntent.getBroadcast( in scheduleAlarm() local
177 SystemClock.elapsedRealtime() + delayMs, pendingIntent); in scheduleAlarm()
179 mgr.cancel(pendingIntent); in scheduleAlarm()
/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()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersUtil.java97 PendingIntent pendingIntent = PendingIntent.getActivity( in updateEmergencyCallNotification() local
109 .setContentIntent(pendingIntent) in updateEmergencyCallNotification()

12