Home
last modified time | relevance | path

Searched defs:sbn (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java205 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_default_preUpgradeUsesNotification() local
218 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_custom_preUpgradeUsesNotification() local
232 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_default_userLocked_preUpgrade() local
244 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testSound_noSound_preUpgrade() local
257 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testSound_default_upgradeUsesChannel() local
270 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_default_preUpgradeUsesNotification() local
282 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_custom_preUpgradeUsesNotification() local
295 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_custom_userLocked_preUpgrade() local
307 StatusBarNotification sbn = getNotification(PKG_O, false /* noisy */, in testVibration_custom_upgradeUsesChannel() local
317 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testImportance_preUpgrade() local
[all …]
DGroupHelperTest.java162 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testDropToZeroRemoveGroup() local
189 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAppStartsGrouping() local
201 final StatusBarNotification sbn = in testAppStartsGrouping() local
210 final StatusBarNotification sbn = in testAppStartsGrouping() local
224 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testNewNotificationsAddedToAutogroup_ifOriginalNotificationsCanceled() local
249 final StatusBarNotification sbn = getSbn(pkg, 5, String.valueOf(5), UserHandle.SYSTEM); in testNewNotificationsAddedToAutogroup_ifOriginalNotificationsCanceled() local
DNotificationIntrusivenessExtractorTest.java49 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "", 0, in testNonIntrusive() local
66 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "", 0, in testIntrusive_fillScreen() local
84 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "", 0, in testOldNotificationsNotIntrusive() local
DNotificationManagerServiceTest.java439 StatusBarNotification sbn = new StatusBarNotification(pkg, pkg, uid, "tag", uid, 0, in generateSbn() local
460 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, id, "tag", mUid, 0, in generateNotificationRecord() local
488 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 1, "tag", mUid, 0, in generateNotificationRecord() local
734 final StatusBarNotification sbn = generateNotificationRecord(channel).sbn; in testBlockedNotifications_blockedChannel() local
751 final StatusBarNotification sbn = generateNotificationRecord(channel).sbn; in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() local
780 StatusBarNotification sbn = generateNotificationRecord(channel).sbn; in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() local
834 final StatusBarNotification sbn = generateNotificationRecord(null).sbn; in testEnqueuedBlockedNotifications_blockedApp() local
847 final StatusBarNotification sbn = generateNotificationRecord(null).sbn; in testEnqueuedBlockedNotifications_blockedAppForegroundService() local
868 final StatusBarNotification sbn = in testEnqueuedRestrictedNotifications_asSystem() local
892 final StatusBarNotification sbn = in testEnqueuedRestrictedNotifications_notAutomotive() local
[all …]
DNotificationChannelExtractorTest.java62 StatusBarNotification sbn = new StatusBarNotification("", "", 0, "", 0, in testExtractsUpdatedChannel() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java80 public boolean isGroupExpanded(StatusBarNotification sbn) { in isGroupExpanded()
88 public void setGroupExpanded(StatusBarNotification sbn, boolean expanded) { in setGroupExpanded()
118 final StatusBarNotification sbn) { in onEntryRemovedInternal()
148 final StatusBarNotification sbn = added.notification; in onEntryAdded() local
272 public boolean isSummaryOfSuppressedGroup(StatusBarNotification sbn) { in isSummaryOfSuppressedGroup()
276 private boolean isOnlyChild(StatusBarNotification sbn) { in isOnlyChild()
281 public boolean isOnlyChildInGroup(StatusBarNotification sbn) { in isOnlyChildInGroup()
290 private int getTotalNumberOfChildren(StatusBarNotification sbn) { in getTotalNumberOfChildren()
326 public boolean isChildInGroupWithSummary(StatusBarNotification sbn) { in isChildInGroupWithSummary()
346 public boolean isSummaryOfGroup(StatusBarNotification sbn) { in isSummaryOfGroup()
[all …]
DNotificationListenerWithPlugins.java83 public boolean onPluginNotificationPosted(StatusBarNotification sbn, in onPluginNotificationPosted()
97 public boolean onPluginNotificationRemoved(StatusBarNotification sbn, in onPluginNotificationRemoved()
137 public void addNotification(StatusBarNotification sbn) { in getProvider()
142 public void removeNotification(StatusBarNotification sbn) { in getProvider()
/frameworks/base/core/java/com/android/internal/util/
DNotificationMessagingUtil.java49 public boolean isImportantMessaging(StatusBarNotification sbn, int importance) { in isImportantMessaging()
57 public boolean isMessaging(StatusBarNotification sbn) { in isMessaging()
62 private boolean isDefaultMessagingApp(StatusBarNotification sbn) { in isDefaultMessagingApp()
87 private boolean hasMessagingStyle(StatusBarNotification sbn) { in hasMessagingStyle()
92 private boolean isCategoryMessage(StatusBarNotification sbn) { in isCategoryMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java147 StatusBarNotification sbn = mNotificationRow.getStatusBarNotification(); in setUp() local
199 StatusBarNotification sbn = mNotificationRow.getStatusBarNotification(); in testOnNotificationClicked_keyGuardShowing() local
233 StatusBarNotification sbn = mBubbleNotificationRow.getStatusBarNotification(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard() local
262 StatusBarNotification sbn = mBubbleNotificationRow.getStatusBarNotification(); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() local
292 StatusBarNotification sbn = mBubbleNotificationRow.getStatusBarNotification(); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing() local
DStatusBarNotificationPresenterTest.java87 StatusBarNotification sbn = new StatusBarNotification("a", "a", 0, "a", 0, 0, n, in testHeadsUp_disabledStatusBar() local
101 StatusBarNotification sbn = new StatusBarNotification("a", "a", 0, "a", 0, 0, n, in testHeadsUp_disabledNotificationShade() local
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java33 default boolean onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
36 default boolean onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved()
58 void addNotification(StatusBarNotification sbn); in addNotification()
59 void removeNotification(StatusBarNotification sbn); in removeNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInterruptionStateProvider.java168 final StatusBarNotification sbn = entry.notification; in shouldBubbleUp() local
220 StatusBarNotification sbn = entry.notification; in shouldHeadsUpWhenAwake() local
293 StatusBarNotification sbn = entry.notification; in shouldHeadsUpWhenDozing() local
340 StatusBarNotification sbn = entry.notification; in canAlertCommon() local
367 StatusBarNotification sbn = entry.notification; in canAlertAwakeCommon() local
393 private boolean isSnoozedPackage(StatusBarNotification sbn) { in isSnoozedPackage()
442 boolean canHeadsUp(NotificationEntry entry, StatusBarNotification sbn); in canHeadsUp()
DNotificationFilter.java88 final StatusBarNotification sbn = entry.notification; in shouldFilterOut() local
143 private static boolean showNotificationEvenIfUnprovisioned(StatusBarNotification sbn) { in showNotificationEvenIfUnprovisioned()
149 StatusBarNotification sbn) { in showNotificationEvenIfUnprovisioned()
DNotificationClicker.java58 final StatusBarNotification sbn = row.getStatusBarNotification(); in onClick() local
95 public void register(ExpandableNotificationRow row, StatusBarNotification sbn) { in register()
DNotificationActivityStarter.java30 void onNotificationClicked(StatusBarNotification sbn, ExpandableNotificationRow row); in onNotificationClicked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceNotificationListener.java77 private void addNotification(StatusBarNotification sbn, int importance) { in addNotification()
84 private void removeNotification(StatusBarNotification sbn) { in removeNotification()
118 private void updateNotification(StatusBarNotification sbn, int newImportance) { in updateNotification()
DForegroundServiceController.java141 public boolean isDisclosureNotification(StatusBarNotification sbn) { in isDisclosureNotification()
150 public boolean isSystemAlertNotification(StatusBarNotification sbn) { in isSystemAlertNotification()
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java121 abstract public void onNotificationSnoozedUntilContext(@NonNull StatusBarNotification sbn, in onNotificationSnoozedUntilContext()
133 abstract public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn); in onNotificationEnqueued()
142 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued()
170 public void onNotificationRemoved(@NonNull StatusBarNotification sbn, in onNotificationRemoved()
289 StatusBarNotification sbn; in onNotificationEnqueuedWithChannel() local
307 StatusBarNotification sbn; in onNotificationSnoozedUntilContext() local
398 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage() local
423 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java142 StatusBarNotification sbn = mRow.getEntry().notification; in testSuppressSystemAlertNotification() local
152 StatusBarNotification sbn = mRow.getEntry().notification; in testDoNotSuppressSystemAlertNotification() local
180 StatusBarNotification sbn = mRow.getEntry().notification; in testDoNotSuppressMalformedSystemAlertNotification() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java92 public void onNotificationPosted(final StatusBarNotification sbn, in onNotificationPosted()
130 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved()
142 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java369 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, in notificationDataEntry_testIsLastMessageFromReply() local
391 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, in personHighPriority() local
404 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, in messagingStyleHighPriority() local
415 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, in minForegroundNotHighPriority() local
430 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, in lowForegroundHighPriority() local
455 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, "tag", 0, 0, in userChangeTrumpsHighPriorityCharacteristics() local
543 StatusBarNotification sbn = new StatusBarNotification( in testSort_properlySetsIsTopBucket() local
570 StatusBarNotification sbn = new StatusBarNotification( in testSort_properlySetsIsNotTopBucket() local
/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java49 public void onNotificationPosted(StatusBarNotification sbn, boolean autogroupSummaryExists) { in onNotificationPosted()
91 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved()
102 private void maybeUngroup(StatusBarNotification sbn, boolean notificationGone, int userId) { in maybeUngroup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRowBinderImpl.java135 final StatusBarNotification sbn = entry.notification; in inflateViews() local
152 StatusBarNotification sbn, ExpandableNotificationRow row, in bindRow()
230 StatusBarNotification sbn, in updateNotification()
285 StatusBarNotification sbn, ExpandableNotificationRow row); in onBindRow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java351 final StatusBarNotification sbn = mock(StatusBarNotification.class); in makeMockSBN() local
364 StatusBarNotification sbn = in makeMockFgSBN() local
387 final StatusBarNotification sbn = makeMockSBN(userid, "android", in makeMockDisclosure() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java192 StatusBarNotification sbn = row.getStatusBarNotification(); in bindGuts() local
241 StatusBarNotification sbn = row.getStatusBarNotification(); in initializeSnoozeView() local
261 StatusBarNotification sbn = row.getStatusBarNotification(); in initializeAppOpsInfo() local
287 StatusBarNotification sbn = row.getStatusBarNotification(); in initializeNotificationInfo() local

123