Documentation
¶
Index ¶
- Constants
- type IWalletCardsUpdatedListener
- type IWalletCardsUpdatedListenerServer
- type IWalletContextualLocationsService
- type IWalletContextualLocationsServiceServer
- type WalletCardsUpdatedListenerProxy
- type WalletCardsUpdatedListenerStub
- type WalletContextualLocationsServiceProxy
- func (p *WalletContextualLocationsServiceProxy) AddWalletCardsUpdatedListener(ctx context.Context, listener IWalletCardsUpdatedListener) error
- func (p *WalletContextualLocationsServiceProxy) AsBinder() binder.IBinder
- func (p *WalletContextualLocationsServiceProxy) OnWalletContextualLocationsStateUpdated(ctx context.Context, storeLocations []string) error
- type WalletContextualLocationsServiceStub
Constants ¶
const ( TransactionIWalletContextualLocationsServiceAddWalletCardsUpdatedListener = binder.FirstCallTransaction + 0 TransactionIWalletContextualLocationsServiceOnWalletContextualLocationsStateUpdated = binder.FirstCallTransaction + 1 )
const ( MethodIWalletContextualLocationsServiceAddWalletCardsUpdatedListener = "addWalletCardsUpdatedListener" MethodIWalletContextualLocationsServiceOnWalletContextualLocationsStateUpdated = "onWalletContextualLocationsStateUpdated" )
const DescriptorIWalletCardsUpdatedListener = "com.android.systemui.wallet.controller.IWalletCardsUpdatedListener"
const DescriptorIWalletContextualLocationsService = "com.android.systemui.wallet.controller.IWalletContextualLocationsService"
const (
MethodIWalletCardsUpdatedListenerRegisterNewWalletCards = "registerNewWalletCards"
)
const (
TransactionIWalletCardsUpdatedListenerRegisterNewWalletCards = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IWalletCardsUpdatedListener ¶
type IWalletCardsUpdatedListener interface {
AsBinder() binder.IBinder
RegisterNewWalletCards(ctx context.Context, cards []quickaccesswallet.WalletCard) error
}
func NewWalletCardsUpdatedListenerStub ¶
func NewWalletCardsUpdatedListenerStub( impl IWalletCardsUpdatedListenerServer, ) IWalletCardsUpdatedListener
NewWalletCardsUpdatedListenerStub creates a server-side IWalletCardsUpdatedListener wrapping the given server implementation. The returned value satisfies IWalletCardsUpdatedListener 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 IWalletCardsUpdatedListenerServer ¶
type IWalletCardsUpdatedListenerServer interface {
RegisterNewWalletCards(ctx context.Context, cards []quickaccesswallet.WalletCard) error
}
IWalletCardsUpdatedListenerServer is the server-side interface that user implementations provide to NewWalletCardsUpdatedListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWalletContextualLocationsService ¶
type IWalletContextualLocationsService interface {
AsBinder() binder.IBinder
AddWalletCardsUpdatedListener(ctx context.Context, listener IWalletCardsUpdatedListener) error
OnWalletContextualLocationsStateUpdated(ctx context.Context, storeLocations []string) error
}
func NewWalletContextualLocationsServiceStub ¶
func NewWalletContextualLocationsServiceStub( impl IWalletContextualLocationsServiceServer, ) IWalletContextualLocationsService
NewWalletContextualLocationsServiceStub creates a server-side IWalletContextualLocationsService wrapping the given server implementation. The returned value satisfies IWalletContextualLocationsService 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 IWalletContextualLocationsServiceServer ¶
type IWalletContextualLocationsServiceServer interface {
AddWalletCardsUpdatedListener(ctx context.Context, listener IWalletCardsUpdatedListener) error
OnWalletContextualLocationsStateUpdated(ctx context.Context, storeLocations []string) error
}
IWalletContextualLocationsServiceServer is the server-side interface that user implementations provide to NewWalletContextualLocationsServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type WalletCardsUpdatedListenerProxy ¶
func NewWalletCardsUpdatedListenerProxy ¶
func NewWalletCardsUpdatedListenerProxy( remote binder.IBinder, ) *WalletCardsUpdatedListenerProxy
func (*WalletCardsUpdatedListenerProxy) AsBinder ¶
func (p *WalletCardsUpdatedListenerProxy) AsBinder() binder.IBinder
func (*WalletCardsUpdatedListenerProxy) RegisterNewWalletCards ¶
func (p *WalletCardsUpdatedListenerProxy) RegisterNewWalletCards( ctx context.Context, cards []quickaccesswallet.WalletCard, ) error
type WalletCardsUpdatedListenerStub ¶
type WalletCardsUpdatedListenerStub struct {
Impl IWalletCardsUpdatedListener
Transport binder.VersionAwareTransport
}
WalletCardsUpdatedListenerStub dispatches incoming binder transactions to a typed IWalletCardsUpdatedListener implementation.
func (*WalletCardsUpdatedListenerStub) Descriptor ¶
func (s *WalletCardsUpdatedListenerStub) Descriptor() string
func (*WalletCardsUpdatedListenerStub) OnTransaction ¶
func (s *WalletCardsUpdatedListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WalletContextualLocationsServiceProxy ¶
func NewWalletContextualLocationsServiceProxy ¶
func NewWalletContextualLocationsServiceProxy( remote binder.IBinder, ) *WalletContextualLocationsServiceProxy
func (*WalletContextualLocationsServiceProxy) AddWalletCardsUpdatedListener ¶
func (p *WalletContextualLocationsServiceProxy) AddWalletCardsUpdatedListener( ctx context.Context, listener IWalletCardsUpdatedListener, ) error
func (*WalletContextualLocationsServiceProxy) AsBinder ¶
func (p *WalletContextualLocationsServiceProxy) AsBinder() binder.IBinder
func (*WalletContextualLocationsServiceProxy) OnWalletContextualLocationsStateUpdated ¶
func (p *WalletContextualLocationsServiceProxy) OnWalletContextualLocationsStateUpdated( ctx context.Context, storeLocations []string, ) error
type WalletContextualLocationsServiceStub ¶
type WalletContextualLocationsServiceStub struct {
Impl IWalletContextualLocationsService
Transport binder.VersionAwareTransport
}
WalletContextualLocationsServiceStub dispatches incoming binder transactions to a typed IWalletContextualLocationsService implementation.
func (*WalletContextualLocationsServiceStub) Descriptor ¶
func (s *WalletContextualLocationsServiceStub) Descriptor() string
func (*WalletContextualLocationsServiceStub) OnTransaction ¶
func (s *WalletContextualLocationsServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)