Searched refs:encoded (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DVerifierDeviceIdentity.java28 * implementation, the identity is represented as a 64-bit integer encoded to a
110 final char encoded[] = new char[LONG_SIZE + (LONG_SIZE / GROUP_SIZE)];
112 int index = encoded.length;
121 encoded[--index] = SEPARATOR;
130 encoded[--index] = alphabet[group];
133 return String.valueOf(encoded);
H A DPackageParser.java2993 final byte[] encoded = Base64.decode(encodedPublicKey, Base64.DEFAULT);
2994 keySpec = new X509EncodedKeySpec(encoded);
/frameworks/base/core/java/android/net/
H A DUri.java210 * Gets the encoded authority part of this URI. For
230 * Gets the encoded user information from the authority.
239 * Gets the encoded host from the authority for this URI. For example,
264 * Gets the encoded path.
266 * @return the encoded path, or null if this is not a hierarchical URI
282 * Gets the encoded query component from this URI. The query comes after
287 * @return the encoded query or null if there isn't one
299 * Gets the encoded fragment part of this URI, everything after the '#'.
301 * @return the encoded fragment or null if there isn't one
321 * encoded strin
1947 volatile String encoded; field in class:Uri.AbstractPart
1950 AbstractPart(String encoded, String decoded) argument
1998 Part(String encoded, String decoded) argument
2039 fromEncoded(String encoded) argument
2058 from(String encoded, String decoded) argument
2103 PathPart(String encoded, String decoded) argument
2216 fromEncoded(String encoded) argument
2235 from(String encoded, String decoded) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java39 * gives the same string. Returns the encoded string.
322 byte[] encoded = Base64.encode(plain, flags);
330 // ----- test decoding ("encoded" -> "plain") -----
333 bais = new ByteArrayInputStream(encoded);
342 bais = new ByteArrayInputStream(encoded);
351 bais = new ByteArrayInputStream(encoded);
369 // ----- test encoding ("plain" -> "encoded") -----
378 assertEquals(actual, ap, encoded);
387 assertEquals(actual, ap, encoded);
406 assertEquals(actual, ap, encoded);
[all...]
/frameworks/av/media/libstagefright/include/
H A DID3.h86 static bool ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x);
/frameworks/base/services/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java195 byte[] encoded = content.getBytes();
196 byte[] fingerprint = dgst.digest(encoded);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java129 byte[] encoded = content.getBytes();
130 byte[] fingerprint = dgst.digest(encoded);
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp501 // Return the size of the encoded image data (does not include size of PKM header).
510 // pOut - pointer to encoded data. Must be large enough to store entire encoded image.
521 etc1_byte encoded[ETC1_ENCODED_BLOCK_SIZE]; local
553 etc1_encode_block(block, mask, encoded);
554 memcpy(pOut, encoded, sizeof(encoded));
555 pOut += sizeof(encoded);
562 // pIn - pointer to encoded data.
/frameworks/base/keystore/java/android/security/
H A DAndroidKeyStore.java235 "Only PrivateKeys that can be encoded into PKCS#8 are supported");
277 * alias as concatenated DER-encoded certificates. These can be
354 final byte[] encoded;
356 encoded = cert.getEncoded();
361 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded)) {
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp62 bool ID3::ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x) { argument
65 if (encoded[i] & 0x80) {
69 *x = ((*x) << 7) | encoded[i];
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java718 String encoded = VCardUtils.parseQuotedPrintable(quotedPrintableValue,
720 encodedValueList.add(encoded);
H A DVCardBuilder.java1710 // This label is appropriately encoded in appendTypeParameters.
1765 * @param encodedValue Must be encoded by BASE64
1888 mBuilder.append(mimeType); // Should not be encoded.
2045 final String encoded = (VCardConfig.isVersion40(mVCardType) ?
2048 if (TextUtils.isEmpty(encoded)) {
2057 appendTypeParameter(encoded);
2190 // vCard 3.0 explicitly requires this should be encoded to "\n".
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java234 String encoded = Uri.encode("Bob:/", "/");
235 assertEquals(-1, encoded.indexOf(':'));
236 assertTrue(encoded.indexOf('/') > -1);
453 // The decoded and encoded versions of the inputs are all the same.
456 // Test building with encoded versions.

Completed in 419 milliseconds