/frameworks/base/core/java/android/webkit/ |
H A D | WebResourceResponse.java | 35 * 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 D | CacheManager.java | 67 String encoding; field in class:CacheManager.CacheResult 164 * Gets the encoding of this cache entry. 166 * @return the encoding of this cache entry 169 return encoding; 217 * Sets the encoding of this cache entry. 219 * @param encoding the encoding of this cache entry 221 public void setEncoding(String encoding) { argument 222 this.encoding = encoding; [all...] |
H A D | WebViewProvider.java | 113 public void loadData(String data, String mimeType, String encoding); argument 116 String mimeType, String encoding, String historyUrl); 115 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
|
H A D | WebSettings.java | 1308 * Sets the default text encoding name to use when decoding html pages. 1311 * @param encoding the text encoding name 1313 public synchronized void setDefaultTextEncodingName(String encoding) { argument 1318 * Gets the default text encoding name. 1320 * @return the default text encoding name as a string
|
H A D | WebView.java | 824 * The encoding parameter specifies whether the data is base64 or URL 825 * encoded. If the data is base64 encoded, the value of the encoding 827 * including null, it is assumed that the data uses ASCII encoding for 829 * hex encoding of URLs for octets outside that range. For example, '#', 839 * @param data a String of data in the given encoding 841 * @param encoding the encoding of the data 843 public void loadData(String data, String mimeType, String encoding) { argument 846 mProvider.loadData(data, mimeType, encoding); 868 * @param data a String of data in the given encoding 875 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmSmsCbMessage.java | 102 * 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 D | SmsMessage.java | 219 * specified encoding. 222 * @param encoding Encoding defined by constants in 233 boolean statusReportRequested, byte[] header, int encoding, 241 if (encoding == ENCODING_UNKNOWN) { 242 // Find the best encoding to use 244 encoding = ted.codeUnitSize; 248 if (encoding == ENCODING_7BIT && 280 if (encoding == ENCODING_7BIT) { 298 encoding = ENCODING_16BIT; 307 if (encoding 231 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested, byte[] header, int encoding, int languageTable, int languageShiftTable) argument [all...] |
H A D | GsmSMSDispatcher.java | 193 String message, SmsHeader smsHeader, int encoding, 197 encoding, smsHeader.languageTable, smsHeader.languageShiftTable); 192 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 D | Xml.java | 78 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 D | MediaScannerClient.cpp | 82 // 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
H A D | CdmaSmsCbTest.java | 143 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 D | WebView.java | 105 public void loadData(String data, String mimeType, String encoding) { argument 109 String mimeType, String encoding, String failUrl) { 108 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String failUrl) argument
|
/frameworks/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 534 uint8_t encoding = *frameData; local 552 // skip past the encoding, language, and the 0 separator 563 if (encoding == 0x00) { 566 } else if (encoding == 0x03) { 569 } else if (encoding == 0x02) { 783 static size_t StringSize(const uint8_t *start, uint8_t encoding) { argument 784 if (encoding == 0x00 || encoding == 0x03) { 813 uint8_t encoding = data[0]; local 826 size_t descLen = StringSize(&data[2 + mimeLen], encoding); 832 uint8_t encoding = data[0]; local [all...] |
/frameworks/av/include/media/ |
H A D | mediascanner.h | 97 void convertValues(uint32_t encoding); 100 // cached name and value strings, for native encoding support. 104 // default encoding based on MediaScanner::mLocale string
|
/frameworks/webview/chromium/tools/ |
H A D | generate_local_manifest.py | 40 encoding='UTF-8',
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 307 public void setOutput(OutputStream os, String encoding) throws IOException, argument 313 mCharset = Charset.forName(encoding).newEncoder(); 316 encoding).initCause(e)); 319 encoding).initCause(e)); 324 encoding == null 326 : new OutputStreamWriter(os, encoding)); 345 public void startDocument(String encoding, Boolean standalone) throws IOException, argument 347 append("<?xml version='1.0' encoding='utf-8' standalone='"
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SMSDispatcher.java | 555 int encoding = SmsConstants.ENCODING_UNKNOWN; 562 if (encoding != details.codeUnitSize 563 && (encoding == SmsConstants.ENCODING_UNKNOWN 564 || encoding == SmsConstants.ENCODING_7BIT)) { 565 encoding = details.codeUnitSize; 585 // Set the national language tables for 3GPP 7-bit encoding, if enabled. 586 if (encoding == SmsConstants.ENCODING_7BIT) { 601 sendNewSubmitPdu(destAddr, scAddr, parts.get(i), smsHeader, encoding, 611 String message, SmsHeader smsHeader, int encoding, 610 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 D | CdmaSMSDispatcher.java | 137 String message, SmsHeader smsHeader, int encoding, 142 if (encoding == SmsConstants.ENCODING_7BIT) { 136 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | ContentSettingsAdapter.java | 499 public synchronized void setDefaultTextEncodingName(String encoding) { argument 500 mAwSettings.setDefaultTextEncodingName(encoding);
|
H A D | WebViewChromium.java | 561 private static boolean isBase64Encoded(String encoding) { argument 562 return "base64".equals(encoding); 566 public void loadData(String data, String mimeType, String encoding) { argument 568 fixupData(data), fixupMimeType(mimeType), isBase64Encoded(encoding))); 572 public void loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, argument 581 // For backwards compatibility with WebViewClassic, we use the value of |encoding| 583 boolean isBase64 = isBase64Encoded(encoding); 585 data, mimeType, isBase64, baseUrl, historyUrl, isBase64 ? null : encoding); 590 // base64 encoding the data that is passed here and then loading that as a data: URL.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | RuimRecords.java | 285 int encoding = data[1]; 301 switch (encoding) { 315 log("SPN encoding not supported"); 353 // C.S0065 section 5.2.2 for IMSI_M encoding 354 // C.S0005 section 2.3.1 for MIN encoding in IMSI_M. 426 // C.S0065 section 5.2.57 for EFeprl encoding
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 908 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 D | Canvas.cpp | 830 // Beware: this needs Glyph encoding (already done on the Paint constructor) 883 SkPaint::TextEncoding encoding = paint->getTextEncoding(); local 886 paint->setTextEncoding(encoding); 912 SkPaint::TextEncoding encoding = paint->getTextEncoding(); local 915 paint->setTextEncoding(encoding);
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 238 if (keyInfo->encoding == SL_CHARACTERENCODING_ASCII 239 || keyInfo->encoding == SL_CHARACTERENCODING_UTF8) {
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 1793 // the information about the key (size, lang, encoding) 1830 pKey->encoding = SL_CHARACTERENCODING_UTF8; 1866 // the information about the value (size, lang, encoding) 1897 pValue->encoding = SL_CHARACTERENCODING_BINARY;
|