Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockSettingsServiceTests.java125 mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
134 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
135 mGateKeeperService.clearAuthToken(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
142 assertNotNull(mGateKeeperService.getAuthToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
146 assertNull(mGateKeeperService.getAuthToken(TURNED_OFF_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
151 assertNull(mGateKeeperService.getAuthToken(TURNED_OFF_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
155 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testManagedProfileUnifiedChallenge()
174 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileSeparateChallenge()
179 assertNull(mGateKeeperService.getAuthToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileSeparateChallenge()
515 assertEquals(0, mGateKeeperService.getSecureUserId(userId)); in setCredential()
[all …]
H A DSyntheticPasswordTests.java88 mGateKeeperService, mUserManager, mPasswordSlotManager); in testNoneLskfBasedProtector()
91 long protectorId = manager.createLskfBasedProtector(mGateKeeperService, in testNoneLskfBasedProtector()
109 mGateKeeperService, mUserManager, mPasswordSlotManager); in testNonNoneLskfBasedProtector()
176 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testChangeCredential()
180 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testChangeCredential()
203 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testClearCredential()
206 assertEquals(0 ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearCredential()
212 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearCredential()
415 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testEscrowTokenActivatedImmediatelyIfNoUserPassword()
615 mGateKeeperService, mUserManager, mPasswordSlotManager); in testStorePinLengthOnDisk()
[all …]
H A DLockSettingsServiceTestable.java163 mGateKeeperService = gatekeeper; in LockSettingsServiceTestable()
184 if (mGateKeeperService.getSecureUserId(userId) == 0) { in getDecryptedPasswordForTiedProfile()
H A DBaseLockSettingsServiceTests.java98 FakeGateKeeperService mGateKeeperService; field in BaseLockSettingsServiceTests
124 mGateKeeperService = new FakeGateKeeperService(); in setUp_baseServices()
161 mSpManager = new MockSyntheticPasswordManager(mContext, mStorage, mGateKeeperService, in setUp_baseServices()
177 new LockSettingsServiceTestable(mInjector, mGateKeeperService, mAuthSecretService); in setUp_baseServices()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DPlatformKeyManagerTest.java90 @Mock private IGateKeeperService mGateKeeperService; field in PlatformKeyManagerTest
108 mContext, mKeyStoreProxy, mRecoverableKeyStoreDb, mGateKeeperService); in setUp()
113 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)).thenReturn(USER_SID); in setUp()
231 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)) in init_createsDecryptKeyIfNoSid()
244 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)).thenThrow(new RemoteException()); in init_createsDecryptKeyOnGateKeeperException()
591 private IGateKeeperService mGateKeeperService; field in PlatformKeyManagerTest.PlatformKeyManagerTestable
599 mGateKeeperService = gateKeeperService; in PlatformKeyManagerTestable()
604 return mGateKeeperService; in getGateKeeperService()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java281 protected IGateKeeperService mGateKeeperService; field in LockSettingsService
2607 mGateKeeperService.asBinder().unlinkToDeath(this, 0); in binderDied()
2608 mGateKeeperService = null; in binderDied()
2613 if (mGateKeeperService != null) { in getGateKeeperService()
2614 return mGateKeeperService; in getGateKeeperService()
2624 mGateKeeperService = IGateKeeperService.Stub.asInterface(service); in getGateKeeperService()
2625 return mGateKeeperService; in getGateKeeperService()