Searched defs:charset (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/hdr/
H A Dxltdec.h74 * ATTRIBUTE: charset
81 * Name of the character set, e.g. "US-ASCII" - valid only when charset == 0.
103 Long_t charset; member in struct:XltDecoder_s
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/sml/xlt/hdr/
H A Dxltdec.h74 * ATTRIBUTE: charset
81 * Name of the character set, e.g. "US-ASCII" - valid only when charset == 0.
103 Long_t charset; member in struct:XltDecoder_s
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
H A DDecoderUtil.java105 * @param charset the Java charset to use.
107 * @throws UnsupportedEncodingException if the given Java charset isn't
110 public static String decodeB(String encodedWord, String charset) argument
113 return new String(decodeBase64(encodedWord), charset);
121 * @param charset the Java charset to use.
123 * @throws UnsupportedEncodingException if the given Java charset isn't
126 public static String decodeQ(String encodedWord, String charset) argument
142 return new String(decodeBaseQuotedPrintable(sb.toString()), charset);
[all...]
/packages/apps/Mms/src/com/android/mms/model/
H A DTextModel.java43 int charset, byte[] data, RegionModel region) {
47 if (charset == CharacterSets.ANY_CHARSET) {
50 charset = CharacterSets.ISO_8859_1;
52 mCharset = charset;
42 TextModel(Context context, String contentType, String src, int charset, byte[] data, RegionModel region) argument
/packages/apps/Camera2/src/com/android/camera/exif/
H A DCountedDataInputStream.java25 import java.nio.charset.Charset;
131 public String readString(int n, Charset charset) throws IOException { argument
134 return new String(buf, charset);
H A DExifParser.java24 import java.nio.charset.Charset;
812 * Reads a String from the InputStream with US-ASCII charset. The parser
821 * Reads a String from the InputStream with the given charset. The parser
825 protected String readString(int n, Charset charset) throws IOException { argument
827 return mTiffStream.readString(n, charset);
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DImportProcessor.java215 private boolean readOneVCard(InputStream is, int vcardType, String charset, argument
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DUriCodec.java22 import java.nio.charset.Charset;
113 private void appendEncoded(StringBuilder builder, String s, Charset charset, argument
128 appendHex(builder, s.substring(escapeStart, i), charset);
145 appendHex(builder, s.substring(escapeStart, s.length()), charset);
149 public final String encode(String s, Charset charset) { argument
152 appendEncoded(builder, s, charset, false);
167 public static String decode(String s, boolean convertPlus, Charset charset) { argument
190 result.append(new String(out.toByteArray(), charset));
223 private static void appendHex(StringBuilder builder, String s, Charset charset) { argument
224 for (byte b : s.getBytes(charset)) {
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DCountedDataInputStream.java25 import java.nio.charset.Charset;
131 public String readString(int n, Charset charset) throws IOException { argument
134 return new String(buf, charset);
H A DExifParser.java24 import java.nio.charset.Charset;
812 * Reads a String from the InputStream with US-ASCII charset. The parser
821 * Reads a String from the InputStream with the given charset. The parser
825 protected String readString(int n, Charset charset) throws IOException { argument
827 return mTiffStream.readString(n, charset);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DCountedDataInputStream.java25 import java.nio.charset.Charset;
131 public String readString(int n, Charset charset) throws IOException { argument
134 return new String(buf, charset);
H A DExifParser.java24 import java.nio.charset.Charset;
812 * Reads a String from the InputStream with US-ASCII charset. The parser
821 * Reads a String from the InputStream with the given charset. The parser
825 protected String readString(int n, Charset charset) throws IOException { argument
827 return mTiffStream.readString(n, charset);
/packages/apps/Mms/src/com/android/mms/exif/
H A DCountedDataInputStream.java25 import java.nio.charset.Charset;
131 public String readString(int n, Charset charset) throws IOException { argument
134 return new String(buf, charset);
H A DExifParser.java26 import java.nio.charset.Charset;
814 * Reads a String from the InputStream with US-ASCII charset. The parser
823 * Reads a String from the InputStream with the given charset. The parser
827 protected String readString(int n, Charset charset) throws IOException { argument
829 return mTiffStream.readString(n, charset);
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/sml/xlt/src/
H A Dxltdeccom.h166 * ATTRIBUTE: charset
168 * The charset information as specified in the XML/WBXML document. This is
173 * String representation of the charset. This attribute is valid only when
174 * charset equals zero. Otherwise charsetStr will be NULL.
207 Long_t charset; member in struct:XltDecScanner_s
H A Dxltdecxml.c76 Long_t charset; /* 0 */ member in struct:xmlScannerPriv_s
191 pScanner->charset = 0;
H A Dxltdecwbxml.c131 Long_t charset; /* character set as specified in the member in struct:wbxmlScannerPriv_s
550 /* TODO: if charset iformation has to be processed
555 /* charset is given as a single IANA assigned MIBEnum value */
558 pScanner->charset = mibenum;
1115 pSubDecoder->charset = pSubDecoder->scanner->charset;
1292 /*decode charset*/
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
H A DBodyDescriptor.java37 private String charset = "us-ascii"; field in class:BodyDescriptor
133 String c = params.get("charset");
137 charset = c.toLowerCase();
147 parameters.remove("charset");
354 * Return the charset
357 return charset;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/
H A DEncoderUtil.java23 import java.nio.charset.Charset;
253 * The charset to encode the specified text into a byte array and the
277 * The charset to encode the specified text into a byte array and the
308 * @param charset
309 * the Java charset that should be used to encode the specified
310 * string into a byte array. A suitable charset is detected
321 int usedCharacters, Charset charset, Encoding encoding) {
327 if (charset == null)
328 charset = determineCharset(text);
330 String mimeCharset = CharsetUtil.toMimeCharset(charset
320 encodeEncodedWord(String text, Usage usage, int usedCharacters, Charset charset, Encoding encoding) argument
512 encodeB(String prefix, String text, int usedCharacters, Charset charset, byte[] bytes) argument
540 encodeQ(String prefix, String text, Usage usage, int usedCharacters, Charset charset, byte[] bytes) argument
584 encode(String text, Charset charset) argument
[all...]
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/src/
H A Dxltdecxml.c76 Long_t charset; /* 0 */ member in struct:xmlScannerPriv_s
191 pScanner->charset = 0;
H A Dxltdecwbxml.c133 Long_t charset; /* character set as specified in the member in struct:wbxmlScannerPriv_s
552 /* TODO: if charset iformation has to be processed
557 /* charset is given as a single IANA assigned MIBEnum value */
560 pScanner->charset = mibenum;
1125 pSubDecoder->charset = pSubDecoder->scanner->charset;
1325 /*decode charset*/
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessageMms.java18 import java.nio.charset.Charset;
19 import java.nio.charset.IllegalCharsetNameException;
49 String charset = mCharsetName;
50 // Figure out if we support the charset, else fall back to UTF-8, as this is what
52 if(charset == null){
53 charset = "UTF-8";
55 charset = charset.toUpperCase();
57 if(Charset.isSupported(charset) == false) {
58 charset
624 decodeBody(String body, String encoding, String charset) argument
700 quotedPrintableToUtf8(String text, String charset) argument
[all...]
H A DBluetoothMapAppParams.java750 public void setCharset(int charset) { argument
751 if (charset < 0 || charset > 0x1)
752 throw new IllegalArgumentException("Out of range: " + charset + ", valid range is 0x0000 to 0x0001");
753 this.mCharset = charset;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java56 import java.nio.charset.Charset;
293 private static byte[] encode(Charset charset, String s) { argument
297 final ByteBuffer buffer = charset.encode(CharBuffer.wrap(s));
303 private static String decode(Charset charset, byte[] b) { argument
307 final CharBuffer cb = charset.decode(ByteBuffer.wrap(b));
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessagingNotification.java1096 private static String getMmsSubject(String sub, int charset) { argument
1098 : new EncodedStringValue(charset, PduPersister.getBytes(sub)).getString();

Completed in 918 milliseconds

12