Searched defs:encoding (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DWebResourceResponse.java35 * Constructs a resource response with the given MIME type, encoding, and
41 * @param encoding the resource response's encoding
44 public WebResourceResponse(String mimeType, String encoding, argument
47 mEncoding = encoding;
70 * Sets the resource response's encoding, for example UTF-8. This is used
73 * @param encoding the resource response's encoding
75 public void setEncoding(String encoding) { argument
76 mEncoding = encoding;
[all...]
H A DCacheManager.java74 String encoding; field in class:CacheManager.CacheResult
171 * Gets the encoding of this cache entry.
173 * @return the encoding of this cache entry
176 return encoding;
224 * Sets the encoding of this cache entry.
226 * @param encoding the encoding of this cache entry
228 public void setEncoding(String encoding) { argument
229 this.encoding = encoding;
[all...]
H A DWebSettings.java1118 * Sets the default text encoding name to use when decoding html pages.
1121 * @param encoding the text encoding name
1123 public synchronized void setDefaultTextEncodingName(String encoding) { argument
1128 * Gets the default text encoding name.
1130 * @return the default text encoding name as a string
H A DBrowserFrame.java297 * @param encoding Character set encoding of the provided data.
301 String encoding, String historyUrl) {
318 nativeLoadData(baseUrl, data, mimeType, encoding, historyUrl);
1264 String mimeType, String encoding, String historyUrl);
300 loadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
1263 nativeLoadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
H A DWebViewProvider.java110 public void loadData(String data, String mimeType, String encoding); argument
113 String mimeType, String encoding, String historyUrl);
112 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
H A DWebSettingsClassic.java1432 public synchronized void setDefaultTextEncodingName(String encoding) { argument
1433 if (encoding != null && !encoding.equals(mDefaultTextEncoding)) {
1434 mDefaultTextEncoding = encoding;
H A DWebView.java794 * If the value of the encoding parameter is 'base64', then the data must
795 * be encoded as base64. Otherwise, the data must use ASCII encoding for
797 * hex encoding of URLs for octets outside that range. For example,
807 * @param data a String of data in the given encoding
809 * @param encoding the encoding of the data
811 public void loadData(String data, String mimeType, String encoding) { argument
813 mProvider.loadData(data, mimeType, encoding);
832 * @param data a String of data in the given encoding
835 * @param encoding th
839 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
[all...]
H A DWebViewClassic.java2531 public void loadData(String data, String mimeType, String encoding) { argument
2532 loadDataImpl(data, mimeType, encoding);
2535 private void loadDataImpl(String data, String mimeType, String encoding) { argument
2538 if ("base64".equals(encoding)) {
2551 String mimeType, String encoding, String historyUrl) {
2554 loadDataImpl(data, mimeType, encoding);
2562 arg.mEncoding = encoding;
2550 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
/frameworks/base/core/java/android/util/
H A DXml.java78 public static void parse(InputStream in, Encoding encoding, argument
83 source.setEncoding(encoding.expatName);
144 * Finds an encoding by name. Returns UTF-8 if you pass {@code null}.
152 for (Encoding encoding : Encoding.values()) {
153 if (encoding.expatName.equalsIgnoreCase(encodingName))
154 return encoding;
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java101 * Parse and unpack the body text according to the encoding in the DCS.
110 int encoding;
115 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038,
119 encoding = android.telephony.SmsMessage.ENCODING_7BIT;
126 encoding = android.telephony.SmsMessage.ENCODING_16BIT;
128 encoding = android.telephony.SmsMessage.ENCODING_7BIT;
133 encoding = android.telephony.SmsMessage.ENCODING_7BIT;
138 encoding = android.telephony.SmsMessage.ENCODING_7BIT;
145 encoding = android.telephony.SmsMessage.ENCODING_8BIT;
149 encoding
235 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument
[all...]
H A DGsmSMSDispatcher.java275 String message, SmsHeader smsHeader, int encoding,
279 encoding, smsHeader.languageTable, smsHeader.languageShiftTable);
274 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
H A DSmsMessage.java222 * specified encoding.
225 * @param encoding Encoding defined by constants in android.telephony.SmsMessage.ENCODING_*
235 boolean statusReportRequested, byte[] header, int encoding,
243 if (encoding == ENCODING_UNKNOWN) {
244 // Find the best encoding to use
246 encoding = ted.codeUnitSize;
250 if (encoding == ENCODING_7BIT && (languageTable != 0 || languageShiftTable != 0)) {
281 if (encoding == ENCODING_7BIT) {
299 encoding = ENCODING_16BIT;
308 if (encoding
233 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested, byte[] header, int encoding, int languageTable, int languageShiftTable) argument
[all...]
/frameworks/av/media/libmedia/
H A DMediaScannerClient.cpp82 // save the strings for later so they can be used for native encoding detection
98 // if s contains a native encoding, then it was mistakenly encoded in utf8 as if it were latin-1
122 void MediaScannerClient::convertValues(uint32_t encoding) argument
125 switch (encoding) {
155 // for each value string, convert from native encoding to UTF-8
172 // now convert from native encoding to UTF-8
204 uint32_t encoding = kEncodingAll; local
208 encoding &= possibleEncodings(mValues->getEntry(i));
210 // if the locale encoding matches, then assume we have a native encoding
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java286 public void setOutput(OutputStream os, String encoding) throws IOException, argument
292 mCharset = Charset.forName(encoding).newEncoder();
295 encoding).initCause(e));
298 encoding).initCause(e));
303 encoding == null
305 : new OutputStreamWriter(os, encoding));
324 public void startDocument(String encoding, Boolean standalone) throws IOException, argument
326 append("<?xml version='1.0' encoding='utf-8' standalone='"
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaSMSDispatcher.java313 String message, SmsHeader smsHeader, int encoding,
318 if (encoding == android.telephony.SmsMessage.ENCODING_7BIT) {
312 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
/frameworks/compile/libbcc/runtime/lib/
H A Dgcc_personality_v0.c101 static uintptr_t readEncodedPointer(const uint8_t** data, uint8_t encoding) argument
106 if ( encoding == DW_EH_PE_omit )
110 switch (encoding & 0x0F) {
150 switch ( encoding & 0x70 ) {
168 if (encoding & DW_EH_PE_indirect) {
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp485 uint8_t encoding = *frameData; local
503 // skip past the encoding, language, and the 0 separator
514 if (encoding == 0x00) {
517 } else if (encoding == 0x03) {
520 } else if (encoding == 0x02) {
734 static size_t StringSize(const uint8_t *start, uint8_t encoding) { argument
735 if (encoding == 0x00 || encoding == 0x03) {
763 uint8_t encoding = data[0]; local
776 size_t descLen = StringSize(&data[2 + mimeLen], encoding);
782 uint8_t encoding = data[0]; local
[all...]
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java143 int language, int encoding, String body, int cmasCategory, int responseType,
150 encodeBody(encoding, body, true, cmasBos);
186 * @param encoding user data encoding method
191 int priority, int language, int encoding, String body) throws Exception {
196 encodeBody(encoding, body, false, bos);
202 * Append the message length, encoding, and body to the BearerData output stream.
205 * @param encoding one of the CDMA UserData encoding values
209 * @throws Exception on any encoding erro
142 createCmasSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument
190 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument
211 encodeBody(int encoding, String body, boolean isCmasRecord, BitwiseOutputStream bos) argument
352 doTestNonEmergencyBroadcast(int encoding) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java113 public void loadData(String data, String mimeType, String encoding) { argument
117 String mimeType, String encoding, String failUrl) {
116 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String failUrl) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSMSDispatcher.java795 int encoding = android.telephony.SmsMessage.ENCODING_UNKNOWN;
802 if (encoding != details.codeUnitSize
803 && (encoding == android.telephony.SmsMessage.ENCODING_UNKNOWN
804 || encoding == android.telephony.SmsMessage.ENCODING_7BIT)) {
805 encoding = details.codeUnitSize;
825 // Set the national language tables for 3GPP 7-bit encoding, if enabled.
826 if (encoding == android.telephony.SmsMessage.ENCODING_7BIT) {
841 sendNewSubmitPdu(destAddr, scAddr, parts.get(i), smsHeader, encoding,
851 String message, SmsHeader smsHeader, int encoding,
850 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp774 // Beware: this needs Glyph encoding (already done on the Paint constructor)
816 SkPaint::TextEncoding encoding = paint->getTextEncoding(); local
819 paint->setTextEncoding(encoding);
845 SkPaint::TextEncoding encoding = paint->getTextEncoding(); local
848 paint->setTextEncoding(encoding);
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h754 SLuint32 encoding; member in struct:SLMetadataInfo_
2329 /* Structure used when setting audio encoding parameters */
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1300 XAuint32 encoding; member in struct:XAMetadataInfo_

Completed in 1967 milliseconds