Documentation
¶
Index ¶
Constants ¶
View Source
const DescriptorISoundDoseFactory = "android.hardware.audio.sounddose.ISoundDoseFactory"
View Source
const (
MethodISoundDoseFactoryGetSoundDose = "getSoundDose"
)
View Source
const (
TransactionISoundDoseFactoryGetSoundDose = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISoundDoseFactory ¶
type ISoundDoseFactory interface {
AsBinder() binder.IBinder
GetSoundDose(ctx context.Context, module string) (coreSounddose.ISoundDose, error)
}
func NewSoundDoseFactoryStub ¶
func NewSoundDoseFactoryStub( impl ISoundDoseFactoryServer, ) ISoundDoseFactory
NewSoundDoseFactoryStub creates a server-side ISoundDoseFactory wrapping the given server implementation. The returned value satisfies ISoundDoseFactory 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 ISoundDoseFactoryServer ¶
type ISoundDoseFactoryServer interface {
GetSoundDose(ctx context.Context, module string) (coreSounddose.ISoundDose, error)
}
ISoundDoseFactoryServer is the server-side interface that user implementations provide to NewSoundDoseFactoryStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type SoundDoseFactoryProxy ¶
func NewSoundDoseFactoryProxy ¶
func NewSoundDoseFactoryProxy( remote binder.IBinder, ) *SoundDoseFactoryProxy
func (*SoundDoseFactoryProxy) AsBinder ¶
func (p *SoundDoseFactoryProxy) AsBinder() binder.IBinder
func (*SoundDoseFactoryProxy) GetSoundDose ¶
func (p *SoundDoseFactoryProxy) GetSoundDose( ctx context.Context, module string, ) (coreSounddose.ISoundDose, error)
type SoundDoseFactoryStub ¶
type SoundDoseFactoryStub struct {
Impl ISoundDoseFactory
Transport binder.VersionAwareTransport
}
SoundDoseFactoryStub dispatches incoming binder transactions to a typed ISoundDoseFactory implementation.
func (*SoundDoseFactoryStub) Descriptor ¶
func (s *SoundDoseFactoryStub) Descriptor() string
func (*SoundDoseFactoryStub) OnTransaction ¶
func (s *SoundDoseFactoryStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
Click to show internal directories.
Click to hide internal directories.