Searched refs:FLAG_DEMO (Results 1 – 9 of 9) sorted by relevance
123 public static final int FLAG_DEMO = 0x00000200; field in UserInfo174 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()
19 import static android.content.pm.UserInfo.FLAG_DEMO;223 mUserManagerService.putUserInfo(createUser(106, FLAG_DEMO | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
19 import static android.content.pm.UserInfo.FLAG_DEMO;220 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()
418 UserInfo.FLAG_DEMO | UserInfo.FLAG_FULL); in testCreateUserViaTypes()437 createUserWithFlagsAndCheckType(UserInfo.FLAG_DEMO, UserManager.USER_TYPE_FULL_DEMO, in testCreateUserViaFlags()
19 import static android.content.pm.UserInfo.FLAG_DEMO;226 .setDefaultUserInfoPropertyFlags(FLAG_DEMO) in getDefaultTypeFullDemo()
245 | UserInfo.FLAG_DEMO4341 final int userTypeFlagMask = UserInfo.FLAG_GUEST | UserInfo.FLAG_DEMO in checkUserTypeConsistency()
345 final int userId = createUserWithFlags(UserInfo.FLAG_EPHEMERAL | UserInfo.FLAG_DEMO); in ephemeralUserStopped()
907 field @Deprecated public static final int FLAG_DEMO = 512; // 0x200
13408 Landroid/content/pm/UserInfo;->FLAG_DEMO:I