Searched refs:WORK_PROFILE (Results 1 – 16 of 16) sorted by relevance
27 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;149 @UserPair(from = WORK_PROFILE, to = ADDITIONAL_USER),150 @UserPair(from = ADDITIONAL_USER, to = WORK_PROFILE)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})204 @UserPair(from = WORK_PROFILE, to = ADDITIONAL_USER),205 @UserPair(from = ADDITIONAL_USER, to = WORK_PROFILE),[all …]
85 @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 …]
29 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;312 sDeviceState.profileOwner(WORK_PROFILE).devicePolicyManager() in getResolveInfo()313 .addCrossProfileIntentFilter(sDeviceState.profileOwner(WORK_PROFILE) in getResolveInfo()319 sDeviceState.profileOwner(WORK_PROFILE).devicePolicyManager() in getResolveInfo()321 sDeviceState.profileOwner(WORK_PROFILE).componentName()); in getResolveInfo()340 RemoteDpc remoteDpc = sDeviceState.profileOwner(WORK_PROFILE); in setSharingIntoProfileEnabled()
21 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;237 WORK_PROFILE).devicePolicyManager().setManagedSubscriptionsPolicy( in setManagedSubscriptionsPolicy_enabledForNonDMPRoleHolders_works()242 sDeviceState.profileOwner(WORK_PROFILE) in setManagedSubscriptionsPolicy_enabledForNonDMPRoleHolders_works()248 WORK_PROFILE).devicePolicyManager().setManagedSubscriptionsPolicy( in setManagedSubscriptionsPolicy_enabledForNonDMPRoleHolders_works()
23 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;454 @EnsureHasDevicePolicyManagerRoleHolder(isPrimary = true, onUser = WORK_PROFILE)488 @EnsureHasDevicePolicyManagerRoleHolder(isPrimary = true, onUser = WORK_PROFILE)
26 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;1115 WORK_PROFILE).devicePolicyManager(); in grantSmsPermission_orgOwnedDeviceWithManagedSubscriptionsPolicySet_granted()1116 ComponentName componentName = sDeviceState.profileOwner(WORK_PROFILE).componentName(); in grantSmsPermission_orgOwnedDeviceWithManagedSubscriptionsPolicySet_granted()
129 @EnsureHasUserRestriction(value = DISALLOW_DEBUGGING_FEATURES, onUser = UserType.WORK_PROFILE) in <lambda>()130 @EnsureDoesNotHaveUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>()153 @EnsureHasUserRestriction(value = DISALLOW_DEBUGGING_FEATURES, onUser = UserType.WORK_PROFILE) in <lambda>()154 @EnsureDoesNotHaveUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>()172 @EnsureHasUserRestriction(value = DISALLOW_DEBUGGING_FEATURES, onUser = UserType.WORK_PROFILE) in <lambda>()173 @EnsureDoesNotHaveUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>()192 @EnsureHasUserRestriction(value = DISALLOW_DEBUGGING_FEATURES, onUser = UserType.WORK_PROFILE) in <lambda>()193 @EnsureDoesNotHaveUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>()209 @EnsureHasUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>()212 onUser = UserType.WORK_PROFILE in <lambda>()[all …]
31 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;170 WORK_PROFILE).devicePolicyManager(); in sendTextMessage_fromWorkProfile_allManagedSubscriptions_smsSentSuccessfully()191 WORK_PROFILE).devicePolicyManager().setManagedSubscriptionsPolicy( in sendTextMessage_fromWorkProfile_allManagedSubscriptions_smsSentSuccessfully()210 WORK_PROFILE).devicePolicyManager(); in sendTextMessage_fromPersonalProfile_allManagedSubscriptions_errorUserNotAllowed()253 WORK_PROFILE).devicePolicyManager().setManagedSubscriptionsPolicy( in sendTextMessage_fromPersonalProfile_allManagedSubscriptions_errorUserNotAllowed()272 WORK_PROFILE).devicePolicyManager(); in allManagedSubscriptions_accessWorkMessageFromPersonalProfile_fails()301 WORK_PROFILE).devicePolicyManager().setManagedSubscriptionsPolicy( in allManagedSubscriptions_accessWorkMessageFromPersonalProfile_fails()318 WORK_PROFILE).devicePolicyManager(); in allManagedSubscriptions_accessWorkMessageFromWorkProfile_works()352 WORK_PROFILE).devicePolicyManager().setManagedSubscriptionsPolicy( in allManagedSubscriptions_accessWorkMessageFromWorkProfile_works()367 sDeviceState.profileOwner(WORK_PROFILE).devicePolicyManager().setManagedSubscriptionsPolicy( in placeCall_fromWorkProfile_allManagedSubscriptions_works()[all …]
56 WORK_PROFILE, enumConstant
20 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;226 @UserTest({INITIAL_USER, WORK_PROFILE})235 @UserPair(from = INITIAL_USER, to = WORK_PROFILE),236 @UserPair(from = WORK_PROFILE, to = INITIAL_USER),
139 ….apply(List.of(requirePackageRespondsToIntent(INTENT_ACTION, UserType.WORK_PROFILE), ensureHasPerm… in requirePackageRespondsToIntentAnnotation_workProfile_packageRespondsToIntent()
23 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;181 …Annotation(includeRunOnProfileOwnerProfileWithNoDeviceOwner(), /* roleHolderUser= */ WORK_PROFILE))183 …eHolderAnnotation(includeRunOnOrganizationOwnedProfileOwner(), /* roleHolderUser= */ WORK_PROFILE))186 …nnotation(includeRunOnParentOfProfileOwnerWithNoDeviceOwner(), /* roleHolderUser= */ WORK_PROFILE))188 …nnotation(includeRunOnParentOfOrganizationOwnedProfileOwner(), /* roleHolderUser= */ WORK_PROFILE))191 …OnSecondaryUserInDifferentProfileGroupToProfileOwnerProfile(), /* roleHolderUser= */ WORK_PROFILE))194 …upToOrganizationOwnedProfileOwnerProfileUsingParentInstance(), /* roleHolderUser= */ WORK_PROFILE))225 …oleHolderIfCanSet(includeRunOnOrganizationOwnedProfileOwner(), /* roleHolderUser= */ WORK_PROFILE))226 …erIfCanSet(includeRunOnProfileOwnerProfileWithNoDeviceOwner(), /* roleHolderUser= */ WORK_PROFILE))
1124 case WORK_PROFILE: in getRunOnAnnotation()1153 case WORK_PROFILE: in getHasUserAnnotation()
1736 case WORK_PROFILE:
29 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;204 @EnsureHasUserRestriction(value = DISALLOW_ASSIST_CONTENT, onUser = WORK_PROFILE)222 @EnsureHasUserRestriction(value = DISALLOW_ASSIST_CONTENT, onUser = WORK_PROFILE)
243 @UserTest({UserType.PRIMARY_USER, UserType.WORK_PROFILE})