/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
H A D | DecoderUtil.java | 105 * @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 D | TextModel.java | 42 int charset, byte[] data, RegionModel region) { 46 if (charset == CharacterSets.ANY_CHARSET) { 49 charset = CharacterSets.ISO_8859_1; 51 mCharset = charset; 41 TextModel(Context context, String contentType, String src, int charset, byte[] data, RegionModel region) argument
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { argument 134 return new String(buf, charset);
|
H A D | ExifParser.java | 24 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 D | ImportProcessor.java | 215 private boolean readOneVCard(InputStream is, int vcardType, String charset, argument
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
H A D | UriCodec.java | 22 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 D | CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { argument 134 return new String(buf, charset);
|
H A D | ExifParser.java | 24 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/src/com/android/gallery3d/exif/ |
H A D | CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { argument 134 return new String(buf, charset);
|
H A D | ExifParser.java | 24 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 D | CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { argument 134 return new String(buf, charset);
|
H A D | ExifParser.java | 24 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/UnifiedEmail/src/org/apache/james/mime4j/ |
H A D | BodyDescriptor.java | 37 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 D | EncoderUtil.java | 23 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/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapbMessage.java | 55 protected String charset = null; field in class:BluetoothMapbMessage 582 charset = arg[1].trim(); // TODO: Validate ? 639 * 4) based on charset from application properties either store as String[] or decode to raw PDUs 836 if(charset != null && charset != "") 837 sb.append("CHARSET:").append(charset).append("\r\n");
|
H A D | BluetoothMapAppParams.java | 109 private int charset = INVALID_VALUE_PARAMETER; field in class:BluetoothMapAppParams 730 return charset; 733 public void setCharset(int charset) { argument 734 if (charset < 0 || charset > 0x1) 735 throw new IllegalArgumentException("Out of range: " + charset + ", valid range is 0x0000 to 0x0001"); 736 this.charset = charset;
|
H A D | BluetoothMapContent.java | 260 String charset = c.getString(c.getColumnIndex("chset")); 271 "\n charset : " + charset + 1394 public byte[] getSmsMessage(long id, int charset) throws UnsupportedEncodingException{ argument 1433 if(charset == MAP_MESSAGE_CHARSET_NATIVE) { 1438 } else /*if (charset == MAP_MESSAGE_CHARSET_UTF8)*/ { 1546 String charset = c.getString(c.getColumnIndex("chset")); 1557 "\n charset : " + charset + 1579 if(charset ! [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 71 import java.nio.charset.Charset; 373 private static byte[] encode(Charset charset, String s) { argument 377 final ByteBuffer buffer = charset.encode(CharBuffer.wrap(s)); 383 private static String decode(Charset charset, byte[] b) { argument 387 final CharBuffer cb = charset.decode(ByteBuffer.wrap(b));
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | MessagingNotification.java | 1076 private static String getMmsSubject(String sub, int charset) { argument 1078 : new EncodedStringValue(charset, PduPersister.getBytes(sub)).getString();
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_lib.h | 207 NJ_CHARSET *charset; member in struct:__anon41
|