Searched refs:safePath (Results 1 - 3 of 3) sorted by relevance
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/ |
H A D | dfx_utils.cpp | 54 string safePath = path; in GetSafePath() local 56 return safePath; in GetSafePath() 59 return safePath.replace(0, CLOUD_PHOTO_PATH.length(), GARBLE); in GetSafePath() 61 safePath = safePath.replace(0, CLOUD_FILE_PATH.length(), GARBLE); in GetSafePath() 62 size_t splitIndex = safePath.find_last_of(SPLIT_PATH); in GetSafePath() 67 displayName = safePath.substr(splitIndex + 1); in GetSafePath() 70 safePath = safePath.substr(0, splitIndex) + safeDisplayName; in GetSafePath() 71 return safePath; in GetSafePath() [all...] |
H A D | dfx_manager.cpp | 101 string safePath = DfxUtils::GetSafePath(path); in HandleThumbnailError() local 102 MEDIA_ERR_LOG("Failed to %{public}d, path: %{public}s, err: %{public}d", method, safePath.c_str(), errorCode); in HandleThumbnailError() 107 dfxCollector_->CollectThumbnailError(safePath, method, errorCode); in HandleThumbnailError()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_dfx_test/src/ |
H A D | medialibrary_dfx_test.cpp | 103 std::string safePath = DfxUtils::GetSafePath(path); in HWTEST_F() local 104 ASSERT_TRUE(safePath == "*DCIM"); in HWTEST_F()
|
Completed in 2 milliseconds