• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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# It is also packaged by the SDK and parsed by tools to let the developers
18# create AVDs.
19#
20# NOTE: if you remove items from this file, be sure that you do not break
21#       the emulator build.
22#
23
24# CPU Architecture
25name        = hw.cpu.arch
26type        = string
27default     = arm
28abstract    = CPU Architecture
29description = The CPU Architecture to emulator
30
31# CPU Model
32# Leave it empty, and the default value will be computed from
33# hw.cpu.arch. This is only useful for experimentation for now.
34name        = hw.cpu.model
35type        = string
36default     =
37abstract    = CPU model
38description = The CPU model (QEMU-specific string)
39
40# Ram size
41# Default value will be computed based on screen pixels
42# or skin version
43name        = hw.ramSize
44type        = integer
45default     = 0
46abstract    = Device ram size
47description = The amount of physical RAM on the device, in megabytes.
48
49# Touch screen support
50name        = hw.touchScreen
51type        = boolean
52default     = yes
53abstract    = Touch-screen support
54description = Whether there is a touch screen or not on the device.
55
56# Hardware main keys (back/home)
57name        = hw.mainKeys
58type        = boolean
59default     = yes
60abstract    = Hardware Back/Home keys
61description = Whether there are hardware back/home keys on the device.
62
63# Trackball support
64name        = hw.trackBall
65type        = boolean
66default     = yes
67abstract    = Track-ball support
68description = Whether there is a trackball on the device.
69
70# Keyboard support (qwerty/azerty)
71name        = hw.keyboard
72type        = boolean
73default     = yes
74abstract    = Keyboard support
75description = Whether the device has a QWERTY keyboard.
76
77# Keyboard lid support
78# (I.e. can the qwerty keyboard be closed/hidden or opened/visible)
79# this will be ignored if hw.keyboard is false
80#
81# NOTE: As a special case, the default value will be 'false' if the
82#       AVD targets API level 12 or higher. See hwConfig_init()
83#       in external/qemu/android/avd/hw-config.c for more details.
84#
85name        = hw.keyboard.lid
86type        = boolean
87default     = yes
88abstract    = Keyboard lid support
89description = Whether the QWERTY keyboard can be opened/closed.
90
91# The name of the hardware charmap for this device.
92#
93# NOTE: This should always be the default 'qwerty2' unless you have
94#        modified the system image accordingly. This name is sent to
95#        the kernel at boot time. Using an incorrect name will result
96#        in an unusable machine.
97name        = hw.keyboard.charmap
98type        = string
99default     = qwerty2
100abstract    = Keyboard charmap name
101description = Name of the system keyboard charmap file.
102
103# DPad keys
104name        = hw.dPad
105type        = boolean
106default     = yes
107abstract    = DPad support
108description = Whether the device has DPad keys
109
110# GSM Modem support
111name        = hw.gsmModem
112type        = boolean
113default     = yes
114abstract    = GSM modem support
115description = Whether there is a GSM modem in the device.
116
117# Camera support
118name        = hw.camera
119type        = boolean
120default     = no
121abstract    = Camera support
122description = Whether the device has a camera.
123
124name        = hw.camera.maxHorizontalPixels
125type        = integer
126default     = 640
127abstract    = Maximum horizontal camera pixels
128
129name        = hw.camera.maxVerticalPixels
130type        = integer
131default     = 480
132abstract    = Maximum vertical camera pixels
133
134# GPS support
135name        = hw.gps
136type        = boolean
137default     = yes
138abstract    = GPS support
139description = Whether there is a GPS in the device.
140
141# Battery
142name        = hw.battery
143type        = boolean
144default     = yes
145abstract    = Battery support
146description = Whether the device can run on a battery.
147
148# Accelerometer (used for auto-rotation)
149name        = hw.accelerometer
150type        = boolean
151default     = yes
152abstract    = Accelerometer
153description = Whether there is an accelerometer in the device.
154
155# Audio input
156name        = hw.audioInput
157type        = boolean
158default     = yes
159abstract    = Audio recording support
160description = Whether the device can record audio
161
162# Audio output
163name        = hw.audioOutput
164type        = boolean
165default     = yes
166abstract    = Audio playback support
167description = Whether the device can play audio
168
169# SDCard support
170name        = hw.sdCard
171type        = boolean
172default     = yes
173abstract    = SD Card support
174description = Whether the device supports insertion/removal of virtual SD Cards.
175
176name        = hw.sdCard.path
177type        = string
178default     =
179abstract    = SD Card image path
180
181# Cache partition
182name        = disk.cachePartition
183type        = boolean
184default     = yes
185abstract    = Cache partition support
186description = Whether we use a /cache partition on the device.
187
188name        = disk.cachePartition.path
189type        = string
190default     =
191abstract    = Cache partition
192description = Cache partition to use on the device. Ignored if disk.cachePartition is not 'yes'.
193
194name        = disk.cachePartition.size
195type        = diskSize
196abstract    = Cache partition size
197default     = 66MB
198
199# LCD width
200name        = hw.lcd.width
201type        = integer
202default     = 320
203abstract    = LCD pixel width
204
205name        = hw.lcd.height
206type        = integer
207default     = 640
208abstract    = LCD pixel height
209
210name        = hw.lcd.depth
211type        = integer
212default     = 16
213abstract    = LCD color depth
214description = Must be 16 or 32. Color bit depth of emulated framebuffer.
215
216# LCD density
217name        = hw.lcd.density
218type        = integer
219default     = 160
220abstract    = Abstracted LCD density
221description = Must be one of 120 / 160 / 240 / 213/ 320. A value used to roughly describe the density of the LCD screen for automatic resource/asset selection.
222
223# LCD backlight - Enable/Disable LCD backlight simulation
224# default = no  : Disabled
225# default = yes : Enabled
226name        = hw.lcd.backlight
227type        = boolean
228default     = yes
229abstract    = LCD backlight
230description = Enable/Disable LCD backlight simulation,yes-enabled,no-disabled.
231
232# Hardware OpenGLES emulation support
233#
234name        = hw.gpu.enabled
235type        = boolean
236default     = no
237abstract    = GPU emulation
238description = Enable/Disable emulated OpenGLES GPU
239
240# Fake camera support
241#
242name        = hw.fakeCamera
243type        = string
244default     = back
245abstract    = Fake camera control
246description = Must be 'back', if fake camera is facing back, 'front', if fake camera is facing front, or 'off' if fake camera is disabled.
247
248# Number of emulated web cameras
249#
250name        = hw.webcam.count
251type        = integer
252default     = 6
253abstract    = Number of emulated web cameras
254description = Defines number of web cameras to emulate. 0 disables webcam emulation.
255
256# Defines name of the emulated webcam with index 0
257#
258name        = hw.webcam.0.name
259type        = string
260default     = webcam0
261abstract    = Name of the 1-st emulated web camera
262description = Emulator-generated platform-independent name identifying a camera in the list of enumerated web cameras.
263
264# Defines name of the emulated webcam with index 1
265#
266name        = hw.webcam.1.name
267type        = string
268default     = webcam1
269abstract    = Name of the 2-nd emulated web camera
270description = Emulator-generated platform-independent camera name.
271
272# Defines name of the emulated webcam with index 2
273#
274name        = hw.webcam.2.name
275type        = string
276default     = webcam2
277abstract    = Name of the 3-rd emulated web camera
278description = Emulator-generated platform-independent camera name.
279
280# Defines name of the emulated webcam with index 3
281#
282name        = hw.webcam.3.name
283type        = string
284default     = webcam3
285abstract    = Name of the 4-th emulated web camera
286description = Emulator-generated platform-independent camera name.
287
288# Defines name of the emulated webcam with index 4
289#
290name        = hw.webcam.4.name
291type        = string
292default     = webcam4
293abstract    = Name of the 5-th emulated web camera
294description = Emulator-generated platform-independent camera name.
295
296# Defines name of the emulated webcam with index 5
297#
298name        = hw.webcam.5.name
299type        = string
300default     = webcam5
301abstract    = Name of the 6-th emulated web camera
302description = Emulator-generated platform-independent camera name.
303
304# Defines direction of the emulated webcam with index 0
305#
306name        = hw.webcam.0.direction
307type        = string
308default     = front
309abstract    = 1-st emulated web camera direction
310description = Direction of the 1-st emulated web camera
311
312# Defines direction of the emulated webcam with index 1
313# Note that first two cameras must face in opposite directions in order to enable
314# camera switch in the camera application.
315#
316name        = hw.webcam.1.direction
317type        = string
318default     = back
319abstract    = 2-nd emulated web camera direction
320description = Direction of the 2-nd emulated web camera
321
322# Defines direction of the emulated webcam with index 2
323#
324name        = hw.webcam.2.direction
325type        = string
326default     = front
327abstract    = 3-rd emulated web camera direction
328description = Direction of the 3-rd emulated web camera
329
330# Defines direction of the emulated webcam with index 3
331#
332name        = hw.webcam.3.direction
333type        = string
334default     = front
335abstract    = 4-th emulated web camera direction
336description = Direction of the 4-th emulated web camera
337
338# Defines direction of the emulated webcam with index 4
339#
340name        = hw.webcam.4.direction
341type        = string
342default     = front
343abstract    = 5-th emulated web camera direction
344description = Direction of the 5-th emulated web camera
345
346# Defines direction of the emulated webcam with index 5
347#
348name        = hw.webcam.5.direction
349type        = string
350default     = front
351abstract    = 6-th emulated web camera direction
352description = Direction of the 6-th emulated web camera
353
354# Maximum VM heap size
355# Higher values are required for high-dpi devices
356# Default will depend on RAM size.
357name        = vm.heapSize
358type        = integer
359default     = 0
360abstract    = Max VM application heap size
361description = The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes.
362
363# Proximity sensor
364name        = hw.sensors.proximity
365type        = boolean
366default     = yes
367abstract    = Proximity support
368description = Whether there is an proximity in the device.
369
370# Kernel image.
371#
372# kernel.path        specified the path to the kernel image
373# kernel.parameters  specifies the string of kernel boot parameters.
374#
375name        = kernel.path
376type        = string
377default     =
378abstract    = Path to the kernel image
379description = Path to the kernel image.
380
381name        = kernel.parameters
382type        = string
383default     =
384abstract    = kernel boot parameters string.
385
386# Path to the ramdisk image.
387name        = disk.ramdisk.path
388type        = string
389default     =
390abstract    = Path to the ramdisk image
391description = Path to the ramdisk image.
392
393# System partition image(s).
394#
395# disk.systemPartition.path points to the read/write system partition image.
396#   if empty, a temporary file will be created, initialized with the content
397#   of .initPath
398#
399# disk.systemPartition.initPath is only used when .path is empty. It must
400# then point to a read-only initialization system image file.
401#
402# disk.systemPartition.size is the ideal size of the system partition. The
403# size is ignored if the actual system partition image is larger. Otherwise,
404# it indicates the maximum size the disk image file can grow to.
405#
406name        = disk.systemPartition.path
407type        = string
408default     =
409abstract    = Path to runtime system partition image
410
411name        = disk.systemPartition.initPath
412type        = string
413default     =
414abstract    = Initial system partition image
415
416name        = disk.systemPartition.size
417type        = diskSize
418default     = 0
419abstract    = Ideal size of system partition
420
421# Path to the data partition.
422name        = disk.dataPartition.path
423type        = string
424default     = <temp>
425abstract    = Path to data partition file
426description = 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.
427
428# Initial path to the data partition.
429name        = disk.dataPartition.initPath
430type        = string
431default     =
432abstract    = Initial data partition
433description = If not empty, its content will be copied to the disk.dataPartition.path file at boot-time.
434
435# Data partition size.
436name        = disk.dataPartition.size
437type        = diskSize
438default     = 0
439abstract    = Ideal size of data partition
440
441# Path to the snapshots storage file.
442name        = disk.snapStorage.path
443type        = string
444default     =
445abstract    = Path to snapshot storage
446description = Path to a 'snapshot storage' file, where all snapshots are stored.
447
448# Android AVD name
449# This is set automatically before launching a core.
450#
451name        = avd.name
452type        = string
453default     = <build>
454abstract    = Name of the AVD being run
455