Home
last modified time | relevance | path

Searched refs:isGroupBlocked (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DRankingConfig.java37 boolean isGroupBlocked(String packageName, int uid, String groupId); in isGroupBlocked() method
DPreferencesHelper.java762 public boolean isGroupBlocked(String packageName, int uid, String groupId) { in isGroupBlocked() method in PreferencesHelper
1714 if (isGroupBlocked(pkgPref.pkg, pkgPref.uid, channel.getGroup())) { in channelIsLiveLocked()
DNotificationManagerService.java6714 return mPreferencesHelper.isGroupBlocked(pkg, callingUid, r.getChannel().getGroup())
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java2211 assertFalse(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, null)); in testIsGroupBlocked_noGroup()
2213 assertFalse(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, "non existent group")); in testIsGroupBlocked_noGroup()
2221 assertFalse(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroupBlocked_notBlocked()
2231 assertTrue(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroupBlocked_blocked()
2241 assertTrue(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroup_appCannotResetBlock()
2246 assertTrue(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroup_appCannotResetBlock()
DNotificationManagerServiceTest.java1205 when(mPreferencesHelper.isGroupBlocked(anyString(), anyInt(), anyString())). in testBlockedNotifications_blockedChannelGroup()
/frameworks/base/services/
Dart-profile27424 HPLcom/android/server/notification/PreferencesHelper;->isGroupBlocked(Ljava/lang/String;ILjava/lang…