Searched refs:MANAGED_PROFILE_USER_ID (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | LockSettingsServiceTests.java | 128 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 176 MANAGED_PROFILE_USER_ID)); in testManagedProfileSeparateChallenge() 249 MANAGED_PROFILE_USER_ID)); in testSetLockCredential_forProfileWithSeparateChallenge_sendsCredentials() 253 MANAGED_PROFILE_USER_ID); in testSetLockCredential_forProfileWithSeparateChallenge_sendsCredentials() 261 MANAGED_PROFILE_USER_ID, in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials() 268 MANAGED_PROFILE_USER_ID)); in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials() 272 MANAGED_PROFILE_USER_ID); in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials() 310 MANAGED_PROFILE_USER_ID); in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 360 MANAGED_PROFILE_USER_ID)); in testSetLockCredential_forUnifiedToSeparateChallengeProfile_sendsNewCredentials() 364 MANAGED_PROFILE_USER_ID); in testSetLockCredential_forUnifiedToSeparateChallengeProfile_sendsNewCredentials() [all …]
|
H A D | BaseLockSettingsServiceTests.java | 73 protected static final int MANAGED_PROFILE_USER_ID = 12; field in BaseLockSettingsServiceTests 160 installChildProfile(MANAGED_PROFILE_USER_ID); in setUp_baseServices() 188 mockBiometricsHardwareFingerprintsAndTemplates(MANAGED_PROFILE_USER_ID); in setUp_baseServices()
|
H A D | SyntheticPasswordTests.java | 447 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testGetHashFactorManagedProfileUnifiedChallenge() 448 assertNotNull(mService.getHashFactor(null, MANAGED_PROFILE_USER_ID)); in testGetHashFactorManagedProfileUnifiedChallenge() 456 mService.setLockCredential(profilePassword, nonePassword(), MANAGED_PROFILE_USER_ID); in testGetHashFactorManagedProfileSeparateChallenge() 458 mService.getHashFactor(profilePassword, MANAGED_PROFILE_USER_ID)); in testGetHashFactorManagedProfileSeparateChallenge()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
H A D | OtaControllerTest.java | 62 private static final int MANAGED_PROFILE_USER_ID = 15; field in OtaControllerTest 135 addManagedProfile(MANAGED_PROFILE_USER_ID, ADMIN_COMPONENT); in testManagedProfileWithoutMissingSystemIme() 143 Pair.create(MANAGED_PROFILE_USER_ID, InstallExistingPackageTask.class), in testManagedProfileWithoutMissingSystemIme() 144 Pair.create(MANAGED_PROFILE_USER_ID, DeleteNonRequiredAppsTask.class), in testManagedProfileWithoutMissingSystemIme() 150 MANAGED_PROFILE_USER_ID); in testManagedProfileWithoutMissingSystemIme() 154 UserHandle.of(MANAGED_PROFILE_USER_ID)); in testManagedProfileWithoutMissingSystemIme() 167 addManagedProfile(MANAGED_PROFILE_USER_ID, ADMIN_COMPONENT); in testManagedProfileWithMissingSystemIme() 180 Pair.create(MANAGED_PROFILE_USER_ID, InstallExistingPackageTask.class), in testManagedProfileWithMissingSystemIme() 183 Pair.create(MANAGED_PROFILE_USER_ID, DeleteNonRequiredAppsTask.class), in testManagedProfileWithMissingSystemIme() 189 MANAGED_PROFILE_USER_ID); in testManagedProfileWithMissingSystemIme() [all …]
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
H A D | UserProvisioningStateHelperTest.java | 53 private static final int MANAGED_PROFILE_USER_ID = 2; field in UserProvisioningStateHelperTest 83 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testInitiallyDone_ProfileAfterSuw() 89 verifyUserProvisioningStateSet(STATE_USER_SETUP_FINALIZED, MANAGED_PROFILE_USER_ID); in testInitiallyDone_ProfileAfterSuw() 98 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testInitiallyDone_ProfileDuringSuw() 104 verifyUserProvisioningStateSet(STATE_USER_SETUP_COMPLETE, MANAGED_PROFILE_USER_ID); in testInitiallyDone_ProfileDuringSuw() 139 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testFinalized_ManagedProfile() 145 verifyUserProvisioningStateSet(STATE_USER_SETUP_FINALIZED, MANAGED_PROFILE_USER_ID); in testFinalized_ManagedProfile()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerTest.java | 958 final int MANAGED_PROFILE_USER_ID = 78; in testSetActivePasswordState_sendToProfiles() local 994 final int MANAGED_PROFILE_USER_ID = 78; in testSetActivePasswordState_notSentToParent() local 3645 final int MANAGED_PROFILE_USER_ID = 18; in setup_withDo_systemUser_ManagedProfile() local 4609 final int MANAGED_PROFILE_USER_ID = 15; in testLockTaskPolicyForProfileOwner() local 4789 final int MANAGED_PROFILE_USER_ID = 15; in testWipeDataManagedProfile() local 4804 MANAGED_PROFILE_USER_ID); in testWipeDataManagedProfile() 4871 final int MANAGED_PROFILE_USER_ID = 15; in testWipeDataManagedProfileDisallowed() local 4940 final int MANAGED_PROFILE_USER_ID = 15; in testMaximumFailedPasswordAttemptsReachedManagedProfile() local 4967 MANAGED_PROFILE_USER_ID); in testMaximumFailedPasswordAttemptsReachedManagedProfile() 4974 final int MANAGED_PROFILE_USER_ID = 15; in testMaximumFailedPasswordAttemptsReachedManagedProfileDisallowed() local [all …]
|