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: "sdk_tools_linux".
# 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: "sdk_tools_linux"

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}"

  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
common_hw_property_map {
  key: "phone"
  value: "cpu:2,resolution:720x1280,dpi:320,memory:4g,disk:4g"
}

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

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

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

common_hw_property_map {
  key: "tv"
  value: "cpu:2,resolution:1280x720,dpi:213,memory:2g,disk: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"
}