Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewBinderTest.kt39 private lateinit var notificationBuilder: Notification.Builder variable in com.android.systemui.statusbar.notification.row.SingleLineViewBinderTest
46 notificationBuilder = Notification.Builder(mContext, CHANNEL_ID) in setUp()
47 notificationBuilder in setUp()
58 notificationBuilder.setStyle(style) in bindNonConversationSingleLineView()
59 val notification = notificationBuilder.build() in bindNonConversationSingleLineView()
74 builder = notificationBuilder, in bindNonConversationSingleLineView()
DSingleLineConversationViewBinderTest.kt40 private lateinit var notificationBuilder: Notification.Builder variable in com.android.systemui.statusbar.notification.row.SingleLineConversationViewBinderTest
47 notificationBuilder = Notification.Builder(context, CHANNEL_ID) in setUp()
48 notificationBuilder in setUp()
73 notificationBuilder.setStyle(style).setShortcutId(SHORTCUT_ID) in bindGroupConversationSingleLineView()
74 val notification = notificationBuilder.build() in bindGroupConversationSingleLineView()
90 builder = notificationBuilder, in bindGroupConversationSingleLineView()
DSingleLineViewInflaterTest.kt289 val notificationBuilder: Notification.Builder = in <lambda>() constant
305 notificationBuilder in <lambda>()
314 val notification = notificationBuilder.setStyle(buildMessagingStyle).build() in <lambda>()
326 val notification = notificationBuilder.setStyle(buildMessagingStyle).build() in <lambda>()
337 notificationBuilder.setShortcutId(SHORTCUT_ID).setStyle(buildMessagingStyle).build() in <lambda>()
345 notificationBuilder.setShortcutId(SHORTCUT_ID).setStyle(buildMessagingStyle).build() in <lambda>()
DNotificationTestHelper.java558 Notification.Builder notificationBuilder = new Notification.Builder(mContext, "channelId") in createNotification() local
565 notificationBuilder.setGroupSummary(true); in createNotification()
568 notificationBuilder.setGroup(groupKey); in createNotification()
571 notificationBuilder.setBubbleMetadata(bubbleMetadata); in createNotification()
573 return notificationBuilder.build(); in createNotification()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DLocalMediaProjectionService.java79 final Notification.Builder notificationBuilder = in startForeground() local
82 final Notification notification = notificationBuilder.setOngoing(true) in startForeground()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationPromptController.java107 final Notification.Builder notificationBuilder = new Notification.Builder(mContext, in showNotificationIfNeeded()
111 notificationBuilder.setSmallIcon(R.drawable.ic_accessibility_24dp) in showNotificationIfNeeded()
123 notificationBuilder.build()); in showNotificationIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestSessionNotification.java52 private void overrideNotificationAppName(Notification.Builder notificationBuilder) { in overrideNotificationAppName() argument
58 notificationBuilder.addExtras(extras); in overrideNotificationAppName()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DPolicyWarningUIController.java337 final Notification.Builder notificationBuilder = new Notification.Builder(mContext, in sendNotification() local
339 notificationBuilder.setSmallIcon(R.drawable.ic_accessibility_24dp) in sendNotification()
359 notificationBuilder.setLargeIcon(bitmap); in sendNotification()
363 notificationBuilder.build()); in sendNotification()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java2725 final Notification.Builder notificationBuilder = new Notification.Builder(mContext,
2737 notificationBuilder.setLargeIcon(icon);
2741 notificationBuilder.addAction(action);
2745 final Notification notification = notificationBuilder.build();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteController.java4773 Notification.Builder notificationBuilder = new Notification.Builder(mContext) in showSatelliteSystemNotification() local
4812 notificationBuilder.addAction(actionOpenMessage); in showSatelliteSystemNotification()
4823 notificationBuilder.addAction(actionOpenSatelliteSetting); in showSatelliteSystemNotification()
4826 notificationBuilder.build(), UserHandle.ALL); in showSatelliteSystemNotification()