Home | History | Annotate | Download | only in avd
      1 # This file describes the properties of a given virtual device configuration file.
      2 #
      3 # Note: Most top-level properties are boolean that control whether a feature is
      4 #       present or not. Sub-features that depend on it are ignored if their
      5 #       parent is set to 'false' or 'no'
      6 #
      7 # This file is parsed by 'android/tools/gen-hw-config.py' to generate
      8 # 'android/avd/hw-config-defs.h'. The latter is a special header containing
      9 # macro statements that is used several times:
     10 #
     11 #  - once to define the fields of the AndroidHwConfig structure
     12 #    (see android/avd/hw-config.h)
     13 #
     14 #  - once to implement the hardware configuration loader
     15 #    (see android/avd/hw-config.h)
     16 #
     17 # Hopefully, this file should also be read by a virtual device creation
     18 # tool/wizard to provide a nice user interface (hence the presence of
     19 # the 'abstract' and 'description' keys which are not currently used)
     20 #
     21 #
     22 # NOTE: if you remove items from this file, be sure that you do not break
     23 #       the emulator build.
     24 #
     25 
     26 # Ram size
     27 name        = hw.ramSize
     28 type        = integer
     29 default     = 96
     30 abstract    = Device ram size
     31 description = The amount of physical RAM on the device, in megabytes.
     32 
     33 # Touch screen support
     34 name        = hw.touchScreen
     35 type        = boolean
     36 default     = yes
     37 abstract    = Touch-screen support
     38 description = Whether there is a touch screen or not on the device.
     39 
     40 # Trackball support
     41 name        = hw.trackBall
     42 type        = boolean
     43 default     = yes
     44 abstract    = Track-ball support
     45 description = Whether there is a trackball on the device.
     46 
     47 # Keyboard support (qwerty/azerty)
     48 name        = hw.keyboard
     49 type        = boolean
     50 default     = yes
     51 abstract    = Keyboard support
     52 description = Whether the device has a QWERTY keyboard.
     53 
     54 # DPad keys
     55 name        = hw.dPad
     56 type        = boolean
     57 default     = yes
     58 abstract    = DPad support
     59 description = Whether the device has DPad keys
     60 
     61 # GSM Modem support
     62 name        = hw.gsmModem
     63 type        = boolean
     64 default     = yes
     65 abstract    = GSM modem support
     66 description = Whether there is a GSM modem in the device.
     67 
     68 # Camera support
     69 name        = hw.camera
     70 type        = boolean
     71 default     = no
     72 abstract    = Camera support
     73 description = Whether the device has a camera.
     74 
     75 name        = hw.camera.maxHorizontalPixels
     76 type        = integer
     77 default     = 640
     78 abstract    = Maximum horizontal camera pixels
     79 
     80 name        = hw.camera.maxVerticalPixels
     81 type        = integer
     82 default     = 480
     83 abstract    = Maximum vertical camera pixels
     84 
     85 # GPS support
     86 name        = hw.gps
     87 type        = boolean
     88 default     = yes
     89 abstract    = GPS support
     90 description = Whether there is a GPS in the device.
     91 
     92 # Battery
     93 name        = hw.battery
     94 type        = boolean
     95 default     = yes
     96 abstract    = Battery support
     97 description = Whether the device can run on a battery.
     98 
     99 # Accelerometer (used for auto-rotation)
    100 name        = hw.accelerometer
    101 type        = boolean
    102 default     = yes
    103 abstract    = Accelerometer
    104 description = Whether there is an accelerometer in the device.
    105 
    106 # Audio input
    107 name        = hw.audioInput
    108 type        = boolean
    109 default     = yes
    110 abstract    = Audio recording support
    111 description = Whether the device can record audio
    112 
    113 # Audio output
    114 name        = hw.audioOutput
    115 type        = boolean
    116 default     = yes
    117 abstract    = Audio playback support
    118 description = Whether the device can play audio
    119 
    120 # SDCard support
    121 name        = hw.sdCard
    122 type        = boolean
    123 default     = yes
    124 abstract    = SD Card support
    125 description = Whether the device supports insertion/removal of virtual SD Cards.
    126 
    127 # Cache partition
    128 name        = disk.cachePartition
    129 type        = boolean
    130 default     = yes
    131 abstract    = Cache partition support
    132 description = Whether we use a /cache partition on the device.
    133 
    134 name        = disk.cachePartition.size
    135 type        = diskSize
    136 abstract    = Cache partition size
    137 default     = 66MB
    138 
    139 # LCD density
    140 name        = hw.lcd.density
    141 type        = integer
    142 default     = 160
    143 abstract    = Abstracted LCD density
    144 description = Must be one of 120, 160 or 240. A value used to roughly describe the density of the LCD screen for automatic resource/asset selection.
    145 
    146 # Maximum VM heap size
    147 # Higher values are required for high-dpi devices
    148 name        = vm.heapSize
    149 type        = integer
    150 default     = 16
    151 abstract    = Max VM application heap size
    152 description = The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes.
    153