Searched refs:extraPath (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | moving_photo_file_utils.cpp | 184 static int32_t ReadExtraFile(const std::string& extraPath, map<string, string>& extraData) in ReadExtraFile() argument 187 if (!PathToRealPath(extraPath, absExtraPath)) { in ReadExtraFile() 188 MEDIA_ERR_LOG("file is not real path: %{private}s, errno: %{public}d", extraPath.c_str(), errno); in ReadExtraFile() 217 static int32_t WriteExtraData(const string& extraPath, const UniqueFd& livePhotoFd, const UniqueFd& videoFd, in WriteExtraData() argument 222 if (MediaFileUtils::IsFileValid(extraPath)) { in WriteExtraData() 224 if (ReadExtraFile(extraPath, extraData) == E_ERR) { in WriteExtraData() 265 string extraPath = MovingPhotoFileUtils::GetMovingPhotoExtraDataPath(absImagePath); in GetExtraDataLen() local 266 if (MediaFileUtils::IsFileValid(extraPath)) { in GetExtraDataLen() 267 fileSize = GetFileSize(extraPath); in GetExtraDataLen() 273 if (!MediaFileUtils::IsFileExists(extraPath) in GetExtraDataLen() 298 MergeFile(const UniqueFd& imageFd, const UniqueFd& videoFd, const UniqueFd& livePhotoFd, const string& extraPath, uint32_t frameIndex) MergeFile() argument 348 string extraPath = GetMovingPhotoExtraDataPath(movingPhotoImagepath, userId); ConvertToLivePhoto() local [all...] |
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | util.cpp | 179 cJSON* extraPath = cJSON_GetArrayItem(data, index); in ParseVideoExtraPath() local 180 if (extraPath != nullptr && cJSON_IsString(extraPath)) { in ParseVideoExtraPath() 181 config.videoExtPath.emplace_back(extraPath->valuestring); in ParseVideoExtraPath()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | moving_photo_file_utils_test.cpp | 315 string extraPath = MovingPhotoFileUtils::GetMovingPhotoExtraDataPath(imagePath); in HWTEST_F() local 316 EXPECT_EQ(MediaFileUtils::CreateAsset(extraPath), E_SUCCESS); in HWTEST_F() 317 EXPECT_EQ(WriteFileContent(extraPath, FILE_TEST_EXTRA_DATA, sizeof(FILE_TEST_EXTRA_DATA)), true); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
H A D | metadata_extractor.cpp | 510 string extraPath = MovingPhotoFileUtils::GetMovingPhotoExtraDataPath(data->GetMovingPhotoImagePath()); in ParseLivePhotoCoverPosition() local 512 if (!PathToRealPath(extraPath, absExtraPath)) { in ParseLivePhotoCoverPosition() 513 MEDIA_ERR_LOG("file is not real path: %{private}s, errno: %{public}d", extraPath.c_str(), errno); in ParseLivePhotoCoverPosition()
|
Completed in 5 milliseconds