/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationRecordTest.java | 820 StatusBarNotification sbn = in testCalculateGrantableUris_PappProvided() local 844 StatusBarNotification sbn = in testCalculateGrantableUris_PuserOverridden() local 861 StatusBarNotification sbn = in testCalculateGrantableUris_prePappProvided() local 1163 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation() local 1173 StatusBarNotification sbn = getMessagingStyleNotification(PKG_R); in testIsConversation_shortcutHasOneBot_targetsR() local 1186 StatusBarNotification sbn = getMessagingStyleNotification(PKG_R); in testIsConversation_shortcutHasOnePerson_targetsR() local 1215 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation_noShortcut() local 1225 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation_noShortcut_appHasPreviousSentFullConversation() local 1236 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation_noShortcut_userDemotedApp() local 1255 StatusBarNotification sbn = getMessagingStyleNotification(); in testIsConversation_channelDemoted() 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 | ZenModeFilteringTest.java | 82 StatusBarNotification sbn = mock(StatusBarNotification.class); in getNotificationRecord() local 89 StatusBarNotification sbn) { in getConversationRecord() 208 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_allAllowed() local 226 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_importantAllowed_isImportant() local 244 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_importantAllowed_isNotImportant() local 261 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_noneAllowed_notCallOrMsg() local 278 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_noneAllowed_callAllowed() local 298 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, n, in testConversation_noneAllowed_msgAllowed() 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 | GroupHelperTest.java | 308 StatusBarNotification sbn = notifications.get(0); in testAutoGroupCount_AddOneOngoingNotification() local 354 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testDropToZeroRemoveGroup() local 381 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAppStartsGrouping() local 393 final StatusBarNotification sbn = in testAppStartsGrouping() local 402 final StatusBarNotification sbn = in testAppStartsGrouping() local 416 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testNewNotificationsAddedToAutogroup_ifOriginalNotificationsCanceled() local 441 final StatusBarNotification sbn = getSbn(pkg, 5, String.valueOf(5), UserHandle.SYSTEM); in testNewNotificationsAddedToAutogroup_ifOriginalNotificationsCanceled() 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
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationMessagingUtil.java | 50 public boolean isImportantMessaging(StatusBarNotification sbn, int importance) { in isImportantMessaging() 58 public boolean isMessaging(StatusBarNotification sbn) { in isMessaging() 63 private boolean isDefaultMessagingApp(StatusBarNotification sbn) { in isDefaultMessagingApp() 88 private boolean hasMessagingStyle(StatusBarNotification sbn) { in hasMessagingStyle() 92 private boolean isCategoryMessage(StatusBarNotification sbn) { in isCategoryMessage()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/history/ |
H A D | NotificationSbnAdapter.java | 112 final StatusBarNotification sbn = mValues.get(position); in onBindViewHolder() local 144 private Drawable loadBackground(StatusBarNotification sbn) { in loadBackground() 164 StatusBarNotification sbn = notifications.get(i); in onRebuildComplete() local 173 public void addSbn(StatusBarNotification sbn) { in addSbn() 181 private boolean shouldShowSbn(StatusBarNotification sbn) { in shouldShowSbn() 239 private Drawable loadIcon(StatusBarNotification sbn) { in loadIcon() 250 private int normalizeUserId(StatusBarNotification sbn) { in normalizeUserId()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarNotificationActivityStarterTest.java | 166 StatusBarNotification sbn = mNotificationRow.getEntry().getSbn(); in setUp() local 253 StatusBarNotification sbn = mNotificationRow.getEntry().getSbn(); in testOnNotificationClicked_keyGuardShowing() local 282 StatusBarNotification sbn = mBubbleNotificationRow.getEntry().getSbn(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard() local 312 StatusBarNotification sbn = mBubbleNotificationRow.getEntry().getSbn(); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() local 342 StatusBarNotification sbn = mBubbleNotificationRow.getEntry().getSbn(); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing() local 378 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, in testOnFullScreenIntentWhenDozing_wakeUpDevice() local
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationListenerWithPlugins.java | 85 public boolean onPluginNotificationPosted(StatusBarNotification sbn, in onPluginNotificationPosted() 99 public boolean onPluginNotificationRemoved(StatusBarNotification sbn, in onPluginNotificationRemoved() 153 public void addNotification(StatusBarNotification sbn) { in getProvider() 158 public void removeNotification(StatusBarNotification sbn) { in getProvider()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptStateProviderImpl.java | 132 final StatusBarNotification sbn = entry.getSbn(); in shouldBubbleUp() local 184 StatusBarNotification sbn = entry.getSbn(); in shouldHeadsUpWhenAwake() local 266 StatusBarNotification sbn = entry.getSbn(); in shouldHeadsUpWhenDozing() local 312 StatusBarNotification sbn = entry.getSbn(); in canAlertCommon() local 356 StatusBarNotification sbn = entry.getSbn(); in canAlertAwakeCommon() local 370 private boolean isSnoozedPackage(StatusBarNotification sbn) { in isSnoozedPackage()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
H A D | Assistant.java | 94 public Adjustment onNotificationEnqueued(StatusBarNotification sbn) { in onNotificationEnqueued() 100 public Adjustment onNotificationEnqueued(StatusBarNotification sbn, in onNotificationEnqueued() 151 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() 170 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved() 185 public void onNotificationSnoozedUntilContext(StatusBarNotification sbn, in onNotificationSnoozedUntilContext() 248 private boolean isForCurrentUser(StatusBarNotification sbn) { in isForCurrentUser()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
H A D | NotificationListener.java | 118 StatusBarNotification sbn = (StatusBarNotification) message.obj; in handleWorkerMessage() local 125 StatusBarNotification sbn = (StatusBarNotification) message.obj; in handleWorkerMessage() local 240 public void onNotificationPosted(final StatusBarNotification sbn) { in onNotificationPosted() 247 public void onNotificationRemoved(final StatusBarNotification sbn) { in onNotificationRemoved() 267 private void updateGroupKeyIfNecessary(StatusBarNotification sbn) { in updateGroupKeyIfNecessary() 315 private boolean notificationIsValidForUI(StatusBarNotification sbn) { in notificationIsValidForUI() 337 private static Pair<PackageUserKey, NotificationKeyData> toKeyPair(StatusBarNotification sbn) { in toKeyPair()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationListener.java | 118 public void onNotificationPosted(final StatusBarNotification sbn, in onNotificationPosted() 133 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved() 146 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved() 242 void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap); in onNotificationPosted() 243 void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap); in onNotificationRemoved() 244 void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, int reason); in onNotificationRemoved()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationFilter.java | 71 final StatusBarNotification sbn = entry.getSbn(); in shouldFilterOut() local 116 private static boolean showNotificationEvenIfUnprovisioned(StatusBarNotification sbn) { in showNotificationEvenIfUnprovisioned() 122 StatusBarNotification sbn) { in showNotificationEvenIfUnprovisioned()
|
/aosp12/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
H A D | CarAssistUtils.java | 172 public static boolean isCarCompatibleMessagingNotification(StatusBarNotification sbn) { in isCarCompatibleMessagingNotification() 300 public void requestAssistantVoiceAction(StatusBarNotification sbn, String voiceAction, in requestAssistantVoiceAction() 330 private void readMessageNotification(StatusBarNotification sbn, in readMessageNotification() 346 private void replyMessageNotification(StatusBarNotification sbn, in replyMessageNotification() 354 private void requestAction(String action, StatusBarNotification sbn, Bundle payloadArguments, in requestAction() 411 private void handleFallback(StatusBarNotification sbn, String action, in handleFallback()
|
/aosp12/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/ |
H A D | ShadowCarAssistUtils.java | 36 protected static boolean isCarCompatibleMessagingNotification(StatusBarNotification sbn) { in isCarCompatibleMessagingNotification() 41 protected void requestAssistantVoiceAction(StatusBarNotification sbn, String voiceAction, in requestAssistantVoiceAction()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/ |
H A D | NotificationGroupManagerLegacy.java | 128 public boolean isLogicalGroupExpanded(StatusBarNotification sbn) { in isLogicalGroupExpanded() 176 final StatusBarNotification sbn) { in onEntryRemovedInternal() 226 final StatusBarNotification sbn = added.getSbn(); in onEntryAddedInternal() local 558 private boolean isOnlyChild(StatusBarNotification sbn) { in isOnlyChild() 565 final StatusBarNotification sbn = entry.getSbn(); in isOnlyChildInGroup() local 609 final StatusBarNotification sbn = entry.getSbn(); in isChildInGroup() local 628 final StatusBarNotification sbn = entry.getSbn(); in isGroupSummary() local 705 public String getGroupKey(StatusBarNotification sbn) { in getGroupKey() 733 public boolean isGroupSummary(StatusBarNotification sbn) { in isGroupSummary() 746 public boolean isGroupChild(StatusBarNotification sbn) { in isGroupChild() [all …]
|
/aosp12/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() 94 public final StatusBarNotification sbn; field in NoManSimulator.NotifEvent 99 StatusBarNotification sbn, in NotifEvent()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/service/notification/ |
H A D | StatusBarNotificationTest.java | 107 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerNoStaleData() local 160 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerOverrideGroup() local 193 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testIsAppGroup() local 212 StatusBarNotification sbn = new StatusBarNotification( in testGetPackageContext_worksWithUserAll() local
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationAssistantService.java | 125 abstract public void onNotificationSnoozedUntilContext(@NonNull StatusBarNotification sbn, in onNotificationSnoozedUntilContext() 137 abstract public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn); in onNotificationEnqueued() 146 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued() 160 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued() 188 public void onNotificationRemoved(@NonNull StatusBarNotification sbn, in onNotificationRemoved() 351 StatusBarNotification sbn; in onNotificationEnqueuedWithChannel() local 376 StatusBarNotification sbn; in onNotificationSnoozedUntilContext() local 519 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage() local 545 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage() local
|
/aosp12/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()
|