Searched refs:MANAGED_PROFILE_USER_ID (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 79 mService.initializeSyntheticPassword(MANAGED_PROFILE_USER_ID); in setUp() 153 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testManagedProfileUnifiedChallenge() 155 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 166 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 174 assertNotNull(mGateKeeperService.getAuthToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 175 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 182 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 188 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 197 setCredential(MANAGED_PROFILE_USER_ID, profilePassword); in testManagedProfileSeparateChallenge() 200 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge() [all …]
|
D | SyntheticPasswordTests.java | 533 mService.initializeSyntheticPassword(MANAGED_PROFILE_USER_ID); in testGetHashFactorManagedProfileUnifiedChallenge() 537 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testGetHashFactorManagedProfileUnifiedChallenge() 538 assertNotNull(mService.getHashFactor(null, MANAGED_PROFILE_USER_ID)); in testGetHashFactorManagedProfileUnifiedChallenge() 544 mService.initializeSyntheticPassword(MANAGED_PROFILE_USER_ID); in testGetHashFactorManagedProfileSeparateChallenge() 549 mService.setLockCredential(profilePassword, nonePassword(), MANAGED_PROFILE_USER_ID); in testGetHashFactorManagedProfileSeparateChallenge() 551 mService.getHashFactor(profilePassword, MANAGED_PROFILE_USER_ID)); in testGetHashFactorManagedProfileSeparateChallenge()
|
D | BaseLockSettingsServiceTests.java | 79 protected static final int MANAGED_PROFILE_USER_ID = 12; field in BaseLockSettingsServiceTests 202 installChildProfile(MANAGED_PROFILE_USER_ID); in setUp_baseServices() 235 mockBiometricsHardwareFingerprintsAndTemplates(MANAGED_PROFILE_USER_ID); in setUp_baseServices()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/adaptiveauth/ |
D | AdaptiveAuthServiceTest.java | 79 private static final int MANAGED_PROFILE_USER_ID = 12; field in AdaptiveAuthServiceTest 136 when(mUserManager.getProfileParentId(eq(MANAGED_PROFILE_USER_ID))) in setUp() 306 .onAuthenticationFailed(MANAGED_PROFILE_USER_ID); in testReportAuthAttempt_primaryAuthAndBiometricAuthFailed_profileOfPrimaryUser() 311 authFailedInfo(MANAGED_PROFILE_USER_ID)); in testReportAuthAttempt_primaryAuthAndBiometricAuthFailed_profileOfPrimaryUser() 315 verifyLockDevice(MANAGED_PROFILE_USER_ID); in testReportAuthAttempt_primaryAuthAndBiometricAuthFailed_profileOfPrimaryUser() 331 if (userId == MANAGED_PROFILE_USER_ID) { in verifyLockDevice()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/ |
D | AppListRepositoryTest.kt | 83 intArrayOf(ADMIN_USER_ID, MANAGED_PROFILE_USER_ID) in <lambda>() 166 }), MANAGED_PROFILE_USER_ID) in <lambda>() 182 mockInstalledApplications(emptyList(), MANAGED_PROFILE_USER_ID) in <lambda>() 420 const val MANAGED_PROFILE_USER_ID = 11 in getShowSystemPredicate() constant
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 1009 final int MANAGED_PROFILE_USER_ID = 78; in testSetActivePasswordState_sendToProfiles() local 1011 UserHandle.getUid(MANAGED_PROFILE_USER_ID, DpmMockContext.SYSTEM_UID); in testSetActivePasswordState_sendToProfiles() 1030 MockUtils.checkUserHandle(MANAGED_PROFILE_USER_ID), in testSetActivePasswordState_sendToProfiles() 1046 final int MANAGED_PROFILE_USER_ID = 78; in testSetActivePasswordState_notSentToParent() local 1048 UserHandle.getUid(MANAGED_PROFILE_USER_ID, DpmMockContext.SYSTEM_UID); in testSetActivePasswordState_notSentToParent() 1054 .isSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID); in testSetActivePasswordState_notSentToParent() 1061 MANAGED_PROFILE_USER_ID); in testSetActivePasswordState_notSentToParent() 1066 intent.putExtra(Intent.EXTRA_USER, UserHandle.of(MANAGED_PROFILE_USER_ID)); in testSetActivePasswordState_notSentToParent() 1075 MockUtils.checkUserHandle(MANAGED_PROFILE_USER_ID), in testSetActivePasswordState_notSentToParent() 2596 final int MANAGED_PROFILE_USER_ID = CALLER_USER_HANDLE; in testSetKeyguardDisabledFeaturesWithPOOfOrganizationOwnedDevice() local [all …]
|