Lines Matching refs:image
43 * - mandatory user data image ("userdata-qemu.img") and cache image
46 * - optional mutable system image ("system-qemu.img"), kernel image
50 * in the content directory. If it doesn't find a given image there, it
61 * Individual image disk search patch can be over-riden on the command-line
74 #define SEARCH_PREFIX "image.sysdir."
90 * to the SD Card image file, if you don't want to place it in
95 /* certain disk image files are mounted read/write by the emulator
98 * to collision depending on the image type.
101 * each image file path.
110 * temporary image, which can be mounted read/write
142 /* image files */
193 /* list of default file names for each supported image file type */
200 /* list of short text description for each supported image file type */
264 DD(" found image search path: %s", path);
369 ***** KERNEL/DISK IMAGE LOADER
395 /* set the type of the image to load */
408 /* change the image path */
430 IMAGE_REQUIRED = (1<<0), /* image is required */
431 IMAGE_SEARCH_SDK = (1<<1), /* search image in SDK */
433 IMAGE_DONT_LOCK = (1<<4), /* don't try to lock image */
439 /* find an image from the SDK search directories.
442 * note: this stores the result in the image's path as well
448 const char* image = l->imageFile;
458 p = bufprint(temp, end, "%s/%s", searchDir, image);
460 DD("found %s in search dir: %s", image, searchDir);
463 DD(" no %s in search dir: %s", image, searchDir);
499 /* assume content image files must be locked */
505 /* lock a file image depending on its state and user flags
520 D(" locking %s image at %s", l->imageText, path);
529 dwarning("ignoring locked %s image at %s", l->imageText, path);
534 derror("the %s image is used by another emulator. aborting",
539 /* make a file image empty, this may require locking */
552 derror("could not create %s image at %s: %s",
560 /* copy image file from a given source
584 derror("can't initialize %s image from SDK: %s: %s",
590 image file, depending
606 /* set image state */
616 DD("found user-provided %s image: %s", l->imageText, l->imageFile);
619 D("user-provided %s image does not exist: %s",
624 derror("user-provided %s image at %s doesn't exist",
647 DD("found no %s image (%s)", l->imageText, l->imageFile);
653 derror("could not find required %s image (%s).",
686 /* find the correct path of all image files we're going to need
701 /* pick up the kernel and ramdisk image files - these don't
710 /* the system image
719 * is missing, we need to copy the initial image file into it.
731 D("initializing new data partition image: %s", l->pPath[0]);
741 derror("can't locate initial %s image in SDK",
753 /* lock the data partition image */
768 derror("cannot wipe %s image at %s: %s",
776 /* the SD Card image. unless the user doesn't want to, we're
777 * going to mount it if available. Note that if the image is
794 dwarning("ignoring non-existing SD Card image");
1092 /* look for image search paths. handle post 1.1/pre cupcake
1159 /** load the kernel image
1190 derror("There is no %s image in your build directory. Please make a full build",
1201 /* force a data wipe if we just created the image */
1205 /* if the image was already locked, create a temp file
1219 derror("There is no %s image in your build directory. Please make a full build",
1224 derror("could not initialize %s image from %s: %s",
1232 /** load the ramdisk image
1238 /** load the system image. read-only. the caller must
1244 /* force the system image to read-only status */
1252 /* if the user provided one cache image, lock & use it */
1259 /** SD Card image