Home | History | Annotate | Download | only in installd

Lines Matching refs:out_fd

1078     int res, input_fd=-1, out_fd=-1, swap_fd=-1;
1133 out_fd = open(out_path, O_RDWR | O_CREAT | O_EXCL, 0644);
1134 if (out_fd < 0) {
1138 if (fchmod(out_fd,
1144 if (fchown(out_fd, AID_SYSTEM, uid) < 0) {
1209 if (flock(out_fd, LOCK_EX | LOCK_NB) != 0) {
1216 run_patchoat(input_fd, out_fd, input_file, out_path, pkgname, instruction_set);
1224 run_dex2oat(input_fd, out_fd, input_file_name, out_path, swap_fd, pkgname,
1245 close(out_fd);
1253 if (out_fd >= 0) {
1254 close(out_fd);