Home
last modified time | relevance | path

Searched refs:rel_path (Results 1 – 5 of 5) sorted by relevance

/system/tools/aidl/tests/
Dtest_util.cpp39 string rel_path{package_class}; in CanonicalNameToPath() local
40 for (char& c : rel_path) { in CanonicalNameToPath()
45 rel_path += extension; in CanonicalNameToPath()
46 return rel_path; in CanonicalNameToPath()
50 string* rel_path, in SplitPackageClass() argument
55 *rel_path = CanonicalNameToPath(package_class.c_str(), ".aidl"); in SplitPackageClass()
Dtest_util.h30 std::string* rel_path,
/system/core/libprocessgroup/
Dcgroup_map.cpp74 std::string CgroupController::GetTasksFilePath(const std::string& rel_path) const { in GetTasksFilePath()
77 if (!rel_path.empty()) { in GetTasksFilePath()
78 tasks_path += "/" + rel_path; in GetTasksFilePath()
83 std::string CgroupController::GetProcsFilePath(const std::string& rel_path, uid_t uid, in GetProcsFilePath() argument
86 proc_path.append("/").append(rel_path); in GetProcsFilePath()
/system/core/fastboot/
Dvendor_boot_img_utils_test.cpp165 TestFileHandle(const std::filesystem::path& rel_path) in TestFileHandle()
166 : abs_path_(std::move(std::filesystem::path(GetExecutableDirectory()) / rel_path)) {} in TestFileHandle()
175 ReadOnlyTestFileHandle(const std::filesystem::path& rel_path) : TestFileHandle(rel_path) {} in ReadOnlyTestFileHandle()
188 ReadWriteTestFileHandle(const std::filesystem::path& rel_path) : TestFileHandle(rel_path) {} in ReadWriteTestFileHandle()
231 void OpenTestFile(const char* rel_path, std::unique_ptr<TestFileHandle>* handle, in OpenTestFile() argument
233 *handle = std::make_unique<ReadOnlyTestFileHandle>(rel_path); in OpenTestFile()
/system/apex/apexer/
Dapexer.py874 rel_path = os.path.relpath(path, content_dir)
876 if rel_path == 'apex_payload.img':
877 out.write(path, rel_path, compress_type=zipfile.ZIP_STORED)
879 out.write(path, rel_path)