gba

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 4 Imported by: 0

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

type GbaAuthRequest struct {
	Token              int32
	SubId              int32
	AppType            int32
	ForceBootStrapping bool
}

func (*GbaAuthRequest) MarshalParcel

func (s *GbaAuthRequest) MarshalParcel(
	p *parcel.Parcel,
) error

func (*GbaAuthRequest) UnmarshalParcel

func (s *GbaAuthRequest) UnmarshalParcel(
	p *parcel.Parcel,
) error

type GbaServiceProxy

type GbaServiceProxy struct {
	Remote binder.IBinder
}

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

type UaSecurityProtocolIdentifier struct {
	Org            int32
	Protocol       int32
	TlsCipherSuite int32
}

func (*UaSecurityProtocolIdentifier) MarshalParcel

func (s *UaSecurityProtocolIdentifier) MarshalParcel(
	p *parcel.Parcel,
) error

func (*UaSecurityProtocolIdentifier) UnmarshalParcel

func (s *UaSecurityProtocolIdentifier) UnmarshalParcel(
	p *parcel.Parcel,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL