/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
D | metadata_extractor.cpp | 167 …MetadataExtractor::FillExtractedMetadata(const std::unordered_map<int32_t, std::string> &resultMap, in FillExtractedMetadata() argument 174 strTemp = resultMap.at(AV_KEY_ALBUM); in FillExtractedMetadata() 179 strTemp = resultMap.at(AV_KEY_ARTIST); in FillExtractedMetadata() 184 strTemp = resultMap.at(AV_KEY_DURATION); in FillExtractedMetadata() 190 strTemp = resultMap.at(AV_KEY_VIDEO_HEIGHT); in FillExtractedMetadata() 196 strTemp = resultMap.at(AV_KEY_VIDEO_WIDTH); in FillExtractedMetadata() 202 strTemp = resultMap.at(AV_KEY_MIME_TYPE); in FillExtractedMetadata() 207 strTemp = resultMap.at(AV_KEY_DATE_TIME_FORMAT); in FillExtractedMetadata() 220 strTemp = resultMap.at(AV_KEY_VIDEO_ORIENTATION); in FillExtractedMetadata() 228 strTemp = resultMap.at(AV_KEY_TITLE); in FillExtractedMetadata() [all …]
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner_db_test/src/ |
D | medialibrary_metadata_extractor_test.cpp | 88 unordered_map<int32_t, std::string> resultMap; variable 89 …resultMap = {{AV_KEY_ALBUM, ""}, {AV_KEY_ARTIST, ""}, {AV_KEY_DURATION, ""}, {AV_KEY_DATE_TIME_FOR… 92 MetadataExtractor::FillExtractedMetadata(resultMap, data); 105 unordered_map<int32_t, std::string> resultMap; variable 106 …resultMap = {{AV_KEY_ALBUM, "a"}, {AV_KEY_ARTIST, "a"}, {AV_KEY_DURATION, "a"}, {AV_KEY_DATE_TIME_… 109 MetadataExtractor::FillExtractedMetadata(resultMap, data);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
D | bms_bundle_get_window_properties_test.cpp | 201 std::unordered_map<std::string, double> resultMap; in CheckWindowProperty1() local 202 resultMap.emplace(ORIENTATION, static_cast<double>(result.orientation)); in CheckWindowProperty1() 203 resultMap.emplace(MAX_WINDOW_RATIO, result.maxWindowRatio); in CheckWindowProperty1() 204 resultMap.emplace(MIN_WINDOW_RATIO, result.minWindowRatio); in CheckWindowProperty1() 205 resultMap.emplace(MAX_WINDOW_WIDTH, static_cast<double>(result.maxWindowWidth)); in CheckWindowProperty1() 206 resultMap.emplace(MIN_WINDOW_WIDTH, static_cast<double>(result.minWindowWidth)); in CheckWindowProperty1() 207 resultMap.emplace(MAX_WINDOW_HEIGHT, static_cast<double>(result.maxWindowHeight)); in CheckWindowProperty1() 208 resultMap.emplace(MIN_WINDOW_HEIGHT, static_cast<double>(result.minWindowHeight)); in CheckWindowProperty1() 209 if (resultMap.find(option) != resultMap.end() && resultMap.at(option) == expectedValue) { in CheckWindowProperty1()
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/data_sync/ |
D | data_handler_mock.h | 59 …t OnDownloadThumb(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap) in OnDownloadThumb() argument
|
D | album_data_handler_test.cpp | 45 … int32_t(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap));
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/data_sync/ |
D | data_handler.h | 68 … OnDownloadThumb(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap);
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/data_sync/ |
D | data_handler.cpp | 198 …::OnDownloadThumb(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap) in OnDownloadThumb() argument
|
D | data_syncer.cpp | 305 const map<DKDownloadAsset, DKDownloadResult> &resultMap, in ThumbDownloadCallback() argument 317 handler->OnDownloadThumb(resultMap); in ThumbDownloadCallback()
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/data_sync/gallery_data_sync/ |
D | file_data_handler.h | 71 …adThumb(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap) override;
|
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
D | thumbnail_utils.cpp | 208 auto resultMap = avMetadataHelper->ResolveMetadata(); in LoadVideoFile() local 209 string videoOrientation = resultMap.at(AV_KEY_VIDEO_ORIENTATION); in LoadVideoFile()
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/data_sync/gallery_data_sync/ |
D | file_data_handler.cpp | 899 int32_t FileDataHandler::OnDownloadThumb(const map<DKDownloadAsset, DKDownloadResult> &resultMap) in OnDownloadThumb() argument 901 for (const auto &it : resultMap) { in OnDownloadThumb()
|