Home
last modified time | relevance | path

Searched refs:INITIAL_USER (Results 1 – 19 of 19) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileAppsTest.java25 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
147 @UserPair(from = INITIAL_USER, to = INITIAL_USER),
148 @UserPair(from = INITIAL_USER, to = ADDITIONAL_USER),
162 @UserPair(from = WORK_PROFILE, to = INITIAL_USER),
163 @UserPair(from = INITIAL_USER, to = WORK_PROFILE)
174 @UserPair(from = WORK_PROFILE, to = INITIAL_USER),
175 @UserPair(from = INITIAL_USER, to = WORK_PROFILE)
187 @UserTest({INITIAL_USER, WORK_PROFILE})
202 @UserPair(from = INITIAL_USER, to = INITIAL_USER),
203 @UserPair(from = INITIAL_USER, to = ADDITIONAL_USER),
[all …]
DCrossProfileIntentFiltersTest.java85 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
86 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
99 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
100 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
127 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
128 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
154 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
155 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
187 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
188 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
[all …]
DProfileOwnerTest.kt88 @EnsureHasAccount(features = [FEATURE_DISALLOW], onUser = UserType.INITIAL_USER) in <lambda>()
107 @EnsureHasAccount(features = [], onUser = UserType.INITIAL_USER) in <lambda>()
142 @EnsureHasAccount(features = [FEATURE_DISALLOW], onUser = UserType.INITIAL_USER) in <lambda>()
177 @EnsureHasAccount(features = [FEATURE_ALLOW, FEATURE_DISALLOW], onUser = UserType.INITIAL_USER) in <lambda>()
212 @EnsureHasAccount(features = [FEATURE_ALLOW], onUser = UserType.INITIAL_USER) in <lambda>()
232 @EnsureHasAccount(features = [FEATURE_ALLOW], onUser = UserType.INITIAL_USER) in <lambda>()
DWipeDataTest.java19 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
96 @EnsureHasProfileOwner(onUser = INITIAL_USER, isPrimary = true)
126 @EnsureHasProfileOwner(onUser = INITIAL_USER)
DSystemErrorDialogsTest.java22 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
140 @UserTest({INITIAL_USER, ADDITIONAL_USER})
165 @UserTest({INITIAL_USER, ADDITIONAL_USER})
DApplicationRestrictionsTest.java21 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
457 @UserTest({INITIAL_USER, PRIVATE_PROFILE})
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/
DIncludeRunOnDevicePolicyManagementRoleHolderProfile.java19 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
45 @EnsureHasNoProfileOwner(onUser = INITIAL_USER)
48 @EnsureHasDevicePolicyManagerRoleHolder(onUser = INITIAL_USER, isPrimary = true)
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DEnsureHasPrivateProfile.java19 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
47 UserType forUser() default INITIAL_USER; in forUser() field
DEnsureHasCloneProfile.java19 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
46 UserType forUser() default INITIAL_USER; in forUser() field
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/
DDomainVerificationWorkUtils.kt41 profileOwner(workProfile(UserType.INITIAL_USER))!! in getWorkDevicePolicyManager()
45 profileOwner(workProfile(UserType.INITIAL_USER)) in getWorkDevicePolicyManager()
DDomainVerificationWorkProfileAllowParentLinkingTests.kt29 @EnsureHasWorkProfile(forUser = UserType.INITIAL_USER)
DDomainVerificationWorkProfileCrossProfileIntentTests.kt33 @EnsureHasWorkProfile(forUser = UserType.INITIAL_USER)
DDomainVerificationWorkProfileTestsBase.kt57 @EnsureHasWorkProfile(forUser = UserType.INITIAL_USER) in <lambda>()
105 workUser = deviceState.workProfile(UserType.INITIAL_USER) in <lambda>()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasWorkProfile.kt20 import com.android.bedstead.harrier.UserType.INITIAL_USER;
71 val forUser: UserType = INITIAL_USER,
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/
DUserType.java88 INITIAL_USER, enumConstant
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DBedsteadJUnit4Test.java19 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
226 @UserTest({INITIAL_USER, WORK_PROFILE})
235 @UserPair(from = INITIAL_USER, to = WORK_PROFILE),
236 @UserPair(from = WORK_PROFILE, to = INITIAL_USER),
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DPolicy.java19 import static com.android.bedstead.harrier.UserType.INITIAL_USER;
198 …otation(includeRunOnParentOfProfileOwnerUsingParentInstance(), /* roleHolderUser= */ INITIAL_USER))
199 …nOnParentOfOrganizationOwnedProfileOwnerUsingParentInstance(), /* roleHolderUser= */ INITIAL_USER))
DBedsteadJUnit4.java1116 case INITIAL_USER: in getRunOnAnnotation()
1144 case INITIAL_USER: in getHasUserAnnotation()
DDeviceState.java1214 return workProfile(/* forUser= */ UserType.INITIAL_USER);
1366 return cloneProfile(/* forUser= */ UserType.INITIAL_USER);
1402 return privateProfile(/* forUser= */ UserType.INITIAL_USER);
1742 case INITIAL_USER: