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

/frameworks/base/cmds/installd/
H A Dcommands.c511 static void run_dexopt(int zip_fd, int odex_fd, const char* input_file_name, argument
520 sprintf(odex_num, "%d", odex_fd);
566 int res, zip_fd=-1, odex_fd=-1; local
601 odex_fd = open(dex_path, O_RDWR | O_CREAT | O_EXCL, 0644);
602 if (odex_fd < 0) {
606 if (fchown(odex_fd, AID_SYSTEM, uid) < 0) {
610 if (fchmod(odex_fd,
631 if (flock(odex_fd, LOCK_EX | LOCK_NB) != 0) {
636 run_dexopt(zip_fd, odex_fd, apk_path, dexopt_flags);
650 close(odex_fd);
[all...]

Completed in 27 milliseconds