Home
last modified time | relevance | path

Searched refs:WORK_PROFILE_USER_HANDLE (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DResolverActivityTest.java94 private static final UserHandle WORK_PROFILE_USER_HANDLE = UserHandle.of(10); field in ResolverActivityTest
97 new User(WORK_PROFILE_USER_HANDLE.getIdentifier(), User.Role.WORK);
274 WORK_PROFILE_USER_HANDLE); in hasOtherProfileOneOption()
409 WORK_PROFILE_USER_HANDLE); in testWorkTab_workTabListPopulatedBeforeGoingToTab()
429 WORK_PROFILE_USER_HANDLE); in testWorkTab_workTabUsesExpectedAdapter()
447 WORK_PROFILE_USER_HANDLE); in testWorkTab_personalTabUsesExpectedAdapter()
466 WORK_PROFILE_USER_HANDLE); in testWorkTab_workProfileHasExpectedNumberOfTargets()
484 /* userId */ WORK_PROFILE_USER_HANDLE.getIdentifier(), in testWorkTab_selectingWorkTabAppOpensAppInWorkProfile()
487 WORK_PROFILE_USER_HANDLE); in testWorkTab_selectingWorkTabAppOpensAppInWorkProfile()
518 WORK_PROFILE_USER_HANDLE); in testWorkTab_noPersonalApps_workTabHasExpectedNumberOfTargets()
[all …]
DChooserActivityTest.java204 private static final UserHandle WORK_PROFILE_USER_HANDLE = UserHandle.of(10); field in ChooserActivityTest
207 new User(WORK_PROFILE_USER_HANDLE.getIdentifier(), User.Role.WORK);
1315 mApplicationUser = WORK_PROFILE_USER_HANDLE; in testOnCreateLoggingFromWorkProfile()
3099 eq(WORK_PROFILE_USER_HANDLE))) in setupResolverControllers()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProviderTest.java68 private static final UserHandle WORK_PROFILE_USER_HANDLE = UserHandle.of(10); field in ProvisioningIntentProviderTest
154 when(mUtils.getManagedProfile(mContext)).thenReturn(WORK_PROFILE_USER_HANDLE); in maybeLaunchDpc_legacyFlow_duringSetupWizard_policyComplianceResolvable_policyComplianceLaunched()
159 LEGACY_FLOW_PARAMS, WORK_PROFILE_USER_HANDLE.getIdentifier(), mUtils, mContext, in maybeLaunchDpc_legacyFlow_duringSetupWizard_policyComplianceResolvable_policyComplianceLaunched()
171 when(mUtils.getManagedProfile(mContext)).thenReturn(WORK_PROFILE_USER_HANDLE); in maybeLaunchDpc_legacyFlow_policyComplianceResolvable_hasProvisioningTrigger_provisioningSuccessfulLaunched()
177 WORK_PROFILE_USER_HANDLE.getIdentifier(), mUtils, mContext, in maybeLaunchDpc_legacyFlow_policyComplianceResolvable_hasProvisioningTrigger_provisioningSuccessfulLaunched()