Home
last modified time | relevance | path

Searched refs:createNotification (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/
DNotificationContentDescriptionTest.kt38 val n = createNotification(TITLE, TEXT, TICKER) in notificationWithAllDifferentFields_descriptionIsTitle()
45 val n = createNotification(getTestAppName(), TEXT, TICKER) in notificationWithAllDifferentFields_titleMatchesAppName_descriptionIsText()
52 val n = createNotification(getTestAppName(), null, TICKER) in notificationWithAllDifferentFields_titleMatchesAppNameNoText_descriptionIsTicker()
60 val n = createNotification(appName, null, null) in notificationWithAllDifferentFields_titleMatchesAppNameNoTextNoTicker_descriptionEmpty()
65 private fun createNotification( in createNotification() method
77 return createNotification("", "", "").loadHeaderAppName(mContext) in createNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java207 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testDefaultSuppressorDoesNotSuppress()
219 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake()
250 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing()
262 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_hiddenOnLockscreen()
279 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_pulseDisabled()
292 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_notDozing()
304 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_suppressingAmbient()
318 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldNotHeadsUpWhenDozing_lessImportant()
326 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp()
370 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_filtered()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationTestHelper.java344 return generateRow(createNotification(), PKG, UID, USER_HANDLE, extraInflationFlags); in createRow()
378 Notification n = createNotification(false /* isGroupSummary */, in createBubble()
395 Notification n = createNotification(false /* isGroupSummary */, in createStickyRow()
410 Notification n = createNotification(false /* isGroupSummary */, in createShortcutBubble()
427 Notification n = createNotification(false /* isGroupSummary */, in createBubbleInGroup()
472 Notification n = createNotification(false /* isGroupSummary */, null /* groupKey */, in createBubble()
519 Notification notif = createNotification(isGroupSummary, groupKey); in createRow()
528 public Notification createNotification() { in createNotification() method in NotificationTestHelper
529 return createNotification(false /* isGroupSummary */, null /* groupKey */); in createNotification()
539 private Notification createNotification(boolean isGroupSummary, @Nullable String groupKey) { in createNotification() method in NotificationTestHelper
[all …]
DExpandableNotificationRowTest.java237 Notification publicNotif = mNotificationTestHelper.createNotification(); in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange()
238 publicNotif.publicVersion = mNotificationTestHelper.createNotification(); in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange()
335 Notification publicNotif = mNotificationTestHelper.createNotification(); in setHideSensitive_changeContent_shouldNotDisturbAnimation()
336 publicNotif.publicVersion = mNotificationTestHelper.createNotification(); in setHideSensitive_changeContent_shouldNotDisturbAnimation()
540 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable()
556 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testCanDismiss()
567 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testCannotDismiss()
/frameworks/base/core/tests/coretests/src/android/debug/
DAdbNotificationsTest.java53 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_UsbTransportType()
73 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_WifiTransportType()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java180 private void createNotification(@NonNull PrintJobInfo printJob, @Nullable Action firstAction, in createNotification() method in NotificationController
223 createNotification(printJob, createCancelAction(printJob), null); in createPrintingNotification()
231 createNotification(printJob, createCancelAction(printJob), restartActionBuilder.build()); in createFailedNotification()
235 createNotification(printJob, createCancelAction(printJob), null); in createBlockedNotification()
239 createNotification(printJob, null, null); in createCancellingNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/
DTaskSwitcherNotificationCoordinator.kt87 notificationManager.notify(TAG, NOTIFICATION_ID, createNotification(uiState)) in <lambda>()
90 private fun createNotification(uiState: Showing): Notification { in <lambda>() method in com.android.systemui.mediaprojection.taskswitcher.ui.TaskSwitcherNotificationCoordinator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java314 .setSbn(createNotification( in setUp()
423 StatusBarNotification sbn = createNotification( in testDoNotUpdateAppWidgetIfNoWidgets()
533 StatusBarNotification sbn = createNotification( in testDoNotUpdateNotificationPostedIfDifferentShortcutId()
568 StatusBarNotification sbn = createNotification( in testDoNotUpdateNotificationRemovedIfDifferentShortcutId()
662 .setSbn(createNotification( in testUpdateNotificationPostedIfExistingTile()
685 .setSbn(createNotification( in testUpdateNotificationPostedOnTwoExistingTiles()
704 .setSbn(createNotification( in testUpdateNotificationOnExistingTileAfterRemovingTileForSamePerson()
721 .setSbn(createNotification( in testUpdateMissedCallNotificationWithoutContentPostedIfExistingTile()
745 .setSbn(createNotification( in testUpdateMissedCallNotificationWithContentPostedIfExistingTile()
769 .setSbn(createNotification( in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTile()
[all …]
/frameworks/base/core/java/android/debug/
DAdbNotifications.java50 public static Notification createNotification(@NonNull Context context, in createNotification() method in AdbNotifications
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainerTest.java277 Notification notification = mNotificationTestHelper.createNotification(); in createHeaderView()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccPort.java872 notifications[i] = createNotification(nodes.get(i)); in listNotifications()
913 notifications[i] = createNotification(nodes.get(i)); in retrieveNotificationList()
942 return createNotification(nodes.get(0)); in retrieveNotification()
1346 private static EuiccNotification createNotification(Asn1Node node) in createNotification() method
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java848 Notification notification = AdbNotifications.createNotification(mContext, in showAdbConnectedNotification()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1612 Notification notification = AdbNotifications.createNotification(mContext, in updateAdbNotification()