Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTests.java102 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testManagedProfileUnifiedChallenge()
104 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
115 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
123 assertNotNull(mGateKeeperService.getAuthToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
124 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
138 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
145 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
160 PASSWORD_QUALITY_COMPLEX, MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge()
164 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge()
170 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge()
[all …]
DSyntheticPasswordTests.java257 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testManagedProfileUnifiedChallengeMigration()
259 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallengeMigration()
261 … final byte[] profileStorageKey = mStorageManager.getUserUnlockToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallengeMigration()
277 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallengeMigration()
281 mStorageManager.getUserUnlockToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallengeMigration()
283 assertTrue(hasSyntheticPassword(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallengeMigration()
293 PASSWORD_QUALITY_ALPHABETIC, MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallengeMigration()
295 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallengeMigration()
297 … final byte[] profileStorageKey = mStorageManager.getUserUnlockToken(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallengeMigration()
309 0, MANAGED_PROFILE_USER_ID).getResponseCode()); in testManagedProfileSeparateChallengeMigration()
[all …]
DBaseLockSettingsServiceTests.java60 protected static final int MANAGED_PROFILE_USER_ID = 12; field in BaseLockSettingsServiceTests
131 installChildProfile(MANAGED_PROFILE_USER_ID); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java770 final int MANAGED_PROFILE_USER_ID = 78; in testSetActivePasswordState_sendToProfiles() local
772 UserHandle.getUid(MANAGED_PROFILE_USER_ID, DpmMockContext.SYSTEM_UID); in testSetActivePasswordState_sendToProfiles()
795 MockUtils.checkUserHandle(MANAGED_PROFILE_USER_ID)); in testSetActivePasswordState_sendToProfiles()
808 final int MANAGED_PROFILE_USER_ID = 78; in testSetActivePasswordState_notSentToParent() local
810 UserHandle.getUid(MANAGED_PROFILE_USER_ID, DpmMockContext.SYSTEM_UID); in testSetActivePasswordState_notSentToParent()
816 .isSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID); in testSetActivePasswordState_notSentToParent()
823 dpm.reportPasswordChanged(MANAGED_PROFILE_USER_ID); in testSetActivePasswordState_notSentToParent()
828 intent.putExtra(Intent.EXTRA_USER, UserHandle.of(MANAGED_PROFILE_USER_ID)); in testSetActivePasswordState_notSentToParent()
835 MockUtils.checkUserHandle(MANAGED_PROFILE_USER_ID)); in testSetActivePasswordState_notSentToParent()
2891 final int MANAGED_PROFILE_USER_ID = 18; in setup_nonSplitUser_withDo_primaryUser_ManagedProfile() local
[all …]