Home | History | Annotate | Download | only in recovery

Lines Matching defs:binary

40 #define ASSUMED_UPDATE_BINARY_NAME  "META-INF/com/google/android/update-binary"
49 // If the package contains an update binary, extract it and run it.
59 const char* binary = "/tmp/update_binary";
60 unlink(binary);
61 int fd = creat(binary, 0755);
64 LOGE("Can't make %s\n", binary);
79 // When executing the update binary contained in the package, the
126 args[0] = binary;
138 execv(binary, (char* const*)args);
139 fprintf(stdout, "E:Can't run %s (%s)\n", binary, strerror(errno));