aboutsummaryrefslogtreecommitdiff
path: root/public/data/default.config
blob: cd5f96db0c2b87f67f384442540a8eb7c5981c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
min_machine_size: "n1-standard-4"
disk_image_name: "avd-system.tar.gz"
disk_image_mime_type: "application/x-tar"
disk_image_extension: ".tar.gz"
disk_raw_image_name: "disk.raw"
disk_raw_image_extension: ".img"
default_extra_data_disk_device: "/dev/block/sdb"
creds_cache_file: ".acloud_oauth2.dat"
user_agent: "acloud"

# [GOLDFISH only] The emulator build target: "emulator-linux_x64_internal".
# We use it to get build id if build id is not provided and It's very unlikely
# that this will ever change.
emulator_build_target: "emulator-linux_x64_internal"

default_usr_cfg {
  machine_type: "n1-standard-4"
  network: "default"
  extra_data_disk_size_gb: 0
  instance_name_pattern: "ins-{uuid}-{build_id}-{build_target}"
  fetch_cvd_version: "7924973"

  metadata_variable {
    key: "camera_front"
    value: "1,32,24,checker-sliding"
  }

  metadata_variable {
    key: "camera_back"
    value: "1,640,480,checker-fixed"
  }

  metadata_variable {
    key: "cfg_sta_ephemeral_cache_size_mb"
    value: "512"
  }

  metadata_variable {
    key: "cfg_sta_ephemeral_data_size_mb"
    value: "2048"
  }

  metadata_variable {
    key: "cfg_sta_persistent_data_device"
    value: "default"
  }

  metadata_variable {
    key: "gps_coordinates"
    value: "37.422,122.084,100,0,1,1"
  }
}

# Below are common HW properties, the values also could be referred in the
# AVD manager of android sdk.
# https://developer.android.com/studio/run/managing-avds
# Cuttlefish config reference: google/cuttlefish/shared/config
common_hw_property_map {
  key: "local-phone"
  value: "cpu:4,resolution:720x1280,dpi:320,memory:6g"
}

common_hw_property_map {
  key: "local-auto"
  value: "cpu:4,resolution:1280x800,dpi:160,memory:6g"
}

common_hw_property_map {
  key: "local-wear"
  value: "cpu:4,resolution:320x320,dpi:240,memory:2g"
}

common_hw_property_map {
  key: "local-tablet"
  value: "cpu:4,resolution:2560x1800,dpi:320,memory:6g"
}

common_hw_property_map {
  key: "local-foldable"
  value: "cpu:4,resolution:1768x2208,dpi:386,memory:4g"
}

common_hw_property_map {
  key: "phone"
  value: "cpu:4,resolution:720x1280,dpi:320,memory:4g"
}

common_hw_property_map {
  key: "auto"
  value: "cpu:4,resolution:1280x800,dpi:160,memory:4g"
}

common_hw_property_map {
  key: "wear"
  value: "cpu:4,resolution:320x320,dpi:240,memory:2g"
}

common_hw_property_map {
  key: "tablet"
  value: "cpu:4,resolution:2560x1800,dpi:320,memory:4g"
}

common_hw_property_map {
  key: "tv"
  value: "cpu:4,resolution:1920x1080,dpi:213,memory:2g"
}

common_hw_property_map {
  key: "foldable"
  value: "cpu:4,resolution:1768x2208,dpi:386,memory:4g"
}

# Device resolution
device_resolution_map {
  key: "nexus5"
  value: "1080x1920x32x480"
}

device_resolution_map {
  key: "nexus6"
  value: "1440x2560x32x560"
}

# nexus7 (2012)
device_resolution_map {
  key: "nexus7_2012"
  value: "800x1280x32x213"
}

device_resolution_map {
  key: "nexus7_2013"
  value: "1200x1920x32x320"
}

device_resolution_map {
  key: "nexus9"
  value: "1536x2048x32x320"
}

device_resolution_map {
  key: "nexus10"
  value: "1600x2560x32x320"
}

# Default orientation

device_default_orientation_map {
  key: "nexus5"
  value: "portrait"
}

device_default_orientation_map {
  key: "nexus6"
  value: "landscape"
}

device_default_orientation_map {
  key: "nexus7_2012"
  value: "landscape"
}

device_default_orientation_map {
  key: "nexus7_2013"
  value: "landscape"
}

device_default_orientation_map {
  key: "nexus9"
  value: "landscape"
}

device_default_orientation_map {
  key: "nexus10"
  value: "landscape"
}

# Precreated data images.
precreated_data_image {
  key: 4
  value: "extradisk-image-4gb"
}
precreated_data_image {
  key: 10
  value: "extradisk-image-10gb"
}
precreated_data_image {
  key: 100
  value: "extradisk-image-100gb"
}