Home
last modified time | relevance | path

Searched refs:getNotificationRecord (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DSnoozeHelperTest.java210 NotificationRecord r = getNotificationRecord( in testReadNoneSnoozedNotification()
563 NotificationRecord r = getNotificationRecord("pkg", 1, "tag",
585 NotificationRecord r = getNotificationRecord("pkg", 1, "tag",
602 NotificationRecord r = getNotificationRecord("pkg", 1, "tag",
623 NotificationRecord r = getNotificationRecord("pkg", 1, "tag",
634 NotificationRecord r = getNotificationRecord(
636 NotificationRecord r2 = getNotificationRecord(
651 NotificationRecord r = getNotificationRecord(
653 NotificationRecord r2 = getNotificationRecord(
682 NotificationRecord r = getNotificationRecord(
[all …]
H A DBubbleExtractorTest.java109 private NotificationRecord getNotificationRecord(boolean addBubble) { in getNotificationRecord() method in BubbleExtractorTest
173 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppYesChannelNo()
187 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppYesChannelDefault()
201 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppYesChannelYes()
215 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppYesChannelYesFeatureNo()
230 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppNoChannelYes()
245 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppNoChannelDefault()
260 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppSelectedChannelDefault()
275 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppSelectedChannelNo()
291 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppSeletedChannelYes()
[all …]
H A DVisibilityExtractorTest.java79 private NotificationRecord getNotificationRecord(int visibility) { in getNotificationRecord() method in VisibilityExtractorTest
110 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmAllChannelAll()
128 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalNoneDpmAllChannelAll()
146 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalSomeDpmAllChannelAll()
165 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmNoneChannelAll()
184 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmSomeChannelAll()
202 NotificationRecord r = getNotificationRecord(VISIBILITY_SECRET); in testGlobalAllDpmAllChannelNone()
220 NotificationRecord r = getNotificationRecord(VISIBILITY_PRIVATE); in testGlobalAllDpmAllChannelSome()
239 NotificationRecord r = getNotificationRecord(VISIBILITY_SECRET); in testGlobalAllDpmSomeChannelNone()
H A DBadgeExtractorTest.java68 private NotificationRecord getNotificationRecord(boolean showBadge, int importanceHigh) { in getNotificationRecord() method in BadgeExtractorTest
153 NotificationRecord r = getNotificationRecord(false, IMPORTANCE_UNSPECIFIED); in testAppYesChannelNo()
167 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppNoChannelYes()
181 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testAppYesChannelYes()
195 NotificationRecord r = getNotificationRecord(false, IMPORTANCE_UNSPECIFIED); in testAppNoChannelNo()
209 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppYesChannelYesUserNo()
283 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testHideMediaNotifNotMediaStyleOverridesNo()
297 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testDndOverridesYes()
313 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testDndOConsidersInterception()
329 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testDndConsidersSuppressedVisualEffects()
H A DZenModeFilteringTest.java95 private NotificationRecord getNotificationRecord() { in getNotificationRecord() method in ZenModeFilteringTest
141 NotificationRecord r = getNotificationRecord(); in testIsMessage()
156 NotificationRecord r = getNotificationRecord(c); in testIsAlarm()
159 r = getNotificationRecord(); in testIsAlarm()
166 NotificationRecord r = getNotificationRecord(); in testIsAlarm_wrongCategory()
183 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_VisEffectsAllowed()
194 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_WrongId()
204 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_WrongPackage()
214 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_no()
226 NotificationRecord r = getNotificationRecord(); in testSuppressAnything_yes_ZenModeOff()
[all …]
H A DImportanceExtractorTest.java62 private NotificationRecord getNotificationRecord(NotificationChannel channel) { in getNotificationRecord() method in ImportanceExtractorTest
88 NotificationRecord r = getNotificationRecord(channel); in testAppPreferenceChannelNone()
105 NotificationRecord r = getNotificationRecord(channel); in testAppPreferenceChannelPreference()
H A DBuzzBeepBlinkTest.java203 return getNotificationRecord(mId, false /* insistent */, false /* once */, in getBeepyNotification()
213 return getNotificationRecord(mId, false /* insistent */, true /* once */, in getBeepyOnceNotification()
218 return getNotificationRecord(mId, false /* insistent */, true /* once */, in getQuietNotification()
228 return getNotificationRecord(mId, false /* insistent */, true /* once */, in getQuietOnceNotification()
233 return getNotificationRecord(mId, true /* insistent */, false /* once */, in getInsistentBeepyNotification()
238 return getNotificationRecord(mId, true /* insistent */, true /* once */, in getInsistentBeepyOnceNotification()
248 return getNotificationRecord(mId, false /* insistent */, false /* once */, in getBuzzyNotification()
258 return getNotificationRecord(mId, false /* insistent */, true /* once */, in getBuzzyOnceNotification()
263 return getNotificationRecord(mId, true /* insistent */, false /* once */, in getInsistentBuzzyNotification()
278 return getNotificationRecord(mId, false /* insistent */, true /* once */, in getLightsOnceNotification()
[all …]
H A DValidateNotificationPeopleTest.java350 NotificationRecord record = getNotificationRecord(); in testValidatePeople_needsLookupWhenNoCache()
385 NotificationRecord record = getNotificationRecord(); in testValidatePeople_noLookupWhenCached_andPopulatesContactInfo()
406 NotificationRecord record = getNotificationRecord(); in validatePeople_reconsiderationWillNotBeDelayed()
459 private NotificationRecord getNotificationRecord() { in getNotificationRecord() method in ValidateNotificationPeopleTest
H A DNotificationManagerServiceTest.java1385 assertNull(mService.getNotificationRecord(sbn.getKey())); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
1431 assertNull(mService.getNotificationRecord(sbn.getKey())); in testEnqueuedBlockedNotifications_blockedAppForegroundService()
4254 assertNull(mService.getNotificationRecord(child.getKey())); in testSnoozeRunnable_snoozeAutoGroupChild_summaryNotSnoozed()
8389 assertTrue(mService.getNotificationRecord( in testFlagBubble()
8410 assertFalse(mService.getNotificationRecord( in testFlagBubble_noFlag_appNotAllowed()
8440 assertFalse(mService.getNotificationRecord( in testFlagBubbleNotifs_noFlag_whenAppForeground()
8459 assertTrue(mService.getNotificationRecord( in testFlagBubbleNotifs_flag_messaging()
8481 assertFalse(mService.getNotificationRecord( in testFlagBubbleNotifs_noFlag_noShortcut()
8501 assertFalse(mService.getNotificationRecord( in testFlagBubbleNotifs_noFlag_messaging_appNotAllowed()
8527 assertFalse(mService.getNotificationRecord( in testFlagBubbleNotifs_noFlag_notBubble()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationShellCmd.java330 final NotificationRecord nr = mDirectService.getNotificationRecord(key); in onCommand()
H A DNotificationManagerService.java2160 NotificationRecord getNotificationRecord(String key) { in getNotificationRecord() method in NotificationManagerService