Home
last modified time | relevance | path

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

123

/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/av/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()
/frameworks/av/media/libmedia/include/media/
DMetadata.h47 class Metadata {
97 explicit Metadata(Parcel *p);
98 ~Metadata();
119 Metadata(const Metadata&);
120 Metadata& operator=(const Metadata&);
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommandDataLoader.java122 public static class Metadata { class in PackageManagerShellCommandDataLoader
149 static Metadata forStdIn(String fileId) { in forStdIn()
150 return new Metadata(STDIN, fileId); in forStdIn()
155 public static Metadata forLocalFile(String filePath) { in forLocalFile()
156 return new Metadata(LOCAL_FILE, filePath, nextGlobalSalt().toString()); in forLocalFile()
159 static Metadata forDataOnlyStreaming(String fileId) { in forDataOnlyStreaming()
160 return new Metadata(DATA_ONLY_STREAMING, fileId); in forDataOnlyStreaming()
163 static Metadata forStreaming(String fileId) { in forStreaming()
164 return new Metadata(STREAMING, fileId); in forStreaming()
167 private Metadata(byte mode, String data) { in Metadata() method in PackageManagerShellCommandDataLoader.Metadata
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java79 boolean saveMetadataFile(Metadata params) { in saveMetadataFile()
114 Metadata loadMetadataFile() { in loadMetadataFile()
132 private Metadata parseMetadataFile(TypedXmlPullParser parser) in parseMetadataFile()
164 return new Metadata(adminComponent, targetComponent, userId, adminType); in parseMetadataFile()
176 static class Metadata { class in TransferOwnershipMetadataManager
182 Metadata(@NonNull ComponentName sourceComponent, @NonNull ComponentName targetComponent, in Metadata() method in TransferOwnershipMetadataManager.Metadata
193 Metadata(@NonNull String flatSourceComponent, @NonNull String flatTargetComponent, in Metadata() method in TransferOwnershipMetadataManager.Metadata
206 if (!(obj instanceof Metadata)) { in equals()
209 Metadata params = (Metadata) obj; in equals()
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.h30 class Metadata; variable
59 std::vector<const llvm::Metadata *> MDs;
61 typedef llvm::DenseMap<const llvm::Metadata *, unsigned> MetadataMapType;
108 unsigned getMetadataID(const llvm::Metadata *MD) const { in getMetadataID()
113 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const { in getMetadataOrNullID()
151 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs()
181 void EnumerateMetadata(const llvm::Metadata *MD);
DValueEnumerator.cpp184 const llvm::Metadata *MD = I->first; in print()
253 Metadata *MD = N->getOperand(i); in EnumerateMDNodeOperands()
261 void ValueEnumerator::EnumerateMetadata(const llvm::Metadata *MD) { in EnumerateMetadata()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.h30 class Metadata; variable
59 std::vector<const llvm::Metadata *> MDs;
61 typedef llvm::DenseMap<const llvm::Metadata *, unsigned> MetadataMapType;
108 unsigned getMetadataID(const llvm::Metadata *MD) const { in getMetadataID()
113 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const { in getMetadataOrNullID()
151 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs()
181 void EnumerateMetadata(const llvm::Metadata *MD);
DValueEnumerator.cpp184 const llvm::Metadata *MD = I->first; in print()
253 Metadata *MD = N->getOperand(i); in EnumerateMDNodeOperands()
261 void ValueEnumerator::EnumerateMetadata(const llvm::Metadata *MD) { in EnumerateMetadata()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.h31 class Metadata; variable
62 std::vector<const llvm::Metadata *> MDs;
64 typedef llvm::DenseMap<const llvm::Metadata *, unsigned> MetadataMapType;
111 unsigned getMetadataID(const llvm::Metadata *MD) const { in getMetadataID()
116 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const { in getMetadataOrNullID()
154 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs()
184 void EnumerateMetadata(const llvm::Metadata *MD);
DValueEnumerator.cpp184 const llvm::Metadata *MD = I->first; in print()
253 Metadata *MD = N->getOperand(i); in EnumerateMDNodeOperands()
261 void ValueEnumerator::EnumerateMetadata(const llvm::Metadata *MD) { in EnumerateMetadata()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java101 private HashMap<String, Metadata> mRestoredSignatures;
103 private HashMap<String, Metadata> mStateVersions = new HashMap<String, Metadata>();
120 public class Metadata { class in PackageManagerBackupAgent
124 Metadata(long version, ArrayList<byte[]> hashes) { in Metadata() method in PackageManagerBackupAgent.Metadata
180 public Metadata getRestoredMetadata(String packageName) { in getRestoredMetadata()
611 mStateVersions.put(pkg, new Metadata(versionCode, null)); in parseStateFile()
676 HashMap<String, Metadata> sigMap = new HashMap<String, Metadata>(); in consumeRestoreData()
743 sigMap.put(key, new Metadata(versionCode, sigs)); in consumeRestoreData()
763 HashMap<String, Metadata> sigMap = new HashMap<String, Metadata>(); in consumeRestoreData()
828 sigMap.put(key, new Metadata(versionCode, sigs)); in consumeRestoreData()
/frameworks/av/media/libmedia/tests/fuzzer/
Dlibmedia_metadata_fuzzer.cpp19 Metadata md = Metadata(&p); in LLVMFuzzerTestOneInput()
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp44 llvm::StringRef getStringOperand(const llvm::Metadata *node) { in getStringOperand()
52 const llvm::Metadata *m) { in extractUIntFromMetadataString()
62 const char *createStringFromValue(llvm::Metadata *m) { in createStringFromValue()
71 llvm::Metadata *opnd; in createStringFromOptionalValue()
330 llvm::Metadata *PragmaKeyMDS = Pragma->getOperand(0); in populatePragmaMetadata()
332 llvm::Metadata *PragmaValueMDS = Pragma->getOperand(1); in populatePragmaMetadata()
577 llvm::Metadata *mdValue = mdNode->getOperand(0); in readThreadableFlag()
595 llvm::Metadata *mdValue = mdNode->getOperand(0); in readBuildChecksumMetadata()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DTransferOwnershipMetadataManagerTest.java36 import com.android.server.devicepolicy.TransferOwnershipMetadataManager.Metadata;
68 private final static Metadata TEST_PARAMS = new Metadata(SOURCE_COMPONENT,
/frameworks/base/core/java/android/widget/
DVideoView.java35 import android.media.Metadata;
484 Metadata data = mp.getMetadata(MediaPlayer.METADATA_ALL,
488 mCanPause = !data.has(Metadata.PAUSE_AVAILABLE)
489 || data.getBoolean(Metadata.PAUSE_AVAILABLE);
490 mCanSeekBack = !data.has(Metadata.SEEK_BACKWARD_AVAILABLE)
491 || data.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE);
492 mCanSeekForward = !data.has(Metadata.SEEK_FORWARD_AVAILABLE)
493 || data.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE);
/frameworks/compile/slang/
Dslang_backend.cpp103 llvm::MDNode::get(ctx, llvm::ArrayRef<llvm::Metadata *>(ver))); in runOnModule()
311 llvm::SmallVector<llvm::Metadata*, 2> Pragma; in HandleTranslationUnit()
755 llvm::SmallVector<llvm::Metadata *, 2> ExportVarInfo; in dumpExportVarInfo()
895 llvm::SmallVector<llvm::Metadata *, 1> ExportFuncInfo; in dumpExportFunctionInfo()
1060 llvm::SmallVector<llvm::Metadata *, 1> ExportForEachName; in dumpExportForEachInfo()
1061 llvm::SmallVector<llvm::Metadata *, 1> ExportForEachInfo; in dumpExportForEachInfo()
1093 llvm::SmallVector<llvm::Metadata *, 6> ExportReduceInfo; in dumpExportReduceInfo()
1096 auto addOperand = [&ExportReduceInfo](uint32_t Idx, llvm::Metadata *N) { in dumpExportReduceInfo()
1122 llvm::SmallVector<llvm::Metadata *, 2> Accumulator; in dumpExportReduceInfo()
1141 llvm::SmallVector<llvm::Metadata *, 1> ExportTypeInfo; in dumpExportTypeInfo()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h432 bool shouldDropMetadata(media::Metadata::Type type) const;
437 void addNewMetadataUpdate(media::Metadata::Type type);
477 media::Metadata::Filter mMetadataAllow; // protected by mLock
478 media::Metadata::Filter mMetadataDrop; // protected by mLock
484 media::Metadata::Filter mMetadataUpdated; // protected by mLock
DMediaPlayerService.cpp91 using android::media::Metadata;
130 Metadata::Filter *filter, in unmarshallFilter()
153 size_t size = num * sizeof(Metadata::Type); in unmarshallFilter()
163 const Metadata::Type *data = in unmarshallFilter()
164 static_cast<const Metadata::Type*>(p.readInplace(size)); in unmarshallFilter()
188 bool findMetadata(const Metadata::Filter& filter, const int32_t val) in findMetadata()
192 if (filter[0] == Metadata::kAny) return true; in findMetadata()
1175 media::Metadata::Filter allow, drop; in setMetadataFilter()
1197 media::Metadata::Filter ids; in getMetadata()
1210 media::Metadata metadata(reply); in getMetadata()
[all …]
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp507 struct Metadata { in TEST_F() struct
512 kWidth, kHeight, kFormat, kUsage, sizeof(Metadata)); in TEST_F()
518 Metadata m = {1, 3}; in TEST_F()
519 EXPECT_EQ(0, p->Post(LocalHandle(), &m, sizeof(Metadata))); in TEST_F()
522 Metadata m2 = {}; in TEST_F()
531 struct Metadata { in TEST_F() struct
541 kWidth, kHeight, kFormat, kUsage, sizeof(Metadata)); in TEST_F()
560 struct Metadata { in TEST_F() struct
570 kWidth, kHeight, kFormat, kUsage, sizeof(Metadata)); in TEST_F()
577 Metadata m = {1, 3}; in TEST_F()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp847 const media::Metadata::Filter& /* ids */, Parcel *records) { in getMetadata()
850 using media::Metadata; in getMetadata()
852 Metadata meta(records); in getMetadata()
855 Metadata::kPauseAvailable, in getMetadata()
859 Metadata::kSeekBackwardAvailable, in getMetadata()
863 Metadata::kSeekForwardAvailable, in getMetadata()
867 Metadata::kSeekAvailable, in getMetadata()
/frameworks/base/cmds/incidentd/src/
Dreport_file.proto25 * Metadata about each of the calls to reportIncident that
76 * Metadata section recorded while the incident report
/frameworks/base/media/java/android/media/
DMetadata.java47 @Deprecated public class Metadata class
273 public Metadata() { } in Metadata() method in Metadata
/frameworks/base/core/proto/android/service/
Drestricted_image.proto55 // Metadata about the image. Typically this has another proto schema,
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java26 import android.hardware.broadcastradio.V2_0.Metadata;
349 private static @NonNull RadioMetadata metadataFromHal(@NonNull ArrayList<Metadata> meta) { in metadataFromHal()
352 for (Metadata entry : meta) { in metadataFromHal()

123