Documentation
¶
Index ¶
Constants ¶
View Source
const DescriptorIPinnerService = "android.app.pinner.IPinnerService"
View Source
const (
MethodIPinnerServiceGetPinnerStats = "getPinnerStats"
)
View Source
const (
TransactionIPinnerServiceGetPinnerStats = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPinnerService ¶
type IPinnerService interface {
AsBinder() binder.IBinder
GetPinnerStats(ctx context.Context) ([]PinnedFileStat, error)
}
func NewPinnerServiceStub ¶
func NewPinnerServiceStub( impl IPinnerServiceServer, ) IPinnerService
NewPinnerServiceStub creates a server-side IPinnerService wrapping the given server implementation. The returned value satisfies IPinnerService 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 IPinnerServiceServer ¶
type IPinnerServiceServer interface {
GetPinnerStats(ctx context.Context) ([]PinnedFileStat, error)
}
IPinnerServiceServer is the server-side interface that user implementations provide to NewPinnerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type PinnedFileStat ¶
func (*PinnedFileStat) MarshalParcel ¶
func (s *PinnedFileStat) MarshalParcel( p *parcel.Parcel, ) error
func (*PinnedFileStat) UnmarshalParcel ¶
func (s *PinnedFileStat) UnmarshalParcel( p *parcel.Parcel, ) error
type PinnerServiceProxy ¶
func NewPinnerServiceProxy ¶
func NewPinnerServiceProxy( remote binder.IBinder, ) *PinnerServiceProxy
func (*PinnerServiceProxy) AsBinder ¶
func (p *PinnerServiceProxy) AsBinder() binder.IBinder
func (*PinnerServiceProxy) GetPinnerStats ¶
func (p *PinnerServiceProxy) GetPinnerStats( ctx context.Context, ) ([]PinnedFileStat, error)
type PinnerServiceStub ¶
type PinnerServiceStub struct {
Impl IPinnerService
Transport binder.VersionAwareTransport
}
PinnerServiceStub dispatches incoming binder transactions to a typed IPinnerService implementation.
func (*PinnerServiceStub) Descriptor ¶
func (s *PinnerServiceStub) Descriptor() string
func (*PinnerServiceStub) OnTransaction ¶
func (s *PinnerServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
Click to show internal directories.
Click to hide internal directories.