blob: 65ba61d92a46a2114cff939eed29e4a7c58edea4 [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
David 'Digit' Turner2d238fd2011-03-25 10:34:47 +010026# CPU Architecture
27name = hw.cpu.arch
28type = string
29default = arm
30abstract = CPU Architecture
31description = The CPU Architecture to emulator
32
33# CPU Model
34# Leave it empty, and the default value will be computed from
35# hw.cpu.arch. This is only useful for experimentation for now.
36name = hw.cpu.model
37type = string
38default =
39abstract = CPU model
40description = The CPU model (QEMU-specific string)
41
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080042# Ram size
David 'Digit' Turner5377c5b2011-02-10 16:52:19 +010043# Default value will be computed based on screen pixels
44# or skin version
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080045name = hw.ramSize
46type = integer
David 'Digit' Turner3bbc9192011-01-19 22:18:02 +010047default = 0
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080048abstract = Device ram size
49description = The amount of physical RAM on the device, in megabytes.
50
51# Touch screen support
52name = hw.touchScreen
53type = boolean
54default = yes
55abstract = Touch-screen support
56description = Whether there is a touch screen or not on the device.
57
58# Trackball support
59name = hw.trackBall
60type = boolean
61default = yes
62abstract = Track-ball support
63description = Whether there is a trackball on the device.
64
65# Keyboard support (qwerty/azerty)
66name = hw.keyboard
67type = boolean
68default = yes
69abstract = Keyboard support
70description = Whether the device has a QWERTY keyboard.
71
David 'Digit' Turner59e8e192011-02-10 17:40:04 +010072# Keyboard lid support
73# (I.e. can the qwerty keyboard be closed/hidden or opened/visible)
74# this will be ignored if hw.keyboard is false
75#
David 'Digit' Turnerb64325d2011-03-22 16:07:01 +010076# NOTE: As a special case, the default value will be 'false' if the
77# AVD targets API level 12 or higher. See hwConfig_init()
78# in external/qemu/android/avd/hw-config.c for more details.
79#
David 'Digit' Turner59e8e192011-02-10 17:40:04 +010080name = hw.keyboard.lid
81type = boolean
82default = yes
83abstract = Keyboard lid support
84description = Whether the QWERTY keyboard can be opened/closed.
85
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080086# DPad keys
87name = hw.dPad
88type = boolean
89default = yes
90abstract = DPad support
91description = Whether the device has DPad keys
92
93# GSM Modem support
94name = hw.gsmModem
95type = boolean
96default = yes
97abstract = GSM modem support
98description = Whether there is a GSM modem in the device.
99
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800100# Camera support
101name = hw.camera
102type = boolean
103default = no
104abstract = Camera support
105description = Whether the device has a camera.
106
107name = hw.camera.maxHorizontalPixels
108type = integer
109default = 640
110abstract = Maximum horizontal camera pixels
111
112name = hw.camera.maxVerticalPixels
113type = integer
114default = 480
115abstract = Maximum vertical camera pixels
116
117# GPS support
118name = hw.gps
119type = boolean
The Android Open Source Projectb3ee93a2009-03-13 13:04:21 -0700120default = yes
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800121abstract = GPS support
122description = Whether there is a GPS in the device.
123
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800124# Battery
125name = hw.battery
126type = boolean
127default = yes
128abstract = Battery support
129description = Whether the device can run on a battery.
130
The Android Open Source Project9877e2e2009-03-18 17:39:44 -0700131# Accelerometer (used for auto-rotation)
132name = hw.accelerometer
133type = boolean
134default = yes
135abstract = Accelerometer
136description = Whether there is an accelerometer in the device.
137
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800138# Audio input
139name = hw.audioInput
140type = boolean
141default = yes
142abstract = Audio recording support
143description = Whether the device can record audio
144
145# Audio output
146name = hw.audioOutput
147type = boolean
148default = yes
149abstract = Audio playback support
150description = Whether the device can play audio
151
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800152# SDCard support
153name = hw.sdCard
154type = boolean
155default = yes
156abstract = SD Card support
157description = Whether the device supports insertion/removal of virtual SD Cards.
158
David 'Digit' Turner48a3c662011-03-01 14:03:20 +0100159name = hw.sdCard.path
160type = string
161default =
162abstract = SD Card image path
163
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800164# Cache partition
165name = disk.cachePartition
166type = boolean
167default = yes
168abstract = Cache partition support
169description = Whether we use a /cache partition on the device.
170
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800171name = disk.cachePartition.path
172type = string
173default =
174abstract = Cache partition
175description = Cache partition to use on the device. Ignored if disk.cachePartition is not 'yes'.
176
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800177name = disk.cachePartition.size
178type = diskSize
179abstract = Cache partition size
180default = 66MB
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +0200181
David 'Digit' Turner2507cab2011-02-10 16:29:17 +0100182# LCD width
183name = hw.lcd.width
184type = integer
185default = 320
186abstract = LCD pixel width
187
188name = hw.lcd.height
189type = integer
190default = 640
191abstract = LCD pixel height
192
193name = hw.lcd.depth
194type = integer
195default = 16
196abstract = LCD color depth
197description = Must be 16 or 32. Color bit depth of emulated framebuffer.
198
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +0200199# LCD density
200name = hw.lcd.density
201type = integer
202default = 160
203abstract = Abstracted LCD density
204description = 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 -0700205
Tim Wan470f6bd2011-04-13 15:18:08 +0200206# LCD backlight - Enable/Disable LCD backlight simulation
207# default = no : Disabled
208# default = yes : Enabled
209name = hw.lcd.backlight
210type = boolean
211default = yes
212abstract = LCD backlight
213description = Enable/Disable LCD backlight simulation,yes-enabled,no-disabled.
214
David 'Digit' Turner03e12442009-10-07 17:21:34 -0700215# Maximum VM heap size
216# Higher values are required for high-dpi devices
David 'Digit' Turner5377c5b2011-02-10 16:52:19 +0100217# Default will depend on RAM size.
David 'Digit' Turner03e12442009-10-07 17:21:34 -0700218name = vm.heapSize
219type = integer
David 'Digit' Turner5377c5b2011-02-10 16:52:19 +0100220default = 0
David 'Digit' Turner03e12442009-10-07 17:21:34 -0700221abstract = Max VM application heap size
222description = 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 +0100223
224# Proximity sensor
225name = hw.sensors.proximity
226type = boolean
227default = yes
228abstract = Proximity support
229description = Whether there is an proximity in the device.
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800230
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100231# Kernel image.
232#
233# kernel.path specified the path to the kernel image
234# kernel.parameters specifies the string of kernel boot parameters.
235#
236name = kernel.path
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800237type = string
238default =
239abstract = Path to the kernel image
240description = Path to the kernel image.
241
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100242name = kernel.parameters
243type = string
244default =
245abstract = kernel boot parameters string.
246
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800247# Path to the ramdisk image.
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100248name = disk.ramdisk.path
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800249type = string
250default =
251abstract = Path to the ramdisk image
252description = Path to the ramdisk image.
253
David 'Digit' Turner40841b22011-03-01 14:04:00 +0100254# System partition image(s).
255#
256# disk.systemPartition.path points to the read/write system partition image.
257# if empty, a temporary file will be created, initialized with the content
258# of .initPath
259#
260# disk.systemPartition.initPath is only used when .path is empty. It must
261# then point to a read-only initialization system image file.
262#
263# disk.systemPartition.size is the ideal size of the system partition. The
264# size is ignored if the actual system partition image is larger. Otherwise,
265# it indicates the maximum size the disk image file can grow to.
266#
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800267name = disk.systemPartition.path
268type = string
David 'Digit' Turner40841b22011-03-01 14:04:00 +0100269default =
270abstract = Path to runtime system partition image
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800271
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800272name = disk.systemPartition.initPath
273type = string
274default =
275abstract = Initial system partition image
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800276
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800277name = disk.systemPartition.size
278type = diskSize
279default = 0
280abstract = Ideal size of system partition
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800281
282# Path to the data partition.
283name = disk.dataPartition.path
284type = string
285default = <temp>
286abstract = Path to data partition file
287description = Path to data partition file. Cannot be empty. Special value <temp> means using a temporary file. If disk.dataPartition.initPath is not empty, its content will be copied to the disk.dataPartition.path file at boot-time.
288
289# Initial path to the data partition.
290name = disk.dataPartition.initPath
291type = string
292default =
293abstract = Initial data partition
294description = If not empty, its content will be copied to the disk.dataPartition.path file at boot-time.
295
296# Data partition size.
297name = disk.dataPartition.size
298type = diskSize
299default = 0
300abstract = Ideal size of data partition
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800301
David 'Digit' Turner5f64b872011-02-28 23:23:05 +0100302# Path to the snapshots storage file.
303name = disk.snapStorage.path
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800304type = string
305default =
David 'Digit' Turner5f64b872011-02-28 23:23:05 +0100306abstract = Path to snapshot storage
307description = Path to a 'snapshot storage' file, where all snapshots are stored.
David 'Digit' Turner53eb66d2011-03-01 14:58:23 +0100308
309# Android AVD name
310# This is set automatically before launching a core.
311#
312name = avd.name
313type = string
314default = <build>
315abstract = Name of the AVD being run