blob: 3093b1692a38ff6de3bf201a8c8f6dfab8e78f54 [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
29default = 96
30abstract = 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
99# Audio input
100name = hw.audioInput
101type = boolean
102default = yes
103abstract = Audio recording support
104description = Whether the device can record audio
105
106# Audio output
107name = hw.audioOutput
108type = boolean
109default = yes
110abstract = Audio playback support
111description = Whether the device can play audio
112
The Android Open Source Project8b23a6c2009-03-03 19:30:32 -0800113# SDCard support
114name = hw.sdCard
115type = boolean
116default = yes
117abstract = SD Card support
118description = Whether the device supports insertion/removal of virtual SD Cards.
119
120# Cache partition
121name = disk.cachePartition
122type = boolean
123default = yes
124abstract = Cache partition support
125description = Whether we use a /cache partition on the device.
126
127name = disk.cachePartition.size
128type = diskSize
129abstract = Cache partition size
130default = 66MB