Home
last modified time | relevance | path

Searched defs:testUser (Results 1 – 25 of 33) sorted by relevance

12

/aosp_15_r20/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/profiles/
DEditProfileNameFragmentTest.java71 UserInfo testUser = new UserInfo(/* id= */ 10, testUserName, /* flags= */ 0); in testUserNameDisplayedInDetails() local
86 UserInfo testUser = new UserInfo(userId, "user_name", /* flags= */ 0); in testClickingOkSavesNewUserName() local
103 UserInfo testUser = new UserInfo(/* id= */ 10, "user_name", /* flags= */ 0); in testEmptyUsernameCannotBeSaved() local
/aosp_15_r20/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DEditProfileNameFragmentTest.java71 UserInfo testUser = new UserInfo(/* id= */ 10, testUserName, /* flags= */ 0); in testUserNameDisplayedInDetails() local
86 UserInfo testUser = new UserInfo(userId, "user_name", /* flags= */ 0); in testClickingOkSavesNewUserName() local
103 UserInfo testUser = new UserInfo(/* id= */ 10, "user_name", /* flags= */ 0); in testEmptyUsernameCannotBeSaved() local
/aosp_15_r20/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserLifecycleTests.java511 final int testUser = initializeNewUserAndSwitchBack(/* stopNewUser */ true); in switchUser_stopped() local
563 final int testUser = initializeNewUserAndSwitchBack(/* stopNewUser */ true, in switchUser_stopped_staticWallpaper() local
589 final int testUser = initializeNewUserAndSwitchBack(/* stopNewUser */ false); in switchUser_running() local
608 final int testUser = initializeNewUserAndSwitchBack(/* stopNewUser */ false); in switchUser_running_initializedUser() local
632 final int testUser = initializeNewUserAndSwitchBack(/* stopNewUser */ false, in switchUser_running_staticWallpaper() local
1597 final int testUser = createUserNoFlags(); in initializeNewUserAndSwitchBack() local
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java282 final UserInfo testUser = createUser("TestUser", /* flags= */ 0); in testCommunalProfile() local
505 final UserInfo testUser = createUser("TestUser", /* flags= */ 0); in testRemoveUserShouldNotRemoveCurrentUser() local
524 final UserInfo testUser = createUser("TestUser", /* flags= */ 0); in testRemoveUserShouldNotRemoveCurrentUser_DuringUserSwitch() local
591 UserInfo testUser = createUser("TestUser", /* flags= */ 0); in testRemoveUser_withDisallowRemoveUserRestrictionAndMultipleUsersPresent() local
617 final UserInfo testUser = createUser("TestUser", /* flags= */ 0); in testRemoveUserShouldNotRemoveTargetUser_DuringUserSwitch() local
742 final UserInfo testUser = createUser("TestUser", /* flags= */ 0); in testRemoveUserWhenPossible_currentUserSetEphemeral_duringUserSwitch() local
765 final UserInfo testUser = createUser("TestUser", /* flags= */ 0); in testRemoveUserWhenPossible_targetUserSetEphemeral_duringUserSwitch() local
1662 UserInfo testUser = createUser("User 1", 0); in testRestrictions() local
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/
H A DFontScalingTileDataInteractorTest.kt39 private val testUser = UserHandle.of(1) constant in com.android.systemui.qs.tiles.impl.fontscaling.domain.interactor.FontScalingTileDataInteractorTest
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/camera/data/repository/
H A DFakeCameraSensorPrivacyRepositoryTest.kt39 private val testUser = UserHandle.of(1) constant in com.android.systemui.camera.data.repository.FakeCameraSensorPrivacyRepositoryTest
H A DFakeCameraAutoRotateRepositoryTest.kt39 private val testUser = UserHandle.of(1) constant
H A DCameraSensorPrivacyRepositoryImplTest.kt45 private val testUser = UserHandle.of(1) constant in com.android.systemui.camera.data.repository.CameraSensorPrivacyRepositoryImplTest
H A DCameraAutoRotateRepositoryImplTest.kt42 private val testUser = UserHandle.of(1) constant in com.android.systemui.camera.data.repository.CameraAutoRotateRepositoryImplTest
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/onehanded/domain/interactor/
H A DOneHandedModeTileDataInteractorTest.kt43 private val testUser = UserHandle.of(1)!! constant
H A DOneHandedModeTileUserActionInteractorTest.kt41 private val testUser = UserHandle.of(1) constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/irecording/
H A DIssueRecordingDataInteractorTest.kt49 private val testUser = UserHandle.of(1) constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/inversion/domain/interactor/
H A DColorInversionUserActionInteractorTest.kt40 private val testUser = UserHandle.CURRENT constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/doman/interactor/
H A DBatterySaverTileDataInteractorTest.kt48 private val testUser = UserHandle.of(1) constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/interactor/
H A DColorCorrectionTileUserActionInteractorTest.kt40 private val testUser = UserHandle.CURRENT constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/notes/domain/interactor/
H A DNotesTileDataInteractorTest.kt45 private val testUser = UserHandle.of(1) constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/sensorprivacy/domain/interactor/
H A DSensorPrivacyToggleTileDataInteractorTest.kt55 private val testUser = UserHandle.of(1) constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/qr/domain/interactor/
H A DQRCodeScannerTileDataInteractorTest.kt46 private val testUser = UserHandle.of(1)!! constant in com.android.systemui.qs.tiles.impl.qr.domain.interactor.QRCodeScannerTileDataInteractorTest
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/hearingdevices/domain/interactor/
H A DHearingDevicesTileDataInteractorTest.kt56 private val testUser = UserHandle.of(1) constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/night/domain/interactor/
H A DNightDisplayTileDataInteractorTest.kt51 private val testUser = UserHandle.of(1)!! constant in com.android.systemui.qs.tiles.impl.night.domain.interactor.NightDisplayTileDataInteractorTest
H A DNightDisplayTileUserActionInteractorTest.kt56 private val testUser = UserHandle.of(1) constant
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DBackgroundRestrictionTest.java471 final int testUser = TEST_USER0; in testTogglingBackgroundRestrictInternal() local
567 final int testUser = TEST_USER0; in testTogglingStandbyBucket() local
618 final int testUser = TEST_USER0; in testBgCurrentDrainMonitor() local
1717 final int testUser = TEST_USER0; in testBgCurrentDrainMonitorExemptions() local
2526 final int testUser = TEST_USER0; in runTestExcessiveEvent() local
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/
H A DRotationLockTileDataInteractorTest.kt61 private val testUser = UserHandle.of(1) constant in com.android.systemui.qs.tiles.impl.rotation.domain.interactor.RotationLockTileDataInteractorTest
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
H A DNightDisplayRepositoryTest.kt55 private val testUser = UserHandle.of(1)!! constant in com.android.systemui.accessibility.data.repository.NightDisplayRepositoryTest
/aosp_15_r20/cts/tests/tests/instantapp/src/android/cts/instantapp/resolver/
H A DResolverServiceMethodFallbackTest.kt74 private val testUser = UserHandle(Integer.MAX_VALUE) in <lambda>() constant

12