Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java120 public static final int FLAG_DEMO = 0x00000200; field in UserInfo
155 FLAG_DEMO,
271 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType()
277 case FLAG_DEMO: return UserManager.USER_TYPE_FULL_DEMO; in getDefaultUserType()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java19 import static android.content.pm.UserInfo.FLAG_DEMO;
191 mUserManagerService.putUserInfo(createUser(106, FLAG_DEMO | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
DUserManagerServiceUserTypeTest.java19 import static android.content.pm.UserInfo.FLAG_DEMO;
181 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()
DUserManagerTest.java219 UserInfo.FLAG_DEMO | UserInfo.FLAG_FULL); in testCreateUserViaTypes()
238 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;
161 .setDefaultUserInfoPropertyFlags(FLAG_DEMO) in getDefaultTypeFullDemo()
DUserManagerService.java224 | UserInfo.FLAG_DEMO;
3605 final int userTypeFlagMask = UserInfo.FLAG_GUEST | UserInfo.FLAG_DEMO in checkUserTypeConsistency()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java304 final int userId = createUserWithFlags(UserInfo.FLAG_EPHEMERAL | UserInfo.FLAG_DEMO); in ephemeralUserStopped()