Home
last modified time | relevance | path

Searched refs:enabledAndUserMatches (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationManagerServiceTest.java686 when(mListener.enabledAndUserMatches(anyInt())).thenReturn(false); in testUpdateNotificationChannelFromPrivilegedListener_badUser()
743 when(mListener.enabledAndUserMatches(anyInt())).thenReturn(false); in testGetNotificationChannelFromPrivilegedListener_badUser()
794 when(mListener.enabledAndUserMatches(anyInt())).thenReturn(false); in testGetNotificationChannelGroupsFromPrivilegedListener_badUser()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java896 public boolean enabledAndUserMatches(int nid) { in enabledAndUserMatches() method in ManagedServices.ManagedServiceInfo
DNotificationManagerService.java2753 if (!info.enabledAndUserMatches(user.getIdentifier())) {
4923 if (!listener.enabledAndUserMatches(sbn.getUserId())) { in isVisibleToListener()
5260 if (!serviceInfo.enabledAndUserMatches(UserHandle.getCallingUserId())) { in notifyNotificationChannelChanged()
5283 if (!serviceInfo.enabledAndUserMatches(UserHandle.getCallingUserId())) { in notifyNotificationChannelGroupChanged()
5312 if (!info.enabledAndUserMatches(sbn.getUserId())) { in notifyRemoved()