Home
last modified time | relevance | path

Searched defs:restrictionKey (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java259 protected boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction()
266 protected boolean hasUserRestrictionForUser(String restrictionKey, UserHandle userHandle) { in hasUserRestrictionForUser()
271 protected boolean hasUserRestrictionForUser(String restrictionKey, int userId) { in hasUserRestrictionForUser()
277 public void setUserRestriction(UserHandle userHandle, String restrictionKey, boolean value) { in setUserRestriction()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java240 String restrictionKey = "restriction key"; in addUserRestrictionShouldWorkAsIntendedForDeviceOwner() local
257 String restrictionKey = "restriction key"; in addUserRestrictionShouldWorkAsIntendedForProfileOwner() local
277 String restrictionKey = "restriction key"; in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins() local
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java488 protected boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction()
518 public void setUserRestriction(UserHandle userHandle, String restrictionKey, boolean value) { in setUserRestriction()
1181 protected boolean hasUserRestrictionForUser(String restrictionKey, UserHandle userHandle) { in hasUserRestrictionForUser()
1223 protected boolean hasUserRestrictionForUser(String restrictionKey, int userId) { in hasUserRestrictionForUser()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java318 String restrictionKey = "restriction key"; in addUserRestrictionShouldWorkAsIntendedForDeviceOwner() local
335 String restrictionKey = "restriction key"; in addUserRestrictionShouldWorkAsIntendedForProfileOwner() local
355 String restrictionKey = "restriction key"; in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins() local