/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/media_scanner/src/ |
D | metadata.cpp | 23 Metadata::Metadata() in Metadata() function in OHOS::Media::Metadata 49 void Metadata::Init() in Init() 51 memberFuncMap_[MEDIA_DATA_DB_ID] = make_pair(DataType::TYPE_INT, &Metadata::SetFileId); in Init() 52 memberFuncMap_[MEDIA_DATA_DB_URI] = make_pair(DataType::TYPE_STRING, &Metadata::SetUri); in Init() 53 …memberFuncMap_[MEDIA_DATA_DB_FILE_PATH] = make_pair(DataType::TYPE_STRING, &Metadata::SetFilePath); in Init() 54 …memberFuncMap_[MEDIA_DATA_DB_RELATIVE_PATH] = make_pair(DataType::TYPE_STRING, &Metadata::SetRelat… in Init() 55 …memberFuncMap_[MEDIA_DATA_DB_MEDIA_TYPE] = make_pair(DataType::TYPE_INT, &Metadata::SetFileMediaTy… in Init() 56 …memberFuncMap_[MEDIA_DATA_DB_MIME_TYPE] = make_pair(DataType::TYPE_STRING, &Metadata::SetFileMimeT… in Init() 57 memberFuncMap_[MEDIA_DATA_DB_NAME] = make_pair(DataType::TYPE_STRING, &Metadata::SetFileName); in Init() 58 memberFuncMap_[MEDIA_DATA_DB_SIZE] = make_pair(DataType::TYPE_LONG, &Metadata::SetFileSize); in Init() [all …]
|
D | media_scanner_db.cpp | 36 string MediaScannerDb::InsertMetadata(const Metadata &metadata) in InsertMetadata() 80 vector<string> MediaScannerDb::BatchInsert(const vector<Metadata> &metadataList) in BatchInsert() 90 unique_ptr<Metadata> MediaScannerDb::ReadMetadata(const string &path) in ReadMetadata() 104 unique_ptr<Metadata> metadata = FillMetadata(resultSet); in ReadMetadata() 115 string MediaScannerDb::UpdateMetadata(const Metadata &metadata) in UpdateMetadata() 169 int32_t MediaScannerDb::UpdateMetadata(const vector<Metadata> &metadataList) in UpdateMetadata() 212 unique_ptr<Metadata> MediaScannerDb::GetFileModifiedInfo(const string &path) in GetFileModifiedInfo() 235 unique_ptr<Metadata> metaInfo = FillMetadata(resultSet); in GetFileModifiedInfo() 359 void MediaScannerDb::ReadAlbums(const string &path, unordered_map<string, Metadata> &albumMap) in ReadAlbums() 391 Metadata metadata; in ReadAlbums() [all …]
|
D | media_scanner.cpp | 112 unique_ptr<Metadata> metaData = mediaScannerDb_->ReadMetadata(path); in ScanFile() 229 Metadata metaData; in StartBatchProcessingToDB() 232 metaData = (Metadata)batchUpdate_[i]; in StartBatchProcessingToDB() 262 int32_t MediaScanner::BatchUpdateRequest(Metadata &fileMetadata) in BatchUpdateRequest() 270 bool MediaScanner::IsFileScanned(Metadata &fileMetadata) in IsFileScanned() 273 unique_ptr<Metadata> md = mediaScannerDb_->GetFileModifiedInfo(filePath); in IsFileScanned() 291 int32_t MediaScanner::RetrieveMetadata(Metadata &fileMetadata) in RetrieveMetadata() 302 int32_t MediaScanner::VisitFile(const Metadata &fileMD) in VisitFile() 304 auto fileMetadata = const_cast<Metadata *>(&fileMD); in VisitFile() 325 unique_ptr<Metadata> MediaScanner::GetFileMetadata(const string &path, const int32_t parentId) in GetFileMetadata() [all …]
|
D | metadata_extractor.cpp | 30 int32_t MetadataExtractor::ExtractImageMetadata(Metadata &fileMetadata) in ExtractImageMetadata() 53 Metadata &fileMetadata) in FillExtractedMetadata() 80 int32_t MetadataExtractor::Extract(Metadata &fileMetadata, const string &uri) in Extract()
|
/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/media_scanner/include/ |
D | media_scanner_db.h | 54 string InsertMetadata(const Metadata &metadata); 55 string UpdateMetadata(const Metadata &metadata); 57 vector<string> BatchInsert(const vector<Metadata> &metadataList); 59 int32_t UpdateMetadata(const vector<Metadata> &metadataList); 61 int32_t InsertAlbum(const Metadata &metadata); 62 int32_t UpdateAlbum(const Metadata &metadata); 63 void ReadAlbums(const string &path, unordered_map<string, Metadata> &albumMap); 65 unique_ptr<Metadata> ReadMetadata(const string &path); 66 unique_ptr<Metadata> GetFileModifiedInfo(const string &path); 71 …std::unique_ptr<Metadata> FillMetadata(const shared_ptr<NativeRdb::AbsSharedResultSet> &resultSet);
|
D | media_scanner.h | 77 std::unique_ptr<Metadata> GetFileMetadata(const std::string &path, const int32_t parentId); 87 bool IsFileScanned(Metadata &fileMetadata); 92 int32_t VisitFile(const Metadata &fileMetadata); 99 int32_t BatchUpdateRequest(Metadata &fileMetadata); 100 int32_t RetrieveMetadata(Metadata &fileMetadata); 107 std::unordered_map<std::string, Metadata> albumMap_; 112 std::vector<Metadata> batchUpdate_;
|
D | metadata_extractor.h | 37 int32_t Extract(Metadata &fileMetadata, const std::string &uri); 38 int32_t ExtractImageMetadata(Metadata &fileMetadata); 41 Metadata &fileMetadata);
|
D | metadata.h | 26 class Metadata { 28 Metadata(); 29 ~Metadata() = default; 97 using MetadataFnPtr = void (Metadata::*)(const VariantData &);
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/syncer/src/ |
D | meta_data.cpp | 36 Metadata::Metadata() in Metadata() function in DistributedDB::Metadata 42 Metadata::~Metadata() in ~Metadata() 48 int Metadata::Initialize(ISyncInterface* storage) in Initialize() 76 int Metadata::SaveTimeOffset(const DeviceID &deviceId, TimeOffset inValue) in SaveTimeOffset() 87 void Metadata::GetTimeOffset(const DeviceID &deviceId, TimeOffset &outValue) in GetTimeOffset() 95 void Metadata::GetLocalWaterMark(const DeviceID &deviceId, uint64_t &outValue) in GetLocalWaterMark() 103 int Metadata::SaveLocalWaterMark(const DeviceID &deviceId, uint64_t inValue) in SaveLocalWaterMark() 113 void Metadata::GetPeerWaterMark(const DeviceID &deviceId, uint64_t &outValue) in GetPeerWaterMark() 121 int Metadata::SavePeerWaterMark(const DeviceID &deviceId, uint64_t inValue, bool isNeedHash) in SavePeerWaterMark() 131 int Metadata::SaveLocalTimeOffset(TimeOffset timeOffset) in SaveLocalTimeOffset() [all …]
|
D | time_helper.h | 45 int Initialize(const ISyncInterface *inStorage, std::shared_ptr<Metadata> &inMetadata); 67 std::shared_ptr<Metadata> metadata_;
|
D | sync_state_machine.h | 49 …lize(ISyncTaskContext *context, ISyncInterface *syncInterface, std::shared_ptr<Metadata> &metadata, 137 std::shared_ptr<Metadata> metadata_;
|
D | meta_data.h | 38 class Metadata { 40 Metadata(); 41 virtual ~Metadata();
|
D | time_sync.h | 74 int Initialize(ICommunicator *communicator, std::shared_ptr<Metadata> &metadata, 111 std::shared_ptr<Metadata> metadata_;
|
D | isync_state_machine.h | 34 std::shared_ptr<Metadata> &metadata, ICommunicator *communicator) = 0;
|
/foundation/appexecfwk/standard/test/systemtest/common/bms/bms_client_system_test/ |
D | bundle_mgr_client_system_test.cpp | 222 std::vector<Metadata> &metadata = info.metadata; 223 Metadata data; 248 std::vector<Metadata> &metadata = info.metadata; 249 Metadata data; 274 std::vector<Metadata> &metadata = info.metadata; 275 Metadata data; 325 std::vector<Metadata> &metadata = info.metadata; 326 Metadata data; 358 std::vector<Metadata> &metadata = info.metadata; 359 Metadata data; [all …]
|
/foundation/multimedia/media_standard/services/engine/gstreamer/avmetadatahelper/ |
D | avmeta_elem_meta_collector.h | 33 struct Metadata { struct 34 Metadata() = default; 35 ~Metadata() = default; 71 void PopulateMeta(Metadata &meta); argument 77 using MetaResCb = std::function<void(const Metadata &)>; 105 void ReportMeta(const Metadata &metadata); 115 void ConvertToAVMeta(const Format &innerMeta, Metadata &avmeta) const; 123 Metadata fileUploadMeta_;
|
D | avmeta_meta_collector.h | 48 void UpdataMeta(const Metadata &metadata); 58 Metadata allMeta_;
|
/foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base/include/ |
D | application_info.h | 39 struct Metadata : public Parcelable { struct 43 Metadata() = default; argument 44 …Metadata(const std::string ¶mName, const std::string ¶mValue, const std::string ¶mReso… 47 static Metadata *Unmarshalling(Parcel &parcel); 156 std::map<std::string, std::vector<Metadata>> metadata;
|
D | json_serializer.h | 37 void to_json(nlohmann::json &jsonObject, const Metadata &metadata); 38 void from_json(const nlohmann::json &jsonObject, Metadata &metadata);
|
/foundation/aafwk/standard/interfaces/innerkits/runtime/include/ |
D | js_data_struct_converter.h | 39 NativeValue* CreateJsMetadataArray(NativeEngine& engine, const std::vector<AppExecFwk::Metadata> &i… 40 NativeValue* CreateJsMetadata(NativeEngine& engine, const AppExecFwk::Metadata &Info);
|
/foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_core/src/bundlemgr/ |
D | bundle_mgr_client_impl.cpp | 88 std::vector<Metadata> data = hapModuleInfo.metadata; in GetResConfigFile() 104 std::vector<Metadata> data = extensionInfo.metadata; in GetResConfigFile() 120 std::vector<Metadata> data = abilityInfo.metadata; in GetResConfigFile() 146 bool BundleMgrClientImpl::GetResProfileByMetadata(const std::vector<Metadata> &metadata, in GetResProfileByMetadata() 164 …for_each(metadata.begin(), metadata.end(), [this, &resMgr, &profileInfos](const Metadata& data)->v… in GetResProfileByMetadata() 171 [this, &resMgr, &metadataName, &profileInfos](const Metadata& data)->void { in GetResProfileByMetadata()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/syncer/ |
D | mock_meta_data.h | 22 class MockMetadata : public Metadata {
|
D | distributeddb_single_ver_p2p_query_sync_test.cpp | 668 Metadata meta; 749 Metadata meta; 795 Metadata meta; 851 Metadata meta; 873 Metadata anotherMeta; 902 Metadata meta; 983 Metadata meta; 1029 Metadata meta; 1084 Metadata meta; 1117 Metadata anotherMeta; [all …]
|
D | distributeddb_mock_sync_module_test.cpp | 43 std::shared_ptr<Metadata> metadata = std::make_shared<Metadata>(); in Init() 281 std::shared_ptr<Metadata> metadata = std::static_pointer_cast<Metadata>(mockMetadata); 414 std::shared_ptr<Metadata> metaData = std::make_shared<Metadata>();
|
/foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base/src/ |
D | application_info.cpp | 87 Metadata::Metadata(const std::string ¶mName, const std::string ¶mValue, const std::string &… in Metadata() function in OHOS::AppExecFwk::Metadata 92 bool Metadata::ReadFromParcel(Parcel &parcel) in ReadFromParcel() 100 bool Metadata::Marshalling(Parcel &parcel) const in Marshalling() 108 Metadata *Metadata::Unmarshalling(Parcel &parcel) in Unmarshalling() 110 Metadata *metadata = new (std::nothrow) Metadata; in Unmarshalling() 643 GetValueIfFindKey<std::map<std::string, std::vector<Metadata>>>(jsonObject, in from_json()
|