Searched refs:out_fd (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/cmds/installd/
H A Dcommands.cpp1403 fd_t input_fd=-1, out_fd=-1, image_fd=-1, swap_fd=-1; local
1460 out_fd = open_output_file(out_path, /*recreate*/true, /*permissions*/0644);
1461 if (out_fd < 0) {
1465 if (!set_permissions_and_ownership(out_fd, is_public, uid, out_path)) {
1527 if (flock(out_fd, LOCK_EX | LOCK_NB) != 0) {
1534 run_patchoat(input_fd, out_fd, input_file, out_path, pkgname, instruction_set);
1538 run_dex2oat(input_fd, out_fd, image_fd, input_file_name, out_path, swap_fd,
1560 close(out_fd);
1574 if (out_fd >= 0) {
1575 close(out_fd);
[all...]

Completed in 211 milliseconds