lab config: add new camerabox facing configs.
According to http://go/cros-camera-box#heading=h.yxp93d58v9fy, lab
should have corresponding label for each camerabox setup indicating
which camera facing of DUT'camera is facing to chart tablet's screen.
BUG=b:117858126
TEST=generate.sh
Change-Id: Iee1983a595175c1f820907f72aa867122d8efe9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2111535
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
Commit-Queue: Kuo Jen Wei <inker@chromium.org>
Tested-by: Kuo Jen Wei <inker@chromium.org>
diff --git a/go/lab/peripherals.pb.go b/go/lab/peripherals.pb.go
index d933ddf..492a1dd 100644
--- a/go/lab/peripherals.pb.go
+++ b/go/lab/peripherals.pb.go
@@ -142,7 +142,39 @@
return fileDescriptor_3da5da8c71ea9e2e, []int{5, 1}
}
-// Peripherals of device. Next Tag: 12
+// Facing of DUT's camera to be tested whose FOV should cover chart tablet's screen.
+// Next Tag: 3
+type Camerabox_Facing int32
+
+const (
+ Camerabox_FACING_UNKNOWN Camerabox_Facing = 0
+ // DUT's back camera is facing to chart tablet.
+ Camerabox_FACING_BACK Camerabox_Facing = 1
+ // DUT's front camera is facing to chart tablet.
+ Camerabox_FACING_FRONT Camerabox_Facing = 2
+)
+
+var Camerabox_Facing_name = map[int32]string{
+ 0: "FACING_UNKNOWN",
+ 1: "FACING_BACK",
+ 2: "FACING_FRONT",
+}
+
+var Camerabox_Facing_value = map[string]int32{
+ "FACING_UNKNOWN": 0,
+ "FACING_BACK": 1,
+ "FACING_FRONT": 2,
+}
+
+func (x Camerabox_Facing) String() string {
+ return proto.EnumName(Camerabox_Facing_name, int32(x))
+}
+
+func (Camerabox_Facing) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_3da5da8c71ea9e2e, []int{7, 0}
+}
+
+// Peripherals of device. Next Tag: 13
type Peripherals struct {
Servo *Servo `protobuf:"bytes,1,opt,name=servo,proto3" json:"servo,omitempty"`
Chameleon *Chameleon `protobuf:"bytes,2,opt,name=chameleon,proto3" json:"chameleon,omitempty"`
@@ -155,15 +187,17 @@
// e.g: "att", "verizon",.. It's a manual label set by lab, varies dut by dut.
Carrier string `protobuf:"bytes,8,opt,name=carrier,proto3" json:"carrier,omitempty"`
// Indicate if the device is setup in a steady and controllable camera box environment for camera test automation.
- // https://docs.google.com/document/d/12YqHhBuOUolA7BjVEcG4rOIVIO2pgmb4jnOEApB806Y/edit#
+ // http://go/cros-camera-box
Camerabox bool `protobuf:"varint,9,opt,name=camerabox,proto3" json:"camerabox,omitempty"`
// Indicate if the device is setup in a chaos environment. It's a special settings for running wifi interop tests.
Chaos bool `protobuf:"varint,10,opt,name=chaos,proto3" json:"chaos,omitempty"`
// Indicate the cables that connect audio, printer to the device in ACS lab.
- Cable []*Cable `protobuf:"bytes,11,rep,name=cable,proto3" json:"cable,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Cable []*Cable `protobuf:"bytes,11,rep,name=cable,proto3" json:"cable,omitempty"`
+ // Incompatible upgraded type from bool camerabox=9.
+ CameraboxInfo *Camerabox `protobuf:"bytes,12,opt,name=camerabox_info,json=cameraboxInfo,proto3" json:"camerabox_info,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
}
func (m *Peripherals) Reset() { *m = Peripherals{} }
@@ -268,6 +302,13 @@
return nil
}
+func (m *Peripherals) GetCameraboxInfo() *Camerabox {
+ if m != nil {
+ return m.CameraboxInfo
+ }
+ return nil
+}
+
// Remote power management info.
// Next Tag: 3
type RPM struct {
@@ -547,11 +588,52 @@
return false
}
+// Next Tag: 2
+type Camerabox struct {
+ Facing Camerabox_Facing `protobuf:"varint,1,opt,name=facing,proto3,enum=lab.Camerabox_Facing" json:"facing,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Camerabox) Reset() { *m = Camerabox{} }
+func (m *Camerabox) String() string { return proto.CompactTextString(m) }
+func (*Camerabox) ProtoMessage() {}
+func (*Camerabox) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3da5da8c71ea9e2e, []int{7}
+}
+
+func (m *Camerabox) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Camerabox.Unmarshal(m, b)
+}
+func (m *Camerabox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Camerabox.Marshal(b, m, deterministic)
+}
+func (m *Camerabox) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Camerabox.Merge(m, src)
+}
+func (m *Camerabox) XXX_Size() int {
+ return xxx_messageInfo_Camerabox.Size(m)
+}
+func (m *Camerabox) XXX_DiscardUnknown() {
+ xxx_messageInfo_Camerabox.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Camerabox proto.InternalMessageInfo
+
+func (m *Camerabox) GetFacing() Camerabox_Facing {
+ if m != nil {
+ return m.Facing
+ }
+ return Camerabox_FACING_UNKNOWN
+}
+
func init() {
proto.RegisterEnum("lab.CameraType", CameraType_name, CameraType_value)
proto.RegisterEnum("lab.CableType", CableType_name, CableType_value)
proto.RegisterEnum("lab.Wifi_AntennaConnection", Wifi_AntennaConnection_name, Wifi_AntennaConnection_value)
proto.RegisterEnum("lab.Wifi_Router", Wifi_Router_name, Wifi_Router_value)
+ proto.RegisterEnum("lab.Camerabox_Facing", Camerabox_Facing_name, Camerabox_Facing_value)
proto.RegisterType((*Peripherals)(nil), "lab.Peripherals")
proto.RegisterType((*RPM)(nil), "lab.RPM")
proto.RegisterType((*Camera)(nil), "lab.Camera")
@@ -559,56 +641,62 @@
proto.RegisterType((*Audio)(nil), "lab.Audio")
proto.RegisterType((*Wifi)(nil), "lab.Wifi")
proto.RegisterType((*Touch)(nil), "lab.Touch")
+ proto.RegisterType((*Camerabox)(nil), "lab.Camerabox")
}
func init() { proto.RegisterFile("lab/peripherals.proto", fileDescriptor_3da5da8c71ea9e2e) }
var fileDescriptor_3da5da8c71ea9e2e = []byte{
- // 723 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x94, 0x5f, 0x8f, 0xda, 0x46,
- 0x14, 0xc5, 0x6b, 0xfe, 0x05, 0x5f, 0x36, 0xe0, 0x9d, 0x34, 0x95, 0xb5, 0xdb, 0x4a, 0xc8, 0x52,
- 0x25, 0x9a, 0xb6, 0x90, 0x50, 0xb5, 0xaa, 0xf2, 0x50, 0xc9, 0x18, 0x9a, 0x75, 0xb3, 0xd8, 0x68,
- 0x16, 0xb2, 0x6d, 0x5e, 0xac, 0xb1, 0x33, 0xbb, 0x58, 0xb2, 0x3d, 0x68, 0x30, 0x4d, 0xf3, 0xde,
- 0xd7, 0x7e, 0xe7, 0x6a, 0xee, 0x80, 0x8d, 0x94, 0x37, 0xcf, 0xef, 0x9c, 0x7b, 0xb8, 0x73, 0xef,
- 0x08, 0x78, 0x9e, 0xb1, 0x78, 0xb2, 0xe3, 0x32, 0xdd, 0x6d, 0xb9, 0x64, 0xd9, 0x7e, 0xbc, 0x93,
- 0xa2, 0x14, 0xa4, 0x99, 0xb1, 0xf8, 0xea, 0x99, 0xd2, 0x92, 0x2d, 0xcb, 0x79, 0xc6, 0x45, 0xa1,
- 0x95, 0xab, 0x81, 0x82, 0x7b, 0x2e, 0xff, 0x16, 0x1a, 0x38, 0xff, 0x36, 0xa1, 0xb7, 0xaa, 0x03,
- 0xc8, 0x10, 0xda, 0x28, 0xdb, 0xc6, 0xd0, 0x18, 0xf5, 0xa6, 0x30, 0xce, 0x58, 0x3c, 0xbe, 0x53,
- 0x84, 0x6a, 0x81, 0xfc, 0x00, 0x66, 0x95, 0x6a, 0x37, 0xd0, 0xd5, 0x47, 0x97, 0x77, 0xa2, 0xb4,
- 0x36, 0x90, 0x2b, 0x68,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, 0xf6, 0x0f,
+ 0x43, 0x3b, 0xb2, 0xcd, 0x17, 0x1f, 0xe6, 0xd4, 0x1f, 0x1b, 0xb5, 0x17, 0x3b, 0x59, 0x45, 0xb1,
+ 0x41, 0xea, 0xce, 0xe4, 0x76, 0x76, 0x14, 0x23, 0x9b, 0x8b, 0xc8, 0x5e, 0x4e, 0x5d, 0xff, 0x37,
+ 0xf5, 0x1e, 0x0c, 0x92, 0x70, 0x79, 0x3f, 0x41, 0x6e, 0xd4, 0xc8, 0x39, 0x9c, 0x95, 0x6c, 0x4e,
+ 0x5d, 0x6f, 0xe1, 0x7a, 0xd7, 0x46, 0xbd, 0xba, 0x7f, 0x33, 0xbd, 0x73, 0x95, 0xb7, 0x31, 0x19,
+ 0x7d, 0x78, 0xf9, 0x28, 0x86, 0xe1, 0x26, 0x13, 0x49, 0xb4, 0x4f, 0x86, 0x22, 0x7b, 0x1c, 0x1d,
+ 0x0e, 0x62, 0x37, 0x8a, 0xd2, 0x75, 0xc6, 0x46, 0xf8, 0x6f, 0x3a, 0x7a, 0x14, 0xa3, 0x98, 0xad,
+ 0x56, 0x2d, 0x3c, 0xfd, 0xf8, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xec, 0x9c, 0x40, 0xe7, 0x9f,
+ 0x05, 0x00, 0x00,
}
diff --git a/src/lab/peripherals.proto b/src/lab/peripherals.proto
index 297aecc..4286fef 100644
--- a/src/lab/peripherals.proto
+++ b/src/lab/peripherals.proto
@@ -13,7 +13,7 @@
// This proto defines setup labels in lab config of a DUT.
-// Peripherals of device. Next Tag: 12
+// Peripherals of device. Next Tag: 13
message Peripherals {
Servo servo = 1;
Chameleon chameleon = 2;
@@ -26,12 +26,14 @@
// e.g: "att", "verizon",.. It's a manual label set by lab, varies dut by dut.
string carrier = 8;
// Indicate if the device is setup in a steady and controllable camera box environment for camera test automation.
- // https://docs.google.com/document/d/12YqHhBuOUolA7BjVEcG4rOIVIO2pgmb4jnOEApB806Y/edit#
+ // http://go/cros-camera-box
bool camerabox = 9;
// Indicate if the device is setup in a chaos environment. It's a special settings for running wifi interop tests.
bool chaos = 10;
// Indicate the cables that connect audio, printer to the device in ACS lab.
repeated Cable cable = 11;
+ // Incompatible upgraded type from bool camerabox=9.
+ Camerabox camerabox_info = 12;
}
// Remote power management info.
@@ -106,3 +108,17 @@
// Has touch monitor mimo.
bool mimo = 1;
}
+
+// Next Tag: 2
+message Camerabox {
+ // Facing of DUT's camera to be tested whose FOV should cover chart tablet's screen.
+ // Next Tag: 3
+ enum Facing {
+ FACING_UNKNOWN = 0;
+ // DUT's back camera is facing to chart tablet.
+ FACING_BACK = 1;
+ // DUT's front camera is facing to chart tablet.
+ FACING_FRONT = 2;
+ }
+ Facing facing = 1;
+}