Searched refs:Metadata (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerMetadataParserTest.java18 import android.media.Metadata;
38 private Metadata mMetadata = null;
44 mMetadata = new Metadata();
139 mParcel.writeInt(Metadata.TITLE);
156 mParcel.writeInt(Metadata.TITLE);
157 mParcel.writeInt(Metadata.STRING_VAL);
166 writeStringRecord(Metadata.TITLE, "a title");
167 writeStringRecord(Metadata.GENRE, "comedy");
168 writeStringRecord(Metadata.firstCustomId(), "custom");
171 assertTrue(mMetadata.has(Metadata
[all...]
/frameworks/av/include/media/
H A DMetadata.h30 // Metadata is a class to build/serialize a set of metadata in a Parcel.
32 // This class should be kept in sync with android/media/Metadata.java.
39 // media::Metadata data(&p);
42 // data.appendBool(Metadata::kPauseAvailable, true);
47 class Metadata { class in namespace:android::media
60 // Keep in sync with android/media/Metadata.java
97 explicit Metadata(Parcel *p);
98 ~Metadata();
119 Metadata(const Metadata
[all...]
H A DMediaPlayerInterface.h30 #include <media/Metadata.h>
180 virtual status_t getMetadata(const media::Metadata::Filter& ids,
/frameworks/av/media/libmedia/
H A DMetadata.cpp18 #define LOG_TAG "Metadata"
22 #include <media/Metadata.h>
27 // This file contains code to serialize Metadata triples (key, type,
29 // Metadata.java class.
32 // All these constants below must be kept in sync with Metadata.java.
58 Metadata::Metadata(Parcel *p) function in class:android::media::Metadata
62 Metadata::~Metadata() { }
64 void Metadata
[all...]
H A DAndroid.mk33 Metadata.cpp \
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp25 #include <media/Metadata.h>
190 const media::Metadata::Filter& ids, Parcel *records) {
191 using media::Metadata;
195 Metadata metadata(records);
198 Metadata::kPauseAvailable,
202 Metadata::kSeekBackwardAvailable,
206 Metadata::kSeekForwardAvailable,
210 Metadata::kSeekAvailable,
H A DMediaPlayerService.h33 #include <media/Metadata.h>
378 bool shouldDropMetadata(media::Metadata::Type type) const;
383 void addNewMetadataUpdate(media::Metadata::Type type);
405 // Metadata filters.
406 media::Metadata::Filter mMetadataAllow; // protected by mLock
407 media::Metadata::Filter mMetadataDrop; // protected by mLock
409 // Metadata updated. For each MEDIA_INFO_METADATA_UPDATE
413 media::Metadata::Filter mMetadataUpdated; // protected by mLock
H A DStagefrightPlayer.h63 const media::Metadata::Filter& ids, Parcel *records);
H A DMediaPlayerService.cpp52 #include <media/Metadata.h>
79 using android::media::Metadata;
89 // FIXME: Move all the metadata related function in the Metadata.cpp
114 Metadata::Filter *filter,
137 size_t size = num * sizeof(Metadata::Type);
147 const Metadata::Type *data =
148 static_cast<const Metadata::Type*>(p.readInplace(size));
172 bool findMetadata(const Metadata::Filter& filter, const int32_t val)
176 if (filter[0] == Metadata::kAny) return true;
778 media::Metadata
[all...]
/frameworks/base/services/java/com/android/server/
H A DPackageManagerBackupAgent.java64 private HashMap<String, Metadata> mRestoredSignatures;
66 private HashMap<String, Metadata> mStateVersions = new HashMap<String, Metadata>();
73 public class Metadata { class in class:PackageManagerBackupAgent
77 Metadata(int version, Signature[] sigs) { method in class:PackageManagerBackupAgent.Metadata
96 public Metadata getRestoredMetadata(String packageName) {
200 * Metadata for each package:
256 HashMap<String, Metadata> sigMap = new HashMap<String, Metadata>();
308 sigMap.put(key, new Metadata(versionCod
[all...]
H A DBackupManagerService.java82 import com.android.server.PackageManagerBackupAgent.Metadata;
4384 // Metadata is intact, so we can now run the restore queue. If we get here,
4414 Metadata metaInfo = mPmAgent.getRestoredMetadata(packageName);
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoFullScreen.java21 import android.media.Metadata;
201 Metadata data = mp.getMetadata(MediaPlayer.METADATA_ALL,
204 mCanPause = !data.has(Metadata.PAUSE_AVAILABLE)
205 || data.getBoolean(Metadata.PAUSE_AVAILABLE);
206 mCanSeekBack = !data.has(Metadata.SEEK_BACKWARD_AVAILABLE)
207 || data.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE);
208 mCanSeekForward = !data.has(Metadata.SEEK_FORWARD_AVAILABLE)
209 || data.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE);
220 // mMediaController status depends on the Metadata result, so put it
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp24 #include <media/Metadata.h>
201 const media::Metadata::Filter& ids, Parcel *records) {
202 using media::Metadata;
206 Metadata metadata(records);
209 Metadata::kPauseAvailable,
213 Metadata::kSeekBackwardAvailable,
217 Metadata::kSeekForwardAvailable,
221 Metadata::kSeekAvailable,
H A DVideoEditorPlayer.h123 const media::Metadata::Filter& ids, Parcel *records);
/frameworks/base/core/java/android/widget/
H A DVideoView.java26 import android.media.Metadata;
297 Metadata data = mp.getMetadata(MediaPlayer.METADATA_ALL,
301 mCanPause = !data.has(Metadata.PAUSE_AVAILABLE)
302 || data.getBoolean(Metadata.PAUSE_AVAILABLE);
303 mCanSeekBack = !data.has(Metadata.SEEK_BACKWARD_AVAILABLE)
304 || data.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE);
305 mCanSeekForward = !data.has(Metadata.SEEK_FORWARD_AVAILABLE)
306 || data.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h60 const media::Metadata::Filter& ids, Parcel *records);
H A DNuPlayerDriver.cpp300 const media::Metadata::Filter& ids, Parcel *records) {
/frameworks/base/media/java/android/media/
H A DMetadata.java32 Class to hold the media's metadata. Metadata are used
37 Metadata is like a Bundle. It is sparse and each key can occur at
45 public class Metadata class
245 private static final String TAG = "media.Metadata";
255 // Map to associate a Metadata key (e.g TITLE) with the offset of
258 // Key: Metadata ID
266 public Metadata() { } method in class:Metadata
370 * @param parcel With the serialized data. Metadata keeps a
521 * @param val Metadata key to test.
H A DMediaPlayer.java1199 public Metadata getMetadata(final boolean update_only,
1202 Metadata data = new Metadata();
1209 // Metadata takes over the parcel, don't recycle it unless
1223 * Metadata.MATCH_ALL and Metadata.MATCH_NONE are 2 sets available as
/frameworks/base/core/java/com/android/internal/widget/
H A DTransportControlView.java74 private Metadata mMetadata = new Metadata();
252 class Metadata { class in class:TransportControlView
259 return "Metadata[artist=" + artist + " trackTitle=" + trackTitle + " albumTitle=" + albumTitle + "]";
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardTransportControlView.java70 private Metadata mMetadata = new Metadata();
263 class Metadata { class in class:KeyguardTransportControlView
270 return "Metadata[artist=" + artist + " trackTitle=" + trackTitle + " albumTitle=" + albumTitle + "]";
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp23 #include <llvm/Metadata.h>

Completed in 363 milliseconds