software

package
v0.0.0-...-b8a1838 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UiConfig_Requisition_name = map[int32]string{
		0: "REQUISITION_UNSPECIFIED",
		1: "REQUISITION_CHROMEOS",
		2: "REQUISITION_MEETHW",
	}
	UiConfig_Requisition_value = map[string]int32{
		"REQUISITION_UNSPECIFIED": 0,
		"REQUISITION_CHROMEOS":    1,
		"REQUISITION_MEETHW":      2,
	}
)

Enum value maps for UiConfig_Requisition.

View Source
var File_chromiumos_config_api_software_audio_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_bluetooth_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_brand_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_camera_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_firmware_info_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_health_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_nnpalm_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_power_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_rma_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_software_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_ui_config_proto protoreflect.FileDescriptor
View Source
var File_chromiumos_config_api_software_usb_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AudioConfig

type AudioConfig struct {

	// Configures fields of AudioConfig that are made public.
	PublicReplication *public_replication.PublicReplication `protobuf:"bytes,9,opt,name=public_replication,json=publicReplication,proto3" json:"public_replication,omitempty"`
	// 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/+/HEAD/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"`
	// Path to the sound_card_init config (e.g. <card_id>.yaml).
	SoundCardInitFile string `protobuf:"bytes,10,opt,name=sound_card_init_file,json=soundCardInitFile,proto3" json:"sound_card_init_file,omitempty"`
	// The short name of sound card.
	CardId string `protobuf:"bytes,11,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	// The custom project name of cras path
	CrasCustomName string `protobuf:"bytes,12,opt,name=cras_custom_name,json=crasCustomName,proto3" json:"cras_custom_name,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use AudioConfig.ProtoReflect.Descriptor instead.

func (*AudioConfig) GetBoardFile

func (x *AudioConfig) GetBoardFile() string

func (*AudioConfig) GetCardConfigFile

func (x *AudioConfig) GetCardConfigFile() string

func (*AudioConfig) GetCardId

func (x *AudioConfig) GetCardId() string

func (*AudioConfig) GetCardName

func (x *AudioConfig) GetCardName() string

func (*AudioConfig) GetCrasCustomName

func (x *AudioConfig) GetCrasCustomName() string

func (*AudioConfig) GetDspFile

func (x *AudioConfig) GetDspFile() string

func (*AudioConfig) GetModuleFile

func (x *AudioConfig) GetModuleFile() string

func (*AudioConfig) GetPublicReplication

func (x *AudioConfig) GetPublicReplication() *public_replication.PublicReplication

func (*AudioConfig) GetSoundCardInitFile

func (x *AudioConfig) GetSoundCardInitFile() string

func (*AudioConfig) GetUcmFile

func (x *AudioConfig) GetUcmFile() string

func (*AudioConfig) GetUcmMasterFile

func (x *AudioConfig) GetUcmMasterFile() string

func (*AudioConfig) GetUcmSuffix

func (x *AudioConfig) GetUcmSuffix() string

func (*AudioConfig) ProtoMessage

func (*AudioConfig) ProtoMessage()

func (*AudioConfig) ProtoReflect

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

func (*AudioConfig) Reset

func (x *AudioConfig) Reset()

func (*AudioConfig) String

func (x *AudioConfig) String() string

type BluetoothConfig

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/+/HEAD/chromeos-config/#flags
	Flags map[string]bool `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BluetoothConfig) Descriptor deprecated

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

Deprecated: Use BluetoothConfig.ProtoReflect.Descriptor instead.

func (*BluetoothConfig) GetFlags

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

func (*BluetoothConfig) ProtoMessage

func (*BluetoothConfig) ProtoMessage()

func (*BluetoothConfig) ProtoReflect

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

func (*BluetoothConfig) Reset

func (x *BluetoothConfig) Reset()

func (*BluetoothConfig) String

func (x *BluetoothConfig) String() string

type BrandConfig

type BrandConfig struct {
	BrandId    *api.DeviceBrandId            `protobuf:"bytes,1,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"`
	ScanConfig *api.DeviceBrandId_ScanConfig `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"`
	// See chromeos-config/README.md for details
	RegulatoryLabel   string `protobuf:"bytes,4,opt,name=regulatory_label,json=regulatoryLabel,proto3" json:"regulatory_label,omitempty"`
	HelpContentId     string `protobuf:"bytes,5,opt,name=help_content_id,json=helpContentId,proto3" json:"help_content_id,omitempty"`
	CloudGamingDevice bool   `protobuf:"varint,6,opt,name=cloud_gaming_device,json=cloudGamingDevice,proto3" json:"cloud_gaming_device,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use BrandConfig.ProtoReflect.Descriptor instead.

func (*BrandConfig) GetBrandId

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

func (*BrandConfig) GetCloudGamingDevice

func (x *BrandConfig) GetCloudGamingDevice() bool

func (*BrandConfig) GetHelpContentId

func (x *BrandConfig) GetHelpContentId() string

func (*BrandConfig) GetRegulatoryLabel

func (x *BrandConfig) GetRegulatoryLabel() string

func (*BrandConfig) GetScanConfig

func (x *BrandConfig) GetScanConfig() *api.DeviceBrandId_ScanConfig

func (*BrandConfig) GetWallpaper

func (x *BrandConfig) GetWallpaper() string

func (*BrandConfig) ProtoMessage

func (*BrandConfig) ProtoMessage()

func (*BrandConfig) ProtoReflect

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

func (*BrandConfig) Reset

func (x *BrandConfig) Reset()

func (*BrandConfig) String

func (x *BrandConfig) String() string

type CameraConfig

type CameraConfig struct {

	// If true, the ARC media_profiles.xml will be generated from Boxster and
	// override the one installed by overlays.
	GenerateMediaProfiles bool `` /* 127-byte string literal not displayed */
	// If non-empty, the resolutions are used for CamcorderProfiles in
	// media_profiles.xml instead of deriving from scripts.
	CamcorderResolutions []*Resolution `protobuf:"bytes,2,rep,name=camcorder_resolutions,json=camcorderResolutions,proto3" json:"camcorder_resolutions,omitempty"`
	// If true, the device assumes there's an external camera connected, and ARC
	// hardware_features.xml should declare external camera feature.
	HasExternalCamera bool `protobuf:"varint,3,opt,name=has_external_camera,json=hasExternalCamera,proto3" json:"has_external_camera,omitempty"`
	// contains filtered or unexported fields
}

func (*CameraConfig) Descriptor deprecated

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

Deprecated: Use CameraConfig.ProtoReflect.Descriptor instead.

func (*CameraConfig) GetCamcorderResolutions

func (x *CameraConfig) GetCamcorderResolutions() []*Resolution

func (*CameraConfig) GetGenerateMediaProfiles

func (x *CameraConfig) GetGenerateMediaProfiles() bool

func (*CameraConfig) GetHasExternalCamera

func (x *CameraConfig) GetHasExternalCamera() bool

func (*CameraConfig) ProtoMessage

func (*CameraConfig) ProtoMessage()

func (*CameraConfig) ProtoReflect

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

func (*CameraConfig) Reset

func (x *CameraConfig) Reset()

func (*CameraConfig) String

func (x *CameraConfig) String() string

type FirmwareInfo

type FirmwareInfo struct {

	// Altfw is functional on the DUT.
	HasAltFirmware bool `protobuf:"varint,1,opt,name=has_alt_firmware,json=hasAltFirmware,proto3" json:"has_alt_firmware,omitempty"`
	// Firmware is setting up the initial splash screen.
	HasSplashScreen bool `protobuf:"varint,2,opt,name=has_splash_screen,json=hasSplashScreen,proto3" json:"has_splash_screen,omitempty"`
	// contains filtered or unexported fields
}

Firmware information for the device For more details, see: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/HEAD:src/platform2/chromeos-config/README.md

func (*FirmwareInfo) Descriptor deprecated

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

Deprecated: Use FirmwareInfo.ProtoReflect.Descriptor instead.

func (*FirmwareInfo) GetHasAltFirmware

func (x *FirmwareInfo) GetHasAltFirmware() bool

func (*FirmwareInfo) GetHasSplashScreen

func (x *FirmwareInfo) GetHasSplashScreen() bool

func (*FirmwareInfo) ProtoMessage

func (*FirmwareInfo) ProtoMessage()

func (*FirmwareInfo) ProtoReflect

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

func (*FirmwareInfo) Reset

func (x *FirmwareInfo) Reset()

func (*FirmwareInfo) String

func (x *FirmwareInfo) String() string

type HealthConfig

type HealthConfig struct {
	Battery   *HealthConfig_Battery   `protobuf:"bytes,1,opt,name=battery,proto3" json:"battery,omitempty"`
	CachedVpd *HealthConfig_CachedVpd `protobuf:"bytes,2,opt,name=cached_vpd,json=cachedVpd,proto3" json:"cached_vpd,omitempty"`
	Routines  *HealthConfig_Routines  `protobuf:"bytes,3,opt,name=routines,proto3" json:"routines,omitempty"`
	// contains filtered or unexported fields
}

The configuration of diagnostic and telemetry handled by cros_healthd. For more details, see: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/HEAD:src/platform2/chromeos-config/README.md

func (*HealthConfig) Descriptor deprecated

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

Deprecated: Use HealthConfig.ProtoReflect.Descriptor instead.

func (*HealthConfig) GetBattery

func (x *HealthConfig) GetBattery() *HealthConfig_Battery

func (*HealthConfig) GetCachedVpd

func (x *HealthConfig) GetCachedVpd() *HealthConfig_CachedVpd

func (*HealthConfig) GetRoutines

func (x *HealthConfig) GetRoutines() *HealthConfig_Routines

func (*HealthConfig) ProtoMessage

func (*HealthConfig) ProtoMessage()

func (*HealthConfig) ProtoReflect

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

func (*HealthConfig) Reset

func (x *HealthConfig) Reset()

func (*HealthConfig) String

func (x *HealthConfig) String() string

type HealthConfig_Battery

type HealthConfig_Battery struct {
	HasSmartBatteryInfo bool `protobuf:"varint,1,opt,name=has_smart_battery_info,json=hasSmartBatteryInfo,proto3" json:"has_smart_battery_info,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthConfig_Battery) Descriptor deprecated

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

Deprecated: Use HealthConfig_Battery.ProtoReflect.Descriptor instead.

func (*HealthConfig_Battery) GetHasSmartBatteryInfo

func (x *HealthConfig_Battery) GetHasSmartBatteryInfo() bool

func (*HealthConfig_Battery) ProtoMessage

func (*HealthConfig_Battery) ProtoMessage()

func (*HealthConfig_Battery) ProtoReflect

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

func (*HealthConfig_Battery) Reset

func (x *HealthConfig_Battery) Reset()

func (*HealthConfig_Battery) String

func (x *HealthConfig_Battery) String() string

type HealthConfig_BatteryHealth

type HealthConfig_BatteryHealth struct {
	PercentBatteryWearAllowed uint32 `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HealthConfig_BatteryHealth) Descriptor deprecated

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

Deprecated: Use HealthConfig_BatteryHealth.ProtoReflect.Descriptor instead.

func (*HealthConfig_BatteryHealth) GetPercentBatteryWearAllowed

func (x *HealthConfig_BatteryHealth) GetPercentBatteryWearAllowed() uint32

func (*HealthConfig_BatteryHealth) ProtoMessage

func (*HealthConfig_BatteryHealth) ProtoMessage()

func (*HealthConfig_BatteryHealth) ProtoReflect

func (*HealthConfig_BatteryHealth) Reset

func (x *HealthConfig_BatteryHealth) Reset()

func (*HealthConfig_BatteryHealth) String

func (x *HealthConfig_BatteryHealth) String() string

type HealthConfig_CachedVpd

type HealthConfig_CachedVpd struct {
	HasSkuNumber bool `protobuf:"varint,1,opt,name=has_sku_number,json=hasSkuNumber,proto3" json:"has_sku_number,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthConfig_CachedVpd) Descriptor deprecated

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

Deprecated: Use HealthConfig_CachedVpd.ProtoReflect.Descriptor instead.

func (*HealthConfig_CachedVpd) GetHasSkuNumber

func (x *HealthConfig_CachedVpd) GetHasSkuNumber() bool

func (*HealthConfig_CachedVpd) ProtoMessage

func (*HealthConfig_CachedVpd) ProtoMessage()

func (*HealthConfig_CachedVpd) ProtoReflect

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

func (*HealthConfig_CachedVpd) Reset

func (x *HealthConfig_CachedVpd) Reset()

func (*HealthConfig_CachedVpd) String

func (x *HealthConfig_CachedVpd) String() string

type HealthConfig_NvmeWearLevel

type HealthConfig_NvmeWearLevel struct {
	WearLevelThreshold uint32 `protobuf:"varint,1,opt,name=wear_level_threshold,json=wearLevelThreshold,proto3" json:"wear_level_threshold,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthConfig_NvmeWearLevel) Descriptor deprecated

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

Deprecated: Use HealthConfig_NvmeWearLevel.ProtoReflect.Descriptor instead.

func (*HealthConfig_NvmeWearLevel) GetWearLevelThreshold

func (x *HealthConfig_NvmeWearLevel) GetWearLevelThreshold() uint32

func (*HealthConfig_NvmeWearLevel) ProtoMessage

func (*HealthConfig_NvmeWearLevel) ProtoMessage()

func (*HealthConfig_NvmeWearLevel) ProtoReflect

func (*HealthConfig_NvmeWearLevel) Reset

func (x *HealthConfig_NvmeWearLevel) Reset()

func (*HealthConfig_NvmeWearLevel) String

func (x *HealthConfig_NvmeWearLevel) String() string

type HealthConfig_Routines

type HealthConfig_Routines struct {
	BatteryHealth *HealthConfig_BatteryHealth `protobuf:"bytes,1,opt,name=battery_health,json=batteryHealth,proto3" json:"battery_health,omitempty"`
	NvmeWearLevel *HealthConfig_NvmeWearLevel `protobuf:"bytes,2,opt,name=nvme_wear_level,json=nvmeWearLevel,proto3" json:"nvme_wear_level,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthConfig_Routines) Descriptor deprecated

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

Deprecated: Use HealthConfig_Routines.ProtoReflect.Descriptor instead.

func (*HealthConfig_Routines) GetBatteryHealth

func (x *HealthConfig_Routines) GetBatteryHealth() *HealthConfig_BatteryHealth

func (*HealthConfig_Routines) GetNvmeWearLevel

func (x *HealthConfig_Routines) GetNvmeWearLevel() *HealthConfig_NvmeWearLevel

func (*HealthConfig_Routines) ProtoMessage

func (*HealthConfig_Routines) ProtoMessage()

func (*HealthConfig_Routines) ProtoReflect

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

func (*HealthConfig_Routines) Reset

func (x *HealthConfig_Routines) Reset()

func (*HealthConfig_Routines) String

func (x *HealthConfig_Routines) String() string

type NnpalmConfig

type NnpalmConfig struct {
	Model            string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	RadiusPolynomial string `protobuf:"bytes,2,opt,name=radius_polynomial,json=radiusPolynomial,proto3" json:"radius_polynomial,omitempty"`
	TouchCompatible  bool   `protobuf:"varint,3,opt,name=touch_compatible,json=touchCompatible,proto3" json:"touch_compatible,omitempty"`
	// contains filtered or unexported fields
}

The configuration of neural network palm rejection. For more details, see: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/HEAD:src/platform2/chromeos-config/README.md

func (*NnpalmConfig) Descriptor deprecated

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

Deprecated: Use NnpalmConfig.ProtoReflect.Descriptor instead.

func (*NnpalmConfig) GetModel

func (x *NnpalmConfig) GetModel() string

func (*NnpalmConfig) GetRadiusPolynomial

func (x *NnpalmConfig) GetRadiusPolynomial() string

func (*NnpalmConfig) GetTouchCompatible

func (x *NnpalmConfig) GetTouchCompatible() bool

func (*NnpalmConfig) ProtoMessage

func (*NnpalmConfig) ProtoMessage()

func (*NnpalmConfig) ProtoReflect

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

func (*NnpalmConfig) Reset

func (x *NnpalmConfig) Reset()

func (*NnpalmConfig) String

func (x *NnpalmConfig) String() string

type PowerConfig

type PowerConfig struct {

	// Key/values that define all of the power management preferences.
	Preferences map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*PowerConfig) Descriptor deprecated

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

Deprecated: Use PowerConfig.ProtoReflect.Descriptor instead.

func (*PowerConfig) GetPreferences

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

func (*PowerConfig) ProtoMessage

func (*PowerConfig) ProtoMessage()

func (*PowerConfig) ProtoReflect

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

func (*PowerConfig) Reset

func (x *PowerConfig) Reset()

func (*PowerConfig) String

func (x *PowerConfig) String() string

type Resolution

type Resolution struct {
	Width  uint32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
	Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*Resolution) Descriptor deprecated

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

Deprecated: Use Resolution.ProtoReflect.Descriptor instead.

func (*Resolution) GetHeight

func (x *Resolution) GetHeight() uint32

func (*Resolution) GetWidth

func (x *Resolution) GetWidth() uint32

func (*Resolution) ProtoMessage

func (*Resolution) ProtoMessage()

func (*Resolution) ProtoReflect

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

func (*Resolution) Reset

func (x *Resolution) Reset()

func (*Resolution) String

func (x *Resolution) String() string

type RmaConfig

type RmaConfig struct {
	Enabled              bool                  `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	HasCbi               bool                  `protobuf:"varint,2,opt,name=has_cbi,json=hasCbi,proto3" json:"has_cbi,omitempty"`
	SsfcConfig           *RmaConfig_SsfcConfig `protobuf:"bytes,3,opt,name=ssfc_config,json=ssfcConfig,proto3" json:"ssfc_config,omitempty"`
	UseLegacyCustomLabel bool                  `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines configuration of Shimless RMA (rmad). For more details, see: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/HEAD:src/platform2/chromeos-config/README.md

func (*RmaConfig) Descriptor deprecated

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

Deprecated: Use RmaConfig.ProtoReflect.Descriptor instead.

func (*RmaConfig) GetEnabled

func (x *RmaConfig) GetEnabled() bool

func (*RmaConfig) GetHasCbi

func (x *RmaConfig) GetHasCbi() bool

func (*RmaConfig) GetSsfcConfig

func (x *RmaConfig) GetSsfcConfig() *RmaConfig_SsfcConfig

func (*RmaConfig) GetUseLegacyCustomLabel

func (x *RmaConfig) GetUseLegacyCustomLabel() bool

func (*RmaConfig) ProtoMessage

func (*RmaConfig) ProtoMessage()

func (*RmaConfig) ProtoReflect

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

func (*RmaConfig) Reset

func (x *RmaConfig) Reset()

func (*RmaConfig) String

func (x *RmaConfig) String() string

type RmaConfig_SsfcConfig

type RmaConfig_SsfcConfig struct {
	Mask                 uint32                                          `protobuf:"varint,1,opt,name=mask,proto3" json:"mask,omitempty"`
	ComponentTypeConfigs []*RmaConfig_SsfcConfig_SsfcComponentTypeConfig `protobuf:"bytes,2,rep,name=component_type_configs,json=componentTypeConfigs,proto3" json:"component_type_configs,omitempty"`
	// contains filtered or unexported fields
}

func (*RmaConfig_SsfcConfig) Descriptor deprecated

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

Deprecated: Use RmaConfig_SsfcConfig.ProtoReflect.Descriptor instead.

func (*RmaConfig_SsfcConfig) GetComponentTypeConfigs

func (*RmaConfig_SsfcConfig) GetMask

func (x *RmaConfig_SsfcConfig) GetMask() uint32

func (*RmaConfig_SsfcConfig) ProtoMessage

func (*RmaConfig_SsfcConfig) ProtoMessage()

func (*RmaConfig_SsfcConfig) ProtoReflect

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

func (*RmaConfig_SsfcConfig) Reset

func (x *RmaConfig_SsfcConfig) Reset()

func (*RmaConfig_SsfcConfig) String

func (x *RmaConfig_SsfcConfig) String() string

type RmaConfig_SsfcConfig_SsfcComponentTypeConfig

type RmaConfig_SsfcConfig_SsfcComponentTypeConfig struct {
	ComponentType       string                                                                 `protobuf:"bytes,1,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"`
	DefaultValue        uint32                                                                 `protobuf:"varint,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	ProbeableComponents []*RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent `protobuf:"bytes,3,rep,name=probeable_components,json=probeableComponents,proto3" json:"probeable_components,omitempty"`
	// contains filtered or unexported fields
}

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig) Descriptor deprecated

Deprecated: Use RmaConfig_SsfcConfig_SsfcComponentTypeConfig.ProtoReflect.Descriptor instead.

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig) GetComponentType

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig) GetDefaultValue

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig) GetProbeableComponents

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig) ProtoMessage

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig) ProtoReflect

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig) Reset

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig) String

type RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent

type RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent struct {
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Value      uint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent) Descriptor deprecated

Deprecated: Use RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent.ProtoReflect.Descriptor instead.

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent) GetIdentifier

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent) GetValue

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent) ProtoMessage

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent) ProtoReflect

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent) Reset

func (*RmaConfig_SsfcConfig_SsfcComponentTypeConfig_SsfcProbeableComponent) String

type SoftwareConfig

type SoftwareConfig struct {

	// Configures fields of AudioConfig that are made public.
	PublicReplication *public_replication.PublicReplication `protobuf:"bytes,12,opt,name=public_replication,json=publicReplication,proto3" json:"public_replication,omitempty"`
	// 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"`
	// Scanning config used to determine the DesignConfigId
	IdScanConfig *api.DesignConfigId_ScanConfig `protobuf:"bytes,8,opt,name=id_scan_config,json=idScanConfig,proto3" json:"id_scan_config,omitempty"`
	// Defines firmware version pinning details (for non-development workflows).
	Firmware *api1.FirmwareConfig `protobuf:"bytes,3,opt,name=firmware,proto3" json:"firmware,omitempty"`
	// TODO(shapiroc): Remove once configs are migrated to firmware_build_targets
	// This establishes consistent naming so the difference between build targets,
	// build version pinning, and build metadata is clear (versus Config catch
	// all naming).
	FirmwareBuildConfig  *api1.FirmwareBuildConfig     `protobuf:"bytes,9,opt,name=firmware_build_config,json=firmwareBuildConfig,proto3" json:"firmware_build_config,omitempty"`
	FirmwareBuildTargets *api1.Firmware_BuildTargets   `protobuf:"bytes,16,opt,name=firmware_build_targets,json=firmwareBuildTargets,proto3" json:"firmware_build_targets,omitempty"`
	SystemBuildTarget    *api1.SystemImage_BuildTarget `protobuf:"bytes,13,opt,name=system_build_target,json=systemBuildTarget,proto3" json:"system_build_target,omitempty"`
	FactoryBuildTarget   *api1.Factory_BuildTarget     `protobuf:"bytes,14,opt,name=factory_build_target,json=factoryBuildTarget,proto3" json:"factory_build_target,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"`
	ResourceConfig       *api.ResourceConfig           `protobuf:"bytes,19,opt,name=resource_config,json=resourceConfig,proto3" json:"resource_config,omitempty"`
	AudioConfigs         []*AudioConfig                `protobuf:"bytes,10,rep,name=audio_configs,json=audioConfigs,proto3" json:"audio_configs,omitempty"`
	WifiConfig           *api.WifiConfig               `protobuf:"bytes,11,opt,name=wifi_config,json=wifiConfig,proto3" json:"wifi_config,omitempty"`
	HealthConfig         *HealthConfig                 `protobuf:"bytes,18,opt,name=health_config,json=healthConfig,proto3" json:"health_config,omitempty"`
	CameraConfig         *CameraConfig                 `protobuf:"bytes,15,opt,name=camera_config,json=cameraConfig,proto3" json:"camera_config,omitempty"`
	UiConfig             *UiConfig                     `protobuf:"bytes,17,opt,name=ui_config,json=uiConfig,proto3" json:"ui_config,omitempty"`
	UsbConfig            *UsbConfig                    `protobuf:"bytes,20,opt,name=usb_config,json=usbConfig,proto3" json:"usb_config,omitempty"`
	NnpalmConfig         *NnpalmConfig                 `protobuf:"bytes,21,opt,name=nnpalm_config,json=nnpalmConfig,proto3" json:"nnpalm_config,omitempty"`
	RmaConfig            *RmaConfig                    `protobuf:"bytes,22,opt,name=rma_config,json=rmaConfig,proto3" json:"rma_config,omitempty"`
	FirmwareInfo         *FirmwareInfo                 `protobuf:"bytes,23,opt,name=firmware_info,json=firmwareInfo,proto3" json:"firmware_info,omitempty"`
	// contains filtered or unexported fields
}

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.

NEXT ID: 24

func (*SoftwareConfig) Descriptor deprecated

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

Deprecated: Use SoftwareConfig.ProtoReflect.Descriptor instead.

func (*SoftwareConfig) GetAudioConfigs

func (x *SoftwareConfig) GetAudioConfigs() []*AudioConfig

func (*SoftwareConfig) GetBluetoothConfig

func (x *SoftwareConfig) GetBluetoothConfig() *BluetoothConfig

func (*SoftwareConfig) GetCameraConfig

func (x *SoftwareConfig) GetCameraConfig() *CameraConfig

func (*SoftwareConfig) GetDesignConfigId

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

func (*SoftwareConfig) GetFactoryBuildTarget

func (x *SoftwareConfig) GetFactoryBuildTarget() *api1.Factory_BuildTarget

func (*SoftwareConfig) GetFirmware

func (x *SoftwareConfig) GetFirmware() *api1.FirmwareConfig

func (*SoftwareConfig) GetFirmwareBuildConfig

func (x *SoftwareConfig) GetFirmwareBuildConfig() *api1.FirmwareBuildConfig

func (*SoftwareConfig) GetFirmwareBuildTargets

func (x *SoftwareConfig) GetFirmwareBuildTargets() *api1.Firmware_BuildTargets

func (*SoftwareConfig) GetFirmwareInfo

func (x *SoftwareConfig) GetFirmwareInfo() *FirmwareInfo

func (*SoftwareConfig) GetHealthConfig

func (x *SoftwareConfig) GetHealthConfig() *HealthConfig

func (*SoftwareConfig) GetIdScanConfig

func (x *SoftwareConfig) GetIdScanConfig() *api.DesignConfigId_ScanConfig

func (*SoftwareConfig) GetNnpalmConfig

func (x *SoftwareConfig) GetNnpalmConfig() *NnpalmConfig

func (*SoftwareConfig) GetPowerConfig

func (x *SoftwareConfig) GetPowerConfig() *PowerConfig

func (*SoftwareConfig) GetPublicReplication

func (x *SoftwareConfig) GetPublicReplication() *public_replication.PublicReplication

func (*SoftwareConfig) GetResourceConfig

func (x *SoftwareConfig) GetResourceConfig() *api.ResourceConfig

func (*SoftwareConfig) GetRmaConfig

func (x *SoftwareConfig) GetRmaConfig() *RmaConfig

func (*SoftwareConfig) GetSystemBuildTarget

func (x *SoftwareConfig) GetSystemBuildTarget() *api1.SystemImage_BuildTarget

func (*SoftwareConfig) GetUiConfig

func (x *SoftwareConfig) GetUiConfig() *UiConfig

func (*SoftwareConfig) GetUsbConfig

func (x *SoftwareConfig) GetUsbConfig() *UsbConfig

func (*SoftwareConfig) GetWifiConfig

func (x *SoftwareConfig) GetWifiConfig() *api.WifiConfig

func (*SoftwareConfig) ProtoMessage

func (*SoftwareConfig) ProtoMessage()

func (*SoftwareConfig) ProtoReflect

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

func (*SoftwareConfig) Reset

func (x *SoftwareConfig) Reset()

func (*SoftwareConfig) String

func (x *SoftwareConfig) String() string

type UiConfig

type UiConfig struct {

	// If set, additional web apps will be installed from the given subdirectory
	// of the web_apps directory.
	ExtraWebAppsDir   string               `protobuf:"bytes,1,opt,name=extra_web_apps_dir,json=extraWebAppsDir,proto3" json:"extra_web_apps_dir,omitempty"`
	Requisition       UiConfig_Requisition `` /* 133-byte string literal not displayed */
	CloudGamingDevice bool                 `protobuf:"varint,3,opt,name=cloud_gaming_device,json=cloudGamingDevice,proto3" json:"cloud_gaming_device,omitempty"`
	// contains filtered or unexported fields
}

func (*UiConfig) Descriptor deprecated

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

Deprecated: Use UiConfig.ProtoReflect.Descriptor instead.

func (*UiConfig) GetCloudGamingDevice

func (x *UiConfig) GetCloudGamingDevice() bool

func (*UiConfig) GetExtraWebAppsDir

func (x *UiConfig) GetExtraWebAppsDir() string

func (*UiConfig) GetRequisition

func (x *UiConfig) GetRequisition() UiConfig_Requisition

func (*UiConfig) ProtoMessage

func (*UiConfig) ProtoMessage()

func (*UiConfig) ProtoReflect

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

func (*UiConfig) Reset

func (x *UiConfig) Reset()

func (*UiConfig) String

func (x *UiConfig) String() string

type UiConfig_Requisition

type UiConfig_Requisition int32

Select device type. Models that identify as Meet Hardware may use different UI flags

const (
	UiConfig_REQUISITION_UNSPECIFIED UiConfig_Requisition = 0
	UiConfig_REQUISITION_CHROMEOS    UiConfig_Requisition = 1
	UiConfig_REQUISITION_MEETHW      UiConfig_Requisition = 2
)

func (UiConfig_Requisition) Descriptor

func (UiConfig_Requisition) Enum

func (UiConfig_Requisition) EnumDescriptor deprecated

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

Deprecated: Use UiConfig_Requisition.Descriptor instead.

func (UiConfig_Requisition) Number

func (UiConfig_Requisition) String

func (x UiConfig_Requisition) String() string

func (UiConfig_Requisition) Type

type UsbConfig

type UsbConfig struct {
	Typecd *UsbConfig_TypeCD `protobuf:"bytes,1,opt,name=typecd,proto3" json:"typecd,omitempty"`
	// contains filtered or unexported fields
}

func (*UsbConfig) Descriptor deprecated

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

Deprecated: Use UsbConfig.ProtoReflect.Descriptor instead.

func (*UsbConfig) GetTypecd

func (x *UsbConfig) GetTypecd() *UsbConfig_TypeCD

func (*UsbConfig) ProtoMessage

func (*UsbConfig) ProtoMessage()

func (*UsbConfig) ProtoReflect

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

func (*UsbConfig) Reset

func (x *UsbConfig) Reset()

func (*UsbConfig) String

func (x *UsbConfig) String() string

type UsbConfig_TypeCD

type UsbConfig_TypeCD struct {

	// AP driven alternate mode entry on this system should be restricted
	// to DisplayPort alternate mode
	DpOnly bool `protobuf:"varint,1,opt,name=dp_only,json=dpOnly,proto3" json:"dp_only,omitempty"`
	// contains filtered or unexported fields
}

func (*UsbConfig_TypeCD) Descriptor deprecated

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

Deprecated: Use UsbConfig_TypeCD.ProtoReflect.Descriptor instead.

func (*UsbConfig_TypeCD) GetDpOnly

func (x *UsbConfig_TypeCD) GetDpOnly() bool

func (*UsbConfig_TypeCD) ProtoMessage

func (*UsbConfig_TypeCD) ProtoMessage()

func (*UsbConfig_TypeCD) ProtoReflect

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

func (*UsbConfig_TypeCD) Reset

func (x *UsbConfig_TypeCD) Reset()

func (*UsbConfig_TypeCD) String

func (x *UsbConfig_TypeCD) String() string

Jump to

Keyboard shortcuts

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