Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
DUserSwitcherViewModelTest.kt116 UserInfo.FLAG_FULL, in <lambda>()
197 UserInfo.FLAG_FULL, in <lambda>()
204 /* flags= */ UserInfo.FLAG_FULL, in <lambda>()
211 /* flags= */ UserInfo.FLAG_FULL, in <lambda>()
378 UserInfo.FLAG_FULL, in <lambda>()
385 /* flags= */ UserInfo.FLAG_FULL, in <lambda>()
426 UserInfo.FLAG_FULL, in <lambda>()
433 /* flags= */ UserInfo.FLAG_FULL, in <lambda>()
470 UserInfo.FLAG_PRIMARY or UserInfo.FLAG_ADMIN or UserInfo.FLAG_FULL in <lambda>()
473 UserInfo.FLAG_FULL in <lambda>()
DStatusBarUserChipViewModelTest.kt297 /* flags */ UserInfo.FLAG_FULL, in <lambda>()
306 /* flags */ UserInfo.FLAG_FULL, in <lambda>()
315 /* flags */ UserInfo.FLAG_FULL, in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java22 import static android.content.pm.UserInfo.FLAG_FULL;
133 data.info = createUser(100, FLAG_FULL, "A type"); in testWriteReadDevicePolicyUserRestrictions()
241 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_partial()
258 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_preCreated()
290 FLAG_GUEST | FLAG_EPHEMERAL | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
291 mUserManagerService.putUserInfo(createUser(102, FLAG_RESTRICTED | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
292 mUserManagerService.putUserInfo(createUser(103, FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
294 mUserManagerService.putUserInfo(createUser(105, FLAG_SYSTEM | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
295 mUserManagerService.putUserInfo(createUser(106, FLAG_DEMO | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
327 data.info = createUser(userId, FLAG_FULL, "A type"); in testUserRestrictionsUpgradeFromV9()
DUserJourneyLoggerTest.java125 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testCreateUserJourney()
197 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testRemoveUserJourney()
271 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testStartUserJourney()
296 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testStopUserJourney()
320 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testAbortStopUserJourney()
370 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testGrantAdminUserJourney()
420 final UserInfo targetUser = new UserInfo(10, "test target user", UserInfo.FLAG_FULL); in testRevokeAdminUserJourney()
453 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testSwitchFGUserJourney()
498 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testSwitchUIUserJourney()
557 UserInfo.FLAG_ADMIN | UserInfo.FLAG_FULL); in testSwitchWithStopUIUserJourney()
[all …]
DUserManagerServiceUserTypeTest.java21 import static android.content.pm.UserInfo.FLAG_FULL;
207 .setBaseType(FLAG_FULL) // Required (no default allowed) in testUserTypeBuilder_defaults()
213 assertEquals(FLAG_FULL, type.getDefaultUserInfoFlags()); in testUserTypeBuilder_defaults()
255 .setBaseType(FLAG_FULL) in testUserTypeBuilder_nameIsRequired()
293 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_FULL)); in testCheckUserTypeConsistency()
470 .setBaseType(FLAG_FULL) in testUserTypeFactoryCustomize_full()
543 .setBaseType(FLAG_FULL) in testUserTypeFactoryCustomize_illegalUserBaseType()
587 .setBaseType(FLAG_FULL)); in testUserTypeFactoryUpgrades_illegalBaseTypeUpgrade()
598 return new UserTypeDetails.Builder().setName("name").setBaseType(FLAG_FULL); in getMinimalBuilder()
DUserManagerTest.java766 UserInfo.FLAG_GUEST | UserInfo.FLAG_FULL); in testCreateUserViaTypes()
769 UserInfo.FLAG_DEMO | UserInfo.FLAG_FULL); in testCreateUserViaTypes()
772 UserInfo.FLAG_FULL); in testCreateUserViaTypes()
780 UserInfo.FLAG_FULL); in testCreateUserViaFlags()
783 UserInfo.FLAG_FULL); in testCreateUserViaFlags()
785 createUserWithFlagsAndCheckType(UserInfo.FLAG_FULL, UserManager.USER_TYPE_FULL_SECONDARY, in testCreateUserViaFlags()
789 UserInfo.FLAG_FULL); in testCreateUserViaFlags()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java148 public static final int FLAG_FULL = 0x00000400; field in UserInfo
213 FLAG_FULL,
436 return (flags & FLAG_FULL) == FLAG_FULL; in isFull()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DWorkTileAutoAddableTest.kt21 import android.content.pm.UserInfo.FLAG_FULL
191 private val USER_INFO_0 = UserInfo(0, "", FLAG_PRIMARY or FLAG_FULL)
192 private val USER_INFO_1 = UserInfo(1, "", FLAG_FULL)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplTest.kt116 val info = UserInfo(invocation.getArgument<Int>(0), "", UserInfo.FLAG_FULL) in <lambda>()
243 val info = UserInfo(id, "", UserInfo.FLAG_FULL) in <lambda>()
269 val info = UserInfo(id, "", UserInfo.FLAG_FULL) in <lambda>()
295 val info = UserInfo(id, "", UserInfo.FLAG_FULL) in <lambda>()
315 listOf(UserInfo(invocation.getArgument(0), "", UserInfo.FLAG_FULL)) in <lambda>()
418 val info = UserInfo(id, "", UserInfo.FLAG_FULL) in <lambda>()
DUserTrackerImplReceiveTest.kt99 val info = UserInfo(id, "", UserInfo.FLAG_FULL) in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java22 import static android.content.pm.UserInfo.FLAG_FULL;
347 .setBaseType(FLAG_FULL) in getDefaultTypeFullSecondary()
362 .setBaseType(FLAG_FULL) in getDefaultTypeFullGuest()
374 .setBaseType(FLAG_FULL) in getDefaultTypeFullDemo()
387 .setBaseType(FLAG_FULL) in getDefaultTypeFullRestricted()
400 .setBaseType(FLAG_SYSTEM | FLAG_FULL) in getDefaultTypeFullSystem()
532 || (!isProfile && builder.getBaseType() == UserInfo.FLAG_FULL); in customizeBuilders()
DUserTypeDetails.java343 return (mBaseType & UserInfo.FLAG_FULL) != 0; in isFull()
627 return mBaseType == UserInfo.FLAG_FULL in hasValidBaseType()
630 || mBaseType == (UserInfo.FLAG_FULL | UserInfo.FLAG_SYSTEM); in hasValidBaseType()
638 UserInfo.FLAG_FULL | in hasValidPropertyFlags()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
DAccessibilityTilesInteractorTest.kt58 UserInfo.FLAG_ADMIN or UserInfo.FLAG_FULL, in <lambda>()
66 UserInfo.FLAG_ADMIN or UserInfo.FLAG_FULL, in <lambda>()
DWorkProfileAutoAddedAfterRestoreTest.kt164 UserInfo.FLAG_ADMIN or UserInfo.FLAG_FULL,
DNoLowNumberOfTilesTest.kt66 UserInfo.FLAG_ADMIN or UserInfo.FLAG_FULL,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/domain/interactor/
DIconLabelVisibilityInteractorTest.kt87 private val ANOTHER_USER = UserInfo(1, "user 1", UserInfo.FLAG_FULL)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractorTest.kt401 /* flags= */ UserInfo.FLAG_FULL,
408 /* flags= */ UserInfo.FLAG_FULL,
416 /* flags= */ UserInfo.FLAG_EPHEMERAL or UserInfo.FLAG_FULL,
DUserSwitcherInteractorTest.kt223 /* flags= */ UserInfo.FLAG_FULL, in <lambda>()
1356 UserInfo.FLAG_PRIMARY or UserInfo.FLAG_ADMIN or UserInfo.FLAG_FULL in <lambda>()
1358 UserInfo.FLAG_FULL in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java185 | UserInfo.FLAG_FULL); in setUp_baseServices()
191 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_FULL); in setUp_baseServices()
197 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_FULL); in setUp_baseServices()
DRebootEscrowManagerTests.java19 import static android.content.pm.UserInfo.FLAG_FULL;
342 NONSECURE_SECONDARY_USER_ID, "non-secure", FLAG_FULL, NO_PROFILE_GROUP_ID)); in setUp_baseServices()
343 users.add(createUser(SECURE_SECONDARY_USER_ID, "secure", FLAG_FULL, NO_PROFILE_GROUP_ID)); in setUp_baseServices()
664 SECURE_SECONDARY_USER_ID, "secure", FLAG_FULL, SECURE_SECONDARY_USER_ID)); in loadRebootEscrowDataIfAvailable_noDataSecondaryUser_Success()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/data/
DQSPreferencesRepositoryTest.kt127 private val ANOTHER_USER = UserInfo(ANOTHER_USER_ID, "user 1", UserInfo.FLAG_FULL)
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java427 mUsers.get(OTHER_USER_ID).info.flags &= ~UserInfo.FLAG_FULL; in testGetPreviousFullUserToEnterForeground_SkipsNonFullUsers()
563 UserInfo.FLAG_FULL | UserInfo.FLAG_MAIN); in testMainUser_hasNoCallsOrSMSRestrictionsByDefault()
977 userData.info.flags = UserInfo.FLAG_FULL; in addUser()
1009 systemUser.info.flags &= ~UserInfo.FLAG_FULL; in setSystemUserHeadless()
1012 systemUser.info.flags |= UserInfo.FLAG_FULL; in setSystemUserHeadless()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceControllerTest.java296 UserInfo userInfo = new UserInfo(userId, "", "", UserInfo.FLAG_FULL); in user()
DGameServiceProviderSelectorImplTest.java397 return new UserInfo(uid, "", "", UserInfo.FLAG_FULL); in eligibleUserInfo()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java136 new UserInfo(TEST_USER_ID, "user", UserInfo.FLAG_FULL);
459 .thenReturn(List.of(new UserInfo(TEST_USER_ID, "test", UserInfo.FLAG_FULL))); in testSuccessfulUnlock_bindsTrustAgent()
801 UserInfo parent = new UserInfo(PARENT_USER_ID, "parent", UserInfo.FLAG_FULL); in setupMocksForProfile()

12