Home
last modified time | relevance | path

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

123

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dserialization.h470 inline void SerializeEncoding(EncodingType encoding, void*& buffer) {
471 SerializeRaw(encoding, buffer);
475 const EncodingType encoding = EncodeType(value);
476 SerializeEncoding(encoding, buffer);
481 inline void SerializeExtEncoding(EncodingType encoding,
484 SerializeEncoding(encoding, buffer);
485 if (encoding == ENCODING_TYPE_EXT8) {
488 } else if (encoding == ENCODING_TYPE_EXT16) {
491 } else if (encoding == ENCODING_TYPE_EXT32) {
517 const EncodingType encoding = EncodeType(value);
[all …]
Dencoding.h119 inline constexpr bool IsFixintEncoding(EncodingType encoding) { in IsFixintEncoding() argument
120 switch (encoding) { in IsFixintEncoding()
129 inline constexpr bool IsUnsignedFixintEncoding(EncodingType encoding) { in IsUnsignedFixintEncoding() argument
130 switch (encoding) { in IsUnsignedFixintEncoding()
138 inline constexpr bool IsInt8Encoding(EncodingType encoding) { in IsInt8Encoding() argument
139 switch (encoding) { in IsInt8Encoding()
149 inline constexpr bool IsUInt8Encoding(EncodingType encoding) { in IsUInt8Encoding() argument
150 switch (encoding) { in IsUInt8Encoding()
159 inline constexpr bool IsInt16Encoding(EncodingType encoding) { in IsInt16Encoding() argument
160 switch (encoding) { in IsInt16Encoding()
[all …]
Dserializable.h110 EncodingType encoding;
114 DeserializeArrayType(&encoding, &size, reader, start, end)) {
/frameworks/base/core/java/android/webkit/
DWebResourceResponse.java62 public WebResourceResponse(String mimeType, String encoding, in WebResourceResponse() argument
65 mEncoding = encoding; in WebResourceResponse()
89 public WebResourceResponse(String mimeType, String encoding, int statusCode, in WebResourceResponse() argument
91 this(mimeType, encoding, data); in WebResourceResponse()
121 public void setEncoding(String encoding) { in setEncoding() argument
123 mEncoding = encoding; in setEncoding()
235 public WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, in WebResourceResponse() argument
239 mEncoding = encoding; in WebResourceResponse()
DCacheManager.java78 String encoding; field in CacheManager.CacheResult
195 return encoding; in getEncoding()
252 public void setEncoding(String encoding) { in setEncoding() argument
253 this.encoding = encoding; in setEncoding()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java511 public final int encoding; field in SmsCbHeader.DataCodingScheme
516 int encoding = 0; in DataCodingScheme() local
524 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme()
531 encoding = SmsConstants.ENCODING_16BIT; in DataCodingScheme()
533 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme()
538 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme()
543 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme()
550 encoding = SmsConstants.ENCODING_8BIT; in DataCodingScheme()
554 encoding = SmsConstants.ENCODING_16BIT; in DataCodingScheme()
559 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme()
[all …]
DSmsMessage.java273 boolean statusReportRequested, byte[] header, int encoding, in getSubmitPdu() argument
276 header, encoding, languageTable, languageShiftTable, -1); in getSubmitPdu()
299 boolean statusReportRequested, byte[] header, int encoding, in getSubmitPdu() argument
307 if (encoding == ENCODING_UNKNOWN) { in getSubmitPdu()
310 encoding = ted.codeUnitSize; in getSubmitPdu()
314 if (encoding == ENCODING_7BIT && in getSubmitPdu()
363 if (encoding == ENCODING_7BIT) { in getSubmitPdu()
385 encoding = ENCODING_16BIT; in getSubmitPdu()
396 if (encoding == ENCODING_7BIT) { in getSubmitPdu()
641 int encoding = ted.codeUnitSize; in getDeliverPdu() local
[all …]
/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()
134 for (Encoding encoding : Encoding.values()) { in findEncodingByName()
135 if (encoding.expatName.equalsIgnoreCase(encodingName)) in findEncodingByName()
136 return encoding; in findEncodingByName()
/frameworks/base/startop/view_compiler/
Dlayout_validation_test.cc43 const string xml = R"(<?xml version="1.0" encoding="utf-8"?>
85 const string xml = R"(<?xml version="1.0" encoding="utf-8"?>
104 const string xml = R"(<?xml version="1.0" encoding="utf-8"?>
124 const string xml = R"(<?xml version="1.0" encoding="utf-8"?>
146 const string xml = R"(<?xml version="1.0" encoding="utf-8"?>
/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/base/media/java/android/media/audiopolicy/
DAudioMix.java223 int encoding = format.getEncoding(); in canBeUsedForPrivilegedCapture() local
224 if (!format.isPublicEncoding(encoding) || !format.isEncodingLinearPcm(encoding)) { in canBeUsedForPrivilegedCapture()
225 return "Privileged audio capture encoding " + encoding + "is not linear"; in canBeUsedForPrivilegedCapture()
227 if (format.getBytesPerSample(encoding) > PRIVILEDGED_CAPTURE_MAX_BYTES_PER_SAMPLE) { in canBeUsedForPrivilegedCapture()
228 return "Privileged audio capture encoding " + encoding + " can not be over " in canBeUsedForPrivilegedCapture()
/frameworks/av/media/libstagefright/id3/
DID3.cpp588 uint8_t encoding = *frameData; in getstring() local
629 if (encoding == 0x00) { in getstring()
632 } else if (encoding == 0x03) { in getstring()
635 } else if (encoding == 0x02) { in getstring()
657 } else if (encoding == 0x01) { in getstring()
920 static size_t StringSize(const uint8_t *start, size_t limit, uint8_t encoding) { in StringSize() argument
922 if (encoding == 0x00 || encoding == 0x03) { in StringSize()
953 uint8_t encoding = data[0]; in getAlbumArt() local
980 size_t descLen = StringSize(&data[consumed], size - consumed, encoding); in getAlbumArt()
992 uint8_t encoding = data[0]; in getAlbumArt() local
[all …]
/frameworks/av/services/mediaanalytics/
Dstatsd_audiotrack.cpp114 std::string encoding; in statsd_audiotrack() local
115 if (item->getString("android.media.audiotrack.encoding", &encoding)) { in statsd_audiotrack()
116 metrics_proto.set_encoding(std::move(encoding)); in statsd_audiotrack()
Dstatsd_audiorecord.cpp57 std::string encoding; in statsd_audiorecord() local
58 if (item->getString("android.media.audiorecord.encoding", &encoding)) { in statsd_audiorecord()
59 metrics_proto.set_encoding(std::move(encoding)); in statsd_audiorecord()
Dstatsd_audiothread.cpp126 std::string encoding; in statsd_audiothread() local
127 if (item->getString(MM_PREFIX "encoding", &encoding)) { in statsd_audiothread()
128 metrics_proto.set_encoding(std::move(encoding)); in statsd_audiothread()
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java328 public void setOutput(OutputStream os, String encoding) throws IOException, in setOutput() argument
334 mCharset = Charset.forName(encoding).newEncoder() in setOutput()
339 encoding).initCause(e)); in setOutput()
342 encoding).initCause(e)); in setOutput()
347 encoding == null in setOutput()
349 : new OutputStreamWriter(os, encoding)); in setOutput()
368 public void startDocument(String encoding, Boolean standalone) throws IOException, in startDocument() argument
/frameworks/base/media/java/android/media/
DAudioFormat.java689 private AudioFormat(int encoding, int sampleRate, int channelMask, int channelIndexMask) { in AudioFormat() argument
695 encoding, sampleRate, channelMask, channelIndexMask in AudioFormat()
700 int encoding, int sampleRate, int channelMask, int channelIndexMask) { in AudioFormat() argument
703 ? encoding : ENCODING_INVALID; in AudioFormat()
905 public Builder setEncoding(@Encoding int encoding) throws IllegalArgumentException { in setEncoding() argument
906 switch (encoding) { in setEncoding()
929 mEncoding = encoding; in setEncoding()
933 throw new IllegalArgumentException("Invalid encoding " + encoding); in setEncoding()
/frameworks/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/base/media/java/android/media/tv/
DTvTrackInfo.java79 String encoding, boolean encrypted, int audioChannelCount, int audioSampleRate, in TvTrackInfo() argument
87 mEncoding = encoding; in TvTrackInfo()
502 public Builder setEncoding(@Nullable String encoding) { in setEncoding() argument
503 mEncoding = encoding; in setEncoding()
/frameworks/base/libs/androidfw/tests/data/sparse/
Dbuild23 …AndroidManifest.xml -I $PATH_TO_FRAMEWORK_RES -o sparse.apk --enable-sparse-encoding compiled.flata
/frameworks/base/wifi/tests/assets/hsr1/
DREADME.txt3 …se64Part.base64 - base64 encoded installation file that contains a part of non-base64 encoding type
/frameworks/base/core/proto/android/stats/mediametrics/
Dmediametrics.proto48 optional string encoding = 1; field
89 optional string encoding = 15; field
122 optional string encoding = 9; field
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java550 String encoding; in run() local
554 encoding = "8bit"; in run()
558 encoding = "16bit"; in run()
562 encoding = "float"; in run()
607 format.getSampleRate() + "hz_" + encoding + ".pcm")); in run()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DServiceProviderVerifierTest.java215 private List<Object> makeAltNames(GeneralName name, String encoding) throws Exception { in makeAltNames() argument
218 nameEntry.add(name.getEncoded(encoding)); in makeAltNames()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dgradle.properties13 # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding

123