Searched defs:encoding (Results 1 - 21 of 21) sorted by relevance

/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/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 DGsmSMSDispatcher.java219 String message, SmsHeader smsHeader, int encoding,
225 encoding, smsHeader.languageTable, smsHeader.languageShiftTable);
218 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
H A DSmsMessage.java223 * 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...]
/frameworks/base/core/java/android/webkit/
H A DWebResourceResponse.java40 * Constructs a resource response with the given MIME type, encoding, and
46 * @param encoding the resource response's encoding
50 public WebResourceResponse(String mimeType, String encoding, argument
53 mEncoding = encoding;
63 * @param encoding the resource response's encoding
73 public WebResourceResponse(String mimeType, String encoding, int statusCode, argument
75 this(mimeType, encoding, data);
100 * Sets the resource response's encoding, fo
105 setEncoding(String encoding) argument
218 WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, String reasonPhrase, Map<String, String> responseHeaders, InputStream data) argument
[all...]
H A DCacheManager.java61 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 DWebSettings.java1196 * Sets the default text encoding name to use when decoding html pages.
1199 * @param encoding the text encoding name
1201 public abstract void setDefaultTextEncodingName(String encoding); argument
1204 * Gets the default text encoding name.
1206 * @return the default text encoding name as a string
H A DWebViewProvider.java122 public void loadData(String data, String mimeType, String encoding); argument
125 String mimeType, String encoding, String historyUrl);
124 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
H A DWebView.java925 * The encoding parameter specifies whether the data is base64 or URL
926 * encoded. If the data is base64 encoded, the value of the encoding
928 * including null, it is assumed that the data uses ASCII encoding for
930 * hex encoding of URLs for octets outside that range. For example, '#',
940 * @param data a String of data in the given encoding
942 * @param encoding the encoding of the data
944 public void loadData(String data, String mimeType, String encoding) { argument
946 mProvider.loadData(data, mimeType, encoding);
968 * @param data a String of data in the given encoding
975 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java307 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/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessage.java122 public BluetoothMapBmessage setEncoding(String encoding) { argument
123 mBbodyEncoding = encoding;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSMSDispatcher.java188 String message, SmsHeader smsHeader, int encoding,
195 if (encoding == SmsConstants.ENCODING_7BIT) {
187 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/av/media/libstagefright/id3/
H A DID3.cpp511 uint8_t encoding = *frameData; local
524 // out the real encoding
534 // skip past the encoding, language, and the 0 separator
545 if (encoding == 0x00) {
548 } else if (encoding == 0x03) {
551 } else if (encoding == 0x02) {
568 } else if (encoding == 0x01) {
597 // collapse to 8 bit, then let the media scanner client figure out the real encoding
807 static size_t StringSize(const uint8_t *start, uint8_t encoding) { argument
808 if (encoding
837 uint8_t encoding = data[0]; local
862 uint8_t encoding = data[0]; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java105 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/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/media/java/android/media/
H A DAudioFormat.java42 * <li><a href="#encoding">encoding</a>
66 * <h4 id="encoding">Encoding</h4>
67 * <p>Audio encoding is used to describe the bit representation of audio data, which can be
69 * <p>For linear PCM, the audio encoding describes the sample size, 8 bits, 16 bits, or 32 bits,
84 * API {@link android.os.Build.VERSION_CODES#LOLLIPOP}, this encoding specifies that
107 * <p>For compressed audio, the encoding specifies the method of compression,
110 * a byte array or ByteBuffer. When a compressed audio encoding is specified
199 * and whose sample contents are specified by the <a href="#encoding">encoding</
533 AudioFormat(int encoding, int sampleRate, int channelMask, int channelIndexMask) argument
706 setEncoding(@ncoding int encoding) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/passpoint/
H A DWifiPasspointInfo.java190 public int encoding; field in class:WifiPasspointInfo.NaiRealm
195 return encoding + "," + realm;
388 out.writeInt(realm.encoding);
492 realm.encoding = in.readInt();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java844 int encoding = SmsConstants.ENCODING_UNKNOWN;
849 if (encoding != details.codeUnitSize
850 && (encoding == SmsConstants.ENCODING_UNKNOWN
851 || encoding == SmsConstants.ENCODING_7BIT)) {
852 encoding = details.codeUnitSize;
878 // Set the national language tables for 3GPP 7-bit encoding, if enabled.
879 if (encoding == SmsConstants.ENCODING_7BIT) {
895 getNewSubmitPduTracker(destAddr, scAddr, parts.get(i), smsHeader, encoding,
928 String message, SmsHeader smsHeader, int encoding,
927 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/wilhelm/include/SLES/
H A DOpenSLES.h754 SLuint32 encoding; member in struct:SLMetadataInfo_
2329 /* Structure used when setting audio encoding parameters */
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1300 XAuint32 encoding; member in struct:XAMetadataInfo_
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 634 milliseconds