Home
last modified time | relevance | path

Searched refs:rawKeys (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DTestOnlyInsecureCertificateHelperTest.java68 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList() local
72 mHelper.keepOnlyWhitelistedInsecureKeys(rawKeys); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList()
79 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() local
86 mHelper.keepOnlyWhitelistedInsecureKeys(rawKeys); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey()
93 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() local
98 expectedResult.put(alias, rawKeys.get(alias)); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey()
101 mHelper.keepOnlyWhitelistedInsecureKeys(rawKeys); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey()
108 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys() local
116 expectedResult.put(alias, rawKeys.get(alias)); in testKeepOnlyWhitelistedInsecureKeys()
120 expectedResult.put(alias, rawKeys.get(alias)); in testKeepOnlyWhitelistedInsecureKeys()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DTestOnlyInsecureCertificateHelper.java118 Map<String, Pair<SecretKey, byte[]>> rawKeys) { in keepOnlyWhitelistedInsecureKeys() argument
119 if (rawKeys == null) { in keepOnlyWhitelistedInsecureKeys()
123 for (Map.Entry<String, Pair<SecretKey, byte[]>> entry : rawKeys.entrySet()) { in keepOnlyWhitelistedInsecureKeys()