Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
H A DEnterprisePrivacyFeatureProviderImplTest.java80 private final int mManagedProfileUserId = mUserId + 1; field in EnterprisePrivacyFeatureProviderImplTest
128 mProfiles.add(new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testIsInCompMode()
218 mProfiles.add(new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testIsAlwaysOnVpnSetInManagedProfileProfile()
220 when(mVpnManager.getAlwaysOnVpnPackageForUser(mManagedProfileUserId)).thenReturn(null); in testIsAlwaysOnVpnSetInManagedProfileProfile()
223 when(mVpnManager.getAlwaysOnVpnPackageForUser(mManagedProfileUserId)) in testIsAlwaysOnVpnSetInManagedProfileProfile()
289 final UserHandle managedProfileUserHandle = new UserHandle(mManagedProfileUserId); in testGetNumberOfOwnerInstalledCaCertsForCurrent()
311 final UserHandle managedProfileUserHandle = new UserHandle(mManagedProfileUserId); in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()
313 new UserInfo(mManagedProfileUserId, "", "", UserInfo.FLAG_MANAGED_PROFILE); in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()
341 when(mDevicePolicyManager.getActiveAdminsAsUser(mManagedProfileUserId)) in testGetNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
394 argThat(handle -> handle.getIdentifier() == mManagedProfileUserId)); in workPolicyInfo_profileOwner_shouldResolveIntent()
[all …]