Home
last modified time | relevance | path

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

/system/tools/aidl/tests/
Dfake_io_delegate.cpp106 string package, class_name, rel_path; in AddStubParcelable() local
107 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddStubParcelable()
117 SetFileContents(rel_path, contents); in AddStubParcelable()
121 string package, class_name, rel_path; in AddStubInterface() local
122 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddStubInterface()
125 SetFileContents(rel_path, contents); in AddStubInterface()
130 string package, class_name, rel_path; in AddCompoundParcelable() local
131 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddCompoundParcelable()
137 SetFileContents(rel_path, contents); in AddCompoundParcelable()
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.cpp85 std::string CgroupController::GetTasksFilePath(const std::string& rel_path) const { in GetTasksFilePath()
88 if (!rel_path.empty()) { in GetTasksFilePath()
89 tasks_path += "/" + rel_path; in GetTasksFilePath()
94 std::string CgroupController::GetProcsFilePath(const std::string& rel_path, uid_t uid, in GetProcsFilePath() argument
97 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()