• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2022 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto3";
6
7package chromiumos.test.api;
8
9option go_package = "go.chromium.org/chromiumos/config/go/test/api";
10
11import "chromiumos/test/api/android_provision_metadata.proto";
12import "chromiumos/test/lab/api/dut.proto";
13import "chromiumos/test/lab/api/ip_endpoint.proto";
14
15// AndroidProvisionState defines all of the installable (provisionable) elements on an
16// Android test device as part of device setup for test operations.
17// Next Tag: 4
18message AndroidProvisionState {
19  // Required. String encoded id that uniquely reflects a given AndroidProvisionState.
20  message Id {
21    string value = 1;
22  }
23  Id id = 1;
24  // Required. CIPD packages to provision.
25  repeated CIPDPackage cipd_packages = 2;
26  // Android OS image to flash.
27  AndroidOsImage android_os_image = 3;
28}
29
30// Next Tag: 4
31message AndroidProvisionRequest {
32  // Required. DUT information.
33  chromiumos.test.lab.api.Dut dut = 1;
34  // Required. Provision state is a pass through request to the provision service.
35  AndroidProvisionState provision_state = 2;
36  // Required. Address of the DUT Server.
37  chromiumos.test.lab.api.IpEndpoint dut_server = 3;
38}
39
40