Searched refs:enabledAndUserMatches (Results 1 – 3 of 3) sorted by relevance
686 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()
896 public boolean enabledAndUserMatches(int nid) { in enabledAndUserMatches() method in ManagedServices.ManagedServiceInfo
2753 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()