• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1min_machine_size: "n1-standard-4"
2disk_image_name: "avd-system.tar.gz"
3disk_image_mime_type: "application/x-tar"
4disk_image_extension: ".tar.gz"
5disk_raw_image_name: "disk.raw"
6disk_raw_image_extension: ".img"
7default_extra_data_disk_device: "/dev/block/sdb"
8creds_cache_file: ".acloud_oauth2.dat"
9user_agent: "acloud"
10
11# [GOLDFISH only] The emulator build target: "emulator-linux_x64_internal".
12# We use it to get build id if build id is not provided and It's very unlikely
13# that this will ever change.
14emulator_build_target: "emulator-linux_x64_internal"
15
16default_usr_cfg {
17  machine_type: "n1-standard-4"
18  network: "default"
19  extra_data_disk_size_gb: 0
20  instance_name_pattern: "ins-{uuid}-{build_id}-{build_target}"
21
22  metadata_variable {
23    key: "camera_front"
24    value: "1,32,24,checker-sliding"
25  }
26
27  metadata_variable {
28    key: "camera_back"
29    value: "1,640,480,checker-fixed"
30  }
31
32  metadata_variable {
33    key: "cfg_sta_ephemeral_cache_size_mb"
34    value: "512"
35  }
36
37  metadata_variable {
38    key: "cfg_sta_ephemeral_data_size_mb"
39    value: "2048"
40  }
41
42  metadata_variable {
43    key: "cfg_sta_persistent_data_device"
44    value: "default"
45  }
46
47  metadata_variable {
48    key: "gps_coordinates"
49    value: "37.422,122.084,100,0,1,1"
50  }
51}
52
53# Below are common HW properties, the values also could be referred in the
54# AVD manager of android sdk.
55# https://developer.android.com/studio/run/managing-avds
56# Cuttlefish config reference: google/cuttlefish/shared/config
57common_hw_property_map {
58  key: "local-phone"
59  value: "cpu:4,resolution:720x1280,dpi:320,memory:2g"
60}
61
62common_hw_property_map {
63  key: "local-auto"
64  value: "cpu:4,resolution:1280x800,dpi:160,memory:4g"
65}
66
67common_hw_property_map {
68  key: "local-wear"
69  value: "cpu:4,resolution:320x320,dpi:240,memory:2g"
70}
71
72common_hw_property_map {
73  key: "local-tablet"
74  value: "cpu:4,resolution:2560x1800,dpi:320,memory:4g"
75}
76
77common_hw_property_map {
78  key: "local-foldable"
79  value: "cpu:4,resolution:1768x2208,dpi:386,memory:4g"
80}
81
82common_hw_property_map {
83  key: "local-desktop"
84  value: "cpu:8,resolution:1600x900,dpi:160,memory:8g"
85}
86
87common_hw_property_map {
88  key: "phone"
89  value: "cpu:4,resolution:720x1280,dpi:320,memory:2g"
90}
91
92common_hw_property_map {
93  key: "auto"
94  value: "cpu:4,resolution:1280x800,dpi:160,memory:4g"
95}
96
97common_hw_property_map {
98  key: "wear"
99  value: "cpu:4,resolution:320x320,dpi:240,memory:2g"
100}
101
102common_hw_property_map {
103  key: "tablet"
104  value: "cpu:4,resolution:2560x1800,dpi:320,memory:4g"
105}
106
107common_hw_property_map {
108  key: "tv"
109  value: "cpu:4,resolution:1920x1080,dpi:213,memory:2g"
110}
111
112common_hw_property_map {
113  key: "foldable"
114  value: "cpu:4,resolution:1768x2208,dpi:386,memory:4g"
115}
116
117common_hw_property_map {
118  key: "desktop"
119  value: "cpu:8,resolution:1600x900,dpi:160,memory:8g"
120}
121
122# Device resolution
123device_resolution_map {
124  key: "nexus5"
125  value: "1080x1920x32x480"
126}
127
128device_resolution_map {
129  key: "nexus6"
130  value: "1440x2560x32x560"
131}
132
133# nexus7 (2012)
134device_resolution_map {
135  key: "nexus7_2012"
136  value: "800x1280x32x213"
137}
138
139device_resolution_map {
140  key: "nexus7_2013"
141  value: "1200x1920x32x320"
142}
143
144device_resolution_map {
145  key: "nexus9"
146  value: "1536x2048x32x320"
147}
148
149device_resolution_map {
150  key: "nexus10"
151  value: "1600x2560x32x320"
152}
153
154# Default orientation
155
156device_default_orientation_map {
157  key: "nexus5"
158  value: "portrait"
159}
160
161device_default_orientation_map {
162  key: "nexus6"
163  value: "landscape"
164}
165
166device_default_orientation_map {
167  key: "nexus7_2012"
168  value: "landscape"
169}
170
171device_default_orientation_map {
172  key: "nexus7_2013"
173  value: "landscape"
174}
175
176device_default_orientation_map {
177  key: "nexus9"
178  value: "landscape"
179}
180
181device_default_orientation_map {
182  key: "nexus10"
183  value: "landscape"
184}
185
186# Precreated data images.
187precreated_data_image {
188  key: 4
189  value: "extradisk-image-4gb"
190}
191precreated_data_image {
192  key: 10
193  value: "extradisk-image-10gb"
194}
195precreated_data_image {
196  key: 100
197  value: "extradisk-image-100gb"
198}
199