manufacturing

package
v0.0.0-...-712ccb0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: BSD-3-Clause Imports: 4 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config_Phase_name = map[int32]string{
		0: "PHASE_INVALID",
		1: "PHASE_EVT",
		2: "PHASE_EVT2",
		3: "PHASE_DVT",
		4: "PHASE_DVT2",
		5: "PHASE_PVT",
		6: "PHASE_PVT2",
		7: "PHASE_PVT3",
		8: "PHASE_MP",
	}
	Config_Phase_value = map[string]int32{
		"PHASE_INVALID": 0,
		"PHASE_EVT":     1,
		"PHASE_EVT2":    2,
		"PHASE_DVT":     3,
		"PHASE_DVT2":    4,
		"PHASE_PVT":     5,
		"PHASE_PVT2":    6,
		"PHASE_PVT3":    7,
		"PHASE_MP":      8,
	}
)

Enum value maps for Config_Phase.

View Source
var (
	Config_CR50Phase_name = map[int32]string{
		0: "CR50_PHASE_INVALID",
		1: "CR50_PHASE_PREPVT",
		2: "CR50_PHASE_PVT",
	}
	Config_CR50Phase_value = map[string]int32{
		"CR50_PHASE_INVALID": 0,
		"CR50_PHASE_PREPVT":  1,
		"CR50_PHASE_PVT":     2,
	}
)

Enum value maps for Config_CR50Phase.

View Source
var (
	Config_CR50KeyEnv_name = map[int32]string{
		0: "CR50_KEYENV_INVALID",
		1: "CR50_KEYENV_PROD",
		2: "CR50_KEYENV_DEV",
	}
	Config_CR50KeyEnv_value = map[string]int32{
		"CR50_KEYENV_INVALID": 0,
		"CR50_KEYENV_PROD":    1,
		"CR50_KEYENV_DEV":     2,
	}
)

Enum value maps for Config_CR50KeyEnv.

View Source
var File_manufacturing_config_id_proto protoreflect.FileDescriptor
View Source
var File_manufacturing_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {
	ManufacturingId *ConfigID        `protobuf:"bytes,1,opt,name=manufacturing_id,json=manufacturingId,proto3" json:"manufacturing_id,omitempty"`
	DevicePhase     Config_Phase     `` /* 127-byte string literal not displayed */
	Cr50Phase       Config_CR50Phase `protobuf:"varint,3,opt,name=cr50_phase,json=cr50Phase,proto3,enum=manufacturing.Config_CR50Phase" json:"cr50_phase,omitempty"`
	// Detected based on the cr50 RW version that the DUT is running on.
	Cr50KeyEnv Config_CR50KeyEnv `` /* 131-byte string literal not displayed */
	// wifi chip that is installed on the DUT in manufacturing stage.
	WifiChip string `protobuf:"bytes,5,opt,name=wifi_chip,json=wifiChip,proto3" json:"wifi_chip,omitempty"`
	// Save repeated hwid components obtained from hwid service
	HwidComponent []string `protobuf:"bytes,6,rep,name=hwid_component,json=hwidComponent,proto3" json:"hwid_component,omitempty"`
	// contains filtered or unexported fields
}

These are the configs that's provided in manufacture stage of a ChromeOS device. Next Tag: 7

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetCr50KeyEnv

func (x *Config) GetCr50KeyEnv() Config_CR50KeyEnv

func (*Config) GetCr50Phase

func (x *Config) GetCr50Phase() Config_CR50Phase

func (*Config) GetDevicePhase

func (x *Config) GetDevicePhase() Config_Phase

func (*Config) GetHwidComponent

func (x *Config) GetHwidComponent() []string

func (*Config) GetManufacturingId

func (x *Config) GetManufacturingId() *ConfigID

func (*Config) GetWifiChip

func (x *Config) GetWifiChip() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ConfigID

