Home | History | Annotate | Download | only in android

Lines Matching defs:hw

48 #include "hw/goldfish_nand.h"
174 AndroidHwConfig* hw;
323 /* update the avd hw config from this new skin */
328 hw = android_hw;
329 if (avdInfo_initHwConfig(avd, hw) < 0) {
370 parse_skin_files(opts->skindir, opts->skin, opts, hw,
402 /* Update CPU architecture for HW configs created from build dir. */
432 hw->kernel_path = kernelFile;
504 AFREE(hw->disk_ramdisk_path);
505 hw->disk_ramdisk_path = ASTRDUP(opts->ramdisk);
507 else if (!hw->disk_ramdisk_path[0]) {
508 hw->disk_ramdisk_path = avdInfo_getRamdiskPath(avd);
509 D("autoconfig: -ramdisk %s", hw->disk_ramdisk_path);
587 hw->disk_systemPartition_path = rwImage;
588 hw->disk_systemPartition_initPath = NULL;
591 hw->disk_systemPartition_path = NULL;
592 hw->disk_systemPartition_initPath = initImage;
604 const char* systemImage = hw->disk_systemPartition_path;
608 systemImage = hw->disk_systemPartition_initPath;
615 hw->disk_systemPartition_size =
666 hw->disk_dataPartition_path = dataImage;
668 hw->disk_dataPartition_initPath = initImage;
670 hw->disk_dataPartition_initPath = NULL;
674 hw->disk_dataPartition_size == 0 ?
676 hw->disk_dataPartition_size;
678 const char* dataPath = hw->disk_dataPartition_initPath;
681 dataPath = hw->disk_dataPartition_path;
685 hw->disk_dataPartition_size =
694 hw->disk_cachePartition = 0;
696 else if (!hw->disk_cachePartition) {
722 hw->disk_cachePartition_path = ASTRDUP(opts->cache);
728 if (!hw->hw_sdCard) {
772 hw->hw_sdCard_path = ASTRDUP(opts->sdcard);
817 hw->disk_snapStorage_path = ASTRDUP(opts->snapstorage);
908 hw->hw_ramSize = ramSize;
911 int ramSize = hw->hw_ramSize;
918 int64_t pixels = hw->hw_lcd_width * hw->hw_lcd_height;
936 hw->hw_ramSize = ramSize;
939 D("Physical RAM size: %dMB\n", hw->hw_ramSize);
941 if (hw->vm_heapSize == 0) {
949 int ramSize = hw->hw_ramSize;
959 hw->vm_heapSize = heapSize;
1033 hw->kernel_parameters = strdup(params);
1058 char* charmap = avdInfo_getCharmapFile(avd, hw->hw_keyboard_charmap);
1078 AFREE(hw->hw_keyboard_charmap);
1079 hw->hw_keyboard_charmap = ASTRDUP(charmap_name);
1090 hw->hw_gpu_enabled = 1;
1092 hw->hw_gpu_enabled = 0;
1105 if (hw->hw_gpu_enabled && opts->snapstorage && (!opts->no_snapshot_load ||
1127 hw->hw_camera_back = ASTRDUP(opts->camera_back);
1140 hw->hw_camera_front = ASTRDUP(opts->camera_front);
1143 /* physical memory is now in hw->hw_ramSize */
1145 hw->avd_name = ASTRDUP(avdInfo_getName(avd));
1175 hw->hw_screen = ASTRDUP(opts->screen);
1187 if (!forceArmv7 && hw->hw_cpu_model[0] == '\0')
1199 AFREE(hw->hw_cpu_model);
1200 hw->hw_cpu_model = ASTRDUP("cortex-a8");
1201 D("Auto-config: -qemu -cpu %s", hw->hw_cpu_model);
1209 * launch the core with the -android-hw <file> option.
1214 androidHwConfig_write(hw, hwIni);
1224 /* While saving HW config, ignore valueless entries. This will not break
1225 * anything, but will significantly simplify comparing the current HW
1232 args[n++] = "-android-hw";