Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java123 public static final int FLAG_DEMO = 0x00000200; field in UserInfo
174 FLAG_DEMO,
299 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType()
305 case FLAG_DEMO: return UserManager.USER_TYPE_FULL_DEMO; in getDefaultUserType()
364 return UserManager.isUserTypeDemo(userType) || (flags & FLAG_DEMO) != 0; in isDemo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java19 import static android.content.pm.UserInfo.FLAG_DEMO;
223 mUserManagerService.putUserInfo(createUser(106, FLAG_DEMO | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
DUserManagerServiceUserTypeTest.java19 import static android.content.pm.UserInfo.FLAG_DEMO;
220 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()
DUserManagerTest.java418 UserInfo.FLAG_DEMO | UserInfo.FLAG_FULL); in testCreateUserViaTypes()
437 createUserWithFlagsAndCheckType(UserInfo.FLAG_DEMO, UserManager.USER_TYPE_FULL_DEMO, in testCreateUserViaFlags()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java19 import static android.content.pm.UserInfo.FLAG_DEMO;
226 .setDefaultUserInfoPropertyFlags(FLAG_DEMO) in getDefaultTypeFullDemo()
DUserManagerService.java245 | UserInfo.FLAG_DEMO
4341 final int userTypeFlagMask = UserInfo.FLAG_GUEST | UserInfo.FLAG_DEMO in checkUserTypeConsistency()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java345 final int userId = createUserWithFlags(UserInfo.FLAG_EPHEMERAL | UserInfo.FLAG_DEMO); in ephemeralUserStopped()
/frameworks/base/core/api/
Dtest-current.txt907 field @Deprecated public static final int FLAG_DEMO = 512; // 0x200
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13408 Landroid/content/pm/UserInfo;->FLAG_DEMO:I