/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerMetadataParserTest.java | 18 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/ |
D | Metadata.cpp | 58 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/ |
D | Metadata.h | 47 class Metadata { 97 explicit Metadata(Parcel *p); 98 ~Metadata(); 119 Metadata(const Metadata&); 120 Metadata& operator=(const Metadata&);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | TransferOwnershipMetadataManager.java | 79 boolean saveMetadataFile(Metadata params) { in saveMetadataFile() 115 Metadata loadMetadataFile() { in loadMetadataFile() 134 private Metadata parseMetadataFile(XmlPullParser parser) in parseMetadataFile() 166 return new Metadata(adminComponent, targetComponent, userId, adminType); in parseMetadataFile() 178 static class Metadata { class in TransferOwnershipMetadataManager 184 Metadata(@NonNull ComponentName sourceComponent, @NonNull ComponentName targetComponent, in Metadata() method in TransferOwnershipMetadataManager.Metadata 195 Metadata(@NonNull String flatSourceComponent, @NonNull String flatTargetComponent, in Metadata() method in TransferOwnershipMetadataManager.Metadata 208 if (!(obj instanceof Metadata)) { in equals() 211 Metadata params = (Metadata) obj; in equals()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ValueEnumerator.h | 30 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);
|
D | ValueEnumerator.cpp | 184 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/ |
D | ValueEnumerator.h | 30 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);
|
D | ValueEnumerator.cpp | 184 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/ |
D | ValueEnumerator.h | 31 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);
|
D | ValueEnumerator.cpp | 184 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/ |
D | PackageManagerBackupAgent.java | 101 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 178 public Metadata getRestoredMetadata(String packageName) { in getRestoredMetadata() 609 mStateVersions.put(pkg, new Metadata(versionCode, null)); in parseStateFile() 674 HashMap<String, Metadata> sigMap = new HashMap<String, Metadata>(); in consumeRestoreData() 741 sigMap.put(key, new Metadata(versionCode, sigs)); in consumeRestoreData() 761 HashMap<String, Metadata> sigMap = new HashMap<String, Metadata>(); in consumeRestoreData() 826 sigMap.put(key, new Metadata(versionCode, sigs)); in consumeRestoreData()
|
/frameworks/compile/libbcc/bcinfo/ |
D | MetadataExtractor.cpp | 44 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/ |
D | TransferOwnershipMetadataManagerTest.java | 37 import com.android.server.devicepolicy.TransferOwnershipMetadataManager.Metadata; 66 private final static Metadata TEST_PARAMS = new Metadata(SOURCE_COMPONENT,
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 35 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/ |
D | slang_backend.cpp | 103 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/ |
D | MediaPlayerService.h | 426 bool shouldDropMetadata(media::Metadata::Type type) const; 431 void addNewMetadataUpdate(media::Metadata::Type type); 472 media::Metadata::Filter mMetadataAllow; // protected by mLock 473 media::Metadata::Filter mMetadataDrop; // protected by mLock 479 media::Metadata::Filter mMetadataUpdated; // protected by mLock
|
D | MediaPlayerService.cpp | 90 using android::media::Metadata; 128 Metadata::Filter *filter, in unmarshallFilter() 151 size_t size = num * sizeof(Metadata::Type); in unmarshallFilter() 161 const Metadata::Type *data = in unmarshallFilter() 162 static_cast<const Metadata::Type*>(p.readInplace(size)); in unmarshallFilter() 186 bool findMetadata(const Metadata::Filter& filter, const int32_t val) in findMetadata() 190 if (filter[0] == Metadata::kAny) return true; in findMetadata() 976 media::Metadata::Filter allow, drop; in setMetadataFilter() 998 media::Metadata::Filter ids; in getMetadata() 1011 media::Metadata metadata(reply); in getMetadata() [all …]
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub-test.cpp | 507 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/ml/nn/runtime/ |
D | Memory.cpp | 61 Metadata getMetadata() const override { return {.logicalSize = kSize}; } in getMetadata() 62 bool updateMetadata(const Metadata& metadata) override { in updateMetadata() 88 Metadata getMetadata() const override { return {}; } in getMetadata() 89 bool updateMetadata(const Metadata&) override { return true; } in updateMetadata() argument 136 Metadata getMetadata() const override { in getMetadata() 142 bool updateMetadata(const Metadata& metadata) override { in updateMetadata() 269 const MemoryValidatorBase::Metadata& srcMetadata) { in copyIBuffers()
|
D | Memory.h | 136 struct Metadata { struct 149 virtual Metadata getMetadata() const = 0; argument 152 virtual bool updateMetadata(const Metadata& metadata) = 0;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 794 const media::Metadata::Filter& /* ids */, Parcel *records) { in getMetadata() 797 using media::Metadata; in getMetadata() 799 Metadata meta(records); in getMetadata() 802 Metadata::kPauseAvailable, in getMetadata() 806 Metadata::kSeekBackwardAvailable, in getMetadata() 810 Metadata::kSeekForwardAvailable, in getMetadata() 814 Metadata::kSeekAvailable, in getMetadata()
|
/frameworks/base/cmds/incidentd/src/ |
D | report_file.proto | 25 * Metadata about each of the calls to reportIncident that 71 * Metadata section recorded while the incident report
|
/frameworks/base/media/java/android/media/ |
D | Metadata.java | 47 @Deprecated public class Metadata class 273 public Metadata() { } in Metadata() method in Metadata
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | Convert.java | 26 import android.hardware.broadcastradio.V2_0.Metadata; 350 private static @NonNull RadioMetadata metadataFromHal(@NonNull ArrayList<Metadata> meta) { in metadataFromHal() 353 for (Metadata entry : meta) { in metadataFromHal()
|
/frameworks/base/core/proto/android/service/ |
D | restricted_image.proto | 55 // Metadata about the image. Typically this has another proto schema,
|