Home
last modified time | relevance | path

Searched refs:Metadata (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java18 import android.media.Metadata;
38 private Metadata mMetadata = null;
44 mMetadata = new Metadata(); in setUp()
139 mParcel.writeInt(Metadata.TITLE); in testRecordMissingType()
156 mParcel.writeInt(Metadata.TITLE); in testRecordMissingPayload()
157 mParcel.writeInt(Metadata.STRING_VAL); in testRecordMissingPayload()
166 writeStringRecord(Metadata.TITLE, "a title"); in testRecordsFound()
167 writeStringRecord(Metadata.GENRE, "comedy"); in testRecordsFound()
168 writeStringRecord(Metadata.firstCustomId(), "custom"); in testRecordsFound()
171 assertTrue(mMetadata.has(Metadata.TITLE)); in testRecordsFound()
[all …]
/frameworks/base/media/libmedia/
DMetadata.cpp58 Metadata::Metadata(Parcel *p) in Metadata() function in android::media::Metadata
62 Metadata::~Metadata() { } in ~Metadata()
64 void Metadata::resetParcel() in resetParcel()
71 void Metadata::updateLength() in updateLength()
81 bool Metadata::appendHeader() in appendHeader()
91 bool Metadata::appendBool(int key, bool val) in appendBool()
111 bool Metadata::appendInt32(int key, int32_t val) in appendInt32()
134 bool Metadata::checkKey(int key) in checkKey()
DAndroid.mk29 Metadata.cpp \
/frameworks/base/include/media/
DMetadata.h47 class Metadata {
97 explicit Metadata(Parcel *p);
98 ~Metadata();
119 Metadata(const Metadata&);
120 Metadata& operator=(const Metadata&);
DMediaPlayerInterface.h158 virtual status_t getMetadata(const media::Metadata::Filter& ids, in getMetadata()
/frameworks/base/media/libmediaplayerservice/
DStagefrightPlayer.cpp195 const media::Metadata::Filter& ids, Parcel *records) { in getMetadata()
196 using media::Metadata; in getMetadata()
200 Metadata metadata(records); in getMetadata()
203 Metadata::kPauseAvailable, in getMetadata()
207 Metadata::kSeekBackwardAvailable, in getMetadata()
211 Metadata::kSeekForwardAvailable, in getMetadata()
215 Metadata::kSeekAvailable, in getMetadata()
DMediaPlayerService.h314 bool shouldDropMetadata(media::Metadata::Type type) const;
319 void addNewMetadataUpdate(media::Metadata::Type type);
339 media::Metadata::Filter mMetadataAllow; // protected by mLock
340 media::Metadata::Filter mMetadataDrop; // protected by mLock
346 media::Metadata::Filter mMetadataUpdated; // protected by mLock
DMediaPlayerService.cpp74 using android::media::Metadata;
109 Metadata::Filter *filter, in unmarshallFilter()
132 size_t size = num * sizeof(Metadata::Type); in unmarshallFilter()
142 const Metadata::Type *data = in unmarshallFilter()
143 static_cast<const Metadata::Type*>(p.readInplace(size)); in unmarshallFilter()
167 bool findMetadata(const Metadata::Filter& filter, const int32_t val) in findMetadata()
171 if (filter[0] == Metadata::kAny) return true; in findMetadata()
870 media::Metadata::Filter allow, drop; in setMetadataFilter()
892 media::Metadata::Filter ids; in getMetadata()
905 media::Metadata metadata(reply); in getMetadata()
[all …]
DStagefrightPlayer.h64 const media::Metadata::Filter& ids, Parcel *records);
/frameworks/base/core/java/android/webkit/
DHTML5VideoFullScreen.java6 import android.media.Metadata;
173 Metadata data = mp.getMetadata(MediaPlayer.METADATA_ALL, in onPrepared()
176 mCanPause = !data.has(Metadata.PAUSE_AVAILABLE) in onPrepared()
177 || data.getBoolean(Metadata.PAUSE_AVAILABLE); in onPrepared()
178 mCanSeekBack = !data.has(Metadata.SEEK_BACKWARD_AVAILABLE) in onPrepared()
179 || data.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE); in onPrepared()
180 mCanSeekForward = !data.has(Metadata.SEEK_FORWARD_AVAILABLE) in onPrepared()
181 || data.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE); in onPrepared()
/frameworks/base/services/java/com/android/server/
DPackageManagerBackupAgent.java64 private HashMap<String, Metadata> mRestoredSignatures;
66 private HashMap<String, Metadata> mStateVersions = new HashMap<String, Metadata>();
73 public class Metadata { class in PackageManagerBackupAgent
77 Metadata(int version, Signature[] sigs) { in Metadata() method in PackageManagerBackupAgent.Metadata
96 public Metadata getRestoredMetadata(String packageName) { in getRestoredMetadata()
256 HashMap<String, Metadata> sigMap = new HashMap<String, Metadata>(); in onRestore()
308 sigMap.put(key, new Metadata(versionCode, sigs)); in onRestore()
394 mStateVersions.put(pkg, new Metadata(versionCode, null)); in parseStateFile()
DBackupManagerService.java79 import com.android.server.PackageManagerBackupAgent.Metadata;
4317 Metadata metaInfo = mPmAgent.getRestoredMetadata(packageName); in restoreNextAgent()
/frameworks/base/core/java/android/widget/
DVideoView.java26 import android.media.Metadata;
279 Metadata data = mp.getMetadata(MediaPlayer.METADATA_ALL,
283 mCanPause = !data.has(Metadata.PAUSE_AVAILABLE)
284 || data.getBoolean(Metadata.PAUSE_AVAILABLE);
285 mCanSeekBack = !data.has(Metadata.SEEK_BACKWARD_AVAILABLE)
286 || data.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE);
287 mCanSeekForward = !data.has(Metadata.SEEK_FORWARD_AVAILABLE)
288 || data.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE);
/frameworks/media/libvideoeditor/lvpp/
DVideoEditorPlayer.cpp197 const media::Metadata::Filter& ids, Parcel *records) { in getMetadata()
198 using media::Metadata; in getMetadata()
202 Metadata metadata(records); in getMetadata()
205 Metadata::kPauseAvailable, in getMetadata()
209 Metadata::kSeekBackwardAvailable, in getMetadata()
213 Metadata::kSeekForwardAvailable, in getMetadata()
217 Metadata::kSeekAvailable, in getMetadata()
DVideoEditorPlayer.h122 const media::Metadata::Filter& ids, Parcel *records);
/frameworks/base/media/java/android/media/
DMetadata.java45 public class Metadata class
266 public Metadata() { } in Metadata() method in Metadata
DMediaPlayer.java1082 public Metadata getMetadata(final boolean update_only, in getMetadata()
1085 Metadata data = new Metadata(); in getMetadata()
/frameworks/base/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h61 const media::Metadata::Filter& ids, Parcel *records);
DNuPlayerDriver.cpp272 const media::Metadata::Filter& ids, Parcel *records) { in getMetadata()
/frameworks/base/core/java/com/android/internal/widget/
DTransportControlView.java75 private Metadata mMetadata = new Metadata();
253 class Metadata { class in TransportControlView
/frameworks/base/docs/html/guide/webapps/
Dtargeting.jd16 <li><a href="#Metadata">Using Viewport Metadata</a>
79 <h2 id="Metadata">Using Viewport Metadata</h2>
/frameworks/base/docs/html/resources/articles/
Dqsb.jd94 …="{@docRoot}reference/android/app/SearchManager.html#SearchabilityMetadata">Searchability Metadata
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd19 <li><a href="#MetaData">Adding the AppWidgetProviderInfo Metadata</a></li>
160 <h2 id="MetaData">Adding the AppWidgetProviderInfo Metadata</h2>
403 AppWidgetProviderInfo Metadata</a> above). This method is also called
581 the AppWidgetProviderInfo Metadata</a> above). For example, the configuration
/frameworks/base/docs/html/guide/developing/projects/
Dindex.jd153Metadata</a>. See <a href="{@docRoot}guide/topics/resources/index.html">Application Resources</a>