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.java124 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testManagedProfileUnifiedChallenge()
126 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
137 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
145 assertNotNull(mGateKeeperService.getAuthToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
146 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
161 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
169 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
186 PASSWORD_QUALITY_COMPLEX, MANAGED_PROFILE_USER_ID, false); in testManagedProfileSeparateChallenge() local
190 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge()
196 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge()
[all …]
DSyntheticPasswordTests.java266 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testManagedProfileUnifiedChallengeMigration()
268 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallengeMigration()
270 … final byte[] profileStorageKey = mStorageManager.getUserUnlockToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallengeMigration()
286 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallengeMigration()
290 mStorageManager.getUserUnlockToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallengeMigration()
292 assertTrue(hasSyntheticPassword(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallengeMigration()
304 PASSWORD_QUALITY_ALPHABETIC, MANAGED_PROFILE_USER_ID, false); in testManagedProfileSeparateChallengeMigration()
306 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallengeMigration()
308 … final byte[] profileStorageKey = mStorageManager.getUserUnlockToken(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallengeMigration()
320 0, MANAGED_PROFILE_USER_ID).getResponseCode()); in testManagedProfileSeparateChallengeMigration()
[all …]
DBaseLockSettingsServiceTests.java62 protected static final int MANAGED_PROFILE_USER_ID = 12; field in BaseLockSettingsServiceTests
150 installChildProfile(MANAGED_PROFILE_USER_ID); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java776 final int MANAGED_PROFILE_USER_ID = 78; in testSetActivePasswordState_sendToProfiles() local
778 UserHandle.getUid(MANAGED_PROFILE_USER_ID, DpmMockContext.SYSTEM_UID); in testSetActivePasswordState_sendToProfiles()
803 MockUtils.checkUserHandle(MANAGED_PROFILE_USER_ID), in testSetActivePasswordState_sendToProfiles()
818 final int MANAGED_PROFILE_USER_ID = 78; in testSetActivePasswordState_notSentToParent() local
820 UserHandle.getUid(MANAGED_PROFILE_USER_ID, DpmMockContext.SYSTEM_UID); in testSetActivePasswordState_notSentToParent()
826 .isSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID); in testSetActivePasswordState_notSentToParent()
833 dpm.reportPasswordChanged(MANAGED_PROFILE_USER_ID); in testSetActivePasswordState_notSentToParent()
838 intent.putExtra(Intent.EXTRA_USER, UserHandle.of(MANAGED_PROFILE_USER_ID)); in testSetActivePasswordState_notSentToParent()
847 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 …]