Home
last modified time | relevance | path

Searched refs:mGateKeeperService (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsServiceTests.java91 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearPasswordPrimaryUser()
99 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileUnifiedChallenge()
100 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
102 mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
111 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
112 mGateKeeperService.clearAuthToken(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
119 assertNotNull(mGateKeeperService.getAuthToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
120 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
123 assertNull(mGateKeeperService.getAuthToken(TURNED_OFF_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
134 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
[all …]
DSyntheticPasswordTests.java50 …kSyntheticPasswordManager manager = new MockSyntheticPasswordManager(mStorage, mGateKeeperService); in testPasswordBasedSyntheticPassword()
51 AuthenticationToken authToken = manager.newSyntheticPasswordAndSid(mGateKeeperService, null, in testPasswordBasedSyntheticPassword()
53 long handle = manager.createPasswordBasedSyntheticPassword(mGateKeeperService, PASSWORD, in testPasswordBasedSyntheticPassword()
56 …cationResult result = manager.unwrapPasswordBasedSyntheticPassword(mGateKeeperService, handle, PAS… in testPasswordBasedSyntheticPassword()
59 …result = manager.unwrapPasswordBasedSyntheticPassword(mGateKeeperService, handle, BADPASSWORD, USE… in testPasswordBasedSyntheticPassword()
80 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testPasswordMigration()
86 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testPasswordMigration()
105 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordChangeCredential()
107 mGateKeeperService.clearSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordChangeCredential()
110 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredential()
[all …]
DBaseLockSettingsServiceTests.java66 MockGateKeeperService mGateKeeperService; field in BaseLockSettingsServiceTests
79 mGateKeeperService = new MockGateKeeperService(); in setUp()
97 mStorage, mGateKeeperService, mKeyStore, mStorageManager, mActivityManager); in setUp()
DLockSettingsServiceTestable.java115 mGateKeeperService = gatekeeper; in LockSettingsServiceTestable()
130 if (mGateKeeperService.getSecureUserId(userId) == 0) { in getDecryptedPasswordForTiedProfile()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java156 protected IGateKeeperService mGateKeeperService; field in LockSettingsService
1795 mGateKeeperService.asBinder().unlinkToDeath(this, 0); in binderDied()
1796 mGateKeeperService = null; in binderDied()
1802 if (mGateKeeperService != null) { in getGateKeeperService()
1803 return mGateKeeperService; in getGateKeeperService()
1809 mGateKeeperService = IGateKeeperService.Stub.asInterface(service); in getGateKeeperService()
1810 return mGateKeeperService; in getGateKeeperService()