Documentation
¶
Index ¶
Constants ¶
View Source
const DescriptorIFoo = "com.google.android.lint.integration_tests.IFoo"
View Source
const (
MethodIFooMethod = "Method"
)
View Source
const (
TransactionIFooMethod = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FooProxy ¶
func NewFooProxy ¶
type FooStub ¶
type FooStub struct {
Impl IFoo
Transport binder.VersionAwareTransport
}
FooStub dispatches incoming binder transactions to a typed IFoo implementation.
func (*FooStub) Descriptor ¶
type IFoo ¶
func NewFooStub ¶
func NewFooStub( impl IFooServer, ) IFoo
NewFooStub creates a server-side IFoo wrapping the given server implementation. The returned value satisfies IFoo 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 IFooServer ¶
IFooServer is the server-side interface that user implementations provide to NewFooStub. 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.