Home
last modified time | relevance | path

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

/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnTestBase.java22 import static android.content.pm.UserInfo.FLAG_RESTRICTED;
65 FLAG_RESTRICTED);
67 FLAG_RESTRICTED);
/frameworks/base/core/java/android/content/pm/
DUserInfo.java97 public static final int FLAG_RESTRICTED = 0x00000008; field in UserInfo
206 FLAG_RESTRICTED,
345 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType()
349 case FLAG_RESTRICTED: return UserManager.USER_TYPE_FULL_RESTRICTED; in getDefaultUserType()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java25 import static android.content.pm.UserInfo.FLAG_RESTRICTED;
291 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()
300 UserInfo.getDefaultUserType(FLAG_RESTRICTED)); in testGetDefaultUserType()
DUserManagerServiceUserInfoTest.java28 import static android.content.pm.UserInfo.FLAG_RESTRICTED;
291 mUserManagerService.putUserInfo(createUser(102, FLAG_RESTRICTED | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java78 mTestUser.getIdentifier(), "test_user", UserInfo.FLAG_RESTRICTED); in setUp()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java28 import static android.content.pm.UserInfo.FLAG_RESTRICTED;
388 .setDefaultUserInfoPropertyFlags(FLAG_RESTRICTED) in getDefaultTypeFullRestricted()
DUserManagerService.java293 | UserInfo.FLAG_RESTRICTED
5799 | UserInfo.FLAG_RESTRICTED | UserInfo.FLAG_PROFILE;
/frameworks/base/core/api/
Dtest-current.txt1209 field @Deprecated public static final int FLAG_RESTRICTED = 8; // 0x8
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13416 Landroid/content/pm/UserInfo;->FLAG_RESTRICTED:I