Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DTestOnlyInsecureCertificateHelperTest.java68 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList() local
72 mHelper.keepOnlyWhitelistedInsecureKeys(rawKeys); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList()
74 assertThat(filteredKeys.entrySet()).containsAtLeastElementsIn(rawKeys.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList()
79 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() local
83 rawKeys.put(alias, Pair.create(TestData.generateKey(), /*metadata=*/ null)); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey()
86 mHelper.keepOnlyWhitelistedInsecureKeys(rawKeys); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey()
88 assertThat(rawKeys.entrySet()).containsAtLeastElementsIn(filteredKeys.entrySet()); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey()
93 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() local
97 rawKeys.put(alias, Pair.create(TestData.generateKey(), /*metadata=*/ null)); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey()
98 expectedResult.put(alias, rawKeys.get(alias)); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
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()
/frameworks/av/media/libaudiohal/impl/
DConversionHelperAidl.cpp39 const String8 rawKeys = parameterKeys.keysToString(); in parseAndGetVendorParameters() local
41 ALOGW("%s: unknown parameters, ignored: \"%s\"", __func__, rawKeys.c_str()); in parseAndGetVendorParameters()
48 std::string(rawKeys.c_str()), &parameterIds))); in parseAndGetVendorParameters()
/frameworks/av/aidl/android/media/audio/
DIHalAdapterVendorExtension.aidl59 ParameterScope scope, in @utf8InCpp String rawKeys); in parseVendorParameterIds() argument