Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java254 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_default_preUpgradeUsesNotification() local
267 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_custom_preUpgradeUsesNotification() local
281 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_default_userLocked_preUpgrade() local
293 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testSound_noSound_preUpgrade() local
306 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testSound_default_upgradeUsesChannel() local
319 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_default_preUpgradeUsesNotification() local
331 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_custom_preUpgradeUsesNotification() local
345 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_custom_userLocked_preUpgrade() local
358 StatusBarNotification sbn = getNotification(PKG_O, false /* noisy */, in testVibration_custom_upgradeUsesChannel() local
370 StatusBarNotification sbn = getInsistentNotification(false /* defaultBuzz */); in testVibration_insistent_createsInsistentVibrationEffect() local
[all …]
DArchiveTest.java89 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
DNotificationIntrusivenessExtractorTest.java49 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
DGroupHelperTest.java164 StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testPostingOverLimit_addsOngoingFlag() local
324 StatusBarNotification sbn = notifications.get(AUTOGROUP_AT_COUNT); in testAutoGroupCount_AddOneOngoingNotification() local
370 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testDropToZeroRemoveGroup() local
397 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAppStartsGrouping() local
409 final StatusBarNotification sbn = in testAppStartsGrouping() local
426 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testNewNotificationsAddedToAutogroup_ifOriginalNotificationsCanceled() local
451 final StatusBarNotification sbn = getSbn(pkg, 5, String.valueOf(5), UserHandle.SYSTEM); in testNewNotificationsAddedToAutogroup_ifOriginalNotificationsCanceled() local
DZenModeFilteringTest.java100 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
DNotificationChannelExtractorTest.java63 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
DNotificationManagerServiceTest.java711 StatusBarNotification sbn = new StatusBarNotification(pkg, pkg, uid, in generateSbn() local
724 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, id, in generateNotificationRecord() local
746 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 8, "tag", mUid, 0, in generateNotificationRecord() local
758 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 1, "tag", mUid, 0, in generateNotificationRecord() local
777 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, id, in generateMessageBubbleNotifRecord() local
949 StatusBarNotification sbn = new StatusBarNotification(PKG, PKG, 8, "tag", mUid, 0, in testLimitTimeOutBroadcast() local
1154 final StatusBarNotification sbn = generateNotificationRecord(channel).getSbn(); in testBlockedNotifications_blockedChannel() local
1174 final StatusBarNotification sbn = generateNotificationRecord(channel).getSbn(); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() local
1205 StatusBarNotification sbn = generateNotificationRecord(channel).getSbn(); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() local
1259 final StatusBarNotification sbn = generateNotificationRecord(null).getSbn(); in testEnqueuedBlockedNotifications_blockedApp() local
[all …]
DBadgeExtractorTest.java80 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
/frameworks/base/core/java/com/android/internal/util/
DNotificationMessagingUtil.java50 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
DTvNotificationHandler.java64 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()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java38 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()
DNotificationPersonExtractorPlugin.java41 PersonData extractPerson(StatusBarNotification sbn); in extractPerson()
50 default String extractPersonKey(StatusBarNotification sbn) { in extractPersonKey()
58 default boolean isPersonNotification(StatusBarNotification sbn) { in isPersonNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java175 StatusBarNotification sbn = mNotificationRow.getEntry().getSbn(); in setUp() local
304 StatusBarNotification sbn = entry.getSbn(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard() local
336 StatusBarNotification sbn = entry.getSbn(); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing() local
364 StatusBarNotification sbn = entry.getSbn(); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing() local
396 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, in testOnFullScreenIntentWhenDozing_wakeUpDevice() local
426 StatusBarNotification sbn = new StatusBarNotification("pkg", "pkg", 0, in testOnFullScreenIntentWhenDozing_logToStatsd() local
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java110 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java88 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DTargetSdkResolverTest.kt77 val sbn = createSbn(notification) in resolveFromNotificationExtras() constant
88 val sbn = createSbn(Notification()) in resolveFromPackageManager() constant
101 val sbn = createSbn(Notification()) in resolveFromPackageManager_andPackageManagerCrashes() constant
DNoManSimulator.java61 public NotifEvent retractNotif(StatusBarNotification sbn, int reason) { in retractNotif()
99 public final StatusBarNotification sbn; field in NoManSimulator.NotifEvent
104 StatusBarNotification sbn, in NotifEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java140 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()
307 void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap); in onNotificationPosted()
308 void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap); in onNotificationRemoved()
309 void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, int reason); in onNotificationRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java173 final StatusBarNotification sbn = entry.getSbn(); in shouldBubbleUp() local
268 StatusBarNotification sbn = entry.getSbn(); in getFullScreenIntentDecision() local
402 StatusBarNotification sbn = entry.getSbn(); in shouldHeadsUpWhenAwake() local
559 StatusBarNotification sbn = entry.getSbn(); in canAlertHeadsUpCommon() local
582 StatusBarNotification sbn = entry.getSbn(); in canAlertAwakeCommon() local
595 private boolean isSnoozedPackage(StatusBarNotification sbn) { in isSnoozedPackage()
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java142 abstract public void onNotificationSnoozedUntilContext(@NonNull StatusBarNotification sbn, in onNotificationSnoozedUntilContext()
155 abstract public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn); in onNotificationEnqueued()
167 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued()
181 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued()
209 public void onNotificationRemoved(@NonNull StatusBarNotification sbn, in onNotificationRemoved()
372 StatusBarNotification sbn; in onNotificationEnqueuedWithChannel() local
397 StatusBarNotification sbn; in onNotificationSnoozedUntilContext() local
540 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage() local
566 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java137 PackageManager packageManager, StatusBarNotification sbn) { in hasReadContactsPermission()
147 public static boolean shouldMatchNotificationByUri(StatusBarNotification sbn) { in shouldMatchNotificationByUri()
165 public static String getContactUri(StatusBarNotification sbn) { in getContactUri()
/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java68 private void updateOngoingGroupCount(StatusBarNotification sbn, boolean add) { in updateOngoingGroupCount()
90 public void onNotificationPosted(StatusBarNotification sbn, boolean autogroupSummaryExists) { in onNotificationPosted()
134 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved()
146 private void maybeUngroup(StatusBarNotification sbn, boolean notificationGone, int userId) { in maybeUngroup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceNotificationListener.java83 private void removeNotification(StatusBarNotification sbn) { in removeNotification()
118 final StatusBarNotification sbn = entry.getSbn(); in updateNotification() local
DForegroundServiceController.java152 public boolean isDisclosureNotification(StatusBarNotification sbn) { in isDisclosureNotification()
161 public boolean isSystemAlertNotification(StatusBarNotification sbn) { in isSystemAlertNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DInternalNotifUpdater.java36 void onInternalNotificationUpdate(StatusBarNotification sbn, String reason); in onInternalNotificationUpdate()

1234