Searched refs:meta (Results 1 - 25 of 143) sorted by relevance

123456

/frameworks/base/core/java/android/text/method/
H A DDialerKeyListener.java56 int meta = getMetaState(content, event);
60 * Prefer number if no meta key is active, or if it produces something
61 * valid and the meta lookup does not.
63 if ((meta & (MetaKeyKeyListener.META_ALT_ON | MetaKeyKeyListener.META_SHIFT_ON)) == 0) {
75 * If a meta key is active but the lookup with the meta key
76 * did not produce anything, try some other meta keys, because
81 if (meta != 0) {
86 for (int i = 1; i < kd.meta.length; i++) {
87 if (ok(accepted, kd.meta[
[all...]
/frameworks/av/cmds/stagefright/
H A DSineSource.cpp51 sp<MetaData> meta = new MetaData; local
52 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW);
53 meta->setInt32(kKeyChannelCount, mNumChannels);
54 meta->setInt32(kKeySampleRate, mSampleRate);
55 meta->setInt32(kKeyMaxInputSize, kBufferSize);
56 meta->setInt32(kKeyPcmEncoding, kAudioEncodingPcm16bit);
58 return meta;
H A Daudioloop.cpp97 sp<AMessage> meta = new AMessage; local
98 meta->setString(
103 meta->setInt32("channel-count", channels);
104 meta->setInt32("sample-rate", kSampleRate);
105 meta->setInt32("bitrate", kBitRate);
108 meta->setInt32("max-input-size", maxInputSize);
115 sp<IMediaSource> encoder = MediaCodecSource::Create(looper, meta, source);
H A Drecord.cpp61 sp<MetaData> meta = new MetaData;
62 meta->setInt32(kKeyWidth, mWidth);
63 meta->setInt32(kKeyHeight, mHeight);
64 meta->setInt32(kKeyColorFormat, mColorFormat);
65 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
67 return meta;
130 sp<MetaData> meta;
132 meta = extractor->getTrackMetaData(i);
133 CHECK(meta.get() != NULL);
136 if (!meta
[all...]
/frameworks/av/media/libstagefright/
H A DUtils.cpp102 const sp<MetaData> &meta, sp<AMessage> &msg, uint32_t key, const char *name) {
104 if (meta->findInt32(key, &value)) {
110 static void convertMetaDataToMessageColorAspects(const sp<MetaData> &meta, sp<AMessage> &msg) { argument
116 meta->findInt32(kKeyColorRange, &range);
117 meta->findInt32(kKeyColorPrimaries, &primaries);
118 meta->findInt32(kKeyTransferFunction, &transferFunction);
119 meta->findInt32(kKeyColorMatrix, &colorMatrix);
596 const sp<MetaData> &meta, sp<AMessage> *format) {
600 if (meta == NULL) {
606 if (!meta
595 convertMetaDataToMessage( const sp<MetaData> &meta, sp<AMessage> *format) argument
1254 convertMessageToMetaDataColorAspects(const sp<AMessage> &msg, sp<MetaData> &meta) argument
1283 convertMessageToMetaData(const sp<AMessage> &msg, sp<MetaData> &meta) argument
1506 sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta) argument
1605 canOffloadStream(const sp<MetaData>& meta, bool hasVideo, bool isStreaming, audio_stream_type_t streamType) argument
1712 HLSTime(const sp<AMessage>& meta) argument
[all...]
H A DAACExtractor.cpp40 const sp<MetaData> &meta,
140 sp<AMessage> meta = _meta; local
142 if (meta == NULL) {
147 if (!SniffAAC(mDataSource, &mimeType, &confidence, &meta)) {
153 CHECK(meta->findInt64("offset", &offset));
201 sp<MetaData> meta = new MetaData; local
204 return meta;
207 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC_ADTS);
209 return meta;
238 const sp<DataSource> &source, const sp<MetaData> &meta,
237 AACSource( const sp<DataSource> &source, const sp<MetaData> &meta, const Vector<uint64_t> &offset_vector, int64_t frame_duration_us) argument
336 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
[all...]
H A DJPEGSource.cpp101 sp<MetaData> meta = new MetaData; local
102 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG);
103 meta->setInt32(kKeyWidth, mWidth);
104 meta->setInt32(kKeyHeight, mHeight);
105 meta->setInt32(kKeyMaxInputSize, mSize);
107 return meta;
H A DMP3Extractor.cpp215 const sp<MetaData> &meta, const sp<DataSource> &source,
250 const sp<DataSource> &source, const sp<AMessage> &meta)
264 if (meta != NULL
265 && meta->findInt64("offset", &meta_offset)
266 && meta->findInt32("header", (int32_t *)&meta_header)
267 && meta->findInt64("post-id3-offset", &meta_post_id3_offset)) {
439 const sp<MetaData> &meta, const sp<DataSource> &source,
442 : mMeta(meta),
604 sp<MetaData> meta = new MetaData; local
607 return meta;
249 MP3Extractor( const sp<DataSource> &source, const sp<AMessage> &meta) argument
438 MP3Source( const sp<MetaData> &meta, const sp<DataSource> &source, off64_t first_frame_pos, uint32_t fixed_header, const sp<MP3Seeker> &seeker) argument
669 SniffMP3( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp41 AnotherPacketSource::AnotherPacketSource(const sp<MetaData> &meta) argument
51 setFormat(meta);
56 void AnotherPacketSource::setFormat(const sp<MetaData> &meta) { argument
65 if (meta == NULL) {
69 mFormat = meta;
71 CHECK(meta->findCString(kKeyMIMEType, &mime));
103 if (!buffer->meta()->findInt32("discontinuity", &discontinuity)) {
105 if (buffer->meta()->findObject("format", &object)) {
129 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) {
143 mLatestDequeuedMeta = (*buffer)->meta()
570 trimBuffersAfterMeta( const sp<AMessage> &meta) argument
629 trimBuffersBeforeMeta( const sp<AMessage> &meta) argument
[all...]
H A DAnotherPacketSource.h33 explicit AnotherPacketSource(const sp<MetaData> &meta);
35 void setFormat(const sp<MetaData> &meta);
85 void trimBuffersAfterMeta(const sp<AMessage> &meta);
86 sp<AMessage> trimBuffersBeforeMeta(const sp<AMessage> &meta);
/frameworks/av/media/libstagefright/rtsp/
H A DVideoSource.h40 sp<MetaData> meta = new MetaData; local
41 meta->setInt32(kKeyWidth, mWidth);
42 meta->setInt32(kKeyHeight, mHeight);
43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
45 return meta;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaMetadataTest.java47 public static METADATA_EXPECTEDRESULT meta; field in class:MediaMetadataTest
84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value);
88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value);
92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value);
96 assertEquals(TAG, meta_data_file[fileIndex][meta.AUTHOR.ordinal()], value);
100 assertEquals(TAG, meta_data_file[fileIndex][meta.COMPOSER.ordinal()], value);
104 assertEquals(TAG, meta_data_file[fileIndex][meta.DATE.ordinal()], value);
108 assertEquals(TAG, meta_data_file[fileIndex][meta.GENRE.ordinal()], value);
112 assertEquals(TAG, meta_data_file[fileIndex][meta.TITLE.ordinal()], value);
116 assertEquals(TAG, meta_data_file[fileIndex][meta
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.h43 sp<AMessage> meta();
46 bool itemAt(size_t index, AString *uri, sp<AMessage> *meta = NULL);
92 const AString &line, sp<AMessage> *meta, const char *key);
95 const AString &line, sp<AMessage> *meta, const char *key);
98 const AString &line, sp<AMessage> *meta) const;
101 const AString &line, sp<AMessage> *meta, const AString &baseURI);
H A DM3UParser.cpp302 sp<AMessage> M3UParser::meta() { function in class:android::M3UParser
310 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { argument
315 if (meta) {
316 *meta = NULL;
327 if (meta) {
328 *meta = mItems.itemAt(index).mMeta;
425 sp<AMessage> meta = mItems.itemAt(index).mMeta; local
428 if (!meta->findString(key, &groupID)) {
434 if (!meta->findString("codecs", &codecs)) {
705 sp<AMessage> meta local
724 parseMetaData( const AString &line, sp<AMessage> *meta, const char *key) argument
748 parseMetaDataDuration( const AString &line, sp<AMessage> *meta, const char *key) argument
904 parseCipherInfo( const AString &line, sp<AMessage> *meta, const AString &baseURI) argument
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseKeyboardShortcutsTestCase.java47 private void testKeyboardShortcut(final int keyCode, final int meta, final int expectedId) { argument
50 keyCode, 0, meta, KeyCharacterMap.VIRTUAL_KEYBOARD, 0);
55 keyCode, 0, meta, KeyCharacterMap.VIRTUAL_KEYBOARD, 0);
/frameworks/av/include/media/stagefright/
H A DUtils.h48 const sp<MetaData> &meta, sp<AMessage> *format);
50 const sp<AMessage> &format, sp<MetaData> &meta);
66 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
68 // Check whether the stream defined by meta can be offloaded to hardware
69 bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo,
79 explicit HLSTime(const sp<AMessage> &meta = NULL);
H A DMP3Extractor.h34 MP3Extractor(const sp<DataSource> &source, const sp<AMessage> &meta);
58 sp<AMessage> *meta);
/frameworks/av/media/libstagefright/foundation/include/
H A DUtils.h48 const sp<MetaData> &meta, sp<AMessage> *format);
50 const sp<AMessage> &format, sp<MetaData> &meta);
66 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
68 // Check whether the stream defined by meta can be offloaded to hardware
69 bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo,
79 explicit HLSTime(const sp<AMessage> &meta = NULL);
H A DMP3Extractor.h34 MP3Extractor(const sp<DataSource> &source, const sp<AMessage> &meta);
58 sp<AMessage> *meta);
/frameworks/av/media/libstagefright/include/
H A DUtils.h48 const sp<MetaData> &meta, sp<AMessage> *format);
50 const sp<AMessage> &format, sp<MetaData> &meta);
66 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
68 // Check whether the stream defined by meta can be offloaded to hardware
69 bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo,
79 explicit HLSTime(const sp<AMessage> &meta = NULL);
H A DMP3Extractor.h34 MP3Extractor(const sp<DataSource> &source, const sp<AMessage> &meta);
58 sp<AMessage> *meta);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp221 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta; local
224 CHECK(meta->findCString(kKeyMIMEType, &mime));
235 if (meta->findInt32(kKeyNalLengthSize, &nalSizeLen)) {
239 } else if (meta->findData(kKeyAVCC, &dummy, (const void **)&avcc, &avccSize)
553 sp<MetaData> meta = mbuf->meta_data(); local
578 meta->setData(kKeyCryptoKey, 0, keyId, keyIdSize);
580 meta->setData(kKeyCryptoIV, 0, ctrCounter, 16);
581 meta->setData(kKeyPlainSizes, 0, plainSizes, sizeof(plainSizes));
582 meta->setData(kKeyEncryptedSizes, 0, encryptedSizes, sizeof(encryptedSizes));
598 meta
941 addESDSFromCodecPrivate( const sp<MetaData> &meta, bool isAudio, const void *priv, size_t privSize) argument
976 addVorbisCodecInfo( const sp<MetaData> &meta, const void *_codecPrivate, size_t codecPrivateSize) argument
1100 getColorInformation( const mkvparser::VideoTrack *vtrack, sp<MetaData> &meta) argument
1188 initTrackInfo( const mkvparser::Track *track, const sp<MetaData> &meta, TrackInfo *trackInfo) argument
1251 sp<MetaData> meta = new MetaData; local
1439 sp<MetaData> meta = new MetaData; local
[all...]
/frameworks/multidex/library/
H A DAndroid.mk31 LOCAL_JACK_FLAGS:=--import-meta $(LOCAL_PATH)/jack-meta
33 LOCAL_ADDITIONAL_DEPENDENCIES := $(wildcard $(LOCAL_PATH)/jack-meta/*)
/frameworks/av/media/ndk/
H A DNdkMediaExtractor.cpp187 sp<MetaData> meta; local
188 status_t err = mData->mImpl->getSampleMeta(&meta);
193 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) {
200 if (meta->findData(kKeyEncryptedSizes, &type, &data, &size)) {
328 sp<MetaData> meta; local
329 if(ex->mImpl->getSampleMeta(&meta) != 0) {
336 if (!meta->findData(kKeyEncryptedSizes, &type, &crypteddata, &cryptedsize)) {
343 if (meta->findData(kKeyPlainSizes, &type, &cleardata, &clearsize)) {
352 if (meta->findData(kKeyCryptoKey, &type, &key, &keysize)) {
361 if (meta
[all...]
/frameworks/base/tools/aapt2/link/
H A DManifestFixer_test.cpp96 <meta-data />
98 <meta-data />
99 <activity android:name=".Hi"><meta-data /></activity>
100 <activity-alias android:name=".Ho"><meta-data /></activity-alias>
101 <receiver android:name=".OffTo"><meta-data /></receiver>
102 <provider android:name=".Work"><meta-data /></provider>
103 <service android:name=".We"><meta-data /></service>
105 <instrumentation android:name=".Go"><meta-data /></instrumentation>

Completed in 370 milliseconds

123456