Home
last modified time | relevance | path

Searched refs:encoded (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/
DDataURISource.cpp42 AString encoded(commaPos + 1); in Create() local
45 for (size_t i = encoded.size(); i-- > 0;) { in Create()
46 if (encoded.c_str()[i] == '\r' || encoded.c_str()[i] == '\n') { in Create()
47 encoded.erase(i, 1); in Create()
51 buffer = decodeBase64(encoded); in Create()
/frameworks/base/core/java/android/net/
DUri.java1836 StringBuilder encoded = null; in encode() local
1861 encoded.append(s, current, oldLength); in encode()
1862 return encoded.toString(); in encode()
1866 if (encoded == null) { in encode()
1867 encoded = new StringBuilder(); in encode()
1872 encoded.append(s, current, nextToEncode); in encode()
1894 encoded.append('%'); in encode()
1895 encoded.append(HEX_DIGITS[(bytes[i] & 0xf0) >> 4]); in encode()
1896 encoded.append(HEX_DIGITS[bytes[i] & 0xf]); in encode()
1906 return encoded == null ? s : encoded.toString(); in encode()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java322 byte[] encoded = Base64.encode(plain, flags); in testInputStream()
333 bais = new ByteArrayInputStream(encoded); in testInputStream()
342 bais = new ByteArrayInputStream(encoded); in testInputStream()
351 bais = new ByteArrayInputStream(encoded); in testInputStream()
378 assertEquals(actual, ap, encoded); in testInputStream()
387 assertEquals(actual, ap, encoded); in testInputStream()
406 assertEquals(actual, ap, encoded); in testInputStream()
437 byte[] encoded = Base64.encode(plain, flags); in testOutputStream()
452 assertEquals(encoded, actual); in testOutputStream()
462 assertEquals(encoded, actual); in testOutputStream()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java532 byte[] encoded = null; in engineWrap()
535 encoded = key.getEncoded(); in engineWrap()
537 if (encoded == null) { in engineWrap()
543 encoded = spec.getEncoded(); in engineWrap()
552 encoded = key.getEncoded(); in engineWrap()
554 if (encoded == null) { in engineWrap()
559 encoded = spec.getEncoded(); in engineWrap()
568 encoded = key.getEncoded(); in engineWrap()
570 if (encoded == null) { in engineWrap()
575 encoded = spec.getEncoded(); in engineWrap()
[all …]
DAndroidKeyStoreSpi.java747 final byte[] encoded; in engineSetCertificateEntry()
749 encoded = cert.getEncoded(); in engineSetCertificateEntry()
754 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded, in engineSetCertificateEntry()
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java110 final char encoded[] = new char[LONG_SIZE + (LONG_SIZE / GROUP_SIZE)]; in encodeBase32() local
112 int index = encoded.length; in encodeBase32()
121 encoded[--index] = SEPARATOR; in encodeBase32()
130 encoded[--index] = alphabet[group]; in encodeBase32()
133 return String.valueOf(encoded); in encodeBase32()
DPackageParser.java4034 final byte[] encoded = Base64.decode(encodedPublicKey, Base64.DEFAULT); in parsePublicKey()
4035 keySpec = new X509EncodedKeySpec(encoded); in parsePublicKey()
/frameworks/base/tools/aapt2/
DStringPool.cpp317 std::string encoded = util::utf16ToUtf8(entry->value); in flatten() local
320 + encodedLengthUnits<char>(encoded.length()) in flatten()
321 + encoded.size() + 1; in flatten()
329 data = encodeLength(data, encoded.length()); in flatten()
330 strncpy(data, encoded.data(), encoded.size()); in flatten()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp521 etc1_byte encoded[ETC1_ENCODED_BLOCK_SIZE]; in etc1_encode_image() local
553 etc1_encode_block(block, mask, encoded); in etc1_encode_image()
554 memcpy(pOut, encoded, sizeof(encoded)); in etc1_encode_image()
555 pOut += sizeof(encoded); in etc1_encode_image()
/frameworks/base/tools/layoutlib/rename_font/
DREADME1 This tool is used to rename the PS name encoded inside the ttf font that we ship
/frameworks/av/media/libstagefright/include/
DID3.h93 static bool ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java129 byte[] encoded = content.getBytes(); in getCurrentHash()
130 byte[] fingerprint = dgst.digest(encoded); in getCurrentHash()
/frameworks/av/media/libstagefright/id3/
DID3.cpp105 bool ID3::ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x) { in ParseSyncsafeInteger()
108 if (encoded[i] & 0x80) { in ParseSyncsafeInteger()
112 *x = ((*x) << 7) | encoded[i]; in ParseSyncsafeInteger()
/frameworks/base/docs/html/tools/help/
Detc1tool.jd55 <td>Write the difference between the original and encoded image to
/frameworks/base/tests/AccessoryDisplay/
DREADME19 The sink application decodes encoded video from the source and
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java236 String encoded = Uri.encode("Bob:/", "/"); in testEncodeWithAllowedChars() local
237 assertEquals(-1, encoded.indexOf(':')); in testEncodeWithAllowedChars()
238 assertTrue(encoded.indexOf('/') > -1); in testEncodeWithAllowedChars()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java718 String encoded = VCardUtils.parseQuotedPrintable(quotedPrintableValue,
720 encodedValueList.add(encoded);
DVCardBuilder.java2011 final String encoded = (VCardConfig.isVersion40(mVCardType) ? in appendTypeParameters() local
2014 if (TextUtils.isEmpty(encoded)) { in appendTypeParameters()
2023 appendTypeParameter(encoded); in appendTypeParameters()
/frameworks/base/docs/html/training/safetynet/
Dindex.jd247 "apkCertificateDigestSha256": ["base64 encoded, SHA-256 hash of the
249 "apkDigestSha256": "base64 encoded, SHA-256 hash of the app's APK",
/frameworks/base/docs/html/training/in-app-billing/
Dpurchase-iab-products.jd45 …SKU_GAS}, using an arbitrary value of 10001 for the request code, and an encoded developer payload…
/frameworks/base/docs/html/google/play/billing/
Dbilling_integrate.jd389 <p>The Base64-encoded RSA public key generated by Google Play is in binary
390 encoded, X.509 subjectPublicKeyInfo DER SEQUENCE format. It is the same public
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd122 be raw audio. It should be a properly encoded and formatted media file in one
/frameworks/base/docs/html/guide/components/
Dintents-common.jd1444 be encoded. For example, the string {@code 1st & Pike, Seattle} should become
1445 {@code 1st%20%26%20Pike%2C%20Seattle}. Spaces in the string can be encoded with
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd202 <p>The query text on the end is encoded using URI encoding rules, so you might need to decode
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd1027 the JET_TriggerClip API call. The clip ID is encoded in the low 6 bits of the

12