hdmi

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransactionIHdmiControlServiceGetSupportedTypes                         = binder.FirstCallTransaction + 0
	TransactionIHdmiControlServiceGetActiveSource                           = binder.FirstCallTransaction + 1
	TransactionIHdmiControlServiceOneTouchPlay                              = binder.FirstCallTransaction + 2
	TransactionIHdmiControlServiceToggleAndFollowTvPower                    = binder.FirstCallTransaction + 3
	TransactionIHdmiControlServiceShouldHandleTvPowerKey                    = binder.FirstCallTransaction + 4
	TransactionIHdmiControlServiceQueryDisplayStatus                        = binder.FirstCallTransaction + 5
	TransactionIHdmiControlServiceAddHdmiControlStatusChangeListener        = binder.FirstCallTransaction + 6
	TransactionIHdmiControlServiceRemoveHdmiControlStatusChangeListener     = binder.FirstCallTransaction + 7
	TransactionIHdmiControlServiceAddHdmiCecVolumeControlFeatureListener    = binder.FirstCallTransaction + 8
	TransactionIHdmiControlServiceRemoveHdmiCecVolumeControlFeatureListener = binder.FirstCallTransaction + 9
	TransactionIHdmiControlServiceAddHotplugEventListener                   = binder.FirstCallTransaction + 10
	TransactionIHdmiControlServiceRemoveHotplugEventListener                = binder.FirstCallTransaction + 11
	TransactionIHdmiControlServiceAddDeviceEventListener                    = binder.FirstCallTransaction + 12
	TransactionIHdmiControlServiceDeviceSelect                              = binder.FirstCallTransaction + 13
	TransactionIHdmiControlServicePortSelect                                = binder.FirstCallTransaction + 14
	TransactionIHdmiControlServiceSendKeyEvent                              = binder.FirstCallTransaction + 15
	TransactionIHdmiControlServiceSendVolumeKeyEvent                        = binder.FirstCallTransaction + 16
	TransactionIHdmiControlServiceGetPortInfo                               = binder.FirstCallTransaction + 17
	TransactionIHdmiControlServiceCanChangeSystemAudioMode                  = binder.FirstCallTransaction + 18
	TransactionIHdmiControlServiceGetSystemAudioMode                        = binder.FirstCallTransaction + 19
	TransactionIHdmiControlServiceGetPhysicalAddress                        = binder.FirstCallTransaction + 20
	TransactionIHdmiControlServiceSetSystemAudioMode                        = binder.FirstCallTransaction + 21
	TransactionIHdmiControlServiceAddSystemAudioModeChangeListener          = binder.FirstCallTransaction + 22
	TransactionIHdmiControlServiceRemoveSystemAudioModeChangeListener       = binder.FirstCallTransaction + 23
	TransactionIHdmiControlServiceSetArcMode                                = binder.FirstCallTransaction + 24
	TransactionIHdmiControlServiceSetProhibitMode                           = binder.FirstCallTransaction + 25
	TransactionIHdmiControlServiceSetSystemAudioVolume                      = binder.FirstCallTransaction + 26
	TransactionIHdmiControlServiceSetSystemAudioMute                        = binder.FirstCallTransaction + 27
	TransactionIHdmiControlServiceSetInputChangeListener                    = binder.FirstCallTransaction + 28
	TransactionIHdmiControlServiceGetInputDevices                           = binder.FirstCallTransaction + 29
	TransactionIHdmiControlServiceGetDeviceList                             = binder.FirstCallTransaction + 30
	TransactionIHdmiControlServicePowerOffRemoteDevice                      = binder.FirstCallTransaction + 31
	TransactionIHdmiControlServicePowerOnRemoteDevice                       = binder.FirstCallTransaction + 32
	TransactionIHdmiControlServiceAskRemoteDeviceToBecomeActiveSource       = binder.FirstCallTransaction + 33
	TransactionIHdmiControlServiceSendVendorCommand                         = binder.FirstCallTransaction + 34
	TransactionIHdmiControlServiceAddVendorCommandListener                  = binder.FirstCallTransaction + 35
	TransactionIHdmiControlServiceSendStandby                               = binder.FirstCallTransaction + 36
	TransactionIHdmiControlServiceSetHdmiRecordListener                     = binder.FirstCallTransaction + 37
	TransactionIHdmiControlServiceStartOneTouchRecord                       = binder.FirstCallTransaction + 38
	TransactionIHdmiControlServiceStopOneTouchRecord                        = binder.FirstCallTransaction + 39
	TransactionIHdmiControlServiceStartTimerRecording                       = binder.FirstCallTransaction + 40
	TransactionIHdmiControlServiceClearTimerRecording                       = binder.FirstCallTransaction + 41
	TransactionIHdmiControlServiceSendMhlVendorCommand                      = binder.FirstCallTransaction + 42
	TransactionIHdmiControlServiceAddHdmiMhlVendorCommandListener           = binder.FirstCallTransaction + 43
	TransactionIHdmiControlServiceSetStandbyMode                            = binder.FirstCallTransaction + 44
	TransactionIHdmiControlServiceReportAudioStatus                         = binder.FirstCallTransaction + 45
	TransactionIHdmiControlServiceSetSystemAudioModeOnForAudioOnlySource    = binder.FirstCallTransaction + 46
	TransactionIHdmiControlServiceSetMessageHistorySize                     = binder.FirstCallTransaction + 47
	TransactionIHdmiControlServiceGetMessageHistorySize                     = binder.FirstCallTransaction + 48
	TransactionIHdmiControlServiceAddCecSettingChangeListener               = binder.FirstCallTransaction + 49
	TransactionIHdmiControlServiceRemoveCecSettingChangeListener            = binder.FirstCallTransaction + 50
	TransactionIHdmiControlServiceGetUserCecSettings                        = binder.FirstCallTransaction + 51
	TransactionIHdmiControlServiceGetAllowedCecSettingStringValues          = binder.FirstCallTransaction + 52
	TransactionIHdmiControlServiceGetAllowedCecSettingIntValues             = binder.FirstCallTransaction + 53
	TransactionIHdmiControlServiceGetCecSettingStringValue                  = binder.FirstCallTransaction + 54
	TransactionIHdmiControlServiceSetCecSettingStringValue                  = binder.FirstCallTransaction + 55
	TransactionIHdmiControlServiceGetCecSettingIntValue                     = binder.FirstCallTransaction + 56
	TransactionIHdmiControlServiceSetCecSettingIntValue                     = binder.FirstCallTransaction + 57
)
View Source
const (
	MethodIHdmiControlServiceGetSupportedTypes                         = "getSupportedTypes"
	MethodIHdmiControlServiceGetActiveSource                           = "getActiveSource"
	MethodIHdmiControlServiceOneTouchPlay                              = "oneTouchPlay"
	MethodIHdmiControlServiceToggleAndFollowTvPower                    = "toggleAndFollowTvPower"
	MethodIHdmiControlServiceShouldHandleTvPowerKey                    = "shouldHandleTvPowerKey"
	MethodIHdmiControlServiceQueryDisplayStatus                        = "queryDisplayStatus"
	MethodIHdmiControlServiceAddHdmiControlStatusChangeListener        = "addHdmiControlStatusChangeListener"
	MethodIHdmiControlServiceRemoveHdmiControlStatusChangeListener     = "removeHdmiControlStatusChangeListener"
	MethodIHdmiControlServiceAddHdmiCecVolumeControlFeatureListener    = "addHdmiCecVolumeControlFeatureListener"
	MethodIHdmiControlServiceRemoveHdmiCecVolumeControlFeatureListener = "removeHdmiCecVolumeControlFeatureListener"
	MethodIHdmiControlServiceAddHotplugEventListener                   = "addHotplugEventListener"
	MethodIHdmiControlServiceRemoveHotplugEventListener                = "removeHotplugEventListener"
	MethodIHdmiControlServiceAddDeviceEventListener                    = "addDeviceEventListener"
	MethodIHdmiControlServiceDeviceSelect                              = "deviceSelect"
	MethodIHdmiControlServicePortSelect                                = "portSelect"
	MethodIHdmiControlServiceSendKeyEvent                              = "sendKeyEvent"
	MethodIHdmiControlServiceSendVolumeKeyEvent                        = "sendVolumeKeyEvent"
	MethodIHdmiControlServiceGetPortInfo                               = "getPortInfo"
	MethodIHdmiControlServiceCanChangeSystemAudioMode                  = "canChangeSystemAudioMode"
	MethodIHdmiControlServiceGetSystemAudioMode                        = "getSystemAudioMode"
	MethodIHdmiControlServiceGetPhysicalAddress                        = "getPhysicalAddress"
	MethodIHdmiControlServiceSetSystemAudioMode                        = "setSystemAudioMode"
	MethodIHdmiControlServiceAddSystemAudioModeChangeListener          = "addSystemAudioModeChangeListener"
	MethodIHdmiControlServiceRemoveSystemAudioModeChangeListener       = "removeSystemAudioModeChangeListener"
	MethodIHdmiControlServiceSetArcMode                                = "setArcMode"
	MethodIHdmiControlServiceSetProhibitMode                           = "setProhibitMode"
	MethodIHdmiControlServiceSetSystemAudioVolume                      = "setSystemAudioVolume"
	MethodIHdmiControlServiceSetSystemAudioMute                        = "setSystemAudioMute"
	MethodIHdmiControlServiceSetInputChangeListener                    = "setInputChangeListener"
	MethodIHdmiControlServiceGetInputDevices                           = "getInputDevices"
	MethodIHdmiControlServiceGetDeviceList                             = "getDeviceList"
	MethodIHdmiControlServicePowerOffRemoteDevice                      = "powerOffRemoteDevice"
	MethodIHdmiControlServicePowerOnRemoteDevice                       = "powerOnRemoteDevice"
	MethodIHdmiControlServiceAskRemoteDeviceToBecomeActiveSource       = "askRemoteDeviceToBecomeActiveSource"
	MethodIHdmiControlServiceSendVendorCommand                         = "sendVendorCommand"
	MethodIHdmiControlServiceAddVendorCommandListener                  = "addVendorCommandListener"
	MethodIHdmiControlServiceSendStandby                               = "sendStandby"
	MethodIHdmiControlServiceSetHdmiRecordListener                     = "setHdmiRecordListener"
	MethodIHdmiControlServiceStartOneTouchRecord                       = "startOneTouchRecord"
	MethodIHdmiControlServiceStopOneTouchRecord                        = "stopOneTouchRecord"
	MethodIHdmiControlServiceStartTimerRecording                       = "startTimerRecording"
	MethodIHdmiControlServiceClearTimerRecording                       = "clearTimerRecording"
	MethodIHdmiControlServiceSendMhlVendorCommand                      = "sendMhlVendorCommand"
	MethodIHdmiControlServiceAddHdmiMhlVendorCommandListener           = "addHdmiMhlVendorCommandListener"
	MethodIHdmiControlServiceSetStandbyMode                            = "setStandbyMode"
	MethodIHdmiControlServiceReportAudioStatus                         = "reportAudioStatus"
	MethodIHdmiControlServiceSetSystemAudioModeOnForAudioOnlySource    = "setSystemAudioModeOnForAudioOnlySource"
	MethodIHdmiControlServiceSetMessageHistorySize                     = "setMessageHistorySize"
	MethodIHdmiControlServiceGetMessageHistorySize                     = "getMessageHistorySize"
	MethodIHdmiControlServiceAddCecSettingChangeListener               = "addCecSettingChangeListener"
	MethodIHdmiControlServiceRemoveCecSettingChangeListener            = "removeCecSettingChangeListener"
	MethodIHdmiControlServiceGetUserCecSettings                        = "getUserCecSettings"
	MethodIHdmiControlServiceGetAllowedCecSettingStringValues          = "getAllowedCecSettingStringValues"
	MethodIHdmiControlServiceGetAllowedCecSettingIntValues             = "getAllowedCecSettingIntValues"
	MethodIHdmiControlServiceGetCecSettingStringValue                  = "getCecSettingStringValue"
	MethodIHdmiControlServiceSetCecSettingStringValue                  = "setCecSettingStringValue"
	MethodIHdmiControlServiceGetCecSettingIntValue                     = "getCecSettingIntValue"
	MethodIHdmiControlServiceSetCecSettingIntValue                     = "setCecSettingIntValue"
)
View Source
const (
	TransactionIHdmiRecordListenerGetOneTouchRecordSource     = binder.FirstCallTransaction + 0
	TransactionIHdmiRecordListenerOnOneTouchRecordResult      = binder.FirstCallTransaction + 1
	TransactionIHdmiRecordListenerOnTimerRecordingResult      = binder.FirstCallTransaction + 2
	TransactionIHdmiRecordListenerOnClearTimerRecordingResult = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodIHdmiRecordListenerGetOneTouchRecordSource     = "getOneTouchRecordSource"
	MethodIHdmiRecordListenerOnOneTouchRecordResult      = "onOneTouchRecordResult"
	MethodIHdmiRecordListenerOnTimerRecordingResult      = "onTimerRecordingResult"
	MethodIHdmiRecordListenerOnClearTimerRecordingResult = "onClearTimerRecordingResult"
)
View Source
const (
	TransactionIHdmiVendorCommandListenerOnReceived            = binder.FirstCallTransaction + 0
	TransactionIHdmiVendorCommandListenerOnControlStateChanged = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIHdmiVendorCommandListenerOnReceived            = "onReceived"
	MethodIHdmiVendorCommandListenerOnControlStateChanged = "onControlStateChanged"
)
View Source
const DescriptorIHdmiCecSettingChangeListener = "android.hardware.hdmi.IHdmiCecSettingChangeListener"
View Source
const DescriptorIHdmiCecVolumeControlFeatureListener = "android.hardware.hdmi.IHdmiCecVolumeControlFeatureListener"
View Source
const DescriptorIHdmiControlCallback = "android.hardware.hdmi.IHdmiControlCallback"
View Source
const DescriptorIHdmiControlService = "android.hardware.hdmi.IHdmiControlService"
View Source
const DescriptorIHdmiControlStatusChangeListener = "android.hardware.hdmi.IHdmiControlStatusChangeListener"
View Source
const DescriptorIHdmiDeviceEventListener = "android.hardware.hdmi.IHdmiDeviceEventListener"
View Source
const DescriptorIHdmiHotplugEventListener = "android.hardware.hdmi.IHdmiHotplugEventListener"
View Source
const DescriptorIHdmiInputChangeListener = "android.hardware.hdmi.IHdmiInputChangeListener"
View Source
const DescriptorIHdmiMhlVendorCommandListener = "android.hardware.hdmi.IHdmiMhlVendorCommandListener"
View Source
const DescriptorIHdmiRecordListener = "android.hardware.hdmi.IHdmiRecordListener"
View Source
const DescriptorIHdmiSystemAudioModeChangeListener = "android.hardware.hdmi.IHdmiSystemAudioModeChangeListener"
View Source
const DescriptorIHdmiVendorCommandListener = "android.hardware.hdmi.IHdmiVendorCommandListener"
View Source
const (
	MethodIHdmiCecSettingChangeListenerOnChange = "onChange"
)
View Source
const (
	MethodIHdmiCecVolumeControlFeatureListenerOnHdmiCecVolumeControlFeature = "onHdmiCecVolumeControlFeature"
)
View Source
const (
	MethodIHdmiControlCallbackOnComplete = "onComplete"
)
View Source
const (
	MethodIHdmiControlStatusChangeListenerOnStatusChange = "onStatusChange"
)
View Source
const (
	MethodIHdmiDeviceEventListenerOnStatusChanged = "onStatusChanged"
)
View Source
const (
	MethodIHdmiHotplugEventListenerOnReceived = "onReceived"
)
View Source
const (
	MethodIHdmiInputChangeListenerOnChanged = "onChanged"
)
View Source
const (
	MethodIHdmiMhlVendorCommandListenerOnReceived = "onReceived"
)
View Source
const (
	MethodIHdmiSystemAudioModeChangeListenerOnStatusChanged = "onStatusChanged"
)
View Source
const (
	TransactionIHdmiCecSettingChangeListenerOnChange = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIHdmiCecVolumeControlFeatureListenerOnHdmiCecVolumeControlFeature = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIHdmiControlCallbackOnComplete = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIHdmiControlStatusChangeListenerOnStatusChange = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIHdmiDeviceEventListenerOnStatusChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIHdmiHotplugEventListenerOnReceived = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIHdmiInputChangeListenerOnChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIHdmiMhlVendorCommandListenerOnReceived = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIHdmiSystemAudioModeChangeListenerOnStatusChanged = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HdmiCecSettingChangeListenerProxy

type HdmiCecSettingChangeListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiCecSettingChangeListenerProxy

func NewHdmiCecSettingChangeListenerProxy(
	remote binder.IBinder,
) *HdmiCecSettingChangeListenerProxy

func (*HdmiCecSettingChangeListenerProxy) AsBinder

func (*HdmiCecSettingChangeListenerProxy) OnChange

func (p *HdmiCecSettingChangeListenerProxy) OnChange(
	ctx context.Context,
	setting string,
) error

type HdmiCecSettingChangeListenerStub

type HdmiCecSettingChangeListenerStub struct {
	Impl      IHdmiCecSettingChangeListener
	Transport binder.VersionAwareTransport
}

HdmiCecSettingChangeListenerStub dispatches incoming binder transactions to a typed IHdmiCecSettingChangeListener implementation.

func (*HdmiCecSettingChangeListenerStub) Descriptor

func (s *HdmiCecSettingChangeListenerStub) Descriptor() string

func (*HdmiCecSettingChangeListenerStub) OnTransaction

type HdmiCecVolumeControlFeatureListenerProxy

type HdmiCecVolumeControlFeatureListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiCecVolumeControlFeatureListenerProxy

func NewHdmiCecVolumeControlFeatureListenerProxy(
	remote binder.IBinder,
) *HdmiCecVolumeControlFeatureListenerProxy

func (*HdmiCecVolumeControlFeatureListenerProxy) AsBinder

func (*HdmiCecVolumeControlFeatureListenerProxy) OnHdmiCecVolumeControlFeature

func (p *HdmiCecVolumeControlFeatureListenerProxy) OnHdmiCecVolumeControlFeature(
	ctx context.Context,
	hdmiCecVolumeControl int32,
) error

type HdmiCecVolumeControlFeatureListenerStub

type HdmiCecVolumeControlFeatureListenerStub struct {
	Impl      IHdmiCecVolumeControlFeatureListener
	Transport binder.VersionAwareTransport
}

HdmiCecVolumeControlFeatureListenerStub dispatches incoming binder transactions to a typed IHdmiCecVolumeControlFeatureListener implementation.

func (*HdmiCecVolumeControlFeatureListenerStub) Descriptor

func (*HdmiCecVolumeControlFeatureListenerStub) OnTransaction

type HdmiControlCallbackProxy

type HdmiControlCallbackProxy struct {
	Remote binder.IBinder
}

func NewHdmiControlCallbackProxy

func NewHdmiControlCallbackProxy(
	remote binder.IBinder,
) *HdmiControlCallbackProxy

func (*HdmiControlCallbackProxy) AsBinder

func (p *HdmiControlCallbackProxy) AsBinder() binder.IBinder

func (*HdmiControlCallbackProxy) OnComplete

func (p *HdmiControlCallbackProxy) OnComplete(
	ctx context.Context,
	result int32,
) error

type HdmiControlCallbackStub

type HdmiControlCallbackStub struct {
	Impl      IHdmiControlCallback
	Transport binder.VersionAwareTransport
}

HdmiControlCallbackStub dispatches incoming binder transactions to a typed IHdmiControlCallback implementation.

func (*HdmiControlCallbackStub) Descriptor

func (s *HdmiControlCallbackStub) Descriptor() string

func (*HdmiControlCallbackStub) OnTransaction

func (s *HdmiControlCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type HdmiControlServiceProxy

type HdmiControlServiceProxy struct {
	Remote binder.IBinder
}

func GetHdmiControlService

func GetHdmiControlService(
	ctx context.Context,
	sm *servicemanager.ServiceManager,
) (*HdmiControlServiceProxy, error)

GetHdmiControlService retrieves the HdmiControlService service and returns a typed proxy.

func NewHdmiControlServiceProxy

func NewHdmiControlServiceProxy(
	remote binder.IBinder,
) *HdmiControlServiceProxy

func (*HdmiControlServiceProxy) AddCecSettingChangeListener

func (p *HdmiControlServiceProxy) AddCecSettingChangeListener(
	ctx context.Context,
	name string,
	listener IHdmiCecSettingChangeListener,
) error

func (*HdmiControlServiceProxy) AddDeviceEventListener

func (p *HdmiControlServiceProxy) AddDeviceEventListener(
	ctx context.Context,
	listener IHdmiDeviceEventListener,
) error

func (*HdmiControlServiceProxy) AddHdmiCecVolumeControlFeatureListener

func (p *HdmiControlServiceProxy) AddHdmiCecVolumeControlFeatureListener(
	ctx context.Context,
	listener IHdmiCecVolumeControlFeatureListener,
) error

func (*HdmiControlServiceProxy) AddHdmiControlStatusChangeListener

func (p *HdmiControlServiceProxy) AddHdmiControlStatusChangeListener(
	ctx context.Context,
	listener IHdmiControlStatusChangeListener,
) error

func (*HdmiControlServiceProxy) AddHdmiMhlVendorCommandListener

func (p *HdmiControlServiceProxy) AddHdmiMhlVendorCommandListener(
	ctx context.Context,
	listener IHdmiMhlVendorCommandListener,
) error

func (*HdmiControlServiceProxy) AddHotplugEventListener

func (p *HdmiControlServiceProxy) AddHotplugEventListener(
	ctx context.Context,
	listener IHdmiHotplugEventListener,
) error

func (*HdmiControlServiceProxy) AddSystemAudioModeChangeListener

func (p *HdmiControlServiceProxy) AddSystemAudioModeChangeListener(
	ctx context.Context,
	listener IHdmiSystemAudioModeChangeListener,
) error

func (*HdmiControlServiceProxy) AddVendorCommandListener

func (p *HdmiControlServiceProxy) AddVendorCommandListener(
	ctx context.Context,
	listener IHdmiVendorCommandListener,
	vendorId int32,
) error

func (*HdmiControlServiceProxy) AsBinder

func (p *HdmiControlServiceProxy) AsBinder() binder.IBinder

func (*HdmiControlServiceProxy) AskRemoteDeviceToBecomeActiveSource

func (p *HdmiControlServiceProxy) AskRemoteDeviceToBecomeActiveSource(
	ctx context.Context,
	physicalAddress int32,
) error

func (*HdmiControlServiceProxy) CanChangeSystemAudioMode

func (p *HdmiControlServiceProxy) CanChangeSystemAudioMode(
	ctx context.Context,
) (bool, error)

func (*HdmiControlServiceProxy) ClearTimerRecording

func (p *HdmiControlServiceProxy) ClearTimerRecording(
	ctx context.Context,
	recorderAddress int32,
	sourceType int32,
	recordSource []byte,
) error

func (*HdmiControlServiceProxy) DeviceSelect

func (p *HdmiControlServiceProxy) DeviceSelect(
	ctx context.Context,
	deviceId int32,
	callback IHdmiControlCallback,
) error

func (*HdmiControlServiceProxy) GetActiveSource

func (p *HdmiControlServiceProxy) GetActiveSource(
	ctx context.Context,
) (HdmiDeviceInfo, error)

func (*HdmiControlServiceProxy) GetAllowedCecSettingIntValues

func (p *HdmiControlServiceProxy) GetAllowedCecSettingIntValues(
	ctx context.Context,
	name string,
) ([]int32, error)

func (*HdmiControlServiceProxy) GetAllowedCecSettingStringValues

func (p *HdmiControlServiceProxy) GetAllowedCecSettingStringValues(
	ctx context.Context,
	name string,
) ([]string, error)

func (*HdmiControlServiceProxy) GetCecSettingIntValue

func (p *HdmiControlServiceProxy) GetCecSettingIntValue(
	ctx context.Context,
	name string,
) (int32, error)

func (*HdmiControlServiceProxy) GetCecSettingStringValue

func (p *HdmiControlServiceProxy) GetCecSettingStringValue(
	ctx context.Context,
	name string,
) (string, error)

func (*HdmiControlServiceProxy) GetDeviceList

func (p *HdmiControlServiceProxy) GetDeviceList(
	ctx context.Context,
) ([]HdmiDeviceInfo, error)

func (*HdmiControlServiceProxy) GetInputDevices

func (p *HdmiControlServiceProxy) GetInputDevices(
	ctx context.Context,
) ([]HdmiDeviceInfo, error)

func (*HdmiControlServiceProxy) GetMessageHistorySize

func (p *HdmiControlServiceProxy) GetMessageHistorySize(
	ctx context.Context,
) (int32, error)

func (*HdmiControlServiceProxy) GetPhysicalAddress

func (p *HdmiControlServiceProxy) GetPhysicalAddress(
	ctx context.Context,
) (int32, error)

func (*HdmiControlServiceProxy) GetPortInfo

func (p *HdmiControlServiceProxy) GetPortInfo(
	ctx context.Context,
) ([]HdmiPortInfo, error)

func (*HdmiControlServiceProxy) GetSupportedTypes

func (p *HdmiControlServiceProxy) GetSupportedTypes(
	ctx context.Context,
) ([]int32, error)

func (*HdmiControlServiceProxy) GetSystemAudioMode

func (p *HdmiControlServiceProxy) GetSystemAudioMode(
	ctx context.Context,
) (bool, error)

func (*HdmiControlServiceProxy) GetUserCecSettings

func (p *HdmiControlServiceProxy) GetUserCecSettings(
	ctx context.Context,
) ([]string, error)

func (*HdmiControlServiceProxy) OneTouchPlay

func (p *HdmiControlServiceProxy) OneTouchPlay(
	ctx context.Context,
	callback IHdmiControlCallback,
) error

func (*HdmiControlServiceProxy) PortSelect

func (p *HdmiControlServiceProxy) PortSelect(
	ctx context.Context,
	portId int32,
	callback IHdmiControlCallback,
) error

func (*HdmiControlServiceProxy) PowerOffRemoteDevice

func (p *HdmiControlServiceProxy) PowerOffRemoteDevice(
	ctx context.Context,
	logicalAddress int32,
	powerStatus int32,
) error

func (*HdmiControlServiceProxy) PowerOnRemoteDevice

func (p *HdmiControlServiceProxy) PowerOnRemoteDevice(
	ctx context.Context,
	logicalAddress int32,
	powerStatus int32,
) error

func (*HdmiControlServiceProxy) QueryDisplayStatus

func (p *HdmiControlServiceProxy) QueryDisplayStatus(
	ctx context.Context,
	callback IHdmiControlCallback,
) error

func (*HdmiControlServiceProxy) RemoveCecSettingChangeListener

func (p *HdmiControlServiceProxy) RemoveCecSettingChangeListener(
	ctx context.Context,
	name string,
	listener IHdmiCecSettingChangeListener,
) error

func (*HdmiControlServiceProxy) RemoveHdmiCecVolumeControlFeatureListener

func (p *HdmiControlServiceProxy) RemoveHdmiCecVolumeControlFeatureListener(
	ctx context.Context,
	listener IHdmiCecVolumeControlFeatureListener,
) error

func (*HdmiControlServiceProxy) RemoveHdmiControlStatusChangeListener

func (p *HdmiControlServiceProxy) RemoveHdmiControlStatusChangeListener(
	ctx context.Context,
	listener IHdmiControlStatusChangeListener,
) error

func (*HdmiControlServiceProxy) RemoveHotplugEventListener

func (p *HdmiControlServiceProxy) RemoveHotplugEventListener(
	ctx context.Context,
	listener IHdmiHotplugEventListener,
) error

func (*HdmiControlServiceProxy) RemoveSystemAudioModeChangeListener

func (p *HdmiControlServiceProxy) RemoveSystemAudioModeChangeListener(
	ctx context.Context,
	listener IHdmiSystemAudioModeChangeListener,
) error

func (*HdmiControlServiceProxy) ReportAudioStatus

func (p *HdmiControlServiceProxy) ReportAudioStatus(
	ctx context.Context,
	deviceType int32,
	volume int32,
	maxVolume int32,
	isMute bool,
) error

func (*HdmiControlServiceProxy) SendKeyEvent

func (p *HdmiControlServiceProxy) SendKeyEvent(
	ctx context.Context,
	deviceType int32,
	keyCode int32,
	isPressed bool,
) error

func (*HdmiControlServiceProxy) SendMhlVendorCommand

func (p *HdmiControlServiceProxy) SendMhlVendorCommand(
	ctx context.Context,
	portId int32,
	offset int32,
	length int32,
	data []byte,
) error

func (*HdmiControlServiceProxy) SendStandby

func (p *HdmiControlServiceProxy) SendStandby(
	ctx context.Context,
	deviceType int32,
	deviceId int32,
) error

func (*HdmiControlServiceProxy) SendVendorCommand

func (p *HdmiControlServiceProxy) SendVendorCommand(
	ctx context.Context,
	deviceType int32,
	targetAddress int32,
	params []byte,
	hasVendorId bool,
) error

func (*HdmiControlServiceProxy) SendVolumeKeyEvent

func (p *HdmiControlServiceProxy) SendVolumeKeyEvent(
	ctx context.Context,
	deviceType int32,
	keyCode int32,
	isPressed bool,
) error

func (*HdmiControlServiceProxy) SetArcMode

func (p *HdmiControlServiceProxy) SetArcMode(
	ctx context.Context,
	enabled bool,
) error

func (*HdmiControlServiceProxy) SetCecSettingIntValue

func (p *HdmiControlServiceProxy) SetCecSettingIntValue(
	ctx context.Context,
	name string,
	value int32,
) error

func (*HdmiControlServiceProxy) SetCecSettingStringValue

func (p *HdmiControlServiceProxy) SetCecSettingStringValue(
	ctx context.Context,
	name string,
	value string,
) error

func (*HdmiControlServiceProxy) SetHdmiRecordListener

func (p *HdmiControlServiceProxy) SetHdmiRecordListener(
	ctx context.Context,
	callback IHdmiRecordListener,
) error

func (*HdmiControlServiceProxy) SetInputChangeListener

func (p *HdmiControlServiceProxy) SetInputChangeListener(
	ctx context.Context,
	listener IHdmiInputChangeListener,
) error

func (*HdmiControlServiceProxy) SetMessageHistorySize

func (p *HdmiControlServiceProxy) SetMessageHistorySize(
	ctx context.Context,
	newSize int32,
) (bool, error)

func (*HdmiControlServiceProxy) SetProhibitMode

func (p *HdmiControlServiceProxy) SetProhibitMode(
	ctx context.Context,
	enabled bool,
) error

func (*HdmiControlServiceProxy) SetStandbyMode

func (p *HdmiControlServiceProxy) SetStandbyMode(
	ctx context.Context,
	isStandbyModeOn bool,
) error

func (*HdmiControlServiceProxy) SetSystemAudioMode

func (p *HdmiControlServiceProxy) SetSystemAudioMode(
	ctx context.Context,
	enabled bool,
	callback IHdmiControlCallback,
) error

func (*HdmiControlServiceProxy) SetSystemAudioModeOnForAudioOnlySource

func (p *HdmiControlServiceProxy) SetSystemAudioModeOnForAudioOnlySource(
	ctx context.Context,
) error

func (*HdmiControlServiceProxy) SetSystemAudioMute

func (p *HdmiControlServiceProxy) SetSystemAudioMute(
	ctx context.Context,
	mute bool,
) error

func (*HdmiControlServiceProxy) SetSystemAudioVolume

func (p *HdmiControlServiceProxy) SetSystemAudioVolume(
	ctx context.Context,
	oldIndex int32,
	newIndex int32,
	maxIndex int32,
) error

func (*HdmiControlServiceProxy) ShouldHandleTvPowerKey

func (p *HdmiControlServiceProxy) ShouldHandleTvPowerKey(
	ctx context.Context,
) (bool, error)

func (*HdmiControlServiceProxy) StartOneTouchRecord

func (p *HdmiControlServiceProxy) StartOneTouchRecord(
	ctx context.Context,
	recorderAddress int32,
	recordSource []byte,
) error

func (*HdmiControlServiceProxy) StartTimerRecording

func (p *HdmiControlServiceProxy) StartTimerRecording(
	ctx context.Context,
	recorderAddress int32,
	sourceType int32,
	recordSource []byte,
) error

func (*HdmiControlServiceProxy) StopOneTouchRecord

func (p *HdmiControlServiceProxy) StopOneTouchRecord(
	ctx context.Context,
	recorderAddress int32,
) error

func (*HdmiControlServiceProxy) ToggleAndFollowTvPower

func (p *HdmiControlServiceProxy) ToggleAndFollowTvPower(
	ctx context.Context,
) error

type HdmiControlServiceStub

type HdmiControlServiceStub struct {
	Impl      IHdmiControlService
	Transport binder.VersionAwareTransport
}

HdmiControlServiceStub dispatches incoming binder transactions to a typed IHdmiControlService implementation.

func (*HdmiControlServiceStub) Descriptor

func (s *HdmiControlServiceStub) Descriptor() string

func (*HdmiControlServiceStub) OnTransaction

func (s *HdmiControlServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type HdmiControlStatusChangeListenerProxy

type HdmiControlStatusChangeListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiControlStatusChangeListenerProxy

func NewHdmiControlStatusChangeListenerProxy(
	remote binder.IBinder,
) *HdmiControlStatusChangeListenerProxy

func (*HdmiControlStatusChangeListenerProxy) AsBinder

func (*HdmiControlStatusChangeListenerProxy) OnStatusChange

func (p *HdmiControlStatusChangeListenerProxy) OnStatusChange(
	ctx context.Context,
	isCecEnabled int32,
	isCecAvailable bool,
) error

type HdmiControlStatusChangeListenerStub

type HdmiControlStatusChangeListenerStub struct {
	Impl      IHdmiControlStatusChangeListener
	Transport binder.VersionAwareTransport
}

HdmiControlStatusChangeListenerStub dispatches incoming binder transactions to a typed IHdmiControlStatusChangeListener implementation.

func (*HdmiControlStatusChangeListenerStub) Descriptor

func (*HdmiControlStatusChangeListenerStub) OnTransaction

type HdmiDeviceEventListenerProxy

type HdmiDeviceEventListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiDeviceEventListenerProxy

func NewHdmiDeviceEventListenerProxy(
	remote binder.IBinder,
) *HdmiDeviceEventListenerProxy

func (*HdmiDeviceEventListenerProxy) AsBinder

func (*HdmiDeviceEventListenerProxy) OnStatusChanged

func (p *HdmiDeviceEventListenerProxy) OnStatusChanged(
	ctx context.Context,
	deviceInfo HdmiDeviceInfo,
	status int32,
) error

type HdmiDeviceEventListenerStub

type HdmiDeviceEventListenerStub struct {
	Impl      IHdmiDeviceEventListener
	Transport binder.VersionAwareTransport
}

HdmiDeviceEventListenerStub dispatches incoming binder transactions to a typed IHdmiDeviceEventListener implementation.

func (*HdmiDeviceEventListenerStub) Descriptor

func (s *HdmiDeviceEventListenerStub) Descriptor() string

func (*HdmiDeviceEventListenerStub) OnTransaction

func (s *HdmiDeviceEventListenerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type HdmiDeviceInfo

type HdmiDeviceInfo struct {
	HdmiDeviceType  int32
	PhysicalAddress int32
	PortId          int32
}

func (*HdmiDeviceInfo) MarshalParcel

func (s *HdmiDeviceInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*HdmiDeviceInfo) UnmarshalParcel

func (s *HdmiDeviceInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type HdmiHotplugEvent

type HdmiHotplugEvent struct {
	Port int32
}

func (*HdmiHotplugEvent) MarshalParcel

func (s *HdmiHotplugEvent) MarshalParcel(
	p *parcel.Parcel,
) error

func (*HdmiHotplugEvent) UnmarshalParcel

func (s *HdmiHotplugEvent) UnmarshalParcel(
	p *parcel.Parcel,
) error

type HdmiHotplugEventListenerProxy

type HdmiHotplugEventListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiHotplugEventListenerProxy

func NewHdmiHotplugEventListenerProxy(
	remote binder.IBinder,
) *HdmiHotplugEventListenerProxy

func (*HdmiHotplugEventListenerProxy) AsBinder

func (*HdmiHotplugEventListenerProxy) OnReceived

type HdmiHotplugEventListenerStub

type HdmiHotplugEventListenerStub struct {
	Impl      IHdmiHotplugEventListener
	Transport binder.VersionAwareTransport
}

HdmiHotplugEventListenerStub dispatches incoming binder transactions to a typed IHdmiHotplugEventListener implementation.

func (*HdmiHotplugEventListenerStub) Descriptor

func (s *HdmiHotplugEventListenerStub) Descriptor() string

func (*HdmiHotplugEventListenerStub) OnTransaction

type HdmiInputChangeListenerProxy

type HdmiInputChangeListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiInputChangeListenerProxy

func NewHdmiInputChangeListenerProxy(
	remote binder.IBinder,
) *HdmiInputChangeListenerProxy

func (*HdmiInputChangeListenerProxy) AsBinder

func (*HdmiInputChangeListenerProxy) OnChanged

func (p *HdmiInputChangeListenerProxy) OnChanged(
	ctx context.Context,
	device HdmiDeviceInfo,
) error

type HdmiInputChangeListenerStub

type HdmiInputChangeListenerStub struct {
	Impl      IHdmiInputChangeListener
	Transport binder.VersionAwareTransport
}

HdmiInputChangeListenerStub dispatches incoming binder transactions to a typed IHdmiInputChangeListener implementation.

func (*HdmiInputChangeListenerStub) Descriptor

func (s *HdmiInputChangeListenerStub) Descriptor() string

func (*HdmiInputChangeListenerStub) OnTransaction

func (s *HdmiInputChangeListenerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type HdmiMhlVendorCommandListenerProxy

type HdmiMhlVendorCommandListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiMhlVendorCommandListenerProxy

func NewHdmiMhlVendorCommandListenerProxy(
	remote binder.IBinder,
) *HdmiMhlVendorCommandListenerProxy

func (*HdmiMhlVendorCommandListenerProxy) AsBinder

func (*HdmiMhlVendorCommandListenerProxy) OnReceived

func (p *HdmiMhlVendorCommandListenerProxy) OnReceived(
	ctx context.Context,
	portId int32,
	offset int32,
	length int32,
	data []byte,
) error

type HdmiMhlVendorCommandListenerStub

type HdmiMhlVendorCommandListenerStub struct {
	Impl      IHdmiMhlVendorCommandListener
	Transport binder.VersionAwareTransport
}

HdmiMhlVendorCommandListenerStub dispatches incoming binder transactions to a typed IHdmiMhlVendorCommandListener implementation.

func (*HdmiMhlVendorCommandListenerStub) Descriptor

func (s *HdmiMhlVendorCommandListenerStub) Descriptor() string

func (*HdmiMhlVendorCommandListenerStub) OnTransaction

type HdmiPortInfo

type HdmiPortInfo struct {
	Id      int32
	Type    int32
	Address int32
}

func (*HdmiPortInfo) MarshalParcel

func (s *HdmiPortInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*HdmiPortInfo) UnmarshalParcel

func (s *HdmiPortInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type HdmiRecordListenerProxy

type HdmiRecordListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiRecordListenerProxy

func NewHdmiRecordListenerProxy(
	remote binder.IBinder,
) *HdmiRecordListenerProxy

func (*HdmiRecordListenerProxy) AsBinder

func (p *HdmiRecordListenerProxy) AsBinder() binder.IBinder

func (*HdmiRecordListenerProxy) GetOneTouchRecordSource

func (p *HdmiRecordListenerProxy) GetOneTouchRecordSource(
	ctx context.Context,
	recorderAddress int32,
) ([]byte, error)

func (*HdmiRecordListenerProxy) OnClearTimerRecordingResult

func (p *HdmiRecordListenerProxy) OnClearTimerRecordingResult(
	ctx context.Context,
	recorderAddress int32,
	result int32,
) error

func (*HdmiRecordListenerProxy) OnOneTouchRecordResult

func (p *HdmiRecordListenerProxy) OnOneTouchRecordResult(
	ctx context.Context,
	recorderAddress int32,
	result int32,
) error

func (*HdmiRecordListenerProxy) OnTimerRecordingResult

func (p *HdmiRecordListenerProxy) OnTimerRecordingResult(
	ctx context.Context,
	recorderAddress int32,
	result int32,
) error

type HdmiRecordListenerStub

type HdmiRecordListenerStub struct {
	Impl      IHdmiRecordListener
	Transport binder.VersionAwareTransport
}

HdmiRecordListenerStub dispatches incoming binder transactions to a typed IHdmiRecordListener implementation.

func (*HdmiRecordListenerStub) Descriptor

func (s *HdmiRecordListenerStub) Descriptor() string

func (*HdmiRecordListenerStub) OnTransaction

func (s *HdmiRecordListenerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type HdmiSystemAudioModeChangeListenerProxy

type HdmiSystemAudioModeChangeListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiSystemAudioModeChangeListenerProxy

func NewHdmiSystemAudioModeChangeListenerProxy(
	remote binder.IBinder,
) *HdmiSystemAudioModeChangeListenerProxy

func (*HdmiSystemAudioModeChangeListenerProxy) AsBinder

func (*HdmiSystemAudioModeChangeListenerProxy) OnStatusChanged

func (p *HdmiSystemAudioModeChangeListenerProxy) OnStatusChanged(
	ctx context.Context,
	enabled bool,
) error

type HdmiSystemAudioModeChangeListenerStub

type HdmiSystemAudioModeChangeListenerStub struct {
	Impl      IHdmiSystemAudioModeChangeListener
	Transport binder.VersionAwareTransport
}

HdmiSystemAudioModeChangeListenerStub dispatches incoming binder transactions to a typed IHdmiSystemAudioModeChangeListener implementation.

func (*HdmiSystemAudioModeChangeListenerStub) Descriptor

func (*HdmiSystemAudioModeChangeListenerStub) OnTransaction

type HdmiVendorCommandListenerProxy

type HdmiVendorCommandListenerProxy struct {
	Remote binder.IBinder
}

func NewHdmiVendorCommandListenerProxy

func NewHdmiVendorCommandListenerProxy(
	remote binder.IBinder,
) *HdmiVendorCommandListenerProxy

func (*HdmiVendorCommandListenerProxy) AsBinder

func (*HdmiVendorCommandListenerProxy) OnControlStateChanged

func (p *HdmiVendorCommandListenerProxy) OnControlStateChanged(
	ctx context.Context,
	enabled bool,
	reason int32,
) error

func (*HdmiVendorCommandListenerProxy) OnReceived

func (p *HdmiVendorCommandListenerProxy) OnReceived(
	ctx context.Context,
	logicalAddress int32,
	destAddress int32,
	operands []byte,
	hasVendorId bool,
) error

type HdmiVendorCommandListenerStub

type HdmiVendorCommandListenerStub struct {
	Impl      IHdmiVendorCommandListener
	Transport binder.VersionAwareTransport
}

HdmiVendorCommandListenerStub dispatches incoming binder transactions to a typed IHdmiVendorCommandListener implementation.

func (*HdmiVendorCommandListenerStub) Descriptor

func (s *HdmiVendorCommandListenerStub) Descriptor() string

func (*HdmiVendorCommandListenerStub) OnTransaction

type IHdmiCecSettingChangeListener

type IHdmiCecSettingChangeListener interface {
	AsBinder() binder.IBinder
	OnChange(ctx context.Context, setting string) error
}

func NewHdmiCecSettingChangeListenerStub

func NewHdmiCecSettingChangeListenerStub(
	impl IHdmiCecSettingChangeListenerServer,
) IHdmiCecSettingChangeListener

NewHdmiCecSettingChangeListenerStub creates a server-side IHdmiCecSettingChangeListener wrapping the given server implementation. The returned value satisfies IHdmiCecSettingChangeListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiCecSettingChangeListenerServer

type IHdmiCecSettingChangeListenerServer interface {
	OnChange(ctx context.Context, setting string) error
}

IHdmiCecSettingChangeListenerServer is the server-side interface that user implementations provide to NewHdmiCecSettingChangeListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiCecVolumeControlFeatureListener

type IHdmiCecVolumeControlFeatureListener interface {
	AsBinder() binder.IBinder
	OnHdmiCecVolumeControlFeature(ctx context.Context, hdmiCecVolumeControl int32) error
}

func NewHdmiCecVolumeControlFeatureListenerStub

func NewHdmiCecVolumeControlFeatureListenerStub(
	impl IHdmiCecVolumeControlFeatureListenerServer,
) IHdmiCecVolumeControlFeatureListener

NewHdmiCecVolumeControlFeatureListenerStub creates a server-side IHdmiCecVolumeControlFeatureListener wrapping the given server implementation. The returned value satisfies IHdmiCecVolumeControlFeatureListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiCecVolumeControlFeatureListenerServer

type IHdmiCecVolumeControlFeatureListenerServer interface {
	OnHdmiCecVolumeControlFeature(ctx context.Context, hdmiCecVolumeControl int32) error
}

IHdmiCecVolumeControlFeatureListenerServer is the server-side interface that user implementations provide to NewHdmiCecVolumeControlFeatureListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiControlCallback

type IHdmiControlCallback interface {
	AsBinder() binder.IBinder
	OnComplete(ctx context.Context, result int32) error
}

func NewHdmiControlCallbackStub

func NewHdmiControlCallbackStub(
	impl IHdmiControlCallbackServer,
) IHdmiControlCallback

NewHdmiControlCallbackStub creates a server-side IHdmiControlCallback wrapping the given server implementation. The returned value satisfies IHdmiControlCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiControlCallbackServer

type IHdmiControlCallbackServer interface {
	OnComplete(ctx context.Context, result int32) error
}

IHdmiControlCallbackServer is the server-side interface that user implementations provide to NewHdmiControlCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiControlService

type IHdmiControlService interface {
	AsBinder() binder.IBinder
	GetSupportedTypes(ctx context.Context) ([]int32, error)
	GetActiveSource(ctx context.Context) (HdmiDeviceInfo, error)
	OneTouchPlay(ctx context.Context, callback IHdmiControlCallback) error
	ToggleAndFollowTvPower(ctx context.Context) error
	ShouldHandleTvPowerKey(ctx context.Context) (bool, error)
	QueryDisplayStatus(ctx context.Context, callback IHdmiControlCallback) error
	AddHdmiControlStatusChangeListener(ctx context.Context, listener IHdmiControlStatusChangeListener) error
	RemoveHdmiControlStatusChangeListener(ctx context.Context, listener IHdmiControlStatusChangeListener) error
	AddHdmiCecVolumeControlFeatureListener(ctx context.Context, listener IHdmiCecVolumeControlFeatureListener) error
	RemoveHdmiCecVolumeControlFeatureListener(ctx context.Context, listener IHdmiCecVolumeControlFeatureListener) error
	AddHotplugEventListener(ctx context.Context, listener IHdmiHotplugEventListener) error
	RemoveHotplugEventListener(ctx context.Context, listener IHdmiHotplugEventListener) error
	AddDeviceEventListener(ctx context.Context, listener IHdmiDeviceEventListener) error
	DeviceSelect(ctx context.Context, deviceId int32, callback IHdmiControlCallback) error
	PortSelect(ctx context.Context, portId int32, callback IHdmiControlCallback) error
	SendKeyEvent(ctx context.Context, deviceType int32, keyCode int32, isPressed bool) error
	SendVolumeKeyEvent(ctx context.Context, deviceType int32, keyCode int32, isPressed bool) error
	GetPortInfo(ctx context.Context) ([]HdmiPortInfo, error)
	CanChangeSystemAudioMode(ctx context.Context) (bool, error)
	GetSystemAudioMode(ctx context.Context) (bool, error)
	GetPhysicalAddress(ctx context.Context) (int32, error)
	SetSystemAudioMode(ctx context.Context, enabled bool, callback IHdmiControlCallback) error
	AddSystemAudioModeChangeListener(ctx context.Context, listener IHdmiSystemAudioModeChangeListener) error
	RemoveSystemAudioModeChangeListener(ctx context.Context, listener IHdmiSystemAudioModeChangeListener) error
	SetArcMode(ctx context.Context, enabled bool) error
	SetProhibitMode(ctx context.Context, enabled bool) error
	SetSystemAudioVolume(ctx context.Context, oldIndex int32, newIndex int32, maxIndex int32) error
	SetSystemAudioMute(ctx context.Context, mute bool) error
	SetInputChangeListener(ctx context.Context, listener IHdmiInputChangeListener) error
	GetInputDevices(ctx context.Context) ([]HdmiDeviceInfo, error)
	GetDeviceList(ctx context.Context) ([]HdmiDeviceInfo, error)
	PowerOffRemoteDevice(ctx context.Context, logicalAddress int32, powerStatus int32) error
	PowerOnRemoteDevice(ctx context.Context, logicalAddress int32, powerStatus int32) error
	AskRemoteDeviceToBecomeActiveSource(ctx context.Context, physicalAddress int32) error
	SendVendorCommand(ctx context.Context, deviceType int32, targetAddress int32, params []byte, hasVendorId bool) error
	AddVendorCommandListener(ctx context.Context, listener IHdmiVendorCommandListener, vendorId int32) error
	SendStandby(ctx context.Context, deviceType int32, deviceId int32) error
	SetHdmiRecordListener(ctx context.Context, callback IHdmiRecordListener) error
	StartOneTouchRecord(ctx context.Context, recorderAddress int32, recordSource []byte) error
	StopOneTouchRecord(ctx context.Context, recorderAddress int32) error
	StartTimerRecording(ctx context.Context, recorderAddress int32, sourceType int32, recordSource []byte) error
	ClearTimerRecording(ctx context.Context, recorderAddress int32, sourceType int32, recordSource []byte) error
	SendMhlVendorCommand(ctx context.Context, portId int32, offset int32, length int32, data []byte) error
	AddHdmiMhlVendorCommandListener(ctx context.Context, listener IHdmiMhlVendorCommandListener) error
	SetStandbyMode(ctx context.Context, isStandbyModeOn bool) error
	ReportAudioStatus(ctx context.Context, deviceType int32, volume int32, maxVolume int32, isMute bool) error
	SetSystemAudioModeOnForAudioOnlySource(ctx context.Context) error
	SetMessageHistorySize(ctx context.Context, newSize int32) (bool, error)
	GetMessageHistorySize(ctx context.Context) (int32, error)
	AddCecSettingChangeListener(ctx context.Context, name string, listener IHdmiCecSettingChangeListener) error
	RemoveCecSettingChangeListener(ctx context.Context, name string, listener IHdmiCecSettingChangeListener) error
	GetUserCecSettings(ctx context.Context) ([]string, error)
	GetAllowedCecSettingStringValues(ctx context.Context, name string) ([]string, error)
	GetAllowedCecSettingIntValues(ctx context.Context, name string) ([]int32, error)
	GetCecSettingStringValue(ctx context.Context, name string) (string, error)
	SetCecSettingStringValue(ctx context.Context, name string, value string) error
	GetCecSettingIntValue(ctx context.Context, name string) (int32, error)
	SetCecSettingIntValue(ctx context.Context, name string, value int32) error
}

func NewHdmiControlServiceStub

func NewHdmiControlServiceStub(
	impl IHdmiControlServiceServer,
) IHdmiControlService

NewHdmiControlServiceStub creates a server-side IHdmiControlService wrapping the given server implementation. The returned value satisfies IHdmiControlService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiControlServiceServer

type IHdmiControlServiceServer interface {
	GetSupportedTypes(ctx context.Context) ([]int32, error)
	GetActiveSource(ctx context.Context) (HdmiDeviceInfo, error)
	OneTouchPlay(ctx context.Context, callback IHdmiControlCallback) error
	ToggleAndFollowTvPower(ctx context.Context) error
	ShouldHandleTvPowerKey(ctx context.Context) (bool, error)
	QueryDisplayStatus(ctx context.Context, callback IHdmiControlCallback) error
	AddHdmiControlStatusChangeListener(ctx context.Context, listener IHdmiControlStatusChangeListener) error
	RemoveHdmiControlStatusChangeListener(ctx context.Context, listener IHdmiControlStatusChangeListener) error
	AddHdmiCecVolumeControlFeatureListener(ctx context.Context, listener IHdmiCecVolumeControlFeatureListener) error
	RemoveHdmiCecVolumeControlFeatureListener(ctx context.Context, listener IHdmiCecVolumeControlFeatureListener) error
	AddHotplugEventListener(ctx context.Context, listener IHdmiHotplugEventListener) error
	RemoveHotplugEventListener(ctx context.Context, listener IHdmiHotplugEventListener) error
	AddDeviceEventListener(ctx context.Context, listener IHdmiDeviceEventListener) error
	DeviceSelect(ctx context.Context, deviceId int32, callback IHdmiControlCallback) error
	PortSelect(ctx context.Context, portId int32, callback IHdmiControlCallback) error
	SendKeyEvent(ctx context.Context, deviceType int32, keyCode int32, isPressed bool) error
	SendVolumeKeyEvent(ctx context.Context, deviceType int32, keyCode int32, isPressed bool) error
	GetPortInfo(ctx context.Context) ([]HdmiPortInfo, error)
	CanChangeSystemAudioMode(ctx context.Context) (bool, error)
	GetSystemAudioMode(ctx context.Context) (bool, error)
	GetPhysicalAddress(ctx context.Context) (int32, error)
	SetSystemAudioMode(ctx context.Context, enabled bool, callback IHdmiControlCallback) error
	AddSystemAudioModeChangeListener(ctx context.Context, listener IHdmiSystemAudioModeChangeListener) error
	RemoveSystemAudioModeChangeListener(ctx context.Context, listener IHdmiSystemAudioModeChangeListener) error
	SetArcMode(ctx context.Context, enabled bool) error
	SetProhibitMode(ctx context.Context, enabled bool) error
	SetSystemAudioVolume(ctx context.Context, oldIndex int32, newIndex int32, maxIndex int32) error
	SetSystemAudioMute(ctx context.Context, mute bool) error
	SetInputChangeListener(ctx context.Context, listener IHdmiInputChangeListener) error
	GetInputDevices(ctx context.Context) ([]HdmiDeviceInfo, error)
	GetDeviceList(ctx context.Context) ([]HdmiDeviceInfo, error)
	PowerOffRemoteDevice(ctx context.Context, logicalAddress int32, powerStatus int32) error
	PowerOnRemoteDevice(ctx context.Context, logicalAddress int32, powerStatus int32) error
	AskRemoteDeviceToBecomeActiveSource(ctx context.Context, physicalAddress int32) error
	SendVendorCommand(ctx context.Context, deviceType int32, targetAddress int32, params []byte, hasVendorId bool) error
	AddVendorCommandListener(ctx context.Context, listener IHdmiVendorCommandListener, vendorId int32) error
	SendStandby(ctx context.Context, deviceType int32, deviceId int32) error
	SetHdmiRecordListener(ctx context.Context, callback IHdmiRecordListener) error
	StartOneTouchRecord(ctx context.Context, recorderAddress int32, recordSource []byte) error
	StopOneTouchRecord(ctx context.Context, recorderAddress int32) error
	StartTimerRecording(ctx context.Context, recorderAddress int32, sourceType int32, recordSource []byte) error
	ClearTimerRecording(ctx context.Context, recorderAddress int32, sourceType int32, recordSource []byte) error
	SendMhlVendorCommand(ctx context.Context, portId int32, offset int32, length int32, data []byte) error
	AddHdmiMhlVendorCommandListener(ctx context.Context, listener IHdmiMhlVendorCommandListener) error
	SetStandbyMode(ctx context.Context, isStandbyModeOn bool) error
	ReportAudioStatus(ctx context.Context, deviceType int32, volume int32, maxVolume int32, isMute bool) error
	SetSystemAudioModeOnForAudioOnlySource(ctx context.Context) error
	SetMessageHistorySize(ctx context.Context, newSize int32) (bool, error)
	GetMessageHistorySize(ctx context.Context) (int32, error)
	AddCecSettingChangeListener(ctx context.Context, name string, listener IHdmiCecSettingChangeListener) error
	RemoveCecSettingChangeListener(ctx context.Context, name string, listener IHdmiCecSettingChangeListener) error
	GetUserCecSettings(ctx context.Context) ([]string, error)
	GetAllowedCecSettingStringValues(ctx context.Context, name string) ([]string, error)
	GetAllowedCecSettingIntValues(ctx context.Context, name string) ([]int32, error)
	GetCecSettingStringValue(ctx context.Context, name string) (string, error)
	SetCecSettingStringValue(ctx context.Context, name string, value string) error
	GetCecSettingIntValue(ctx context.Context, name string) (int32, error)
	SetCecSettingIntValue(ctx context.Context, name string, value int32) error
}

IHdmiControlServiceServer is the server-side interface that user implementations provide to NewHdmiControlServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiControlStatusChangeListener

type IHdmiControlStatusChangeListener interface {
	AsBinder() binder.IBinder
	OnStatusChange(ctx context.Context, isCecEnabled int32, isCecAvailable bool) error
}

func NewHdmiControlStatusChangeListenerStub

func NewHdmiControlStatusChangeListenerStub(
	impl IHdmiControlStatusChangeListenerServer,
) IHdmiControlStatusChangeListener

NewHdmiControlStatusChangeListenerStub creates a server-side IHdmiControlStatusChangeListener wrapping the given server implementation. The returned value satisfies IHdmiControlStatusChangeListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiControlStatusChangeListenerServer

type IHdmiControlStatusChangeListenerServer interface {
	OnStatusChange(ctx context.Context, isCecEnabled int32, isCecAvailable bool) error
}

IHdmiControlStatusChangeListenerServer is the server-side interface that user implementations provide to NewHdmiControlStatusChangeListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiDeviceEventListener

type IHdmiDeviceEventListener interface {
	AsBinder() binder.IBinder
	OnStatusChanged(ctx context.Context, deviceInfo HdmiDeviceInfo, status int32) error
}

func NewHdmiDeviceEventListenerStub

func NewHdmiDeviceEventListenerStub(
	impl IHdmiDeviceEventListenerServer,
) IHdmiDeviceEventListener

NewHdmiDeviceEventListenerStub creates a server-side IHdmiDeviceEventListener wrapping the given server implementation. The returned value satisfies IHdmiDeviceEventListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiDeviceEventListenerServer

type IHdmiDeviceEventListenerServer interface {
	OnStatusChanged(ctx context.Context, deviceInfo HdmiDeviceInfo, status int32) error
}

IHdmiDeviceEventListenerServer is the server-side interface that user implementations provide to NewHdmiDeviceEventListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiHotplugEventListener

type IHdmiHotplugEventListener interface {
	AsBinder() binder.IBinder
	OnReceived(ctx context.Context, event HdmiHotplugEvent) error
}

func NewHdmiHotplugEventListenerStub

func NewHdmiHotplugEventListenerStub(
	impl IHdmiHotplugEventListenerServer,
) IHdmiHotplugEventListener

NewHdmiHotplugEventListenerStub creates a server-side IHdmiHotplugEventListener wrapping the given server implementation. The returned value satisfies IHdmiHotplugEventListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiHotplugEventListenerServer

type IHdmiHotplugEventListenerServer interface {
	OnReceived(ctx context.Context, event HdmiHotplugEvent) error
}

IHdmiHotplugEventListenerServer is the server-side interface that user implementations provide to NewHdmiHotplugEventListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiInputChangeListener

type IHdmiInputChangeListener interface {
	AsBinder() binder.IBinder
	OnChanged(ctx context.Context, device HdmiDeviceInfo) error
}

func NewHdmiInputChangeListenerStub

func NewHdmiInputChangeListenerStub(
	impl IHdmiInputChangeListenerServer,
) IHdmiInputChangeListener

NewHdmiInputChangeListenerStub creates a server-side IHdmiInputChangeListener wrapping the given server implementation. The returned value satisfies IHdmiInputChangeListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiInputChangeListenerServer

type IHdmiInputChangeListenerServer interface {
	OnChanged(ctx context.Context, device HdmiDeviceInfo) error
}

IHdmiInputChangeListenerServer is the server-side interface that user implementations provide to NewHdmiInputChangeListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiMhlVendorCommandListener

type IHdmiMhlVendorCommandListener interface {
	AsBinder() binder.IBinder
	OnReceived(ctx context.Context, portId int32, offset int32, length int32, data []byte) error
}

func NewHdmiMhlVendorCommandListenerStub

func NewHdmiMhlVendorCommandListenerStub(
	impl IHdmiMhlVendorCommandListenerServer,
) IHdmiMhlVendorCommandListener

NewHdmiMhlVendorCommandListenerStub creates a server-side IHdmiMhlVendorCommandListener wrapping the given server implementation. The returned value satisfies IHdmiMhlVendorCommandListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiMhlVendorCommandListenerServer

type IHdmiMhlVendorCommandListenerServer interface {
	OnReceived(ctx context.Context, portId int32, offset int32, length int32, data []byte) error
}

IHdmiMhlVendorCommandListenerServer is the server-side interface that user implementations provide to NewHdmiMhlVendorCommandListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiRecordListener

type IHdmiRecordListener interface {
	AsBinder() binder.IBinder
	GetOneTouchRecordSource(ctx context.Context, recorderAddress int32) ([]byte, error)
	OnOneTouchRecordResult(ctx context.Context, recorderAddress int32, result int32) error
	OnTimerRecordingResult(ctx context.Context, recorderAddress int32, result int32) error
	OnClearTimerRecordingResult(ctx context.Context, recorderAddress int32, result int32) error
}

func NewHdmiRecordListenerStub

func NewHdmiRecordListenerStub(
	impl IHdmiRecordListenerServer,
) IHdmiRecordListener

NewHdmiRecordListenerStub creates a server-side IHdmiRecordListener wrapping the given server implementation. The returned value satisfies IHdmiRecordListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiRecordListenerServer

type IHdmiRecordListenerServer interface {
	GetOneTouchRecordSource(ctx context.Context, recorderAddress int32) ([]byte, error)
	OnOneTouchRecordResult(ctx context.Context, recorderAddress int32, result int32) error
	OnTimerRecordingResult(ctx context.Context, recorderAddress int32, result int32) error
	OnClearTimerRecordingResult(ctx context.Context, recorderAddress int32, result int32) error
}

IHdmiRecordListenerServer is the server-side interface that user implementations provide to NewHdmiRecordListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiSystemAudioModeChangeListener

type IHdmiSystemAudioModeChangeListener interface {
	AsBinder() binder.IBinder
	OnStatusChanged(ctx context.Context, enabled bool) error
}

func NewHdmiSystemAudioModeChangeListenerStub

func NewHdmiSystemAudioModeChangeListenerStub(
	impl IHdmiSystemAudioModeChangeListenerServer,
) IHdmiSystemAudioModeChangeListener

NewHdmiSystemAudioModeChangeListenerStub creates a server-side IHdmiSystemAudioModeChangeListener wrapping the given server implementation. The returned value satisfies IHdmiSystemAudioModeChangeListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiSystemAudioModeChangeListenerServer

type IHdmiSystemAudioModeChangeListenerServer interface {
	OnStatusChanged(ctx context.Context, enabled bool) error
}

IHdmiSystemAudioModeChangeListenerServer is the server-side interface that user implementations provide to NewHdmiSystemAudioModeChangeListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IHdmiVendorCommandListener

type IHdmiVendorCommandListener interface {
	AsBinder() binder.IBinder
	OnReceived(ctx context.Context, logicalAddress int32, destAddress int32, operands []byte, hasVendorId bool) error
	OnControlStateChanged(ctx context.Context, enabled bool, reason int32) error
}

func NewHdmiVendorCommandListenerStub

func NewHdmiVendorCommandListenerStub(
	impl IHdmiVendorCommandListenerServer,
) IHdmiVendorCommandListener

NewHdmiVendorCommandListenerStub creates a server-side IHdmiVendorCommandListener wrapping the given server implementation. The returned value satisfies IHdmiVendorCommandListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IHdmiVendorCommandListenerServer

type IHdmiVendorCommandListenerServer interface {
	OnReceived(ctx context.Context, logicalAddress int32, destAddress int32, operands []byte, hasVendorId bool) error
	OnControlStateChanged(ctx context.Context, enabled bool, reason int32) error
}

IHdmiVendorCommandListenerServer is the server-side interface that user implementations provide to NewHdmiVendorCommandListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

Jump to

Keyboard shortcuts

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