Home
last modified time | relevance | path

Searched refs:mCharset (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java49 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()
DFastXmlSerializer.java62 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/
DVCardComposer.java146 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()
DVCardBuilder.java118 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/
DVCardVerifier.java92 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/
DHTTPHandler.java34 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/
DViewHierarchyEncoder.java66 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/
DMIMEContainer.java31 private final Charset mCharset; field in MIMEContainer
80 mCharset = charset; in MIMEContainer()
170 mCharset, in toString()