Documentation
¶
Index ¶
- Constants
- type HdmiCecSettingChangeListenerProxy
- type HdmiCecSettingChangeListenerStub
- type HdmiCecVolumeControlFeatureListenerProxy
- type HdmiCecVolumeControlFeatureListenerStub
- type HdmiControlCallbackProxy
- type HdmiControlCallbackStub
- type HdmiControlServiceProxy
- func (p *HdmiControlServiceProxy) AddCecSettingChangeListener(ctx context.Context, name string, listener IHdmiCecSettingChangeListener) error
- func (p *HdmiControlServiceProxy) AddDeviceEventListener(ctx context.Context, listener IHdmiDeviceEventListener) error
- func (p *HdmiControlServiceProxy) AddHdmiCecVolumeControlFeatureListener(ctx context.Context, listener IHdmiCecVolumeControlFeatureListener) error
- func (p *HdmiControlServiceProxy) AddHdmiControlStatusChangeListener(ctx context.Context, listener IHdmiControlStatusChangeListener) error
- func (p *HdmiControlServiceProxy) AddHdmiMhlVendorCommandListener(ctx context.Context, listener IHdmiMhlVendorCommandListener) error
- func (p *HdmiControlServiceProxy) AddHotplugEventListener(ctx context.Context, listener IHdmiHotplugEventListener) error
- func (p *HdmiControlServiceProxy) AddSystemAudioModeChangeListener(ctx context.Context, listener IHdmiSystemAudioModeChangeListener) error
- func (p *HdmiControlServiceProxy) AddVendorCommandListener(ctx context.Context, listener IHdmiVendorCommandListener, vendorId int32) error
- func (p *HdmiControlServiceProxy) AsBinder() binder.IBinder
- func (p *HdmiControlServiceProxy) AskRemoteDeviceToBecomeActiveSource(ctx context.Context, physicalAddress int32) error
- func (p *HdmiControlServiceProxy) CanChangeSystemAudioMode(ctx context.Context) (bool, error)
- func (p *HdmiControlServiceProxy) ClearTimerRecording(ctx context.Context, recorderAddress int32, sourceType int32, ...) error
- func (p *HdmiControlServiceProxy) DeviceSelect(ctx context.Context, deviceId int32, callback IHdmiControlCallback) error
- func (p *HdmiControlServiceProxy) GetActiveSource(ctx context.Context) (HdmiDeviceInfo, error)
- func (p *HdmiControlServiceProxy) GetAllowedCecSettingIntValues(ctx context.Context, name string) ([]int32, error)
- func (p *HdmiControlServiceProxy) GetAllowedCecSettingStringValues(ctx context.Context, name string) ([]string, error)
- func (p *HdmiControlServiceProxy) GetCecSettingIntValue(ctx context.Context, name string) (int32, error)
- func (p *HdmiControlServiceProxy) GetCecSettingStringValue(ctx context.Context, name string) (string, error)
- func (p *HdmiControlServiceProxy) GetDeviceList(ctx context.Context) ([]HdmiDeviceInfo, error)
- func (p *HdmiControlServiceProxy) GetInputDevices(ctx context.Context) ([]HdmiDeviceInfo, error)
- func (p *HdmiControlServiceProxy) GetMessageHistorySize(ctx context.Context) (int32, error)
- func (p *HdmiControlServiceProxy) GetPhysicalAddress(ctx context.Context) (int32, error)
- func (p *HdmiControlServiceProxy) GetPortInfo(ctx context.Context) ([]HdmiPortInfo, error)
- func (p *HdmiControlServiceProxy) GetSupportedTypes(ctx context.Context) ([]int32, error)
- func (p *HdmiControlServiceProxy) GetSystemAudioMode(ctx context.Context) (bool, error)
- func (p *HdmiControlServiceProxy) GetUserCecSettings(ctx context.Context) ([]string, error)
- func (p *HdmiControlServiceProxy) OneTouchPlay(ctx context.Context, callback IHdmiControlCallback) error
- func (p *HdmiControlServiceProxy) PortSelect(ctx context.Context, portId int32, callback IHdmiControlCallback) error
- func (p *HdmiControlServiceProxy) PowerOffRemoteDevice(ctx context.Context, logicalAddress int32, powerStatus int32) error
- func (p *HdmiControlServiceProxy) PowerOnRemoteDevice(ctx context.Context, logicalAddress int32, powerStatus int32) error
- func (p *HdmiControlServiceProxy) QueryDisplayStatus(ctx context.Context, callback IHdmiControlCallback) error
- func (p *HdmiControlServiceProxy) RemoveCecSettingChangeListener(ctx context.Context, name string, listener IHdmiCecSettingChangeListener) error
- func (p *HdmiControlServiceProxy) RemoveHdmiCecVolumeControlFeatureListener(ctx context.Context, listener IHdmiCecVolumeControlFeatureListener) error
- func (p *HdmiControlServiceProxy) RemoveHdmiControlStatusChangeListener(ctx context.Context, listener IHdmiControlStatusChangeListener) error
- func (p *HdmiControlServiceProxy) RemoveHotplugEventListener(ctx context.Context, listener IHdmiHotplugEventListener) error
- func (p *HdmiControlServiceProxy) RemoveSystemAudioModeChangeListener(ctx context.Context, listener IHdmiSystemAudioModeChangeListener) error
- func (p *HdmiControlServiceProxy) ReportAudioStatus(ctx context.Context, deviceType int32, volume int32, maxVolume int32, ...) error
- func (p *HdmiControlServiceProxy) SendKeyEvent(ctx context.Context, deviceType int32, keyCode int32, isPressed bool) error
- func (p *HdmiControlServiceProxy) SendMhlVendorCommand(ctx context.Context, portId int32, offset int32, length int32, data []byte) error
- func (p *HdmiControlServiceProxy) SendStandby(ctx context.Context, deviceType int32, deviceId int32) error
- func (p *HdmiControlServiceProxy) SendVendorCommand(ctx context.Context, deviceType int32, targetAddress int32, params []byte, ...) error
- func (p *HdmiControlServiceProxy) SendVolumeKeyEvent(ctx context.Context, deviceType int32, keyCode int32, isPressed bool) error
- func (p *HdmiControlServiceProxy) SetArcMode(ctx context.Context, enabled bool) error
- func (p *HdmiControlServiceProxy) SetCecSettingIntValue(ctx context.Context, name string, value int32) error
- func (p *HdmiControlServiceProxy) SetCecSettingStringValue(ctx context.Context, name string, value string) error
- func (p *HdmiControlServiceProxy) SetHdmiRecordListener(ctx context.Context, callback IHdmiRecordListener) error
- func (p *HdmiControlServiceProxy) SetInputChangeListener(ctx context.Context, listener IHdmiInputChangeListener) error
- func (p *HdmiControlServiceProxy) SetMessageHistorySize(ctx context.Context, newSize int32) (bool, error)
- func (p *HdmiControlServiceProxy) SetProhibitMode(ctx context.Context, enabled bool) error
- func (p *HdmiControlServiceProxy) SetStandbyMode(ctx context.Context, isStandbyModeOn bool) error
- func (p *HdmiControlServiceProxy) SetSystemAudioMode(ctx context.Context, enabled bool, callback IHdmiControlCallback) error
- func (p *HdmiControlServiceProxy) SetSystemAudioModeOnForAudioOnlySource(ctx context.Context) error
- func (p *HdmiControlServiceProxy) SetSystemAudioMute(ctx context.Context, mute bool) error
- func (p *HdmiControlServiceProxy) SetSystemAudioVolume(ctx context.Context, oldIndex int32, newIndex int32, maxIndex int32) error
- func (p *HdmiControlServiceProxy) ShouldHandleTvPowerKey(ctx context.Context) (bool, error)
- func (p *HdmiControlServiceProxy) StartOneTouchRecord(ctx context.Context, recorderAddress int32, recordSource []byte) error
- func (p *HdmiControlServiceProxy) StartTimerRecording(ctx context.Context, recorderAddress int32, sourceType int32, ...) error
- func (p *HdmiControlServiceProxy) StopOneTouchRecord(ctx context.Context, recorderAddress int32) error
- func (p *HdmiControlServiceProxy) ToggleAndFollowTvPower(ctx context.Context) error
- type HdmiControlServiceStub
- type HdmiControlStatusChangeListenerProxy
- type HdmiControlStatusChangeListenerStub
- type HdmiDeviceEventListenerProxy
- type HdmiDeviceEventListenerStub
- type HdmiDeviceInfo
- type HdmiHotplugEvent
- type HdmiHotplugEventListenerProxy
- type HdmiHotplugEventListenerStub
- type HdmiInputChangeListenerProxy
- type HdmiInputChangeListenerStub
- type HdmiMhlVendorCommandListenerProxy
- type HdmiMhlVendorCommandListenerStub
- type HdmiPortInfo
- type HdmiRecordListenerProxy
- func (p *HdmiRecordListenerProxy) AsBinder() binder.IBinder
- func (p *HdmiRecordListenerProxy) GetOneTouchRecordSource(ctx context.Context, recorderAddress int32) ([]byte, error)
- func (p *HdmiRecordListenerProxy) OnClearTimerRecordingResult(ctx context.Context, recorderAddress int32, result int32) error
- func (p *HdmiRecordListenerProxy) OnOneTouchRecordResult(ctx context.Context, recorderAddress int32, result int32) error
- func (p *HdmiRecordListenerProxy) OnTimerRecordingResult(ctx context.Context, recorderAddress int32, result int32) error
- type HdmiRecordListenerStub
- type HdmiSystemAudioModeChangeListenerProxy
- type HdmiSystemAudioModeChangeListenerStub
- type HdmiVendorCommandListenerProxy
- func (p *HdmiVendorCommandListenerProxy) AsBinder() binder.IBinder
- func (p *HdmiVendorCommandListenerProxy) OnControlStateChanged(ctx context.Context, enabled bool, reason int32) error
- func (p *HdmiVendorCommandListenerProxy) OnReceived(ctx context.Context, logicalAddress int32, destAddress int32, operands []byte, ...) error
- type HdmiVendorCommandListenerStub
- type IHdmiCecSettingChangeListener
- type IHdmiCecSettingChangeListenerServer
- type IHdmiCecVolumeControlFeatureListener
- type IHdmiCecVolumeControlFeatureListenerServer
- type IHdmiControlCallback
- type IHdmiControlCallbackServer
- type IHdmiControlService
- type IHdmiControlServiceServer
- type IHdmiControlStatusChangeListener
- type IHdmiControlStatusChangeListenerServer
- type IHdmiDeviceEventListener
- type IHdmiDeviceEventListenerServer
- type IHdmiHotplugEventListener
- type IHdmiHotplugEventListenerServer
- type IHdmiInputChangeListener
- type IHdmiInputChangeListenerServer
- type IHdmiMhlVendorCommandListener
- type IHdmiMhlVendorCommandListenerServer
- type IHdmiRecordListener
- type IHdmiRecordListenerServer
- type IHdmiSystemAudioModeChangeListener
- type IHdmiSystemAudioModeChangeListenerServer
- type IHdmiVendorCommandListener
- type IHdmiVendorCommandListenerServer
Constants ¶
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 )
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" )
const ( TransactionIHdmiRecordListenerGetOneTouchRecordSource = binder.FirstCallTransaction + 0 TransactionIHdmiRecordListenerOnOneTouchRecordResult = binder.FirstCallTransaction + 1 TransactionIHdmiRecordListenerOnTimerRecordingResult = binder.FirstCallTransaction + 2 TransactionIHdmiRecordListenerOnClearTimerRecordingResult = binder.FirstCallTransaction + 3 )
const ( MethodIHdmiRecordListenerGetOneTouchRecordSource = "getOneTouchRecordSource" MethodIHdmiRecordListenerOnOneTouchRecordResult = "onOneTouchRecordResult" MethodIHdmiRecordListenerOnTimerRecordingResult = "onTimerRecordingResult" MethodIHdmiRecordListenerOnClearTimerRecordingResult = "onClearTimerRecordingResult" )
const ( TransactionIHdmiVendorCommandListenerOnReceived = binder.FirstCallTransaction + 0 TransactionIHdmiVendorCommandListenerOnControlStateChanged = binder.FirstCallTransaction + 1 )
const ( MethodIHdmiVendorCommandListenerOnReceived = "onReceived" MethodIHdmiVendorCommandListenerOnControlStateChanged = "onControlStateChanged" )
const DescriptorIHdmiCecSettingChangeListener = "android.hardware.hdmi.IHdmiCecSettingChangeListener"
const DescriptorIHdmiCecVolumeControlFeatureListener = "android.hardware.hdmi.IHdmiCecVolumeControlFeatureListener"
const DescriptorIHdmiControlCallback = "android.hardware.hdmi.IHdmiControlCallback"
const DescriptorIHdmiControlService = "android.hardware.hdmi.IHdmiControlService"
const DescriptorIHdmiControlStatusChangeListener = "android.hardware.hdmi.IHdmiControlStatusChangeListener"
const DescriptorIHdmiDeviceEventListener = "android.hardware.hdmi.IHdmiDeviceEventListener"
const DescriptorIHdmiHotplugEventListener = "android.hardware.hdmi.IHdmiHotplugEventListener"
const DescriptorIHdmiInputChangeListener = "android.hardware.hdmi.IHdmiInputChangeListener"
const DescriptorIHdmiMhlVendorCommandListener = "android.hardware.hdmi.IHdmiMhlVendorCommandListener"
const DescriptorIHdmiRecordListener = "android.hardware.hdmi.IHdmiRecordListener"
const DescriptorIHdmiSystemAudioModeChangeListener = "android.hardware.hdmi.IHdmiSystemAudioModeChangeListener"
const DescriptorIHdmiVendorCommandListener = "android.hardware.hdmi.IHdmiVendorCommandListener"
const (
MethodIHdmiCecSettingChangeListenerOnChange = "onChange"
)
const (
MethodIHdmiCecVolumeControlFeatureListenerOnHdmiCecVolumeControlFeature = "onHdmiCecVolumeControlFeature"
)
const (
MethodIHdmiControlCallbackOnComplete = "onComplete"
)
const (
MethodIHdmiControlStatusChangeListenerOnStatusChange = "onStatusChange"
)
const (
MethodIHdmiDeviceEventListenerOnStatusChanged = "onStatusChanged"
)
const (
MethodIHdmiHotplugEventListenerOnReceived = "onReceived"
)
const (
MethodIHdmiInputChangeListenerOnChanged = "onChanged"
)
const (
MethodIHdmiMhlVendorCommandListenerOnReceived = "onReceived"
)
const (
MethodIHdmiSystemAudioModeChangeListenerOnStatusChanged = "onStatusChanged"
)
const (
TransactionIHdmiCecSettingChangeListenerOnChange = binder.FirstCallTransaction + 0
)
const (
TransactionIHdmiCecVolumeControlFeatureListenerOnHdmiCecVolumeControlFeature = binder.FirstCallTransaction + 0
)
const (
TransactionIHdmiControlCallbackOnComplete = binder.FirstCallTransaction + 0
)
const (
TransactionIHdmiControlStatusChangeListenerOnStatusChange = binder.FirstCallTransaction + 0
)
const (
TransactionIHdmiDeviceEventListenerOnStatusChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIHdmiHotplugEventListenerOnReceived = binder.FirstCallTransaction + 0
)
const (
TransactionIHdmiInputChangeListenerOnChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIHdmiMhlVendorCommandListenerOnReceived = binder.FirstCallTransaction + 0
)
const (
TransactionIHdmiSystemAudioModeChangeListenerOnStatusChanged = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HdmiCecSettingChangeListenerProxy ¶
func NewHdmiCecSettingChangeListenerProxy ¶
func NewHdmiCecSettingChangeListenerProxy( remote binder.IBinder, ) *HdmiCecSettingChangeListenerProxy
func (*HdmiCecSettingChangeListenerProxy) AsBinder ¶
func (p *HdmiCecSettingChangeListenerProxy) AsBinder() binder.IBinder
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 ¶
func (s *HdmiCecSettingChangeListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HdmiCecVolumeControlFeatureListenerProxy ¶
func NewHdmiCecVolumeControlFeatureListenerProxy ¶
func NewHdmiCecVolumeControlFeatureListenerProxy( remote binder.IBinder, ) *HdmiCecVolumeControlFeatureListenerProxy
func (*HdmiCecVolumeControlFeatureListenerProxy) AsBinder ¶
func (p *HdmiCecVolumeControlFeatureListenerProxy) AsBinder() binder.IBinder
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 (s *HdmiCecVolumeControlFeatureListenerStub) Descriptor() string
func (*HdmiCecVolumeControlFeatureListenerStub) OnTransaction ¶
func (s *HdmiCecVolumeControlFeatureListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HdmiControlCallbackProxy ¶
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 ¶
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 (*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 (*HdmiControlServiceProxy) GetAllowedCecSettingStringValues ¶
func (*HdmiControlServiceProxy) GetCecSettingIntValue ¶
func (*HdmiControlServiceProxy) GetCecSettingStringValue ¶
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 (*HdmiControlServiceProxy) PowerOnRemoteDevice ¶
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 (*HdmiControlServiceProxy) SendKeyEvent ¶
func (*HdmiControlServiceProxy) SendMhlVendorCommand ¶
func (*HdmiControlServiceProxy) SendStandby ¶
func (*HdmiControlServiceProxy) SendVendorCommand ¶
func (*HdmiControlServiceProxy) SendVolumeKeyEvent ¶
func (*HdmiControlServiceProxy) SetArcMode ¶
func (p *HdmiControlServiceProxy) SetArcMode( ctx context.Context, enabled bool, ) error
func (*HdmiControlServiceProxy) SetCecSettingIntValue ¶
func (*HdmiControlServiceProxy) SetCecSettingStringValue ¶
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 (*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 (*HdmiControlServiceProxy) ShouldHandleTvPowerKey ¶
func (p *HdmiControlServiceProxy) ShouldHandleTvPowerKey( ctx context.Context, ) (bool, error)
func (*HdmiControlServiceProxy) StartOneTouchRecord ¶
func (*HdmiControlServiceProxy) StartTimerRecording ¶
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 ¶
func NewHdmiControlStatusChangeListenerProxy ¶
func NewHdmiControlStatusChangeListenerProxy( remote binder.IBinder, ) *HdmiControlStatusChangeListenerProxy
func (*HdmiControlStatusChangeListenerProxy) AsBinder ¶
func (p *HdmiControlStatusChangeListenerProxy) AsBinder() binder.IBinder
func (*HdmiControlStatusChangeListenerProxy) OnStatusChange ¶
type HdmiControlStatusChangeListenerStub ¶
type HdmiControlStatusChangeListenerStub struct {
Impl IHdmiControlStatusChangeListener
Transport binder.VersionAwareTransport
}
HdmiControlStatusChangeListenerStub dispatches incoming binder transactions to a typed IHdmiControlStatusChangeListener implementation.
func (*HdmiControlStatusChangeListenerStub) Descriptor ¶
func (s *HdmiControlStatusChangeListenerStub) Descriptor() string
func (*HdmiControlStatusChangeListenerStub) OnTransaction ¶
func (s *HdmiControlStatusChangeListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HdmiDeviceEventListenerProxy ¶
func NewHdmiDeviceEventListenerProxy ¶
func NewHdmiDeviceEventListenerProxy( remote binder.IBinder, ) *HdmiDeviceEventListenerProxy
func (*HdmiDeviceEventListenerProxy) AsBinder ¶
func (p *HdmiDeviceEventListenerProxy) AsBinder() binder.IBinder
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 ¶
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 ¶
func NewHdmiHotplugEventListenerProxy ¶
func NewHdmiHotplugEventListenerProxy( remote binder.IBinder, ) *HdmiHotplugEventListenerProxy
func (*HdmiHotplugEventListenerProxy) AsBinder ¶
func (p *HdmiHotplugEventListenerProxy) AsBinder() binder.IBinder
func (*HdmiHotplugEventListenerProxy) OnReceived ¶
func (p *HdmiHotplugEventListenerProxy) OnReceived( ctx context.Context, event HdmiHotplugEvent, ) error
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 ¶
func (s *HdmiHotplugEventListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HdmiInputChangeListenerProxy ¶
func NewHdmiInputChangeListenerProxy ¶
func NewHdmiInputChangeListenerProxy( remote binder.IBinder, ) *HdmiInputChangeListenerProxy
func (*HdmiInputChangeListenerProxy) AsBinder ¶
func (p *HdmiInputChangeListenerProxy) AsBinder() binder.IBinder
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 ¶
func NewHdmiMhlVendorCommandListenerProxy ¶
func NewHdmiMhlVendorCommandListenerProxy( remote binder.IBinder, ) *HdmiMhlVendorCommandListenerProxy
func (*HdmiMhlVendorCommandListenerProxy) AsBinder ¶
func (p *HdmiMhlVendorCommandListenerProxy) AsBinder() binder.IBinder
func (*HdmiMhlVendorCommandListenerProxy) OnReceived ¶
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 ¶
func (s *HdmiMhlVendorCommandListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HdmiPortInfo ¶
func (*HdmiPortInfo) MarshalParcel ¶
func (s *HdmiPortInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*HdmiPortInfo) UnmarshalParcel ¶
func (s *HdmiPortInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type HdmiRecordListenerProxy ¶
func NewHdmiRecordListenerProxy ¶
func NewHdmiRecordListenerProxy( remote binder.IBinder, ) *HdmiRecordListenerProxy
func (*HdmiRecordListenerProxy) AsBinder ¶
func (p *HdmiRecordListenerProxy) AsBinder() binder.IBinder
func (*HdmiRecordListenerProxy) GetOneTouchRecordSource ¶
func (*HdmiRecordListenerProxy) OnClearTimerRecordingResult ¶
func (*HdmiRecordListenerProxy) OnOneTouchRecordResult ¶
func (*HdmiRecordListenerProxy) OnTimerRecordingResult ¶
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 ¶
func NewHdmiSystemAudioModeChangeListenerProxy ¶
func NewHdmiSystemAudioModeChangeListenerProxy( remote binder.IBinder, ) *HdmiSystemAudioModeChangeListenerProxy
func (*HdmiSystemAudioModeChangeListenerProxy) AsBinder ¶
func (p *HdmiSystemAudioModeChangeListenerProxy) AsBinder() binder.IBinder
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 (s *HdmiSystemAudioModeChangeListenerStub) Descriptor() string
func (*HdmiSystemAudioModeChangeListenerStub) OnTransaction ¶
func (s *HdmiSystemAudioModeChangeListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HdmiVendorCommandListenerProxy ¶
func NewHdmiVendorCommandListenerProxy ¶
func NewHdmiVendorCommandListenerProxy( remote binder.IBinder, ) *HdmiVendorCommandListenerProxy
func (*HdmiVendorCommandListenerProxy) AsBinder ¶
func (p *HdmiVendorCommandListenerProxy) AsBinder() binder.IBinder
func (*HdmiVendorCommandListenerProxy) OnControlStateChanged ¶
func (*HdmiVendorCommandListenerProxy) OnReceived ¶
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 ¶
func (s *HdmiVendorCommandListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
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 ¶
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).
Source Files
¶
- get_hdmi_control.go
- hdmideviceinfo.go
- hdmihotplugevent.go
- hdmiportinfo.go
- ihdmicecsettingchangelistener.go
- ihdmicecvolumecontrolfeaturelistener.go
- ihdmicontrolcallback.go
- ihdmicontrolservice.go
- ihdmicontrolstatuschangelistener.go
- ihdmideviceeventlistener.go
- ihdmihotplugeventlistener.go
- ihdmiinputchangelistener.go
- ihdmimhlvendorcommandlistener.go
- ihdmirecordlistener.go
- ihdmisystemaudiomodechangelistener.go
- ihdmivendorcommandlistener.go