/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptStateProviderImplTest.java | 176 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake() 272 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldNotHeadsUpWhenDozing_lessImportant() 280 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp() 307 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_filtered() 319 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_suppressPeek() 345 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_deviceNotInUse() 364 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_headsUpSuppressed() 375 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUpAwake_awakeInterruptsSuppressed() 433 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in shouldNotBubbleUp_notABubble() 448 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in shouldNotBubbleUp_invalidMetadata() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationTestHelper.java | 212 return generateRow(createNotification(), PKG, UID, USER_HANDLE, extraInflationFlags); in createRow() 246 Notification n = createNotification(false /* isGroupSummary */, in createBubble() 262 Notification n = createNotification(false /* isGroupSummary */, in createShortcutBubble() 279 Notification n = createNotification(false /* isGroupSummary */, in createBubbleInGroup() 314 Notification n = createNotification(false /* isGroupSummary */, null /* groupKey */, in createBubble() 361 Notification notif = createNotification(isGroupSummary, groupKey); in createRow() 370 public Notification createNotification() { in createNotification() method in NotificationTestHelper 371 return createNotification(false /* isGroupSummary */, null /* groupKey */); in createNotification() 381 private Notification createNotification(boolean isGroupSummary, @Nullable String groupKey) { in createNotification() method in NotificationTestHelper 382 return createNotification(isGroupSummary, groupKey, null /* bubble metadata */); in createNotification() [all …]
|
H A D | ExpandableNotificationRowTest.java | 311 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable() 319 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable_oemLocked() 328 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable_criticalDeviceFunction()
|
/aosp12/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/ |
H A D | HeadsUpNotificationFragment.java | 46 v -> notificationManager.notify(NOTIFICATION_ID, createNotification())); in onCreateView() 50 v -> notificationManager.notify(NOTIFICATION_ID, createNotification())); in onCreateView() 63 private Notification createNotification() { in createNotification() method in HeadsUpNotificationFragment
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/packages/services/Mtp/src/com/android/mtp/ |
H A D | ServiceIntentSender.java | 68 notifications[i] = createNotification(mContext, records[i]); in sendUpdateNotificationIntent() 78 private static Notification createNotification(Context context, MtpDeviceRecord device) { in createNotification() method in ServiceIntentSender
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | PeopleSpaceWidgetManagerTest.java | 308 .setSbn(createNotification( in setUp() 411 StatusBarNotification sbn = createNotification( in testDoNotUpdateAppWidgetIfNoWidgets() 631 .setSbn(createNotification( in testUpdateNotificationPostedIfExistingTile() 654 .setSbn(createNotification( in testUpdateNotificationPostedOnTwoExistingTiles() 673 .setSbn(createNotification( in testUpdateNotificationOnExistingTileAfterRemovingTileForSamePerson() 690 .setSbn(createNotification( in testUpdateMissedCallNotificationWithoutContentPostedIfExistingTile() 714 .setSbn(createNotification( in testUpdateMissedCallNotificationWithContentPostedIfExistingTile() 738 .setSbn(createNotification( in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTile() 768 .setSbn(createNotification( in testRemoveMissedCallNotificationWithContentPostedIfMatchingUriTile() 889 .setSbn(createNotification( in testDoNotUpdateMissedCallNotificationWithContentPostedIfNotMatchingUriTile() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | LegacyVoicemailNotifier.java | 76 createNotification( in showNotification() 90 private static Notification createNotification( in createNotification() method in LegacyVoicemailNotifier
|
/aosp12/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
H A D | UpdateLayoutFragment.java | 157 mNotificationManager.notify(NOTIFICATION_ID, createNotification(getContext(), status)); in showStatus() 273 private static Notification createNotification(Context context, @StringRes int contents) { in createNotification() method in UpdateLayoutFragment
|
/aosp12/frameworks/base/core/java/android/debug/ |
H A D | AdbNotifications.java | 50 public static Notification createNotification(@NonNull Context context, in createNotification() method in AdbNotifications
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
H A D | EuiccCard.java | 909 notifications[i] = createNotification(nodes.get(i)); in listNotifications() 950 notifications[i] = createNotification(nodes.get(i)); in retrieveNotificationList() 979 return createNotification(nodes.get(0)); in retrieveNotification() 1372 private static EuiccNotification createNotification(Asn1Node node) in createNotification() method
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationEntryManagerTest.java | 192 mEntry = createNotification(); in setUp() 563 private NotificationEntry createNotification() { in createNotification() method in NotificationEntryManagerTest
|
/aosp12/frameworks/base/services/core/java/com/android/server/adb/ |
H A D | AdbDebuggingManager.java | 788 Notification notification = AdbNotifications.createNotification(mContext, in showAdbConnectedNotification()
|
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 1322 Notification notification = AdbNotifications.createNotification(mContext, in updateAdbNotification()
|