Searched refs:base_dir (Results 1 – 6 of 6) sorted by relevance
/system/tools/aidl/ |
D | io_delegate.cpp | 123 string base_dir = caller_base_dir; in CreateNestedDirs() local 124 if (base_dir.empty()) { in CreateNestedDirs() 125 base_dir = "."; in CreateNestedDirs() 128 if (base_dir[base_dir.size() - 1] != OS_PATH_SEPARATOR) { in CreateNestedDirs() 129 base_dir += OS_PATH_SEPARATOR; in CreateNestedDirs() 131 base_dir += subdir; in CreateNestedDirs() 134 success = _mkdir(base_dir.c_str()) == 0; in CreateNestedDirs() 136 success = mkdir(base_dir.c_str(), in CreateNestedDirs() 141 LOG(ERROR) << "Error while creating " << base_dir << ": " in CreateNestedDirs()
|
/system/apex/apexd/ |
D | apexd.cpp | 1198 Result<void> snapshotDataDirectory(const std::string& base_dir, in snapshotDataDirectory() argument 1203 StringPrintf("%s/%s/%d%s", base_dir.c_str(), kApexSnapshotSubDir, in snapshotDataDirectory() 1210 auto from_path = StringPrintf("%s/%s/%s", base_dir.c_str(), kApexDataSubDir, in snapshotDataDirectory() 1223 Result<void> restoreDataDirectory(const std::string& base_dir, in restoreDataDirectory() argument 1228 "%s/%s/%d%s/%s", base_dir.c_str(), kApexSnapshotSubDir, rollback_id, in restoreDataDirectory() 1230 auto to_path = StringPrintf("%s/%s/%s", base_dir.c_str(), kApexDataSubDir, in restoreDataDirectory() 1247 void snapshotOrRestoreDeIfNeeded(const std::string& base_dir, in snapshotOrRestoreDeIfNeeded() argument 1252 snapshotDataDirectory(base_dir, session.GetRollbackId(), apex_name); in snapshotOrRestoreDeIfNeeded() 1262 snapshotDataDirectory(base_dir, session.GetRollbackId(), apex_name, in snapshotOrRestoreDeIfNeeded() 1266 restoreDataDirectory(base_dir, session.GetRollbackId(), apex_name); in snapshotOrRestoreDeIfNeeded() [all …]
|
/system/apex/tools/ |
D | deapexer.py | 37 def __init__(self, name, base_dir, permissions, size, is_directory=False, is_symlink=False): argument 39 self._base_dir = base_dir 157 entries.append(ApexImageEntry(name, base_dir=path, permissions=int(bits[3:], 8), size=size,
|
/system/core/init/ |
D | first_stage_init.cpp | 127 std::unique_ptr<DIR, decltype(&closedir)> base_dir(opendir(MODULE_BASE_DIR), closedir); in LoadKernelModules() local 128 if (!base_dir) { in LoadKernelModules() 134 while ((entry = readdir(base_dir.get()))) { in LoadKernelModules()
|
/system/linkerconfig/ |
D | main.cc | 251 const std::string& base_dir, android::linkerconfig::contents::Context& ctx, in GenerateApexConfiguration() argument 253 std::string dir_path = base_dir + "/" + target_apex.name; in GenerateApexConfiguration()
|
/system/core/adb/ |
D | test_device.py | 1210 base_dir = tempfile.mkdtemp() 1213 full_dir_path = base_dir + self.DEVICE_TEMP_DIR 1225 os.environ['ANDROID_PRODUCT_OUT'] = base_dir 1236 if base_dir is not None: 1237 shutil.rmtree(base_dir)
|