Home
last modified time | relevance | path

Searched refs:rootPath (Results 1 - 19 of 19) sorted by relevance

/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/
H A Duntar_file_sup_test.cpp135 string rootPath = ""; in HWTEST_F() local
137 EXPECT_EQ(UntarFile::GetInstance().GenRealPath(rootPath, realName), ""); in HWTEST_F()
139 rootPath = "rootPath"; in HWTEST_F()
140 EXPECT_EQ(UntarFile::GetInstance().GenRealPath(rootPath, realName), ""); in HWTEST_F()
143 EXPECT_EQ(UntarFile::GetInstance().GenRealPath(rootPath, realName), "rootPath/realName"); in HWTEST_F()
145 rootPath = "/rootPath/"; in HWTEST_F()
147 EXPECT_EQ(UntarFile::GetInstance().GenRealPath(rootPath, realNam in HWTEST_F()
163 string rootPath = "rootPath/realName"; HWTEST_F() local
190 string rootPath = ""; HWTEST_F() local
[all...]
H A Duntar_file_test.cpp110 string rootPath(""); in HWTEST_F()
111 auto [ret, fileInfos, errFileInfos] = UntarFile::GetInstance().UnPacket(tarFile, rootPath); in HWTEST_F()
149 string rootPath(root); in HWTEST_F()
154 auto [ret, fileInfos, errFileInfos] = UntarFile::GetInstance().UnPacket(tarFile, rootPath); in HWTEST_F()
188 string rootPath(root); in HWTEST_F()
189 auto [ret, fileInfos, errFileInfos] = UntarFile::GetInstance().UnPacket(aFile, rootPath); in HWTEST_F()
227 string rootPath(root); in HWTEST_F()
228 auto [ret, fileInfos, errFileInfos] = UntarFile::GetInstance().UnPacket(tarFile, rootPath); in HWTEST_F()
281 string rootPath(root); in HWTEST_F()
282 auto [ret, fileInfos, errFileInfos] = UntarFile::GetInstance().UnPacket(tarFile, rootPath); in HWTEST_F()
[all...]
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/include/
H A Duntar_file.h43 const std::string &tarFile, const std::string &rootPath);
45 const std::string &tarFile, const std::string &rootPath,
59 std::tuple<int, EndFileInfo, ErrFileInfo> ParseTarFile(const std::string &rootPath);
66 std::tuple<int, EndFileInfo, ErrFileInfo> ParseIncrementalTarFile(const std::string &rootPath);
88 std::string GenRealPath(const std::string &rootPath, const std::string &pathName);
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dapplication_cleaner.cpp124 int ApplicationCleaner::GetRootPath(std::vector<std::string> &rootPath) in GetRootPath() argument
143 rootPath.clear(); in GetRootPath()
151 rootPath.emplace_back(baseDir); in GetRootPath()
157 rootPath.emplace_back(moudleDir); in GetRootPath()
163 const std::vector<std::string> &rootPath, std::vector<std::string> &tempPath) in GetObsoleteBundleTempPath()
165 if (rootPath.empty()) { in GetObsoleteBundleTempPath()
170 for (const auto &dir : rootPath) { in GetObsoleteBundleTempPath()
162 GetObsoleteBundleTempPath( const std::vector<std::string> &rootPath, std::vector<std::string> &tempPath) GetObsoleteBundleTempPath() argument
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dapplication_cleaner.h41 int GetRootPath(std::vector<std::string> &rootPath);
42 int GetObsoleteBundleTempPath(const std::vector<std::string> &rootPath, std::vector<std::string> &tempPath);
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/
H A Dcgroup_map.cpp99 std::string rootPath = cgroupObj[JSON_KEY_PATH].get<std::string>(); in LoadConfigFromJsonObj() local
100 if (name.empty() || rootPath.empty()) { in LoadConfigFromJsonObj()
105 CgroupController controller(name, rootPath); in LoadConfigFromJsonObj()
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Duntar_file.cpp119 const std::string &tarFile, const std::string &rootPath) in UnPacket()
127 auto [ret, fileInfos, errInfos] = ParseTarFile(rootPath); in UnPacket()
139 const string &tarFile, const string &rootPath, const unordered_map<string, struct ReportFileInfo> &includes) in IncrementalUnPacket()
148 auto [ret, fileInfos, errFileInfos] = ParseIncrementalTarFile(rootPath); in IncrementalUnPacket()
246 std::tuple<int, EndFileInfo, ErrFileInfo> UntarFile::ParseTarFile(const string &rootPath) in ParseTarFile() argument
249 rootPath_ = rootPath; in ParseTarFile()
296 std::tuple<int, EndFileInfo, ErrFileInfo> UntarFile::ParseIncrementalTarFile(const string &rootPath) in ParseIncrementalTarFile() argument
299 rootPath_ = rootPath; in ParseIncrementalTarFile()
332 HILOGD("untar file: %{public}s, rootPath: %{public}s", GetAnonyPath(info.fullPath).c_str(), rootPath_.c_str()); in ParseFileByTypeFlag()
403 HILOGD("untar file: %{public}s, rootPath in ParseIncrementalFileByTypeFlag()
118 UnPacket( const std::string &tarFile, const std::string &rootPath) UnPacket() argument
138 IncrementalUnPacket( const string &tarFile, const string &rootPath, const unordered_map<string, struct ReportFileInfo> &includes) IncrementalUnPacket() argument
523 GenRealPath(const string &rootPath, const string &realName) GenRealPath() argument
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dfilesystem_api.cpp184 auto rootPath = ResolvePath(rootPathIn); variable
185 if (!rootPath.empty()) {
186 auto entry = rootFs_->GetEntry(rootPath);
188 return IFilesystem::Ptr(new StdFilesystem(rootPath));
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dapplication_cleaner_test.cpp104 std::vector<std::string> rootPath {path}; in HWTEST_F()
106 int res = cleaner->GetObsoleteBundleTempPath(rootPath, tempPath); in HWTEST_F()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/file/
H A Daudio_renderer_file_sink.cpp144 std::string rootPath; in Start() local
149 rootPath = filePath_.substr(0, pos); in Start()
154 CHECK_AND_RETURN_RET_LOG((filePath_.length() < PATH_MAX) && (realpath(rootPath.c_str(), realPath) != nullptr), in Start()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/file/
H A Daudio_capturer_file_source.cpp138 std::string rootPath; in Init() local
143 rootPath = sourceFilePath.substr(0, pos); in Init()
147 bool tmp = strlen(sourceFilePath.c_str()) >= PATH_MAX || realpath(rootPath.c_str(), realPath) == nullptr; in Init()
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dunified_data_helper.h26 static void SetRootPath(const std::string &rootPath);
/foundation/ability/idl_tool/idl_tool_2/util/
H A Doptions.cpp666 " -r <rootPackage>:<rootPath> Set root path of root package, only support 'intf-type hdi'\n" in ShowUsage()
706 * rootPath:./drivers/interface
747 std::string rootPath = ""; in GetPackagePath() local
752 rootPath = packageRoot.second; in GetPackagePath()
762 if (StringHelper::EndWith(rootPath, SEPARATOR)) { in GetPackagePath()
763 rootPath.pop_back(); in GetPackagePath()
767 return File::AdapterPath(rootPath + "/" + subPath); in GetPackagePath()
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/io/
H A Dintf_filesystem_api.h45 virtual IFilesystem::Ptr CreateStdFileSystem(BASE_NS::string_view rootPath) = 0;
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dunified_data_helper.cpp39 void UnifiedDataHelper::SetRootPath(const std::string &rootPath) in SetRootPath() argument
41 rootPath_ = rootPath; in SetRootPath()
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_config.cpp130 std::string rootPath(fname); in ParseConfig()
131 size_t idx = rootPath.rfind('/'); in ParseConfig()
136 rootPath_.assign(rootPath.substr(0, idx) + "/"); in ParseConfig()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dzip_file.cpp47 void GetTreeFileList(std::shared_ptr<DirTreeNode> root, const std::string &rootPath, in GetTreeFileList() argument
53 if (!root->isDir && !rootPath.empty()) { in GetTreeFileList()
54 assetList.push_back(rootPath); in GetTreeFileList()
56 std::string prefix = rootPath; in GetTreeFileList()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_smartalbum_map_operations.cpp137 string rootPath = ROOT_MEDIA_DIR + dirAsset.GetDirectory(); in GetAssetRecycle() local
138 if (filePath.find(rootPath) == 0) { in GetAssetRecycle()
139 string trashDirPath = rootPath + RECYCLE_DIR; in GetAssetRecycle()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp1812 const char rootPath[] = "/data/app/el2/"; in UpdateCeEceSeceUserAuth() local
1814 size_t allPathSize = strlen(rootPath) + strlen(basePath) + 1 + USER_ID_SIZE_VALUE; in UpdateCeEceSeceUserAuth()
1820 int len = sprintf_s(path, allPathSize, "%s%u%s", rootPath, userId, basePath); in UpdateCeEceSeceUserAuth()

Completed in 14 milliseconds