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.java139 public static final int FLAG_DEMO = 0x00000200; field in UserInfo
212 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java19 import static android.content.pm.UserInfo.FLAG_DEMO;
295 mUserManagerService.putUserInfo(createUser(106, FLAG_DEMO | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
DUserManagerServiceUserTypeTest.java19 import static android.content.pm.UserInfo.FLAG_DEMO;
291 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()
DUserManagerTest.java769 UserInfo.FLAG_DEMO | UserInfo.FLAG_FULL); in testCreateUserViaTypes()
788 createUserWithFlagsAndCheckType(UserInfo.FLAG_DEMO, UserManager.USER_TYPE_FULL_DEMO, in testCreateUserViaFlags()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java20 import static android.content.pm.UserInfo.FLAG_DEMO;
375 .setDefaultUserInfoPropertyFlags(FLAG_DEMO) in getDefaultTypeFullDemo()
DUserManagerService.java295 | UserInfo.FLAG_DEMO
5798 final int userTypeFlagMask = UserInfo.FLAG_GUEST | UserInfo.FLAG_DEMO
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java750 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()
/frameworks/base/core/api/
Dtest-current.txt1198 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