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