Searched refs:encoded (Results 1 - 19 of 19) 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.java1491 // certificates weren't encoded properly; something went wrong
5584 final byte[] encoded = Base64.decode(encodedPublicKey, Base64.DEFAULT);
5585 keySpec = new X509EncodedKeySpec(encoded);
/frameworks/base/core/java/android/net/
H A DUri.java214 * Gets the encoded authority part of this URI. For
234 * Gets the encoded user information from the authority.
243 * Gets the encoded host from the authority for this URI. For example,
268 * Gets the encoded path.
270 * @return the encoded path, or null if this is not a hierarchical URI
286 * Gets the encoded query component from this URI. The query comes after
291 * @return the encoded query or null if there isn't one
303 * Gets the encoded fragment part of this URI, everything after the '#'.
305 * @return the encoded fragment or null if there isn't one
325 * encoded strin
1964 volatile String encoded; field in class:Uri.AbstractPart
1967 AbstractPart(String encoded, String decoded) argument
2015 Part(String encoded, String decoded) argument
2056 fromEncoded(String encoded) argument
2075 from(String encoded, String decoded) argument
2120 PathPart(String encoded, String decoded) argument
2233 fromEncoded(String encoded) argument
2252 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.java394 * alias as concatenated DER-encoded certificates. These can be
763 final byte[] encoded;
765 encoded = cert.getEncoded();
770 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded, mUid, KeyStore.FLAG_NONE)) {
/frameworks/base/tools/aapt2/
H A DStringPool.cpp346 const std::string& encoded = str; local
352 EncodedLengthUnits<char>(encoded.length()) + encoded.size() + 1;
360 data = EncodeLength(data, encoded.length());
361 strncpy(data, encoded.data(), encoded.size());
364 const std::u16string encoded = util::Utf8ToUtf16(str); local
365 const ssize_t utf16_length = encoded.size();
368 const size_t total_size = EncodedLengthUnits<char16_t>(utf16_length) + encoded.size() + 1;
374 const size_t byte_length = encoded
[all...]
/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/services/core/java/com/android/server/pm/
H A DShortcutPackageInfo.java164 final String encoded = Base64.getEncoder().encodeToString(mSigHashes.get(i));
165 ShortcutService.writeAttr(out, ATTR_SIGNATURE_HASH, encoded);
/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.cpp108 bool ID3::ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x) { argument
111 if (encoded[i] & 0x80) {
115 *x = ((*x) << 7) | encoded[i];
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java247 String encoded = Uri.encode("Bob:/", "/");
248 assertEquals(-1, encoded.indexOf(':'));
249 assertTrue(encoded.indexOf('/') > -1);
466 // The decoded and encoded versions of the inputs are all the same.
469 // Test building with encoded versions.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaNetworkHal.java2463 * Creates the JSON encoded network extra using the map of string key, value pairs.
2466 final String encoded;
2468 encoded = URLEncoder.encode(new JSONObject(values).toString(), "UTF-8");
2476 return encoded;
2480 * Parse the network extra JSON encoded string to a map of string key, value pairs.
2482 public static Map<String, String> parseNetworkExtra(String encoded) { argument
2483 if (TextUtils.isEmpty(encoded)) {
2491 final JSONObject json = new JSONObject(URLDecoder.decode(encoded, "UTF-8"));
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java719 String encoded = VCardUtils.parseQuotedPrintable(quotedPrintableValue,
721 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/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 2391 milliseconds