Home
last modified time | relevance | path

Searched refs:exec_cmd (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/otautil/
Droots.cpp91 static int exec_cmd(const std::vector<std::string>& args) { in exec_cmd() function
206 int result = exec_cmd(mke2fs_args); in format_volume()
211 result = exec_cmd(e2fsdroid_args); in format_volume()
233 if (exec_cmd(make_f2fs_cmd) != 0) { in format_volume()
241 if (exec_cmd(sload_f2fs_cmd) != 0) { in format_volume()
/bootable/recovery/updater/
Dinstall.cpp396 static int exec_cmd(const std::vector<std::string>& args) { in exec_cmd() function
466 if (auto status = exec_cmd(mke2fs_args); status != 0) { in FormatFn()
471 if (auto status = exec_cmd({ "/system/bin/e2fsdroid", "-e", "-a", mount_point, location }); in FormatFn()
490 if (auto status = exec_cmd(f2fs_args); status != 0) { in FormatFn()
495 if (auto status = exec_cmd({ "/system/bin/sload_f2fs", "-t", mount_point, location }); in FormatFn()