Searched refs:MANAGED_PROFILE_USER_ID (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 133 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testManagedProfileUnifiedChallenge() 135 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 146 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 154 assertNotNull(mGateKeeperService.getAuthToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 155 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 170 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 178 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 196 PASSWORD_QUALITY_COMPLEX, MANAGED_PROFILE_USER_ID, false); in testManagedProfileSeparateChallenge() local 200 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge() 206 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge() [all …]
|
D | SyntheticPasswordTests.java | 433 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testgetHashFactorManagedProfileUnifiedChallenge() 434 assertNotNull(mService.getHashFactor(null, MANAGED_PROFILE_USER_ID)); in testgetHashFactorManagedProfileUnifiedChallenge() 444 PASSWORD_QUALITY_ALPHABETIC, MANAGED_PROFILE_USER_ID, false); in testgetHashFactorManagedProfileSeparateChallenge() 445 assertNotNull(mService.getHashFactor(profilePassword, MANAGED_PROFILE_USER_ID)); in testgetHashFactorManagedProfileSeparateChallenge()
|
D | BaseLockSettingsServiceTests.java | 69 protected static final int MANAGED_PROFILE_USER_ID = 12; field in BaseLockSettingsServiceTests 155 installChildProfile(MANAGED_PROFILE_USER_ID); in setUp_baseServices()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 776 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() 2918 final int MANAGED_PROFILE_USER_ID = 18; in setup_nonSplitUser_withDo_primaryUser_ManagedProfile() local [all …]
|