Searched defs:odex_fd (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/cmds/installd/
H A Dcommands.c636 static void run_dexopt(int zip_fd, int odex_fd, const char* input_file_name, argument
645 sprintf(odex_num, "%d", odex_fd);
691 int res, zip_fd=-1, odex_fd=-1; local
726 odex_fd = open(dex_path, O_RDWR | O_CREAT | O_EXCL, 0644);
727 if (odex_fd < 0) {
731 if (fchmod(odex_fd,
737 if (fchown(odex_fd, AID_SYSTEM, uid) < 0) {
766 if (flock(odex_fd, LOCK_EX | LOCK_NB) != 0) {
771 run_dexopt(zip_fd, odex_fd, apk_path, dexopt_flags);
785 close(odex_fd);
[all...]

Completed in 541 milliseconds