/docs/source.android.com/en/devices/tech/dalvik/ |
jit-compiler.html | 64 <li>If the .oat file (the AOT binary for the .dex file) is available, ART uses 65 them directly. Note that .oat files are generated regularly. However, that does 67 <li>If no .oat file is available, ART runs through either JIT or an interpreter 68 to execute the .dex file. ART will always use the .oat files if available.
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/ |
DexEntryFinderTest.java | 64 DexEntryFinder testFinder = new DexEntryFinder("blah.oat", new TestMultiDexContainer(entries)); 113 DexEntryFinder testFinder = new DexEntryFinder("blah.oat", new TestMultiDexContainer(entries)); 134 DexEntryFinder testFinder = new DexEntryFinder("blah.oat", new TestMultiDexContainer(entries)); 152 DexEntryFinder testFinder = new DexEntryFinder("blah.oat", new TestMultiDexContainer(entries));
|
/frameworks/native/cmds/installd/ |
installd_deps.h | 47 // /system/framework/whatever.jar -> /system/framework/oat/<isa>/whatever.odex
|
/art/ |
Android.mk | 22 # clean-oat rules 26 include $(art_path)/build/Android.oat.mk 30 ifneq (,$(filter clean-oat%,$(MAKECMDGOALS))) 40 .PHONY: clean-oat 41 clean-oat: clean-oat-host clean-oat-target 43 .PHONY: clean-oat-host 44 clean-oat-host: 45 find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*.vdex' | xargs rm - [all...] |
/art/compiler/ |
image_test.cc | 99 // same oat file. 112 // and in the copied method form the same oat file. 133 // because these methods are in different oat files.
|
oat_writer.cc | 65 // If we write dex layout info in the oat file. 164 // OatClassHeader is the header only part of the oat class that is required even when compilation 204 // The actual oat class body contains the information about compiled methods. It is only required 540 // Record the ELF rodata section offset, i.e. the beginning of the OAT data. 548 // Initialize VDEX and OAT headers. 570 // Write DEX files into OAT, mmap and open them. 584 // Write type lookup tables into the oat file. 589 // Write dex layout sections into the oat file. 715 // There are no oat classes if there aren't any compiled methods. 833 // The oat class status is used only for verification of resolved classes [all...] |
elf_writer.h | 41 // Looks up information about location of oat file in elf file container.
|
/art/patchoat/ |
patchoat.h | 69 PIC, // Code was pic. Create symlink; skip OAT patching. 70 ERROR_OAT_FILE, // Failed to symlink oat file 74 // Was the .oat image at oat_in made with --compile-pic ?
|
patchoat.cc | 202 // Symlink PIC oat and vdex files and patch the image spaces in memory. 212 LOG(ERROR) << "Unable to open input oat file at " << input_oat_filename; 219 LOG(ERROR) << "Unable to open oat file " << input_oat_file->GetPath() << " : " << error_msg; 228 LOG(ERROR) << "patchoat cannot be used on non-PIC oat file: " << input_oat_file->GetPath(); 341 LOG(ERROR) << "No ELF input oat fie available"; 349 LOG(ERROR) << "Failed to find oat header in oat file " << file_path; 354 LOG(ERROR) << "Elf file " << file_path << " has an invalid oat header"; 360 LOG(INFO) << "Oat file at " << file_path << " is " << (is_pic ? "PIC" : "not pic"); 371 // Create a symlink from the old oat to the new oa [all...] |
/art/runtime/ |
type_lookup_table.h | 29 * This class instantiated at compile time by calling Create() method and written into OAT file. 72 // Method returns pointer to binary data of lookup table. Used by the oat writer. 77 // Method returns length of binary data. Used by the oat writer.
|
oat.cc | 17 #include "oat.h" 90 "Oat magic and magic_ have different lengths."); 92 "Oat version and version_ have different lengths."); 125 return StringPrintf("Invalid oat magic, expected 0x%x%x%x%x, got 0x%x%x%x%x.", 131 return StringPrintf("Invalid oat version, expected 0x%x%x%x%x, got 0x%x%x%x%x.", 503 CHECK(key_value != nullptr) << "compiler-filter not found in oat header"; 505 << "Invalid compiler-filter in oat header: " << key_value;
|
oat.h | 35 // Last oat version changed reason: Add dex section layout info to header. 151 // The amount that the image this oat is associated with has been patched.
|
/art/tools/dexfuzz/src/dexfuzz/executors/ |
Executor.java | 115 commandBuilder.append("--oat-file=output.oat "); 149 device.executeCommand("rm output.oat", false);
|
/cts/hostsidetests/appsecurity/test-apps/UsesLibraryApp/src/com/android/cts/useslibrary/ |
UsesLibraryTest.java | 38 * Verify that the test apk is backed by an oat file in the presence of shared libraries. 42 * Note that we cannot verify the shared library oat files (if WITH_DEXPREOPT=false 54 * Verify that the test apk is backed by an oat file when the shared libraries are missing
|
/art/oatdump/ |
oatdump.cc | 61 #include "oat.h" 121 output_name_(output_name.empty() ? "symbolized.oat" : output_name), 446 os << "IMAGE FILE LOCATION OAT CHECKSUM:\n"; 449 os << "IMAGE FILE LOCATION OAT BEGIN:\n"; 555 os << "OAT FILE STATS:\n"; 567 return 0; // Address not in oat file [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
ClassPathResolver.java | 250 throw new ResolveException(ex, "Error while loading oat file %s", entryFile); 252 throw new ResolveException(ex, "Error while loading dependencies for oat file %s", entryFile); 265 // We assume that all oat dependencies are located in the same directory as the oat file 283 return dependencyLeaf.substring(0, dependencyLeaf.length() - 4) + ".oat"; 328 bcp.set(i, entry.substring(0, entry.length() - 4) + ".oat"); 333 return Lists.newArrayList("boot.oat");
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
OatFile.java | 106 throw new InvalidOatFileException("Oat file has no oatdata symbol"); 111 throw new InvalidOatFileException("Invalid oat magic value"); 283 throw new IllegalStateException("Unsupported oat version"); 291 throw new IllegalStateException("Unsupported oat version"); 309 throw new InvalidOatFileException("Oat file contains truncated key value store"); 320 throw new InvalidOatFileException("Oat file contains truncated key value store"); 379 throw new InvalidOatFileException("Oat file has no symbol table");
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageDexOptimizer.java | 70 static final String OAT_DIR_NAME = "oat"; 235 // TODO(calin): there's no need to try to create the oat dir over and over again, 436 // TODO(calin): get the status of the oat file (needs installd call) 483 // Profile guide compiled oat files should not be public. 535 * Creates oat dir for the specified package if needed and supported. 536 * In certain cases oat directory 543 * @return Absolute path to the oat directory or null, if oat directory 560 Slog.w(TAG, "Failed to create oat dir", e); 627 // the 'oat' location) [all...] |
/art/runtime/gc/space/ |
image_space.cc | 126 std::string oat_file_option_string("--oat-file="); 507 // Since we are the boot image, pass null since we load the oat file from the boot image oat 557 // If we have an oat file, check the oat file checksum. The oat file is only non-null for the 558 // app image case. Otherwise, we open the oat file after the image and check the checksum there. 562 *error_msg = StringPrintf("Oat checksum 0x%x does not match the image one 0x%x in image %s", [all...] |
/frameworks/base/core/java/android/app/ |
DexLoadReporter.java | 160 // Secondary dex profiles are stored in the oat directory, next to the real dex file 173 File secondaryProfileDir = new File(realDexPath.getParent(), "oat"); 182 // Do not continue with registration if we could not create the oat dir.
|
/art/dex2oat/ |
dex2oat_test.cc | 37 #include "oat.h" 74 args.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); 75 args.push_back("--oat-location=" + odex_location); 77 args.push_back("--oat-file=" + odex_location); 87 CHECK_EQ(oat_file->FlushClose(), 0) << "Could not flush and close oat file"; 141 // Check the input compiler filter against the generated oat file's filter. May be overridden 531 // loaded in dex2oat, which is after the oat file has been started. Thus, the header [all...] |
/art/test/119-noimage-patchoat/ |
run | 19 # Force relocation otherwise we will just use the already created core.oat/art pair.
|
/art/test/656-annotation-lookup-generic-jni/src-art/ |
Main.java | 59 // *without creating an Oat file*. This way, the Dex file won't be
|
/system/extras/ioblame/ |
ioblame-gmail-run.example | 620 File: /framework/arm/boot-core-libart.oat 628 File: /framework/arm/boot-ext.oat 634 File: /framework/arm/boot-framework.oat 658 File: /framework/arm/boot.oat 668 File: /framework/arm/boot-okhttp.oat 674 File: /framework/arm/boot-org.apache.http.legacy.boot.oat 721 File: /framework/oat/arm/com.android.location.provider.odex 724 File: /framework/oat/arm/com.android.media.remotedisplay.odex [all...] |
/art/test/etc/ |
run-test-jar | 622 mkdir_locations="${mkdir_locations} ${DEX_LOCATION}/oat/$ISA" 625 app_image="--base=0x4000 --app-image-file=$DEX_LOCATION/oat/$ISA/$TEST_NAME.art" 636 --oat-file=$DEX_LOCATION/oat/$ISA/$TEST_NAME.odex \ 654 vdex_cmdline="${dex2oat_cmdline} ${VDEX_FILTER} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex --output-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex" 656 vdex_cmdline="${dex2oat_cmdline} ${VDEX_FILTER} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex" 658 vdex_cmdline="${dex2oat_cmdline} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex --output-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex" 810 # This is needed on the host so that the linker loads core.oat at the necessary address [all...] |