Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java66 private CharsetEncoder mCharset; field in FastPrintWriter
251 mCharset = Charset.forName(csn).newEncoder(); in initEncoder()
255 mCharset.onMalformedInput(CodingErrorAction.REPLACE); in initEncoder()
256 mCharset.onUnmappableCharacter(CodingErrorAction.REPLACE); in initEncoder()
294 mCharset = Charset.defaultCharset().newEncoder(); in initDefaultEncoder()
295 mCharset.onMalformedInput(CodingErrorAction.REPLACE); in initDefaultEncoder()
296 mCharset.onUnmappableCharacter(CodingErrorAction.REPLACE); in initDefaultEncoder()
365 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
371 result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
DFastXmlSerializer.java65 private CharsetEncoder mCharset; field in FastXmlSerializer
263 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flush()
269 result = mCharset.encode(charBuffer, mBytes, true); in flush()
334 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/core/java/android/view/
DViewHierarchyEncoder.java67 private Charset mCharset = Charset.forName("utf-8"); field in ViewHierarchyEncoder
196 byte[] bytes = s.getBytes(mCharset); in writeString()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt78696 Landroid/view/ViewHierarchyEncoder;->mCharset:Ljava/nio/charset/Charset;
99629 Lcom/android/internal/util/FastPrintWriter;->mCharset:Ljava/nio/charset/CharsetEncoder;