Searched refs:encoding (Results 1 - 25 of 29) sorted by relevance

12

/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.java75 String encoding; field in class:CacheManager.CacheResult
172 * Gets the encoding of this cache entry.
174 * @return the encoding of this cache entry
177 return encoding;
225 * Sets the encoding of this cache entry.
227 * @param encoding the encoding of this cache entry
229 public void setEncoding(String encoding) { argument
230 this.encoding = encoding;
[all...]
H A DWebViewProvider.java111 public void loadData(String data, String mimeType, String encoding); argument
114 String mimeType, String encoding, String historyUrl);
113 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
H A DWebSettings.java1222 * Sets the default text encoding name to use when decoding html pages.
1225 * @param encoding the text encoding name
1227 public synchronized void setDefaultTextEncodingName(String encoding) { argument
1232 * Gets the default text encoding name.
1234 * @return the default text encoding name as a string
H A DWebSettingsClassic.java1440 public synchronized void setDefaultTextEncodingName(String encoding) { argument
1441 if (encoding != null && !encoding.equals(mDefaultTextEncoding)) {
1442 mDefaultTextEncoding = encoding;
H A DWebView.java810 * The encoding parameter specifies whether the data is base64 or URL
811 * encoded. If the data is base64 encoded, the value of the encoding
813 * including null, it is assumed that the data uses ASCII encoding for
815 * hex encoding of URLs for octets outside that range. For example, '#',
825 * @param data a String of data in the given encoding
827 * @param encoding the encoding of the data
829 public void loadData(String data, String mimeType, String encoding) { argument
831 mProvider.loadData(data, mimeType, encoding);
850 * @param data a String of data in the given encoding
857 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
[all...]
H A DBrowserFrame.java302 * @param encoding Character set encoding of the provided data.
306 String encoding, String historyUrl) {
323 nativeLoadData(baseUrl, data, mimeType, encoding, historyUrl);
1281 String mimeType, String encoding, String historyUrl);
305 loadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
1280 nativeLoadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java102 * Parse and unpack the body text according to the encoding in the DCS.
111 int encoding;
116 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038,
120 encoding = SmsConstants.ENCODING_7BIT;
127 encoding = SmsConstants.ENCODING_16BIT;
129 encoding = SmsConstants.ENCODING_7BIT;
134 encoding = SmsConstants.ENCODING_7BIT;
139 encoding = SmsConstants.ENCODING_7BIT;
146 encoding = SmsConstants.ENCODING_8BIT;
150 encoding
236 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument
[all...]
H A DSmsMessage.java224 * specified encoding.
227 * @param encoding Encoding defined by constants in
238 boolean statusReportRequested, byte[] header, int encoding,
246 if (encoding == ENCODING_UNKNOWN) {
247 // Find the best encoding to use
249 encoding = ted.codeUnitSize;
253 if (encoding == ENCODING_7BIT &&
285 if (encoding == ENCODING_7BIT) {
303 encoding = ENCODING_16BIT;
312 if (encoding
236 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested, byte[] header, int encoding, int languageTable, int languageShiftTable) argument
[all...]
H A DGsmSMSDispatcher.java274 String message, SmsHeader smsHeader, int encoding,
278 encoding, smsHeader.languageTable, smsHeader.languageShiftTable);
273 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) 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/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/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/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/opt/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/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) {
764 uint8_t encoding = data[0]; local
777 size_t descLen = StringSize(&data[2 + mimeLen], encoding);
783 uint8_t encoding = data[0]; local
[all...]
/frameworks/av/include/media/
H A Dmediascanner.h97 void convertValues(uint32_t encoding);
100 // cached name and value strings, for native encoding support.
104 // default encoding based on MediaScanner::mLocale string
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java852 int encoding = SmsConstants.ENCODING_UNKNOWN;
859 if (encoding != details.codeUnitSize
860 && (encoding == SmsConstants.ENCODING_UNKNOWN
861 || encoding == SmsConstants.ENCODING_7BIT)) {
862 encoding = details.codeUnitSize;
882 // Set the national language tables for 3GPP 7-bit encoding, if enabled.
883 if (encoding == SmsConstants.ENCODING_7BIT) {
898 sendNewSubmitPdu(destAddr, scAddr, parts.get(i), smsHeader, encoding,
908 String message, SmsHeader smsHeader, int encoding,
907 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSMSDispatcher.java316 String message, SmsHeader smsHeader, int encoding,
321 if (encoding == SmsConstants.ENCODING_7BIT) {
315 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
H A DRuimRecords.java277 int encoding = data[1];
293 switch (encoding) {
307 log("SPN encoding not supported");
341 // C.S0065 section 5.2.2 for IMSI_M encoding
342 // C.S0005 section 2.3.1 for MIN encoding in IMSI_M.
410 // C.S0065 section 5.2.57 for EFeprl encoding
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduParser.java908 String encoding = new String(partDataEncoding);
909 if (encoding.equalsIgnoreCase(PduPart.P_BASE64)) {
912 } else if (encoding.equalsIgnoreCase(PduPart.P_QUOTED_PRINTABLE)) {
916 // "binary" is the default encoding.
1377 * type = Constrained-encoding
1378 * Constrained-encoding = Extension-Media | Short-integer
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp821 // Beware: this needs Glyph encoding (already done on the Paint constructor)
874 SkPaint::TextEncoding encoding = paint->getTextEncoding(); local
877 paint->setTextEncoding(encoding);
903 SkPaint::TextEncoding encoding = paint->getTextEncoding(); local
906 paint->setTextEncoding(encoding);
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc238 if (keyInfo->encoding == SL_CHARACTERENCODING_ASCII
239 || keyInfo->encoding == SL_CHARACTERENCODING_UTF8) {
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp1817 // the information about the key (size, lang, encoding)
1854 pKey->encoding = SL_CHARACTERENCODING_UTF8;
1890 // the information about the value (size, lang, encoding)
1921 pValue->encoding = SL_CHARACTERENCODING_BINARY;

Completed in 519 milliseconds

12