/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 | 116 public void loadData(String data, String mimeType, String encoding); argument 119 String mimeType, String encoding, String historyUrl); 118 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
|
H A D | WebSettings.java | 1192 * Sets the default text encoding name to use when decoding html pages. 1195 * @param encoding the text encoding name 1197 public abstract void setDefaultTextEncodingName(String encoding); argument 1200 * Gets the default text encoding name. 1202 * @return the default text encoding name as a string
|
H A D | WebView.java | 891 * The encoding parameter specifies whether the data is base64 or URL 892 * encoded. If the data is base64 encoded, the value of the encoding 894 * including null, it is assumed that the data uses ASCII encoding for 896 * hex encoding of URLs for octets outside that range. For example, '#', 906 * @param data a String of data in the given encoding 908 * @param encoding the encoding of the data 910 public void loadData(String data, String mimeType, String encoding) { argument 913 mProvider.loadData(data, mimeType, encoding); 935 * @param data a String of data in the given encoding 942 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 | 217 String message, SmsHeader smsHeader, int encoding, 223 encoding, smsHeader.languageTable, smsHeader.languageShiftTable); 216 getNewSubmitPduTracker(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, String fullMessageText) 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 | 280 private AudioFormat(int encoding, int sampleRate, int channelMask) { argument 281 mEncoding = encoding; 304 * Return the encoding. 347 * characteristics such as audio encoding, channel mask or sample rate, you indicate which 396 * Sets the data encoding format. 397 * @param encoding one of {@link AudioFormat#ENCODING_DEFAULT}, 406 public Builder setEncoding(@Encoding int encoding) throws IllegalArgumentException { argument 407 switch (encoding) { 416 mEncoding = encoding; 420 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. 307 int encoding = AudioFormat.ENCODING_DEFAULT; 310 encoding = format.getEncoding(); 313 audioParamCheck(attributes.getCapturePreset(), rate, encoding); 404 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 | 105 int encoding = in.readInt(); 108 .setChannelMask(channelMask).setEncoding(encoding).build(); 145 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 (TRACE) 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/cdma/ |
H A D | CdmaSMSDispatcher.java | 169 String message, SmsHeader smsHeader, int encoding, 176 if (encoding == SmsConstants.ENCODING_7BIT) { 168 getNewSubmitPduTracker(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, String fullMessageText) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SMSDispatcher.java | 828 int encoding = SmsConstants.ENCODING_UNKNOWN; 833 if (encoding != details.codeUnitSize 834 && (encoding == SmsConstants.ENCODING_UNKNOWN 835 || encoding == SmsConstants.ENCODING_7BIT)) { 836 encoding = details.codeUnitSize; 862 // Set the national language tables for 3GPP 7-bit encoding, if enabled. 863 if (encoding == SmsConstants.ENCODING_7BIT) { 879 getNewSubmitPduTracker(destAddr, scAddr, parts.get(i), smsHeader, encoding, 911 String message, SmsHeader smsHeader, int encoding, 910 getNewSubmitPduTracker(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, String fullMessageText) argument
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTrigger.java | 544 int encoding = in.readInt(); 548 .setEncoding(encoding) 646 (", encoding=" + captureFormat.getEncoding())) 937 int encoding = in.readInt(); 941 .setEncoding(encoding) 1012 (", encoding=" + captureFormat.getEncoding()))
|