/frameworks/base/core/java/android/webkit/ |
H A D | WebResourceResponse.java | 36 * Constructs a resource response with the given MIME type, encoding, and 42 * @param encoding the resource response's encoding 45 public WebResourceResponse(String mimeType, String encoding, argument 48 mEncoding = encoding; 58 * @param encoding the resource response's encoding 67 public WebResourceResponse(String mimeType, String encoding, int statusCode, argument 69 this(mimeType, encoding, data); 93 * Sets the resource response's encoding, fo 98 setEncoding(String encoding) argument [all...] |
H A D | CacheManager.java | 61 String encoding; field in class:CacheManager.CacheResult 158 * Gets the encoding of this cache entry. 160 * @return the encoding of this cache entry 163 return encoding; 211 * Sets the encoding of this cache entry. 213 * @param encoding the encoding of this cache entry 215 public void setEncoding(String encoding) { argument 216 this.encoding = encoding; [all...] |
H A D | WebViewProvider.java | 114 public void loadData(String data, String mimeType, String encoding); argument 117 String mimeType, String encoding, String historyUrl); 116 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
|
H A D | WebSettings.java | 1360 * Sets the default text encoding name to use when decoding html pages. 1363 * @param encoding the text encoding name 1365 public synchronized void setDefaultTextEncodingName(String encoding) { argument 1370 * Gets the default text encoding name. 1372 * @return the default text encoding name as a string
|
H A D | WebView.java | 885 * The encoding parameter specifies whether the data is base64 or URL 886 * encoded. If the data is base64 encoded, the value of the encoding 888 * including null, it is assumed that the data uses ASCII encoding for 890 * hex encoding of URLs for octets outside that range. For example, '#', 900 * @param data a String of data in the given encoding 902 * @param encoding the encoding of the data 904 public void loadData(String data, String mimeType, String encoding) { argument 907 mProvider.loadData(data, mimeType, encoding); 929 * @param data a String of data in the given encoding 936 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 | 223 * specified encoding. 226 * @param encoding Encoding defined by constants in 237 boolean statusReportRequested, byte[] header, int encoding, 245 if (encoding == ENCODING_UNKNOWN) { 246 // Find the best encoding to use 248 encoding = ted.codeUnitSize; 252 if (encoding == ENCODING_7BIT && 284 if (encoding == ENCODING_7BIT) { 302 encoding = ENCODING_16BIT; 311 if (encoding 235 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested, byte[] header, int encoding, int languageTable, int languageShiftTable) argument [all...] |
H A D | GsmSMSDispatcher.java | 213 String message, SmsHeader smsHeader, int encoding, 218 encoding, smsHeader.languageTable, smsHeader.languageShiftTable); 212 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri) 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/base/media/java/android/media/ |
H A D | AudioFormat.java | 257 private AudioFormat(int encoding, int sampleRate, int channelMask) { argument 258 mEncoding = encoding; 281 * Return the encoding. 324 * characteristics such as audio encoding, channel mask or sample rate, you indicate which 373 * Sets the data encoding format. 374 * @param encoding one of {@link AudioFormat#ENCODING_DEFAULT}, 383 public Builder setEncoding(@Encoding int encoding) throws IllegalArgumentException { argument 384 switch (encoding) { 393 mEncoding = encoding; 397 throw new IllegalArgumentException("Invalid encoding " [all...] |
H A D | AudioRecord.java | 142 * The encoding of the audio samples. 248 * configuring the audio format parameters such as encoding, channel mask and sample rate. 302 int encoding = AudioFormat.ENCODING_DEFAULT; 305 encoding = format.getEncoding(); 308 audioParamCheck(attributes.getCapturePreset(), rate, encoding); 398 throw new IllegalArgumentException("Unsupported sample encoding."
|
H A D | AudioTrack.java | 252 * The encoding of the audio samples. 376 * configuring the audio format parameters such as encoding, channel mask and sample rate. 424 int encoding = AudioFormat.ENCODING_DEFAULT; 426 encoding = format.getEncoding(); 428 audioParamCheck(rate, channelMask, encoding, mode); 525 throw new IllegalArgumentException("Unsupported audio encoding.");
|
/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/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 491 uint8_t encoding = *frameData; local 504 // out the real encoding 511 // skip past the encoding, language, and the 0 separator 522 if (encoding == 0x00) { 525 } else if (encoding == 0x03) { 528 } else if (encoding == 0x02) { 545 } else if (encoding == 0x01) { 574 // collapse to 8 bit, then let the media scanner client figure out the real encoding 762 static size_t StringSize(const uint8_t *start, uint8_t encoding) { argument 763 if (encoding 792 uint8_t encoding = data[0]; local 811 uint8_t encoding = data[0]; local [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/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMapBmessage.java | 122 public BluetoothMapBmessage setEncoding(String encoding) { argument 123 mBbodyEncoding = encoding;
|
/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/base/media/java/android/media/audiopolicy/ |
H A D | AudioPolicyConfig.java | 93 int encoding = in.readInt(); 96 .setChannelMask(channelMask).setEncoding(encoding).build(); 146 textDump += " encoding=" + mix.getFormat().getEncoding() + "\n";
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | ContentSettingsAdapter.java | 545 public synchronized void setDefaultTextEncodingName(String encoding) { argument 546 if (DebugFlags.TRACE_API) Log.d(LOGTAG, "setDefaultTextEncodingName=" + encoding); 547 mAwSettings.setDefaultTextEncodingName(encoding);
|
/frameworks/base/tools/layoutlib/rename_font/ |
H A D | build_font_single.py | 97 tree.write(ttx_path, xml_declaration=True, encoding='utf-8') 127 # A new font should be created for each platform, encoding and language
|
H A D | build_font.py | 113 tree.write(ttx_path, xml_declaration=True, encoding='utf-8') 143 # A new font should be created for each platform, encoding and language
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SMSDispatcher.java | 615 int encoding = SmsConstants.ENCODING_UNKNOWN; 620 if (encoding != details.codeUnitSize 621 && (encoding == SmsConstants.ENCODING_UNKNOWN 622 || encoding == SmsConstants.ENCODING_7BIT)) { 623 encoding = details.codeUnitSize; 647 // Set the national language tables for 3GPP 7-bit encoding, if enabled. 648 if (encoding == SmsConstants.ENCODING_7BIT) { 663 sendNewSubmitPdu(destAddr, scAddr, parts.get(i), smsHeader, encoding, 673 String message, SmsHeader smsHeader, int encoding, 672 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSMSDispatcher.java | 166 String message, SmsHeader smsHeader, int encoding, 172 if (encoding == SmsConstants.ENCODING_7BIT) { 165 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri) argument
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTrigger.java | 485 int encoding = in.readInt(); 489 .setEncoding(encoding) 587 (", encoding=" + captureFormat.getEncoding())) 878 int encoding = in.readInt(); 882 .setEncoding(encoding) 953 (", encoding=" + captureFormat.getEncoding()))
|