blob: 8e5cc413cc78d718f563b17166310d50b1c1e2e1 [file] [log] [blame]
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -08001# 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
David 'Digit' Turner3bbc9192011-01-19 22:18:02 +010029default = 0
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080030abstract = 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
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080068# 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
The Android Open Source Projectb3ee93a2009-03-13 13:04:21 -070088default = yes
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080089abstract = GPS support
90description = Whether there is a GPS in the device.
91
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080092# Battery
93name = hw.battery
94type = boolean
95default = yes
96abstract = Battery support
97description = Whether the device can run on a battery.
98
The Android Open Source Project9877e2e2009-03-18 17:39:44 -070099# Accelerometer (used for auto-rotation)
100name = hw.accelerometer
101type = boolean
102default = yes
103abstract = Accelerometer
104description = Whether there is an accelerometer in the device.
105
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800106# 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
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800120# 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
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +0200138
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.
David 'Digit' Turner03e12442009-10-07 17:21:34 -0700145
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.
Ola Albertsson7c8397a2010-12-17 14:53:44 +0100153
154# Proximity sensor
155name = hw.sensors.proximity
156type = boolean
157default = yes
158abstract = Proximity support
159description = Whether there is an proximity in the device.