HomeSort by relevance Sort by last modified time
    Searched full:patchoat (Results 1 - 25 of 41) sorted by null

1 2

  /art/test/117-nopatchoat/
info.txt 1 Test that disables patchoat'ing the application.
expected.txt 1 Run without dex2oat/patchoat
3 dex2oat & patchoat are disabled, has oat is true, has executable oat is expected.
5 Run with dexoat/patchoat
7 dex2oat & patchoat are enabled, has oat is true, has executable oat is expected.
11 dex2oat & patchoat are enabled, has oat is true, has executable oat is expected.
run 38 echo "Run without dex2oat/patchoat"
43 echo "Run with dexoat/patchoat"
  /art/test/119-noimage-patchoat/
info.txt 1 Test that disables patchoat'ing the image.
run 22 echo "Test 119-noimage-patchoat is not intended to run in no-relocate mode."
  /system/sepolicy/prebuilts/api/26.0/private/
postinstall_dexopt.te 3 # Run dex2oat/patchoat in its own sandbox.
  /system/sepolicy/prebuilts/api/27.0/private/
postinstall_dexopt.te 3 # Run dex2oat/patchoat in its own sandbox.
  /system/sepolicy/prebuilts/api/28.0/private/
postinstall_dexopt.te 3 # Run dex2oat/patchoat in its own sandbox.
  /system/sepolicy/private/
postinstall_dexopt.te 3 # Run dex2oat/patchoat in its own sandbox.
  /art/patchoat/
Android.bp 18 name: "patchoat-defaults",
21 srcs: ["patchoat.cc"],
34 name: "patchoat",
35 defaults: ["patchoat-defaults"],
45 "patchoat-defaults",
patchoat.h 45 class PatchOat {
70 ~PatchOat() {}
71 PatchOat(PatchOat&&) = default;
75 PatchOat(InstructionSet isa, MemMap* image,
155 // Trim off high bits in case negative relocation with 64 bit patchoat.
170 PatchVisitor(PatchOat* patcher, mirror::Object* copy) : patcher_(patcher), copy_(copy) {}
183 PatchOat* const patcher_;
207 DISALLOW_IMPLICIT_CONSTRUCTORS(PatchOat);
patchoat.cc 16 #include "patchoat.h"
164 bool PatchOat::GeneratePatch(
254 if (!PatchOat::GeneratePatch(original, relocated, &output, error_msg)) {
416 bool PatchOat::CreateVdexAndOatSymlinks(const std::string& input_image_filename,
443 LOG(ERROR) << "patchoat cannot be used on non-PIC oat file: " << input_oat_filename;
458 bool PatchOat::Patch(const std::string& image_location,
540 PatchOat p = PatchOat(isa,
626 bool PatchOat::Verify(const std::string& image_location,
706 bool PatchOat::WriteImage(File* out)
1204 static int patchoat(int argc, char **argv) { function in namespace:art
    [all...]
patchoat_test.cc 333 // This test checks that relocating a boot image using patchoat produces the same result as
366 // Relocate the original boot image using patchoat. The image is relocated by the same amount
374 // The arch-including symlink is needed by patchoat
384 // Assert that patchoat created the same set of .art files as dex2oat
395 // .art file names output by patchoat look like tmp@art-data-<random>-<random>@boot*.art. To
406 // patchoat. patchoat preserves the OAT checksum header field and sets patch delta header field.
417 // Assert that the patchoat-relocated images are identical to the dex2oat-relocated images
423 FAIL() << "patchoat- and dex2oat-relocated variants of " << dex2oat_image_basename
441 // These tests check that a boot image relocated using patchoat can be unrelocate
    [all...]
  /art/
Android.bp 44 "patchoat",
  /art/runtime/
noop_compiler_callbacks.h 35 // would normally be enabled. For example the patchoat executable, and dex2oat --image, both need
dexopt_test.cc 217 std::string patchoat = GetAndroidRoot(); local
218 patchoat += kIsDebugBuild ? "/bin/patchoatd" : "/bin/patchoat";
221 argv.push_back(patchoat);
runtime_options.def 88 RUNTIME_OPTIONS_KEY (std::string, PatchOat)
  /art/compiler/dex/
quick_compiler_callbacks.h 41 // We are running in an environment where we can call patchoat safely so we should.
  /art/test/117-nopatchoat/src/
Main.java 30 "dex2oat & patchoat are " + ((isDex2OatEnabled()) ? "enabled" : "disabled") +
  /frameworks/native/cmds/installd/
installd_deps.h 44 // Compute the output path for patchoat.
  /build/make/core/
dex_preopt_libart.mk 10 PATCHOAT := $(HOST_OUT_EXECUTABLES)/patchoat$(HOST_EXECUTABLE_SUFFIX)
13 PATCHOAT := $(HOST_OUT_EXECUTABLES)/patchoatd$(HOST_EXECUTABLE_SUFFIX)
17 PATCHOAT_DEPENDENCY += $(PATCHOAT)
dex_preopt_libart_boot.mk 125 $(DEX2OAT_BOOT_IMAGE_LOG_TAGS) ANDROID_ROOT=$(PRODUCT_OUT)/system ANDROID_DATA=$(dir $@) $(PATCHOAT) \
  /art/build/
Android.common_path.mk 111 patchoat \
  /art/test/
knownfailures.json 77 "119-noimage-patchoat"],
180 "119-noimage-patchoat",
185 "don't have a patchoat or dex2oat. Therefore we",
330 "119-noimage-patchoat",
725 "119-noimage-patchoat",
    [all...]
  /art/test/etc/
run-test-jar 42 PATCHOAT=""
178 elif [ "x$1" = "x--no-patchoat" ]; then
179 PATCHOAT="-Xpatchoat:${FALSE_BIN}"
786 $PATCHOAT \
971 # For running, we must turn off logging when dex2oat or patchoat are missing. Otherwise we use
977 # All tests would log the error of failing dex2oat/patchoat. Be silent here and only
    [all...]

Completed in 804 milliseconds

1 2