Home
last modified time | relevance | path

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

/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()
1185 protected boolean hasUserRestrictionForUser(String restrictionKey, UserHandle userHandle) { in hasUserRestrictionForUser()
1227 protected boolean hasUserRestrictionForUser(String restrictionKey, int userId) { in hasUserRestrictionForUser()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java305 String restrictionKey = "restriction key"; in addUserRestrictionShouldWorkAsIntendedForDeviceOwner() local
321 String restrictionKey = "restriction key"; in addUserRestrictionShouldWorkAsIntendedForProfileOwner() local
340 String restrictionKey = "restriction key"; in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins() local