Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java227 verify(mAuthSecretService, atLeastOnce()).setPrimaryUserCredential(secret.capture()); in testChangeCredentialKeepsAuthSecret()
238 reset(mAuthSecretService); in testVerifyPassesPrimaryUserAuthSecret()
241 verify(mAuthSecretService).setPrimaryUserCredential(any(byte[].class)); in testVerifyPassesPrimaryUserAuthSecret()
251 verify(mAuthSecretService, never()).setPrimaryUserCredential(any(byte[].class)); in testSecondaryUserDoesNotPassAuthSecret()
257 reset(mAuthSecretService); in testUnlockUserKeyIfUnsecuredPassesPrimaryUserAuthSecret()
259 verify(mAuthSecretService).setPrimaryUserCredential(any(byte[].class)); in testUnlockUserKeyIfUnsecuredPassesPrimaryUserAuthSecret()
269 reset(mAuthSecretService); in testUnlockUserKeyIfUnsecuredPassesPrimaryUserAuthSecretIfPasswordIsCleared()
271 verify(mAuthSecretService).setPrimaryUserCredential(any(byte[].class)); in testUnlockUserKeyIfUnsecuredPassesPrimaryUserAuthSecretIfPasswordIsCleared()
282 reset(mAuthSecretService); in setupHeadlessTest()
289 verify(mAuthSecretService, never()).setPrimaryUserCredential(any(byte[].class)); in testHeadlessSystemUserDoesNotPassAuthSecret()
[all …]
DBaseLockSettingsServiceTests.java105 IAuthSecret mAuthSecretService; field in BaseLockSettingsServiceTests
161 mAuthSecretService = mock(IAuthSecret.class); in setUp_baseServices()
174 new LockSettingsServiceTestable(mInjector, mGateKeeperService, mAuthSecretService); in setUp_baseServices()
DLockSettingsServiceTestable.java162 mAuthSecretService = authSecretService; in LockSettingsServiceTestable()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java330 protected IAuthSecret mAuthSecretService; field in LockSettingsService
983 mAuthSecretService = in getAuthSecretHal()
986 if (mAuthSecretService != null) { in getAuthSecretHal()
992 mAuthSecretService = new AuthSecretHidlAdapter(authSecretServiceHidl); in getAuthSecretHal()
2886 if (mAuthSecretService == null) { in callToAuthSecretIfNeeded()
2949 mAuthSecretService.setPrimaryUserCredential(authSecret); in callToAuthSecretIfNeeded()