Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DUri.java1828 StringBuilder encoded = null; in encode() local
1853 encoded.append(s, current, oldLength); in encode()
1854 return encoded.toString(); in encode()
1858 if (encoded == null) { in encode()
1859 encoded = new StringBuilder(); in encode()
1864 encoded.append(s, current, nextToEncode); in encode()
1886 encoded.append('%'); in encode()
1887 encoded.append(HEX_DIGITS[(bytes[i] & 0xf0) >> 4]); in encode()
1888 encoded.append(HEX_DIGITS[bytes[i] & 0xf]); in encode()
1898 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.java3247 final byte[] encoded = Base64.decode(encodedPublicKey, Base64.DEFAULT); in parsePublicKey()
3248 keySpec = new X509EncodedKeySpec(encoded); in parsePublicKey()
/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/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/base/keystore/java/android/security/
DAndroidKeyStore.java360 final byte[] encoded; in engineSetCertificateEntry()
362 encoded = cert.getEncoded(); in engineSetCertificateEntry()
367 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded, in engineSetCertificateEntry()
/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.java234 String encoded = Uri.encode("Bob:/", "/"); in testEncodeWithAllowedChars() local
235 assertEquals(-1, encoded.indexOf(':')); in testEncodeWithAllowedChars()
236 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.java2045 final String encoded = (VCardConfig.isVersion40(mVCardType) ? in appendTypeParameters() local
2048 if (TextUtils.isEmpty(encoded)) { in appendTypeParameters()
2057 appendTypeParameter(encoded); in appendTypeParameters()
/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.jd378 <p>The Base64-encoded RSA public key generated by Google Play is in binary
379 encoded, X.509 subjectPublicKeyInfo DER SEQUENCE format. It is the same public
/frameworks/base/docs/html/training/cloudsync/
Dgcm.jd152 <p>For instance, short messages or encoded player moves
/frameworks/base/docs/html/google/gcm/
Dccs.jd66 …ments or failure notifications (in the form of special ACK and NACK JSON-encoded XMPP messages) as…
/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/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
/frameworks/base/docs/html/guide/topics/connectivity/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/google/play/billing/v2/
Dbilling_integrate.jd1046 following procedure shows you how to retrieve Base64-encoded public key from the Google Play
/frameworks/base/docs/html/google/play/
Dexpansion-files.jd573 <dd>This must return a string that is the Base64-encoded RSA public key for your publisher