Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 137) sorted by relevance

123456

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSmsCbMessage.java111 int encoding; in parseBody() local
120 encoding = SmsConstants.ENCODING_7BIT; in parseBody()
127 encoding = SmsConstants.ENCODING_16BIT; in parseBody()
129 encoding = SmsConstants.ENCODING_7BIT; in parseBody()
134 encoding = SmsConstants.ENCODING_7BIT; in parseBody()
139 encoding = SmsConstants.ENCODING_7BIT; in parseBody()
146 encoding = SmsConstants.ENCODING_8BIT; in parseBody()
150 encoding = SmsConstants.ENCODING_16BIT; in parseBody()
155 encoding = SmsConstants.ENCODING_7BIT; in parseBody()
172 encoding = SmsConstants.ENCODING_8BIT; in parseBody()
[all …]
DSmsMessage.java237 boolean statusReportRequested, byte[] header, int encoding, in getSubmitPdu() argument
245 if (encoding == ENCODING_UNKNOWN) { in getSubmitPdu()
248 encoding = ted.codeUnitSize; in getSubmitPdu()
252 if (encoding == ENCODING_7BIT && in getSubmitPdu()
284 if (encoding == ENCODING_7BIT) { in getSubmitPdu()
302 encoding = ENCODING_16BIT; in getSubmitPdu()
311 if (encoding == ENCODING_7BIT) { in getSubmitPdu()
/frameworks/base/core/java/android/webkit/
DWebResourceResponse.java45 public WebResourceResponse(String mimeType, String encoding, in WebResourceResponse() argument
48 mEncoding = encoding; in WebResourceResponse()
67 public WebResourceResponse(String mimeType, String encoding, int statusCode, in WebResourceResponse() argument
69 this(mimeType, encoding, data); in WebResourceResponse()
98 public void setEncoding(String encoding) { in setEncoding() argument
99 mEncoding = encoding; in setEncoding()
DCacheManager.java61 String encoding; field in CacheManager.CacheResult
163 return encoding; in getEncoding()
215 public void setEncoding(String encoding) { in setEncoding() argument
216 this.encoding = encoding; in setEncoding()
DWebViewProvider.java114 public void loadData(String data, String mimeType, String encoding); in loadData() argument
117 String mimeType, String encoding, String historyUrl); in loadDataWithBaseURL() argument
/frameworks/base/core/java/android/util/
DXml.java78 public static void parse(InputStream in, Encoding encoding, in parse() argument
83 source.setEncoding(encoding.expatName); in parse()
152 for (Encoding encoding : Encoding.values()) { in findEncodingByName()
153 if (encoding.expatName.equalsIgnoreCase(encodingName)) in findEncodingByName()
154 return encoding; in findEncodingByName()
/frameworks/base/media/java/android/media/
DAudioFormat.java257 private AudioFormat(int encoding, int sampleRate, int channelMask) { in AudioFormat() argument
258 mEncoding = encoding; in AudioFormat()
383 public Builder setEncoding(@Encoding int encoding) throws IllegalArgumentException { in setEncoding() argument
384 switch (encoding) { in setEncoding()
393 mEncoding = encoding; in setEncoding()
397 throw new IllegalArgumentException("Invalid encoding " + encoding); in setEncoding()
DAudioRecord.java302 int encoding = AudioFormat.ENCODING_DEFAULT; in AudioRecord() local
305 encoding = format.getEncoding(); in AudioRecord()
308 audioParamCheck(attributes.getCapturePreset(), rate, encoding); in AudioRecord() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java143 int language, int encoding, String body, int cmasCategory, int responseType, in createCmasSmsMessage() argument
150 encodeBody(encoding, body, true, cmasBos); in createCmasSmsMessage()
191 int priority, int language, int encoding, String body) throws Exception { in createBroadcastSmsMessage() argument
196 encodeBody(encoding, body, false, bos); in createBroadcastSmsMessage()
211 private static void encodeBody(int encoding, String body, boolean isCmasRecord, in encodeBody() argument
213 if (encoding == UserData.ENCODING_7BIT_ASCII || encoding == UserData.ENCODING_IA5) { in encodeBody()
224 bos.write(5, (encoding & 0x1f)); in encodeBody()
235 } else if (encoding == UserData.ENCODING_GSM_7BIT_ALPHABET in encodeBody()
236 || encoding == UserData.ENCODING_GSM_DCS) { in encodeBody()
247 if (encoding == UserData.ENCODING_GSM_DCS) { in encodeBody()
[all …]
/frameworks/av/media/libstagefright/id3/
DID3.cpp491 uint8_t encoding = *frameData; in getstring() local
522 if (encoding == 0x00) { in getstring()
525 } else if (encoding == 0x03) { in getstring()
528 } else if (encoding == 0x02) { in getstring()
545 } else if (encoding == 0x01) { in getstring()
762 static size_t StringSize(const uint8_t *start, uint8_t encoding) { in StringSize() argument
763 if (encoding == 0x00 || encoding == 0x03) { in StringSize()
792 uint8_t encoding = data[0]; in getAlbumArt() local
805 size_t descLen = StringSize(&data[2 + mimeLen], encoding); in getAlbumArt()
811 uint8_t encoding = data[0]; in getAlbumArt() local
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java307 public void setOutput(OutputStream os, String encoding) throws IOException, in setOutput() argument
313 mCharset = Charset.forName(encoding).newEncoder(); in setOutput()
316 encoding).initCause(e)); in setOutput()
319 encoding).initCause(e)); in setOutput()
324 encoding == null in setOutput()
326 : new OutputStreamWriter(os, encoding)); in setOutput()
345 public void startDocument(String encoding, Boolean standalone) throws IOException, in startDocument() argument
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
DWebView.java105 public void loadData(String data, String mimeType, String encoding) { in loadData() argument
109 String mimeType, String encoding, String failUrl) { in loadDataWithBaseURL() argument
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapBmessage.java122 public BluetoothMapBmessage setEncoding(String encoding) { in setEncoding() argument
123 mBbodyEncoding = encoding; in setEncoding()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java93 int encoding = in.readInt(); in AudioPolicyConfig() local
96 .setChannelMask(channelMask).setEncoding(encoding).build(); in AudioPolicyConfig()
/frameworks/base/docs/html/guide/topics/resources/
Dstyle-resource.jd42 <?xml version="1.0" encoding="utf-8"?>
100 <?xml version="1.0" encoding="utf-8"?>
114 <?xml version="1.0" encoding="utf-8"?>
Dmore-resources.jd55 <?xml version="1.0" encoding="utf-8"?>
87 <?xml version="1.0" encoding="utf-8"?>
151 <?xml version="1.0" encoding="utf-8"?>
184 <?xml version="1.0" encoding="utf-8"?>
265 <?xml version="1.0" encoding="utf-8"?>
299 <?xml version="1.0" encoding="utf-8"?>
361 <?xml version="1.0" encoding="utf-8"?>
396 <?xml version="1.0" encoding="utf-8"?>
467 <?xml version="1.0" encoding="utf-8"?>
501 <?xml version="1.0" encoding="utf-8"?>
[all …]
/frameworks/base/docs/html/guide/appendix/
Dmedia-formats.jd32 …re device-specific. <strong>However, it is a best practice to use media encoding profiles that are…
283 <p>Table 2, below, lists examples of video encoding profiles and parameters that the Android
287 <p>In addition to these encoding parameter recommendations,
292 <p class="table-caption" id="encoding-recommendations-table"><strong>Table 2.</strong>
293 Examples of supported video encoding parameters for the H.264 Baseline Profile codec.</p>
346 <p class="table-caption" id="encoding-recommendations-table-vp8"><strong>Table 3.</strong>
347 Examples of supported video encoding parameters for the VP8 codec.</p>
/frameworks/webview/chromium/tools/
Dgenerate_local_manifest.py40 encoding='UTF-8',
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/
Dgradle.properties13 # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding
/frameworks/base/docs/html/training/basics/supporting-devices/
Dlanguages.jd74 &lt;?xml version="1.0" encoding="utf-8"?>
85 &lt;?xml version="1.0" encoding="utf-8"?>
96 &lt;?xml version="1.0" encoding="utf-8"?>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java615 int encoding = SmsConstants.ENCODING_UNKNOWN; in sendMultipartText() local
620 if (encoding != details.codeUnitSize in sendMultipartText()
621 && (encoding == SmsConstants.ENCODING_UNKNOWN in sendMultipartText()
622 || encoding == SmsConstants.ENCODING_7BIT)) { in sendMultipartText()
623 encoding = details.codeUnitSize; in sendMultipartText()
648 if (encoding == SmsConstants.ENCODING_7BIT) { in sendMultipartText()
663 sendNewSubmitPdu(destAddr, scAddr, parts.get(i), smsHeader, encoding, in sendMultipartText()
673 String message, SmsHeader smsHeader, int encoding, in sendNewSubmitPdu() argument
/frameworks/webview/chromium/java/com/android/webview/chromium/
DContentSettingsAdapter.java545 public synchronized void setDefaultTextEncodingName(String encoding) { in setDefaultTextEncodingName() argument
546 if (DebugFlags.TRACE_API) Log.d(LOGTAG, "setDefaultTextEncodingName=" + encoding); in setDefaultTextEncodingName()
547 mAwSettings.setDefaultTextEncodingName(encoding); in setDefaultTextEncodingName()
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt83 using the color buffer for video encoding, the presentation time of the
106 video frame timestamps for video encoding, display latency metrics, and
/frameworks/base/docs/html/training/basics/actionbar/
Dstyling.jd143 &lt;?xml version="1.0" encoding="utf-8"?>
172 &lt;?xml version="1.0" encoding="utf-8"?>
231 &lt;?xml version="1.0" encoding="utf-8"?>
270 &lt;?xml version="1.0" encoding="utf-8"?>
339 &lt;?xml version="1.0" encoding="utf-8"?>
389 &lt;?xml version="1.0" encoding="utf-8"?>
414 &lt;?xml version="1.0" encoding="utf-8"?>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java166 String message, SmsHeader smsHeader, int encoding, in sendNewSubmitPdu() argument
172 if (encoding == SmsConstants.ENCODING_7BIT) { in sendNewSubmitPdu()

123456