Searched refs:mTestOnlyInsecureCertificateHelper (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A D | KeySyncTaskTest.java | 144 mTestOnlyInsecureCertificateHelper, in setUp() 285 mTestOnlyInsecureCertificateHelper, in run_useScryptToHashPasswordInTestMode() 326 mTestOnlyInsecureCertificateHelper, in run_useSha256ToHashPatternInProdMode() 360 mTestOnlyInsecureCertificateHelper, in run_useScryptToHashPasswordInProdMode() 414 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() 418 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() 420 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() 446 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithNonWhitelistedCredentials() 448 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithNonWhitelistedCredentials() 465 verify(mTestOnlyInsecureCertificateHelper) in run_doesNotFilterCredentialsAndAliasesInProd() [all …]
|
H A D | RecoverableKeyStoreManagerTest.java | 161 @Spy private TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in RecoverableKeyStoreManagerTest 198 mTestOnlyInsecureCertificateHelper, in setUp() 356 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_succeedsWithCertFile() 404 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_triesToFilterRootAlias() 407 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_triesToFilterRootAlias() 425 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForEmptyRootAlias() 428 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForEmptyRootAlias() 445 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForNullRootAlias() 448 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForNullRootAlias() 641 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryServiceWithSigFile_usesProdCertificateForNullRootAlias() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
H A D | KeySyncTask.java | 93 private final TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in KeySyncTask 150 mTestOnlyInsecureCertificateHelper = testOnlyInsecureCertificateHelper; in KeySyncTask() 226 rootCertAlias = mTestOnlyInsecureCertificateHelper in syncKeysForAgent() 251 if (mTestOnlyInsecureCertificateHelper.isTestOnlyCertificateAlias(rootCertAlias)) { in syncKeysForAgent() 254 if (mTestOnlyInsecureCertificateHelper.doesCredentialSupportInsecureMode( in syncKeysForAgent() 293 if (mTestOnlyInsecureCertificateHelper.isTestOnlyCertificateAlias(rootCertAlias)) { in syncKeysForAgent() 295 mTestOnlyInsecureCertificateHelper.keepOnlyWhitelistedInsecureKeys( in syncKeysForAgent()
|
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
H A D | RecoverableKeyStoreDb.java | 67 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()
|