Home
last modified time | relevance | path

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

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