Searched refs:encoded (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/media/libstagefright/
H A DDataURISource.cpp42 AString encoded(commaPos + 1);
45 for (size_t i = encoded.size(); i > 0;) {
47 if (encoded.c_str()[i] == '\r' || encoded.c_str()[i] == '\n') {
48 encoded.erase(i, 1);
52 buffer = decodeBase64(encoded);
55 ALOGE("Malformed base64 encoded content found.");
/frameworks/base/core/java/android/content/pm/
H A DVerifierDeviceIdentity.java28 * implementation, the identity is represented as a 64-bit integer encoded to a
110 final char encoded[] = new char[LONG_SIZE + (LONG_SIZE / GROUP_SIZE)];
112 int index = encoded.length;
121 encoded[--index] = SEPARATOR;
130 encoded[--index] = alphabet[group];
133 return String.valueOf(encoded);
H A DPackageParser.java1092 // certificates weren't encoded properly; something went wrong
4489 final byte[] encoded = Base64.decode(encodedPublicKey, Base64.DEFAULT);
4490 keySpec = new X509EncodedKeySpec(encoded);
/frameworks/base/core/java/android/net/
H A DUri.java213 * Gets the encoded authority part of this URI. For
233 * Gets the encoded user information from the authority.
242 * Gets the encoded host from the authority for this URI. For example,
267 * Gets the encoded path.
269 * @return the encoded path, or null if this is not a hierarchical URI
285 * Gets the encoded query component from this URI. The query comes after
290 * @return the encoded query or null if there isn't one
302 * Gets the encoded fragment part of this URI, everything after the '#'.
304 * @return the encoded fragment or null if there isn't one
324 * encoded strin
1955 volatile String encoded; field in class:Uri.AbstractPart
1958 AbstractPart(String encoded, String decoded) argument
2006 Part(String encoded, String decoded) argument
2047 fromEncoded(String encoded) argument
2066 from(String encoded, String decoded) argument
2111 PathPart(String encoded, String decoded) argument
2224 fromEncoded(String encoded) argument
2243 from(String encoded, String decoded) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java39 * gives the same string. Returns the encoded string.
322 byte[] encoded = Base64.encode(plain, flags);
330 // ----- test decoding ("encoded" -> "plain") -----
333 bais = new ByteArrayInputStream(encoded);
342 bais = new ByteArrayInputStream(encoded);
351 bais = new ByteArrayInputStream(encoded);
369 // ----- test encoding ("plain" -> "encoded") -----
378 assertEquals(actual, ap, encoded);
387 assertEquals(actual, ap, encoded);
406 assertEquals(actual, ap, encoded);
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreCipherSpiBase.java596 byte[] encoded = null;
599 encoded = key.getEncoded();
601 if (encoded == null) {
607 encoded = spec.getEncoded();
616 encoded = key.getEncoded();
618 if (encoded == null) {
623 encoded = spec.getEncoded();
632 encoded = key.getEncoded();
634 if (encoded == null) {
639 encoded
[all...]
H A DAndroidKeyStoreSpi.java391 * alias as concatenated DER-encoded certificates. These can be
754 final byte[] encoded;
756 encoded = cert.getEncoded();
761 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded, mUid, KeyStore.FLAG_NONE)) {
/frameworks/av/media/libstagefright/include/
H A DID3.h93 static bool ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x);
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAndroidDistinguishedNameParser.java145 // encoded byte array must be not less then 4 c
177 // encoded byte array must be not less then 4 and must be even number
184 byte[] encoded = new byte[hexLen / 2];
185 for (int i = 0, p = beg + 1; i < encoded.length; p += 2, i++) {
186 encoded[i] = (byte) getByte(p);
/frameworks/base/tools/aapt2/
H A DStringPool.cpp323 std::string encoded = util::utf16ToUtf8(entry->value); local
326 + encodedLengthUnits<char>(encoded.length())
327 + encoded.size() + 1;
335 data = encodeLength(data, encoded.length());
336 strncpy(data, encoded.data(), encoded.size());
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp501 // Return the size of the encoded image data (does not include size of PKM header).
510 // pOut - pointer to encoded data. Must be large enough to store entire encoded image.
521 etc1_byte encoded[ETC1_ENCODED_BLOCK_SIZE]; local
553 etc1_encode_block(block, mask, encoded);
554 memcpy(pOut, encoded, sizeof(encoded));
555 pOut += sizeof(encoded);
562 // pIn - pointer to encoded data.
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java131 byte[] encoded = content.getBytes();
132 byte[] fingerprint = dgst.digest(encoded);
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp105 bool ID3::ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x) { argument
108 if (encoded[i] & 0x80) {
112 *x = ((*x) << 7) | encoded[i];
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java236 String encoded = Uri.encode("Bob:/", "/");
237 assertEquals(-1, encoded.indexOf(':'));
238 assertTrue(encoded.indexOf('/') > -1);
455 // The decoded and encoded versions of the inputs are all the same.
458 // Test building with encoded versions.
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java718 String encoded = VCardUtils.parseQuotedPrintable(quotedPrintableValue,
720 encodedValueList.add(encoded);
H A DVCardBuilder.java1676 // This label is appropriately encoded in appendTypeParameters.
1731 * @param encodedValue Must be encoded by BASE64
1854 mBuilder.append(mimeType); // Should not be encoded.
2011 final String encoded = (VCardConfig.isVersion40(mVCardType) ?
2014 if (TextUtils.isEmpty(encoded)) {
2023 appendTypeParameter(encoded);
2156 // vCard 3.0 explicitly requires this should be encoded to "\n".
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java410 final String encoded;
412 encoded = URLEncoder.encode(new JSONObject(values).toString(), "UTF-8");
420 return setNetworkVariable(netId, name, "\"" + encoded + "\"");
439 final String encoded = wrapped.substring(1, wrapped.length() - 1);
444 final JSONObject json = new JSONObject(URLDecoder.decode(encoded, "UTF-8"));
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 3250 milliseconds