Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/
DNotificationContentDescriptionTest.kt38 val n = createNotification(TITLE, TEXT, TICKER) in notificationWithAllDifferentFields_descriptionIsAppName()
43 private fun createNotification( in createNotification() method
55 return createNotification("", "", "").loadHeaderAppName(mContext) in createNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java208 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testDefaultSuppressorDoesNotSuppress()
220 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake()
295 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing()
307 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_hiddenOnLockscreen()
324 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_pulseDisabled()
337 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_notDozing()
349 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_suppressingAmbient()
363 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldNotHeadsUpWhenDozing_lessImportant()
371 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp()
415 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_filtered()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/row/
DNotificationTestHelper.java346 return generateRow(createNotification(), PKG, UID, USER_HANDLE, extraInflationFlags); in createRow()
421 Notification n = createNotification(false /* isGroupSummary */, in createBubble()
438 Notification n = createNotification(false /* isGroupSummary */, in createStickyRow()
452 Notification n = createNotification(false /* isGroupSummary */, in createShortcutBubble()
468 Notification n = createNotification(false /* isGroupSummary */, in createBubbleEntryInGroup()
486 Notification n = createNotification(false /* isGroupSummary */, in createBubbleInGroup()
531 Notification n = createNotification(false /* isGroupSummary */, null /* groupKey */, in createBubble()
578 Notification notif = createNotification(isGroupSummary, groupKey); in createRow()
587 public Notification createNotification() { in createNotification() method in NotificationTestHelper
588 return createNotification(false /* isGroupSummary */, null /* groupKey */); in createNotification()
[all …]
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowTest.java304 Notification publicNotif = mNotificationTestHelper.createNotification(); in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange()
305 publicNotif.publicVersion = mNotificationTestHelper.createNotification(); in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange()
402 Notification publicNotif = mNotificationTestHelper.createNotification(); in setHideSensitive_changeContent_shouldResetAlpha()
403 publicNotif.publicVersion = mNotificationTestHelper.createNotification(); in setHideSensitive_changeContent_shouldResetAlpha()
608 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable()
625 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testCanDismiss_immediately()
638 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testCanDismiss()
651 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testCannotDismiss()
/frameworks/base/core/java/android/debug/
DAdbNotifications.java50 public static Notification createNotification(@NonNull Context context, in createNotification() method in AdbNotifications
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundUserSoundNotifier.java265 createNotification(userInfo.name, foregroundContext, afi.getClientUid()), in notifyForegroundUserAboutSoundIfNecessary()
332 Notification createNotification(String userName, Context fgContext, int notificationClientUid) { in createNotification() method in BackgroundUserSoundNotifier
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DBackgroundUserSoundNotifierTest.java244 Notification notification = mBackgroundUserSoundNotifier.createNotification(userName, in testCreateNotification_UserSwitcherEnabled_bothActionsAvailable()
271 Notification notification = mBackgroundUserSoundNotifier.createNotification(userName, in testCreateNotification_UserSwitcherDisabled_onlyMuteActionAvailable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccPort.java873 notifications[i] = createNotification(nodes.get(i)); in listNotifications()
914 notifications[i] = createNotification(nodes.get(i)); in retrieveNotificationList()
943 return createNotification(nodes.get(0)); in retrieveNotification()
1347 private static EuiccNotification createNotification(Asn1Node node) in createNotification() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainerTest.java302 Notification notification = mNotificationTestHelper.createNotification(); in createHeaderView()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java830 Notification notification = AdbNotifications.createNotification(mContext, in showAdbConnectedNotification()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1717 Notification notification = AdbNotifications.createNotification(mContext, in updateAdbNotification()