Home
last modified time | relevance | path

Searched refs:notificationBuilder (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertReceiver.kt84 notificationBuilder: Notification.Builder, in buildBasicNotification()
103 notificationBuilder.setContentTitle(title) in buildBasicNotification()
104 notificationBuilder.setContentText(summaryText) in buildBasicNotification()
105 notificationBuilder.setSmallIcon(R.drawable.stat_notify_calendar) in buildBasicNotification()
108 notificationBuilder.setWhen(0) in buildBasicNotification()
113 notificationBuilder.setPriority(priority) in buildBasicNotification()
115 return notificationBuilder.getNotification() in buildBasicNotification()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DNotificationUtils.java106 final Notification.Builder notificationBuilder = in onReceiveDirectReply() local
108 notificationBuilder.setContentText("Content Title") in onReceiveDirectReply()
113 .notify(notificationId, notificationBuilder.build()); in onReceiveDirectReply()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DConnectToNetworkNotificationBuilder.java101 Notification.Builder notificationBuilder = in createConnectToAvailableNetworkNotification() local
109 notificationBuilder.setVisibility(VISIBILITY_SECRET); in createConnectToAvailableNetworkNotification()
111 return notificationBuilder.build(); in createConnectToAvailableNetworkNotification()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetySourceIssueTest.kt373 val notificationBuilder = Notification.Builder("", "").addAction(action1) in notification_builder_addAction_doesNotMutatePreviouslyBuiltInstance() constant
374 val actions = notificationBuilder.build().actions in notification_builder_addAction_doesNotMutatePreviouslyBuiltInstance()
376 notificationBuilder.addAction(action2) in notification_builder_addAction_doesNotMutatePreviouslyBuiltInstance()
392 val notificationBuilder = Notification.Builder("", "").addAction(action1) in notification_builder_addActions_keepsPreviouslyAddedActions() constant
394 notificationBuilder.addActions(listOf(action2)) in notification_builder_addActions_keepsPreviouslyAddedActions()
396 assertThat(notificationBuilder.build().actions).containsExactly(action1, action2).inOrder() in notification_builder_addActions_keepsPreviouslyAddedActions()
402 val notificationBuilder = Notification.Builder("", "").addActions(listOf(action1)) in notification_builder_addActions_doesNotMutatePreviouslyBuiltInstance() constant
403 val actions = notificationBuilder.build().actions in notification_builder_addActions_doesNotMutatePreviouslyBuiltInstance()
405 notificationBuilder.addActions(listOf(action2, action3)) in notification_builder_addActions_doesNotMutatePreviouslyBuiltInstance()
435 val notificationBuilder = in notification_build_withDuplicateActionIds_throwsIllegalArgumentException() constant
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DAutoGrantPermissionsNotifier.java162 Notification.Builder notificationBuilder = (new Notification.Builder(mContext, in notifyOfAutoGrantPermissions() local
182 notificationBuilder.addExtras(extras); in notifyOfAutoGrantPermissions()
195 notificationBuilder.build()); in notifyOfAutoGrantPermissions()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java275 Notification.Builder notificationBuilder = in showNonSpamCallNotification() local
305 context, getNotificationTagForCall(call), NOTIFICATION_ID, notificationBuilder.build()); in showNonSpamCallNotification()
394 Notification.Builder notificationBuilder = in showSpamCallNotification() local
423 context, getNotificationTagForCall(call), NOTIFICATION_ID, notificationBuilder.build()); in showSpamCallNotification()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java2125 final Notification.Builder notificationBuilder = new Notification.Builder( in launchIdleText() local
2127 setNotificationTitle(slotId, notificationBuilder); in launchIdleText()
2128 notificationBuilder in launchIdleText()
2130 notificationBuilder.setContentIntent(pendingIntent); in launchIdleText()
2131 notificationBuilder.setOngoing(true); in launchIdleText()
2132 notificationBuilder.setOnlyAlertOnce(true); in launchIdleText()
2136 notificationBuilder.setContentText(msg.text); in launchIdleText()
2137 notificationBuilder.setTicker(msg.text); in launchIdleText()
2138 notificationBuilder.setStyle(new Notification.BigTextStyle(notificationBuilder) in launchIdleText()
2142 notificationBuilder.setLargeIcon(msg.icon); in launchIdleText()
[all …]
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDeviceLockNotificationManager.java235 NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder( in sendDeferredProvisioningNotification()
251 notificationBuilder.build()); in sendDeferredProvisioningNotification()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v34/
DSafetyLabelChangesJobService.kt548 var notificationBuilder = in <lambda>() variable
566 notificationBuilder.addExtras( in <lambda>()
572 notificationBuilder.build() in <lambda>()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamMediaService.java403 Notification.Builder notificationBuilder = in buildNotification() local
409 return notificationBuilder.build(); in buildNotification()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java439 Notification.Builder notificationBuilder = new Notification.Builder(mContext, CHANNEL_ID) in isHeadsUpDismissible_ongoingCallNotificationWithFullScreenIntent_returnsFalse() local
444 when(sbn.getNotification()).thenReturn(notificationBuilder.build()); in isHeadsUpDismissible_ongoingCallNotificationWithFullScreenIntent_returnsFalse()
DCarHeadsUpNotificationQueueTest.java965 Notification.Builder notificationBuilder = new Notification.Builder(mContext, in generateMockStatusBarNotification() local
968 notificationBuilder.setFullScreenIntent(mock(PendingIntent.class), in generateMockStatusBarNotification()
971 when(sbn.getNotification()).thenReturn(notificationBuilder.build()); in generateMockStatusBarNotification()