Searched refs:encoding (Results 1 - 25 of 29) sorted by last modified time

12

/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1300 XAuint32 encoding; member in struct:XAMetadataInfo_
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h754 SLuint32 encoding; member in struct:SLMetadataInfo_
2329 /* Structure used when setting audio encoding parameters */
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp1817 // the information about the key (size, lang, encoding)
1854 pKey->encoding = SL_CHARACTERENCODING_UTF8;
1890 // the information about the value (size, lang, encoding)
1921 pValue->encoding = SL_CHARACTERENCODING_BINARY;
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp358 // u.pcmMetaData->encoding == SL_CHARACTERENCODING_BINARY
692 printf("key[%d] size=%d, name=%s \tvalue size=%d encoding=0x%X langCountry=%s\n",
693 i, keyInfo->size, keyInfo->data, valueSize, keyInfo->encoding,
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduParser.java908 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/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java852 int encoding = SmsConstants.ENCODING_UNKNOWN;
859 if (encoding != details.codeUnitSize
860 && (encoding == SmsConstants.ENCODING_UNKNOWN
861 || encoding == SmsConstants.ENCODING_7BIT)) {
862 encoding = details.codeUnitSize;
882 // Set the national language tables for 3GPP 7-bit encoding, if enabled.
883 if (encoding == SmsConstants.ENCODING_7BIT) {
898 sendNewSubmitPdu(destAddr, scAddr, parts.get(i), smsHeader, encoding,
908 String message, SmsHeader smsHeader, int encoding,
907 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 DCdmaSMSDispatcher.java316 String message, SmsHeader smsHeader, int encoding,
321 if (encoding == SmsConstants.ENCODING_7BIT) {
315 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
H A DRuimRecords.java277 int encoding = data[1];
293 switch (encoding) {
307 log("SPN encoding not supported");
341 // C.S0065 section 5.2.2 for IMSI_M encoding
342 // C.S0005 section 2.3.1 for MIN encoding in IMSI_M.
410 // C.S0065 section 5.2.57 for EFeprl encoding
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSMSDispatcher.java274 String message, SmsHeader smsHeader, int encoding,
278 encoding, smsHeader.languageTable, smsHeader.languageShiftTable);
273 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int encoding, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart) argument
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 DSmsMessage.java224 * specified encoding.
227 * @param encoding Encoding defined by constants in
238 boolean statusReportRequested, byte[] header, int encoding,
246 if (encoding == ENCODING_UNKNOWN) {
247 // Find the best encoding to use
249 encoding = ted.codeUnitSize;
253 if (encoding == ENCODING_7BIT &&
285 if (encoding == ENCODING_7BIT) {
303 encoding = ENCODING_16BIT;
312 if (encoding
236 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested, byte[] header, int encoding, int languageTable, int languageShiftTable) argument
[all...]
/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/ex/variablespeed/jni/
H A Dvariablespeed.cc238 if (keyInfo->encoding == SL_CHARACTERENCODING_ASCII
239 || keyInfo->encoding == SL_CHARACTERENCODING_UTF8) {
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java113 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/compile/libbcc/runtime/lib/
H A Dgcc_personality_v0.c101 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/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/base/core/java/android/webkit/
H A DBrowserFrame.java302 * @param encoding Character set encoding of the provided data.
306 String encoding, String historyUrl) {
323 nativeLoadData(baseUrl, data, mimeType, encoding, historyUrl);
1281 String mimeType, String encoding, String historyUrl);
305 loadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
1280 nativeLoadData(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
H A DCacheManager.java75 String encoding; field in class:CacheManager.CacheResult
172 * Gets the encoding of this cache entry.
174 * @return the encoding of this cache entry
177 return encoding;
225 * Sets the encoding of this cache entry.
227 * @param encoding the encoding of this cache entry
229 public void setEncoding(String encoding) { argument
230 this.encoding = encoding;
[all...]
H A DWebResourceResponse.java35 * 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 DWebSettings.java1222 * Sets the default text encoding name to use when decoding html pages.
1225 * @param encoding the text encoding name
1227 public synchronized void setDefaultTextEncodingName(String encoding) { argument
1232 * Gets the default text encoding name.
1234 * @return the default text encoding name as a string
H A DWebSettingsClassic.java1440 public synchronized void setDefaultTextEncodingName(String encoding) { argument
1441 if (encoding != null && !encoding.equals(mDefaultTextEncoding)) {
1442 mDefaultTextEncoding = encoding;
H A DWebView.java810 * The encoding parameter specifies whether the data is base64 or URL
811 * encoded. If the data is base64 encoded, the value of the encoding
813 * including null, it is assumed that the data uses ASCII encoding for
815 * hex encoding of URLs for octets outside that range. For example, '#',
825 * @param data a String of data in the given encoding
827 * @param encoding the encoding of the data
829 public void loadData(String data, String mimeType, String encoding) { argument
831 mProvider.loadData(data, mimeType, encoding);
850 * @param data a String of data in the given encoding
857 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
[all...]
H A DWebViewClassic.java2565 public void loadData(String data, String mimeType, String encoding) { argument
2566 loadDataImpl(data, mimeType, encoding);
2569 private void loadDataImpl(String data, String mimeType, String encoding) { argument
2572 if ("base64".equals(encoding)) {
2585 String mimeType, String encoding, String historyUrl) {
2588 loadDataImpl(data, mimeType, encoding);
2596 arg.mEncoding = encoding;
2584 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
H A DWebViewProvider.java111 public void loadData(String data, String mimeType, String encoding); argument
114 String mimeType, String encoding, String historyUrl);
113 loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) argument
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java286 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='"

Completed in 960 milliseconds

12