Home
last modified time | relevance | path

Searched refs:hasManageUsersPermission (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java254 if (enforcePermissions && !hasManageUsersPermission()) { in getProfileParent()
273 if (enforcePermissions && !hasManageUsersPermission() && !hasCreateUsersPermission()) { in createProfile()
372 if (enforcePermissions && !hasManageUsersPermission()) { in isManagedProfile()
401 if (enforcePermissions && !hasManageUsersPermission()) { in isManagedProfile()
430 if (enforcePermissions && !hasManageUsersPermission()) { in isCloneProfile()
449 if (enforcePermissions && !hasManageUsersPermission()) { in isProfile()
459 if (enforcePermissions && !hasManageUsersPermission()) { in isUserOfType()
469 if (enforcePermissions && !hasManageUsersPermission()) { in isSameProfileGroup()
604 if (enforcePermissions && !hasManageUsersPermission()) { in setUserName()
614 && !hasManageUsersPermission() in getUserIcon()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java199 if (enforcePermissions && !hasManageUsersPermission()) { in isManagedProfile()
219 if (enforcePermissions && !hasManageUsersPermission()) { in isManagedProfile()
347 private boolean hasManageUsersPermission() { in hasManageUsersPermission() method in ShadowUserManager