/frameworks/av/media/libstagefright/ |
D | DataURISource.cpp | 42 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/ |
D | Uri.java | 1836 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/ |
D | Base64Test.java | 322 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/ |
D | AndroidKeyStoreCipherSpiBase.java | 596 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 …]
|
D | AndroidKeyStoreSpi.java | 754 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/ |
D | VerifierDeviceIdentity.java | 110 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/ |
D | StringPool.cpp | 323 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/ |
D | AndroidDistinguishedNameParser.java | 184 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/ |
D | etc1.cpp | 521 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/ |
D | README | 1 This tool is used to rename the PS name encoded inside the ttf font that we ship
|
/frameworks/av/media/libstagefright/include/ |
D | ID3.h | 93 static bool ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 131 byte[] encoded = content.getBytes(); in getCurrentHash() 132 byte[] fingerprint = dgst.digest(encoded); in getCurrentHash()
|
/frameworks/av/media/libstagefright/id3/ |
D | ID3.cpp | 105 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/ |
D | README | 19 The sink application decodes encoded video from the source and
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 236 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/ |
D | VCardParserImpl_V21.java | 718 String encoded = VCardUtils.parseQuotedPrintable(quotedPrintableValue, 720 encodedValueList.add(encoded);
|
D | VCardBuilder.java | 2011 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/ |
D | WifiNative.java | 410 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/ |
D | hyb_file_format.md | 40 into the string pool); and second, the string pool. Each pattern is encoded as a byte
|
/frameworks/base/docs/html/training/safetynet/ |
D | index.jd | 247 "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/ |
D | opensl-for-android.jd | 970 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/ |
D | security-config.jd | 633 Certificates must be encoded in DER or PEM format. In the case of PEM 729 <pin digest=["SHA-256"]>base64 encoded digest of X.509
|
/frameworks/base/docs/html-intl/intl/ru/preview/features/ |
D | security-config.jd | 724 <pin digest=["SHA-256"]>base64 encoded digest of X.509
|
/frameworks/base/docs/html-intl/intl/ja/preview/features/ |
D | security-config.jd | 726 <pin digest=["SHA-256"]>base64 encoded digest of X.509
|
/frameworks/base/docs/html/training/in-app-billing/ |
D | purchase-iab-products.jd | 45 …SKU_GAS}, using an arbitrary value of 10001 for the request code, and an encoded developer payload…
|