Documentation
¶
Index ¶
Constants ¶
View Source
const DescriptorIGbaService = "android.telephony.gba.IGbaService"
View Source
const (
MethodIGbaServiceAuthenticationRequest = "authenticationRequest"
)
View Source
const (
TransactionIGbaServiceAuthenticationRequest = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GbaAuthRequest ¶
func (*GbaAuthRequest) MarshalParcel ¶
func (s *GbaAuthRequest) MarshalParcel( p *parcel.Parcel, ) error
func (*GbaAuthRequest) UnmarshalParcel ¶
func (s *GbaAuthRequest) UnmarshalParcel( p *parcel.Parcel, ) error
type GbaServiceProxy ¶
func NewGbaServiceProxy ¶
func NewGbaServiceProxy( remote binder.IBinder, ) *GbaServiceProxy
func (*GbaServiceProxy) AsBinder ¶
func (p *GbaServiceProxy) AsBinder() binder.IBinder
func (*GbaServiceProxy) AuthenticationRequest ¶
func (p *GbaServiceProxy) AuthenticationRequest( ctx context.Context, request GbaAuthRequest, ) error
type GbaServiceStub ¶
type GbaServiceStub struct {
Impl IGbaService
Transport binder.VersionAwareTransport
}
GbaServiceStub dispatches incoming binder transactions to a typed IGbaService implementation.
func (*GbaServiceStub) Descriptor ¶
func (s *GbaServiceStub) Descriptor() string
func (*GbaServiceStub) OnTransaction ¶
func (s *GbaServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IGbaService ¶
type IGbaService interface {
AsBinder() binder.IBinder
AuthenticationRequest(ctx context.Context, request GbaAuthRequest) error
}
func NewGbaServiceStub ¶
func NewGbaServiceStub( impl IGbaServiceServer, ) IGbaService
NewGbaServiceStub creates a server-side IGbaService wrapping the given server implementation. The returned value satisfies IGbaService 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 IGbaServiceServer ¶
type IGbaServiceServer interface {
AuthenticationRequest(ctx context.Context, request GbaAuthRequest) error
}
IGbaServiceServer is the server-side interface that user implementations provide to NewGbaServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type UaSecurityProtocolIdentifier ¶
func (*UaSecurityProtocolIdentifier) MarshalParcel ¶
func (s *UaSecurityProtocolIdentifier) MarshalParcel( p *parcel.Parcel, ) error
func (*UaSecurityProtocolIdentifier) UnmarshalParcel ¶
func (s *UaSecurityProtocolIdentifier) UnmarshalParcel( p *parcel.Parcel, ) error
Click to show internal directories.
Click to hide internal directories.