Searched refs:out_fd (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/installd/ |
D | commands.c | 903 int res, input_fd=-1, out_fd=-1, swap_fd=-1; in dexopt() local 970 out_fd = open(out_path, O_RDWR | O_CREAT | O_EXCL, 0644); in dexopt() 971 if (out_fd < 0) { in dexopt() 975 if (fchmod(out_fd, in dexopt() 981 if (fchown(out_fd, AID_SYSTEM, uid) < 0) { in dexopt() 1046 if (flock(out_fd, LOCK_EX | LOCK_NB) != 0) { in dexopt() 1052 run_dexopt(input_fd, out_fd, input_file, out_path); in dexopt() 1055 run_patchoat(input_fd, out_fd, input_file, out_path, pkgname, instruction_set); in dexopt() 1057 run_dex2oat(input_fd, out_fd, input_file, out_path, swap_fd, pkgname, in dexopt() 1078 close(out_fd); in dexopt() [all …]
|