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

/frameworks/base/core/java/android/net/
H A DUri.java205 * Gets the encoded authority part of this URI. For
225 * Gets the encoded user information from the authority.
234 * Gets the encoded host from the authority for this URI. For example,
259 * Gets the encoded path.
261 * @return the encoded path, or null if this is not a hierarchical URI
277 * Gets the encoded query component from this URI. The query comes after
282 * @return the encoded query or null if there isn't one
294 * Gets the encoded fragment part of this URI, everything after the '#'.
296 * @return the encoded fragment or null if there isn't one
316 * encoded strin
1902 volatile String encoded; field in class:Uri.AbstractPart
1905 AbstractPart(String encoded, String decoded) argument
1953 Part(String encoded, String decoded) argument
1993 fromEncoded(String encoded) argument
2012 from(String encoded, String decoded) argument
2057 PathPart(String encoded, String decoded) argument
2170 fromEncoded(String encoded) argument
2189 from(String encoded, String decoded) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java36 * gives the same string. Returns the encoded string.
319 byte[] encoded = Base64.encode(plain, flags);
327 // ----- test decoding ("encoded" -> "plain") -----
330 bais = new ByteArrayInputStream(encoded);
339 bais = new ByteArrayInputStream(encoded);
348 bais = new ByteArrayInputStream(encoded);
366 // ----- test encoding ("plain" -> "encoded") -----
375 assertEquals(actual, ap, encoded);
384 assertEquals(actual, ap, encoded);
403 assertEquals(actual, ap, encoded);
[all...]
/frameworks/base/media/libstagefright/include/
H A DID3.h84 static bool ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x);
/frameworks/base/core/java/com/android/internal/net/
H A DDNParser.java172 // encoded byte array must be not less then 4 c
204 // encoded byte array must be not less then 4 and must be even number
211 byte[] encoded = new byte[hexLen / 2];
212 for (int i = 0, p = beg + 1; i < encoded.length; p += 2, i++) {
213 encoded[i] = (byte) getByte(p);
/frameworks/base/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/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/base/core/tests/coretests/src/android/net/
H A DUriTest.java233 String encoded = Uri.encode("Bob:/", "/");
234 assertEquals(-1, encoded.indexOf(':'));
235 assertTrue(encoded.indexOf('/') > -1);
444 // The decoded and encoded versions of the inputs are all the same.
447 // Test building with encoded versions.

Completed in 137 milliseconds