Home
last modified time | relevance | path

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

/system/tools/aidl/
Dio_delegate.cpp126 string base_dir = caller_base_dir; in CreateNestedDirs() local
127 if (base_dir.empty()) { in CreateNestedDirs()
128 base_dir = "."; in CreateNestedDirs()
131 if (base_dir[base_dir.size() - 1] != OS_PATH_SEPARATOR) { in CreateNestedDirs()
132 base_dir += OS_PATH_SEPARATOR; in CreateNestedDirs()
134 base_dir += subdir; in CreateNestedDirs()
137 success = _mkdir(base_dir.c_str()) == 0; in CreateNestedDirs()
139 success = mkdir(base_dir.c_str(), in CreateNestedDirs()
144 AIDL_ERROR(caller_base_dir) << "Error while creating " << base_dir << ": " << strerror(errno); in CreateNestedDirs()
/system/core/init/
Dfirst_stage_init.cpp136 std::unique_ptr<DIR, decltype(&closedir)> base_dir(opendir(MODULE_BASE_DIR), closedir); in LoadKernelModules() local
137 if (!base_dir) { in LoadKernelModules()
143 while ((entry = readdir(base_dir.get()))) { in LoadKernelModules()
/system/apex/tools/
Ddeapexer.py40 def __init__(self, name, base_dir, permissions, size, ino, extents, is_directory=False, argument
43 self._base_dir = base_dir
202 entries.append(ApexImageEntry(name, base_dir=path, permissions=int(bits[3:], 8), size=size,
/system/apex/apexd/
Dapexd.cpp1706 Result<void> SnapshotDataDirectory(const std::string& base_dir, in SnapshotDataDirectory() argument
1711 StringPrintf("%s/%s/%d%s", base_dir.c_str(), kApexSnapshotSubDir, in SnapshotDataDirectory()
1718 auto from_path = StringPrintf("%s/%s/%s", base_dir.c_str(), kApexDataSubDir, in SnapshotDataDirectory()
1731 Result<void> RestoreDataDirectory(const std::string& base_dir, in RestoreDataDirectory() argument
1736 "%s/%s/%d%s/%s", base_dir.c_str(), kApexSnapshotSubDir, rollback_id, in RestoreDataDirectory()
1738 auto to_path = StringPrintf("%s/%s/%s", base_dir.c_str(), kApexDataSubDir, in RestoreDataDirectory()
1755 void SnapshotOrRestoreDeIfNeeded(const std::string& base_dir, in SnapshotOrRestoreDeIfNeeded() argument
1760 SnapshotDataDirectory(base_dir, session.GetRollbackId(), apex_name); in SnapshotOrRestoreDeIfNeeded()
1770 SnapshotDataDirectory(base_dir, session.GetRollbackId(), apex_name, in SnapshotOrRestoreDeIfNeeded()
1774 RestoreDataDirectory(base_dir, session.GetRollbackId(), apex_name); in SnapshotOrRestoreDeIfNeeded()
[all …]
/system/linkerconfig/
Dmain.cc264 const std::string& base_dir, android::linkerconfig::contents::Context& ctx, in GenerateApexConfiguration() argument
266 std::string dir_path = base_dir + "/" + target_apex.name; in GenerateApexConfiguration()