type ConfigID struct {

	// The ID that uniquely identifies the hardware configuration of a ChromeOS
	// device.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigID) Descriptor deprecated

func (*ConfigID) Descriptor() ([]byte, []int)

Deprecated: Use ConfigID.ProtoReflect.Descriptor instead.

func (*ConfigID) GetValue

func (x *ConfigID) GetValue() string

func (*ConfigID) ProtoMessage

func (*ConfigID) ProtoMessage()

func (*ConfigID) ProtoReflect

func (x *ConfigID) ProtoReflect() protoreflect.Message

func (*ConfigID) Reset

func (x *ConfigID) Reset()

func (*ConfigID) String

func (x *ConfigID) String() string

type ConfigList

type ConfigList struct {
	Value []*Config `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Message contains all ChromeOS manufacturing configs.

func (*ConfigList) Descriptor deprecated

func (*ConfigList) Descriptor() ([]byte, []int)

Deprecated: Use ConfigList.ProtoReflect.Descriptor instead.

func (*ConfigList) GetValue

func (x *ConfigList) GetValue() []*Config

func (*ConfigList) ProtoMessage

func (*ConfigList) ProtoMessage()

func (*ConfigList) ProtoReflect

func (x *ConfigList) ProtoReflect() protoreflect.Message

func (*ConfigList) Reset

func (x *ConfigList) Reset()

func (*ConfigList) String

func (x *ConfigList) String() string

type Config_CR50KeyEnv

type Config_CR50KeyEnv int32

key env for cr50 RW version. Next Tag: 3

const (
	Config_CR50_KEYENV_INVALID Config_CR50KeyEnv = 0
	Config_CR50_KEYENV_PROD    Config_CR50KeyEnv = 1
	Config_CR50_KEYENV_DEV     Config_CR50KeyEnv = 2
)

func (Config_CR50KeyEnv) Descriptor

func (Config_CR50KeyEnv) Enum

func (Config_CR50KeyEnv) EnumDescriptor deprecated

func (Config_CR50KeyEnv) EnumDescriptor() ([]byte, []int)

Deprecated: Use Config_CR50KeyEnv.Descriptor instead.

func (Config_CR50KeyEnv) Number

func (Config_CR50KeyEnv) String

func (x Config_CR50KeyEnv) String() string

func (Config_CR50KeyEnv) Type

type Config_CR50Phase

type Config_CR50Phase int32

phases for cr50 module. Next Tag: 3

const (
	Config_CR50_PHASE_INVALID Config_CR50Phase = 0
	Config_CR50_PHASE_PREPVT  Config_CR50Phase = 1
	Config_CR50_PHASE_PVT     Config_CR50Phase = 2
)

func (Config_CR50Phase) Descriptor

func (Config_CR50Phase) Enum

func (Config_CR50Phase) EnumDescriptor deprecated

func (Config_CR50Phase) EnumDescriptor() ([]byte, []int)

Deprecated: Use Config_CR50Phase.Descriptor instead.

func (Config_CR50Phase) Number

func (Config_CR50Phase) String

func (x Config_CR50Phase) String() string

func (Config_CR50Phase) Type

type Config_Phase

type Config_Phase int32

phase for the device. Next Tag: 9

const (
	Config_PHASE_INVALID Config_Phase = 0
	Config_PHASE_EVT     Config_Phase = 1
	Config_PHASE_EVT2    Config_Phase = 2
	Config_PHASE_DVT     Config_Phase = 3
	Config_PHASE_DVT2    Config_Phase = 4
	Config_PHASE_PVT     Config_Phase = 5
	Config_PHASE_PVT2    Config_Phase = 6
	Config_PHASE_PVT3    Config_Phase = 7
	Config_PHASE_MP      Config_Phase = 8
)

func (Config_Phase) Descriptor

func (Config_Phase) Enum

func (x Config_Phase) Enum() *Config_Phase

func (Config_Phase) EnumDescriptor deprecated

func (Config_Phase) EnumDescriptor() ([]byte, []int)

Deprecated: Use Config_Phase.Descriptor instead.

func (Config_Phase) Number

func (Config_Phase) String

func (x Config_Phase) String() string

func (Config_Phase) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL