/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationRecordTest.java | 864 StatusBarNotification sbn = in testCalculateGrantableUris_PappProvided() local 885 StatusBarNotification sbn = in testCalculateGrantableUris_PappProvided_invalidSound() local 904 StatusBarNotification sbn = in testCalculateGrantableUris_PuserOverridden() local 921 StatusBarNotification sbn = in testCalculateGrantableUris_prePappProvided() local 1195 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation() local 1205 StatusBarNotification sbn = getMessagingStyleNotification(PKG_R); in testIsConversation_shortcutHasOneBot_targetsR() local 1247 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation_noShortcut() local 1257 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation_noShortcut_appHasPreviousSentFullConversation() local 1268 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation_noShortcut_userDemotedApp() local 1287 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation_channelDemoted() local [all …]
|
H A D | GroupHelperTest.java | 244 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAddSummary_oneChildOngoing_summaryOngoing() local 262 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAddSummary_oneChildAutoCancel_summaryNotAutoCancel() local 280 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAddSummary_allChildrenAutoCancel_summaryAutoCancel() local 296 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAddSummary_summaryAutoCancelNoClear() local 318 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAutoGrouped_allOngoing_updateChildNotOngoing() local 343 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAutoGrouped_singleOngoing_removeOngoingChild() local 368 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAutoGrouped_noOngoing_updateOngoingChild() local 392 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAutoGrouped_noOngoing_addOngoingChild() local 429 StatusBarNotification sbn = getSbn(pkg, 0, "0", UserHandle.SYSTEM, "app group now"); in testAutoGrouped_singleOngoing_appGroupOngoingChild() local 529 StatusBarNotification sbn = getSbn(pkg, 0, "0", UserHandle.SYSTEM, "app group now"); in testAutoGrouped_allAutoCancel_updateChildAppGrouped() local [all …]
|
H A D | ArchiveTest.java | 89 StatusBarNotification sbn = getNotification("pkg" + i, i, in testRecordAndRead() local 122 StatusBarNotification sbn = getNotification("pkg" + i, i, UserHandle.of(USER_SYSTEM)); in testRecordAndRead_overLimit() local 142 StatusBarNotification sbn = getNotification("pkg" + i, i, in testDoesNotRecordIfHistoryDisabled() local 162 StatusBarNotification sbn = getNotification("pkg" + i, i, in testRemovesEntriesWhenHistoryDisabled() local 186 StatusBarNotification sbn = getNotification("pkg", i, UserHandle.of(USER_CURRENT)); in testRemoveChannelNotifications() local 211 StatusBarNotification sbn = getNotification("pkg", i, UserHandle.of(USER_CURRENT)); in testRemoveChannelNotifications_concurrently() local
|
H A D | NotificationIntrusivenessExtractorTest.java | 49 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "", 0, in testNonIntrusive() local 67 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "", 0, in testIntrusive_fillScreen() local 86 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "", 0, in testOldNotificationsNotIntrusive() local
|
H A D | ZenModeFilteringTest.java | 100 StatusBarNotification sbn = mock(StatusBarNotification.class); in getNotificationRecord() local 107 StatusBarNotification sbn) { in getConversationRecord() 128 StatusBarNotification sbn = mock(StatusBarNotification.class); in getCallRecordWithPeopleInfo() local 249 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_allAllowed() local 267 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_importantAllowed_isImportant() local 285 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_importantAllowed_isNotImportant() local 302 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_noneAllowed_notCallOrMsg() local 319 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_noneAllowed_callAllowed() local 339 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_noneAllowed_msgAllowed() local
|
H A D | NotificationChannelExtractorTest.java | 63 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "", 0, in testExtractsUpdatedChannel() local 90 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "tag", 0, in testInvalidShortcutFlagEnabled_looksUpCorrectChannel() local 118 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "tag", 0, in testInvalidShortcutFlagDisabled_looksUpCorrectChannel() local
|
H A D | NotificationManagerServiceTest.java | 849 StatusBarNotification sbn = new StatusBarNotification(pkg, pkg, uid, in generateSbn() local 868 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, id, in generateNotificationRecord() local 926 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, id, in generateMessageBubbleNotifRecord() local 1452 final StatusBarNotification sbn = in testEnqueuedRestrictedNotifications_hasPermission() local 1476 final StatusBarNotification sbn = in testEnqueuedRestrictedNotifications_notAutomotive() local 2065 final StatusBarNotification sbn = r.getSbn(); in testCancelNotificationsFromListenerImmediatelyAfterEnqueue() local 4847 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 1, in testNoNotificationDuringSetupPermission() local 4872 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 1, in testNoFakeColorizedPermission() local 4898 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 1, in testMediaStyleRemote_hasPermission() local 7186 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, in testCannotRemoveForegroundFlagWhenOverLimit_enqueued() local [all …]
|
H A D | BadgeExtractorTest.java | 80 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, mId, mTag, mUid, in getNotificationRecord() local 111 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, mId, mTag, mUid, in getNotificationRecordWithBubble() local 136 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, mId, mTag, mUid, in getNotificationRecordWithMedia() local
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationMessagingUtil.java | 53 public boolean isImportantMessaging(StatusBarNotification sbn, int importance) { in isImportantMessaging() 61 public boolean isMessaging(StatusBarNotification sbn) { in isMessaging() 66 private boolean isDefaultMessagingApp(StatusBarNotification sbn) { in isDefaultMessagingApp() 95 private boolean hasMessagingStyle(StatusBarNotification sbn) { in hasMessagingStyle() 99 private boolean isCategoryMessage(StatusBarNotification sbn) { in isCategoryMessage()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationListenerWithPlugins.java | 88 public boolean onPluginNotificationPosted(StatusBarNotification sbn, in onPluginNotificationPosted() 102 public boolean onPluginNotificationRemoved(StatusBarNotification sbn, in onPluginNotificationRemoved() 159 public void addNotification(StatusBarNotification sbn) { in getProvider() 164 public void removeNotification(StatusBarNotification sbn) { in getProvider()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/ |
H A D | TvNotificationHandler.java | 64 public void onNotificationPosted(StatusBarNotification sbn, in onNotificationPosted() 71 mNotifications.put(sbn.getId(), sbn); in onNotificationPosted() local 79 public void onNotificationRemoved(StatusBarNotification sbn, in onNotificationRemoved() 93 public void onNotificationRemoved(StatusBarNotification sbn, in onNotificationRemoved()
|
/aosp14/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
H A D | NotificationListenerController.java | 38 default boolean onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() 45 default boolean onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved() 79 void addNotification(StatusBarNotification sbn); in addNotification() 80 void removeNotification(StatusBarNotification sbn); in removeNotification()
|
H A D | NotificationPersonExtractorPlugin.java | 41 PersonData extractPerson(StatusBarNotification sbn); in extractPerson() 50 default String extractPersonKey(StatusBarNotification sbn) { in extractPersonKey() 58 default boolean isPersonNotification(StatusBarNotification sbn) { in isPersonNotification()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarNotificationActivityStarterTest.java | 188 StatusBarNotification sbn = mNotificationRow.getEntry().getSbn(); in setUp() local 327 StatusBarNotification sbn = entry.getSbn(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard() local 359 StatusBarNotification sbn = entry.getSbn(); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() local 387 StatusBarNotification sbn = entry.getSbn(); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing() local 421 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, in testOnFullScreenIntentWhenDozing_wakeUpDevice() local 454 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, in testOnFullScreenIntentWhenDozing_logToStatsd() local
|
/aosp14/frameworks/base/core/tests/coretests/src/android/service/notification/ |
H A D | StatusBarNotificationTest.java | 110 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerNoStaleData() local 163 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerOverrideGroup() local 196 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testIsAppGroup() local 215 StatusBarNotification sbn = new StatusBarNotification( in testGetPackageContext_worksWithUserAll() local 225 StatusBarNotification sbn = getNotification("pkg", null, "channel"); in testGetUidFromKey() local 235 StatusBarNotification sbn = getNotification("pkg", null, "channel"); in testGetPkgFromKey() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationListener.java | 140 public void onNotificationPosted(final StatusBarNotification sbn, in onNotificationPosted() 155 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved() 168 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved() 308 void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap); in onNotificationPosted() 309 void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap); in onNotificationRemoved() 310 void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, int reason); in onNotificationRemoved()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NoManSimulator.java | 61 public NotifEvent retractNotif(StatusBarNotification sbn, int reason) { in retractNotif() 99 public final StatusBarNotification sbn; field in NoManSimulator.NotifEvent 104 StatusBarNotification sbn, in NotifEvent()
|
H A D | TargetSdkResolverTest.kt | 77 val sbn = createSbn(notification) regex 88 val sbn = createSbn(Notification()) regex 101 val sbn = createSbn(Notification()) regex
|
/aosp14/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationAssistantService.java | 141 abstract public void onNotificationSnoozedUntilContext(@NonNull StatusBarNotification sbn, in onNotificationSnoozedUntilContext() 154 abstract public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn); in onNotificationEnqueued() 166 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued() 180 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued() 208 public void onNotificationRemoved(@NonNull StatusBarNotification sbn, in onNotificationRemoved() 374 StatusBarNotification sbn; in onNotificationEnqueuedWithChannel() local 399 StatusBarNotification sbn; in onNotificationSnoozedUntilContext() local 542 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage() local 568 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptStateProviderImpl.java | 175 final StatusBarNotification sbn = entry.getSbn(); in shouldBubbleUp() local 271 StatusBarNotification sbn = entry.getSbn(); in getFullScreenIntentDecision() local 384 StatusBarNotification sbn = entry.getSbn(); in shouldHeadsUpWhenAwake() local 544 StatusBarNotification sbn = entry.getSbn(); in canAlertHeadsUpCommon() local 567 StatusBarNotification sbn = entry.getSbn(); in canAlertAwakeCommon() local 580 private boolean isSnoozedPackage(StatusBarNotification sbn) { in isSnoozedPackage()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | GroupHelper.java | 91 public void onNotificationPosted(StatusBarNotification sbn, boolean autogroupSummaryExists) { in onNotificationPosted() 104 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved() 121 private void maybeGroup(StatusBarNotification sbn, boolean autogroupSummaryExists) { in maybeGroup() 159 private void maybeUngroup(StatusBarNotification sbn, boolean notificationGone, int userId) { in maybeUngroup()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
H A D | NotificationHelper.java | 137 PackageManager packageManager, StatusBarNotification sbn) { in hasReadContactsPermission() 147 public static boolean shouldMatchNotificationByUri(StatusBarNotification sbn) { in shouldMatchNotificationByUri() 165 public static String getContactUri(StatusBarNotification sbn) { in getContactUri()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
H A D | InternalNotifUpdater.java | 36 void onInternalNotificationUpdate(StatusBarNotification sbn, String reason); in onInternalNotificationUpdate()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
H A D | NotificationHelperTest.java | 147 StatusBarNotification sbn = new SbnBuilder() in testGetMessagingStyleMessagesNoMessage() local 159 StatusBarNotification sbn = new SbnBuilder() in testGetMessagingStyleMessages() local
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
H A D | MediaOutputControllerTest.java | 224 final StatusBarNotification sbn = mock(StatusBarNotification.class); in setUp() local 900 final StatusBarNotification sbn = mock(StatusBarNotification.class); in getNotificationLargeIcon_withoutLargeIcon_returnsNull() local 918 final StatusBarNotification sbn = mock(StatusBarNotification.class); in getNotificationLargeIcon_withPackageNameAndMediaSession_returnsIconCompat() local 937 final StatusBarNotification sbn = mock(StatusBarNotification.class); in getNotificationLargeIcon_withPackageNameAndNoMediaSession_returnsNull() local 956 final StatusBarNotification sbn = mock(StatusBarNotification.class); in getNotificationSmallIcon_withoutSmallIcon_returnsNull() local 974 final StatusBarNotification sbn = mock(StatusBarNotification.class); in getNotificationSmallIcon_withPackageNameAndMediaSession_returnsIconCompat() local
|