Home
last modified time | relevance | path

Searched refs:encodedKey (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DJsonWebKey.cpp68 String8 encodedKey, encodedKeyId; in extractKeysFromJsonWebKeySet() local
74 encodedKey.clear(); in extractKeysFromJsonWebKeySet()
79 if (findKey(mJsonObjects[i], &encodedKeyId, &encodedKey)) { in extractKeysFromJsonWebKeySet()
80 if (encodedKeyId.isEmpty() || encodedKey.isEmpty()) { in extractKeysFromJsonWebKeySet()
90 if (!decodeBase64String(encodedKey, &decodedKey)) { in extractKeysFromJsonWebKeySet()
91 ALOGE("Failed to decode key(%s)", encodedKey.string()); in extractKeysFromJsonWebKeySet()
133 String8* encodedKey) { in findKey() argument
149 findValue(kKeyTag, encodedKey); in findKey()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DJsonWebKey.cpp72 std::string encodedKey, encodedKeyId; in extractKeysFromJsonWebKeySet() local
78 encodedKey.clear(); in extractKeysFromJsonWebKeySet()
83 if (findKey(mJsonObjects[i], &encodedKeyId, &encodedKey)) { in extractKeysFromJsonWebKeySet()
84 if (encodedKeyId.empty() || encodedKey.empty()) { in extractKeysFromJsonWebKeySet()
94 if (!decodeBase64String(encodedKey, &decodedKey)) { in extractKeysFromJsonWebKeySet()
95 ALOGE("Failed to decode key(%s)", encodedKey.c_str()); in extractKeysFromJsonWebKeySet()
137 std::string* encodedKey) { in findKey() argument
153 findValue(kKeyTag, encodedKey); in findKey()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DJsonWebKey.h51 String8* encodedKey);
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DJsonWebKey.h45 std::string* encodedKey);
/frameworks/base/core/java/android/net/
DUri.java1667 String encodedKey; in getQueryParameters() local
1669 encodedKey = URLEncoder.encode(key, DEFAULT_ENCODING); in getQueryParameters()
1686 if (separator - start == encodedKey.length() in getQueryParameters()
1687 && query.regionMatches(start, encodedKey, 0, encodedKey.length())) { in getQueryParameters()
1731 final String encodedKey = encode(key, null); in getQueryParameter() local
1743 if (separator - start == encodedKey.length() in getQueryParameter()
1744 && query.regionMatches(start, encodedKey, 0, encodedKey.length())) { in getQueryParameter()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DSecureBoxTest.java353 byte[] encodedKey = SecureBox.encodePublicKey(originalKey); in encodeThenDecodePublicKey()
354 PublicKey decodedKey = SecureBox.decodePublicKey(encodedKey); in encodeThenDecodePublicKey()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageUtils.java1055 final String encodedKey = nonResString( in parseKeySets() local
1057 if (encodedKey == null && publicKeys.get(publicKeyName) == null) { in parseKeySets()
1061 } else if (encodedKey != null) { in parseKeySets()
1062 PublicKey currentKey = PackageParser.parsePublicKey(encodedKey); in parseKeySets()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2973 final String encodedKey = sa.getNonResourceString( in parseKeySets() local
2975 if (encodedKey == null && publicKeys.get(publicKeyName) == null) { in parseKeySets()
2981 } else if (encodedKey != null) { in parseKeySets()
2982 PublicKey currentKey = parsePublicKey(encodedKey); in parseKeySets()