Home
last modified time | relevance | path

Searched refs:resultMap (Results 1 – 11 of 11) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
Dmetadata_extractor.cpp167 …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/
Dmedialibrary_metadata_extractor_test.cpp88 unordered_map<int32_t, std::string> resultMap; variable
89resultMap = {{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
106resultMap = {{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/
Dbms_bundle_get_window_properties_test.cpp201 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/
Ddata_handler_mock.h59 …t OnDownloadThumb(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap) in OnDownloadThumb() argument
Dalbum_data_handler_test.cpp45 … int32_t(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap));
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/data_sync/
Ddata_handler.h68 … OnDownloadThumb(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap);
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/data_sync/
Ddata_handler.cpp198 …::OnDownloadThumb(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap) in OnDownloadThumb() argument
Ddata_syncer.cpp305 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/
Dfile_data_handler.h71 …adThumb(const std::map<DriveKit::DKDownloadAsset, DriveKit::DKDownloadResult> &resultMap) override;
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
Dthumbnail_utils.cpp208 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/
Dfile_data_handler.cpp899 int32_t FileDataHandler::OnDownloadThumb(const map<DKDownloadAsset, DKDownloadResult> &resultMap) in OnDownloadThumb() argument
901 for (const auto &it : resultMap) { in OnDownloadThumb()