Searched refs:isRestrictionSetOnUser (Results 1 – 2 of 2) sorted by relevance
68 mDeviceOwnerCanHaveAccounts = !isRestrictionSetOnUser(mDeviceOwnerUserId, in setUp()74 mProfileOwnerCanHaveAccounts = !isRestrictionSetOnUser(mProfileOwnerUserId, in setUp()
1258 protected boolean isRestrictionSetOnUser(int userId, String restriction) throws Exception { in isRestrictionSetOnUser() method in BaseDevicePolicyTest