Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DUri.java1791 StringBuilder encoded = null; in encode() local
1816 encoded.append(s, current, oldLength); in encode()
1817 return encoded.toString(); in encode()
1821 if (encoded == null) { in encode()
1822 encoded = new StringBuilder(); in encode()
1827 encoded.append(s, current, nextToEncode); in encode()
1849 encoded.append('%'); in encode()
1850 encoded.append(HEX_DIGITS[(bytes[i] & 0xf0) >> 4]); in encode()
1851 encoded.append(HEX_DIGITS[bytes[i] & 0xf]); in encode()
1861 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/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.java2753 final byte[] encoded = Base64.decode(encodedPublicKey, Base64.DEFAULT); in parseVerifier()
2754 keySpec = new X509EncodedKeySpec(encoded); in parseVerifier()
/frameworks/base/core/java/com/android/internal/net/
DDNParser.java211 byte[] encoded = new byte[hexLen / 2]; in hexAV()
212 for (int i = 0, p = beg + 1; i < encoded.length; p += 2, i++) { in hexAV()
213 encoded[i] = (byte) getByte(p); in hexAV()
/frameworks/base/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/media/libstagefright/include/
DID3.h85 static bool ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x);
/frameworks/base/media/libstagefright/id3/
DID3.cpp62 bool ID3::ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x) { in ParseSyncsafeInteger()
65 if (encoded[i] & 0x80) { in ParseSyncsafeInteger()
69 *x = ((*x) << 7) | encoded[i]; in ParseSyncsafeInteger()
/frameworks/base/docs/html/guide/developing/tools/
Detc1tool.jd55 <td>Write the difference between the original and encoded image to
/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.java605 String encoded = VCardUtils.parseQuotedPrintable(quotedPrintableValue,
607 encodedValueList.add(encoded);
DVCardBuilder.java2046 final String encoded = (VCardConfig.isVersion40(mVCardType) ? in appendTypeParameters() local
2049 if (TextUtils.isEmpty(encoded)) { in appendTypeParameters()
2058 appendTypeParameter(encoded); in appendTypeParameters()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt735 /sdcard/android/layout_tests/http/tests/security/xssAuditor/http-equiv-utf-7-encoded.html
772 /sdcard/android/layout_tests/http/tests/security/xssAuditor/script-tag-utf-7-encoded.html
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd123 be raw audio. It should be a properly encoded and formatted media file in one
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd203 <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/nfc/
Dnfc.jd187 <td>URI based on the URN in the type field. The URN is encoded into the NDEF type field in
/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
/frameworks/base/docs/html/guide/market/billing/
Dbilling_integrate.jd1027 following procedure shows you how to retrieve Base64-encoded public key from the Android Market