Documentation
¶
Index ¶
- Constants
- type INtnSignalStrengthConsumer
- type INtnSignalStrengthConsumerServer
- type ISatellite
- type ISatelliteCapabilitiesConsumer
- type ISatelliteCapabilitiesConsumerServer
- type ISatelliteGateway
- type ISatelliteGatewayServer
- type ISatelliteListener
- type ISatelliteListenerServer
- type ISatelliteServer
- type NTRadioTechnology
- type NtnSignalStrength
- type NtnSignalStrengthConsumerProxy
- type NtnSignalStrengthConsumerStub
- type NtnSignalStrengthLevel
- type PointingInfo
- type SatelliteCapabilities
- type SatelliteCapabilitiesConsumerProxy
- type SatelliteCapabilitiesConsumerStub
- type SatelliteDatagram
- type SatelliteGatewayProxy
- type SatelliteGatewayStub
- type SatelliteListenerProxy
- func (p *SatelliteListenerProxy) AsBinder() binder.IBinder
- func (p *SatelliteListenerProxy) OnNtnSignalStrengthChanged(ctx context.Context, ntnSignalStrength NtnSignalStrength) error
- func (p *SatelliteListenerProxy) OnPendingDatagrams(ctx context.Context) error
- func (p *SatelliteListenerProxy) OnSatelliteCapabilitiesChanged(ctx context.Context, capabilities SatelliteCapabilities) error
- func (p *SatelliteListenerProxy) OnSatelliteDatagramReceived(ctx context.Context, datagram SatelliteDatagram, pendingCount int32) error
- func (p *SatelliteListenerProxy) OnSatelliteModemStateChanged(ctx context.Context, state SatelliteModemState) error
- func (p *SatelliteListenerProxy) OnSatellitePositionChanged(ctx context.Context, pointingInfo PointingInfo) error
- func (p *SatelliteListenerProxy) OnSatelliteProvisionStateChanged(ctx context.Context, provisioned bool) error
- func (p *SatelliteListenerProxy) OnSatelliteSupportedStateChanged(ctx context.Context, supported bool) error
- type SatelliteListenerStub
- type SatelliteModemState
- type SatelliteProxy
- func (p *SatelliteProxy) AbortSendingSatelliteDatagrams(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
- func (p *SatelliteProxy) AsBinder() binder.IBinder
- func (p *SatelliteProxy) DeprovisionSatelliteService(ctx context.Context, token string, resultCallback telephony.IIntegerConsumer) error
- func (p *SatelliteProxy) EnableCellularModemWhileSatelliteModeIsOn(ctx context.Context, enabled bool, errorCallback telephony.IIntegerConsumer) error
- func (p *SatelliteProxy) PollPendingSatelliteDatagrams(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
- func (p *SatelliteProxy) ProvisionSatelliteService(ctx context.Context, token string, provisionData []byte, ...) error
- func (p *SatelliteProxy) RequestIsSatelliteEnabled(ctx context.Context, resultCallback telephony.IIntegerConsumer, ...) error
- func (p *SatelliteProxy) RequestIsSatelliteEnabledForCarrier(ctx context.Context, simSlot int32, resultCallback telephony.IIntegerConsumer, ...) error
- func (p *SatelliteProxy) RequestIsSatelliteProvisioned(ctx context.Context, resultCallback telephony.IIntegerConsumer, ...) error
- func (p *SatelliteProxy) RequestIsSatelliteSupported(ctx context.Context, resultCallback telephony.IIntegerConsumer, ...) error
- func (p *SatelliteProxy) RequestSatelliteCapabilities(ctx context.Context, resultCallback telephony.IIntegerConsumer, ...) error
- func (p *SatelliteProxy) RequestSatelliteEnabled(ctx context.Context, enableSatellite bool, enableDemoMode bool, ...) error
- func (p *SatelliteProxy) RequestSatelliteListeningEnabled(ctx context.Context, enable bool, timeout int32, ...) error
- func (p *SatelliteProxy) RequestSatelliteModemState(ctx context.Context, resultCallback telephony.IIntegerConsumer, ...) error
- func (p *SatelliteProxy) RequestSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer, ...) error
- func (p *SatelliteProxy) RequestTimeForNextSatelliteVisibility(ctx context.Context, resultCallback telephony.IIntegerConsumer, ...) error
- func (p *SatelliteProxy) SendSatelliteDatagram(ctx context.Context, datagram SatelliteDatagram, isEmergency bool, ...) error
- func (p *SatelliteProxy) SetSatelliteEnabledForCarrier(ctx context.Context, simSlot int32, satelliteEnabled bool, ...) error
- func (p *SatelliteProxy) SetSatelliteListener(ctx context.Context, listener ISatelliteListener) error
- func (p *SatelliteProxy) SetSatellitePlmn(ctx context.Context, simSlot int32, carrierPlmnList []string, ...) error
- func (p *SatelliteProxy) StartSendingNtnSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
- func (p *SatelliteProxy) StartSendingSatellitePointingInfo(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
- func (p *SatelliteProxy) StopSendingNtnSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
- func (p *SatelliteProxy) StopSendingSatellitePointingInfo(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
- type SatelliteResult
- type SatelliteStub
Constants ¶
const ( TransactionISatelliteSetSatelliteListener = binder.FirstCallTransaction + 0 TransactionISatelliteRequestSatelliteListeningEnabled = binder.FirstCallTransaction + 1 TransactionISatelliteEnableCellularModemWhileSatelliteModeIsOn = binder.FirstCallTransaction + 2 TransactionISatelliteRequestSatelliteEnabled = binder.FirstCallTransaction + 3 TransactionISatelliteRequestIsSatelliteEnabled = binder.FirstCallTransaction + 4 TransactionISatelliteRequestIsSatelliteSupported = binder.FirstCallTransaction + 5 TransactionISatelliteRequestSatelliteCapabilities = binder.FirstCallTransaction + 6 TransactionISatelliteStartSendingSatellitePointingInfo = binder.FirstCallTransaction + 7 TransactionISatelliteStopSendingSatellitePointingInfo = binder.FirstCallTransaction + 8 TransactionISatelliteProvisionSatelliteService = binder.FirstCallTransaction + 9 TransactionISatelliteDeprovisionSatelliteService = binder.FirstCallTransaction + 10 TransactionISatelliteRequestIsSatelliteProvisioned = binder.FirstCallTransaction + 11 TransactionISatellitePollPendingSatelliteDatagrams = binder.FirstCallTransaction + 12 TransactionISatelliteSendSatelliteDatagram = binder.FirstCallTransaction + 13 TransactionISatelliteRequestSatelliteModemState = binder.FirstCallTransaction + 14 TransactionISatelliteRequestTimeForNextSatelliteVisibility = binder.FirstCallTransaction + 15 TransactionISatelliteSetSatellitePlmn = binder.FirstCallTransaction + 16 TransactionISatelliteSetSatelliteEnabledForCarrier = binder.FirstCallTransaction + 17 TransactionISatelliteRequestIsSatelliteEnabledForCarrier = binder.FirstCallTransaction + 18 TransactionISatelliteRequestSignalStrength = binder.FirstCallTransaction + 19 TransactionISatelliteStartSendingNtnSignalStrength = binder.FirstCallTransaction + 20 TransactionISatelliteStopSendingNtnSignalStrength = binder.FirstCallTransaction + 21 TransactionISatelliteAbortSendingSatelliteDatagrams = binder.FirstCallTransaction + 22 )
const ( MethodISatelliteSetSatelliteListener = "setSatelliteListener" MethodISatelliteRequestSatelliteListeningEnabled = "requestSatelliteListeningEnabled" MethodISatelliteEnableCellularModemWhileSatelliteModeIsOn = "enableCellularModemWhileSatelliteModeIsOn" MethodISatelliteRequestSatelliteEnabled = "requestSatelliteEnabled" MethodISatelliteRequestIsSatelliteEnabled = "requestIsSatelliteEnabled" MethodISatelliteRequestIsSatelliteSupported = "requestIsSatelliteSupported" MethodISatelliteRequestSatelliteCapabilities = "requestSatelliteCapabilities" MethodISatelliteStartSendingSatellitePointingInfo = "startSendingSatellitePointingInfo" MethodISatelliteStopSendingSatellitePointingInfo = "stopSendingSatellitePointingInfo" MethodISatelliteProvisionSatelliteService = "provisionSatelliteService" MethodISatelliteDeprovisionSatelliteService = "deprovisionSatelliteService" MethodISatelliteRequestIsSatelliteProvisioned = "requestIsSatelliteProvisioned" MethodISatellitePollPendingSatelliteDatagrams = "pollPendingSatelliteDatagrams" MethodISatelliteSendSatelliteDatagram = "sendSatelliteDatagram" MethodISatelliteRequestSatelliteModemState = "requestSatelliteModemState" MethodISatelliteRequestTimeForNextSatelliteVisibility = "requestTimeForNextSatelliteVisibility" MethodISatelliteSetSatellitePlmn = "setSatellitePlmn" MethodISatelliteSetSatelliteEnabledForCarrier = "setSatelliteEnabledForCarrier" MethodISatelliteRequestIsSatelliteEnabledForCarrier = "requestIsSatelliteEnabledForCarrier" MethodISatelliteRequestSignalStrength = "requestSignalStrength" MethodISatelliteStartSendingNtnSignalStrength = "startSendingNtnSignalStrength" MethodISatelliteStopSendingNtnSignalStrength = "stopSendingNtnSignalStrength" MethodISatelliteAbortSendingSatelliteDatagrams = "abortSendingSatelliteDatagrams" )
const ( TransactionISatelliteListenerOnSatelliteProvisionStateChanged = binder.FirstCallTransaction + 0 TransactionISatelliteListenerOnSatelliteDatagramReceived = binder.FirstCallTransaction + 1 TransactionISatelliteListenerOnPendingDatagrams = binder.FirstCallTransaction + 2 TransactionISatelliteListenerOnSatellitePositionChanged = binder.FirstCallTransaction + 3 TransactionISatelliteListenerOnSatelliteModemStateChanged = binder.FirstCallTransaction + 4 TransactionISatelliteListenerOnNtnSignalStrengthChanged = binder.FirstCallTransaction + 5 TransactionISatelliteListenerOnSatelliteCapabilitiesChanged = binder.FirstCallTransaction + 6 TransactionISatelliteListenerOnSatelliteSupportedStateChanged = binder.FirstCallTransaction + 7 )
const ( MethodISatelliteListenerOnSatelliteProvisionStateChanged = "onSatelliteProvisionStateChanged" MethodISatelliteListenerOnSatelliteDatagramReceived = "onSatelliteDatagramReceived" MethodISatelliteListenerOnPendingDatagrams = "onPendingDatagrams" MethodISatelliteListenerOnSatellitePositionChanged = "onSatellitePositionChanged" MethodISatelliteListenerOnSatelliteModemStateChanged = "onSatelliteModemStateChanged" MethodISatelliteListenerOnNtnSignalStrengthChanged = "onNtnSignalStrengthChanged" MethodISatelliteListenerOnSatelliteCapabilitiesChanged = "onSatelliteCapabilitiesChanged" MethodISatelliteListenerOnSatelliteSupportedStateChanged = "onSatelliteSupportedStateChanged" )
const DescriptorINtnSignalStrengthConsumer = "android.telephony.satellite.stub.INtnSignalStrengthConsumer"
const DescriptorISatellite = "android.telephony.satellite.stub.ISatellite"
const DescriptorISatelliteCapabilitiesConsumer = "android.telephony.satellite.stub.ISatelliteCapabilitiesConsumer"
const DescriptorISatelliteGateway = "android.telephony.satellite.stub.ISatelliteGateway"
const DescriptorISatelliteListener = "android.telephony.satellite.stub.ISatelliteListener"
const (
MethodINtnSignalStrengthConsumerAccept = "accept"
)
const (
MethodISatelliteCapabilitiesConsumerAccept = "accept"
)
const (
TransactionINtnSignalStrengthConsumerAccept = binder.FirstCallTransaction + 0
)
const (
TransactionISatelliteCapabilitiesConsumerAccept = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type INtnSignalStrengthConsumer ¶
type INtnSignalStrengthConsumer interface {
AsBinder() binder.IBinder
Accept(ctx context.Context, result NtnSignalStrength) error
}
func NewNtnSignalStrengthConsumerStub ¶
func NewNtnSignalStrengthConsumerStub( impl INtnSignalStrengthConsumerServer, ) INtnSignalStrengthConsumer
NewNtnSignalStrengthConsumerStub creates a server-side INtnSignalStrengthConsumer wrapping the given server implementation. The returned value satisfies INtnSignalStrengthConsumer 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 INtnSignalStrengthConsumerServer ¶
type INtnSignalStrengthConsumerServer interface {
Accept(ctx context.Context, result NtnSignalStrength) error
}
INtnSignalStrengthConsumerServer is the server-side interface that user implementations provide to NewNtnSignalStrengthConsumerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISatellite ¶
type ISatellite interface {
AsBinder() binder.IBinder
SetSatelliteListener(ctx context.Context, listener ISatelliteListener) error
RequestSatelliteListeningEnabled(ctx context.Context, enable bool, timeout int32, resultCallback telephony.IIntegerConsumer) error
EnableCellularModemWhileSatelliteModeIsOn(ctx context.Context, enabled bool, errorCallback telephony.IIntegerConsumer) error
RequestSatelliteEnabled(ctx context.Context, enableSatellite bool, enableDemoMode bool, isEmergency bool, resultCallback telephony.IIntegerConsumer) error
RequestIsSatelliteEnabled(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer) error
RequestIsSatelliteSupported(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer) error
RequestSatelliteCapabilities(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback ISatelliteCapabilitiesConsumer) error
StartSendingSatellitePointingInfo(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
StopSendingSatellitePointingInfo(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
ProvisionSatelliteService(ctx context.Context, token string, provisionData []byte, resultCallback telephony.IIntegerConsumer) error
DeprovisionSatelliteService(ctx context.Context, token string, resultCallback telephony.IIntegerConsumer) error
RequestIsSatelliteProvisioned(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer) error
PollPendingSatelliteDatagrams(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
SendSatelliteDatagram(ctx context.Context, datagram SatelliteDatagram, isEmergency bool, resultCallback telephony.IIntegerConsumer) error
RequestSatelliteModemState(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IIntegerConsumer) error
RequestTimeForNextSatelliteVisibility(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IIntegerConsumer) error
SetSatellitePlmn(ctx context.Context, simSlot int32, carrierPlmnList []string, allSatellitePlmnList []string, resultCallback telephony.IIntegerConsumer) error
SetSatelliteEnabledForCarrier(ctx context.Context, simSlot int32, satelliteEnabled bool, callback telephony.IIntegerConsumer) error
RequestIsSatelliteEnabledForCarrier(ctx context.Context, simSlot int32, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer) error
RequestSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback INtnSignalStrengthConsumer) error
StartSendingNtnSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
StopSendingNtnSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
AbortSendingSatelliteDatagrams(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
}
func NewSatelliteStub ¶
func NewSatelliteStub( impl ISatelliteServer, ) ISatellite
NewSatelliteStub creates a server-side ISatellite wrapping the given server implementation. The returned value satisfies ISatellite 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 ISatelliteCapabilitiesConsumer ¶
type ISatelliteCapabilitiesConsumer interface {
AsBinder() binder.IBinder
Accept(ctx context.Context, result SatelliteCapabilities) error
}
func NewSatelliteCapabilitiesConsumerStub ¶
func NewSatelliteCapabilitiesConsumerStub( impl ISatelliteCapabilitiesConsumerServer, ) ISatelliteCapabilitiesConsumer
NewSatelliteCapabilitiesConsumerStub creates a server-side ISatelliteCapabilitiesConsumer wrapping the given server implementation. The returned value satisfies ISatelliteCapabilitiesConsumer 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 ISatelliteCapabilitiesConsumerServer ¶
type ISatelliteCapabilitiesConsumerServer interface {
Accept(ctx context.Context, result SatelliteCapabilities) error
}
ISatelliteCapabilitiesConsumerServer is the server-side interface that user implementations provide to NewSatelliteCapabilitiesConsumerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISatelliteGateway ¶
func NewSatelliteGatewayStub ¶
func NewSatelliteGatewayStub( impl ISatelliteGatewayServer, ) ISatelliteGateway
NewSatelliteGatewayStub creates a server-side ISatelliteGateway wrapping the given server implementation. The returned value satisfies ISatelliteGateway 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 ISatelliteGatewayServer ¶
type ISatelliteGatewayServer interface {
}
ISatelliteGatewayServer is the server-side interface that user implementations provide to NewSatelliteGatewayStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISatelliteListener ¶
type ISatelliteListener interface {
AsBinder() binder.IBinder
OnSatelliteProvisionStateChanged(ctx context.Context, provisioned bool) error
OnSatelliteDatagramReceived(ctx context.Context, datagram SatelliteDatagram, pendingCount int32) error
OnPendingDatagrams(ctx context.Context) error
OnSatellitePositionChanged(ctx context.Context, pointingInfo PointingInfo) error
OnSatelliteModemStateChanged(ctx context.Context, state SatelliteModemState) error
OnNtnSignalStrengthChanged(ctx context.Context, ntnSignalStrength NtnSignalStrength) error
OnSatelliteCapabilitiesChanged(ctx context.Context, capabilities SatelliteCapabilities) error
OnSatelliteSupportedStateChanged(ctx context.Context, supported bool) error
}
func NewSatelliteListenerStub ¶
func NewSatelliteListenerStub( impl ISatelliteListenerServer, ) ISatelliteListener
NewSatelliteListenerStub creates a server-side ISatelliteListener wrapping the given server implementation. The returned value satisfies ISatelliteListener 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 ISatelliteListenerServer ¶
type ISatelliteListenerServer interface {
OnSatelliteProvisionStateChanged(ctx context.Context, provisioned bool) error
OnSatelliteDatagramReceived(ctx context.Context, datagram SatelliteDatagram, pendingCount int32) error
OnPendingDatagrams(ctx context.Context) error
OnSatellitePositionChanged(ctx context.Context, pointingInfo PointingInfo) error
OnSatelliteModemStateChanged(ctx context.Context, state SatelliteModemState) error
OnNtnSignalStrengthChanged(ctx context.Context, ntnSignalStrength NtnSignalStrength) error
OnSatelliteCapabilitiesChanged(ctx context.Context, capabilities SatelliteCapabilities) error
OnSatelliteSupportedStateChanged(ctx context.Context, supported bool) error
}
ISatelliteListenerServer is the server-side interface that user implementations provide to NewSatelliteListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISatelliteServer ¶
type ISatelliteServer interface {
SetSatelliteListener(ctx context.Context, listener ISatelliteListener) error
RequestSatelliteListeningEnabled(ctx context.Context, enable bool, timeout int32, resultCallback telephony.IIntegerConsumer) error
EnableCellularModemWhileSatelliteModeIsOn(ctx context.Context, enabled bool, errorCallback telephony.IIntegerConsumer) error
RequestSatelliteEnabled(ctx context.Context, enableSatellite bool, enableDemoMode bool, isEmergency bool, resultCallback telephony.IIntegerConsumer) error
RequestIsSatelliteEnabled(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer) error
RequestIsSatelliteSupported(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer) error
RequestSatelliteCapabilities(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback ISatelliteCapabilitiesConsumer) error
StartSendingSatellitePointingInfo(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
StopSendingSatellitePointingInfo(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
ProvisionSatelliteService(ctx context.Context, token string, provisionData []byte, resultCallback telephony.IIntegerConsumer) error
DeprovisionSatelliteService(ctx context.Context, token string, resultCallback telephony.IIntegerConsumer) error
RequestIsSatelliteProvisioned(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer) error
PollPendingSatelliteDatagrams(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
SendSatelliteDatagram(ctx context.Context, datagram SatelliteDatagram, isEmergency bool, resultCallback telephony.IIntegerConsumer) error
RequestSatelliteModemState(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IIntegerConsumer) error
RequestTimeForNextSatelliteVisibility(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IIntegerConsumer) error
SetSatellitePlmn(ctx context.Context, simSlot int32, carrierPlmnList []string, allSatellitePlmnList []string, resultCallback telephony.IIntegerConsumer) error
SetSatelliteEnabledForCarrier(ctx context.Context, simSlot int32, satelliteEnabled bool, callback telephony.IIntegerConsumer) error
RequestIsSatelliteEnabledForCarrier(ctx context.Context, simSlot int32, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer) error
RequestSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer, callback INtnSignalStrengthConsumer) error
StartSendingNtnSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
StopSendingNtnSignalStrength(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
AbortSendingSatelliteDatagrams(ctx context.Context, resultCallback telephony.IIntegerConsumer) error
}
ISatelliteServer is the server-side interface that user implementations provide to NewSatelliteStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type NTRadioTechnology ¶
type NTRadioTechnology int32
const ( NTRadioTechnologyNbIotNtn NTRadioTechnology = 0 NTRadioTechnologyNrNtn NTRadioTechnology = 1 NTRadioTechnologyEmtcNtn NTRadioTechnology = 2 NTRadioTechnologyPROPRIETARY NTRadioTechnology = 3 NTRadioTechnologyUNKNOWN NTRadioTechnology = -1 )
type NtnSignalStrength ¶
type NtnSignalStrength struct {
SignalStrengthLevel NtnSignalStrengthLevel
}
func (*NtnSignalStrength) MarshalParcel ¶
func (s *NtnSignalStrength) MarshalParcel( p *parcel.Parcel, ) error
func (*NtnSignalStrength) UnmarshalParcel ¶
func (s *NtnSignalStrength) UnmarshalParcel( p *parcel.Parcel, ) error
type NtnSignalStrengthConsumerProxy ¶
func NewNtnSignalStrengthConsumerProxy ¶
func NewNtnSignalStrengthConsumerProxy( remote binder.IBinder, ) *NtnSignalStrengthConsumerProxy
func (*NtnSignalStrengthConsumerProxy) Accept ¶
func (p *NtnSignalStrengthConsumerProxy) Accept( ctx context.Context, result NtnSignalStrength, ) error
func (*NtnSignalStrengthConsumerProxy) AsBinder ¶
func (p *NtnSignalStrengthConsumerProxy) AsBinder() binder.IBinder
type NtnSignalStrengthConsumerStub ¶
type NtnSignalStrengthConsumerStub struct {
Impl INtnSignalStrengthConsumer
Transport binder.VersionAwareTransport
}
NtnSignalStrengthConsumerStub dispatches incoming binder transactions to a typed INtnSignalStrengthConsumer implementation.
func (*NtnSignalStrengthConsumerStub) Descriptor ¶
func (s *NtnSignalStrengthConsumerStub) Descriptor() string
func (*NtnSignalStrengthConsumerStub) OnTransaction ¶
func (s *NtnSignalStrengthConsumerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type NtnSignalStrengthLevel ¶
type NtnSignalStrengthLevel int32
const ( NtnSignalStrengthLevelNtnSignalStrengthNone NtnSignalStrengthLevel = 0 NtnSignalStrengthLevelNtnSignalStrengthPoor NtnSignalStrengthLevel = 1 NtnSignalStrengthLevelNtnSignalStrengthModerate NtnSignalStrengthLevel = 2 NtnSignalStrengthLevelNtnSignalStrengthGood NtnSignalStrengthLevel = 3 NtnSignalStrengthLevelNtnSignalStrengthGreat NtnSignalStrengthLevel = 4 )
type PointingInfo ¶
func (*PointingInfo) MarshalParcel ¶
func (s *PointingInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*PointingInfo) UnmarshalParcel ¶
func (s *PointingInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type SatelliteCapabilities ¶
type SatelliteCapabilities struct {
SupportedRadioTechnologies []NTRadioTechnology
IsPointingRequired bool
MaxBytesPerOutgoingDatagram int32
AntennaPositionKeys []int32
AntennaPositionValues []satellite.AntennaPosition
}
func (*SatelliteCapabilities) MarshalParcel ¶
func (s *SatelliteCapabilities) MarshalParcel( p *parcel.Parcel, ) error
func (*SatelliteCapabilities) UnmarshalParcel ¶
func (s *SatelliteCapabilities) UnmarshalParcel( p *parcel.Parcel, ) error
type SatelliteCapabilitiesConsumerProxy ¶
func NewSatelliteCapabilitiesConsumerProxy ¶
func NewSatelliteCapabilitiesConsumerProxy( remote binder.IBinder, ) *SatelliteCapabilitiesConsumerProxy
func (*SatelliteCapabilitiesConsumerProxy) Accept ¶
func (p *SatelliteCapabilitiesConsumerProxy) Accept( ctx context.Context, result SatelliteCapabilities, ) error
func (*SatelliteCapabilitiesConsumerProxy) AsBinder ¶
func (p *SatelliteCapabilitiesConsumerProxy) AsBinder() binder.IBinder
type SatelliteCapabilitiesConsumerStub ¶
type SatelliteCapabilitiesConsumerStub struct {
Impl ISatelliteCapabilitiesConsumer
Transport binder.VersionAwareTransport
}
SatelliteCapabilitiesConsumerStub dispatches incoming binder transactions to a typed ISatelliteCapabilitiesConsumer implementation.
func (*SatelliteCapabilitiesConsumerStub) Descriptor ¶
func (s *SatelliteCapabilitiesConsumerStub) Descriptor() string
func (*SatelliteCapabilitiesConsumerStub) OnTransaction ¶
func (s *SatelliteCapabilitiesConsumerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SatelliteDatagram ¶
type SatelliteDatagram struct {
Data []byte
}
func (*SatelliteDatagram) MarshalParcel ¶
func (s *SatelliteDatagram) MarshalParcel( p *parcel.Parcel, ) error
func (*SatelliteDatagram) UnmarshalParcel ¶
func (s *SatelliteDatagram) UnmarshalParcel( p *parcel.Parcel, ) error
type SatelliteGatewayProxy ¶
func NewSatelliteGatewayProxy ¶
func NewSatelliteGatewayProxy( remote binder.IBinder, ) *SatelliteGatewayProxy
func (*SatelliteGatewayProxy) AsBinder ¶
func (p *SatelliteGatewayProxy) AsBinder() binder.IBinder
type SatelliteGatewayStub ¶
type SatelliteGatewayStub struct {
Impl ISatelliteGateway
Transport binder.VersionAwareTransport
}
SatelliteGatewayStub dispatches incoming binder transactions to a typed ISatelliteGateway implementation.
func (*SatelliteGatewayStub) Descriptor ¶
func (s *SatelliteGatewayStub) Descriptor() string
func (*SatelliteGatewayStub) OnTransaction ¶
func (s *SatelliteGatewayStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SatelliteListenerProxy ¶
func NewSatelliteListenerProxy ¶
func NewSatelliteListenerProxy( remote binder.IBinder, ) *SatelliteListenerProxy
func (*SatelliteListenerProxy) AsBinder ¶
func (p *SatelliteListenerProxy) AsBinder() binder.IBinder
func (*SatelliteListenerProxy) OnNtnSignalStrengthChanged ¶
func (p *SatelliteListenerProxy) OnNtnSignalStrengthChanged( ctx context.Context, ntnSignalStrength NtnSignalStrength, ) error
func (*SatelliteListenerProxy) OnPendingDatagrams ¶
func (p *SatelliteListenerProxy) OnPendingDatagrams( ctx context.Context, ) error
func (*SatelliteListenerProxy) OnSatelliteCapabilitiesChanged ¶
func (p *SatelliteListenerProxy) OnSatelliteCapabilitiesChanged( ctx context.Context, capabilities SatelliteCapabilities, ) error
func (*SatelliteListenerProxy) OnSatelliteDatagramReceived ¶
func (p *SatelliteListenerProxy) OnSatelliteDatagramReceived( ctx context.Context, datagram SatelliteDatagram, pendingCount int32, ) error
func (*SatelliteListenerProxy) OnSatelliteModemStateChanged ¶
func (p *SatelliteListenerProxy) OnSatelliteModemStateChanged( ctx context.Context, state SatelliteModemState, ) error
func (*SatelliteListenerProxy) OnSatellitePositionChanged ¶
func (p *SatelliteListenerProxy) OnSatellitePositionChanged( ctx context.Context, pointingInfo PointingInfo, ) error
func (*SatelliteListenerProxy) OnSatelliteProvisionStateChanged ¶
func (p *SatelliteListenerProxy) OnSatelliteProvisionStateChanged( ctx context.Context, provisioned bool, ) error
func (*SatelliteListenerProxy) OnSatelliteSupportedStateChanged ¶
func (p *SatelliteListenerProxy) OnSatelliteSupportedStateChanged( ctx context.Context, supported bool, ) error
type SatelliteListenerStub ¶
type SatelliteListenerStub struct {
Impl ISatelliteListener
Transport binder.VersionAwareTransport
}
SatelliteListenerStub dispatches incoming binder transactions to a typed ISatelliteListener implementation.
func (*SatelliteListenerStub) Descriptor ¶
func (s *SatelliteListenerStub) Descriptor() string
func (*SatelliteListenerStub) OnTransaction ¶
func (s *SatelliteListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SatelliteModemState ¶
type SatelliteModemState int32
const ( SatelliteModemStateSatelliteModemStateIdle SatelliteModemState = 0 SatelliteModemStateSatelliteModemStateListening SatelliteModemState = 1 SatelliteModemStateSatelliteModemStateDatagramTransferring SatelliteModemState = 2 SatelliteModemStateSatelliteModemStateDatagramRetrying SatelliteModemState = 3 SatelliteModemStateSatelliteModemStateOff SatelliteModemState = 4 SatelliteModemStateSatelliteModemStateNotConnected SatelliteModemState = 6 SatelliteModemStateSatelliteModemStateConnected SatelliteModemState = 7 SatelliteModemStateSatelliteModemStateUnknown SatelliteModemState = -1 )
type SatelliteProxy ¶
func NewSatelliteProxy ¶
func NewSatelliteProxy( remote binder.IBinder, ) *SatelliteProxy
func (*SatelliteProxy) AbortSendingSatelliteDatagrams ¶
func (p *SatelliteProxy) AbortSendingSatelliteDatagrams( ctx context.Context, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) AsBinder ¶
func (p *SatelliteProxy) AsBinder() binder.IBinder
func (*SatelliteProxy) DeprovisionSatelliteService ¶
func (p *SatelliteProxy) DeprovisionSatelliteService( ctx context.Context, token string, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) EnableCellularModemWhileSatelliteModeIsOn ¶
func (p *SatelliteProxy) EnableCellularModemWhileSatelliteModeIsOn( ctx context.Context, enabled bool, errorCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) PollPendingSatelliteDatagrams ¶
func (p *SatelliteProxy) PollPendingSatelliteDatagrams( ctx context.Context, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) ProvisionSatelliteService ¶
func (p *SatelliteProxy) ProvisionSatelliteService( ctx context.Context, token string, provisionData []byte, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) RequestIsSatelliteEnabled ¶
func (p *SatelliteProxy) RequestIsSatelliteEnabled( ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer, ) error
func (*SatelliteProxy) RequestIsSatelliteEnabledForCarrier ¶
func (p *SatelliteProxy) RequestIsSatelliteEnabledForCarrier( ctx context.Context, simSlot int32, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer, ) error
func (*SatelliteProxy) RequestIsSatelliteProvisioned ¶
func (p *SatelliteProxy) RequestIsSatelliteProvisioned( ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer, ) error
func (*SatelliteProxy) RequestIsSatelliteSupported ¶
func (p *SatelliteProxy) RequestIsSatelliteSupported( ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IBooleanConsumer, ) error
func (*SatelliteProxy) RequestSatelliteCapabilities ¶
func (p *SatelliteProxy) RequestSatelliteCapabilities( ctx context.Context, resultCallback telephony.IIntegerConsumer, callback ISatelliteCapabilitiesConsumer, ) error
func (*SatelliteProxy) RequestSatelliteEnabled ¶
func (p *SatelliteProxy) RequestSatelliteEnabled( ctx context.Context, enableSatellite bool, enableDemoMode bool, isEmergency bool, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) RequestSatelliteListeningEnabled ¶
func (p *SatelliteProxy) RequestSatelliteListeningEnabled( ctx context.Context, enable bool, timeout int32, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) RequestSatelliteModemState ¶
func (p *SatelliteProxy) RequestSatelliteModemState( ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) RequestSignalStrength ¶
func (p *SatelliteProxy) RequestSignalStrength( ctx context.Context, resultCallback telephony.IIntegerConsumer, callback INtnSignalStrengthConsumer, ) error
func (*SatelliteProxy) RequestTimeForNextSatelliteVisibility ¶
func (p *SatelliteProxy) RequestTimeForNextSatelliteVisibility( ctx context.Context, resultCallback telephony.IIntegerConsumer, callback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) SendSatelliteDatagram ¶
func (p *SatelliteProxy) SendSatelliteDatagram( ctx context.Context, datagram SatelliteDatagram, isEmergency bool, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) SetSatelliteEnabledForCarrier ¶
func (p *SatelliteProxy) SetSatelliteEnabledForCarrier( ctx context.Context, simSlot int32, satelliteEnabled bool, callback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) SetSatelliteListener ¶
func (p *SatelliteProxy) SetSatelliteListener( ctx context.Context, listener ISatelliteListener, ) error
func (*SatelliteProxy) SetSatellitePlmn ¶
func (p *SatelliteProxy) SetSatellitePlmn( ctx context.Context, simSlot int32, carrierPlmnList []string, allSatellitePlmnList []string, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) StartSendingNtnSignalStrength ¶
func (p *SatelliteProxy) StartSendingNtnSignalStrength( ctx context.Context, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) StartSendingSatellitePointingInfo ¶
func (p *SatelliteProxy) StartSendingSatellitePointingInfo( ctx context.Context, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) StopSendingNtnSignalStrength ¶
func (p *SatelliteProxy) StopSendingNtnSignalStrength( ctx context.Context, resultCallback telephony.IIntegerConsumer, ) error
func (*SatelliteProxy) StopSendingSatellitePointingInfo ¶
func (p *SatelliteProxy) StopSendingSatellitePointingInfo( ctx context.Context, resultCallback telephony.IIntegerConsumer, ) error
type SatelliteResult ¶
type SatelliteResult int32
const ( SatelliteResultSatelliteResultSuccess SatelliteResult = 0 SatelliteResultSatelliteResultError SatelliteResult = 1 SatelliteResultSatelliteResultServerError SatelliteResult = 2 SatelliteResultSatelliteResultServiceError SatelliteResult = 3 SatelliteResultSatelliteResultModemError SatelliteResult = 4 SatelliteResultSatelliteResultNetworkError SatelliteResult = 5 SatelliteResultSatelliteResultInvalidModemState SatelliteResult = 6 SatelliteResultSatelliteResultInvalidArguments SatelliteResult = 7 SatelliteResultSatelliteResultRequestFailed SatelliteResult = 8 SatelliteResultSatelliteResultRadioNotAvailable SatelliteResult = 9 SatelliteResultSatelliteResultRequestNotSupported SatelliteResult = 10 SatelliteResultSatelliteResultNoResources SatelliteResult = 11 SatelliteResultSatelliteResultServiceNotProvisioned SatelliteResult = 12 SatelliteResultSatelliteResultServiceProvisionInProgress SatelliteResult = 13 SatelliteResultSatelliteResultRequestAborted SatelliteResult = 14 SatelliteResultSatelliteResultAccessBarred SatelliteResult = 15 SatelliteResultSatelliteResultNetworkTimeout SatelliteResult = 16 SatelliteResultSatelliteResultNotReachable SatelliteResult = 17 SatelliteResultSatelliteResultNotAuthorized SatelliteResult = 18 )
type SatelliteStub ¶
type SatelliteStub struct {
Impl ISatellite
Transport binder.VersionAwareTransport
}
SatelliteStub dispatches incoming binder transactions to a typed ISatellite implementation.
func (*SatelliteStub) Descriptor ¶
func (s *SatelliteStub) Descriptor() string
func (*SatelliteStub) OnTransaction ¶
func (s *SatelliteStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)