Searched refs:FLAG_DEMO (Results 1 – 9 of 9) sorted by relevance
139 public static final int FLAG_DEMO = 0x00000200; field in UserInfo212 FLAG_DEMO,345 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType()351 case FLAG_DEMO: return UserManager.USER_TYPE_FULL_DEMO; in getDefaultUserType()432 return UserManager.isUserTypeDemo(userType) || (flags & FLAG_DEMO) != 0; in isDemo()
19 import static android.content.pm.UserInfo.FLAG_DEMO;295 mUserManagerService.putUserInfo(createUser(106, FLAG_DEMO | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
19 import static android.content.pm.UserInfo.FLAG_DEMO;291 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()
769 UserInfo.FLAG_DEMO | UserInfo.FLAG_FULL); in testCreateUserViaTypes()788 createUserWithFlagsAndCheckType(UserInfo.FLAG_DEMO, UserManager.USER_TYPE_FULL_DEMO, in testCreateUserViaFlags()
20 import static android.content.pm.UserInfo.FLAG_DEMO;375 .setDefaultUserInfoPropertyFlags(FLAG_DEMO) in getDefaultTypeFullDemo()
295 | UserInfo.FLAG_DEMO5798 final int userTypeFlagMask = UserInfo.FLAG_GUEST | UserInfo.FLAG_DEMO
750 final int userId = createUserWithFlags(UserInfo.FLAG_EPHEMERAL | UserInfo.FLAG_DEMO); in ephemeralUserStopped()779 final int userId = createUserWithFlags(UserInfo.FLAG_EPHEMERAL | UserInfo.FLAG_DEMO); in ephemeralUserStopped_realistic()
1198 field @Deprecated public static final int FLAG_DEMO = 512; // 0x200
13408 Landroid/content/pm/UserInfo;->FLAG_DEMO:I