/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/ |
D | NotificationContentDescriptionTest.kt | 38 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/ |
D | NotificationInterruptStateProviderImplTest.java | 207 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/ |
D | NotificationTestHelper.java | 344 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 …]
|
D | ExpandableNotificationRowTest.java | 237 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/ |
D | AdbNotificationsTest.java | 53 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/ |
D | NotificationController.java | 180 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/ |
D | TaskSwitcherNotificationCoordinator.kt | 87 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/ |
D | PeopleSpaceWidgetManagerTest.java | 314 .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/ |
D | AdbNotifications.java | 50 public static Notification createNotification(@NonNull Context context, in createNotification() method in AdbNotifications
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationChildrenContainerTest.java | 277 Notification notification = mNotificationTestHelper.createNotification(); in createHeaderView()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccPort.java | 872 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/ |
D | AdbDebuggingManager.java | 848 Notification notification = AdbNotifications.createNotification(mContext, in showAdbConnectedNotification()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 1612 Notification notification = AdbNotifications.createNotification(mContext, in updateAdbNotification()
|