/frameworks/base/packages/InputDevices/res/raw/ |
D | keyboard_layout_persian.kcm | 25 ctrl, alt, meta: none 32 ctrl, alt, meta: none 39 ctrl, alt, meta: none 46 ctrl, alt, meta: none 53 ctrl, alt, meta: none 60 ctrl, alt, meta: none 67 ctrl, alt, meta: none 74 ctrl, alt, meta: none 81 ctrl, alt, meta: none 88 ctrl, alt, meta: none [all …]
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 71 const sp<MetaData> &meta, sp<AMessage> &msg, uint32_t key, const char *name) { 73 if (meta->findInt32(key, &value)) { 79 static void convertMetaDataToMessageColorAspects(const MetaDataBase *meta, sp<AMessage> &msg) { in convertMetaDataToMessageColorAspects() argument 85 meta->findInt32(kKeyColorRange, &range); in convertMetaDataToMessageColorAspects() 86 meta->findInt32(kKeyColorPrimaries, &primaries); in convertMetaDataToMessageColorAspects() 87 meta->findInt32(kKeyTransferFunction, &transferFunction); in convertMetaDataToMessageColorAspects() 88 meta->findInt32(kKeyColorMatrix, &colorMatrix); in convertMetaDataToMessageColorAspects() 720 void convertMessageToMetaDataFromMappings(const sp<AMessage> &msg, sp<MetaData> &meta) { in convertMessageToMetaDataFromMappings() argument 724 meta->setCString(elem.second, value.c_str()); in convertMessageToMetaDataFromMappings() 731 meta->setFloat(elem.second, value); in convertMessageToMetaDataFromMappings() [all …]
|
D | MetaDataUtils.cpp | 33 bool MakeAVCCodecSpecificData(MetaDataBase &meta, const uint8_t *data, size_t size) { in MakeAVCCodecSpecificData() argument 47 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData() 49 meta.setData(kKeyAVCC, kTypeAVCC, csd->data(), csd->size()); in MakeAVCCodecSpecificData() 50 meta.setInt32(kKeyWidth, width); in MakeAVCCodecSpecificData() 51 meta.setInt32(kKeyHeight, height); in MakeAVCCodecSpecificData() 53 meta.setInt32(kKeySARWidth, sarWidth); in MakeAVCCodecSpecificData() 54 meta.setInt32(kKeySARHeight, sarHeight); in MakeAVCCodecSpecificData() 59 bool MakeAVCCodecSpecificData(AMediaFormat *meta, const uint8_t *data, size_t size) { in MakeAVCCodecSpecificData() argument 60 if (meta == nullptr || data == nullptr || size == 0) { in MakeAVCCodecSpecificData() 73 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData() [all …]
|
D | MediaTrack.cpp | 121 MetaDataBase &meta = (*buffer)->meta_data(); in read() local 128 meta.setInt64(kKeyTime, val64); in read() 131 meta.setInt64(kKeyDuration, val64); in read() 134 meta.setInt64(kKeyTargetTime, val64); in read() 138 meta.setInt32(kKeyIsSyncFrame, val32); in read() 141 meta.setInt32(kKeyTemporalLayerId, val32); in read() 144 meta.setInt32(kKeyTemporalLayerCount, val32); in read() 147 meta.setInt32(kKeyCryptoDefaultIVSize, val32); in read() 150 meta.setInt32(kKeyCryptoMode, val32); in read() 153 meta.setInt32(kKeyEncryptedByteBlock, val32); in read() [all …]
|
D | RemoteMediaExtractor.cpp | 110 sp<MetaData> meta = new MetaData(); in getTrackMetaData() local 111 if (mExtractor->getTrackMetaData(*meta.get(), index, flags) == OK) { in getTrackMetaData() 112 return meta; in getTrackMetaData() 118 sp<MetaData> meta = new MetaData(); in getMetaData() local 119 if (mExtractor->getMetaData(*meta.get()) == OK) { in getMetaData() 120 return meta; in getMetaData()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | AnotherPacketSource.cpp | 40 AnotherPacketSource::AnotherPacketSource(const sp<MetaData> &meta) in AnotherPacketSource() argument 50 setFormat(meta); in AnotherPacketSource() 55 void AnotherPacketSource::setFormat(const sp<MetaData> &meta) { in setFormat() argument 64 if (meta == NULL) { in setFormat() 68 mFormat = meta; in setFormat() 70 CHECK(meta->findCString(kKeyMIMEType, &mime)); in setFormat() 102 if (!buffer->meta()->findInt32("discontinuity", &discontinuity)) { in getFormat() 104 if (buffer->meta()->findObject("format", &object)) { in getFormat() 128 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) { in dequeueAccessUnit() 142 mLatestDequeuedMeta = (*buffer)->meta()->dup(); in dequeueAccessUnit() [all …]
|
/frameworks/native/libs/vr/libbufferhub/ |
D | consumer_buffer.cpp | 98 int ConsumerBuffer::Acquire(LocalHandle* ready_fence, void* meta, in Acquire() argument 109 if (meta && user_metadata_size) { in Acquire() 113 memcpy(meta, metadata_src, user_metadata_size); in Acquire() 138 int ConsumerBuffer::LocalRelease(const DvrNativeBufferMetadata* meta, in LocalRelease() argument 140 if (const int error = CheckMetadata(meta->user_metadata_size)) in LocalRelease() 170 if (meta->user_metadata_ptr && meta->user_metadata_size) { in LocalRelease() 171 void* metadata_src = reinterpret_cast<void*>(meta->user_metadata_ptr); in LocalRelease() 172 memcpy(user_metadata_ptr_, metadata_src, meta->user_metadata_size); in LocalRelease() 186 DvrNativeBufferMetadata meta; in Release() local 187 if (const int error = LocalRelease(&meta, release_fence)) in Release() [all …]
|
D | producer_buffer.cpp | 77 int ProducerBuffer::LocalPost(const DvrNativeBufferMetadata* meta, in LocalPost() argument 79 if (const int error = CheckMetadata(meta->user_metadata_size)) in LocalPost() 118 memcpy(metadata_ptr, meta, sizeof(DvrNativeBufferMetadata)); in LocalPost() 120 if (meta->user_metadata_ptr && meta->user_metadata_size) { in LocalPost() 121 void* metadata_src = reinterpret_cast<void*>(meta->user_metadata_ptr); in LocalPost() 122 memcpy(user_metadata_ptr_, metadata_src, meta->user_metadata_size); in LocalPost() 133 int ProducerBuffer::Post(const LocalHandle& ready_fence, const void* meta, in Post() argument 139 canonical_meta.user_metadata_ptr = reinterpret_cast<uint64_t>(meta); in Post() 149 int ProducerBuffer::PostAsync(const DvrNativeBufferMetadata* meta, in PostAsync() argument 153 if (const int error = LocalPost(meta, ready_fence)) in PostAsync() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaMetadataTest.java | 47 public static METADATA_EXPECTEDRESULT meta; field in MediaMetadataTest 84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value); in validateMetatData() 88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value); in validateMetatData() 92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value); in validateMetatData() 96 assertEquals(TAG, meta_data_file[fileIndex][meta.AUTHOR.ordinal()], value); in validateMetatData() 100 assertEquals(TAG, meta_data_file[fileIndex][meta.COMPOSER.ordinal()], value); in validateMetatData() 104 assertEquals(TAG, meta_data_file[fileIndex][meta.DATE.ordinal()], value); in validateMetatData() 108 assertEquals(TAG, meta_data_file[fileIndex][meta.GENRE.ordinal()], value); in validateMetatData() 112 assertEquals(TAG, meta_data_file[fileIndex][meta.TITLE.ordinal()], value); in validateMetatData() 116 assertEquals(TAG, meta_data_file[fileIndex][meta.YEAR.ordinal()], value); in validateMetatData() [all …]
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 38 AMediaFormat *meta, 189 media_status_t AACExtractor::getMetaData(AMediaFormat *meta) { in getMetaData() argument 190 AMediaFormat_clear(meta); in getMetaData() 192 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_AAC_ADTS); in getMetaData() 210 media_status_t AACExtractor::getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t /* flags *… in getTrackMetaData() argument 215 return AMediaFormat_copy(meta, mMeta); in getTrackMetaData() 225 AMediaFormat *meta, in AACSource() argument 229 mMeta(meta), in AACSource() 266 media_status_t AACSource::getFormat(AMediaFormat *meta) { in getFormat() argument 267 return AMediaFormat_copy(meta, mMeta); in getFormat() [all …]
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 246 AMediaFormat *meta = trackInfo.mMeta; in MatroskaSource() local 249 CHECK(AMediaFormat_getString(meta, AMEDIAFORMAT_KEY_MIME, &mime)); in MatroskaSource() 314 media_status_t MatroskaSource::getFormat(AMediaFormat *meta) { in getFormat() argument 315 return AMediaFormat_copy(meta, mExtractor->mTracks.itemAt(mTrackIndex).mMeta); in getFormat() 660 AMediaFormat *meta = mbuf->meta_data(); in setWebmBlockCryptoInfo() local 668 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_KEY, keyId, keyIdSize); in setWebmBlockCryptoInfo() 670 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_IV, ctrCounter, 16); in setWebmBlockCryptoInfo() 723 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, in setWebmBlockCryptoInfo() 725 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, in setWebmBlockCryptoInfo() 746 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, in setWebmBlockCryptoInfo() [all …]
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 213 AMediaFormat *meta, DataSourceHelper *source, 220 virtual media_status_t getFormat(AMediaFormat *meta); 253 DataSourceHelper *source, Mp3Meta *meta) in MP3Extractor() argument 265 if (meta != NULL) { in MP3Extractor() 268 pos = meta->pos; in MP3Extractor() 269 header = meta->header; in MP3Extractor() 270 post_id3_pos = meta->post_id3_pos; in MP3Extractor() 427 AMediaFormat *meta, in getTrackMetaData() argument 432 AMediaFormat_copy(meta, mMeta); in getTrackMetaData() 446 AMediaFormat *meta, DataSourceHelper *source, in MP3Source() argument [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | DialerKeyListener.java | 56 int meta = getMetaState(content, event); in lookup() local 63 if ((meta & (MetaKeyKeyListener.META_ALT_ON | MetaKeyKeyListener.META_SHIFT_ON)) == 0) { in lookup() 81 if (meta != 0) { in lookup() 86 for (int i = 1; i < kd.meta.length; i++) { in lookup() 87 if (ok(accepted, kd.meta[i])) { in lookup() 88 return kd.meta[i]; in lookup()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | Utils.h | 33 const MetaDataBase *meta, sp<AMessage> *format); 35 const sp<MetaData> &meta, sp<AMessage> *format); 37 const sp<AMessage> &format, sp<MetaData> &meta); 53 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta); 56 status_t getAudioOffloadInfo(const sp<MetaData>& meta, bool hasVideo, 60 bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo, 70 explicit HLSTime(const sp<AMessage> &meta = NULL);
|
D | MetaDataUtils.h | 28 bool MakeAVCCodecSpecificData(MetaDataBase &meta, const uint8_t *data, size_t size); 29 bool MakeAVCCodecSpecificData(AMediaFormat *meta, const uint8_t *data, size_t size); 31 bool MakeAACCodecSpecificData(MetaDataBase &meta, const uint8_t *data, size_t size); 32 bool MakeAACCodecSpecificData(MetaDataBase &meta, unsigned profile, unsigned sampling_freq_index, 35 bool MakeAACCodecSpecificData(AMediaFormat *meta, unsigned profile, unsigned sampling_freq_index,
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 201 sp<MetaData> meta; in AMediaExtractor_getSampleFlags() local 202 status_t err = mData->mImpl->getSampleMeta(&meta); in AMediaExtractor_getSampleFlags() 207 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) { in AMediaExtractor_getSampleFlags() 214 if (meta->findData(kKeyEncryptedSizes, &type, &data, &size)) { in AMediaExtractor_getSampleFlags() 342 sp<MetaData> meta; in AMediaExtractor_getSampleCryptoInfo() local 343 if(ex->mImpl->getSampleMeta(&meta) != 0) { in AMediaExtractor_getSampleCryptoInfo() 350 if (!meta->findData(kKeyEncryptedSizes, &type, &crypteddata, &cryptedsize)) { in AMediaExtractor_getSampleCryptoInfo() 357 if (meta->findData(kKeyPlainSizes, &type, &cleardata, &clearsize)) { in AMediaExtractor_getSampleCryptoInfo() 366 if (meta->findData(kKeyCryptoKey, &type, &key, &keysize)) { in AMediaExtractor_getSampleCryptoInfo() 375 if (meta->findData(kKeyCryptoIV, &type, &iv, &ivsize)) { in AMediaExtractor_getSampleCryptoInfo() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 120 sp<AMessage> meta = new AMessage; in main() local 122 meta->setString( in main() 127 meta->setString("mime", mediaType); in main() 128 meta->setString("testing-name", name); in main() 131 meta->setInt32("channel-count", channels); in main() 132 meta->setInt32("sample-rate", sampleRate); in main() 133 meta->setInt32("bitrate", bitRate); in main() 136 meta->setInt32("max-input-size", maxInputSize); in main() 143 sp<MediaSource> encoder = MediaCodecSource::Create(looper, meta, source); in main()
|
D | SineSource.cpp | 52 sp<MetaData> meta = new MetaData; in getFormat() local 53 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat() 54 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat() 55 meta->setInt32(kKeySampleRate, mSampleRate); in getFormat() 56 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat() 57 meta->setInt32(kKeyPcmEncoding, kAudioEncodingPcm16bit); in getFormat() 59 return meta; in getFormat()
|
D | record.cpp | 62 sp<MetaData> meta = new MetaData; 63 meta->setInt32(kKeyWidth, mWidth); 64 meta->setInt32(kKeyHeight, mHeight); 65 meta->setInt32(kKeyColorFormat, mColorFormat); 66 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); 68 return meta; 131 sp<MetaData> meta; 133 meta = extractor->getTrackMetaData(i); 134 CHECK(meta.get() != NULL); 137 if (!meta->findCString(kKeyMIMEType, &mime)) { [all …]
|
/frameworks/av/media/extractors/amr/ |
D | AMRExtractor.cpp | 36 AMediaFormat *meta, 197 media_status_t AMRExtractor::getMetaData(AMediaFormat *meta) { in getMetaData() argument 198 AMediaFormat_clear(meta); in getMetaData() 201 AMediaFormat_setString(meta, in getMetaData() 221 media_status_t AMRExtractor::getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t /* flags *… in getTrackMetaData() argument 226 return AMediaFormat_copy(meta, mMeta); in getTrackMetaData() 232 DataSourceHelper *source, AMediaFormat *meta, in AMRSource() argument 235 mMeta(meta), in AMRSource() 271 media_status_t AMRSource::getFormat(AMediaFormat *meta) { in getFormat() argument 272 return AMediaFormat_copy(meta, mMeta); in getFormat() [all …]
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 425 media_status_t MPEG4Extractor::getMetaData(AMediaFormat *meta) { in getMetaData() argument 430 AMediaFormat_copy(meta, mFileMetaData); in getMetaData() 453 AMediaFormat *meta, in getTrackMetaData() argument 479 AMediaFormat_getInt64(track->meta, AMEDIAFORMAT_KEY_DURATION, &duration) && in getTrackMetaData() 480 AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &samplerate)) { in getTrackMetaData() 516 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_DELAY, delay); in getTrackMetaData() 567 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_PADDING, paddingsamples); in getTrackMetaData() 576 CHECK(AMediaFormat_getString(track->meta, AMEDIAFORMAT_KEY_MIME, &mime)); in getTrackMetaData() 589 AMediaFormat_setBuffer(track->meta, in getTrackMetaData() 597 if (AMediaFormat_getInt64(track->meta, in getTrackMetaData() [all …]
|
/frameworks/av/media/libstagefright/httplive/ |
D | M3UParser.cpp | 308 sp<AMessage> M3UParser::meta() { in meta() function in android::M3UParser 316 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt() argument 321 if (meta) { in itemAt() 322 *meta = NULL; in itemAt() 333 if (meta) { in itemAt() 334 *meta = mItems.itemAt(index).mMeta; in itemAt() 431 sp<AMessage> meta = mItems.itemAt(index).mMeta; in getTypeURI() local 434 if (!meta->findString(key, &groupID)) { in getTypeURI() 440 if (!meta->findString("codecs", &codecs)) { in getTypeURI() 735 sp<AMessage> meta = mItems.itemAt(i).mMeta; in parse() local [all …]
|
D | M3UParser.h | 43 sp<AMessage> meta(); 46 bool itemAt(size_t index, AString *uri, sp<AMessage> *meta = NULL); 93 const AString &line, sp<AMessage> *meta, const char *key); 96 const AString &line, sp<AMessage> *meta, const char *key); 99 const AString &line, sp<AMessage> *meta) const; 102 const AString &line, sp<AMessage> *meta, const AString &baseURI);
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 72 AMediaFormat *meta, 79 virtual media_status_t getFormat(AMediaFormat *meta); 121 media_status_t WAVExtractor::getMetaData(AMediaFormat *meta) { in getMetaData() argument 122 AMediaFormat_clear(meta); in getMetaData() 124 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_CONTAINER_WAV); in getMetaData() 145 AMediaFormat *meta, in getTrackMetaData() argument 151 const media_status_t status = AMediaFormat_copy(meta, mTrackMeta); in getTrackMetaData() 153 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getTrackMetaData() 369 AMediaFormat *meta, in WAVSource() argument 374 mMeta(meta), in WAVSource() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | VideoSource.h | 40 sp<MetaData> meta = new MetaData; in getFormat() local 41 meta->setInt32(kKeyWidth, mWidth); in getFormat() 42 meta->setInt32(kKeyHeight, mHeight); in getFormat() 43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat() 45 return meta; in getFormat()
|