Searched refs:getActiveAdminsAsUser (Results 1 – 9 of 9) sorted by relevance
85 List<ComponentName> getActiveAdminsAsUser(int userId) { in getActiveAdminsAsUser() method in DevicePolicyManagerCompat86 return this.mManager.getActiveAdminsAsUser(userId); in getActiveAdminsAsUser()
153 return findEnforcedAdmin(dpm.getActiveAdminsAsUser(userId), dpm, userId, check); in checkIfKeyguardFeaturesDisabled()471 final List<ComponentName> admins = dpm.getActiveAdminsAsUser(userId); in checkIfPasswordQualityIsSet()526 final List<ComponentName> admins = dpm.getActiveAdminsAsUser(userInfo.id); in checkForLockSetting()
175 when(mDm.getActiveAdminsAsUser(anyInt())).thenReturn(components); in testUpdateState_disabledByAdmin_disableSecure()197 when(mDm.getActiveAdminsAsUser(anyInt())).thenReturn(components); in testUpdateState_disabledByAdmin_disableUnredacted()
345 when(mDevicePolicyManager.getActiveAdminsAsUser(mUserId)) in testGetNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()347 when(mDevicePolicyManager.getActiveAdminsAsUser(mManagedProfileUserId)) in testGetNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
226 = mDpm.getActiveAdminsAsUser(userInfo.id); in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
233 final List<ComponentName> activeAdminsForProfile = mDPM.getActiveAdminsAsUser(profileId); in updateAvailableAdminsForProfile()
213 final List<ComponentName> activeAdminsForUser = mDpm.getActiveAdminsAsUser(userInfo.id); in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
241 final List<ComponentName> activeAdminsForProfile = mDPM.getActiveAdminsAsUser(profileId); in updateAvailableAdminsForProfile()
216 final List<ComponentName> activeAdminsForUser = mDpm.getActiveAdminsAsUser(userInfo.id); in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()