/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | serialization.h | 470 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 …]
|
D | encoding.h | 119 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 …]
|
D | serializable.h | 110 EncodingType encoding; 114 DeserializeArrayType(&encoding, &size, reader, start, end)) {
|
/frameworks/base/core/java/android/webkit/ |
D | WebResourceResponse.java | 62 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()
|
D | CacheManager.java | 78 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/ |
D | SmsCbHeader.java | 511 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 …]
|
D | SmsMessage.java | 303 boolean statusReportRequested, byte[] header, int encoding, in getSubmitPdu() argument 306 header, encoding, languageTable, languageShiftTable, -1); in getSubmitPdu() 329 boolean statusReportRequested, byte[] header, int encoding, in getSubmitPdu() argument 337 if (encoding == ENCODING_UNKNOWN) { in getSubmitPdu() 340 encoding = ted.codeUnitSize; in getSubmitPdu() 344 if (encoding == ENCODING_7BIT && in getSubmitPdu() 391 if (encoding == ENCODING_7BIT) { in getSubmitPdu() 413 encoding = ENCODING_16BIT; in getSubmitPdu() 424 if (encoding == ENCODING_7BIT) { in getSubmitPdu() 669 int encoding = ted.codeUnitSize; in getDeliverPdu() local [all …]
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 78 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/ |
D | layout_validation_test.cc | 43 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/ |
D | CdmaSmsCbTest.java | 143 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/ |
D | AudioMix.java | 233 int encoding = format.getEncoding(); in canBeUsedForPrivilegedCapture() local 234 if (!format.isPublicEncoding(encoding) || !format.isEncodingLinearPcm(encoding)) { in canBeUsedForPrivilegedCapture() 235 return "Privileged audio capture encoding " + encoding + "is not linear"; in canBeUsedForPrivilegedCapture() 237 if (format.getBytesPerSample(encoding) > PRIVILEDGED_CAPTURE_MAX_BYTES_PER_SAMPLE) { in canBeUsedForPrivilegedCapture() 238 return "Privileged audio capture encoding " + encoding + " can not be over " in canBeUsedForPrivilegedCapture()
|
/frameworks/av/media/libstagefright/id3/ |
D | ID3.cpp | 587 uint8_t encoding = *frameData; in getstring() local 628 if (encoding == 0x00) { in getstring() 631 } else if (encoding == 0x03) { in getstring() 634 } else if (encoding == 0x02) { in getstring() 656 } else if (encoding == 0x01) { in getstring() 919 static size_t StringSize(const uint8_t *start, size_t limit, uint8_t encoding) { in StringSize() argument 921 if (encoding == 0x00 || encoding == 0x03) { in StringSize() 952 uint8_t encoding = data[0]; in getAlbumArt() local 979 size_t descLen = StringSize(&data[consumed], size - consumed, encoding); in getAlbumArt() 991 uint8_t encoding = data[0]; in getAlbumArt() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenInternalAudioRecorder.java | 68 public int encoding = AudioFormat.ENCODING_PCM_16BIT; field in ScreenInternalAudioRecorder.Config 78 + "\n encoding=" + encoding in toString() 90 mConfig.encoding) * 2; in setupSimple() 95 .setEncoding(mConfig.encoding) in setupSimple() 114 mConfig.sampleRate, AudioFormat.CHANNEL_IN_MONO, mConfig.encoding, size); in setupSimple() 123 medFormat.setInteger(MediaFormat.KEY_PCM_ENCODING, mConfig.encoding); in setupSimple()
|
/frameworks/av/services/mediametrics/ |
D | statsd_audiotrack.cpp | 114 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()
|
D | statsd_audiorecord.cpp | 57 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()
|
D | AudioTypes.cpp | 239 int32_t lookup<ENCODING>(const std::string &encoding) in lookup() argument 242 if (!TypeConverter<FormatTraits>::fromString(encoding, value)) { in lookup() 249 std::string lookup<ENCODING>(const std::string &encoding) in lookup() argument 252 if (!TypeConverter<FormatTraits>::fromString(encoding, value)) { in lookup() 255 return encoding.c_str() + sizeof("AUDIO_FORMAT"); in lookup()
|
D | statsd_audiothread.cpp | 126 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()
|
D | AudioAnalytics.cpp | 398 std::string encoding; in endAudioIntervalGroup() local 400 key, AMEDIAMETRICS_PROP_ENCODING, &encoding); in endAudioIntervalGroup() 490 const auto encodingForStats = types::lookup<types::ENCODING, short_enum_type_t>(encoding); in endAudioIntervalGroup() 499 << " encoding:" << encoding << "(" << encodingForStats in endAudioIntervalGroup() 539 const auto encodingForStats = types::lookup<types::ENCODING, short_enum_type_t>(encoding); in endAudioIntervalGroup() 552 << " encoding:" << encoding << "(" << encodingForStats in endAudioIntervalGroup() 630 const auto encodingForStats = types::lookup<types::ENCODING, short_enum_type_t>(encoding); in endAudioIntervalGroup() 643 << " encoding:" << encoding << "(" << encodingForStats in endAudioIntervalGroup()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastXmlSerializer.java | 328 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/ |
D | AudioFormat.java | 689 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/ |
D | WebView.java | 105 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/ |
D | TvTrackInfo.java | 79 String encoding, boolean encrypted, int audioChannelCount, int audioSampleRate, in TvTrackInfo() argument 87 mEncoding = encoding; in TvTrackInfo() 509 public Builder setEncoding(@Nullable String encoding) { in setEncoding() argument 510 mEncoding = encoding; in setEncoding()
|
/frameworks/base/libs/androidfw/tests/data/sparse/ |
D | build | 23 …AndroidManifest.xml -I $PATH_TO_FRAMEWORK_RES -o sparse.apk --enable-sparse-encoding compiled.flata
|
/frameworks/base/wifi/tests/assets/hsr1/ |
D | README.txt | 3 …se64Part.base64 - base64 encoded installation file that contains a part of non-base64 encoding type
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ServiceProviderVerifierTest.java | 216 private List<Object> makeAltNames(GeneralName name, String encoding) throws Exception { in makeAltNames() argument 219 nameEntry.add(name.getEncoded(encoding)); in makeAltNames()
|