Searched defs:encode (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/util/
H A DBase64OutputStream.java56 * @param encode true to encode, false to decode
60 public Base64OutputStream(OutputStream out, int flags, boolean encode) { argument
63 if (encode) {
H A DBase64InputStream.java57 * @param encode true to encode, false to decode
61 public Base64InputStream(InputStream in, int flags, boolean encode) { argument
65 if (encode) {
134 * decode/encode it into the empty coder.output, and reset the
H A DBase64.java446 * Base64-encode the given data and return a newly allocated
449 * @param input the data to encode
456 return new String(encode(input, flags), "US-ASCII");
464 * Base64-encode the given data and return a newly allocated
467 * @param input the data to encode
470 * @param len the number of bytes of input to encode
477 return new String(encode(input, offset, len, flags), "US-ASCII");
485 * Base64-encode the given data and return a newly allocated
488 * @param input the data to encode
493 public static byte[] encode(byt method in class:Base64
509 public static byte[] encode(byte[] input, int offset, int len, int flags) { method in class:Base64
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java49 public static void encode(byte[] pcmBuf, int pcmOffset, method in class:UlawEncoderInputStream
153 encode(mBuf, 0, buf, offset, n, mMax);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, function in class:YuvToJpegEncoder
226 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality);
/frameworks/base/core/java/android/net/
H A DUri.java1431 String encodedParameter = encode(key, null) + "="
1432 + encode(value, null);
1515 encodedKey = URLEncoder.encode(key, DEFAULT_ENCODING);
1579 final String encodedKey = encode(key, null);
1659 * @param s string to encode
1663 public static String encode(String s) { method in class:Uri
1664 return encode(s, null);
1674 * @param s string to encode
1680 public static String encode(String s, String allow) { method in class:Uri
1704 // If there's nothing more to encode
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java42 * An object to encode and decode CDMA SMS bearer data.
455 throw new CodingException("cannot ASCII encode (" + msg.charAt(i) + ")");
463 throw new CodingException("7bit ASCII encode failed: " + ex);
473 throw new CodingException("UTF-16 encode failed: " + ex);
500 * access to the main bitwise stream from encode/decode.
509 throw new CodingException("7bit GSM encode failed: " + ex);
809 public static byte[] encode(BearerData bData) { method in class:BearerData
862 Log.e(LOG_TAG, "BearerData encode failed: " + ex);
864 Log.e(LOG_TAG, "BearerData encode failed: " + ex);

Completed in 136 milliseconds