Documentation
¶
Index ¶
- Constants
- type HalAdapterVendorExtensionProxy
- func (p *HalAdapterVendorExtensionProxy) AsBinder() binder.IBinder
- func (p *HalAdapterVendorExtensionProxy) ParseBluetoothA2dpReconfigureOffload(ctx context.Context, rawValue string) ([]core.VendorParameter, error)
- func (p *HalAdapterVendorExtensionProxy) ParseBluetoothLeReconfigureOffload(ctx context.Context, rawValue string) ([]core.VendorParameter, error)
- func (p *HalAdapterVendorExtensionProxy) ParseVendorParameterIds(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, ...) ([]string, error)
- func (p *HalAdapterVendorExtensionProxy) ParseVendorParameters(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, ...) error
- func (p *HalAdapterVendorExtensionProxy) ProcessVendorParameters(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, ...) (string, error)
- type HalAdapterVendorExtensionStub
- type IHalAdapterVendorExtension
- type IHalAdapterVendorExtensionParameterScope
- type IHalAdapterVendorExtensionServer
Constants ¶
const ( TransactionIHalAdapterVendorExtensionParseVendorParameterIds = binder.FirstCallTransaction + 0 TransactionIHalAdapterVendorExtensionParseVendorParameters = binder.FirstCallTransaction + 1 TransactionIHalAdapterVendorExtensionParseBluetoothA2dpReconfigureOffload = binder.FirstCallTransaction + 2 TransactionIHalAdapterVendorExtensionParseBluetoothLeReconfigureOffload = binder.FirstCallTransaction + 3 TransactionIHalAdapterVendorExtensionProcessVendorParameters = binder.FirstCallTransaction + 4 )
const ( MethodIHalAdapterVendorExtensionParseVendorParameterIds = "parseVendorParameterIds" MethodIHalAdapterVendorExtensionParseVendorParameters = "parseVendorParameters" MethodIHalAdapterVendorExtensionParseBluetoothA2dpReconfigureOffload = "parseBluetoothA2dpReconfigureOffload" MethodIHalAdapterVendorExtensionParseBluetoothLeReconfigureOffload = "parseBluetoothLeReconfigureOffload" MethodIHalAdapterVendorExtensionProcessVendorParameters = "processVendorParameters" )
const DescriptorIHalAdapterVendorExtension = "android.media.audio.IHalAdapterVendorExtension"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HalAdapterVendorExtensionProxy ¶
func NewHalAdapterVendorExtensionProxy ¶
func NewHalAdapterVendorExtensionProxy( remote binder.IBinder, ) *HalAdapterVendorExtensionProxy
func (*HalAdapterVendorExtensionProxy) AsBinder ¶
func (p *HalAdapterVendorExtensionProxy) AsBinder() binder.IBinder
func (*HalAdapterVendorExtensionProxy) ParseBluetoothA2dpReconfigureOffload ¶
func (p *HalAdapterVendorExtensionProxy) ParseBluetoothA2dpReconfigureOffload( ctx context.Context, rawValue string, ) ([]core.VendorParameter, error)
func (*HalAdapterVendorExtensionProxy) ParseBluetoothLeReconfigureOffload ¶
func (p *HalAdapterVendorExtensionProxy) ParseBluetoothLeReconfigureOffload( ctx context.Context, rawValue string, ) ([]core.VendorParameter, error)
func (*HalAdapterVendorExtensionProxy) ParseVendorParameterIds ¶
func (p *HalAdapterVendorExtensionProxy) ParseVendorParameterIds( ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, rawKeys string, ) ([]string, error)
func (*HalAdapterVendorExtensionProxy) ParseVendorParameters ¶
func (p *HalAdapterVendorExtensionProxy) ParseVendorParameters( ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, rawKeysAndValues string, syncParameters []core.VendorParameter, asyncParameters []core.VendorParameter, ) error
func (*HalAdapterVendorExtensionProxy) ProcessVendorParameters ¶
func (p *HalAdapterVendorExtensionProxy) ProcessVendorParameters( ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, parameters []core.VendorParameter, ) (string, error)
type HalAdapterVendorExtensionStub ¶
type HalAdapterVendorExtensionStub struct {
Impl IHalAdapterVendorExtension
Transport binder.VersionAwareTransport
}
HalAdapterVendorExtensionStub dispatches incoming binder transactions to a typed IHalAdapterVendorExtension implementation.
func (*HalAdapterVendorExtensionStub) Descriptor ¶
func (s *HalAdapterVendorExtensionStub) Descriptor() string
func (*HalAdapterVendorExtensionStub) OnTransaction ¶
func (s *HalAdapterVendorExtensionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IHalAdapterVendorExtension ¶
type IHalAdapterVendorExtension interface {
AsBinder() binder.IBinder
ParseVendorParameterIds(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, rawKeys string) ([]string, error)
ParseVendorParameters(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, rawKeysAndValues string, syncParameters []core.VendorParameter, asyncParameters []core.VendorParameter) error
ParseBluetoothA2dpReconfigureOffload(ctx context.Context, rawValue string) ([]core.VendorParameter, error)
ParseBluetoothLeReconfigureOffload(ctx context.Context, rawValue string) ([]core.VendorParameter, error)
ProcessVendorParameters(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, parameters []core.VendorParameter) (string, error)
}
func NewHalAdapterVendorExtensionStub ¶
func NewHalAdapterVendorExtensionStub( impl IHalAdapterVendorExtensionServer, ) IHalAdapterVendorExtension
NewHalAdapterVendorExtensionStub creates a server-side IHalAdapterVendorExtension wrapping the given server implementation. The returned value satisfies IHalAdapterVendorExtension 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 IHalAdapterVendorExtensionParameterScope ¶
type IHalAdapterVendorExtensionParameterScope int32
const ( IHalAdapterVendorExtensionParameterScopeMODULE IHalAdapterVendorExtensionParameterScope = 0 IHalAdapterVendorExtensionParameterScopeSTREAM IHalAdapterVendorExtensionParameterScope = 1 )
type IHalAdapterVendorExtensionServer ¶
type IHalAdapterVendorExtensionServer interface {
ParseVendorParameterIds(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, rawKeys string) ([]string, error)
ParseVendorParameters(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, rawKeysAndValues string, syncParameters []core.VendorParameter, asyncParameters []core.VendorParameter) error
ParseBluetoothA2dpReconfigureOffload(ctx context.Context, rawValue string) ([]core.VendorParameter, error)
ParseBluetoothLeReconfigureOffload(ctx context.Context, rawValue string) ([]core.VendorParameter, error)
ProcessVendorParameters(ctx context.Context, scope IHalAdapterVendorExtensionParameterScope, parameters []core.VendorParameter) (string, error)
}
IHalAdapterVendorExtensionServer is the server-side interface that user implementations provide to NewHalAdapterVendorExtensionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).