Documentation
¶
Index ¶
Constants ¶
View Source
const DescriptorIEconomyManager = "android.app.tare.IEconomyManager"
View Source
const (
MethodIEconomyManagerGetEnabledMode = "getEnabledMode"
)
View Source
const (
TransactionIEconomyManagerGetEnabledMode = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EconomyManagerProxy ¶
func NewEconomyManagerProxy ¶
func NewEconomyManagerProxy( remote binder.IBinder, ) *EconomyManagerProxy
func (*EconomyManagerProxy) AsBinder ¶
func (p *EconomyManagerProxy) AsBinder() binder.IBinder
func (*EconomyManagerProxy) GetEnabledMode ¶
func (p *EconomyManagerProxy) GetEnabledMode( ctx context.Context, ) (int32, error)
type EconomyManagerStub ¶
type EconomyManagerStub struct {
Impl IEconomyManager
Transport binder.VersionAwareTransport
}
EconomyManagerStub dispatches incoming binder transactions to a typed IEconomyManager implementation.
func (*EconomyManagerStub) Descriptor ¶
func (s *EconomyManagerStub) Descriptor() string
func (*EconomyManagerStub) OnTransaction ¶
func (s *EconomyManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IEconomyManager ¶
type IEconomyManager interface {
AsBinder() binder.IBinder
GetEnabledMode(ctx context.Context) (int32, error)
}
func NewEconomyManagerStub ¶
func NewEconomyManagerStub( impl IEconomyManagerServer, ) IEconomyManager
NewEconomyManagerStub creates a server-side IEconomyManager wrapping the given server implementation. The returned value satisfies IEconomyManager 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 IEconomyManagerServer ¶
IEconomyManagerServer is the server-side interface that user implementations provide to NewEconomyManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
Click to show internal directories.
Click to hide internal directories.