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() 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 …]
|
D | RecoverableKeyStoreManagerTest.java | 162 @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/ |
D | KeySyncTask.java | 93 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/ |
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()
|