Home
last modified time | relevance | path

Searched refs:FLAG_RESTRICTED (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java61 public static final int FLAG_RESTRICTED = 0x00000008; field in UserInfo
133 return (flags & FLAG_RESTRICTED) == FLAG_RESTRICTED; in isRestricted()
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DVpnTest.java22 import static android.content.pm.UserInfo.FLAG_RESTRICTED;
61 static final UserInfo restrictedProfileA = new UserInfo(40, "RestrictedA", FLAG_RESTRICTED);
62 static final UserInfo restrictedProfileB = new UserInfo(42, "RestrictedB", FLAG_RESTRICTED);
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java920 flags |= UserInfo.FLAG_RESTRICTED; in runCreateUser()
938 if ((flags & UserInfo.FLAG_RESTRICTED) != 0) { in runCreateUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java178 | UserInfo.FLAG_RESTRICTED
2164 final boolean isRestricted = (flags & UserInfo.FLAG_RESTRICTED) != 0; in createUserInternalUnchecked()
2302 final UserInfo user = createProfileForUser(name, UserInfo.FLAG_RESTRICTED, parentUserId); in createRestrictedProfile()