blob: 06ac447a25a79655f1763ab04d29e1f2da46572f [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
David 'Digit' Turner5377c5b2011-02-10 16:52:19 +010027# Default value will be computed based on screen pixels
28# or skin version
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080029name = hw.ramSize
30type = integer
David 'Digit' Turner3bbc9192011-01-19 22:18:02 +010031default = 0
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080032abstract = Device ram size
33description = The amount of physical RAM on the device, in megabytes.
34
35# Touch screen support
36name = hw.touchScreen
37type = boolean
38default = yes
39abstract = Touch-screen support
40description = Whether there is a touch screen or not on the device.
41
42# Trackball support
43name = hw.trackBall
44type = boolean
45default = yes
46abstract = Track-ball support
47description = Whether there is a trackball on the device.
48
49# Keyboard support (qwerty/azerty)
50name = hw.keyboard
51type = boolean
52default = yes
53abstract = Keyboard support
54description = Whether the device has a QWERTY keyboard.
55
David 'Digit' Turner59e8e192011-02-10 17:40:04 +010056# Keyboard lid support
57# (I.e. can the qwerty keyboard be closed/hidden or opened/visible)
58# this will be ignored if hw.keyboard is false
59#
60name = hw.keyboard.lid
61type = boolean
62default = yes
63abstract = Keyboard lid support
64description = Whether the QWERTY keyboard can be opened/closed.
65
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080066# DPad keys
67name = hw.dPad
68type = boolean
69default = yes
70abstract = DPad support
71description = Whether the device has DPad keys
72
73# GSM Modem support
74name = hw.gsmModem
75type = boolean
76default = yes
77abstract = GSM modem support
78description = Whether there is a GSM modem in the device.
79
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -080080# Camera support
81name = hw.camera
82type = boolean
83default = no
84abstract = Camera support
85description = Whether the device has a camera.
86
87name = hw.camera.maxHorizontalPixels
88type = integer
89default = 640
90abstract = Maximum horizontal camera pixels
91
92name = hw.camera.maxVerticalPixels
93type = integer
94default = 480
95abstract = Maximum vertical camera pixels
96
97# GPS support
98name = hw.gps
99type = boolean
The Android Open Source Projectb3ee93a2009-03-13 13:04:21 -0700100default = yes
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800101abstract = GPS support
102description = Whether there is a GPS in the device.
103
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800104# Battery
105name = hw.battery
106type = boolean
107default = yes
108abstract = Battery support
109description = Whether the device can run on a battery.
110
The Android Open Source Project9877e2e2009-03-18 17:39:44 -0700111# Accelerometer (used for auto-rotation)
112name = hw.accelerometer
113type = boolean
114default = yes
115abstract = Accelerometer
116description = Whether there is an accelerometer in the device.
117
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800118# Audio input
119name = hw.audioInput
120type = boolean
121default = yes
122abstract = Audio recording support
123description = Whether the device can record audio
124
125# Audio output
126name = hw.audioOutput
127type = boolean
128default = yes
129abstract = Audio playback support
130description = Whether the device can play audio
131
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800132# SDCard support
133name = hw.sdCard
134type = boolean
135default = yes
136abstract = SD Card support
137description = Whether the device supports insertion/removal of virtual SD Cards.
138
139# Cache partition
140name = disk.cachePartition
141type = boolean
142default = yes
143abstract = Cache partition support
144description = Whether we use a /cache partition on the device.
145
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800146name = disk.cachePartition.path
147type = string
148default =
149abstract = Cache partition
150description = Cache partition to use on the device. Ignored if disk.cachePartition is not 'yes'.
151
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800152name = disk.cachePartition.size
153type = diskSize
154abstract = Cache partition size
155default = 66MB
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +0200156
David 'Digit' Turner2507cab2011-02-10 16:29:17 +0100157# LCD width
158name = hw.lcd.width
159type = integer
160default = 320
161abstract = LCD pixel width
162
163name = hw.lcd.height
164type = integer
165default = 640
166abstract = LCD pixel height
167
168name = hw.lcd.depth
169type = integer
170default = 16
171abstract = LCD color depth
172description = Must be 16 or 32. Color bit depth of emulated framebuffer.
173
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +0200174# LCD density
175name = hw.lcd.density
176type = integer
177default = 160
178abstract = Abstracted LCD density
179description = 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 -0700180
181# Maximum VM heap size
182# Higher values are required for high-dpi devices
David 'Digit' Turner5377c5b2011-02-10 16:52:19 +0100183# Default will depend on RAM size.
David 'Digit' Turner03e12442009-10-07 17:21:34 -0700184name = vm.heapSize
185type = integer
David 'Digit' Turner5377c5b2011-02-10 16:52:19 +0100186default = 0
David 'Digit' Turner03e12442009-10-07 17:21:34 -0700187abstract = Max VM application heap size
188description = 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 +0100189
190# Proximity sensor
191name = hw.sensors.proximity
192type = boolean
193default = yes
194abstract = Proximity support
195description = Whether there is an proximity in the device.
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800196
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100197# Kernel image.
198#
199# kernel.path specified the path to the kernel image
200# kernel.parameters specifies the string of kernel boot parameters.
201#
202name = kernel.path
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800203type = string
204default =
205abstract = Path to the kernel image
206description = Path to the kernel image.
207
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100208name = kernel.parameters
209type = string
210default =
211abstract = kernel boot parameters string.
212
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800213# Path to the ramdisk image.
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100214name = disk.ramdisk.path
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800215type = string
216default =
217abstract = Path to the ramdisk image
218description = Path to the ramdisk image.
219
220# Path to the system partition.
221name = disk.systemPartition.path
222type = string
223default = <init>
224abstract = Path to system partition image
225description = Path to read/write system partition image during emulation. If special value '<init>' is used, a temporary file will be created, populated with the content of .initPath
226
227# Initial path to the system partition.
228name = disk.systemPartition.initPath
229type = string
230default =
231abstract = Initial system partition image
232description = Only used if .path is '<init>', path to an initial system image that will be copied into the temporary system image file before launch.
233
234# System partition size.
235name = disk.systemPartition.size
236type = diskSize
237default = 0
238abstract = Ideal size of system partition
239description = ideal size of system partition. Ignored if smaller than the size of .path (or .initPath). Otherwise, gives the maximum size the partition is allowed to grow dynamically.
240
241# Path to the data partition.
242name = disk.dataPartition.path
243type = string
244default = <temp>
245abstract = Path to data partition file
246description = 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.
247
248# Initial path to the data partition.
249name = disk.dataPartition.initPath
250type = string
251default =
252abstract = Initial data partition
253description = If not empty, its content will be copied to the disk.dataPartition.path file at boot-time.
254
255# Data partition size.
256name = disk.dataPartition.size
257type = diskSize
258default = 0
259abstract = Ideal size of data partition
260description = ideal size of data partition. Ignored if smaller than the size of .path (or .initPath). Otherwise, gives the maximum size the partition is allowed to grow dynamically.
261
262# Path to the snapshots partition.
263name = disk.snapshots.path
264type = string
265default =
266abstract = Path to snapshots
267description = Path to a 'snapshot storage' file, where all snapshots are stored, including the default snapshot.
268
269# Path to SD Card image file.
270name = disk.sdCard.path
271type = string
272default =
273abstract = Path to SD Card image file
274description = Path to SD Card image file. Ignored if disk.sdCard is not set to 'yes'.