Searched refs:MANAGED_PROFILE_USER_ID (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImplTest.java | 68 private final int MANAGED_PROFILE_USER_ID = MY_USER_ID + 1; field in EnterprisePrivacyFeatureProviderImplTest 114 mProfiles.add(new UserInfo(MANAGED_PROFILE_USER_ID, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testIsInCompMode() 211 mProfiles.add(new UserInfo(MANAGED_PROFILE_USER_ID, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testIsAlwaysOnVpnSetInManagedProfileProfile() 213 when(mConnectivityManger.getAlwaysOnVpnPackageForUser(MANAGED_PROFILE_USER_ID)) in testIsAlwaysOnVpnSetInManagedProfileProfile() 217 when(mConnectivityManger.getAlwaysOnVpnPackageForUser(MANAGED_PROFILE_USER_ID)) in testIsAlwaysOnVpnSetInManagedProfileProfile() 245 when(mDevicePolicyManager.getProfileOwnerAsUser(MANAGED_PROFILE_USER_ID)).thenReturn(OWNER); in testGetMaximumFailedPasswordsForWipeInManagedProfile() 246 when(mDevicePolicyManager.getMaximumFailedPasswordsForWipe(OWNER, MANAGED_PROFILE_USER_ID)) in testGetMaximumFailedPasswordsForWipeInManagedProfile() 250 mProfiles.add(new UserInfo(MANAGED_PROFILE_USER_ID, "", "", UserInfo.FLAG_MANAGED_PROFILE)); in testGetMaximumFailedPasswordsForWipeInManagedProfile() 288 final UserHandle managedProfileUserHandle = new UserHandle(MANAGED_PROFILE_USER_ID); in testGetNumberOfOwnerInstalledCaCertsForCurrentUserAndManagedProfile() 290 new UserInfo(MANAGED_PROFILE_USER_ID, "", "", UserInfo.FLAG_MANAGED_PROFILE); in testGetNumberOfOwnerInstalledCaCertsForCurrentUserAndManagedProfile() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelperTest.java | 48 private static final int MANAGED_PROFILE_USER_ID = 2; field in UserProvisioningStateHelperTest 78 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testInitiallyDone_ProfileAfterSuw() 85 MANAGED_PROFILE_USER_ID); in testInitiallyDone_ProfileAfterSuw() 94 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testInitiallyDone_ProfileDuringSuw() 101 MANAGED_PROFILE_USER_ID); in testInitiallyDone_ProfileDuringSuw() 142 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testFinalized_ManagedProfile() 149 MANAGED_PROFILE_USER_ID); in testFinalized_ManagedProfile()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 60 private static final int MANAGED_PROFILE_USER_ID = 15; field in OtaControllerTest 138 addManagedProfile(MANAGED_PROFILE_USER_ID, ADMIN_COMPONENT); in testManagedProfile() 146 Pair.create(MANAGED_PROFILE_USER_ID, InstallExistingPackageTask.class), in testManagedProfile() 147 Pair.create(MANAGED_PROFILE_USER_ID, DisableInstallShortcutListenersTask.class), in testManagedProfile() 148 Pair.create(MANAGED_PROFILE_USER_ID, DeleteNonRequiredAppsTask.class)); in testManagedProfile() 152 verify(mCrossProfileIntentFiltersSetter, never()).resetFilters(MANAGED_PROFILE_USER_ID); in testManagedProfile() 156 UserHandle.of(MANAGED_PROFILE_USER_ID)); in testManagedProfile()
|