Lines Matching full:oat
91 UsageError(" --oat-file=<file.oat>: specifies the oat output destination via a filename.");
92 UsageError(" Example: --oat-file=/system/framework/boot.oat");
94 UsageError(" --oat-fd=<number>: specifies the oat output destination via a file descriptor.");
95 UsageError(" Example: --oat-file=/system/framework/boot.oat");
97 UsageError(" --oat-location=<oat-name>: specifies a symbolic name for the file corresponding");
98 UsageError(" to the file descriptor specified by --oat-fd.");
99 UsageError(" Example: --oat-location=/data/dalvik-cache/system@app@Calculator.apk.oat");
101 UsageError(" --oat-symbols=<file.oat>: specifies the oat output destination with full symbols.");
102 UsageError(" Example: --oat-symbols=/symbols/system/framework/boot.oat");
630 } else if (option.starts_with("--oat-file=")) {
631 oat_filename = option.substr(strlen("--oat-file=")).data();
632 } else if (option.starts_with("--oat-symbols=")) {
633 oat_symbols = option.substr(strlen("--oat-symbols=")).data();
634 } else if (option.starts_with("--oat-fd=")) {
635 const char* oat_fd_str = option.substr(strlen("--oat-fd=")).data();
637 Usage("Failed to parse --oat-fd argument '%s' as an integer", oat_fd_str);
648 } else if (option.starts_with("--oat-location=")) {
649 oat_location = option.substr(strlen("--oat-location=")).data();
705 Usage("Output must be supplied with either --oat-file or --oat-fd");
709 Usage("--oat-file should not be used with --oat-fd");
713 Usage("--oat-symbols should not be used with --oat-fd");
717 Usage("--oat-symbols should not be used with --host");
721 Usage("--oat-fd should not be used with --image");
821 PLOG(ERROR) << "Failed to create oat file: " << oat_location;
825 PLOG(ERROR) << "Failed to make oat file world readable: " << oat_location;
962 LOG(ERROR) << "Failed to create oat file: " << oat_location;
966 VLOG(compiler) << "Oat file written successfully (unstripped): " << oat_location;
968 // Notes on the interleaving of creating the image and oat file to
976 // | boot oat |
981 // There are several constraints on the loading of the image and boot.oat.
987 // code in the oat.
989 // 3. There are absolute pointers from the code in the oat to Methods
992 // 4. There are absolute pointers from code in the oat to other code
993 // in the oat.
997 // 1. We have already created that oat file above with
1001 // PatchInformation for references to oat code and Methods that need
1002 // to be update once we know where the oat file will be located
1005 // 2. We create the image file. It needs to know where the oat file
1006 // will be loaded after itself. Originally when oat file was simply
1010 // where the oat header is located within. ImageWriter's
1012 // Compiler to touch up absolute references in the oat file.
1056 VLOG(compiler) << "Oat file copied successfully (stripped): " << oat_stripped;
1067 // We wrote the oat file successfully, and want to keep it.
1068 VLOG(compiler) << "Oat file written successfully (stripped): " << oat_location;