Searched refs:out_fd (Results 1 - 1 of 1) sorted by relevance
/frameworks/native/cmds/installd/ |
H A D | commands.c | 661 int res, zip_fd=-1, out_fd=-1; local 696 out_fd = open(out_path, O_RDWR | O_CREAT | O_EXCL, 0644); 697 if (out_fd < 0) { 701 if (fchmod(out_fd, 707 if (fchown(out_fd, AID_SYSTEM, uid) < 0) { 736 if (flock(out_fd, LOCK_EX | LOCK_NB) != 0) { 742 run_dexopt(zip_fd, out_fd, apk_path, out_path, dexopt_flags); 744 run_dex2oat(zip_fd, out_fd, apk_path, out_path, dexopt_flags); 761 close(out_fd); 766 if (out_fd > [all...] |
Completed in 198 milliseconds