Home
last modified time | relevance | path

Searched refs:FLAG_FULL (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java22 import static android.content.pm.UserInfo.FLAG_FULL;
174 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_partial()
191 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_preCreated()
216 FLAG_GUEST | FLAG_EPHEMERAL | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
217 mUserManagerService.putUserInfo(createUser(102, FLAG_RESTRICTED | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
218 mUserManagerService.putUserInfo(createUser(103, FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
220 mUserManagerService.putUserInfo(createUser(105, FLAG_SYSTEM | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
221 mUserManagerService.putUserInfo(createUser(106, FLAG_DEMO | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
DUserManagerServiceUserTypeTest.java21 import static android.content.pm.UserInfo.FLAG_FULL;
156 .setBaseType(FLAG_FULL) // Required (no default allowed) in testUserTypeBuilder_defaults()
162 assertEquals(FLAG_FULL, type.getDefaultUserInfoFlags()); in testUserTypeBuilder_defaults()
182 .setBaseType(FLAG_FULL) in testUserTypeBuilder_nameIsRequired()
220 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_FULL)); in testCheckUserTypeConsistency()
318 .setBaseType(FLAG_FULL) in testUserTypeFactoryCustomize_full()
388 .setBaseType(FLAG_FULL) in testUserTypeFactoryCustomize_illegalUserBaseType()
432 .setBaseType(FLAG_FULL)); in testUserTypeFactoryUpgrades_illegalBaseTypeUpgrade()
443 return new UserTypeDetails.Builder().setName("name").setBaseType(FLAG_FULL); in getMinimalBuilder()
DUserManagerTest.java350 UserInfo.FLAG_GUEST | UserInfo.FLAG_FULL); in testCreateUserViaTypes()
353 UserInfo.FLAG_DEMO | UserInfo.FLAG_FULL); in testCreateUserViaTypes()
356 UserInfo.FLAG_FULL); in testCreateUserViaTypes()
364 UserInfo.FLAG_FULL); in testCreateUserViaFlags()
367 UserInfo.FLAG_FULL); in testCreateUserViaFlags()
369 createUserWithFlagsAndCheckType(UserInfo.FLAG_FULL, UserManager.USER_TYPE_FULL_SECONDARY, in testCreateUserViaFlags()
373 UserInfo.FLAG_FULL); in testCreateUserViaFlags()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java131 public static final int FLAG_FULL = 0x00000400; field in UserInfo
158 FLAG_FULL,
350 return (flags & FLAG_FULL) == FLAG_FULL; in isFull()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java21 import static android.content.pm.UserInfo.FLAG_FULL;
196 .setBaseType(FLAG_FULL) in getDefaultTypeFullSecondary()
211 .setBaseType(FLAG_FULL) in getDefaultTypeFullGuest()
223 .setBaseType(FLAG_FULL) in getDefaultTypeFullDemo()
236 .setBaseType(FLAG_FULL) in getDefaultTypeFullRestricted()
249 .setBaseType(FLAG_SYSTEM | FLAG_FULL); in getDefaultTypeFullSystem()
352 || (!isProfile && builder.getBaseType() == UserInfo.FLAG_FULL); in customizeBuilders()
DUserTypeDetails.java296 return (mBaseType & UserInfo.FLAG_FULL) != 0; in isFull()
543 return mBaseType == UserInfo.FLAG_FULL in hasValidBaseType()
546 || mBaseType == (UserInfo.FLAG_FULL | UserInfo.FLAG_SYSTEM); in hasValidBaseType()
556 UserInfo.FLAG_FULL | in hasValidPropertyFlags()
DUserManagerService.java232 | UserInfo.FLAG_FULL;
2818 userData.info.flags |= UserInfo.FLAG_FULL; in upgradeIfNecessaryLP()
2827 userData.info.flags |= UserInfo.FLAG_FULL; in upgradeIfNecessaryLP()
2842 if ((flags & UserInfo.FLAG_FULL) != 0) { in upgradeIfNecessaryLP()
3888 && isAtMostOneFlag(flags & (UserInfo.FLAG_PROFILE | UserInfo.FLAG_FULL)) in checkUserTypeConsistency()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplTest.kt75 val info = UserInfo(invocation.getArgument<Int>(0), "", UserInfo.FLAG_FULL) in <lambda>()
173 val info = UserInfo(id, "", UserInfo.FLAG_FULL) in <lambda>()
230 val info = UserInfo(id, "", UserInfo.FLAG_FULL) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DUserSwitcherControllerTest.kt86 UserInfo.FLAG_ADMIN or UserInfo.FLAG_FULL or UserInfo.FLAG_INITIALIZED or
91 UserInfo.FLAG_FULL or UserInfo.FLAG_GUEST, UserManager.USER_TYPE_FULL_GUEST)
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowManagerTests.java19 import static android.content.pm.UserInfo.FLAG_FULL;
283 users.add(new UserInfo(NONSECURE_SECONDARY_USER_ID, "non-secure", FLAG_FULL)); in setUp_baseServices()
284 users.add(new UserInfo(SECURE_SECONDARY_USER_ID, "secure", FLAG_FULL)); in setUp_baseServices()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt203 UserInfo.FLAG_PRIMARY or UserInfo.FLAG_SYSTEM or UserInfo.FLAG_FULL,
/frameworks/base/core/api/
Dtest-current.txt887 field public static final int FLAG_FULL = 1024; // 0x400