/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptStateProviderImplTest.java | 194 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake() 293 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldNotHeadsUpWhenDozing_lessImportant() 301 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp() 329 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_filtered() 341 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_suppressPeek() 367 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_deviceNotInUse() 386 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_headsUpSuppressed() 1000 private NotificationEntry createNotification(int importance) { in createNotification() method in NotificationInterruptStateProviderImplTest 1006 return createNotification(importance, n); in createNotification() 1029 return createNotification(importance, n); in createFsiNotification() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationTestHelper.java | 287 return generateRow(createNotification(), PKG, UID, USER_HANDLE, extraInflationFlags); in createRow() 321 Notification n = createNotification(false /* isGroupSummary */, in createBubble() 338 Notification n = createNotification(false /* isGroupSummary */, in createStickyRow() 353 Notification n = createNotification(false /* isGroupSummary */, in createShortcutBubble() 370 Notification n = createNotification(false /* isGroupSummary */, in createBubbleInGroup() 415 Notification n = createNotification(false /* isGroupSummary */, null /* groupKey */, in createBubble() 462 Notification notif = createNotification(isGroupSummary, groupKey); in createRow() 471 public Notification createNotification() { in createNotification() method in NotificationTestHelper 472 return createNotification(false /* isGroupSummary */, null /* groupKey */); in createNotification() 483 return createNotification(isGroupSummary, groupKey, null /* bubble metadata */); in createNotification() [all …]
|
H A D | ExpandableNotificationRowTest.java | 260 Notification publicNotif = mNotificationTestHelper.createNotification(); in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange() 261 publicNotif.publicVersion = mNotificationTestHelper.createNotification(); in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange() 535 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable() 551 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testCanDismiss() 562 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testCannotDismiss()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/debug/ |
H A D | AdbNotificationsTest.java | 53 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_UsbTransportType() 73 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_WifiTransportType()
|
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/ |
H A D | TaskSwitcherNotificationCoordinator.kt | 62 notificationManager.notify(TAG, NOTIFICATION_ID, createNotification()) 65 private fun createNotification(): Notification { regex
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | PeopleSpaceWidgetManagerTest.java | 307 .setSbn(createNotification( in setUp() 410 StatusBarNotification sbn = createNotification( in testDoNotUpdateAppWidgetIfNoWidgets() 649 .setSbn(createNotification( in testUpdateNotificationPostedIfExistingTile() 672 .setSbn(createNotification( in testUpdateNotificationPostedOnTwoExistingTiles() 691 .setSbn(createNotification( in testUpdateNotificationOnExistingTileAfterRemovingTileForSamePerson() 708 .setSbn(createNotification( in testUpdateMissedCallNotificationWithoutContentPostedIfExistingTile() 732 .setSbn(createNotification( in testUpdateMissedCallNotificationWithContentPostedIfExistingTile() 756 .setSbn(createNotification( in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTile() 786 .setSbn(createNotification( in testRemoveMissedCallNotificationWithContentPostedIfMatchingUriTile() 907 .setSbn(createNotification( in testDoNotUpdateMissedCallNotificationWithContentPostedIfNotMatchingUriTile() [all …]
|
/aosp14/frameworks/base/core/java/android/debug/ |
H A D | AdbNotifications.java | 50 public static Notification createNotification(@NonNull Context context, in createNotification() method in AdbNotifications
|
/aosp14/frameworks/base/services/core/java/com/android/server/adb/ |
H A D | AdbDebuggingManager.java | 833 Notification notification = AdbNotifications.createNotification(mContext, in showAdbConnectedNotification()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 1486 Notification notification = AdbNotifications.createNotification(mContext, in updateAdbNotification()
|