/frameworks/base/telephony/java/android/telephony/ |
H A D | SmsCbMessage.java | 228 * Parse and unpack the body text according to the encoding in the DCS. 235 int encoding; 238 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038, 242 encoding = SmsMessage.ENCODING_7BIT; 249 encoding = SmsMessage.ENCODING_16BIT; 251 encoding = SmsMessage.ENCODING_7BIT; 256 encoding = SmsMessage.ENCODING_7BIT; 261 encoding = SmsMessage.ENCODING_7BIT; 268 encoding = SmsMessage.ENCODING_8BIT; 272 encoding 354 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebResourceResponse.java | 53 * Construct a response with the given mime type, encoding, and data. 55 * @param encoding The encoding of the bytes read from data. 59 public WebResourceResponse(String mimeType, String encoding, argument 62 mEncoding = encoding; 82 * Set the encoding of the response data (i.e. utf-8). This will be used to 84 * @param encoding 86 public void setEncoding(String encoding) { argument 87 mEncoding = encoding;
|
H A D | CacheLoader.java | 26 * and encoding is added to the HTTP response headers. 57 if (!TextUtils.isEmpty(mCacheResult.encoding)) { 59 sb.append(mCacheResult.encoding);
|
H A D | CacheManager.java | 108 String encoding; field in class:CacheManager.CacheResult 154 return encoding; 175 public void setEncoding(String encoding) { argument 176 this.encoding = encoding;
|
H A D | WebSettings.java | 1556 * Set the default text encoding name to use when decoding html pages. 1557 * @param encoding The text encoding name. 1559 public synchronized void setDefaultTextEncodingName(String encoding) { argument 1560 if (encoding != null && !encoding.equals(mDefaultTextEncoding)) { 1561 mDefaultTextEncoding = encoding; 1567 * Get the default text encoding name. The default is "Latin-1". 1568 * @return The default text encoding name as a string.
|
H A D | WebViewWorker.java | 65 * Package level class to be used while updating a cache entry's encoding. 146 cache.encoding = data.mEncoding;
|
H A D | BrowserFrame.java | 297 * @param encoding Character set encoding of the provided data. 301 String encoding, String historyUrl) { 318 nativeLoadData(baseUrl, data, mimeType, encoding, historyUrl); 1371 String mimeType, String encoding, String historyUrl); 300 loadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument 1370 nativeLoadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
|
H A D | WebViewDatabase.java | 127 private static final String CACHE_ENCODING_COL = "encoding"; 736 + "expiresstring, mimetype, encoding, httpstatus, location, contentlength, " 748 ret.encoding = cursor.getString(6); 800 mCacheInserter.bind(mCacheEncodingColIndex, c.encoding);
|
H A D | LoadListener.java | 1084 // pass content-type content-length and content-encoding 1416 // for data: uri the mimeType and encoding have 1633 * @param encoding HTTP encoding. 1638 String encoding); 1636 nativeCreateResponse(String url, int statusCode, String statusText, String mimeType, long expectedLength, String encoding) argument
|
H A D | WebView.java | 2130 * If the value of the encoding parameter is 'base64', then the data must 2131 * be encoded as base64. Otherwise, the data must use ASCII encoding for 2133 * hex encoding of URLs for octets outside that range. For example, 2142 * @param data A String of data in the given encoding. 2144 * @param encoding The encoding of the data. 2146 public void loadData(String data, String mimeType, String encoding) { argument 2148 loadDataImpl(data, mimeType, encoding); 2151 private void loadDataImpl(String data, String mimeType, String encoding) { argument 2154 if ("base64".equals(encoding)) { 2184 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument [all...] |
/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/base/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 203 uint32_t encoding = kEncodingAll; local 207 encoding &= possibleEncodings(mValues->getEntry(i)); 209 // if the locale encoding matches, then assume we have a native encoding [all...] |
/frameworks/compile/libbcc/runtime/lib/ |
H A D | gcc_personality_v0.c | 101 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 D | FastXmlSerializer.java | 286 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/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 113 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/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/base/media/libstagefright/id3/ |
H A D | ID3.cpp | 709 static size_t StringSize(const uint8_t *start, uint8_t encoding) { argument 710 if (encoding == 0x00 || encoding == 0x03) { 738 uint8_t encoding = data[0]; local 751 size_t descLen = StringSize(&data[2 + mimeLen], encoding); 757 uint8_t encoding = data[0]; local 778 size_t descLen = StringSize(&data[5], encoding);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 222 * 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...] |
H A D | GsmSMSDispatcher.java | 272 String message, SmsHeader smsHeader, int encoding, 276 encoding, smsHeader.languageTable, smsHeader.languageShiftTable); 271 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | SMSDispatcher.java | 788 int encoding = android.telephony.SmsMessage.ENCODING_UNKNOWN; 795 if (encoding != details.codeUnitSize 796 && (encoding == android.telephony.SmsMessage.ENCODING_UNKNOWN 797 || encoding == android.telephony.SmsMessage.ENCODING_7BIT)) { 798 encoding = details.codeUnitSize; 818 // Set the national language tables for 3GPP 7-bit encoding, if enabled. 819 if (encoding == android.telephony.SmsMessage.ENCODING_7BIT) { 834 sendNewSubmitPdu(destAddr, scAddr, parts.get(i), smsHeader, encoding, 844 String message, SmsHeader smsHeader, int encoding, 843 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaLteUiccRecords.java | 113 int encoding = data[1]; 128 switch (encoding) { 142 log("SPN encoding not supported"); 175 // C.S0065 section 5.2.2 for IMSI_M encoding 176 // C.S0005 section 2.3.1 for MIN encoding in IMSI_M. 326 // C.S0065 section 5.2.57 for EFeprl encoding
|
H A D | CdmaSMSDispatcher.java | 273 String message, SmsHeader smsHeader, int encoding, 278 if (encoding == android.telephony.SmsMessage.ENCODING_7BIT) { 272 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 813 String encoding = new String(partDataEncoding); 814 if (encoding.equalsIgnoreCase(PduPart.P_BASE64)) { 817 } else if (encoding.equalsIgnoreCase(PduPart.P_QUOTED_PRINTABLE)) { 821 // "binary" is the default encoding. 1279 * type = Constrained-encoding 1280 * Constrained-encoding = Extension-Media | Short-integer
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 238 if (keyInfo->encoding == SL_CHARACTERENCODING_ASCII 239 || keyInfo->encoding == SL_CHARACTERENCODING_UTF8) {
|