Searched refs:mTestOnlyInsecureCertificateHelper (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A D | KeySyncTaskTest.java | 146 mTestOnlyInsecureCertificateHelper, in setUp() 287 mTestOnlyInsecureCertificateHelper, in run_useScryptToHashPasswordInTestMode() 328 mTestOnlyInsecureCertificateHelper, in run_useSha256ToHashPatternInProdMode() 362 mTestOnlyInsecureCertificateHelper, in run_useScryptToHashPasswordInProdMode() 416 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() 420 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() 422 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() 448 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithNonWhitelistedCredentials() 450 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithNonWhitelistedCredentials() 467 verify(mTestOnlyInsecureCertificateHelper) in run_doesNotFilterCredentialsAndAliasesInProd() [all …]
|
H A D | RecoverableKeyStoreManagerTest.java | 176 @Spy private TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in RecoverableKeyStoreManagerTest 217 mTestOnlyInsecureCertificateHelper, in setUp() 387 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_succeedsWithCertFile() 437 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_triesToFilterRootAlias() 440 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_triesToFilterRootAlias() 459 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForEmptyRootAlias() 462 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForEmptyRootAlias() 480 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForNullRootAlias() 483 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForNullRootAlias() 681 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryServiceWithSigFile_usesProdCertificateForNullRootAlias() [all …]
|
/aosp14/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()
|
/aosp14/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() 1130 rootAlias = mTestOnlyInsecureCertificateHelper.getDefaultCertificateAliasIfEmpty(rootAlias); in getBytes() 1189 rootAlias = mTestOnlyInsecureCertificateHelper.getDefaultCertificateAliasIfEmpty(rootAlias); in setBytes() 1216 rootAlias = mTestOnlyInsecureCertificateHelper.getDefaultCertificateAliasIfEmpty(rootAlias); in getLong() 1276 rootAlias = mTestOnlyInsecureCertificateHelper.getDefaultCertificateAliasIfEmpty(rootAlias); in setLong()
|