Home
last modified time | relevance | path

Searched refs:encoded (Results 1 – 25 of 45) 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()
47 if (encoded.c_str()[i] == '\r' || encoded.c_str()[i] == '\n') { in Create()
48 encoded.erase(i, 1); in Create()
52 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.java596 byte[] encoded = null; in engineWrap()
599 encoded = key.getEncoded(); in engineWrap()
601 if (encoded == null) { in engineWrap()
607 encoded = spec.getEncoded(); in engineWrap()
616 encoded = key.getEncoded(); in engineWrap()
618 if (encoded == null) { in engineWrap()
623 encoded = spec.getEncoded(); in engineWrap()
632 encoded = key.getEncoded(); in engineWrap()
634 if (encoded == null) { in engineWrap()
639 encoded = spec.getEncoded(); in engineWrap()
[all …]
DAndroidKeyStoreSpi.java754 final byte[] encoded; in engineSetCertificateEntry()
756 encoded = cert.getEncoded(); in engineSetCertificateEntry()
761 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded, mUid, KeyStore.FLAG_NONE)) { 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()
/frameworks/base/tools/aapt2/
DStringPool.cpp323 std::string encoded = util::utf16ToUtf8(entry->value); in flatten() local
326 + encodedLengthUnits<char>(encoded.length()) in flatten()
327 + encoded.size() + 1; in flatten()
335 data = encodeLength(data, encoded.length()); in flatten()
336 strncpy(data, encoded.data(), encoded.size()); in flatten()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAndroidDistinguishedNameParser.java184 byte[] encoded = new byte[hexLen / 2]; in hexAV()
185 for (int i = 0, p = beg + 1; i < encoded.length; p += 2, i++) { in hexAV()
186 encoded[i] = (byte) getByte(p); in hexAV()
/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.java131 byte[] encoded = content.getBytes(); in getCurrentHash()
132 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/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java410 final String encoded; in setNetworkExtra() local
412 encoded = URLEncoder.encode(new JSONObject(values).toString(), "UTF-8"); in setNetworkExtra()
420 return setNetworkVariable(netId, name, "\"" + encoded + "\""); in setNetworkExtra()
439 final String encoded = wrapped.substring(1, wrapped.length() - 1); in getNetworkExtra() local
444 final JSONObject json = new JSONObject(URLDecoder.decode(encoded, "UTF-8")); in getNetworkExtra()
/frameworks/minikin/doc/
Dhyb_file_format.md40 into the string pool); and second, the string pool. Each pattern is encoded as a byte
/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/ndk/guides/audio/
Dopensl-for-android.jd970 for decoding an encoded stream to PCM without immediate playback.
1039 The sink's PCM data format typically matches that of the encoded data source
1060 To decode an encoded stream to PCM but not play back immediately, for apps running on
1105 The application need not keep track of encoded buffers; the callback parameter
1147 available until after the app decodes the first encoded data. A good
/frameworks/base/docs/html/preview/features/
Dsecurity-config.jd633 Certificates must be encoded in DER or PEM format. In the case of PEM
729 &lt;pin digest=["SHA-256"]&gt;base64 encoded digest of X.509
/frameworks/base/docs/html-intl/intl/ru/preview/features/
Dsecurity-config.jd724 &lt;pin digest=["SHA-256"]&gt;base64 encoded digest of X.509
/frameworks/base/docs/html-intl/intl/ja/preview/features/
Dsecurity-config.jd726 &lt;pin digest=["SHA-256"]&gt;base64 encoded digest of X.509
/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…

12