Searched refs:isNotificationListenerServicePermitted (Results 1 – 8 of 8) sorted by relevance
6107 assertThat(dpms.isNotificationListenerServicePermitted(packageName, userId)).isTrue(); in assertSetPermittedCrossProfileNotificationListenersUnavailable()6116 assertThat(dpms.isNotificationListenerServicePermitted(packageName, userId)).isTrue(); in assertSetPermittedCrossProfileNotificationListenersUnavailable()6138 () -> dpms.isNotificationListenerServicePermitted( in testIsNotificationListenerServicePermitted_onlySystemCanCall()6142 assertThat(dpms.isNotificationListenerServicePermitted( in testIsNotificationListenerServicePermitted_onlySystemCanCall()6178 assertThat(dpms.isNotificationListenerServicePermitted( in testSetPermittedCrossProfileNotificationListeners_managedProfile()6180 assertThat(dpms.isNotificationListenerServicePermitted( in testSetPermittedCrossProfileNotificationListeners_managedProfile()6182 assertThat(dpms.isNotificationListenerServicePermitted( in testSetPermittedCrossProfileNotificationListeners_managedProfile()6195 assertThat(dpms.isNotificationListenerServicePermitted( in testSetPermittedCrossProfileNotificationListeners_managedProfile()6197 assertThat(dpms.isNotificationListenerServicePermitted( in testSetPermittedCrossProfileNotificationListeners_managedProfile()6200 assertThat(dpms.isNotificationListenerServicePermitted( in testSetPermittedCrossProfileNotificationListeners_managedProfile()[all …]
261 boolean isNotificationListenerServicePermitted(in String packageName, int userId); in isNotificationListenerServicePermitted() method
10323 public boolean isNotificationListenerServicePermitted( in isNotificationListenerServicePermitted() method in DevicePolicyManager10327 return mService.isNotificationListenerServicePermitted(packageName, userId); in isNotificationListenerServicePermitted()
1772 when(mDpm.isNotificationListenerServicePermitted(anyString(), anyInt())).thenReturn(true); in testInfoIsPermittedForProfile_profileAndDpmAllows()1788 when(mDpm.isNotificationListenerServicePermitted(anyString(), anyInt())).thenReturn(false); in testInfoIsPermittedForProfile_profileAndDpmDenies()
1827 return dpm.isNotificationListenerServicePermitted( in isPermittedForProfile()
10666 public boolean isNotificationListenerServicePermitted(String packageName, int userId) {
2528 Landroid/app/admin/DevicePolicyManager;->isNotificationListenerServicePermitted(Ljava/lang/String;I…2747 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->isNotificationListenerServicePermitted(Ljava/l…3274 Landroid/app/admin/IDevicePolicyManager;->isNotificationListenerServicePermitted(Ljava/lang/String;…
19815 …android/server/devicepolicy/DevicePolicyManagerService;->isNotificationListenerServicePermitted(Lj…