Searched refs:isGroupBlocked (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 35 boolean isGroupBlocked(String packageName, int uid, String groupId); in isGroupBlocked() method
|
D | PreferencesHelper.java | 881 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()
|
D | NotificationManagerService.java | 8210 return mPreferencesHelper.isGroupBlocked(pkg, callingUid, r.getChannel().getGroup())
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 3749 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()
|
D | NotificationManagerServiceTest.java | 1726 when(mPreferencesHelper.isGroupBlocked(anyString(), anyInt(), anyString())). in testBlockedNotifications_blockedChannelGroup()
|
/frameworks/base/services/ |
D | art-wear-profile | 16396 PLcom/android/server/notification/PreferencesHelper;->isGroupBlocked(Ljava/lang/String;ILjava/lang/…
|