Searched refs:encoded (Results 1 - 20 of 20) 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.java30 * implementation, the identity is represented as a 64-bit integer encoded to a
113 final char encoded[] = new char[LONG_SIZE + (LONG_SIZE / GROUP_SIZE)];
115 int index = encoded.length;
124 encoded[--index] = SEPARATOR;
133 encoded[--index] = alphabet[group];
136 return String.valueOf(encoded);
H A DPackageParser.java5410 final byte[] encoded = Base64.decode(encodedPublicKey, Base64.DEFAULT);
5411 keySpec = new X509EncodedKeySpec(encoded);
5956 * @param sha256String A hex-encoded representation of a sha256 digest. In the case of an
5957 * app with multiple signers, this represents the hex-encoded sha256
5958 * digest of the combined hex-encoded sha256 digests of each individual
/frameworks/base/core/java/android/net/
H A DUri.java217 * Gets the encoded authority part of this URI. For
239 * Gets the encoded user information from the authority.
249 * Gets the encoded host from the authority for this URI. For example,
276 * Gets the encoded path.
278 * @return the encoded path, or null if this is not a hierarchical URI
296 * Gets the encoded query component from this URI. The query comes after
301 * @return the encoded query or null if there isn't one
315 * Gets the encoded fragment part of this URI, everything after the '#'.
317 * @return the encoded fragment or null if there isn't one
339 * encoded strin
1979 volatile String encoded; field in class:Uri.AbstractPart
1982 AbstractPart(String encoded, String decoded) argument
2030 Part(String encoded, String decoded) argument
2071 fromEncoded(String encoded) argument
2090 from(String encoded, String decoded) argument
2135 PathPart(String encoded, String decoded) argument
2248 fromEncoded(String encoded) argument
2267 from(String encoded, String decoded) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java41 * gives the same string. Returns the encoded string.
324 byte[] encoded = Base64.encode(plain, flags);
332 // ----- test decoding ("encoded" -> "plain") -----
335 bais = new ByteArrayInputStream(encoded);
344 bais = new ByteArrayInputStream(encoded);
353 bais = new ByteArrayInputStream(encoded);
371 // ----- test encoding ("plain" -> "encoded") -----
380 assertEquals(actual, ap, encoded);
389 assertEquals(actual, ap, encoded);
408 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.java397 * alias as concatenated DER-encoded certificates. These can be
848 final byte[] encoded;
850 encoded = cert.getEncoded();
855 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded, mUid, KeyStore.FLAG_NONE)) {
/frameworks/base/tools/aapt2/
H A DStringPool.cpp338 * Returns the maximum possible string length that can be successfully encoded
370 const std::string& encoded = str; local
372 reinterpret_cast<const uint8_t*>(encoded.data()), encoded.size());
375 // Make sure the lengths to be encoded do not exceed the maximum length that
376 // can be encoded using chars
377 if ((((size_t)encoded.size()) > EncodeLengthMax<char>())
388 + EncodedLengthUnits<char>(encoded.size()) + encoded.size() + 1;
396 data = EncodeLength(data, encoded
400 const std::u16string encoded = util::Utf8ToUtf16(str); local
[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/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DNativeUtil.java56 // Ensure that the provided string is UTF_8 encoded.
59 ByteBuffer encoded = encoder.encode(CharBuffer.wrap(str));
60 byte[] byteArray = new byte[encoded.remaining()];
61 encoded.get(byteArray);
64 throw new IllegalArgumentException("cannot be utf-8 encoded", cce);
/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/core/java/com/android/server/pm/
H A DShortcutPackageInfo.java232 final String encoded = Base64.getEncoder().encodeToString(mSigHashes.get(i));
233 ShortcutService.writeAttr(out, ATTR_SIGNATURE_HASH, encoded);
/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.cpp109 bool ID3::ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x) { argument
112 if (encoded[i] & 0x80) {
116 *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.java2495 * Creates the JSON encoded network extra using the map of string key, value pairs.
2498 final String encoded;
2500 encoded = URLEncoder.encode(new JSONObject(values).toString(), "UTF-8");
2508 return encoded;
2512 * Parse the network extra JSON encoded string to a map of string key, value pairs.
2514 public static Map<String, String> parseNetworkExtra(String encoded) { argument
2515 if (TextUtils.isEmpty(encoded)) {
2523 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 1818 milliseconds