Documentation
¶
Index ¶
- Constants
- type IUceListener
- type IUceListenerServer
- type IUceService
- type IUceServiceServer
- type UceListenerProxy
- type UceListenerStub
- type UceServiceProxy
- func (p *UceServiceProxy) AsBinder() binder.IBinder
- func (p *UceServiceProxy) CreateOptionsService(ctx context.Context, optionsListener options.IOptionsListener, ...) (int32, error)
- func (p *UceServiceProxy) CreateOptionsServiceForSubscription(ctx context.Context, optionsListener options.IOptionsListener, ...) (int32, error)
- func (p *UceServiceProxy) CreatePresenceService(ctx context.Context, presenceServiceListener presence.IPresenceListener, ...) (int32, error)
- func (p *UceServiceProxy) CreatePresenceServiceForSubscription(ctx context.Context, presenceServiceListener presence.IPresenceListener, ...) (int32, error)
- func (p *UceServiceProxy) DestroyOptionsService(ctx context.Context, optionsServiceHandle int32) error
- func (p *UceServiceProxy) DestroyPresenceService(ctx context.Context, presenceServiceHdl int32) error
- func (p *UceServiceProxy) GetOptionsService(ctx context.Context) (options.IOptionsService, error)
- func (p *UceServiceProxy) GetOptionsServiceForSubscription(ctx context.Context, iccId string) (options.IOptionsService, error)
- func (p *UceServiceProxy) GetPresenceService(ctx context.Context) (presence.IPresenceService, error)
- func (p *UceServiceProxy) GetPresenceServiceForSubscription(ctx context.Context, iccId string) (presence.IPresenceService, error)
- func (p *UceServiceProxy) GetServiceStatus(ctx context.Context) (bool, error)
- func (p *UceServiceProxy) IsServiceStarted(ctx context.Context) (bool, error)
- func (p *UceServiceProxy) StartService(ctx context.Context, uceListener IUceListener) (bool, error)
- func (p *UceServiceProxy) StopService(ctx context.Context) (bool, error)
- type UceServiceStub
Constants ¶
const ( TransactionIUceServiceStartService = binder.FirstCallTransaction + 0 TransactionIUceServiceStopService = binder.FirstCallTransaction + 1 TransactionIUceServiceIsServiceStarted = binder.FirstCallTransaction + 2 TransactionIUceServiceCreateOptionsService = binder.FirstCallTransaction + 3 TransactionIUceServiceCreateOptionsServiceForSubscription = binder.FirstCallTransaction + 4 TransactionIUceServiceDestroyOptionsService = binder.FirstCallTransaction + 5 TransactionIUceServiceCreatePresenceService = binder.FirstCallTransaction + 6 TransactionIUceServiceCreatePresenceServiceForSubscription = binder.FirstCallTransaction + 7 TransactionIUceServiceDestroyPresenceService = binder.FirstCallTransaction + 8 TransactionIUceServiceGetServiceStatus = binder.FirstCallTransaction + 9 TransactionIUceServiceGetPresenceService = binder.FirstCallTransaction + 10 TransactionIUceServiceGetPresenceServiceForSubscription = binder.FirstCallTransaction + 11 TransactionIUceServiceGetOptionsService = binder.FirstCallTransaction + 12 TransactionIUceServiceGetOptionsServiceForSubscription = binder.FirstCallTransaction + 13 )
const ( MethodIUceServiceStartService = "startService" MethodIUceServiceStopService = "stopService" MethodIUceServiceIsServiceStarted = "isServiceStarted" MethodIUceServiceCreateOptionsService = "createOptionsService" MethodIUceServiceCreateOptionsServiceForSubscription = "createOptionsServiceForSubscription" MethodIUceServiceDestroyOptionsService = "destroyOptionsService" MethodIUceServiceCreatePresenceService = "createPresenceService" MethodIUceServiceCreatePresenceServiceForSubscription = "createPresenceServiceForSubscription" MethodIUceServiceDestroyPresenceService = "destroyPresenceService" MethodIUceServiceGetServiceStatus = "getServiceStatus" MethodIUceServiceGetPresenceService = "getPresenceService" MethodIUceServiceGetPresenceServiceForSubscription = "getPresenceServiceForSubscription" MethodIUceServiceGetOptionsService = "getOptionsService" MethodIUceServiceGetOptionsServiceForSubscription = "getOptionsServiceForSubscription" )
const DescriptorIUceListener = "com.android.ims.internal.uce.uceservice.IUceListener"
const DescriptorIUceService = "com.android.ims.internal.uce.uceservice.IUceService"
const (
MethodIUceListenerSetStatus = "setStatus"
)
const (
TransactionIUceListenerSetStatus = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IUceListener ¶
type IUceListener interface {
AsBinder() binder.IBinder
SetStatus(ctx context.Context, serviceStatusValue int32) error
}
func NewUceListenerStub ¶
func NewUceListenerStub( impl IUceListenerServer, ) IUceListener
NewUceListenerStub creates a server-side IUceListener wrapping the given server implementation. The returned value satisfies IUceListener 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 IUceListenerServer ¶
type IUceListenerServer interface {
SetStatus(ctx context.Context, serviceStatusValue int32) error
}
IUceListenerServer is the server-side interface that user implementations provide to NewUceListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IUceService ¶
type IUceService interface {
AsBinder() binder.IBinder
StartService(ctx context.Context, uceListener IUceListener) (bool, error)
StopService(ctx context.Context) (bool, error)
IsServiceStarted(ctx context.Context) (bool, error)
CreateOptionsService(ctx context.Context, optionsListener options.IOptionsListener, optionsServiceListenerHdl common.UceLong) (int32, error)
CreateOptionsServiceForSubscription(ctx context.Context, optionsListener options.IOptionsListener, optionsServiceListenerHdl common.UceLong, iccId string) (int32, error)
DestroyOptionsService(ctx context.Context, optionsServiceHandle int32) error
CreatePresenceService(ctx context.Context, presenceServiceListener presence.IPresenceListener, presenceServiceListenerHdl common.UceLong) (int32, error)
CreatePresenceServiceForSubscription(ctx context.Context, presenceServiceListener presence.IPresenceListener, presenceServiceListenerHdl common.UceLong, iccId string) (int32, error)
DestroyPresenceService(ctx context.Context, presenceServiceHdl int32) error
GetServiceStatus(ctx context.Context) (bool, error)
GetPresenceService(ctx context.Context) (presence.IPresenceService, error)
GetPresenceServiceForSubscription(ctx context.Context, iccId string) (presence.IPresenceService, error)
GetOptionsService(ctx context.Context) (options.IOptionsService, error)
GetOptionsServiceForSubscription(ctx context.Context, iccId string) (options.IOptionsService, error)
}
func NewUceServiceStub ¶
func NewUceServiceStub( impl IUceServiceServer, ) IUceService
NewUceServiceStub creates a server-side IUceService wrapping the given server implementation. The returned value satisfies IUceService 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 IUceServiceServer ¶
type IUceServiceServer interface {
StartService(ctx context.Context, uceListener IUceListener) (bool, error)
StopService(ctx context.Context) (bool, error)
IsServiceStarted(ctx context.Context) (bool, error)
CreateOptionsService(ctx context.Context, optionsListener options.IOptionsListener, optionsServiceListenerHdl common.UceLong) (int32, error)
CreateOptionsServiceForSubscription(ctx context.Context, optionsListener options.IOptionsListener, optionsServiceListenerHdl common.UceLong, iccId string) (int32, error)
DestroyOptionsService(ctx context.Context, optionsServiceHandle int32) error
CreatePresenceService(ctx context.Context, presenceServiceListener presence.IPresenceListener, presenceServiceListenerHdl common.UceLong) (int32, error)
CreatePresenceServiceForSubscription(ctx context.Context, presenceServiceListener presence.IPresenceListener, presenceServiceListenerHdl common.UceLong, iccId string) (int32, error)
DestroyPresenceService(ctx context.Context, presenceServiceHdl int32) error
GetServiceStatus(ctx context.Context) (bool, error)
GetPresenceService(ctx context.Context) (presence.IPresenceService, error)
GetPresenceServiceForSubscription(ctx context.Context, iccId string) (presence.IPresenceService, error)
GetOptionsService(ctx context.Context) (options.IOptionsService, error)
GetOptionsServiceForSubscription(ctx context.Context, iccId string) (options.IOptionsService, error)
}
IUceServiceServer is the server-side interface that user implementations provide to NewUceServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type UceListenerProxy ¶
func NewUceListenerProxy ¶
func NewUceListenerProxy( remote binder.IBinder, ) *UceListenerProxy
func (*UceListenerProxy) AsBinder ¶
func (p *UceListenerProxy) AsBinder() binder.IBinder
type UceListenerStub ¶
type UceListenerStub struct {
Impl IUceListener
Transport binder.VersionAwareTransport
}
UceListenerStub dispatches incoming binder transactions to a typed IUceListener implementation.
func (*UceListenerStub) Descriptor ¶
func (s *UceListenerStub) Descriptor() string
func (*UceListenerStub) OnTransaction ¶
func (s *UceListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type UceServiceProxy ¶
func NewUceServiceProxy ¶
func NewUceServiceProxy( remote binder.IBinder, ) *UceServiceProxy
func (*UceServiceProxy) AsBinder ¶
func (p *UceServiceProxy) AsBinder() binder.IBinder
func (*UceServiceProxy) CreateOptionsService ¶
func (p *UceServiceProxy) CreateOptionsService( ctx context.Context, optionsListener options.IOptionsListener, optionsServiceListenerHdl common.UceLong, ) (int32, error)
func (*UceServiceProxy) CreateOptionsServiceForSubscription ¶
func (p *UceServiceProxy) CreateOptionsServiceForSubscription( ctx context.Context, optionsListener options.IOptionsListener, optionsServiceListenerHdl common.UceLong, iccId string, ) (int32, error)
func (*UceServiceProxy) CreatePresenceService ¶
func (p *UceServiceProxy) CreatePresenceService( ctx context.Context, presenceServiceListener presence.IPresenceListener, presenceServiceListenerHdl common.UceLong, ) (int32, error)
func (*UceServiceProxy) CreatePresenceServiceForSubscription ¶
func (p *UceServiceProxy) CreatePresenceServiceForSubscription( ctx context.Context, presenceServiceListener presence.IPresenceListener, presenceServiceListenerHdl common.UceLong, iccId string, ) (int32, error)
func (*UceServiceProxy) DestroyOptionsService ¶
func (p *UceServiceProxy) DestroyOptionsService( ctx context.Context, optionsServiceHandle int32, ) error
func (*UceServiceProxy) DestroyPresenceService ¶
func (p *UceServiceProxy) DestroyPresenceService( ctx context.Context, presenceServiceHdl int32, ) error
func (*UceServiceProxy) GetOptionsService ¶
func (p *UceServiceProxy) GetOptionsService( ctx context.Context, ) (options.IOptionsService, error)
func (*UceServiceProxy) GetOptionsServiceForSubscription ¶
func (p *UceServiceProxy) GetOptionsServiceForSubscription( ctx context.Context, iccId string, ) (options.IOptionsService, error)
func (*UceServiceProxy) GetPresenceService ¶
func (p *UceServiceProxy) GetPresenceService( ctx context.Context, ) (presence.IPresenceService, error)
func (*UceServiceProxy) GetPresenceServiceForSubscription ¶
func (p *UceServiceProxy) GetPresenceServiceForSubscription( ctx context.Context, iccId string, ) (presence.IPresenceService, error)
func (*UceServiceProxy) GetServiceStatus ¶
func (p *UceServiceProxy) GetServiceStatus( ctx context.Context, ) (bool, error)
func (*UceServiceProxy) IsServiceStarted ¶
func (p *UceServiceProxy) IsServiceStarted( ctx context.Context, ) (bool, error)
func (*UceServiceProxy) StartService ¶
func (p *UceServiceProxy) StartService( ctx context.Context, uceListener IUceListener, ) (bool, error)
func (*UceServiceProxy) StopService ¶
func (p *UceServiceProxy) StopService( ctx context.Context, ) (bool, error)
type UceServiceStub ¶
type UceServiceStub struct {
Impl IUceService
Transport binder.VersionAwareTransport
}
UceServiceStub dispatches incoming binder transactions to a typed IUceService implementation.
func (*UceServiceStub) Descriptor ¶
func (s *UceServiceStub) Descriptor() string
func (*UceServiceStub) OnTransaction ¶
func (s *UceServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)