Searched refs:mTestOnlyInsecureCertificateHelper (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTaskTest.java | 106 @Spy private TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in KeySyncTaskTest 145 mTestOnlyInsecureCertificateHelper, in setUp() 301 mTestOnlyInsecureCertificateHelper, in run_useScryptToHashPasswordInTestMode() 342 mTestOnlyInsecureCertificateHelper, in run_useSha256ToHashPatternInProdMode() 376 mTestOnlyInsecureCertificateHelper, in run_useScryptToHashPasswordInProdMode() 425 when(mTestOnlyInsecureCertificateHelper.isTestOnlyCertificateAlias(any())).thenReturn(true); in run_InTestModeWithWhitelistedCredentials() 426 when(mTestOnlyInsecureCertificateHelper.doesCredentialSupportInsecureMode(anyInt(), any())) in run_InTestModeWithWhitelistedCredentials() 430 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() 434 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() 436 verify(mTestOnlyInsecureCertificateHelper) in run_InTestModeWithWhitelistedCredentials() [all …]
|
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 …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTask.java | 93 private final TestOnlyInsecureCertificateHelper mTestOnlyInsecureCertificateHelper; field in KeySyncTask 150 mTestOnlyInsecureCertificateHelper = testOnlyInsecureCertificateHelper; in KeySyncTask() 215 rootCertAlias = mTestOnlyInsecureCertificateHelper in syncKeysForAgent() 240 if (mTestOnlyInsecureCertificateHelper.isTestOnlyCertificateAlias(rootCertAlias)) { in syncKeysForAgent() 243 if (mTestOnlyInsecureCertificateHelper.doesCredentialSupportInsecureMode( in syncKeysForAgent() 282 if (mTestOnlyInsecureCertificateHelper.isTestOnlyCertificateAlias(rootCertAlias)) { in syncKeysForAgent() 284 mTestOnlyInsecureCertificateHelper.keepOnlyWhitelistedInsecureKeys( in syncKeysForAgent()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
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()
|