Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDeviceState.java448 UserType forUser = (UserType) annotation.annotationType()
493 forUser, ensureHasProfileAnnotation.hasProfileOwner(),
504 workProfile(forUser)).devicePolicyController()).setIsOrganizationOwned(
698 ensurePasswordSetAnnotation.forUser(),
704 mUsersComponent.ensurePasswordNotSet(ensurePasswordNotSetAnnotation.forUser());
828 resolveUserTypeToUser(requireHasDefaultBrowser.forUser());
1225 public UserReference workProfile(UserType forUser) {
1226 return workProfile(resolveUserTypeToUser(forUser));
1237 public UserReference workProfile(UserReference forUser) {
1238 return profile(MANAGED_PROFILE_TYPE_NAME, forUser);
[all …]
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/meta/
DEnsureHasNoProfile.java31 UserType forUser() default INSTRUMENTED_USER; in forUser() method
DEnsureHasProfile.java34 UserType forUser() default INSTRUMENTED_USER; in forUser() method
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DRequireHasDefaultBrowser.java34 UserType forUser() default INSTRUMENTED_USER; in forUser() method
DEnsurePasswordNotSet.java40 UserType forUser() default INSTRUMENTED_USER; in forUser() method
DEnsureHasNoTvProfile.java42 UserType forUser() default INSTRUMENTED_USER; in forUser() method
DEnsureHasNoCloneProfile.java42 UserType forUser() default INSTRUMENTED_USER; in forUser() method
DEnsureHasNoPrivateProfile.java42 UserType forUser() default INSTRUMENTED_USER; in forUser() method
DEnsurePasswordSet.java41 UserType forUser() default INSTRUMENTED_USER; in forUser() method
DEnsureHasPrivateProfile.java47 UserType forUser() default INITIAL_USER; in forUser() method
DEnsureHasCloneProfile.java46 UserType forUser() default INITIAL_USER; in forUser() method
DEnsureHasTvProfile.java45 UserType forUser() default INSTRUMENTED_USER; in forUser() method
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasNoWorkProfile.java45 UserType forUser() default INSTRUMENTED_USER; in forUser() method
DEnsureHasWorkProfile.kt71 val forUser: UserType = INITIAL_USER, constant in com.android.bedstead.enterprise.annotations.EnsureHasWorkProfile
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/
DDomainVerificationWorkProfileAllowParentLinkingTests.kt29 @EnsureHasWorkProfile(forUser = UserType.INITIAL_USER)
DDomainVerificationWorkProfileCrossProfileIntentTests.kt33 @EnsureHasWorkProfile(forUser = UserType.INITIAL_USER)
DDomainVerificationWorkProfileTestsBase.kt57 @EnsureHasWorkProfile(forUser = UserType.INITIAL_USER) in <lambda>()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt393 fun ensurePasswordSet(forUser: com.android.bedstead.harrier.UserType, password: String) { in <lambda>()
394 val user: UserReference = deviceState.resolveUserTypeToUser(forUser) in <lambda>()
407 fun ensurePasswordNotSet(forUser: com.android.bedstead.harrier.UserType) { in <lambda>()
408 val user = deviceState.resolveUserTypeToUser(forUser) in <lambda>()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseAppSecurityTest.java63 .forUser(userId) in installTestAppForUser()
DPackageSetInstallerTest.kt128 .forUser(mPrimaryUserId) in runTest()
139 .forUser(mPrimaryUserId) in runTest()
DBaseInstallMultiple.java193 T forUser(int userId) { in forUser() method in BaseInstallMultiple
/cts/tests/tests/car/src/android/car/cts/
DCarUserManagerTest.java135 .forUser(userId) in testStartUserOnDisplayAndStopUser()
141 .forUser(userId) in testStartUserOnDisplayAndStopUser()
147 .forUser(userId) in testStartUserOnDisplayAndStopUser()
289 .forUser(newUser.getIdentifier()) in testLifecycleUserRemovedListener_supportedVersion()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java106 T forUser(int userId) { in forUser() method in BaseInstallMultiple
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java106 T forUser(int userId) { in forUser() method in BaseInstallMultiple
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java644 @EnsureHasWorkProfile(forUser = ADDITIONAL_USER)
661 @EnsureHasWorkProfile(forUser = ADDITIONAL_USER)