Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java106 @Spy private TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in KeySyncTaskTest
145 mTestOnlyInsecureCertificateHelper, in setUp()
286 mTestOnlyInsecureCertificateHelper, in run_useScryptToHashPasswordInTestMode()
327 mTestOnlyInsecureCertificateHelper, in run_useSha256ToHashPatternInProdMode()
361 mTestOnlyInsecureCertificateHelper, in run_useScryptToHashPasswordInProdMode()
410 when(mTestOnlyInsecureCertificateHelper.isTestOnlyCertificateAlias(any())).thenReturn(true); in run_InTestModeWithWhitelistedCredentials()
411 when(mTestOnlyInsecureCertificateHelper.doesCredentialSupportInsecureMode(anyInt(), any())) in run_InTestModeWithWhitelistedCredentials()
415 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials()
419 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials()
421 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials()
[all …]
DRecoverableKeyStoreManagerTest.java162 @Spy private TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in RecoverableKeyStoreManagerTest
199 mTestOnlyInsecureCertificateHelper, in setUp()
357 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_succeedsWithCertFile()
405 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_triesToFilterRootAlias()
408 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_triesToFilterRootAlias()
426 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForEmptyRootAlias()
429 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForEmptyRootAlias()
446 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForNullRootAlias()
449 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForNullRootAlias()
642 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryServiceWithSigFile_usesProdCertificateForNullRootAlias()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java93 private final TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in KeySyncTask
150 mTestOnlyInsecureCertificateHelper = testOnlyInsecureCertificateHelper; in KeySyncTask()
228 rootCertAlias = mTestOnlyInsecureCertificateHelper in syncKeysForAgent()
253 if (mTestOnlyInsecureCertificateHelper.isTestOnlyCertificateAlias(rootCertAlias)) { in syncKeysForAgent()
256 if (mTestOnlyInsecureCertificateHelper.doesCredentialSupportInsecureMode( in syncKeysForAgent()
295 if (mTestOnlyInsecureCertificateHelper.isTestOnlyCertificateAlias(rootCertAlias)) { in syncKeysForAgent()
297 mTestOnlyInsecureCertificateHelper.keepOnlyWhitelistedInsecureKeys( in syncKeysForAgent()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java67 private final TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in RecoverableKeyStoreDb
83 this.mTestOnlyInsecureCertificateHelper = new TestOnlyInsecureCertificateHelper(); in RecoverableKeyStoreDb()
1082 rootAlias = mTestOnlyInsecureCertificateHelper.getDefaultCertificateAliasIfEmpty(rootAlias); in getBytes()
1141 rootAlias = mTestOnlyInsecureCertificateHelper.getDefaultCertificateAliasIfEmpty(rootAlias); in setBytes()
1168 rootAlias = mTestOnlyInsecureCertificateHelper.getDefaultCertificateAliasIfEmpty(rootAlias); in getLong()
1228 rootAlias = mTestOnlyInsecureCertificateHelper.getDefaultCertificateAliasIfEmpty(rootAlias); in setLong()