gnss

package
v0.0.6 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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ElapsedRealtimeHasTimestampNs       int32 = (1 << 0)
	ElapsedRealtimeHasTimeUncertaintyNs int32 = (1 << 1)
)
View Source
const (
	GnssClockHasLeapSecond       int32 = (1 << 0)
	GnssClockHasTimeUncertainty  int32 = (1 << 1)
	GnssClockHasFullBias         int32 = (1 << 2)
	GnssClockHasBias             int32 = (1 << 3)
	GnssClockHasBiasUncertainty  int32 = (1 << 4)
	GnssClockHasDrift            int32 = (1 << 5)
	GnssClockHasDriftUncertainty int32 = (1 << 6)
)
View Source
const (
	GnssLocationHasLatLong            int32 = 1
	GnssLocationHasAltitude           int32 = 2
	GnssLocationHasSpeed              int32 = 4
	GnssLocationHasBearing            int32 = 8
	GnssLocationHasHorizontalAccuracy int32 = 16
	GnssLocationHasVerticalAccuracy   int32 = 32
	GnssLocationHasSpeedAccuracy      int32 = 64
	GnssLocationHasBearingAccuracy    int32 = 128
)
View Source
const (
	GnssMeasurementHasSnr                     int32 = (1 << 0)
	GnssMeasurementHasCarrierFrequency        int32 = (1 << 9)
	GnssMeasurementHasCarrierCycles           int32 = (1 << 10)
	GnssMeasurementHasCarrierPhase            int32 = (1 << 11)
	GnssMeasurementHasCarrierPhaseUncertainty int32 = (1 << 12)
	GnssMeasurementHasAutomaticGainControl    int32 = (1 << 13)
	GnssMeasurementHasFullIsb                 int32 = (1 << 16)
	GnssMeasurementHasFullIsbUncertainty      int32 = (1 << 17)
	GnssMeasurementHasSatelliteIsb            int32 = (1 << 18)
	GnssMeasurementHasSatelliteIsbUncertainty int32 = (1 << 19)
	GnssMeasurementHasSatellitePvt            int32 = (1 << 20)
	GnssMeasurementHasCorrelationVector       int32 = (1 << 21)
	GnssMeasurementStateUnknown               int32 = 0
	GnssMeasurementStateCodeLock              int32 = (1 << 0)
	GnssMeasurementStateBitSync               int32 = (1 << 1)
	GnssMeasurementStateSubframeSync          int32 = (1 << 2)
	GnssMeasurementStateTowDecoded            int32 = (1 << 3)
	GnssMeasurementStateMsecAmbiguous         int32 = (1 << 4)
	GnssMeasurementStateSymbolSync            int32 = (1 << 5)
	GnssMeasurementStateGloStringSync         int32 = (1 << 6)
	GnssMeasurementStateGloTodDecoded         int32 = (1 << 7)
	GnssMeasurementStateBdsD2BitSync          int32 = (1 << 8)
	GnssMeasurementStateBdsD2SubframeSync     int32 = (1 << 9)
	GnssMeasurementStateGalE1bcCodeLock       int32 = (1 << 10)
	GnssMeasurementStateGalE1c2ndCodeLock     int32 = (1 << 11)
	GnssMeasurementStateGalE1bPageSync        int32 = (1 << 12)
	GnssMeasurementStateSbasSync              int32 = (1 << 13)
	GnssMeasurementStateTowKnown              int32 = (1 << 14)
	GnssMeasurementStateGloTodKnown           int32 = (1 << 15)
	GnssMeasurementState2ndCodeLock           int32 = (1 << 16)
	GnssMeasurementAdrStateUnknown            int32 = 0
	GnssMeasurementAdrStateValid              int32 = (1 << 0)
	GnssMeasurementAdrStateReset              int32 = (1 << 1)
	GnssMeasurementAdrStateCycleSlip          int32 = (1 << 2)
	GnssMeasurementAdrStateHalfCycleResolved  int32 = (1 << 3)
)
View Source
const (
	GnssSignalTypeCodeTypeA       string = "A"
	GnssSignalTypeCodeTypeB       string = "B"
	GnssSignalTypeCodeTypeC       string = "C"
	GnssSignalTypeCodeTypeD       string = "D"
	GnssSignalTypeCodeTypeE       string = "E"
	GnssSignalTypeCodeTypeI       string = "I"
	GnssSignalTypeCodeTypeL       string = "L"
	GnssSignalTypeCodeTypeM       string = "M"
	GnssSignalTypeCodeTypeN       string = "N"
	GnssSignalTypeCodeTypeP       string = "P"
	GnssSignalTypeCodeTypeQ       string = "Q"
	GnssSignalTypeCodeTypeS       string = "S"
	GnssSignalTypeCodeTypeW       string = "W"
	GnssSignalTypeCodeTypeX       string = "X"
	GnssSignalTypeCodeTypeY       string = "Y"
	GnssSignalTypeCodeTypeZ       string = "Z"
	GnssSignalTypeCodeTypeUnknown string = "UNKNOWN"
)
View Source
const (
	TransactionIAGnssSetCallback    = binder.FirstCallTransaction + 0
	TransactionIAGnssDataConnClosed = binder.FirstCallTransaction + 1
	TransactionIAGnssDataConnFailed = binder.FirstCallTransaction + 2
	TransactionIAGnssSetServer      = binder.FirstCallTransaction + 3
	TransactionIAGnssDataConnOpen   = binder.FirstCallTransaction + 4
)
View Source
const (
	MethodIAGnssSetCallback    = "setCallback"
	MethodIAGnssDataConnClosed = "dataConnClosed"
	MethodIAGnssDataConnFailed = "dataConnFailed"
	MethodIAGnssSetServer      = "setServer"
	MethodIAGnssDataConnOpen   = "dataConnOpen"
)
View Source
const (
	TransactionIAGnssRilSetCallback             = binder.FirstCallTransaction + 0
	TransactionIAGnssRilSetRefLocation          = binder.FirstCallTransaction + 1
	TransactionIAGnssRilSetSetId                = binder.FirstCallTransaction + 2
	TransactionIAGnssRilUpdateNetworkState      = binder.FirstCallTransaction + 3
	TransactionIAGnssRilInjectNiSuplMessageData = binder.FirstCallTransaction + 4
)
View Source
const (
	MethodIAGnssRilSetCallback             = "setCallback"
	MethodIAGnssRilSetRefLocation          = "setRefLocation"
	MethodIAGnssRilSetSetId                = "setSetId"
	MethodIAGnssRilUpdateNetworkState      = "updateNetworkState"
	MethodIAGnssRilInjectNiSuplMessageData = "injectNiSuplMessageData"
)
View Source
const (
	IAGnssRilNetworkCapabilityNotMetered int32 = 1
	IAGnssRilNetworkCapabilityNotRoaming int32 = 2
)
View Source
const (
	TransactionIAGnssRilCallbackRequestSetIdCb  = binder.FirstCallTransaction + 0
	TransactionIAGnssRilCallbackRequestRefLocCb = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIAGnssRilCallbackRequestSetIdCb  = "requestSetIdCb"
	MethodIAGnssRilCallbackRequestRefLocCb = "requestRefLocCb"
)
View Source
const (
	TransactionIGnssSetCallback                        = binder.FirstCallTransaction + 0
	TransactionIGnssClose                              = binder.FirstCallTransaction + 1
	TransactionIGnssGetExtensionPsds                   = binder.FirstCallTransaction + 2
	TransactionIGnssGetExtensionGnssConfiguration      = binder.FirstCallTransaction + 3
	TransactionIGnssGetExtensionGnssMeasurement        = binder.FirstCallTransaction + 4
	TransactionIGnssGetExtensionGnssPowerIndication    = binder.FirstCallTransaction + 5
	TransactionIGnssGetExtensionGnssBatching           = binder.FirstCallTransaction + 6
	TransactionIGnssGetExtensionGnssGeofence           = binder.FirstCallTransaction + 7
	TransactionIGnssGetExtensionGnssNavigationMessage  = binder.FirstCallTransaction + 8
	TransactionIGnssGetExtensionAGnss                  = binder.FirstCallTransaction + 9
	TransactionIGnssGetExtensionAGnssRil               = binder.FirstCallTransaction + 10
	TransactionIGnssGetExtensionGnssDebug              = binder.FirstCallTransaction + 11
	TransactionIGnssGetExtensionGnssVisibilityControl  = binder.FirstCallTransaction + 12
	TransactionIGnssStart                              = binder.FirstCallTransaction + 13
	TransactionIGnssStop                               = binder.FirstCallTransaction + 14
	TransactionIGnssInjectTime                         = binder.FirstCallTransaction + 15
	TransactionIGnssInjectLocation                     = binder.FirstCallTransaction + 16
	TransactionIGnssInjectBestLocation                 = binder.FirstCallTransaction + 17
	TransactionIGnssDeleteAidingData                   = binder.FirstCallTransaction + 18
	TransactionIGnssSetPositionMode                    = binder.FirstCallTransaction + 19
	TransactionIGnssGetExtensionGnssAntennaInfo        = binder.FirstCallTransaction + 20
	TransactionIGnssGetExtensionMeasurementCorrections = binder.FirstCallTransaction + 21
	TransactionIGnssStartSvStatus                      = binder.FirstCallTransaction + 22
	TransactionIGnssStopSvStatus                       = binder.FirstCallTransaction + 23
	TransactionIGnssStartNmea                          = binder.FirstCallTransaction + 24
	TransactionIGnssStopNmea                           = binder.FirstCallTransaction + 25
)
View Source
const (
	MethodIGnssSetCallback                        = "setCallback"
	MethodIGnssClose                              = "close"
	MethodIGnssGetExtensionPsds                   = "getExtensionPsds"
	MethodIGnssGetExtensionGnssConfiguration      = "getExtensionGnssConfiguration"
	MethodIGnssGetExtensionGnssMeasurement        = "getExtensionGnssMeasurement"
	MethodIGnssGetExtensionGnssPowerIndication    = "getExtensionGnssPowerIndication"
	MethodIGnssGetExtensionGnssBatching           = "getExtensionGnssBatching"
	MethodIGnssGetExtensionGnssGeofence           = "getExtensionGnssGeofence"
	MethodIGnssGetExtensionGnssNavigationMessage  = "getExtensionGnssNavigationMessage"
	MethodIGnssGetExtensionAGnss                  = "getExtensionAGnss"
	MethodIGnssGetExtensionAGnssRil               = "getExtensionAGnssRil"
	MethodIGnssGetExtensionGnssDebug              = "getExtensionGnssDebug"
	MethodIGnssGetExtensionGnssVisibilityControl  = "getExtensionGnssVisibilityControl"
	MethodIGnssStart                              = "start"
	MethodIGnssStop                               = "stop"
	MethodIGnssInjectTime                         = "injectTime"
	MethodIGnssInjectLocation                     = "injectLocation"
	MethodIGnssInjectBestLocation                 = "injectBestLocation"
	MethodIGnssDeleteAidingData                   = "deleteAidingData"
	MethodIGnssSetPositionMode                    = "setPositionMode"
	MethodIGnssGetExtensionGnssAntennaInfo        = "getExtensionGnssAntennaInfo"
	MethodIGnssGetExtensionMeasurementCorrections = "getExtensionMeasurementCorrections"
	MethodIGnssStartSvStatus                      = "startSvStatus"
	MethodIGnssStopSvStatus                       = "stopSvStatus"
	MethodIGnssStartNmea                          = "startNmea"
	MethodIGnssStopNmea                           = "stopNmea"
)
View Source
const (
	IGnssErrorInvalidArgument int32 = 1
	IGnssErrorAlreadyInit     int32 = 2
	IGnssErrorGeneric         int32 = 3
)
View Source
const (
	TransactionIGnssAntennaInfoSetCallback = binder.FirstCallTransaction + 0
	TransactionIGnssAntennaInfoClose       = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIGnssAntennaInfoSetCallback = "setCallback"
	MethodIGnssAntennaInfoClose       = "close"
)
View Source
const (
	TransactionIGnssBatchingInit         = binder.FirstCallTransaction + 0
	TransactionIGnssBatchingGetBatchSize = binder.FirstCallTransaction + 1
	TransactionIGnssBatchingStart        = binder.FirstCallTransaction + 2
	TransactionIGnssBatchingFlush        = binder.FirstCallTransaction + 3
	TransactionIGnssBatchingStop         = binder.FirstCallTransaction + 4
	TransactionIGnssBatchingCleanup      = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIGnssBatchingInit         = "init"
	MethodIGnssBatchingGetBatchSize = "getBatchSize"
	MethodIGnssBatchingStart        = "start"
	MethodIGnssBatchingFlush        = "flush"
	MethodIGnssBatchingStop         = "stop"
	MethodIGnssBatchingCleanup      = "cleanup"
)
View Source
const (
	TransactionIGnssCallbackGnssSetCapabilitiesCb           = binder.FirstCallTransaction + 0
	TransactionIGnssCallbackGnssStatusCb                    = binder.FirstCallTransaction + 1
	TransactionIGnssCallbackGnssSvStatusCb                  = binder.FirstCallTransaction + 2
	TransactionIGnssCallbackGnssLocationCb                  = binder.FirstCallTransaction + 3
	TransactionIGnssCallbackGnssNmeaCb                      = binder.FirstCallTransaction + 4
	TransactionIGnssCallbackGnssAcquireWakelockCb           = binder.FirstCallTransaction + 5
	TransactionIGnssCallbackGnssReleaseWakelockCb           = binder.FirstCallTransaction + 6
	TransactionIGnssCallbackGnssSetSystemInfoCb             = binder.FirstCallTransaction + 7
	TransactionIGnssCallbackGnssRequestTimeCb               = binder.FirstCallTransaction + 8
	TransactionIGnssCallbackGnssRequestLocationCb           = binder.FirstCallTransaction + 9
	TransactionIGnssCallbackGnssSetSignalTypeCapabilitiesCb = binder.FirstCallTransaction + 10
)
View Source
const (
	MethodIGnssCallbackGnssSetCapabilitiesCb           = "gnssSetCapabilitiesCb"
	MethodIGnssCallbackGnssStatusCb                    = "gnssStatusCb"
	MethodIGnssCallbackGnssSvStatusCb                  = "gnssSvStatusCb"
	MethodIGnssCallbackGnssLocationCb                  = "gnssLocationCb"
	MethodIGnssCallbackGnssNmeaCb                      = "gnssNmeaCb"
	MethodIGnssCallbackGnssAcquireWakelockCb           = "gnssAcquireWakelockCb"
	MethodIGnssCallbackGnssReleaseWakelockCb           = "gnssReleaseWakelockCb"
	MethodIGnssCallbackGnssSetSystemInfoCb             = "gnssSetSystemInfoCb"
	MethodIGnssCallbackGnssRequestTimeCb               = "gnssRequestTimeCb"
	MethodIGnssCallbackGnssRequestLocationCb           = "gnssRequestLocationCb"
	MethodIGnssCallbackGnssSetSignalTypeCapabilitiesCb = "gnssSetSignalTypeCapabilitiesCb"
)
View Source
const (
	IGnssCallbackCapabilityScheduling                       int32 = (1 << 0)
	IGnssCallbackCapabilityMsb                              int32 = (1 << 1)
	IGnssCallbackCapabilityMsa                              int32 = (1 << 2)
	IGnssCallbackCapabilitySingleShot                       int32 = (1 << 3)
	IGnssCallbackCapabilityOnDemandTime                     int32 = (1 << 4)
	IGnssCallbackCapabilityGeofencing                       int32 = (1 << 5)
	IGnssCallbackCapabilityMeasurements                     int32 = (1 << 6)
	IGnssCallbackCapabilityNavMessages                      int32 = (1 << 7)
	IGnssCallbackCapabilityLowPowerMode                     int32 = (1 << 8)
	IGnssCallbackCapabilitySatelliteBlocklist               int32 = (1 << 9)
	IGnssCallbackCapabilityMeasurementCorrections           int32 = (1 << 10)
	IGnssCallbackCapabilityAntennaInfo                      int32 = (1 << 11)
	IGnssCallbackCapabilityCorrelationVector                int32 = (1 << 12)
	IGnssCallbackCapabilitySatellitePvt                     int32 = (1 << 13)
	IGnssCallbackCapabilityMeasurementCorrectionsForDriving int32 = (1 << 14)
	IGnssCallbackCapabilityAccumulatedDeltaRange            int32 = (1 << 15)
)
View Source
const (
	TransactionIGnssConfigurationSetSuplVersion                = binder.FirstCallTransaction + 0
	TransactionIGnssConfigurationSetSuplMode                   = binder.FirstCallTransaction + 1
	TransactionIGnssConfigurationSetLppProfile                 = binder.FirstCallTransaction + 2
	TransactionIGnssConfigurationSetGlonassPositioningProtocol = binder.FirstCallTransaction + 3
	TransactionIGnssConfigurationSetEmergencySuplPdn           = binder.FirstCallTransaction + 4
	TransactionIGnssConfigurationSetEsExtensionSec             = binder.FirstCallTransaction + 5
	TransactionIGnssConfigurationSetBlocklist                  = binder.FirstCallTransaction + 6
)
View Source
const (
	MethodIGnssConfigurationSetSuplVersion                = "setSuplVersion"
	MethodIGnssConfigurationSetSuplMode                   = "setSuplMode"
	MethodIGnssConfigurationSetLppProfile                 = "setLppProfile"
	MethodIGnssConfigurationSetGlonassPositioningProtocol = "setGlonassPositioningProtocol"
	MethodIGnssConfigurationSetEmergencySuplPdn           = "setEmergencySuplPdn"
	MethodIGnssConfigurationSetEsExtensionSec             = "setEsExtensionSec"
	MethodIGnssConfigurationSetBlocklist                  = "setBlocklist"
)
View Source
const (
	IGnssConfigurationSuplModeMsb                  int32 = 1
	IGnssConfigurationSuplModeMsa                  int32 = 2
	IGnssConfigurationLppProfileUserPlane          int32 = 1
	IGnssConfigurationLppProfileControlPlane       int32 = 2
	IGnssConfigurationGlonassPosProtocolRrcCplane  int32 = 1
	IGnssConfigurationGlonassPosProtocolRrlpUplane int32 = 2
	IGnssConfigurationGlonassPosProtocolLppUplane  int32 = 4
)
View Source
const (
	TransactionIGnssGeofenceSetCallback    = binder.FirstCallTransaction + 0
	TransactionIGnssGeofenceAddGeofence    = binder.FirstCallTransaction + 1
	TransactionIGnssGeofencePauseGeofence  = binder.FirstCallTransaction + 2
	TransactionIGnssGeofenceResumeGeofence = binder.FirstCallTransaction + 3
	TransactionIGnssGeofenceRemoveGeofence = binder.FirstCallTransaction + 4
)
View Source
const (
	MethodIGnssGeofenceSetCallback    = "setCallback"
	MethodIGnssGeofenceAddGeofence    = "addGeofence"
	MethodIGnssGeofencePauseGeofence  = "pauseGeofence"
	MethodIGnssGeofenceResumeGeofence = "resumeGeofence"
	MethodIGnssGeofenceRemoveGeofence = "removeGeofence"
)
View Source
const (
	TransactionIGnssGeofenceCallbackGnssGeofenceTransitionCb = binder.FirstCallTransaction + 0
	TransactionIGnssGeofenceCallbackGnssGeofenceStatusCb     = binder.FirstCallTransaction + 1
	TransactionIGnssGeofenceCallbackGnssGeofenceAddCb        = binder.FirstCallTransaction + 2
	TransactionIGnssGeofenceCallbackGnssGeofenceRemoveCb     = binder.FirstCallTransaction + 3
	TransactionIGnssGeofenceCallbackGnssGeofencePauseCb      = binder.FirstCallTransaction + 4
	TransactionIGnssGeofenceCallbackGnssGeofenceResumeCb     = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIGnssGeofenceCallbackGnssGeofenceTransitionCb = "gnssGeofenceTransitionCb"
	MethodIGnssGeofenceCallbackGnssGeofenceStatusCb     = "gnssGeofenceStatusCb"
	MethodIGnssGeofenceCallbackGnssGeofenceAddCb        = "gnssGeofenceAddCb"
	MethodIGnssGeofenceCallbackGnssGeofenceRemoveCb     = "gnssGeofenceRemoveCb"
	MethodIGnssGeofenceCallbackGnssGeofencePauseCb      = "gnssGeofencePauseCb"
	MethodIGnssGeofenceCallbackGnssGeofenceResumeCb     = "gnssGeofenceResumeCb"
)
View Source
const (
	IGnssGeofenceCallbackENTERED                int32 = (1 << 0)
	IGnssGeofenceCallbackEXITED                 int32 = (1 << 1)
	IGnssGeofenceCallbackUNCERTAIN              int32 = (1 << 2)
	IGnssGeofenceCallbackUNAVAILABLE            int32 = (1 << 0)
	IGnssGeofenceCallbackAVAILABLE              int32 = (1 << 1)
	IGnssGeofenceCallbackOperationSuccess       int32 = 0
	IGnssGeofenceCallbackErrorTooManyGeofences  int32 = -100
	IGnssGeofenceCallbackErrorIdExists          int32 = -101
	IGnssGeofenceCallbackErrorIdUnknown         int32 = -102
	IGnssGeofenceCallbackErrorInvalidTransition int32 = -103
	IGnssGeofenceCallbackErrorGeneric           int32 = -149
)
View Source
const (
	TransactionIGnssMeasurementInterfaceSetCallback            = binder.FirstCallTransaction + 0
	TransactionIGnssMeasurementInterfaceClose                  = binder.FirstCallTransaction + 1
	TransactionIGnssMeasurementInterfaceSetCallbackWithOptions = binder.FirstCallTransaction + 2
)
View Source
const (
	MethodIGnssMeasurementInterfaceSetCallback            = "setCallback"
	MethodIGnssMeasurementInterfaceClose                  = "close"
	MethodIGnssMeasurementInterfaceSetCallbackWithOptions = "setCallbackWithOptions"
)
View Source
const (
	IGnssNavigationMessageCallbackGnssNavigationMessageStatusParityPassed  int32 = (1 << 0)
	IGnssNavigationMessageCallbackGnssNavigationMessageStatusParityRebuilt int32 = (1 << 1)
	IGnssNavigationMessageCallbackGnssNavigationMessageStatusUnknown       int32 = 0
)
View Source
const (
	TransactionIGnssNavigationMessageInterfaceSetCallback = binder.FirstCallTransaction + 0
	TransactionIGnssNavigationMessageInterfaceClose       = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIGnssNavigationMessageInterfaceSetCallback = "setCallback"
	MethodIGnssNavigationMessageInterfaceClose       = "close"
)
View Source
const (
	TransactionIGnssPowerIndicationSetCallback           = binder.FirstCallTransaction + 0
	TransactionIGnssPowerIndicationRequestGnssPowerStats = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIGnssPowerIndicationSetCallback           = "setCallback"
	MethodIGnssPowerIndicationRequestGnssPowerStats = "requestGnssPowerStats"
)
View Source
const (
	TransactionIGnssPowerIndicationCallbackSetCapabilitiesCb = binder.FirstCallTransaction + 0
	TransactionIGnssPowerIndicationCallbackGnssPowerStatsCb  = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIGnssPowerIndicationCallbackSetCapabilitiesCb = "setCapabilitiesCb"
	MethodIGnssPowerIndicationCallbackGnssPowerStatsCb  = "gnssPowerStatsCb"
)
View Source
const (
	IGnssPowerIndicationCallbackCapabilityTotal                 int32 = (1 << 0)
	IGnssPowerIndicationCallbackCapabilitySinglebandTracking    int32 = (1 << 1)
	IGnssPowerIndicationCallbackCapabilityMultibandTracking     int32 = (1 << 2)
	IGnssPowerIndicationCallbackCapabilitySinglebandAcquisition int32 = (1 << 3)
	IGnssPowerIndicationCallbackCapabilityMultibandAcquisition  int32 = (1 << 4)
	IGnssPowerIndicationCallbackCapabilityOtherModes            int32 = (1 << 5)
)
View Source
const (
	TransactionIGnssPsdsInjectPsdsData = binder.FirstCallTransaction + 0
	TransactionIGnssPsdsSetCallback    = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIGnssPsdsInjectPsdsData = "injectPsdsData"
	MethodIGnssPsdsSetCallback    = "setCallback"
)
View Source
const (
	SatellitePvtHasPositionVelocityClockInfo int32 = (1 << 0)
	SatellitePvtHasIono                      int32 = (1 << 1)
	SatellitePvtHasTropo                     int32 = (1 << 2)
)
View Source
const DescriptorIAGnss = "android.hardware.gnss.IAGnss"
View Source
const DescriptorIAGnssCallback = "android.hardware.gnss.IAGnssCallback"
View Source
const DescriptorIAGnssRil = "android.hardware.gnss.IAGnssRil"
View Source
const DescriptorIAGnssRilCallback = "android.hardware.gnss.IAGnssRilCallback"
View Source
const DescriptorIGnss = "android.hardware.gnss.IGnss"
View Source
const DescriptorIGnssAntennaInfo = "android.hardware.gnss.IGnssAntennaInfo"
View Source
const DescriptorIGnssAntennaInfoCallback = "android.hardware.gnss.IGnssAntennaInfoCallback"
View Source
const DescriptorIGnssBatching = "android.hardware.gnss.IGnssBatching"
View Source
const DescriptorIGnssBatchingCallback = "android.hardware.gnss.IGnssBatchingCallback"
View Source
const DescriptorIGnssCallback = "android.hardware.gnss.IGnssCallback"
View Source
const DescriptorIGnssConfiguration = "android.hardware.gnss.IGnssConfiguration"
View Source
const DescriptorIGnssDebug = "android.hardware.gnss.IGnssDebug"
View Source
const DescriptorIGnssGeofence = "android.hardware.gnss.IGnssGeofence"
View Source
const DescriptorIGnssGeofenceCallback = "android.hardware.gnss.IGnssGeofenceCallback"
View Source
const DescriptorIGnssMeasurementCallback = "android.hardware.gnss.IGnssMeasurementCallback"
View Source
const DescriptorIGnssMeasurementInterface = "android.hardware.gnss.IGnssMeasurementInterface"
View Source
const DescriptorIGnssNavigationMessageCallback = "android.hardware.gnss.IGnssNavigationMessageCallback"
View Source
const DescriptorIGnssNavigationMessageInterface = "android.hardware.gnss.IGnssNavigationMessageInterface"
View Source
const DescriptorIGnssPowerIndication = "android.hardware.gnss.IGnssPowerIndication"
View Source
const DescriptorIGnssPowerIndicationCallback = "android.hardware.gnss.IGnssPowerIndicationCallback"
View Source
const DescriptorIGnssPsds = "android.hardware.gnss.IGnssPsds"
View Source
const DescriptorIGnssPsdsCallback = "android.hardware.gnss.IGnssPsdsCallback"
View Source
const (
	IGnssBatchingWakeupOnFifoFull int32 = 1
)
View Source
const (
	MethodIAGnssCallbackAgnssStatusCb = "agnssStatusCb"
)
View Source
const (
	MethodIGnssAntennaInfoCallbackGnssAntennaInfoCb = "gnssAntennaInfoCb"
)
View Source
const (
	MethodIGnssBatchingCallbackGnssLocationBatchCb = "gnssLocationBatchCb"
)
View Source
const (
	MethodIGnssDebugGetDebugData = "getDebugData"
)
View Source
const (
	MethodIGnssMeasurementCallbackGnssMeasurementCb = "gnssMeasurementCb"
)
View Source
const (
	MethodIGnssNavigationMessageCallbackGnssNavigationMessageCb = "gnssNavigationMessageCb"
)
View Source
const (
	MethodIGnssPsdsCallbackDownloadRequestCb = "downloadRequestCb"
)
View Source
const (
	TransactionIAGnssCallbackAgnssStatusCb = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIGnssAntennaInfoCallbackGnssAntennaInfoCb = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIGnssBatchingCallbackGnssLocationBatchCb = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIGnssDebugGetDebugData = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIGnssMeasurementCallbackGnssMeasurementCb = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIGnssNavigationMessageCallbackGnssNavigationMessageCb = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIGnssPsdsCallbackDownloadRequestCb = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AGnssCallbackProxy

type AGnssCallbackProxy struct {
	Remote binder.IBinder
}

func NewAGnssCallbackProxy

func NewAGnssCallbackProxy(
	remote binder.IBinder,
) *AGnssCallbackProxy

func (*AGnssCallbackProxy) AgnssStatusCb

func (*AGnssCallbackProxy) AsBinder

func (p *AGnssCallbackProxy) AsBinder() binder.IBinder

type AGnssCallbackStub

type AGnssCallbackStub struct {
	Impl      IAGnssCallback
	Transport binder.VersionAwareTransport
}

AGnssCallbackStub dispatches incoming binder transactions to a typed IAGnssCallback implementation.

func (*AGnssCallbackStub) Descriptor

func (s *AGnssCallbackStub) Descriptor() string

func (*AGnssCallbackStub) OnTransaction

func (s *AGnssCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AGnssProxy

type AGnssProxy struct {
	Remote binder.IBinder
}

func NewAGnssProxy

func NewAGnssProxy(
	remote binder.IBinder,
) *AGnssProxy

func (*AGnssProxy) AsBinder

func (p *AGnssProxy) AsBinder() binder.IBinder

func (*AGnssProxy) DataConnClosed

func (p *AGnssProxy) DataConnClosed(
	ctx context.Context,
) error

func (*AGnssProxy) DataConnFailed

func (p *AGnssProxy) DataConnFailed(
	ctx context.Context,
) error

func (*AGnssProxy) DataConnOpen

func (p *AGnssProxy) DataConnOpen(
	ctx context.Context,
	networkHandle int64,
	apn string,
	apnIpType IAGnssApnIpType,
) error

func (*AGnssProxy) SetCallback

func (p *AGnssProxy) SetCallback(
	ctx context.Context,
	callback IAGnssCallback,
) error

func (*AGnssProxy) SetServer

func (p *AGnssProxy) SetServer(
	ctx context.Context,
	type_ IAGnssCallbackAGnssType,
	hostname string,
	port int32,
) error

type AGnssRilCallbackProxy

type AGnssRilCallbackProxy struct {
	Remote binder.IBinder
}

func NewAGnssRilCallbackProxy

func NewAGnssRilCallbackProxy(
	remote binder.IBinder,
) *AGnssRilCallbackProxy

func (*AGnssRilCallbackProxy) AsBinder

func (p *AGnssRilCallbackProxy) AsBinder() binder.IBinder

func (*AGnssRilCallbackProxy) RequestRefLocCb

func (p *AGnssRilCallbackProxy) RequestRefLocCb(
	ctx context.Context,
) error

func (*AGnssRilCallbackProxy) RequestSetIdCb

func (p *AGnssRilCallbackProxy) RequestSetIdCb(
	ctx context.Context,
	setIdflag int32,
) error

type AGnssRilCallbackStub

type AGnssRilCallbackStub struct {
	Impl      IAGnssRilCallback
	Transport binder.VersionAwareTransport
}

AGnssRilCallbackStub dispatches incoming binder transactions to a typed IAGnssRilCallback implementation.

func (*AGnssRilCallbackStub) Descriptor

func (s *AGnssRilCallbackStub) Descriptor() string

func (*AGnssRilCallbackStub) OnTransaction

func (s *AGnssRilCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AGnssRilProxy

type AGnssRilProxy struct {
	Remote binder.IBinder
}

func NewAGnssRilProxy

func NewAGnssRilProxy(
	remote binder.IBinder,
) *AGnssRilProxy

func (*AGnssRilProxy) AsBinder

func (p *AGnssRilProxy) AsBinder() binder.IBinder

func (*AGnssRilProxy) InjectNiSuplMessageData

func (p *AGnssRilProxy) InjectNiSuplMessageData(
	ctx context.Context,
	msgData []byte,
	slotIndex int32,
) error

func (*AGnssRilProxy) SetCallback

func (p *AGnssRilProxy) SetCallback(
	ctx context.Context,
	callback IAGnssRilCallback,
) error

func (*AGnssRilProxy) SetRefLocation

func (p *AGnssRilProxy) SetRefLocation(
	ctx context.Context,
	agnssReflocation IAGnssRilAGnssRefLocation,
) error

func (*AGnssRilProxy) SetSetId

func (p *AGnssRilProxy) SetSetId(
	ctx context.Context,
	type_ IAGnssRilSetIdType,
	setid string,
) error

func (*AGnssRilProxy) UpdateNetworkState

func (p *AGnssRilProxy) UpdateNetworkState(
	ctx context.Context,
	attributes IAGnssRilNetworkAttributes,
) error

type AGnssRilStub

type AGnssRilStub struct {
	Impl      IAGnssRil
	Transport binder.VersionAwareTransport
}

AGnssRilStub dispatches incoming binder transactions to a typed IAGnssRil implementation.

func (*AGnssRilStub) Descriptor

func (s *AGnssRilStub) Descriptor() string

func (*AGnssRilStub) OnTransaction

func (s *AGnssRilStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AGnssStub

type AGnssStub struct {
	Impl      IAGnss
	Transport binder.VersionAwareTransport
}

AGnssStub dispatches incoming binder transactions to a typed IAGnss implementation.

func (*AGnssStub) Descriptor

func (s *AGnssStub) Descriptor() string

func (*AGnssStub) OnTransaction

func (s *AGnssStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type BlocklistedSource

type BlocklistedSource struct {
	Constellation GnssConstellationType
	Svid          int32
}

func (*BlocklistedSource) MarshalParcel

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

func (*BlocklistedSource) UnmarshalParcel

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

type CorrelationVector

type CorrelationVector struct {
	FrequencyOffsetMps float64
	SamplingWidthM     float64
	SamplingStartM     float64
	Magnitude          []int32
}

func (*CorrelationVector) MarshalParcel

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

func (*CorrelationVector) UnmarshalParcel

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

type ElapsedRealtime

type ElapsedRealtime struct {
	Flags             int32
	TimestampNs       int64
	TimeUncertaintyNs float64
}

func (*ElapsedRealtime) MarshalParcel

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

func (*ElapsedRealtime) UnmarshalParcel

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

type GnssAntennaInfoCallbackProxy

type GnssAntennaInfoCallbackProxy struct {
	Remote binder.IBinder
}

func NewGnssAntennaInfoCallbackProxy

func NewGnssAntennaInfoCallbackProxy(
	remote binder.IBinder,
) *GnssAntennaInfoCallbackProxy

func (*GnssAntennaInfoCallbackProxy) AsBinder

func (*GnssAntennaInfoCallbackProxy) GnssAntennaInfoCb

func (p *GnssAntennaInfoCallbackProxy) GnssAntennaInfoCb(
	ctx context.Context,
	gnssAntennaInfos []IGnssAntennaInfoCallbackGnssAntennaInfo,
) error

type GnssAntennaInfoCallbackStub

type GnssAntennaInfoCallbackStub struct {
	Impl      IGnssAntennaInfoCallback
	Transport binder.VersionAwareTransport
}

GnssAntennaInfoCallbackStub dispatches incoming binder transactions to a typed IGnssAntennaInfoCallback implementation.

func (*GnssAntennaInfoCallbackStub) Descriptor

func (s *GnssAntennaInfoCallbackStub) Descriptor() string

func (*GnssAntennaInfoCallbackStub) OnTransaction

func (s *GnssAntennaInfoCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssAntennaInfoProxy

type GnssAntennaInfoProxy struct {
	Remote binder.IBinder
}

func NewGnssAntennaInfoProxy

func NewGnssAntennaInfoProxy(
	remote binder.IBinder,
) *GnssAntennaInfoProxy

func (*GnssAntennaInfoProxy) AsBinder

func (p *GnssAntennaInfoProxy) AsBinder() binder.IBinder

func (*GnssAntennaInfoProxy) Close

func (p *GnssAntennaInfoProxy) Close(
	ctx context.Context,
) error

func (*GnssAntennaInfoProxy) SetCallback

func (p *GnssAntennaInfoProxy) SetCallback(
	ctx context.Context,
	callback IGnssAntennaInfoCallback,
) error

type GnssAntennaInfoStub

type GnssAntennaInfoStub struct {
	Impl      IGnssAntennaInfo
	Transport binder.VersionAwareTransport
}

GnssAntennaInfoStub dispatches incoming binder transactions to a typed IGnssAntennaInfo implementation.

func (*GnssAntennaInfoStub) Descriptor

func (s *GnssAntennaInfoStub) Descriptor() string

func (*GnssAntennaInfoStub) OnTransaction

func (s *GnssAntennaInfoStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssBatchingCallbackProxy

type GnssBatchingCallbackProxy struct {
	Remote binder.IBinder
}

func NewGnssBatchingCallbackProxy

func NewGnssBatchingCallbackProxy(
	remote binder.IBinder,
) *GnssBatchingCallbackProxy

func (*GnssBatchingCallbackProxy) AsBinder

func (*GnssBatchingCallbackProxy) GnssLocationBatchCb

func (p *GnssBatchingCallbackProxy) GnssLocationBatchCb(
	ctx context.Context,
	locations []GnssLocation,
) error

type GnssBatchingCallbackStub

type GnssBatchingCallbackStub struct {
	Impl      IGnssBatchingCallback
	Transport binder.VersionAwareTransport
}

GnssBatchingCallbackStub dispatches incoming binder transactions to a typed IGnssBatchingCallback implementation.

func (*GnssBatchingCallbackStub) Descriptor

func (s *GnssBatchingCallbackStub) Descriptor() string

func (*GnssBatchingCallbackStub) OnTransaction

func (s *GnssBatchingCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssBatchingProxy

type GnssBatchingProxy struct {
	Remote binder.IBinder
}

func NewGnssBatchingProxy

func NewGnssBatchingProxy(
	remote binder.IBinder,
) *GnssBatchingProxy

func (*GnssBatchingProxy) AsBinder

func (p *GnssBatchingProxy) AsBinder() binder.IBinder

func (*GnssBatchingProxy) Cleanup

func (p *GnssBatchingProxy) Cleanup(
	ctx context.Context,
) error

func (*GnssBatchingProxy) Flush

func (p *GnssBatchingProxy) Flush(
	ctx context.Context,
) error

func (*GnssBatchingProxy) GetBatchSize

func (p *GnssBatchingProxy) GetBatchSize(
	ctx context.Context,
) (int32, error)

func (*GnssBatchingProxy) Init

func (p *GnssBatchingProxy) Init(
	ctx context.Context,
	callback IGnssBatchingCallback,
) error

func (*GnssBatchingProxy) Start

func (p *GnssBatchingProxy) Start(
	ctx context.Context,
	options IGnssBatchingOptions,
) error

func (*GnssBatchingProxy) Stop

func (p *GnssBatchingProxy) Stop(
	ctx context.Context,
) error

type GnssBatchingStub

type GnssBatchingStub struct {
	Impl      IGnssBatching
	Transport binder.VersionAwareTransport
}

GnssBatchingStub dispatches incoming binder transactions to a typed IGnssBatching implementation.

func (*GnssBatchingStub) Descriptor

func (s *GnssBatchingStub) Descriptor() string

func (*GnssBatchingStub) OnTransaction

func (s *GnssBatchingStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssCallbackProxy

type GnssCallbackProxy struct {
	Remote binder.IBinder
}

func NewGnssCallbackProxy

func NewGnssCallbackProxy(
	remote binder.IBinder,
) *GnssCallbackProxy

func (*GnssCallbackProxy) AsBinder

func (p *GnssCallbackProxy) AsBinder() binder.IBinder

func (*GnssCallbackProxy) GnssAcquireWakelockCb

func (p *GnssCallbackProxy) GnssAcquireWakelockCb(
	ctx context.Context,
) error

func (*GnssCallbackProxy) GnssLocationCb

func (p *GnssCallbackProxy) GnssLocationCb(
	ctx context.Context,
	location GnssLocation,
) error

func (*GnssCallbackProxy) GnssNmeaCb

func (p *GnssCallbackProxy) GnssNmeaCb(
	ctx context.Context,
	timestamp int64,
	nmea string,
) error

func (*GnssCallbackProxy) GnssReleaseWakelockCb

func (p *GnssCallbackProxy) GnssReleaseWakelockCb(
	ctx context.Context,
) error

func (*GnssCallbackProxy) GnssRequestLocationCb

func (p *GnssCallbackProxy) GnssRequestLocationCb(
	ctx context.Context,
	independentFromGnss bool,
	isUserEmergency bool,
) error

func (*GnssCallbackProxy) GnssRequestTimeCb

func (p *GnssCallbackProxy) GnssRequestTimeCb(
	ctx context.Context,
) error

func (*GnssCallbackProxy) GnssSetCapabilitiesCb

func (p *GnssCallbackProxy) GnssSetCapabilitiesCb(
	ctx context.Context,
	capabilities int32,
) error

func (*GnssCallbackProxy) GnssSetSignalTypeCapabilitiesCb

func (p *GnssCallbackProxy) GnssSetSignalTypeCapabilitiesCb(
	ctx context.Context,
	gnssSignalTypes []GnssSignalType,
) error

func (*GnssCallbackProxy) GnssSetSystemInfoCb

func (p *GnssCallbackProxy) GnssSetSystemInfoCb(
	ctx context.Context,
	info IGnssCallbackGnssSystemInfo,
) error

func (*GnssCallbackProxy) GnssStatusCb

func (p *GnssCallbackProxy) GnssStatusCb(
	ctx context.Context,
	status IGnssCallbackGnssStatusValue,
) error

func (*GnssCallbackProxy) GnssSvStatusCb

func (p *GnssCallbackProxy) GnssSvStatusCb(
	ctx context.Context,
	svInfoList []IGnssCallbackGnssSvInfo,
) error

type GnssCallbackStub

type GnssCallbackStub struct {
	Impl      IGnssCallback
	Transport binder.VersionAwareTransport
}

GnssCallbackStub dispatches incoming binder transactions to a typed IGnssCallback implementation.

func (*GnssCallbackStub) Descriptor

func (s *GnssCallbackStub) Descriptor() string

func (*GnssCallbackStub) OnTransaction

func (s *GnssCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssClock

type GnssClock struct {
	GnssClockFlags            int32
	LeapSecond                int32
	TimeNs                    int64
	TimeUncertaintyNs         float64
	FullBiasNs                int64
	BiasNs                    float64
	BiasUncertaintyNs         float64
	DriftNsps                 float64
	DriftUncertaintyNsps      float64
	HwClockDiscontinuityCount int32
	ReferenceSignalTypeForIsb GnssSignalType
}

func (*GnssClock) MarshalParcel

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

func (*GnssClock) UnmarshalParcel

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

type GnssConfigurationProxy

type GnssConfigurationProxy struct {
	Remote binder.IBinder
}

func NewGnssConfigurationProxy

func NewGnssConfigurationProxy(
	remote binder.IBinder,
) *GnssConfigurationProxy

func (*GnssConfigurationProxy) AsBinder

func (p *GnssConfigurationProxy) AsBinder() binder.IBinder

func (*GnssConfigurationProxy) SetBlocklist

func (p *GnssConfigurationProxy) SetBlocklist(
	ctx context.Context,
	blocklist []BlocklistedSource,
) error

func (*GnssConfigurationProxy) SetEmergencySuplPdn

func (p *GnssConfigurationProxy) SetEmergencySuplPdn(
	ctx context.Context,
	enable bool,
) error

func (*GnssConfigurationProxy) SetEsExtensionSec

func (p *GnssConfigurationProxy) SetEsExtensionSec(
	ctx context.Context,
	emergencyExtensionSeconds int32,
) error

func (*GnssConfigurationProxy) SetGlonassPositioningProtocol

func (p *GnssConfigurationProxy) SetGlonassPositioningProtocol(
	ctx context.Context,
	protocol int32,
) error

func (*GnssConfigurationProxy) SetLppProfile

func (p *GnssConfigurationProxy) SetLppProfile(
	ctx context.Context,
	lppProfile int32,
) error

func (*GnssConfigurationProxy) SetSuplMode

func (p *GnssConfigurationProxy) SetSuplMode(
	ctx context.Context,
	mode int32,
) error

func (*GnssConfigurationProxy) SetSuplVersion

func (p *GnssConfigurationProxy) SetSuplVersion(
	ctx context.Context,
	version int32,
) error

type GnssConfigurationStub

type GnssConfigurationStub struct {
	Impl      IGnssConfiguration
	Transport binder.VersionAwareTransport
}

GnssConfigurationStub dispatches incoming binder transactions to a typed IGnssConfiguration implementation.

func (*GnssConfigurationStub) Descriptor

func (s *GnssConfigurationStub) Descriptor() string

func (*GnssConfigurationStub) OnTransaction

func (s *GnssConfigurationStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssConstellationType

type GnssConstellationType int32
const (
	GnssConstellationTypeUNKNOWN GnssConstellationType = 0
	GnssConstellationTypeGPS     GnssConstellationType = 1
	GnssConstellationTypeSBAS    GnssConstellationType = 2
	GnssConstellationTypeGLONASS GnssConstellationType = 3
	GnssConstellationTypeQZSS    GnssConstellationType = 4
	GnssConstellationTypeBEIDOU  GnssConstellationType = 5
	GnssConstellationTypeGALILEO GnssConstellationType = 6
	GnssConstellationTypeIRNSS   GnssConstellationType = 7
)

type GnssData

type GnssData struct {
	Measurements    []GnssMeasurement
	Clock           GnssClock
	ElapsedRealtime ElapsedRealtime
	GnssAgcs        []GnssDataGnssAgc
	IsFullTracking  bool
}

func (*GnssData) MarshalParcel

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

func (*GnssData) UnmarshalParcel

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

type GnssDataGnssAgc

type GnssDataGnssAgc struct {
	AgcLevelDb         float64
	Constellation      GnssConstellationType
	CarrierFrequencyHz int64
}

func (*GnssDataGnssAgc) MarshalParcel

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

func (*GnssDataGnssAgc) UnmarshalParcel

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

type GnssDebugProxy

type GnssDebugProxy struct {
	Remote binder.IBinder
}

func NewGnssDebugProxy

func NewGnssDebugProxy(
	remote binder.IBinder,
) *GnssDebugProxy

func (*GnssDebugProxy) AsBinder

func (p *GnssDebugProxy) AsBinder() binder.IBinder

func (*GnssDebugProxy) GetDebugData

func (p *GnssDebugProxy) GetDebugData(
	ctx context.Context,
) (IGnssDebugDebugData, error)

type GnssDebugStub

type GnssDebugStub struct {
	Impl      IGnssDebug
	Transport binder.VersionAwareTransport
}

GnssDebugStub dispatches incoming binder transactions to a typed IGnssDebug implementation.

func (*GnssDebugStub) Descriptor

func (s *GnssDebugStub) Descriptor() string

func (*GnssDebugStub) OnTransaction

func (s *GnssDebugStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssGeofenceCallbackProxy

type GnssGeofenceCallbackProxy struct {
	Remote binder.IBinder
}

func NewGnssGeofenceCallbackProxy

func NewGnssGeofenceCallbackProxy(
	remote binder.IBinder,
) *GnssGeofenceCallbackProxy

func (*GnssGeofenceCallbackProxy) AsBinder

func (*GnssGeofenceCallbackProxy) GnssGeofenceAddCb

func (p *GnssGeofenceCallbackProxy) GnssGeofenceAddCb(
	ctx context.Context,
	geofenceId int32,
	status int32,
) error

func (*GnssGeofenceCallbackProxy) GnssGeofencePauseCb

func (p *GnssGeofenceCallbackProxy) GnssGeofencePauseCb(
	ctx context.Context,
	geofenceId int32,
	status int32,
) error

func (*GnssGeofenceCallbackProxy) GnssGeofenceRemoveCb

func (p *GnssGeofenceCallbackProxy) GnssGeofenceRemoveCb(
	ctx context.Context,
	geofenceId int32,
	status int32,
) error

func (*GnssGeofenceCallbackProxy) GnssGeofenceResumeCb

func (p *GnssGeofenceCallbackProxy) GnssGeofenceResumeCb(
	ctx context.Context,
	geofenceId int32,
	status int32,
) error

func (*GnssGeofenceCallbackProxy) GnssGeofenceStatusCb

func (p *GnssGeofenceCallbackProxy) GnssGeofenceStatusCb(
	ctx context.Context,
	availability int32,
	lastLocation GnssLocation,
) error

func (*GnssGeofenceCallbackProxy) GnssGeofenceTransitionCb

func (p *GnssGeofenceCallbackProxy) GnssGeofenceTransitionCb(
	ctx context.Context,
	geofenceId int32,
	location GnssLocation,
	transition int32,
	timestampMillis int64,
) error

type GnssGeofenceCallbackStub

type GnssGeofenceCallbackStub struct {
	Impl      IGnssGeofenceCallback
	Transport binder.VersionAwareTransport
}

GnssGeofenceCallbackStub dispatches incoming binder transactions to a typed IGnssGeofenceCallback implementation.

func (*GnssGeofenceCallbackStub) Descriptor

func (s *GnssGeofenceCallbackStub) Descriptor() string

func (*GnssGeofenceCallbackStub) OnTransaction

func (s *GnssGeofenceCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssGeofenceProxy

type GnssGeofenceProxy struct {
	Remote binder.IBinder
}

func NewGnssGeofenceProxy

func NewGnssGeofenceProxy(
	remote binder.IBinder,
) *GnssGeofenceProxy

func (*GnssGeofenceProxy) AddGeofence

func (p *GnssGeofenceProxy) AddGeofence(
	ctx context.Context,
	geofenceId int32,
	latitudeDegrees float64,
	longitudeDegrees float64,
	radiusMeters float64,
	lastTransition int32,
	monitorTransitions int32,
	notificationResponsivenessMs int32,
	unknownTimerMs int32,
) error

func (*GnssGeofenceProxy) AsBinder

func (p *GnssGeofenceProxy) AsBinder() binder.IBinder

func (*GnssGeofenceProxy) PauseGeofence

func (p *GnssGeofenceProxy) PauseGeofence(
	ctx context.Context,
	geofenceId int32,
) error

func (*GnssGeofenceProxy) RemoveGeofence

func (p *GnssGeofenceProxy) RemoveGeofence(
	ctx context.Context,
	geofenceId int32,
) error

func (*GnssGeofenceProxy) ResumeGeofence

func (p *GnssGeofenceProxy) ResumeGeofence(
	ctx context.Context,
	geofenceId int32,
	monitorTransitions int32,
) error

func (*GnssGeofenceProxy) SetCallback

func (p *GnssGeofenceProxy) SetCallback(
	ctx context.Context,
	callback IGnssGeofenceCallback,
) error

type GnssGeofenceStub

type GnssGeofenceStub struct {
	Impl      IGnssGeofence
	Transport binder.VersionAwareTransport
}

GnssGeofenceStub dispatches incoming binder transactions to a typed IGnssGeofence implementation.

func (*GnssGeofenceStub) Descriptor

func (s *GnssGeofenceStub) Descriptor() string

func (*GnssGeofenceStub) OnTransaction

func (s *GnssGeofenceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssLocation

type GnssLocation struct {
	GnssLocationFlags            int32
	LatitudeDegrees              float64
	LongitudeDegrees             float64
	AltitudeMeters               float64
	SpeedMetersPerSec            float64
	BearingDegrees               float64
	HorizontalAccuracyMeters     float64
	VerticalAccuracyMeters       float64
	SpeedAccuracyMetersPerSecond float64
	BearingAccuracyDegrees       float64
	TimestampMillis              int64
	ElapsedRealtime              ElapsedRealtime
}

func (*GnssLocation) MarshalParcel

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

func (*GnssLocation) UnmarshalParcel

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

type GnssMeasurement

type GnssMeasurement struct {
	Flags                                 int32
	Svid                                  int32
	SignalType                            GnssSignalType
	TimeOffsetNs                          float64
	State                                 int32
	ReceivedSvTimeInNs                    int64
	ReceivedSvTimeUncertaintyInNs         int64
	AntennaCN0DbHz                        float64
	BasebandCN0DbHz                       float64
	PseudorangeRateMps                    float64
	PseudorangeRateUncertaintyMps         float64
	AccumulatedDeltaRangeState            int32
	AccumulatedDeltaRangeM                float64
	AccumulatedDeltaRangeUncertaintyM     float64
	CarrierCycles                         int64
	CarrierPhase                          float64
	CarrierPhaseUncertainty               float64
	MultipathIndicator                    GnssMultipathIndicator
	SnrDb                                 float64
	AgcLevelDb                            float64
	FullInterSignalBiasNs                 float64
	FullInterSignalBiasUncertaintyNs      float64
	SatelliteInterSignalBiasNs            float64
	SatelliteInterSignalBiasUncertaintyNs float64
	SatellitePvt                          SatellitePvt
	CorrelationVectors                    []CorrelationVector
}

func (*GnssMeasurement) MarshalParcel

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

func (*GnssMeasurement) UnmarshalParcel

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

type GnssMeasurementCallbackProxy

type GnssMeasurementCallbackProxy struct {
	Remote binder.IBinder
}

func NewGnssMeasurementCallbackProxy

func NewGnssMeasurementCallbackProxy(
	remote binder.IBinder,
) *GnssMeasurementCallbackProxy

func (*GnssMeasurementCallbackProxy) AsBinder

func (*GnssMeasurementCallbackProxy) GnssMeasurementCb

func (p *GnssMeasurementCallbackProxy) GnssMeasurementCb(
	ctx context.Context,
	data GnssData,
) error

type GnssMeasurementCallbackStub

type GnssMeasurementCallbackStub struct {
	Impl      IGnssMeasurementCallback
	Transport binder.VersionAwareTransport
}

GnssMeasurementCallbackStub dispatches incoming binder transactions to a typed IGnssMeasurementCallback implementation.

func (*GnssMeasurementCallbackStub) Descriptor

func (s *GnssMeasurementCallbackStub) Descriptor() string

func (*GnssMeasurementCallbackStub) OnTransaction

func (s *GnssMeasurementCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssMeasurementInterfaceProxy

type GnssMeasurementInterfaceProxy struct {
	Remote binder.IBinder
}

func NewGnssMeasurementInterfaceProxy

func NewGnssMeasurementInterfaceProxy(
	remote binder.IBinder,
) *GnssMeasurementInterfaceProxy

func (*GnssMeasurementInterfaceProxy) AsBinder

func (*GnssMeasurementInterfaceProxy) Close

func (*GnssMeasurementInterfaceProxy) SetCallback

func (p *GnssMeasurementInterfaceProxy) SetCallback(
	ctx context.Context,
	callback IGnssMeasurementCallback,
	enableFullTracking bool,
	enableCorrVecOutputs bool,
) error

func (*GnssMeasurementInterfaceProxy) SetCallbackWithOptions

type GnssMeasurementInterfaceStub

type GnssMeasurementInterfaceStub struct {
	Impl      IGnssMeasurementInterface
	Transport binder.VersionAwareTransport
}

GnssMeasurementInterfaceStub dispatches incoming binder transactions to a typed IGnssMeasurementInterface implementation.

func (*GnssMeasurementInterfaceStub) Descriptor

func (s *GnssMeasurementInterfaceStub) Descriptor() string

func (*GnssMeasurementInterfaceStub) OnTransaction

type GnssMultipathIndicator

type GnssMultipathIndicator int32
const (
	GnssMultipathIndicatorUNKNOWN    GnssMultipathIndicator = 0
	GnssMultipathIndicatorPRESENT    GnssMultipathIndicator = 1
	GnssMultipathIndicatorNotPresent GnssMultipathIndicator = 2
)

type GnssNavigationMessageCallbackProxy

type GnssNavigationMessageCallbackProxy struct {
	Remote binder.IBinder
}

func NewGnssNavigationMessageCallbackProxy

func NewGnssNavigationMessageCallbackProxy(
	remote binder.IBinder,
) *GnssNavigationMessageCallbackProxy

func (*GnssNavigationMessageCallbackProxy) AsBinder

func (*GnssNavigationMessageCallbackProxy) GnssNavigationMessageCb

type GnssNavigationMessageCallbackStub

type GnssNavigationMessageCallbackStub struct {
	Impl      IGnssNavigationMessageCallback
	Transport binder.VersionAwareTransport
}

GnssNavigationMessageCallbackStub dispatches incoming binder transactions to a typed IGnssNavigationMessageCallback implementation.

func (*GnssNavigationMessageCallbackStub) Descriptor

func (s *GnssNavigationMessageCallbackStub) Descriptor() string

func (*GnssNavigationMessageCallbackStub) OnTransaction

type GnssNavigationMessageInterfaceProxy

type GnssNavigationMessageInterfaceProxy struct {
	Remote binder.IBinder
}

func NewGnssNavigationMessageInterfaceProxy

func NewGnssNavigationMessageInterfaceProxy(
	remote binder.IBinder,
) *GnssNavigationMessageInterfaceProxy

func (*GnssNavigationMessageInterfaceProxy) AsBinder

func (*GnssNavigationMessageInterfaceProxy) Close

func (*GnssNavigationMessageInterfaceProxy) SetCallback

type GnssNavigationMessageInterfaceStub

type GnssNavigationMessageInterfaceStub struct {
	Impl      IGnssNavigationMessageInterface
	Transport binder.VersionAwareTransport
}

GnssNavigationMessageInterfaceStub dispatches incoming binder transactions to a typed IGnssNavigationMessageInterface implementation.

func (*GnssNavigationMessageInterfaceStub) Descriptor

func (*GnssNavigationMessageInterfaceStub) OnTransaction

type GnssPowerIndicationCallbackProxy

type GnssPowerIndicationCallbackProxy struct {
	Remote binder.IBinder
}

func NewGnssPowerIndicationCallbackProxy

func NewGnssPowerIndicationCallbackProxy(
	remote binder.IBinder,
) *GnssPowerIndicationCallbackProxy

func (*GnssPowerIndicationCallbackProxy) AsBinder

func (*GnssPowerIndicationCallbackProxy) GnssPowerStatsCb

func (p *GnssPowerIndicationCallbackProxy) GnssPowerStatsCb(
	ctx context.Context,
	gnssPowerStats GnssPowerStats,
) error

func (*GnssPowerIndicationCallbackProxy) SetCapabilitiesCb

func (p *GnssPowerIndicationCallbackProxy) SetCapabilitiesCb(
	ctx context.Context,
	capabilities int32,
) error

type GnssPowerIndicationCallbackStub

type GnssPowerIndicationCallbackStub struct {
	Impl      IGnssPowerIndicationCallback
	Transport binder.VersionAwareTransport
}

GnssPowerIndicationCallbackStub dispatches incoming binder transactions to a typed IGnssPowerIndicationCallback implementation.

func (*GnssPowerIndicationCallbackStub) Descriptor

func (s *GnssPowerIndicationCallbackStub) Descriptor() string

func (*GnssPowerIndicationCallbackStub) OnTransaction

type GnssPowerIndicationProxy

type GnssPowerIndicationProxy struct {
	Remote binder.IBinder
}

func NewGnssPowerIndicationProxy

func NewGnssPowerIndicationProxy(
	remote binder.IBinder,
) *GnssPowerIndicationProxy

func (*GnssPowerIndicationProxy) AsBinder

func (p *GnssPowerIndicationProxy) AsBinder() binder.IBinder

func (*GnssPowerIndicationProxy) RequestGnssPowerStats

func (p *GnssPowerIndicationProxy) RequestGnssPowerStats(
	ctx context.Context,
) error

func (*GnssPowerIndicationProxy) SetCallback

type GnssPowerIndicationStub

type GnssPowerIndicationStub struct {
	Impl      IGnssPowerIndication
	Transport binder.VersionAwareTransport
}

GnssPowerIndicationStub dispatches incoming binder transactions to a typed IGnssPowerIndication implementation.

func (*GnssPowerIndicationStub) Descriptor

func (s *GnssPowerIndicationStub) Descriptor() string

func (*GnssPowerIndicationStub) OnTransaction

func (s *GnssPowerIndicationStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssPowerStats

type GnssPowerStats struct {
	ElapsedRealtime                           ElapsedRealtime
	TotalEnergyMilliJoule                     float64
	SinglebandTrackingModeEnergyMilliJoule    float64
	MultibandTrackingModeEnergyMilliJoule     float64
	SinglebandAcquisitionModeEnergyMilliJoule float64
	MultibandAcquisitionModeEnergyMilliJoule  float64
	OtherModesEnergyMilliJoule                []float64
}

func (*GnssPowerStats) MarshalParcel

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

func (*GnssPowerStats) UnmarshalParcel

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

type GnssProxy

type GnssProxy struct {
	Remote binder.IBinder
}

func NewGnssProxy

func NewGnssProxy(
	remote binder.IBinder,
) *GnssProxy

func (*GnssProxy) AsBinder

func (p *GnssProxy) AsBinder() binder.IBinder

func (*GnssProxy) Close

func (p *GnssProxy) Close(
	ctx context.Context,
) error

func (*GnssProxy) DeleteAidingData

func (p *GnssProxy) DeleteAidingData(
	ctx context.Context,
	aidingDataFlags IGnssGnssAidingData,
) error

func (*GnssProxy) GetExtensionAGnss

func (p *GnssProxy) GetExtensionAGnss(
	ctx context.Context,
) (IAGnss, error)

func (*GnssProxy) GetExtensionAGnssRil

func (p *GnssProxy) GetExtensionAGnssRil(
	ctx context.Context,
) (IAGnssRil, error)

func (*GnssProxy) GetExtensionGnssAntennaInfo

func (p *GnssProxy) GetExtensionGnssAntennaInfo(
	ctx context.Context,
) (IGnssAntennaInfo, error)

func (*GnssProxy) GetExtensionGnssBatching

func (p *GnssProxy) GetExtensionGnssBatching(
	ctx context.Context,
) (IGnssBatching, error)

func (*GnssProxy) GetExtensionGnssConfiguration

func (p *GnssProxy) GetExtensionGnssConfiguration(
	ctx context.Context,
) (IGnssConfiguration, error)

func (*GnssProxy) GetExtensionGnssDebug

func (p *GnssProxy) GetExtensionGnssDebug(
	ctx context.Context,
) (IGnssDebug, error)

func (*GnssProxy) GetExtensionGnssGeofence

func (p *GnssProxy) GetExtensionGnssGeofence(
	ctx context.Context,
) (IGnssGeofence, error)

func (*GnssProxy) GetExtensionGnssMeasurement

func (p *GnssProxy) GetExtensionGnssMeasurement(
	ctx context.Context,
) (IGnssMeasurementInterface, error)

func (*GnssProxy) GetExtensionGnssNavigationMessage

func (p *GnssProxy) GetExtensionGnssNavigationMessage(
	ctx context.Context,
) (IGnssNavigationMessageInterface, error)

func (*GnssProxy) GetExtensionGnssPowerIndication

func (p *GnssProxy) GetExtensionGnssPowerIndication(
	ctx context.Context,
) (IGnssPowerIndication, error)

func (*GnssProxy) GetExtensionGnssVisibilityControl

func (p *GnssProxy) GetExtensionGnssVisibilityControl(
	ctx context.Context,
) (visibility_control.IGnssVisibilityControl, error)

func (*GnssProxy) GetExtensionMeasurementCorrections

func (p *GnssProxy) GetExtensionMeasurementCorrections(
	ctx context.Context,
) (measurement_corrections.IMeasurementCorrectionsInterface, error)

func (*GnssProxy) GetExtensionPsds

func (p *GnssProxy) GetExtensionPsds(
	ctx context.Context,
) (IGnssPsds, error)

func (*GnssProxy) InjectBestLocation

func (p *GnssProxy) InjectBestLocation(
	ctx context.Context,
	location GnssLocation,
) error

func (*GnssProxy) InjectLocation

func (p *GnssProxy) InjectLocation(
	ctx context.Context,
	location GnssLocation,
) error

func (*GnssProxy) InjectTime

func (p *GnssProxy) InjectTime(
	ctx context.Context,
	timeMs int64,
	timeReferenceMs int64,
	uncertaintyMs int32,
) error

func (*GnssProxy) SetCallback

func (p *GnssProxy) SetCallback(
	ctx context.Context,
	callback IGnssCallback,
) error

func (*GnssProxy) SetPositionMode

func (p *GnssProxy) SetPositionMode(
	ctx context.Context,
	options IGnssPositionModeOptions,
) error

func (*GnssProxy) Start

func (p *GnssProxy) Start(
	ctx context.Context,
) error

func (*GnssProxy) StartNmea

func (p *GnssProxy) StartNmea(
	ctx context.Context,
) error

func (*GnssProxy) StartSvStatus

func (p *GnssProxy) StartSvStatus(
	ctx context.Context,
) error

func (*GnssProxy) Stop

func (p *GnssProxy) Stop(
	ctx context.Context,
) error

func (*GnssProxy) StopNmea

func (p *GnssProxy) StopNmea(
	ctx context.Context,
) error

func (*GnssProxy) StopSvStatus

func (p *GnssProxy) StopSvStatus(
	ctx context.Context,
) error

type GnssPsdsCallbackProxy

type GnssPsdsCallbackProxy struct {
	Remote binder.IBinder
}

func NewGnssPsdsCallbackProxy

func NewGnssPsdsCallbackProxy(
	remote binder.IBinder,
) *GnssPsdsCallbackProxy

func (*GnssPsdsCallbackProxy) AsBinder

func (p *GnssPsdsCallbackProxy) AsBinder() binder.IBinder

func (*GnssPsdsCallbackProxy) DownloadRequestCb

func (p *GnssPsdsCallbackProxy) DownloadRequestCb(
	ctx context.Context,
	psdsType PsdsType,
) error

type GnssPsdsCallbackStub

type GnssPsdsCallbackStub struct {
	Impl      IGnssPsdsCallback
	Transport binder.VersionAwareTransport
}

GnssPsdsCallbackStub dispatches incoming binder transactions to a typed IGnssPsdsCallback implementation.

func (*GnssPsdsCallbackStub) Descriptor

func (s *GnssPsdsCallbackStub) Descriptor() string

func (*GnssPsdsCallbackStub) OnTransaction

func (s *GnssPsdsCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssPsdsProxy

type GnssPsdsProxy struct {
	Remote binder.IBinder
}

func NewGnssPsdsProxy

func NewGnssPsdsProxy(
	remote binder.IBinder,
) *GnssPsdsProxy

func (*GnssPsdsProxy) AsBinder

func (p *GnssPsdsProxy) AsBinder() binder.IBinder

func (*GnssPsdsProxy) InjectPsdsData

func (p *GnssPsdsProxy) InjectPsdsData(
	ctx context.Context,
	psdsType PsdsType,
	psdsData []byte,
) error

func (*GnssPsdsProxy) SetCallback

func (p *GnssPsdsProxy) SetCallback(
	ctx context.Context,
	callback IGnssPsdsCallback,
) error

type GnssPsdsStub

type GnssPsdsStub struct {
	Impl      IGnssPsds
	Transport binder.VersionAwareTransport
}

GnssPsdsStub dispatches incoming binder transactions to a typed IGnssPsds implementation.

func (*GnssPsdsStub) Descriptor

func (s *GnssPsdsStub) Descriptor() string

func (*GnssPsdsStub) OnTransaction

func (s *GnssPsdsStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type GnssSignalType

type GnssSignalType struct {
	Constellation      GnssConstellationType
	CarrierFrequencyHz float64
	CodeType           string
}

func (*GnssSignalType) MarshalParcel

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

func (*GnssSignalType) UnmarshalParcel

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

type GnssStub

type GnssStub struct {
	Impl      IGnss
	Transport binder.VersionAwareTransport
}

GnssStub dispatches incoming binder transactions to a typed IGnss implementation.

func (*GnssStub) Descriptor

func (s *GnssStub) Descriptor() string

func (*GnssStub) OnTransaction

func (s *GnssStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type IAGnss

type IAGnss interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IAGnssCallback) error
	DataConnClosed(ctx context.Context) error
	DataConnFailed(ctx context.Context) error
	SetServer(ctx context.Context, type_ IAGnssCallbackAGnssType, hostname string, port int32) error
	DataConnOpen(ctx context.Context, networkHandle int64, apn string, apnIpType IAGnssApnIpType) error
}

func NewAGnssStub

func NewAGnssStub(
	impl IAGnssServer,
) IAGnss

NewAGnssStub creates a server-side IAGnss wrapping the given server implementation. The returned value satisfies IAGnss 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 IAGnssApnIpType

type IAGnssApnIpType int32
const (
	IAGnssApnIpTypeINVALID IAGnssApnIpType = 0
	IAGnssApnIpTypeIPV4    IAGnssApnIpType = 1
	IAGnssApnIpTypeIPV6    IAGnssApnIpType = 2
	IAGnssApnIpTypeIPV4V6  IAGnssApnIpType = 3
)

type IAGnssCallback

type IAGnssCallback interface {
	AsBinder() binder.IBinder
	AgnssStatusCb(ctx context.Context, type_ IAGnssCallbackAGnssType, status IAGnssCallbackAGnssStatusValue) error
}

func NewAGnssCallbackStub

func NewAGnssCallbackStub(
	impl IAGnssCallbackServer,
) IAGnssCallback

NewAGnssCallbackStub creates a server-side IAGnssCallback wrapping the given server implementation. The returned value satisfies IAGnssCallback 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 IAGnssCallbackAGnssStatusValue

type IAGnssCallbackAGnssStatusValue int32
const (
	IAGnssCallbackAGnssStatusValueRequestAgnssDataConn IAGnssCallbackAGnssStatusValue = 1
	IAGnssCallbackAGnssStatusValueReleaseAgnssDataConn IAGnssCallbackAGnssStatusValue = 2
	IAGnssCallbackAGnssStatusValueAgnssDataConnected   IAGnssCallbackAGnssStatusValue = 3
	IAGnssCallbackAGnssStatusValueAgnssDataConnDone    IAGnssCallbackAGnssStatusValue = 4
	IAGnssCallbackAGnssStatusValueAgnssDataConnFailed  IAGnssCallbackAGnssStatusValue = 5
)

type IAGnssCallbackAGnssType

type IAGnssCallbackAGnssType int32
const (
	IAGnssCallbackAGnssTypeSUPL     IAGnssCallbackAGnssType = 1
	IAGnssCallbackAGnssTypeC2K      IAGnssCallbackAGnssType = 2
	IAGnssCallbackAGnssTypeSuplEims IAGnssCallbackAGnssType = 3
	IAGnssCallbackAGnssTypeSuplIms  IAGnssCallbackAGnssType = 4
)

type IAGnssCallbackServer

type IAGnssCallbackServer interface {
	AgnssStatusCb(ctx context.Context, type_ IAGnssCallbackAGnssType, status IAGnssCallbackAGnssStatusValue) error
}

IAGnssCallbackServer is the server-side interface that user implementations provide to NewAGnssCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAGnssRil

type IAGnssRil interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IAGnssRilCallback) error
	SetRefLocation(ctx context.Context, agnssReflocation IAGnssRilAGnssRefLocation) error
	SetSetId(ctx context.Context, type_ IAGnssRilSetIdType, setid string) error
	UpdateNetworkState(ctx context.Context, attributes IAGnssRilNetworkAttributes) error
	InjectNiSuplMessageData(ctx context.Context, msgData []byte, slotIndex int32) error
}

func NewAGnssRilStub

func NewAGnssRilStub(
	impl IAGnssRilServer,
) IAGnssRil

NewAGnssRilStub creates a server-side IAGnssRil wrapping the given server implementation. The returned value satisfies IAGnssRil 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 IAGnssRilAGnssRefLocation

type IAGnssRilAGnssRefLocation struct {
	Type   IAGnssRilAGnssRefLocationType
	CellID IAGnssRilAGnssRefLocationCellID
}

func (*IAGnssRilAGnssRefLocation) MarshalParcel

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

func (*IAGnssRilAGnssRefLocation) UnmarshalParcel

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

type IAGnssRilAGnssRefLocationCellID

type IAGnssRilAGnssRefLocationCellID struct {
	Type  IAGnssRilAGnssRefLocationType
	Mcc   int32
	Mnc   int32
	Lac   int32
	Cid   int64
	Tac   int32
	Pcid  int32
	Arfcn int32
}

func (*IAGnssRilAGnssRefLocationCellID) MarshalParcel

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

func (*IAGnssRilAGnssRefLocationCellID) UnmarshalParcel

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

type IAGnssRilAGnssRefLocationType

type IAGnssRilAGnssRefLocationType int32
const (
	IAGnssRilAGnssRefLocationTypeGsmCellid  IAGnssRilAGnssRefLocationType = 1
	IAGnssRilAGnssRefLocationTypeUmtsCellid IAGnssRilAGnssRefLocationType = 2
	IAGnssRilAGnssRefLocationTypeLteCellid  IAGnssRilAGnssRefLocationType = 4
	IAGnssRilAGnssRefLocationTypeNrCellid   IAGnssRilAGnssRefLocationType = 8
)

type IAGnssRilCallback

type IAGnssRilCallback interface {
	AsBinder() binder.IBinder
	RequestSetIdCb(ctx context.Context, setIdflag int32) error
	RequestRefLocCb(ctx context.Context) error
}

func NewAGnssRilCallbackStub

func NewAGnssRilCallbackStub(
	impl IAGnssRilCallbackServer,
) IAGnssRilCallback

NewAGnssRilCallbackStub creates a server-side IAGnssRilCallback wrapping the given server implementation. The returned value satisfies IAGnssRilCallback 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 IAGnssRilCallbackServer

type IAGnssRilCallbackServer interface {
	RequestSetIdCb(ctx context.Context, setIdflag int32) error
	RequestRefLocCb(ctx context.Context) error
}

IAGnssRilCallbackServer is the server-side interface that user implementations provide to NewAGnssRilCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAGnssRilNetworkAttributes

type IAGnssRilNetworkAttributes struct {
	NetworkHandle int64
	IsConnected   bool
	Capabilities  int32
	Apn           string
}

func (*IAGnssRilNetworkAttributes) MarshalParcel

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

func (*IAGnssRilNetworkAttributes) UnmarshalParcel

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

type IAGnssRilServer

type IAGnssRilServer interface {
	SetCallback(ctx context.Context, callback IAGnssRilCallback) error
	SetRefLocation(ctx context.Context, agnssReflocation IAGnssRilAGnssRefLocation) error
	SetSetId(ctx context.Context, type_ IAGnssRilSetIdType, setid string) error
	UpdateNetworkState(ctx context.Context, attributes IAGnssRilNetworkAttributes) error
	InjectNiSuplMessageData(ctx context.Context, msgData []byte, slotIndex int32) error
}

IAGnssRilServer is the server-side interface that user implementations provide to NewAGnssRilStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IAGnssRilSetIdType

type IAGnssRilSetIdType int32
const (
	IAGnssRilSetIdTypeNONE   IAGnssRilSetIdType = 0
	IAGnssRilSetIdTypeIMSI   IAGnssRilSetIdType = 1
	IAGnssRilSetIdTypeMSISDM IAGnssRilSetIdType = 2
)

type IAGnssServer

type IAGnssServer interface {
	SetCallback(ctx context.Context, callback IAGnssCallback) error
	DataConnClosed(ctx context.Context) error
	DataConnFailed(ctx context.Context) error
	SetServer(ctx context.Context, type_ IAGnssCallbackAGnssType, hostname string, port int32) error
	DataConnOpen(ctx context.Context, networkHandle int64, apn string, apnIpType IAGnssApnIpType) error
}

IAGnssServer is the server-side interface that user implementations provide to NewAGnssStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnss

type IGnss interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IGnssCallback) error
	Close(ctx context.Context) error
	GetExtensionPsds(ctx context.Context) (IGnssPsds, error)
	GetExtensionGnssConfiguration(ctx context.Context) (IGnssConfiguration, error)
	GetExtensionGnssMeasurement(ctx context.Context) (IGnssMeasurementInterface, error)
	GetExtensionGnssPowerIndication(ctx context.Context) (IGnssPowerIndication, error)
	GetExtensionGnssBatching(ctx context.Context) (IGnssBatching, error)
	GetExtensionGnssGeofence(ctx context.Context) (IGnssGeofence, error)
	GetExtensionGnssNavigationMessage(ctx context.Context) (IGnssNavigationMessageInterface, error)
	GetExtensionAGnss(ctx context.Context) (IAGnss, error)
	GetExtensionAGnssRil(ctx context.Context) (IAGnssRil, error)
	GetExtensionGnssDebug(ctx context.Context) (IGnssDebug, error)
	GetExtensionGnssVisibilityControl(ctx context.Context) (visibility_control.IGnssVisibilityControl, error)
	Start(ctx context.Context) error
	Stop(ctx context.Context) error
	InjectTime(ctx context.Context, timeMs int64, timeReferenceMs int64, uncertaintyMs int32) error
	InjectLocation(ctx context.Context, location GnssLocation) error
	InjectBestLocation(ctx context.Context, location GnssLocation) error
	DeleteAidingData(ctx context.Context, aidingDataFlags IGnssGnssAidingData) error
	SetPositionMode(ctx context.Context, options IGnssPositionModeOptions) error
	GetExtensionGnssAntennaInfo(ctx context.Context) (IGnssAntennaInfo, error)
	GetExtensionMeasurementCorrections(ctx context.Context) (measurement_corrections.IMeasurementCorrectionsInterface, error)
	StartSvStatus(ctx context.Context) error
	StopSvStatus(ctx context.Context) error
	StartNmea(ctx context.Context) error
	StopNmea(ctx context.Context) error
}

func NewGnssStub

func NewGnssStub(
	impl IGnssServer,
) IGnss

NewGnssStub creates a server-side IGnss wrapping the given server implementation. The returned value satisfies IGnss 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 IGnssAntennaInfo

type IGnssAntennaInfo interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IGnssAntennaInfoCallback) error
	Close(ctx context.Context) error
}

func NewGnssAntennaInfoStub

func NewGnssAntennaInfoStub(
	impl IGnssAntennaInfoServer,
) IGnssAntennaInfo

NewGnssAntennaInfoStub creates a server-side IGnssAntennaInfo wrapping the given server implementation. The returned value satisfies IGnssAntennaInfo 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 IGnssAntennaInfoCallback

type IGnssAntennaInfoCallback interface {
	AsBinder() binder.IBinder
	GnssAntennaInfoCb(ctx context.Context, gnssAntennaInfos []IGnssAntennaInfoCallbackGnssAntennaInfo) error
}

func NewGnssAntennaInfoCallbackStub

func NewGnssAntennaInfoCallbackStub(
	impl IGnssAntennaInfoCallbackServer,
) IGnssAntennaInfoCallback

NewGnssAntennaInfoCallbackStub creates a server-side IGnssAntennaInfoCallback wrapping the given server implementation. The returned value satisfies IGnssAntennaInfoCallback 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 IGnssAntennaInfoCallbackCoord

type IGnssAntennaInfoCallbackCoord struct {
	X            float64
	XUncertainty float64
	Y            float64
	YUncertainty float64
	Z            float64
	ZUncertainty float64
}

func (*IGnssAntennaInfoCallbackCoord) MarshalParcel

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

func (*IGnssAntennaInfoCallbackCoord) UnmarshalParcel

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

type IGnssAntennaInfoCallbackGnssAntennaInfo

type IGnssAntennaInfoCallbackGnssAntennaInfo struct {
	CarrierFrequencyHz                                   int64
	PhaseCenterOffsetCoordinateMillimeters               IGnssAntennaInfoCallbackCoord
	PhaseCenterVariationCorrectionMillimeters            []IGnssAntennaInfoCallbackRow
	PhaseCenterVariationCorrectionUncertaintyMillimeters []IGnssAntennaInfoCallbackRow
	SignalGainCorrectionDbi                              []IGnssAntennaInfoCallbackRow
	SignalGainCorrectionUncertaintyDbi                   []IGnssAntennaInfoCallbackRow
}

func (*IGnssAntennaInfoCallbackGnssAntennaInfo) MarshalParcel

func (*IGnssAntennaInfoCallbackGnssAntennaInfo) UnmarshalParcel

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

type IGnssAntennaInfoCallbackRow

type IGnssAntennaInfoCallbackRow struct {
	Row []float64
}

func (*IGnssAntennaInfoCallbackRow) MarshalParcel

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

func (*IGnssAntennaInfoCallbackRow) UnmarshalParcel

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

type IGnssAntennaInfoCallbackServer

type IGnssAntennaInfoCallbackServer interface {
	GnssAntennaInfoCb(ctx context.Context, gnssAntennaInfos []IGnssAntennaInfoCallbackGnssAntennaInfo) error
}

IGnssAntennaInfoCallbackServer is the server-side interface that user implementations provide to NewGnssAntennaInfoCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssAntennaInfoServer

type IGnssAntennaInfoServer interface {
	SetCallback(ctx context.Context, callback IGnssAntennaInfoCallback) error
	Close(ctx context.Context) error
}

IGnssAntennaInfoServer is the server-side interface that user implementations provide to NewGnssAntennaInfoStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssBatching

type IGnssBatching interface {
	AsBinder() binder.IBinder
	Init(ctx context.Context, callback IGnssBatchingCallback) error
	GetBatchSize(ctx context.Context) (int32, error)
	Start(ctx context.Context, options IGnssBatchingOptions) error
	Flush(ctx context.Context) error
	Stop(ctx context.Context) error
	Cleanup(ctx context.Context) error
}

func NewGnssBatchingStub

func NewGnssBatchingStub(
	impl IGnssBatchingServer,
) IGnssBatching

NewGnssBatchingStub creates a server-side IGnssBatching wrapping the given server implementation. The returned value satisfies IGnssBatching 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 IGnssBatchingCallback

type IGnssBatchingCallback interface {
	AsBinder() binder.IBinder
	GnssLocationBatchCb(ctx context.Context, locations []GnssLocation) error
}

func NewGnssBatchingCallbackStub

func NewGnssBatchingCallbackStub(
	impl IGnssBatchingCallbackServer,
) IGnssBatchingCallback

NewGnssBatchingCallbackStub creates a server-side IGnssBatchingCallback wrapping the given server implementation. The returned value satisfies IGnssBatchingCallback 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 IGnssBatchingCallbackServer

type IGnssBatchingCallbackServer interface {
	GnssLocationBatchCb(ctx context.Context, locations []GnssLocation) error
}

IGnssBatchingCallbackServer is the server-side interface that user implementations provide to NewGnssBatchingCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssBatchingOptions

type IGnssBatchingOptions struct {
	PeriodNanos       int64
	MinDistanceMeters float32
	Flags             int32
}

func (*IGnssBatchingOptions) MarshalParcel

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

func (*IGnssBatchingOptions) UnmarshalParcel

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

type IGnssBatchingServer

type IGnssBatchingServer interface {
	Init(ctx context.Context, callback IGnssBatchingCallback) error
	GetBatchSize(ctx context.Context) (int32, error)
	Start(ctx context.Context, options IGnssBatchingOptions) error
	Flush(ctx context.Context) error
	Stop(ctx context.Context) error
	Cleanup(ctx context.Context) error
}

IGnssBatchingServer is the server-side interface that user implementations provide to NewGnssBatchingStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssCallback

type IGnssCallback interface {
	AsBinder() binder.IBinder
	GnssSetCapabilitiesCb(ctx context.Context, capabilities int32) error
	GnssStatusCb(ctx context.Context, status IGnssCallbackGnssStatusValue) error
	GnssSvStatusCb(ctx context.Context, svInfoList []IGnssCallbackGnssSvInfo) error
	GnssLocationCb(ctx context.Context, location GnssLocation) error
	GnssNmeaCb(ctx context.Context, timestamp int64, nmea string) error
	GnssAcquireWakelockCb(ctx context.Context) error
	GnssReleaseWakelockCb(ctx context.Context) error
	GnssSetSystemInfoCb(ctx context.Context, info IGnssCallbackGnssSystemInfo) error
	GnssRequestTimeCb(ctx context.Context) error
	GnssRequestLocationCb(ctx context.Context, independentFromGnss bool, isUserEmergency bool) error
	GnssSetSignalTypeCapabilitiesCb(ctx context.Context, gnssSignalTypes []GnssSignalType) error
}

func NewGnssCallbackStub

func NewGnssCallbackStub(
	impl IGnssCallbackServer,
) IGnssCallback

NewGnssCallbackStub creates a server-side IGnssCallback wrapping the given server implementation. The returned value satisfies IGnssCallback 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 IGnssCallbackGnssStatusValue

type IGnssCallbackGnssStatusValue int32
const (
	IGnssCallbackGnssStatusValueNONE         IGnssCallbackGnssStatusValue = 0
	IGnssCallbackGnssStatusValueSessionBegin IGnssCallbackGnssStatusValue = 1
	IGnssCallbackGnssStatusValueSessionEnd   IGnssCallbackGnssStatusValue = 2
	IGnssCallbackGnssStatusValueEngineOn     IGnssCallbackGnssStatusValue = 3
	IGnssCallbackGnssStatusValueEngineOff    IGnssCallbackGnssStatusValue = 4
)

type IGnssCallbackGnssSvFlags

type IGnssCallbackGnssSvFlags int32
const (
	IGnssCallbackGnssSvFlagsNONE                IGnssCallbackGnssSvFlags = 0
	IGnssCallbackGnssSvFlagsHasEphemerisData    IGnssCallbackGnssSvFlags = (1 << 0)
	IGnssCallbackGnssSvFlagsHasAlmanacData      IGnssCallbackGnssSvFlags = (1 << 1)
	IGnssCallbackGnssSvFlagsUsedInFix           IGnssCallbackGnssSvFlags = (1 << 2)
	IGnssCallbackGnssSvFlagsHasCarrierFrequency IGnssCallbackGnssSvFlags = (1 << 3)
)

type IGnssCallbackGnssSvInfo

type IGnssCallbackGnssSvInfo struct {
	Svid               int32
	Constellation      GnssConstellationType
	CN0Dbhz            float32
	BasebandCN0DbHz    float32
	ElevationDegrees   float32
	AzimuthDegrees     float32
	CarrierFrequencyHz int64
	SvFlag             int32
}

func (*IGnssCallbackGnssSvInfo) MarshalParcel

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

func (*IGnssCallbackGnssSvInfo) UnmarshalParcel

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

type IGnssCallbackGnssSystemInfo

type IGnssCallbackGnssSystemInfo struct {
	YearOfHw int32
	Name     string
}

func (*IGnssCallbackGnssSystemInfo) MarshalParcel

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

func (*IGnssCallbackGnssSystemInfo) UnmarshalParcel

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

type IGnssCallbackServer

type IGnssCallbackServer interface {
	GnssSetCapabilitiesCb(ctx context.Context, capabilities int32) error
	GnssStatusCb(ctx context.Context, status IGnssCallbackGnssStatusValue) error
	GnssSvStatusCb(ctx context.Context, svInfoList []IGnssCallbackGnssSvInfo) error
	GnssLocationCb(ctx context.Context, location GnssLocation) error
	GnssNmeaCb(ctx context.Context, timestamp int64, nmea string) error
	GnssAcquireWakelockCb(ctx context.Context) error
	GnssReleaseWakelockCb(ctx context.Context) error
	GnssSetSystemInfoCb(ctx context.Context, info IGnssCallbackGnssSystemInfo) error
	GnssRequestTimeCb(ctx context.Context) error
	GnssRequestLocationCb(ctx context.Context, independentFromGnss bool, isUserEmergency bool) error
	GnssSetSignalTypeCapabilitiesCb(ctx context.Context, gnssSignalTypes []GnssSignalType) error
}

IGnssCallbackServer is the server-side interface that user implementations provide to NewGnssCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssConfiguration

type IGnssConfiguration interface {
	AsBinder() binder.IBinder
	SetSuplVersion(ctx context.Context, version int32) error
	SetSuplMode(ctx context.Context, mode int32) error
	SetLppProfile(ctx context.Context, lppProfile int32) error
	SetGlonassPositioningProtocol(ctx context.Context, protocol int32) error
	SetEmergencySuplPdn(ctx context.Context, enable bool) error
	SetEsExtensionSec(ctx context.Context, emergencyExtensionSeconds int32) error
	SetBlocklist(ctx context.Context, blocklist []BlocklistedSource) error
}

func NewGnssConfigurationStub

func NewGnssConfigurationStub(
	impl IGnssConfigurationServer,
) IGnssConfiguration

NewGnssConfigurationStub creates a server-side IGnssConfiguration wrapping the given server implementation. The returned value satisfies IGnssConfiguration 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 IGnssConfigurationServer

type IGnssConfigurationServer interface {
	SetSuplVersion(ctx context.Context, version int32) error
	SetSuplMode(ctx context.Context, mode int32) error
	SetLppProfile(ctx context.Context, lppProfile int32) error
	SetGlonassPositioningProtocol(ctx context.Context, protocol int32) error
	SetEmergencySuplPdn(ctx context.Context, enable bool) error
	SetEsExtensionSec(ctx context.Context, emergencyExtensionSeconds int32) error
	SetBlocklist(ctx context.Context, blocklist []BlocklistedSource) error
}

IGnssConfigurationServer is the server-side interface that user implementations provide to NewGnssConfigurationStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssDebug

type IGnssDebug interface {
	AsBinder() binder.IBinder
	GetDebugData(ctx context.Context) (IGnssDebugDebugData, error)
}

func NewGnssDebugStub

func NewGnssDebugStub(
	impl IGnssDebugServer,
) IGnssDebug

NewGnssDebugStub creates a server-side IGnssDebug wrapping the given server implementation. The returned value satisfies IGnssDebug 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 IGnssDebugDebugData

type IGnssDebugDebugData struct {
	Position           IGnssDebugPositionDebug
	Time               IGnssDebugTimeDebug
	SatelliteDataArray []IGnssDebugSatelliteData
}

func (*IGnssDebugDebugData) MarshalParcel

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

func (*IGnssDebugDebugData) UnmarshalParcel

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

type IGnssDebugPositionDebug

type IGnssDebugPositionDebug struct {
	Valid                        bool
	LatitudeDegrees              float64
	LongitudeDegrees             float64
	AltitudeMeters               float32
	SpeedMetersPerSec            float32
	BearingDegrees               float32
	HorizontalAccuracyMeters     float64
	VerticalAccuracyMeters       float64
	SpeedAccuracyMetersPerSecond float64
	BearingAccuracyDegrees       float64
	AgeSeconds                   float32
}

func (*IGnssDebugPositionDebug) MarshalParcel

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

func (*IGnssDebugPositionDebug) UnmarshalParcel

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

type IGnssDebugSatelliteData

type IGnssDebugSatelliteData struct {
	Svid                        int32
	Constellation               GnssConstellationType
	EphemerisType               IGnssDebugSatelliteEphemerisType
	EphemerisSource             SatellitePvtSatelliteEphemerisSource
	EphemerisHealth             IGnssDebugSatelliteEphemerisHealth
	EphemerisAgeSeconds         float32
	ServerPredictionIsAvailable bool
	ServerPredictionAgeSeconds  float32
}

func (*IGnssDebugSatelliteData) MarshalParcel

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

func (*IGnssDebugSatelliteData) UnmarshalParcel

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

type IGnssDebugSatelliteEphemerisHealth

type IGnssDebugSatelliteEphemerisHealth int32
const (
	IGnssDebugSatelliteEphemerisHealthGOOD    IGnssDebugSatelliteEphemerisHealth = 0
	IGnssDebugSatelliteEphemerisHealthBAD     IGnssDebugSatelliteEphemerisHealth = 1
	IGnssDebugSatelliteEphemerisHealthUNKNOWN IGnssDebugSatelliteEphemerisHealth = 2
)

type IGnssDebugSatelliteEphemerisType

type IGnssDebugSatelliteEphemerisType int32
const (
	IGnssDebugSatelliteEphemerisTypeEPHEMERIS    IGnssDebugSatelliteEphemerisType = 0
	IGnssDebugSatelliteEphemerisTypeAlmanacOnly  IGnssDebugSatelliteEphemerisType = 1
	IGnssDebugSatelliteEphemerisTypeNotAvailable IGnssDebugSatelliteEphemerisType = 2
)

type IGnssDebugServer

type IGnssDebugServer interface {
	GetDebugData(ctx context.Context) (IGnssDebugDebugData, error)
}

IGnssDebugServer is the server-side interface that user implementations provide to NewGnssDebugStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssDebugTimeDebug

type IGnssDebugTimeDebug struct {
	TimeEstimateMs               int64
	TimeUncertaintyNs            float32
	FrequencyUncertaintyNsPerSec float32
}

func (*IGnssDebugTimeDebug) MarshalParcel

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

func (*IGnssDebugTimeDebug) UnmarshalParcel

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

type IGnssGeofence

type IGnssGeofence interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IGnssGeofenceCallback) error
	AddGeofence(ctx context.Context, geofenceId int32, latitudeDegrees float64, longitudeDegrees float64, radiusMeters float64, lastTransition int32, monitorTransitions int32, notificationResponsivenessMs int32, unknownTimerMs int32) error
	PauseGeofence(ctx context.Context, geofenceId int32) error
	ResumeGeofence(ctx context.Context, geofenceId int32, monitorTransitions int32) error
	RemoveGeofence(ctx context.Context, geofenceId int32) error
}

func NewGnssGeofenceStub

func NewGnssGeofenceStub(
	impl IGnssGeofenceServer,
) IGnssGeofence

NewGnssGeofenceStub creates a server-side IGnssGeofence wrapping the given server implementation. The returned value satisfies IGnssGeofence 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 IGnssGeofenceCallback

type IGnssGeofenceCallback interface {
	AsBinder() binder.IBinder
	GnssGeofenceTransitionCb(ctx context.Context, geofenceId int32, location GnssLocation, transition int32, timestampMillis int64) error
	GnssGeofenceStatusCb(ctx context.Context, availability int32, lastLocation GnssLocation) error
	GnssGeofenceAddCb(ctx context.Context, geofenceId int32, status int32) error
	GnssGeofenceRemoveCb(ctx context.Context, geofenceId int32, status int32) error
	GnssGeofencePauseCb(ctx context.Context, geofenceId int32, status int32) error
	GnssGeofenceResumeCb(ctx context.Context, geofenceId int32, status int32) error
}

func NewGnssGeofenceCallbackStub

func NewGnssGeofenceCallbackStub(
	impl IGnssGeofenceCallbackServer,
) IGnssGeofenceCallback

NewGnssGeofenceCallbackStub creates a server-side IGnssGeofenceCallback wrapping the given server implementation. The returned value satisfies IGnssGeofenceCallback 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 IGnssGeofenceCallbackServer

type IGnssGeofenceCallbackServer interface {
	GnssGeofenceTransitionCb(ctx context.Context, geofenceId int32, location GnssLocation, transition int32, timestampMillis int64) error
	GnssGeofenceStatusCb(ctx context.Context, availability int32, lastLocation GnssLocation) error
	GnssGeofenceAddCb(ctx context.Context, geofenceId int32, status int32) error
	GnssGeofenceRemoveCb(ctx context.Context, geofenceId int32, status int32) error
	GnssGeofencePauseCb(ctx context.Context, geofenceId int32, status int32) error
	GnssGeofenceResumeCb(ctx context.Context, geofenceId int32, status int32) error
}

IGnssGeofenceCallbackServer is the server-side interface that user implementations provide to NewGnssGeofenceCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssGeofenceServer

type IGnssGeofenceServer interface {
	SetCallback(ctx context.Context, callback IGnssGeofenceCallback) error
	AddGeofence(ctx context.Context, geofenceId int32, latitudeDegrees float64, longitudeDegrees float64, radiusMeters float64, lastTransition int32, monitorTransitions int32, notificationResponsivenessMs int32, unknownTimerMs int32) error
	PauseGeofence(ctx context.Context, geofenceId int32) error
	ResumeGeofence(ctx context.Context, geofenceId int32, monitorTransitions int32) error
	RemoveGeofence(ctx context.Context, geofenceId int32) error
}

IGnssGeofenceServer is the server-side interface that user implementations provide to NewGnssGeofenceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssGnssAidingData

type IGnssGnssAidingData int32
const (
	IGnssGnssAidingDataEPHEMERIS  IGnssGnssAidingData = 1
	IGnssGnssAidingDataALMANAC    IGnssGnssAidingData = 2
	IGnssGnssAidingDataPOSITION   IGnssGnssAidingData = 4
	IGnssGnssAidingDataTIME       IGnssGnssAidingData = 8
	IGnssGnssAidingDataIONO       IGnssGnssAidingData = 16
	IGnssGnssAidingDataUTC        IGnssGnssAidingData = 32
	IGnssGnssAidingDataHEALTH     IGnssGnssAidingData = 64
	IGnssGnssAidingDataSVDIR      IGnssGnssAidingData = 128
	IGnssGnssAidingDataSVSTEER    IGnssGnssAidingData = 256
	IGnssGnssAidingDataSADATA     IGnssGnssAidingData = 512
	IGnssGnssAidingDataRTI        IGnssGnssAidingData = 1024
	IGnssGnssAidingDataCelldbInfo IGnssGnssAidingData = 32768
	IGnssGnssAidingDataALL        IGnssGnssAidingData = 65535
)

type IGnssGnssPositionMode

type IGnssGnssPositionMode int32
const (
	IGnssGnssPositionModeSTANDALONE IGnssGnssPositionMode = 0
	IGnssGnssPositionModeMsBased    IGnssGnssPositionMode = 1
	IGnssGnssPositionModeMsAssisted IGnssGnssPositionMode = 2
)

type IGnssGnssPositionRecurrence

type IGnssGnssPositionRecurrence int32
const (
	IGnssGnssPositionRecurrenceRecurrencePeriodic IGnssGnssPositionRecurrence = 0
	IGnssGnssPositionRecurrenceRecurrenceSingle   IGnssGnssPositionRecurrence = 1
)

type IGnssMeasurementCallback

type IGnssMeasurementCallback interface {
	AsBinder() binder.IBinder
	GnssMeasurementCb(ctx context.Context, data GnssData) error
}

func NewGnssMeasurementCallbackStub

func NewGnssMeasurementCallbackStub(
	impl IGnssMeasurementCallbackServer,
) IGnssMeasurementCallback

NewGnssMeasurementCallbackStub creates a server-side IGnssMeasurementCallback wrapping the given server implementation. The returned value satisfies IGnssMeasurementCallback 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 IGnssMeasurementCallbackServer

type IGnssMeasurementCallbackServer interface {
	GnssMeasurementCb(ctx context.Context, data GnssData) error
}

IGnssMeasurementCallbackServer is the server-side interface that user implementations provide to NewGnssMeasurementCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssMeasurementInterface

type IGnssMeasurementInterface interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IGnssMeasurementCallback, enableFullTracking bool, enableCorrVecOutputs bool) error
	Close(ctx context.Context) error
	SetCallbackWithOptions(ctx context.Context, callback IGnssMeasurementCallback, options IGnssMeasurementInterfaceOptions) error
}

func NewGnssMeasurementInterfaceStub

func NewGnssMeasurementInterfaceStub(
	impl IGnssMeasurementInterfaceServer,
) IGnssMeasurementInterface

NewGnssMeasurementInterfaceStub creates a server-side IGnssMeasurementInterface wrapping the given server implementation. The returned value satisfies IGnssMeasurementInterface 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 IGnssMeasurementInterfaceOptions

type IGnssMeasurementInterfaceOptions struct {
	EnableFullTracking   bool
	EnableCorrVecOutputs bool
	IntervalMs           int32
}

func (*IGnssMeasurementInterfaceOptions) MarshalParcel

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

func (*IGnssMeasurementInterfaceOptions) UnmarshalParcel

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

type IGnssMeasurementInterfaceServer

type IGnssMeasurementInterfaceServer interface {
	SetCallback(ctx context.Context, callback IGnssMeasurementCallback, enableFullTracking bool, enableCorrVecOutputs bool) error
	Close(ctx context.Context) error
	SetCallbackWithOptions(ctx context.Context, callback IGnssMeasurementCallback, options IGnssMeasurementInterfaceOptions) error
}

IGnssMeasurementInterfaceServer is the server-side interface that user implementations provide to NewGnssMeasurementInterfaceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssNavigationMessageCallback

type IGnssNavigationMessageCallback interface {
	AsBinder() binder.IBinder
	GnssNavigationMessageCb(ctx context.Context, message IGnssNavigationMessageCallbackGnssNavigationMessage) error
}

func NewGnssNavigationMessageCallbackStub

func NewGnssNavigationMessageCallbackStub(
	impl IGnssNavigationMessageCallbackServer,
) IGnssNavigationMessageCallback

NewGnssNavigationMessageCallbackStub creates a server-side IGnssNavigationMessageCallback wrapping the given server implementation. The returned value satisfies IGnssNavigationMessageCallback 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 IGnssNavigationMessageCallbackGnssNavigationMessage

type IGnssNavigationMessageCallbackGnssNavigationMessage struct {
	Svid         int32
	Type         IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType
	Status       int32
	MessageId    int32
	SubmessageId int32
	Data         []byte
}

func (*IGnssNavigationMessageCallbackGnssNavigationMessage) MarshalParcel

func (*IGnssNavigationMessageCallbackGnssNavigationMessage) UnmarshalParcel

type IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType

type IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType int32
const (
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeUNKNOWN   IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 0
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeGpsL1ca   IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 257
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeGpsL2cnav IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 258
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeGpsL5cnav IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 259
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeSBS       IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 513
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeGpsCnav2  IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 260
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeGloL1ca   IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 769
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeQzsL1ca   IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1025
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeBdsD1     IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1281
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeBdsD2     IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1282
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeBdsCnav1  IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1283
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeBdsCnav2  IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1284
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeGalI      IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1537
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeGalF      IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1538
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeIrnL5ca   IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1793
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeIrnL5     IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1794
	IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageTypeIrnL1     IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType = 1795
)

type IGnssNavigationMessageCallbackServer

type IGnssNavigationMessageCallbackServer interface {
	GnssNavigationMessageCb(ctx context.Context, message IGnssNavigationMessageCallbackGnssNavigationMessage) error
}

IGnssNavigationMessageCallbackServer is the server-side interface that user implementations provide to NewGnssNavigationMessageCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssNavigationMessageInterface

type IGnssNavigationMessageInterface interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IGnssNavigationMessageCallback) error
	Close(ctx context.Context) error
}

func NewGnssNavigationMessageInterfaceStub

func NewGnssNavigationMessageInterfaceStub(
	impl IGnssNavigationMessageInterfaceServer,
) IGnssNavigationMessageInterface

NewGnssNavigationMessageInterfaceStub creates a server-side IGnssNavigationMessageInterface wrapping the given server implementation. The returned value satisfies IGnssNavigationMessageInterface 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 IGnssNavigationMessageInterfaceServer

type IGnssNavigationMessageInterfaceServer interface {
	SetCallback(ctx context.Context, callback IGnssNavigationMessageCallback) error
	Close(ctx context.Context) error
}

IGnssNavigationMessageInterfaceServer is the server-side interface that user implementations provide to NewGnssNavigationMessageInterfaceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssPositionModeOptions

type IGnssPositionModeOptions struct {
	Mode                    IGnssGnssPositionMode
	Recurrence              IGnssGnssPositionRecurrence
	MinIntervalMs           int32
	PreferredAccuracyMeters int32
	PreferredTimeMs         int32
	LowPowerMode            bool
}

func (*IGnssPositionModeOptions) MarshalParcel

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

func (*IGnssPositionModeOptions) UnmarshalParcel

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

type IGnssPowerIndication

type IGnssPowerIndication interface {
	AsBinder() binder.IBinder
	SetCallback(ctx context.Context, callback IGnssPowerIndicationCallback) error
	RequestGnssPowerStats(ctx context.Context) error
}

func NewGnssPowerIndicationStub

func NewGnssPowerIndicationStub(
	impl IGnssPowerIndicationServer,
) IGnssPowerIndication

NewGnssPowerIndicationStub creates a server-side IGnssPowerIndication wrapping the given server implementation. The returned value satisfies IGnssPowerIndication 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 IGnssPowerIndicationCallback

type IGnssPowerIndicationCallback interface {
	AsBinder() binder.IBinder
	SetCapabilitiesCb(ctx context.Context, capabilities int32) error
	GnssPowerStatsCb(ctx context.Context, gnssPowerStats GnssPowerStats) error
}

func NewGnssPowerIndicationCallbackStub

func NewGnssPowerIndicationCallbackStub(
	impl IGnssPowerIndicationCallbackServer,
) IGnssPowerIndicationCallback

NewGnssPowerIndicationCallbackStub creates a server-side IGnssPowerIndicationCallback wrapping the given server implementation. The returned value satisfies IGnssPowerIndicationCallback 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 IGnssPowerIndicationCallbackServer

type IGnssPowerIndicationCallbackServer interface {
	SetCapabilitiesCb(ctx context.Context, capabilities int32) error
	GnssPowerStatsCb(ctx context.Context, gnssPowerStats GnssPowerStats) error
}

IGnssPowerIndicationCallbackServer is the server-side interface that user implementations provide to NewGnssPowerIndicationCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssPowerIndicationServer

type IGnssPowerIndicationServer interface {
	SetCallback(ctx context.Context, callback IGnssPowerIndicationCallback) error
	RequestGnssPowerStats(ctx context.Context) error
}

IGnssPowerIndicationServer is the server-side interface that user implementations provide to NewGnssPowerIndicationStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssPsds

type IGnssPsds interface {
	AsBinder() binder.IBinder
	InjectPsdsData(ctx context.Context, psdsType PsdsType, psdsData []byte) error
	SetCallback(ctx context.Context, callback IGnssPsdsCallback) error
}

func NewGnssPsdsStub

func NewGnssPsdsStub(
	impl IGnssPsdsServer,
) IGnssPsds

NewGnssPsdsStub creates a server-side IGnssPsds wrapping the given server implementation. The returned value satisfies IGnssPsds 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 IGnssPsdsCallback

type IGnssPsdsCallback interface {
	AsBinder() binder.IBinder
	DownloadRequestCb(ctx context.Context, psdsType PsdsType) error
}

func NewGnssPsdsCallbackStub

func NewGnssPsdsCallbackStub(
	impl IGnssPsdsCallbackServer,
) IGnssPsdsCallback

NewGnssPsdsCallbackStub creates a server-side IGnssPsdsCallback wrapping the given server implementation. The returned value satisfies IGnssPsdsCallback 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 IGnssPsdsCallbackServer

type IGnssPsdsCallbackServer interface {
	DownloadRequestCb(ctx context.Context, psdsType PsdsType) error
}

IGnssPsdsCallbackServer is the server-side interface that user implementations provide to NewGnssPsdsCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssPsdsServer

type IGnssPsdsServer interface {
	InjectPsdsData(ctx context.Context, psdsType PsdsType, psdsData []byte) error
	SetCallback(ctx context.Context, callback IGnssPsdsCallback) error
}

IGnssPsdsServer is the server-side interface that user implementations provide to NewGnssPsdsStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IGnssServer

type IGnssServer interface {
	SetCallback(ctx context.Context, callback IGnssCallback) error
	Close(ctx context.Context) error
	GetExtensionPsds(ctx context.Context) (IGnssPsds, error)
	GetExtensionGnssConfiguration(ctx context.Context) (IGnssConfiguration, error)
	GetExtensionGnssMeasurement(ctx context.Context) (IGnssMeasurementInterface, error)
	GetExtensionGnssPowerIndication(ctx context.Context) (IGnssPowerIndication, error)
	GetExtensionGnssBatching(ctx context.Context) (IGnssBatching, error)
	GetExtensionGnssGeofence(ctx context.Context) (IGnssGeofence, error)
	GetExtensionGnssNavigationMessage(ctx context.Context) (IGnssNavigationMessageInterface, error)
	GetExtensionAGnss(ctx context.Context) (IAGnss, error)
	GetExtensionAGnssRil(ctx context.Context) (IAGnssRil, error)
	GetExtensionGnssDebug(ctx context.Context) (IGnssDebug, error)
	GetExtensionGnssVisibilityControl(ctx context.Context) (visibility_control.IGnssVisibilityControl, error)
	Start(ctx context.Context) error
	Stop(ctx context.Context) error
	InjectTime(ctx context.Context, timeMs int64, timeReferenceMs int64, uncertaintyMs int32) error
	InjectLocation(ctx context.Context, location GnssLocation) error
	InjectBestLocation(ctx context.Context, location GnssLocation) error
	DeleteAidingData(ctx context.Context, aidingDataFlags IGnssGnssAidingData) error
	SetPositionMode(ctx context.Context, options IGnssPositionModeOptions) error
	GetExtensionGnssAntennaInfo(ctx context.Context) (IGnssAntennaInfo, error)
	GetExtensionMeasurementCorrections(ctx context.Context) (measurement_corrections.IMeasurementCorrectionsInterface, error)
	StartSvStatus(ctx context.Context) error
	StopSvStatus(ctx context.Context) error
	StartNmea(ctx context.Context) error
	StopNmea(ctx context.Context) error
}

IGnssServer is the server-side interface that user implementations provide to NewGnssStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type PsdsType

type PsdsType int32
const (
	PsdsTypeLongTerm PsdsType = 1
	PsdsTypeNORMAL   PsdsType = 2
	PsdsTypeREALTIME PsdsType = 3
)

type SatelliteClockInfo

type SatelliteClockInfo struct {
	SatHardwareCodeBiasMeters float64
	SatTimeCorrectionMeters   float64
	SatClkDriftMps            float64
}

func (*SatelliteClockInfo) MarshalParcel

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

func (*SatelliteClockInfo) UnmarshalParcel

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

type SatellitePositionEcef

type SatellitePositionEcef struct {
	PosXMeters float64
	PosYMeters float64
	PosZMeters float64
	UreMeters  float64
}

func (*SatellitePositionEcef) MarshalParcel

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

func (*SatellitePositionEcef) UnmarshalParcel

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

type SatellitePvt

type SatellitePvt struct {
	Flags                  int32
	SatPosEcef             SatellitePositionEcef
	SatVelEcef             SatelliteVelocityEcef
	SatClockInfo           SatelliteClockInfo
	IonoDelayMeters        float64
	TropoDelayMeters       float64
	TimeOfClockSeconds     int64
	IssueOfDataClock       int32
	TimeOfEphemerisSeconds int64
	IssueOfDataEphemeris   int32
	EphemerisSource        SatellitePvtSatelliteEphemerisSource
}

func (*SatellitePvt) MarshalParcel

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

func (*SatellitePvt) UnmarshalParcel

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

type SatellitePvtSatelliteEphemerisSource

type SatellitePvtSatelliteEphemerisSource int32
const (
	SatellitePvtSatelliteEphemerisSourceDEMODULATED    SatellitePvtSatelliteEphemerisSource = 0
	SatellitePvtSatelliteEphemerisSourceServerNormal   SatellitePvtSatelliteEphemerisSource = 1
	SatellitePvtSatelliteEphemerisSourceServerLongTerm SatellitePvtSatelliteEphemerisSource = 2
	SatellitePvtSatelliteEphemerisSourceOTHER          SatellitePvtSatelliteEphemerisSource = 3
)

type SatelliteVelocityEcef

type SatelliteVelocityEcef struct {
	VelXMps    float64
	VelYMps    float64
	VelZMps    float64
	UreRateMps float64
}

func (*SatelliteVelocityEcef) MarshalParcel

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

func (*SatelliteVelocityEcef) UnmarshalParcel

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

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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