blob: 6b5caaefb340272080f38c580024284474e23736 [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
David 'Digit' Turner48a3c662011-03-01 14:03:20 +0100139name = hw.sdCard.path
140type = string
141default =
142abstract = SD Card image path
143
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800144# Cache partition
145name = disk.cachePartition
146type = boolean
147default = yes
148abstract = Cache partition support
149description = Whether we use a /cache partition on the device.
150
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800151name = disk.cachePartition.path
152type = string
153default =
154abstract = Cache partition
155description = Cache partition to use on the device. Ignored if disk.cachePartition is not 'yes'.
156
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800157name = disk.cachePartition.size
158type = diskSize
159abstract = Cache partition size
160default = 66MB
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +0200161
David 'Digit' Turner2507cab2011-02-10 16:29:17 +0100162# LCD width
163name = hw.lcd.width
164type = integer
165default = 320
166abstract = LCD pixel width
167
168name = hw.lcd.height
169type = integer
170default = 640
171abstract = LCD pixel height
172
173name = hw.lcd.depth
174type = integer
175default = 16
176abstract = LCD color depth
177description = Must be 16 or 32. Color bit depth of emulated framebuffer.
178
David 'Digit' Turnerc5b12702009-06-19 00:36:12 +0200179# LCD density
180name = hw.lcd.density
181type = integer
182default = 160
183abstract = Abstracted LCD density
184description = 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 -0700185
186# Maximum VM heap size
187# Higher values are required for high-dpi devices
David 'Digit' Turner5377c5b2011-02-10 16:52:19 +0100188# Default will depend on RAM size.
David 'Digit' Turner03e12442009-10-07 17:21:34 -0700189name = vm.heapSize
190type = integer
David 'Digit' Turner5377c5b2011-02-10 16:52:19 +0100191default = 0
David 'Digit' Turner03e12442009-10-07 17:21:34 -0700192abstract = Max VM application heap size
193description = 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 +0100194
195# Proximity sensor
196name = hw.sensors.proximity
197type = boolean
198default = yes
199abstract = Proximity support
200description = Whether there is an proximity in the device.
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800201
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100202# Kernel image.
203#
204# kernel.path specified the path to the kernel image
205# kernel.parameters specifies the string of kernel boot parameters.
206#
207name = kernel.path
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800208type = string
209default =
210abstract = Path to the kernel image
211description = Path to the kernel image.
212
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100213name = kernel.parameters
214type = string
215default =
216abstract = kernel boot parameters string.
217
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800218# Path to the ramdisk image.
David 'Digit' Turner0b019492011-03-01 14:02:42 +0100219name = disk.ramdisk.path
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800220type = string
221default =
222abstract = Path to the ramdisk image
223description = Path to the ramdisk image.
224
David 'Digit' Turner40841b22011-03-01 14:04:00 +0100225# System partition image(s).
226#
227# disk.systemPartition.path points to the read/write system partition image.
228# if empty, a temporary file will be created, initialized with the content
229# of .initPath
230#
231# disk.systemPartition.initPath is only used when .path is empty. It must
232# then point to a read-only initialization system image file.
233#
234# disk.systemPartition.size is the ideal size of the system partition. The
235# size is ignored if the actual system partition image is larger. Otherwise,
236# it indicates the maximum size the disk image file can grow to.
237#
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800238name = disk.systemPartition.path
239type = string
David 'Digit' Turner40841b22011-03-01 14:04:00 +0100240default =
241abstract = Path to runtime system partition image
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800242
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800243name = disk.systemPartition.initPath
244type = string
245default =
246abstract = Initial system partition image
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800247
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800248name = disk.systemPartition.size
249type = diskSize
250default = 0
251abstract = Ideal size of system partition
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800252
253# Path to the data partition.
254name = disk.dataPartition.path
255type = string
256default = <temp>
257abstract = Path to data partition file
258description = 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.
259
260# Initial path to the data partition.
261name = disk.dataPartition.initPath
262type = string
263default =
264abstract = Initial data partition
265description = If not empty, its content will be copied to the disk.dataPartition.path file at boot-time.
266
267# Data partition size.
268name = disk.dataPartition.size
269type = diskSize
270default = 0
271abstract = Ideal size of data partition
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800272
David 'Digit' Turner5f64b872011-02-28 23:23:05 +0100273# Path to the snapshots storage file.
274name = disk.snapStorage.path
Vladimir Chtchetkine83ffd662011-02-11 12:40:59 -0800275type = string
276default =
David 'Digit' Turner5f64b872011-02-28 23:23:05 +0100277abstract = Path to snapshot storage
278description = Path to a 'snapshot storage' file, where all snapshots are stored.
David 'Digit' Turner53eb66d2011-03-01 14:58:23 +0100279
280# Android AVD name
281# This is set automatically before launching a core.
282#
283name = avd.name
284type = string
285default = <build>
286abstract = Name of the AVD being run