Searched refs:GetUriFromPath (Results 1 – 9 of 9) sorted by relevance
27 napi_value GetUriFromPath::Sync(napi_env env, napi_callback_info info) in Sync()42 std::string uri = CommonFunc::GetUriFromPath(path.get()); in Sync()
25 class GetUriFromPath final {
26 NVal::DeclareNapiFunction("getUriFromPath", GetUriFromPath::Sync), in Export()
27 static std::string GetUriFromPath(const std::string &path);
67 ….find(FILE_SCHEME_PREFIX) == 0) ? uriOrPath : AppFileService::CommonFunc::GetUriFromPath(uriOrPath) in FileUriImpl()
99 auto uri = AppFileService::CommonFunc::GetUriFromPath(path); in FfiOHOSFILEUriGetUriFromPath()
86 string CommonFunc::GetUriFromPath(const string &path) in GetUriFromPath() function in OHOS::AppFileService::CommonFunc
166 (uriOrPath.find(FILE_SCHEME_PREFIX) == 0) ? uriOrPath : CommonFunc::GetUriFromPath(uriOrPath) in FileUri()
128 std::string uri = AppFileService::CommonFunc::GetUriFromPath(filePath); in Pack()