Searched refs:image (Results 1 - 25 of 26) sorted by relevance

12

/art/tools/
H A Drun-jdwp-tests.sh49 # image.
54 image="-Ximage:/data/art-test/core-optimizing-pic.art"
67 # We force generation of a new image to avoid build-time and run-time classpath differences.
68 image="-Ximage:/system/non/existent/vogar.art"
75 image="$1"
102 if [[ "$image" != "" ]]; then
103 vm_args="--vm-arg $image"
127 --vm-arg -Djpda.settings.debuggeeJavaPath="$art_debugee $image $debuggee_args" \
/art/oatdump/
H A DAndroid.mk46 $(OATDUMP) --image=$(HOST_CORE_IMG_LOCATION) --output=$(ART_DUMP_OAT_PATH)/core.host.oatdump.txt
53 $(OATDUMP) --image=$(TARGET_CORE_IMG_LOCATION) \
62 $(OATDUMP) --image=$(TARGET_CORE_IMG_LOCATION) \
77 $(OATDUMP) $(addprefix --image=,$(DEFAULT_DEX_PREOPT_BUILT_IMAGE_LOCATION)) \
84 $(OATDUMP) $(addprefix --image=,$(2ND_DEFAULT_DEX_PREOPT_BUILT_IMAGE_LOCATION)) \
/art/runtime/gc/space/
H A Dimage_space.h31 // An image space is a space backed with a memory mapped image.
38 // Create a boot image space from an image file for a specified instruction
41 // Create also opens the OatFile associated with the image file so
42 // that it be contiguously allocated with the image before the
46 static ImageSpace* CreateBootImage(const char* image,
52 // Try to open an existing app image space.
53 static ImageSpace* CreateFromAppImage(const char* image,
58 // Reads the image heade
[all...]
H A Dimage_space.cc32 #include "image-inl.h"
87 *error_msg = "Failed to generate image because no boot class path specified";
90 // We should clean up so we are more likely to have room for the image.
92 LOG(INFO) << "Pruning dalvik-cache since we are generating an image and will need to recompile";
101 std::string image_option_string("--image=");
113 // Note: we do not generate a fully debuggable boot image so we do not pass the
118 << "We should always be generating an image for the current isa.";
166 // so that the caller knows where to create the image.
192 // Relocate the image at image_location to dest_filename and relocate it by a random amount.
195 // We should clean up so we are more likely to have room for the image
1591 const std::string& image = images[i]; local
1598 CreateFromAppImage(const char* image, const OatFile* oat_file, std::string* error_msg) argument
[all...]
/art/tools/ahat/src/
H A DBitmapHandler.java22 import java.awt.image.BufferedImage;
47 exchange.getResponseHeaders().add("Content-Type", "image/png");
H A DDocString.java60 * Construct a new DocString initialized with the given image.
62 public static DocString image(URI uri, String alt) { method in class:DocString
H A DInstanceUtils.java25 import java.awt.image.BufferedImage;
141 // Convert the raw data to an image
H A DObjectHandler.java200 doc.println(DocString.image(
201 DocString.formattedUri("bitmap?id=%d", bitmap.getId()), "bitmap image"));
/art/test/
H A DAndroid.run-test.mk25 # The art-run-tests module, used to build all run-tests into an image.
142 IMAGE_TYPES := image
144 IMAGE_TYPES += no-image
188 $(foreach image, $(9), \
193 test-art-$(target)-run-test-$(run-type)-$(prebuild)-$(compiler)-$(relocate)-$(trace)-$(gc)-$(jni)-$(image)-$(pictest)-$(debuggable)-$(test)$(address_size) \
382 # explicitly test for them. These all also assume we have an image.
395 # This test fails without an image.
407 ifneq (,$(filter no-image,$(IMAGE_TYPES)))
409 $(COMPILER_TYPES), $(RELOCATE_TYPES),$(TRACE_TYPES),$(GC_TYPES),$(JNI_TYPES),no-image, \
412 $(COMPILER_TYPES), $(RELOCATE_TYPES),$(TRACE_TYPES),$(GC_TYPES),$(JNI_TYPES),no-image, \
[all...]
H A Drun-test171 elif [ "x$1" = "x--no-image" ]; then
174 elif [ "x$1" = "x--pic-image" ]; then
177 elif [ "x$1" = "x--multi-image" ]; then
212 elif [ "x$1" = "x--image" ]; then
214 image="$1"
215 run_args="${run_args} --image $image"
485 err_echo "--no-image is only supported on the art runtime"
504 run_args="${run_args} --no-image"
579 echo " the image an
[all...]
/art/runtime/
H A Ddex2oat_environment_test.h58 << "Expected pre-compiled boot image to be at: " << GetSystemImageFile();
87 // Set up the image location.
138 bool GetCachedImageFile(/*out*/std::string* image, std::string* error_msg) const { argument
140 return GetDalvikCacheFilename(GetImageLocation().c_str(), cache.c_str(), image, error_msg);
H A Dimage.h72 // header of image files written by ImageWriter, read and validated by Space.
141 // The location that the oat file was expected to be when the image was created. The actual
167 static std::string GetOatLocationFromImageLocation(const std::string& image) { argument
168 std::string oat_filename = image;
269 // App images currently require a boot image, if the size is non zero then it is an app image
299 // Required base address for mapping the image.
311 // Required oat address expected by image Method::GetCode() pointers.
314 // End of oat data address range for this image file.
321 // Boot image begi
[all...]
H A Dparsed_options.cc581 std::string image = GetAndroidRoot(); local
582 image += "/framework/boot.art";
583 args.Set(M::Image, image);
719 UsageMessage(stream, " -X[no]image-dex2oat (Whether to create and use a boot image)\n");
H A DAndroid.mk88 image.cc \
361 image.h \
H A Doat_file_assistant_test.cc49 // Pre-Relocate the image to a known non-zero offset so we don't have to
50 // deal with the runtime randomly relocating the image by 0 and messing up
53 std::string image; local
54 if (!GetCachedImageFile(&image, error_msg)) {
63 argv.push_back("--input-image-location=" + GetImageLocation());
64 argv.push_back("--output-image-file=" + image);
89 // relocated image file.
157 // Reserve memory around where the image will be loaded so other memory
158 // won't conflict when it comes time to load the image
[all...]
H A Dclass_linker.cc58 #include "image-inl.h"
359 CHECK(!heap->HasBootImageSpace()) << "Runtime has image. We should use it.";
362 // Use the pointer size from the runtime since we are probably creating the image.
365 *error_msg = StringPrintf("Invalid image pointer size: %zu", image_pointer_size_);
535 // We need to set up the generic trampolines since we don't have an image.
883 // Set image methods' entry point to interpreter.
944 *error_msg = StringPrintf("Invalid image pointer size: %zu", image_pointer_size_);
948 // Only the Aot compiler supports having an image with a different pointer size than the
952 *error_msg = StringPrintf("Runtime must use current image pointer size: %zu vs %zu",
988 // Make sure that all methods in this image d
[all...]
/art/patchoat/
H A Dpatchoat.h51 // Patch only the image (art file)
55 // Patch both the image and the oat file
70 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, argument
72 : image_(image), bitmap_(bitmap), heap_(heap),
74 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, argument
77 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap),
80 // Was the .art image at image_path made with --compile-pic ?
90 // Was the .oat image at oat_in made with --compile-pic ?
160 LOG(FATAL) << "Did not find object in boot image space " << obj;
190 // Walks through the old image an
[all...]
H A Dpatchoat.cc38 #include "image-inl.h"
74 // so that the caller knows where to create the image.
159 CHECK(!image_location.empty()) << "image file must have a filename.";
195 LOG(ERROR) << "Unable to open input image file at " << input_image_filename;
201 LOG(ERROR) << "Error while getting image length";
207 LOG(ERROR) << "Unable to read image header from image file " << input_image->GetPath();
211 // Nothing special to do right now since the image always needs to get patched.
214 // Create the map where we will write the image patches to.
216 std::unique_ptr<MemMap> image(MemMa
[all...]
/art/build/
H A DAndroid.oat.mk18 # Rules to build a smaller "core" image to support core libraries
21 # The main rules to build the default "boot" image are in
45 # $(6): multi-image.
47 # run-test --no-image
96 # If $(6) is true, generate a multi-image.
99 core_multi_param := --multi-image --no-inline-from=core-oj-hostdex.jar
132 --image-classes=$$(PRELOADED_CLASSES) $$(addprefix --dex-file=,$$(HOST_CORE_DEX_FILES)) \
134 --oat-location=$$(PRIVATE_CORE_OAT_NAME) --image=$$(PRIVATE_CORE_IMG_NAME) \
154 # $(4): multi-image.
266 --image
[all...]
/art/compiler/
H A Dimage_test.cc17 #include "image.h"
366 // Remove the reservation of the memory for use to load the image.
377 std::string image("-Ximage:");
378 image.append(helper.image_locations[0].GetFilename());
379 options.push_back(std::make_pair(image.c_str(), static_cast<void*>(nullptr)));
399 // We loaded the runtime with an explicit image, so it must exist.
409 // Uncompressed, image should be smaller than file.
412 // Compressed, file should be smaller than image. Not really valid for small images.
420 // This check is only valid for image 0.
432 // Image classes should be located inside the image
[all...]
/art/runtime/base/
H A Dlogging.h58 bool image; member in struct:art::LogVerbosity
/art/compiler/optimizing/
H A Doptimizing_compiler.cc860 const std::string& image = Runtime::Current()->GetImageLocation(); local
862 if (EndsWith(image, "core.art") || EndsWith(image, "core-optimizing.art")) {
/art/runtime/gc/collector/
H A Dconcurrent_copying.cc27 #include "image-inl.h"
142 const char* bitmap_name = space->IsImageSpace() ? "cc image space bitmap" :
144 // TODO: try avoiding using bitmaps for image/zygote to save space.
361 // Mark the image root. The WB-based collectors do not need to
362 // scan the image objects from roots by relying on the card table,
367 gc::space::ImageSpace* image = space->AsImageSpace(); local
368 if (image != nullptr) {
369 mirror::ObjectArray<mirror::Object>* image_root = image->GetImageHeader().GetImageRoots();
371 CHECK_EQ(image_root, marked_image_root) << "An image object does not move";
1510 LOG(INFO) << "holder is in an immune image o
[all...]
/art/
H A DAndroid.mk386 --boot-image=$(DEFAULT_DEX_PREOPT_BUILT_IMAGE) --dex-file=$(PRODUCT_OUT)/$(1) \
492 adb shell setprop dalvik.vm.image-dex2oat-filter \"\"
503 adb shell setprop dalvik.vm.image-dex2oat-filter \"\"
514 adb shell setprop dalvik.vm.image-dex2oat-filter "verify-at-runtime"
525 adb shell setprop dalvik.vm.image-dex2oat-filter "interpret-only"
536 adb shell setprop dalvik.vm.image-dex2oat-filter "interpret-only"
547 adb shell setprop dalvik.vm.image-dex2oat-filter "verify-none"
563 # Helper target that depends on boot image creation.
566 # m art-boot-image ART_BOOT_IMAGE_EXTRA_ARGS=--dump-init-failures=fails.txt
567 .PHONY: art-boot-image
[all...]
/art/cmdline/
H A Dcmdline_types.h621 } else if (verbose_options[j] == "image") {
622 log_verbosity.image = true;

Completed in 362 milliseconds

12