Home
last modified time | relevance | path

Searched refs:MetaData (Results 1 – 25 of 146) sorted by relevance

123456

/frameworks/av/media/module/foundation/
DMetaData.cpp38 MetaData::MetaData() { in MetaData() function in android::MetaData
41 MetaData::MetaData(const MetaData &from) in MetaData() function in android::MetaData
44 MetaData::MetaData(const MetaDataBase &from) in MetaData() function in android::MetaData
48 MetaData::~MetaData() { in ~MetaData()
53 sp<MetaData> MetaData::createFromParcel(const Parcel &parcel) { in createFromParcel()
55 sp<MetaData> meta = new MetaData(); in createFromParcel()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaData.h31 class MetaData final : public MetaDataBase, public RefBase {
33 MetaData();
34 MetaData(const MetaData &from);
35 MetaData(const MetaDataBase &from);
38 virtual ~MetaData();
45 static sp<MetaData> createFromParcel(const Parcel &parcel);
DMediaAdapter.h33 MediaAdapter(const sp<MetaData> &meta);
39 virtual status_t start(MetaData *params = NULL);
41 virtual sp<MetaData> getFormat();
70 sp<MetaData> mOutputFormat;
DUtils.h35 const sp<MetaData> &meta, sp<AMessage> *format);
37 const sp<AMessage> &format, sp<MetaData> &meta);
51 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
54 status_t getAudioOffloadInfo(const sp<MetaData>& meta, bool hasVideo,
58 bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo,
DMediaCodecSource.h54 virtual status_t start(MetaData *params = NULL);
57 virtual status_t pause(MetaData *params);
58 virtual sp<MetaData> getFormat();
101 status_t onStart(MetaData *params);
127 Mutexed<sp<MetaData>> mMeta;
DSimpleDecodingSource.h35 class MetaData; variable
59 virtual status_t start(MetaData *params = NULL);
65 virtual sp<MetaData> getFormat();
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DEntryController.java61 protected abstract MetaData getMetaData(); in getMetaData()
86 final MetaData metaData = getMetaData(); in getBundle()
121 protected static class MetaData { class in EntryController
140 public MetaData(@NonNull String category) { in MetaData() method in EntryController.MetaData
148 public MetaData setOrder(int order) { in setOrder()
154 public MetaData setIcon(@DrawableRes int icon) { in setIcon()
160 public MetaData setIconBackgoundHint(int hint) { in setIconBackgoundHint()
166 public MetaData setIconBackgoundArgb(int argb) { in setIconBackgoundArgb()
172 public MetaData setIconTintable(boolean tintable) { in setIconTintable()
178 public MetaData setTitle(@StringRes int id) { in setTitle()
[all …]
DSwitchController.java78 protected static class MetaData extends EntryController.MetaData { class in SwitchController
85 public MetaData(@NonNull String category) { in MetaData() method in SwitchController.MetaData
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DEntriesProviderTest.java44 import com.android.settingslib.drawer.EntryController.MetaData;
110 controller1.setMetaData(new MetaData("category")); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException()
111 controller2.setMetaData(new MetaData("category")); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException()
124 controller1.setMetaData(new MetaData("category")); in attachInfo_hasDifferentControllers_shouldNotThrowException()
125 controller2.setMetaData(new MetaData("category")); in attachInfo_hasDifferentControllers_shouldNotThrowException()
150 controller.setMetaData(new MetaData("category").setPendingIntent(pendingIntent)); in getEntryData_shouldReturnDataList()
170 controller.setMetaData(new MetaData("category").setPendingIntent(pendingIntent)); in getSwitchData_shouldReturnDataList()
191 controller.setMetaData(new MetaData("category")); in getEntryDataByKey_shouldReturnData()
206 controller.setMetaData(new MetaData("category")); in getSwitchDataByKey_shouldReturnData()
221 controller.setMetaData(new MetaData("category")); in isSwitchChecked_shouldReturnCheckedState()
[all …]
DSwitchesProviderTest.java39 import com.android.settingslib.drawer.SwitchController.MetaData;
104 controller1.setMetaData(new MetaData("category")); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException()
105 controller2.setMetaData(new MetaData("category")); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException()
118 controller1.setMetaData(new MetaData("category")); in attachInfo_hasDifferentControllers_shouldNotThrowException()
119 controller2.setMetaData(new MetaData("category")); in attachInfo_hasDifferentControllers_shouldNotThrowException()
143 controller.setMetaData(new MetaData("category")); in getSwitchData_shouldReturnDataList()
161 controller.setMetaData(new MetaData("category")); in getSwitchDataByKey_shouldReturnData()
176 controller.setMetaData(new MetaData("category")); in isChecked_shouldReturnCheckedState()
197 controller.setMetaData(new MetaData("category")); in getProviderIcon_noImplementInterface_shouldReturnNull()
212 controller.setMetaData(new MetaData("category")); in getProviderIcon_implementInterface_shouldReturnIcon()
[all …]
/frameworks/wilhelm/src/android/include/
DAacAdtsExtractor.h41 const sp<MetaData> &meta,
45 virtual status_t start(MetaData *params = NULL);
48 virtual sp<MetaData> getFormat();
59 sp<MetaData> mMeta;
85 sp<MetaData> mMeta;
/frameworks/av/media/libstagefright/tests/fuzzers/
DFuzzerMediaUtility.h28 FuzzSource(sp<MetaData> meta, FuzzedDataProvider* fdp) : mMetaData(meta), mFdp(fdp) {} in FuzzSource()
30 status_t start(MetaData*) { return OK; } in start() argument
56 sp<MetaData> getFormat() { return mMetaData; } in getFormat()
59 sp<MetaData> mMetaData = nullptr;
91 sp<MediaWriter> createWriter(int32_t fd, StandardWriters writerType, sp<MetaData> writerMeta,
/frameworks/av/media/module/mpeg2ts/include/mpeg2ts/
DAnotherPacketSource.h33 explicit AnotherPacketSource(const sp<MetaData> &meta);
35 void setFormat(const sp<MetaData> &meta);
37 virtual status_t start(MetaData *params = NULL);
39 virtual sp<MetaData> getFormat();
117 sp<MetaData> mFormat;
/frameworks/av/media/libstagefright/
DRemoteMediaSource.cpp36 status_t RemoteMediaSource::start(MetaData *params) { in start()
48 sp<MetaData> RemoteMediaSource::getFormat() { in getFormat()
49 sp<MetaData> meta = new MetaData(); in getFormat()
DMediaExtractor.cpp68 sp<MetaData> newMeta = new MetaData(); in getTrackMetaData()
79 sp<MetaData> newMeta = new MetaData(); in getMetaData()
DRemoteMediaExtractor.cpp189 sp<MetaData> RemoteMediaExtractor::getTrackMetaData(size_t index, uint32_t flags) { in getTrackMetaData()
190 sp<MetaData> meta = new MetaData(); in getTrackMetaData()
197 sp<MetaData> RemoteMediaExtractor::getMetaData() { in getMetaData()
198 sp<MetaData> meta = new MetaData(); in getMetaData()
DJPEGSource.cpp73 status_t JPEGSource::start(MetaData *) { in start() argument
101 sp<MetaData> JPEGSource::getFormat() { in getFormat()
102 sp<MetaData> meta = new MetaData; in getFormat()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DVideoSource.h39 virtual sp<MetaData> getFormat() { in getFormat()
40 sp<MetaData> meta = new MetaData; in getFormat()
48 virtual status_t start(MetaData *params) { in start()
DAPacketSource.h34 virtual sp<MetaData> getFormat();
44 sp<MetaData> mFormat;
/frameworks/av/media/libstagefright/webm/include/webm/
DWebmWriter.h51 virtual status_t start(MetaData *param = NULL);
94 sp<WebmElement> (*mMakeTrack)(const sp<MetaData>&);
107 WebmStream(int type, const char *name, sp<WebmElement> (*makeTrack)(const sp<MetaData>&)) in WebmStream()
131 static sp<WebmElement> videoTrack(const sp<MetaData>& md);
132 static sp<WebmElement> audioTrack(const sp<MetaData>& md);
/frameworks/av/cmds/stagefright/
DSineSource.cpp28 status_t SineSource::start(MetaData * /* params */) { in start() argument
51 sp<MetaData> SineSource::getFormat() { in getFormat()
52 sp<MetaData> meta = new MetaData; in getFormat()
Drecord.cpp61 virtual sp<MetaData> getFormat() {
62 sp<MetaData> meta = new MetaData;
71 virtual status_t start(MetaData *params) {
134 sp<MetaData> meta;
199 sp<MetaData> meta = source->getFormat();
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h45 const sp<MetaData> &trackMeta,
53 const sp<MetaData> &trackMeta, int colorFormat,
79 sp<MetaData> trackMeta() const { return mTrackMeta; } in trackMeta()
87 sp<MetaData> mTrackMeta;
109 const sp<MetaData> &trackMeta,
153 const sp<MetaData> &trackMeta,
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtp_writer_fuzzer.cpp39 TestMediaSource(FuzzedDataProvider& mFdp) : mTestMetaData(new MetaData) { in TestMediaSource()
71 virtual status_t start(MetaData* /*params*/) { return OK; } in start()
73 virtual sp<MetaData> getFormat() { return mTestMetaData; } in getFormat()
99 sp<MetaData> mTestMetaData;
141 sp<MetaData> metaData = sp<MetaData>::make(); in process()
/frameworks/av/media/libmedia/include/android/
DIMediaExtractor.h27 class MetaData; variable
43 virtual sp<MetaData> getTrackMetaData(
48 virtual sp<MetaData> getMetaData() = 0;

123456