Searched refs:mCharset (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | FastPrintWriter.java | 49 private CharsetEncoder mCharset; field in FastPrintWriter 233 mCharset = Charset.forName(csn).newEncoder(); in initEncoder() 237 mCharset.onMalformedInput(CodingErrorAction.REPLACE); in initEncoder() 238 mCharset.onUnmappableCharacter(CodingErrorAction.REPLACE); in initEncoder() 276 mCharset = Charset.defaultCharset().newEncoder(); in initDefaultEncoder() 277 mCharset.onMalformedInput(CodingErrorAction.REPLACE); in initDefaultEncoder() 278 mCharset.onUnmappableCharacter(CodingErrorAction.REPLACE); in initDefaultEncoder() 347 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flushLocked() 353 result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
|
D | FastXmlSerializer.java | 62 private CharsetEncoder mCharset; field in FastXmlSerializer 243 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flush() 249 result = mCharset.encode(charBuffer, mBytes, true); in flush() 314 mCharset = Charset.forName(encoding).newEncoder() in setOutput()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardComposer.java | 146 private final String mCharset; field in VCardComposer 219 mCharset = charset; in VCardComposer() 225 mCharset = SHIFT_JIS; in VCardComposer() 227 mCharset = charset; in VCardComposer() 232 mCharset = UTF_8; in VCardComposer() 234 mCharset = charset; in VCardComposer() 238 Log.d(LOG_TAG, "Use the charset \"" + mCharset + "\""); in VCardComposer() 601 final VCardBuilder builder = new VCardBuilder(mVCardType, mCharset); in buildVCard()
|
D | VCardBuilder.java | 118 private final String mCharset; field in VCardBuilder 166 mCharset = SHIFT_JIS; in VCardBuilder() 168 mCharset = charset; in VCardBuilder() 171 mCharset = charset; in VCardBuilder() 179 mCharset = VCardConfig.DEFAULT_EXPORT_CHARSET; in VCardBuilder() 182 mCharset = charset; in VCardBuilder() 2093 strArray = str.getBytes(mCharset); in encodeQuotedPrintable() 2095 Log.e(LOG_TAG, "Charset " + mCharset + " cannot be used. " in encodeQuotedPrintable()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VCardVerifier.java | 92 private String mCharset; field in VCardVerifier 130 mCharset = "UTF-8"; in initForExportTest() 132 mCharset = charset; in initForExportTest() 271 is = new ByteArrayInputStream(vcard.getBytes(mCharset)); in verifyOneVCardForExport() 348 final VCardComposer composer = new VCardComposer(context, mVCardType, mCharset); in verifyForExportTest()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | HTTPHandler.java | 34 private final Charset mCharset; field in HTTPHandler 50 mCharset = charset; in HTTPHandler() 148 HTTPRequest request = new HTTPRequest(message, mCharset, method, url, contentType, false); in httpExchange()
|
/frameworks/base/core/java/android/view/ |
D | ViewHierarchyEncoder.java | 66 private Charset mCharset = Charset.forName("utf-8"); field in ViewHierarchyEncoder 191 byte[] bytes = s.getBytes(mCharset); in writeString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
D | MIMEContainer.java | 31 private final Charset mCharset; field in MIMEContainer 80 mCharset = charset; in MIMEContainer() 170 mCharset, in toString()
|