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 | 1279 Result<void> snapshotDataDirectory(const std::string& base_dir, in snapshotDataDirectory() argument 1284 StringPrintf("%s/%s/%d%s", base_dir.c_str(), kApexSnapshotSubDir, in snapshotDataDirectory() 1291 auto from_path = StringPrintf("%s/%s/%s", base_dir.c_str(), kApexDataSubDir, in snapshotDataDirectory() 1304 Result<void> restoreDataDirectory(const std::string& base_dir, in restoreDataDirectory() argument 1309 "%s/%s/%d%s/%s", base_dir.c_str(), kApexSnapshotSubDir, rollback_id, in restoreDataDirectory() 1311 auto to_path = StringPrintf("%s/%s/%s", base_dir.c_str(), kApexDataSubDir, in restoreDataDirectory() 1328 void snapshotOrRestoreDeIfNeeded(const std::string& base_dir, in snapshotOrRestoreDeIfNeeded() argument 1333 snapshotDataDirectory(base_dir, session.GetRollbackId(), apex_name); in snapshotOrRestoreDeIfNeeded() 1343 snapshotDataDirectory(base_dir, session.GetRollbackId(), apex_name, in snapshotOrRestoreDeIfNeeded() 1347 restoreDataDirectory(base_dir, session.GetRollbackId(), apex_name); in snapshotOrRestoreDeIfNeeded() [all …]
|
/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/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/linkerconfig/ |
D | main.cc | 246 const std::string& base_dir, android::linkerconfig::contents::Context& ctx, in GenerateApexConfiguration() argument 248 std::string dir_path = base_dir + "/" + target_apex.name; in GenerateApexConfiguration()
|
/system/core/adb/ |
D | test_device.py | 1223 base_dir = tempfile.mkdtemp() 1226 full_dir_path = base_dir + self.DEVICE_TEMP_DIR 1238 os.environ['ANDROID_PRODUCT_OUT'] = base_dir 1249 if base_dir is not None: 1250 shutil.rmtree(base_dir)
|