Home
last modified time | relevance | path

Searched refs:fileUriStr (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/test/unittest/file_uri_ndk_test/
H A Dfile_uri_ndk_test.cpp77 const char *fileUri = fileUriStr.c_str();
80 unsigned int length = fileUriStr.size();
152 fileUriStr += "data/storage/el2/base/haps/entry/files/GetPathFromUri004.txt";
153 fileUriStr += "?networkid=64799ecdf70788e396f454ff4a6e6ae4b09e20227c39c21f6e67a2aacbcef7b9";
154 const char *fileUri = fileUriStr.c_str();
160 unsigned int length = fileUriStr.size();
182 const char *fileUri = fileUriStr.c_str();
185 unsigned int length = fileUriStr.size();
207 fileUriStr += "data/storage/el2/base/haps/entry/files/GetPathFromUri006.txt";
209 const char *fileUri = fileUriStr.c_str();
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dfile_uri_helper_preview.cpp19 std::string FileUriHelper::GetRealPath(std::string fileUriStr) in GetRealPath() argument
22 size_t pos = fileUriStr.find(fileHead); in GetRealPath()
24 return fileUriStr.substr(pos + fileHead.length()); in GetRealPath()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dfile_uri_helper_ohos.cpp20 std::string FileUriHelper::GetRealPath(std::string fileUriStr) in GetRealPath() argument
22 AppFileService::ModuleFileUri::FileUri fileUri(fileUriStr); in GetRealPath()
/ohos5.0/foundation/arkui/ace_engine/test/mock/adapter/
H A Dmock_file_uri_helper_ohos.cpp19 std::string FileUriHelper::GetRealPath(std::string fileUriStr) in GetRealPath() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/image/
H A Dfile_uri_helper.h26 static std::string GetRealPath(std::string fileUriStr);
/ohos5.0/foundation/multimedia/media_library/frameworks/native/c_api/
H A Dmedia_asset_change_request_impl.cpp137 OHOS::AppFileService::ModuleFileUri::FileUri fileUriStr(fileUri); in AddResourceWithUri() local
138 string path = fileUriStr.GetRealPath(); in AddResourceWithUri()
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dalbum_napi.cpp855 string fileUriStr = MEDIALIBRARY_DATA_URI; in CommitModifyNative() local
856 Uri fileUri(fileUriStr); in CommitModifyNative()
H A Dmedia_asset_change_request_napi.cpp757 string fileUriStr; in ParseFileUri() local
759 …env, MediaLibraryNapiUtils::GetParamStringPathMax(env, arg, fileUriStr) == napi_ok, "Failed to get… in ParseFileUri()
760 AppFileService::ModuleFileUri::FileUri fileUri(fileUriStr); in ParseFileUri()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_file_extension/src/
H A Dmedia_file_extention_utils.cpp1481 void GetUriByRelativePath(const string &relativePath, string &fileUriStr) in GetUriByRelativePath() argument
1495 fileUriStr = MediaFileUri(MediaType::MEDIA_TYPE_FILE, to_string(fileId)).ToString(); in GetUriByRelativePath()
1498 fileUriStr = MediaFileUri(MediaType(mediaType), to_string(fileId)).ToString(); in GetUriByRelativePath()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/
H A Dmedialibrary_photo_operations_test.cpp3153 string fileUriStr = fileUri.ToString(); variable
3154 Uri uri(fileUriStr);
3163 string videoUriStr = fileUriStr;
3177 closeValues.PutString(MEDIA_DATA_DB_URI, fileUriStr);
3182 string livePhotoUriStr = fileUriStr;