Searched refs:FLAG_RESTRICTED (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 61 public static final int FLAG_RESTRICTED = 0x00000008; field in UserInfo 145 return (flags & FLAG_RESTRICTED) == FLAG_RESTRICTED; in isRestricted()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/ |
D | ProfileSelectDialogTest.java | 55 NORMAL_USER.getIdentifier(), "test_user", UserInfo.FLAG_RESTRICTED); in setUp()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 22 import static android.content.pm.UserInfo.FLAG_RESTRICTED; 74 static final UserInfo restrictedProfileA = new UserInfo(40, "RestrictedA", FLAG_RESTRICTED); 75 static final UserInfo restrictedProfileB = new UserInfo(42, "RestrictedB", FLAG_RESTRICTED);
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 76 mTestUser.getIdentifier(), "test_user", UserInfo.FLAG_RESTRICTED); in setUp()
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 1002 flags |= UserInfo.FLAG_RESTRICTED; in runCreateUser() 1022 if ((flags & UserInfo.FLAG_RESTRICTED) != 0) { in runCreateUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 198 | UserInfo.FLAG_RESTRICTED 2397 final boolean isRestricted = (flags & UserInfo.FLAG_RESTRICTED) != 0; in createUserInternalUnchecked() 2560 name, UserInfo.FLAG_RESTRICTED, parentUserId, null); in createRestrictedProfile()
|