hardware-properties.ini revision 3bbc919b70c78e0be6387d06faa90743deedb4dc
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 27name = hw.ramSize 28type = integer 29default = 0 30abstract = Device ram size 31description = The amount of physical RAM on the device, in megabytes. 32 33# Touch screen support 34name = hw.touchScreen 35type = boolean 36default = yes 37abstract = Touch-screen support 38description = Whether there is a touch screen or not on the device. 39 40# Trackball support 41name = hw.trackBall 42type = boolean 43default = yes 44abstract = Track-ball support 45description = Whether there is a trackball on the device. 46 47# Keyboard support (qwerty/azerty) 48name = hw.keyboard 49type = boolean 50default = yes 51abstract = Keyboard support 52description = Whether the device has a QWERTY keyboard. 53 54# DPad keys 55name = hw.dPad 56type = boolean 57default = yes 58abstract = DPad support 59description = Whether the device has DPad keys 60 61# GSM Modem support 62name = hw.gsmModem 63type = boolean 64default = yes 65abstract = GSM modem support 66description = Whether there is a GSM modem in the device. 67 68# Camera support 69name = hw.camera 70type = boolean 71default = no 72abstract = Camera support 73description = Whether the device has a camera. 74 75name = hw.camera.maxHorizontalPixels 76type = integer 77default = 640 78abstract = Maximum horizontal camera pixels 79 80name = hw.camera.maxVerticalPixels 81type = integer 82default = 480 83abstract = Maximum vertical camera pixels 84 85# GPS support 86name = hw.gps 87type = boolean 88default = yes 89abstract = GPS support 90description = Whether there is a GPS in the device. 91 92# Battery 93name = hw.battery 94type = boolean 95default = yes 96abstract = Battery support 97description = Whether the device can run on a battery. 98 99# Accelerometer (used for auto-rotation) 100name = hw.accelerometer 101type = boolean 102default = yes 103abstract = Accelerometer 104description = Whether there is an accelerometer in the device. 105 106# Audio input 107name = hw.audioInput 108type = boolean 109default = yes 110abstract = Audio recording support 111description = Whether the device can record audio 112 113# Audio output 114name = hw.audioOutput 115type = boolean 116default = yes 117abstract = Audio playback support 118description = Whether the device can play audio 119 120# SDCard support 121name = hw.sdCard 122type = boolean 123default = yes 124abstract = SD Card support 125description = Whether the device supports insertion/removal of virtual SD Cards. 126 127# Cache partition 128name = disk.cachePartition 129type = boolean 130default = yes 131abstract = Cache partition support 132description = Whether we use a /cache partition on the device. 133 134name = disk.cachePartition.size 135type = diskSize 136abstract = Cache partition size 137default = 66MB 138 139# LCD density 140name = hw.lcd.density 141type = integer 142default = 160 143abstract = Abstracted LCD density 144description = 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 148name = vm.heapSize 149type = integer 150default = 16 151abstract = Max VM application heap size 152description = The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes. 153 154# Proximity sensor 155name = hw.sensors.proximity 156type = boolean 157default = yes 158abstract = Proximity support 159description = Whether there is an proximity in the device. 160