config: go.chromium.org/chromiumos/config/go/api/software Index | Files | Directories

package software

import "go.chromium.org/chromiumos/config/go/api/software"

Index

Package Files

audio_config.pb.go bluetooth_config.pb.go brand_config.pb.go build_target.pb.go build_target_id.pb.go firmware_config.pb.go power_config.pb.go software_config.pb.go

Variables

var FirmwareType_Type_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "MAIN",
    2:  "EC",
    3:  "PD",
}
var FirmwareType_Type_value = map[string]int32{
    "UNKNOWN": 0,
    "MAIN":    1,
    "EC":      2,
    "PD":      3,
}

type AudioConfig Uses

type AudioConfig struct {
    // The name of the audio card.
    CardName string `protobuf:"bytes,1,opt,name=card_name,json=cardName,proto3" json:"card_name,omitempty"`
    // Path to the CRAS card configuration file.
    // See
    // https://chromium.googlesource.com/chromiumos/third_party/adhd/+/master/cras/#card-configuration.
    CardConfigFile string `protobuf:"bytes,2,opt,name=card_config_file,json=cardConfigFile,proto3" json:"card_config_file,omitempty"`
    // Path to the dsp.ini configuration file.
    DspFile string `protobuf:"bytes,3,opt,name=dsp_file,json=dspFile,proto3" json:"dsp_file,omitempty"`
    // Path to the UCM file. Note that this is the UCM verb file (e.g.
    // "HiFi.conf"), NOT the UCM master file (e.g. <sound card name>.conf).
    UcmFile string `protobuf:"bytes,4,opt,name=ucm_file,json=ucmFile,proto3" json:"ucm_file,omitempty"`
    // Path to the UCM master file (e.g. <sound card name>.conf).
    UcmMasterFile string `protobuf:"bytes,5,opt,name=ucm_master_file,json=ucmMasterFile,proto3" json:"ucm_master_file,omitempty"`
    // UCM suffix, if any.
    UcmSuffix string `protobuf:"bytes,6,opt,name=ucm_suffix,json=ucmSuffix,proto3" json:"ucm_suffix,omitempty"`
    // Path to the ALSA module config file.
    ModuleFile string `protobuf:"bytes,7,opt,name=module_file,json=moduleFile,proto3" json:"module_file,omitempty"`
    // Path to the boards specific settings board.ini file.
    BoardFile string `protobuf:"bytes,8,opt,name=board_file,json=boardFile,proto3" json:"board_file,omitempty"`
    // Name of HDMI device.
    HdmiName string `protobuf:"bytes,9,opt,name=hdmi_name,json=hdmiName,proto3" json:"hdmi_name,omitempty"`
    // Path to the HDMI UCM file.
    HdmiUcmFile string `protobuf:"bytes,10,opt,name=hdmi_ucm_file,json=hdmiUcmFile,proto3" json:"hdmi_ucm_file,omitempty"`
    // Path to the HDMI UCM master file.
    HdmiUcmMasterFile    string   `protobuf:"bytes,11,opt,name=hdmi_ucm_master_file,json=hdmiUcmMasterFile,proto3" json:"hdmi_ucm_master_file,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Note that all files should be specified as paths relative to the root of a chromiumos checkout, e.g. "src/overlays/overlay-<target>/audio/HiFi.conf".

func (*AudioConfig) Descriptor Uses

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

func (*AudioConfig) GetBoardFile Uses

func (m *AudioConfig) GetBoardFile() string

func (*AudioConfig) GetCardConfigFile Uses

func (m *AudioConfig) GetCardConfigFile() string

func (*AudioConfig) GetCardName Uses

func (m *AudioConfig) GetCardName() string

func (*AudioConfig) GetDspFile Uses

func (m *AudioConfig) GetDspFile() string

func (*AudioConfig) GetHdmiName Uses

func (m *AudioConfig) GetHdmiName() string

func (*AudioConfig) GetHdmiUcmFile Uses

func (m *AudioConfig) GetHdmiUcmFile() string

func (*AudioConfig) GetHdmiUcmMasterFile Uses

func (m *AudioConfig) GetHdmiUcmMasterFile() string

func (*AudioConfig) GetModuleFile Uses

func (m *AudioConfig) GetModuleFile() string

func (*AudioConfig) GetUcmFile Uses

func (m *AudioConfig) GetUcmFile() string

func (*AudioConfig) GetUcmMasterFile Uses

func (m *AudioConfig) GetUcmMasterFile() string

func (*AudioConfig) GetUcmSuffix Uses

func (m *AudioConfig) GetUcmSuffix() string

func (*AudioConfig) ProtoMessage Uses

func (*AudioConfig) ProtoMessage()

func (*AudioConfig) Reset Uses

func (m *AudioConfig) Reset()

func (*AudioConfig) String Uses

func (m *AudioConfig) String() string

func (*AudioConfig) XXX_DiscardUnknown Uses

func (m *AudioConfig) XXX_DiscardUnknown()

func (*AudioConfig) XXX_Marshal Uses

func (m *AudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AudioConfig) XXX_Merge Uses

func (m *AudioConfig) XXX_Merge(src proto.Message)

func (*AudioConfig) XXX_Size Uses

func (m *AudioConfig) XXX_Size() int

func (*AudioConfig) XXX_Unmarshal Uses

func (m *AudioConfig) XXX_Unmarshal(b []byte) error

type BluetoothConfig Uses

type BluetoothConfig struct {
    // Flags that are passed to the bluetooth daemon on startup.
    // For more details on allowed flags, see:
    //   https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/master/chromeos-config/#flags
    Flags                map[string]bool `protobuf:"bytes,1,rep,name=flags,proto3" json:"flags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

func (*BluetoothConfig) Descriptor Uses

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

func (*BluetoothConfig) GetFlags Uses

func (m *BluetoothConfig) GetFlags() map[string]bool

func (*BluetoothConfig) ProtoMessage Uses

func (*BluetoothConfig) ProtoMessage()

func (*BluetoothConfig) Reset Uses

func (m *BluetoothConfig) Reset()

func (*BluetoothConfig) String Uses

func (m *BluetoothConfig) String() string

func (*BluetoothConfig) XXX_DiscardUnknown Uses

func (m *BluetoothConfig) XXX_DiscardUnknown()

func (*BluetoothConfig) XXX_Marshal Uses

func (m *BluetoothConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BluetoothConfig) XXX_Merge Uses

func (m *BluetoothConfig) XXX_Merge(src proto.Message)

func (*BluetoothConfig) XXX_Size Uses

func (m *BluetoothConfig) XXX_Size() int

func (*BluetoothConfig) XXX_Unmarshal Uses

func (m *BluetoothConfig) XXX_Unmarshal(b []byte) error

type BrandConfig Uses

type BrandConfig struct {
    BrandId              *api.DeviceBrandId                          `protobuf:"bytes,1,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"`
    ScanConfig           *chromeos_config.IdentityScanConfig_BrandId `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"`
    Wallpaper            string                                      `protobuf:"bytes,3,opt,name=wallpaper,proto3" json:"wallpaper,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
    XXX_unrecognized     []byte                                      `json:"-"`
    XXX_sizecache        int32                                       `json:"-"`
}

Contains all of the device-brand-specific configuration that can be updated via new software builds/releases.

During manufacturing, the DeviceBrandId will be set for a given device, which will subsequently determine what BrandConfig shall be selected from the current software-build installed on the device.

func (*BrandConfig) Descriptor Uses

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

func (*BrandConfig) GetBrandId Uses

func (m *BrandConfig) GetBrandId() *api.DeviceBrandId

func (*BrandConfig) GetScanConfig Uses

func (m *BrandConfig) GetScanConfig() *chromeos_config.IdentityScanConfig_BrandId

func (*BrandConfig) GetWallpaper Uses

func (m *BrandConfig) GetWallpaper() string

func (*BrandConfig) ProtoMessage Uses

func (*BrandConfig) ProtoMessage()

func (*BrandConfig) Reset Uses

func (m *BrandConfig) Reset()

func (*BrandConfig) String Uses

func (m *BrandConfig) String() string

func (*BrandConfig) XXX_DiscardUnknown Uses

func (m *BrandConfig) XXX_DiscardUnknown()

func (*BrandConfig) XXX_Marshal Uses

func (m *BrandConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BrandConfig) XXX_Merge Uses

func (m *BrandConfig) XXX_Merge(src proto.Message)

func (*BrandConfig) XXX_Size Uses

func (m *BrandConfig) XXX_Size() int

func (*BrandConfig) XXX_Unmarshal Uses

func (m *BrandConfig) XXX_Unmarshal(b []byte) error

type BuildTarget Uses

type BuildTarget struct {
    Id  *BuildTargetId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // Portage overlay name
    OverlayName          string                          `protobuf:"bytes,2,opt,name=overlay_name,json=overlayName,proto3" json:"overlay_name,omitempty"`
    Arc                  *BuildTarget_ArcBuildProperties `protobuf:"bytes,3,opt,name=arc,proto3" json:"arc,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
    XXX_unrecognized     []byte                          `json:"-"`
    XXX_sizecache        int32                           `json:"-"`
}

Defines a portage overlay target and corresponding parameters that will be used during the build and apply to all devices supported by a given build.

func (*BuildTarget) Descriptor Uses

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

func (*BuildTarget) GetArc Uses

func (m *BuildTarget) GetArc() *BuildTarget_ArcBuildProperties

func (*BuildTarget) GetId Uses

func (m *BuildTarget) GetId() *BuildTargetId

func (*BuildTarget) GetOverlayName Uses

func (m *BuildTarget) GetOverlayName() string

func (*BuildTarget) ProtoMessage Uses

func (*BuildTarget) ProtoMessage()

func (*BuildTarget) Reset Uses

func (m *BuildTarget) Reset()

func (*BuildTarget) String Uses

func (m *BuildTarget) String() string

func (*BuildTarget) XXX_DiscardUnknown Uses

func (m *BuildTarget) XXX_DiscardUnknown()

func (*BuildTarget) XXX_Marshal Uses

func (m *BuildTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTarget) XXX_Merge Uses

func (m *BuildTarget) XXX_Merge(src proto.Message)

func (*BuildTarget) XXX_Size Uses

func (m *BuildTarget) XXX_Size() int

func (*BuildTarget) XXX_Unmarshal Uses

func (m *BuildTarget) XXX_Unmarshal(b []byte) error

type BuildTargetId Uses

type BuildTargetId struct {
    Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An id that other messages can use as a foreign key to specify a BuildTarget. Id messages are equal iff their binary serialization is equal.

func (*BuildTargetId) Descriptor Uses

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

func (*BuildTargetId) GetValue Uses

func (m *BuildTargetId) GetValue() string

func (*BuildTargetId) ProtoMessage Uses

func (*BuildTargetId) ProtoMessage()

func (*BuildTargetId) Reset Uses

func (m *BuildTargetId) Reset()

func (*BuildTargetId) String Uses

func (m *BuildTargetId) String() string

func (*BuildTargetId) XXX_DiscardUnknown Uses

func (m *BuildTargetId) XXX_DiscardUnknown()

func (*BuildTargetId) XXX_Marshal Uses

func (m *BuildTargetId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTargetId) XXX_Merge Uses

func (m *BuildTargetId) XXX_Merge(src proto.Message)

func (*BuildTargetId) XXX_Size Uses

func (m *BuildTargetId) XXX_Size() int

func (*BuildTargetId) XXX_Unmarshal Uses

func (m *BuildTargetId) XXX_Unmarshal(b []byte) error

type BuildTarget_ArcBuildProperties Uses

type BuildTarget_ArcBuildProperties struct {
    // Device name to report in ‘ro.product.device’.
    // This is often ‘{product}_cheets’ but it can be something else if
    // desired.
    Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
    // The first Android API level that this build shipped with.
    FirstApiLevel        string   `protobuf:"bytes,2,opt,name=first_api_level,json=firstApiLevel,proto3" json:"first_api_level,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Build-specific ARC properties that are merged with device specific properties at runtime when ARC is initialized.

func (*BuildTarget_ArcBuildProperties) Descriptor Uses

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

func (*BuildTarget_ArcBuildProperties) GetDevice Uses

func (m *BuildTarget_ArcBuildProperties) GetDevice() string

func (*BuildTarget_ArcBuildProperties) GetFirstApiLevel Uses

func (m *BuildTarget_ArcBuildProperties) GetFirstApiLevel() string

func (*BuildTarget_ArcBuildProperties) ProtoMessage Uses

func (*BuildTarget_ArcBuildProperties) ProtoMessage()

func (*BuildTarget_ArcBuildProperties) Reset Uses

func (m *BuildTarget_ArcBuildProperties) Reset()

func (*BuildTarget_ArcBuildProperties) String Uses

func (m *BuildTarget_ArcBuildProperties) String() string

func (*BuildTarget_ArcBuildProperties) XXX_DiscardUnknown Uses

func (m *BuildTarget_ArcBuildProperties) XXX_DiscardUnknown()

func (*BuildTarget_ArcBuildProperties) XXX_Marshal Uses

func (m *BuildTarget_ArcBuildProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTarget_ArcBuildProperties) XXX_Merge Uses

func (m *BuildTarget_ArcBuildProperties) XXX_Merge(src proto.Message)

func (*BuildTarget_ArcBuildProperties) XXX_Size Uses

func (m *BuildTarget_ArcBuildProperties) XXX_Size() int

func (*BuildTarget_ArcBuildProperties) XXX_Unmarshal Uses

func (m *BuildTarget_ArcBuildProperties) XXX_Unmarshal(b []byte) error

type FirmwareBuildConfig Uses

type FirmwareBuildConfig struct {
    BuildTargets         *FirmwareBuildConfig_BuildTargets `protobuf:"bytes,1,opt,name=build_targets,json=buildTargets,proto3" json:"build_targets,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
    XXX_unrecognized     []byte                            `json:"-"`
    XXX_sizecache        int32                             `json:"-"`
}

Config for building firmware components. This is used in the following contexts:

- Firmware builders. - Local development when building from source (i.e. cros_workon start). - New projects that don't yet specify BCS payloads.

When building OS images, firmware payloads are usually pulled from BCS, as specified by the FirmwareConfig message.

func (*FirmwareBuildConfig) Descriptor Uses

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

func (*FirmwareBuildConfig) GetBuildTargets Uses

func (m *FirmwareBuildConfig) GetBuildTargets() *FirmwareBuildConfig_BuildTargets

func (*FirmwareBuildConfig) ProtoMessage Uses

func (*FirmwareBuildConfig) ProtoMessage()

func (*FirmwareBuildConfig) Reset Uses

func (m *FirmwareBuildConfig) Reset()

func (*FirmwareBuildConfig) String Uses

func (m *FirmwareBuildConfig) String() string

func (*FirmwareBuildConfig) XXX_DiscardUnknown Uses

func (m *FirmwareBuildConfig) XXX_DiscardUnknown()

func (*FirmwareBuildConfig) XXX_Marshal Uses

func (m *FirmwareBuildConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareBuildConfig) XXX_Merge Uses

func (m *FirmwareBuildConfig) XXX_Merge(src proto.Message)

func (*FirmwareBuildConfig) XXX_Size Uses

func (m *FirmwareBuildConfig) XXX_Size() int

func (*FirmwareBuildConfig) XXX_Unmarshal Uses

func (m *FirmwareBuildConfig) XXX_Unmarshal(b []byte) error

type FirmwareBuildConfig_BuildTargets Uses

type FirmwareBuildConfig_BuildTargets struct {
    // Build target for coreboot.
    Coreboot string `protobuf:"bytes,1,opt,name=coreboot,proto3" json:"coreboot,omitempty"`
    // Build target for depthcharge.
    Depthcharge string `protobuf:"bytes,2,opt,name=depthcharge,proto3" json:"depthcharge,omitempty"`
    // Build target for EC firmware.
    Ec  string `protobuf:"bytes,3,opt,name=ec,proto3" json:"ec,omitempty"`
    // Extra EC build targets to build/include in the EC firmware.
    EcExtras []string `protobuf:"bytes,4,rep,name=ec_extras,json=ecExtras,proto3" json:"ec_extras,omitempty"`
    // Build target for libpayload.
    Libpayload           string   `protobuf:"bytes,5,opt,name=libpayload,proto3" json:"libpayload,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Build targets for building firmware components.

func (*FirmwareBuildConfig_BuildTargets) Descriptor Uses

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

func (*FirmwareBuildConfig_BuildTargets) GetCoreboot Uses

func (m *FirmwareBuildConfig_BuildTargets) GetCoreboot() string

func (*FirmwareBuildConfig_BuildTargets) GetDepthcharge Uses

func (m *FirmwareBuildConfig_BuildTargets) GetDepthcharge() string

func (*FirmwareBuildConfig_BuildTargets) GetEc Uses

func (m *FirmwareBuildConfig_BuildTargets) GetEc() string

func (*FirmwareBuildConfig_BuildTargets) GetEcExtras Uses

func (m *FirmwareBuildConfig_BuildTargets) GetEcExtras() []string

func (*FirmwareBuildConfig_BuildTargets) GetLibpayload Uses

func (m *FirmwareBuildConfig_BuildTargets) GetLibpayload() string

func (*FirmwareBuildConfig_BuildTargets) ProtoMessage Uses

func (*FirmwareBuildConfig_BuildTargets) ProtoMessage()

func (*FirmwareBuildConfig_BuildTargets) Reset Uses

func (m *FirmwareBuildConfig_BuildTargets) Reset()

func (*FirmwareBuildConfig_BuildTargets) String Uses

func (m *FirmwareBuildConfig_BuildTargets) String() string

func (*FirmwareBuildConfig_BuildTargets) XXX_DiscardUnknown Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_DiscardUnknown()

func (*FirmwareBuildConfig_BuildTargets) XXX_Marshal Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareBuildConfig_BuildTargets) XXX_Merge Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_Merge(src proto.Message)

func (*FirmwareBuildConfig_BuildTargets) XXX_Size Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_Size() int

func (*FirmwareBuildConfig_BuildTargets) XXX_Unmarshal Uses

func (m *FirmwareBuildConfig_BuildTargets) XXX_Unmarshal(b []byte) error

type FirmwareConfig Uses

type FirmwareConfig struct {
    // The main read-only firmware.
    MainRoPayload *FirmwarePayload `protobuf:"bytes,1,opt,name=main_ro_payload,json=mainRoPayload,proto3" json:"main_ro_payload,omitempty"`
    // The main read-write firmware.
    MainRwPayload *FirmwarePayload `protobuf:"bytes,2,opt,name=main_rw_payload,json=mainRwPayload,proto3" json:"main_rw_payload,omitempty"`
    // The embedded controller read-only firmware.
    EcRoPayload *FirmwarePayload `protobuf:"bytes,3,opt,name=ec_ro_payload,json=ecRoPayload,proto3" json:"ec_ro_payload,omitempty"`
    // The libpayload read-only firmware
    PdRoPayload          *FirmwarePayload `protobuf:"bytes,5,opt,name=pd_ro_payload,json=pdRoPayload,proto3" json:"pd_ro_payload,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

Specifies different firmware payloads to use. This is used in the following contexts:

- OS images that specify BCS payloads. - In the factory to flash the RO firmware.

Building firmware is configured with the FirmwareBuildConfig message.

TODO(crbug.com/1071918): Rename to FirmwarePayloadConfig.

func (*FirmwareConfig) Descriptor Uses

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

func (*FirmwareConfig) GetEcRoPayload Uses

func (m *FirmwareConfig) GetEcRoPayload() *FirmwarePayload

func (*FirmwareConfig) GetMainRoPayload Uses

func (m *FirmwareConfig) GetMainRoPayload() *FirmwarePayload

func (*FirmwareConfig) GetMainRwPayload Uses

func (m *FirmwareConfig) GetMainRwPayload() *FirmwarePayload

func (*FirmwareConfig) GetPdRoPayload Uses

func (m *FirmwareConfig) GetPdRoPayload() *FirmwarePayload

func (*FirmwareConfig) ProtoMessage Uses

func (*FirmwareConfig) ProtoMessage()

func (*FirmwareConfig) Reset Uses

func (m *FirmwareConfig) Reset()

func (*FirmwareConfig) String Uses

func (m *FirmwareConfig) String() string

func (*FirmwareConfig) XXX_DiscardUnknown Uses

func (m *FirmwareConfig) XXX_DiscardUnknown()

func (*FirmwareConfig) XXX_Marshal Uses

func (m *FirmwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareConfig) XXX_Merge Uses

func (m *FirmwareConfig) XXX_Merge(src proto.Message)

func (*FirmwareConfig) XXX_Size Uses

func (m *FirmwareConfig) XXX_Size() int

func (*FirmwareConfig) XXX_Unmarshal Uses

func (m *FirmwareConfig) XXX_Unmarshal(b []byte) error

type FirmwarePayload Uses

type FirmwarePayload struct {
    // The name of the firmware image used by the firmware updater. Typically
    // the device name, but can differ when a device may have two or more
    // different firmware images.
    FirmwareImageName    string            `protobuf:"bytes,2,opt,name=firmware_image_name,json=firmwareImageName,proto3" json:"firmware_image_name,omitempty"`
    Type                 FirmwareType_Type `protobuf:"varint,3,opt,name=type,proto3,enum=chromiumos.config.api.software.FirmwareType_Type" json:"type,omitempty"`
    Version              *Version          `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Specifies the location of a firmware binary.

func (*FirmwarePayload) Descriptor Uses

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

func (*FirmwarePayload) GetFirmwareImageName Uses

func (m *FirmwarePayload) GetFirmwareImageName() string

func (*FirmwarePayload) GetType Uses

func (m *FirmwarePayload) GetType() FirmwareType_Type

func (*FirmwarePayload) GetVersion Uses

func (m *FirmwarePayload) GetVersion() *Version

func (*FirmwarePayload) ProtoMessage Uses

func (*FirmwarePayload) ProtoMessage()

func (*FirmwarePayload) Reset Uses

func (m *FirmwarePayload) Reset()

func (*FirmwarePayload) String Uses

func (m *FirmwarePayload) String() string

func (*FirmwarePayload) XXX_DiscardUnknown Uses

func (m *FirmwarePayload) XXX_DiscardUnknown()

func (*FirmwarePayload) XXX_Marshal Uses

func (m *FirmwarePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwarePayload) XXX_Merge Uses

func (m *FirmwarePayload) XXX_Merge(src proto.Message)

func (*FirmwarePayload) XXX_Size Uses

func (m *FirmwarePayload) XXX_Size() int

func (*FirmwarePayload) XXX_Unmarshal Uses

func (m *FirmwarePayload) XXX_Unmarshal(b []byte) error

type FirmwareType Uses

type FirmwareType struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The type of a firmware binary.

func (*FirmwareType) Descriptor Uses

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

func (*FirmwareType) ProtoMessage Uses

func (*FirmwareType) ProtoMessage()

func (*FirmwareType) Reset Uses

func (m *FirmwareType) Reset()

func (*FirmwareType) String Uses

func (m *FirmwareType) String() string

func (*FirmwareType) XXX_DiscardUnknown Uses

func (m *FirmwareType) XXX_DiscardUnknown()

func (*FirmwareType) XXX_Marshal Uses

func (m *FirmwareType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareType) XXX_Merge Uses

func (m *FirmwareType) XXX_Merge(src proto.Message)

func (*FirmwareType) XXX_Size Uses

func (m *FirmwareType) XXX_Size() int

func (*FirmwareType) XXX_Unmarshal Uses

func (m *FirmwareType) XXX_Unmarshal(b []byte) error

type FirmwareType_Type Uses

type FirmwareType_Type int32
const (
    FirmwareType_UNKNOWN FirmwareType_Type = 0
    FirmwareType_MAIN    FirmwareType_Type = 1
    FirmwareType_EC      FirmwareType_Type = 2
    FirmwareType_PD      FirmwareType_Type = 3
)

func (FirmwareType_Type) EnumDescriptor Uses

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

func (FirmwareType_Type) String Uses

func (x FirmwareType_Type) String() string

type PowerConfig Uses

type PowerConfig struct {
    // Key/values that define all of the power management preferences.
    Preferences          map[string]string `protobuf:"bytes,1,rep,name=preferences,proto3" json:"preferences,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Defines configuration settings for power management. For more details, see: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/master:src/platform2/chromeos-config/README.md

func (*PowerConfig) Descriptor Uses

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

func (*PowerConfig) GetPreferences Uses

func (m *PowerConfig) GetPreferences() map[string]string

func (*PowerConfig) ProtoMessage Uses

func (*PowerConfig) ProtoMessage()

func (*PowerConfig) Reset Uses

func (m *PowerConfig) Reset()

func (*PowerConfig) String Uses

func (m *PowerConfig) String() string

func (*PowerConfig) XXX_DiscardUnknown Uses

func (m *PowerConfig) XXX_DiscardUnknown()

func (*PowerConfig) XXX_Marshal Uses

func (m *PowerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PowerConfig) XXX_Merge Uses

func (m *PowerConfig) XXX_Merge(src proto.Message)

func (*PowerConfig) XXX_Size Uses

func (m *PowerConfig) XXX_Size() int

func (*PowerConfig) XXX_Unmarshal Uses

func (m *PowerConfig) XXX_Unmarshal(b []byte) error

type SoftwareConfig Uses

type SoftwareConfig struct {
    // Defines the hardware design config this software config supports.
    DesignConfigId       *api.DesignConfigId                                `protobuf:"bytes,7,opt,name=design_config_id,json=designConfigId,proto3" json:"design_config_id,omitempty"`
    IdScanConfig         *chromeos_config.IdentityScanConfig_DesignConfigId `protobuf:"bytes,8,opt,name=id_scan_config,json=idScanConfig,proto3" json:"id_scan_config,omitempty"`
    Firmware             *FirmwareConfig                                    `protobuf:"bytes,3,opt,name=firmware,proto3" json:"firmware,omitempty"`
    FirmwareBuildConfig  *FirmwareBuildConfig                               `protobuf:"bytes,9,opt,name=firmware_build_config,json=firmwareBuildConfig,proto3" json:"firmware_build_config,omitempty"`
    BluetoothConfig      *BluetoothConfig                                   `protobuf:"bytes,4,opt,name=bluetooth_config,json=bluetoothConfig,proto3" json:"bluetooth_config,omitempty"`
    PowerConfig          *PowerConfig                                       `protobuf:"bytes,5,opt,name=power_config,json=powerConfig,proto3" json:"power_config,omitempty"`
    AudioConfig          *AudioConfig                                       `protobuf:"bytes,6,opt,name=audio_config,json=audioConfig,proto3" json:"audio_config,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                           `json:"-"`
    XXX_unrecognized     []byte                                             `json:"-"`
    XXX_sizecache        int32                                              `json:"-"`
}

Contains all of the hardware-design-specific configuration that can be updated via new software builds/releases.

During manufacturing, the SoftwareConfigId will be set for a given device, which will subsequently determine what SoftwareConfig shall be selected from the current software-build installed on the device.

SoftwareConfig payloads can be shared across different hardware-design-configs, if the software payloads are the same.

func (*SoftwareConfig) Descriptor Uses

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

func (*SoftwareConfig) GetAudioConfig Uses

func (m *SoftwareConfig) GetAudioConfig() *AudioConfig

func (*SoftwareConfig) GetBluetoothConfig Uses

func (m *SoftwareConfig) GetBluetoothConfig() *BluetoothConfig

func (*SoftwareConfig) GetDesignConfigId Uses

func (m *SoftwareConfig) GetDesignConfigId() *api.DesignConfigId

func (*SoftwareConfig) GetFirmware Uses

func (m *SoftwareConfig) GetFirmware() *FirmwareConfig

func (*SoftwareConfig) GetFirmwareBuildConfig Uses

func (m *SoftwareConfig) GetFirmwareBuildConfig() *FirmwareBuildConfig

func (*SoftwareConfig) GetIdScanConfig Uses

func (m *SoftwareConfig) GetIdScanConfig() *chromeos_config.IdentityScanConfig_DesignConfigId

func (*SoftwareConfig) GetPowerConfig Uses

func (m *SoftwareConfig) GetPowerConfig() *PowerConfig

func (*SoftwareConfig) ProtoMessage Uses

func (*SoftwareConfig) ProtoMessage()

func (*SoftwareConfig) Reset Uses

func (m *SoftwareConfig) Reset()

func (*SoftwareConfig) String Uses

func (m *SoftwareConfig) String() string

func (*SoftwareConfig) XXX_DiscardUnknown Uses

func (m *SoftwareConfig) XXX_DiscardUnknown()

func (*SoftwareConfig) XXX_Marshal Uses

func (m *SoftwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SoftwareConfig) XXX_Merge Uses

func (m *SoftwareConfig) XXX_Merge(src proto.Message)

func (*SoftwareConfig) XXX_Size Uses

func (m *SoftwareConfig) XXX_Size() int

func (*SoftwareConfig) XXX_Unmarshal Uses

func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error

type SoftwareConfigList Uses

type SoftwareConfigList struct {
    Value                []*SoftwareConfig `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*SoftwareConfigList) Descriptor Uses

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

func (*SoftwareConfigList) GetValue Uses

func (m *SoftwareConfigList) GetValue() []*SoftwareConfig

func (*SoftwareConfigList) ProtoMessage Uses

func (*SoftwareConfigList) ProtoMessage()

func (*SoftwareConfigList) Reset Uses

func (m *SoftwareConfigList) Reset()

func (*SoftwareConfigList) String Uses

func (m *SoftwareConfigList) String() string

func (*SoftwareConfigList) XXX_DiscardUnknown Uses

func (m *SoftwareConfigList) XXX_DiscardUnknown()

func (*SoftwareConfigList) XXX_Marshal Uses

func (m *SoftwareConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SoftwareConfigList) XXX_Merge Uses

func (m *SoftwareConfigList) XXX_Merge(src proto.Message)

func (*SoftwareConfigList) XXX_Size Uses

func (m *SoftwareConfigList) XXX_Size() int

func (*SoftwareConfigList) XXX_Unmarshal Uses

func (m *SoftwareConfigList) XXX_Unmarshal(b []byte) error

type Version Uses

type Version struct {
    Major                int32    `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
    Minor                int32    `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Specifies the version of a firmware binary.

func (*Version) Descriptor Uses

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

func (*Version) GetMajor Uses

func (m *Version) GetMajor() int32

func (*Version) GetMinor Uses

func (m *Version) GetMinor() int32

func (*Version) ProtoMessage Uses

func (*Version) ProtoMessage()

func (*Version) Reset Uses

func (m *Version) Reset()

func (*Version) String Uses

func (m *Version) String() string

func (*Version) XXX_DiscardUnknown Uses

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal Uses

func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Version) XXX_Merge Uses

func (m *Version) XXX_Merge(src proto.Message)

func (*Version) XXX_Size Uses

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal Uses

func (m *Version) XXX_Unmarshal(b []byte) error

Directories

PathSynopsis
bluetooth
chromeos_config

Package software imports 5 packages (graph) and is imported by 1 packages. Updated 2020-07-04. Refresh now. Tools for package owners.