/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 …]
|
/frameworks/base/core/java/android/webkit/ |
D | WebResourceResponse.java | 63 public WebResourceResponse(String mimeType, String encoding, in WebResourceResponse() argument 66 mEncoding = encoding; in WebResourceResponse() 90 public WebResourceResponse(String mimeType, String encoding, int statusCode, in WebResourceResponse() argument 92 this(mimeType, encoding, data); in WebResourceResponse() 122 public void setEncoding(String encoding) { in setEncoding() argument 124 mEncoding = encoding; in setEncoding() 236 public WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, in WebResourceResponse() argument 240 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 | 512 public final int encoding; field in SmsCbHeader.DataCodingScheme 517 int encoding = 0; in DataCodingScheme() local 525 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme() 532 encoding = SmsConstants.ENCODING_16BIT; in DataCodingScheme() 534 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme() 539 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme() 544 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme() 551 encoding = SmsConstants.ENCODING_8BIT; in DataCodingScheme() 555 encoding = SmsConstants.ENCODING_16BIT; in DataCodingScheme() 560 encoding = SmsConstants.ENCODING_7BIT; in DataCodingScheme() [all …]
|
D | SmsMessage.java | 271 boolean statusReportRequested, byte[] header, int encoding, in getSubmitPdu() argument 274 header, encoding, languageTable, languageShiftTable, -1, 0); in getSubmitPdu() 297 boolean statusReportRequested, byte[] header, int encoding, in getSubmitPdu() argument 300 encoding, languageTable, languageShiftTable, validityPeriod, 0); in getSubmitPdu() 323 boolean statusReportRequested, byte[] header, int encoding, in getSubmitPdu() argument 331 if (encoding == ENCODING_UNKNOWN) { in getSubmitPdu() 334 encoding = ted.codeUnitSize; in getSubmitPdu() 338 if (encoding == ENCODING_7BIT && in getSubmitPdu() 387 if (encoding == ENCODING_7BIT) { in getSubmitPdu() 409 encoding = ENCODING_16BIT; in getSubmitPdu() [all …]
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | FrameReassembler_test.cpp | 28 static size_t BytesPerSample(C2Config::pcm_encoding_t encoding) { in BytesPerSample() argument 29 return encoding == PCM_8 ? 1 in BytesPerSample() 30 : encoding == PCM_16 ? 2 in BytesPerSample() 31 : encoding == PCM_FLOAT ? 4 : 0; in BytesPerSample() 53 C2Config::pcm_encoding_t encoding, in testPushSameSize() argument 65 encoding); in testPushSameSize() 77 inputIndex * 1000000 / sampleRate / channelCount / BytesPerSample(encoding)); in testPushSameSize() 95 outputIndex * 1000000 / sampleRate / channelCount / BytesPerSample(encoding); in testPushSameSize() 110 ASSERT_EQ(encoderFrameSize * BytesPerSample(encoding), view.capacity()); in testPushSameSize() 126 encoderFrameSize * channelCount * BytesPerSample(encoding); in testPushSameSize()
|
/frameworks/libs/binary_translation/assembler/ |
D | asm_defs.py | 155 def _expand_name(insn, stem, encoding = {}): argument 165 expanded_insn.update(encoding) 175 assert all('opcodes' in encoding for _, encoding in insn['encodings'].items()) 176 expanded_insns.extend([_expand_name(insn, stem, encoding) 177 for stem, encoding in insn['encodings'].items()])
|
/frameworks/av/media/audioaidlconversion/tests/ |
D | audio_aidl_ndk_cpp_conversion_tests.cpp | 70 AudioFormatDescription make_AudioFormatDescription(const std::string& encoding) { in make_AudioFormatDescription() argument 72 result.encoding = encoding; in make_AudioFormatDescription() 76 AudioFormatDescription make_AudioFormatDescription(PcmType transport, const std::string& encoding) { in make_AudioFormatDescription() argument 77 auto result = make_AudioFormatDescription(encoding); in make_AudioFormatDescription() 104 afd.encoding += "+example"; in make_AFD_Encap_with_Enc()
|
/frameworks/base/media/java/android/media/audio/common/ |
D | AidlConversion.java | 466 if (aidl.encoding != null && !aidl.encoding.isEmpty()) { in aidl2api_AudioFormat_AudioFormatEncoding() 467 if (MediaFormat.MIMETYPE_AUDIO_AC3.equals(aidl.encoding)) { in aidl2api_AudioFormat_AudioFormatEncoding() 469 } else if (MediaFormat.MIMETYPE_AUDIO_EAC3.equals(aidl.encoding)) { in aidl2api_AudioFormat_AudioFormatEncoding() 471 } else if (MediaFormat.MIMETYPE_AUDIO_DTS.equals(aidl.encoding)) { in aidl2api_AudioFormat_AudioFormatEncoding() 473 } else if (MediaFormat.MIMETYPE_AUDIO_DTS_HD.equals(aidl.encoding)) { in aidl2api_AudioFormat_AudioFormatEncoding() 475 } else if (MediaFormat.MIMETYPE_AUDIO_MPEG.equals(aidl.encoding)) { in aidl2api_AudioFormat_AudioFormatEncoding() 477 } else if (MediaFormat.MIMETYPE_AUDIO_AAC_LC.equals(aidl.encoding)) { in aidl2api_AudioFormat_AudioFormatEncoding() 479 } else if (MediaFormat.MIMETYPE_AUDIO_AAC_HE_V1.equals(aidl.encoding)) { in aidl2api_AudioFormat_AudioFormatEncoding() 481 } else if (MediaFormat.MIMETYPE_AUDIO_AAC_HE_V2.equals(aidl.encoding)) { in aidl2api_AudioFormat_AudioFormatEncoding() 483 } else if (MediaFormat.MIMETYPE_AUDIO_IEC61937.equals(aidl.encoding) in aidl2api_AudioFormat_AudioFormatEncoding() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 144 int language, int encoding, String body, int cmasCategory, int responseType, in createCmasSmsMessage() argument 151 encodeBody(encoding, body, true, cmasBos); in createCmasSmsMessage() 192 int priority, int language, int encoding, String body) throws Exception { in createBroadcastSmsMessage() argument 197 encodeBody(encoding, body, false, bos); in createBroadcastSmsMessage() 212 private static void encodeBody(int encoding, String body, boolean isCmasRecord, in encodeBody() argument 214 if (encoding == UserData.ENCODING_7BIT_ASCII || encoding == UserData.ENCODING_IA5) { in encodeBody() 225 bos.write(5, (encoding & 0x1f)); in encodeBody() 236 } else if (encoding == UserData.ENCODING_GSM_7BIT_ALPHABET in encodeBody() 237 || encoding == UserData.ENCODING_GSM_DCS) { in encodeBody() 248 if (encoding == UserData.ENCODING_GSM_DCS) { in encodeBody() [all …]
|
/frameworks/av/services/mediametrics/ |
D | statsd_audiotrack.cpp | 110 std::string encoding; in statsd_audiotrack() local 111 if (item->getString("android.media.audiotrack.encoding", &encoding)) { in statsd_audiotrack() 112 metrics_proto.set_encoding(encoding); in statsd_audiotrack() 161 << " encoding:" << 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(encoding); in statsd_audiorecord() 166 << " encoding:" << encoding in statsd_audiorecord()
|
D | statsd_audiothread.cpp | 125 std::string encoding; in statsd_audiothread() local 126 if (item->getString(MM_PREFIX "encoding", &encoding)) { in statsd_audiothread() 127 metrics_proto.set_encoding(encoding); in statsd_audiothread() 221 << " encoding:" << encoding in statsd_audiothread()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlSerializerWrapper.java | 55 public void setOutput(OutputStream os, String encoding) throws IOException { in setOutput() argument 56 mWrapped.setOutput(os, encoding); in setOutput() 64 public void startDocument(String encoding, Boolean standalone) throws IOException { in startDocument() argument 65 mWrapped.startDocument(encoding, standalone); in startDocument()
|
/frameworks/base/media/java/android/media/tv/ |
D | SignalingDataInfo.java | 95 @NonNull String encoding) { in SignalingDataInfo() argument 101 this.mEncoding = encoding; in SignalingDataInfo() 185 String encoding = in.readString(); in SignalingDataInfo() local 194 this.mEncoding = encoding; in SignalingDataInfo()
|
/frameworks/av/media/module/id3/ |
D | ID3.cpp | 600 uint8_t encoding = *frameData; in getstring() local 641 if (encoding == 0x00) { in getstring() 644 } else if (encoding == 0x03) { in getstring() 647 } else if (encoding == 0x02) { in getstring() 669 } else if (encoding == 0x01) { in getstring() 932 static size_t StringSize(const uint8_t *start, size_t limit, uint8_t encoding) { in StringSize() argument 934 if (encoding == 0x00 || encoding == 0x03) { in StringSize() 965 uint8_t encoding = data[0]; in getAlbumArt() local 992 size_t descLen = StringSize(&data[consumed], size - consumed, encoding); in getAlbumArt() 1004 uint8_t encoding = data[0]; in getAlbumArt() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenInternalAudioRecorder.java | 70 public int encoding = AudioFormat.ENCODING_PCM_16BIT; field in ScreenInternalAudioRecorder.Config 80 + "\n encoding=" + encoding in toString() 92 mConfig.encoding) * 2; in setupSimple() 97 .setEncoding(mConfig.encoding) in setupSimple() 116 mConfig.sampleRate, AudioFormat.CHANNEL_IN_MONO, mConfig.encoding, size); in setupSimple() 125 medFormat.setInteger(MediaFormat.KEY_PCM_ENCODING, mConfig.encoding); in setupSimple()
|
/frameworks/libs/modules-utils/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/av/media/codec2/sfplugin/ |
D | FrameReassembler.h | 40 C2Config::pcm_encoding_t encoding); 44 void updatePcmEncoding(C2Config::pcm_encoding_t encoding);
|
D | FrameReassembler.cpp | 44 C2Config::pcm_encoding_t encoding) { in init() argument 50 mEncoding = encoding; in init() 68 void FrameReassembler::updatePcmEncoding(C2Config::pcm_encoding_t encoding) { in updatePcmEncoding() argument 70 mEncoding = encoding; in updatePcmEncoding()
|
/frameworks/proto_logging/stats/atoms/media/ |
D | media_drm_atoms.proto | 48 // Base64 encoding of a randomly generated, globally unique 128 bit number 51 // Base64 encoding of a randomly generated, globally unique 128 bit number 86 // Base64 encoding of a randomly generated, globally unique 128 bit number 113 // Base64 encoding of a randomly generated, globally unique 128 bit number 116 // Base64 encoding of a randomly generated, globally unique 128 bit number
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMix.java | 264 int encoding = format.getEncoding(); in canBeUsedForPrivilegedMediaCapture() local 265 if (!format.isPublicEncoding(encoding) || !format.isEncodingLinearPcm(encoding)) { in canBeUsedForPrivilegedMediaCapture() 266 return "Privileged audio capture encoding " + encoding + "is not linear"; in canBeUsedForPrivilegedMediaCapture() 268 if (format.getBytesPerSample(encoding) > PRIVILEDGED_CAPTURE_MAX_BYTES_PER_SAMPLE) { in canBeUsedForPrivilegedMediaCapture() 269 return "Privileged audio capture encoding " + encoding + " can not be over " in canBeUsedForPrivilegedMediaCapture()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BinaryXmlSerializer.java | 117 public void setOutput(@NonNull OutputStream os, @Nullable String encoding) throws IOException { in setOutput() argument 118 if (encoding != null && !StandardCharsets.UTF_8.name().equalsIgnoreCase(encoding)) { in setOutput() 147 public void startDocument(@Nullable String encoding, @Nullable Boolean standalone) in startDocument() argument 149 if (encoding != null && !StandardCharsets.UTF_8.name().equalsIgnoreCase(encoding)) { in startDocument()
|
/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/ |
D | FileIO.ts | 42 return await fs.readFile(path, { encoding: 'utf8' }); 51 await fs.writeFile(path, data, { encoding: 'utf8' });
|