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.java35 boolean isGroupBlocked(String packageName, int uid, String groupId); in isGroupBlocked() method
DPreferencesHelper.java881 public boolean isGroupBlocked(String packageName, int uid, String groupId) { in isGroupBlocked() method in PreferencesHelper
1911 if (isGroupBlocked(pkgPref.pkg, pkgPref.uid, channel.getGroup())) { in channelIsLiveLocked()
DNotificationManagerService.java8210 return mPreferencesHelper.isGroupBlocked(pkg, callingUid, r.getChannel().getGroup())
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java3749 assertFalse(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, null)); in testIsGroupBlocked_noGroup()
3751 assertFalse(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, "non existent group")); in testIsGroupBlocked_noGroup()
3760 assertFalse(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroupBlocked_notBlocked()
3772 assertTrue(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroupBlocked_blocked()
3781 assertFalse(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroupBlocked_appCannotCreateAsBlocked()
3787 assertFalse(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroupBlocked_appCannotCreateAsBlocked()
3799 assertTrue(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroup_appCannotResetBlock()
3805 assertTrue(mHelper.isGroupBlocked(PKG_N_MR1, UID_N_MR1, group.getId())); in testIsGroup_appCannotResetBlock()
DNotificationManagerServiceTest.java1726 when(mPreferencesHelper.isGroupBlocked(anyString(), anyInt(), anyString())). in testBlockedNotifications_blockedChannelGroup()
/frameworks/base/services/
Dart-wear-profile16396 PLcom/android/server/notification/PreferencesHelper;->isGroupBlocked(Ljava/lang/String;ILjava/lang/…