Documentation
¶
Index ¶
- Constants
- type AGnssCallbackProxy
- type AGnssCallbackStub
- type AGnssProxy
- func (p *AGnssProxy) AsBinder() binder.IBinder
- func (p *AGnssProxy) DataConnClosed(ctx context.Context) error
- func (p *AGnssProxy) DataConnFailed(ctx context.Context) error
- func (p *AGnssProxy) DataConnOpen(ctx context.Context, networkHandle int64, apn string, ...) error
- func (p *AGnssProxy) SetCallback(ctx context.Context, callback IAGnssCallback) error
- func (p *AGnssProxy) SetServer(ctx context.Context, type_ IAGnssCallbackAGnssType, hostname string, ...) error
- type AGnssRilCallbackProxy
- type AGnssRilCallbackStub
- type AGnssRilProxy
- func (p *AGnssRilProxy) AsBinder() binder.IBinder
- func (p *AGnssRilProxy) InjectNiSuplMessageData(ctx context.Context, msgData []byte, slotIndex int32) error
- func (p *AGnssRilProxy) SetCallback(ctx context.Context, callback IAGnssRilCallback) error
- func (p *AGnssRilProxy) SetRefLocation(ctx context.Context, agnssReflocation IAGnssRilAGnssRefLocation) error
- func (p *AGnssRilProxy) SetSetId(ctx context.Context, type_ IAGnssRilSetIdType, setid string) error
- func (p *AGnssRilProxy) UpdateNetworkState(ctx context.Context, attributes IAGnssRilNetworkAttributes) error
- type AGnssRilStub
- type AGnssStub
- type BlocklistedSource
- type CorrelationVector
- type ElapsedRealtime
- type GnssAntennaInfoCallbackProxy
- type GnssAntennaInfoCallbackStub
- type GnssAntennaInfoProxy
- type GnssAntennaInfoStub
- type GnssBatchingCallbackProxy
- type GnssBatchingCallbackStub
- type GnssBatchingProxy
- func (p *GnssBatchingProxy) AsBinder() binder.IBinder
- func (p *GnssBatchingProxy) Cleanup(ctx context.Context) error
- func (p *GnssBatchingProxy) Flush(ctx context.Context) error
- func (p *GnssBatchingProxy) GetBatchSize(ctx context.Context) (int32, error)
- func (p *GnssBatchingProxy) Init(ctx context.Context, callback IGnssBatchingCallback) error
- func (p *GnssBatchingProxy) Start(ctx context.Context, options IGnssBatchingOptions) error
- func (p *GnssBatchingProxy) Stop(ctx context.Context) error
- type GnssBatchingStub
- type GnssCallbackProxy
- func (p *GnssCallbackProxy) AsBinder() binder.IBinder
- func (p *GnssCallbackProxy) GnssAcquireWakelockCb(ctx context.Context) error
- func (p *GnssCallbackProxy) GnssLocationCb(ctx context.Context, location GnssLocation) error
- func (p *GnssCallbackProxy) GnssNmeaCb(ctx context.Context, timestamp int64, nmea string) error
- func (p *GnssCallbackProxy) GnssReleaseWakelockCb(ctx context.Context) error
- func (p *GnssCallbackProxy) GnssRequestLocationCb(ctx context.Context, independentFromGnss bool, isUserEmergency bool) error
- func (p *GnssCallbackProxy) GnssRequestTimeCb(ctx context.Context) error
- func (p *GnssCallbackProxy) GnssSetCapabilitiesCb(ctx context.Context, capabilities int32) error
- func (p *GnssCallbackProxy) GnssSetSignalTypeCapabilitiesCb(ctx context.Context, gnssSignalTypes []GnssSignalType) error
- func (p *GnssCallbackProxy) GnssSetSystemInfoCb(ctx context.Context, info IGnssCallbackGnssSystemInfo) error
- func (p *GnssCallbackProxy) GnssStatusCb(ctx context.Context, status IGnssCallbackGnssStatusValue) error
- func (p *GnssCallbackProxy) GnssSvStatusCb(ctx context.Context, svInfoList []IGnssCallbackGnssSvInfo) error
- type GnssCallbackStub
- type GnssClock
- type GnssConfigurationProxy
- func (p *GnssConfigurationProxy) AsBinder() binder.IBinder
- func (p *GnssConfigurationProxy) SetBlocklist(ctx context.Context, blocklist []BlocklistedSource) error
- func (p *GnssConfigurationProxy) SetEmergencySuplPdn(ctx context.Context, enable bool) error
- func (p *GnssConfigurationProxy) SetEsExtensionSec(ctx context.Context, emergencyExtensionSeconds int32) error
- func (p *GnssConfigurationProxy) SetGlonassPositioningProtocol(ctx context.Context, protocol int32) error
- func (p *GnssConfigurationProxy) SetLppProfile(ctx context.Context, lppProfile int32) error
- func (p *GnssConfigurationProxy) SetSuplMode(ctx context.Context, mode int32) error
- func (p *GnssConfigurationProxy) SetSuplVersion(ctx context.Context, version int32) error
- type GnssConfigurationStub
- type GnssConstellationType
- type GnssData
- type GnssDataGnssAgc
- type GnssDebugProxy
- type GnssDebugStub
- type GnssGeofenceCallbackProxy
- func (p *GnssGeofenceCallbackProxy) AsBinder() binder.IBinder
- func (p *GnssGeofenceCallbackProxy) GnssGeofenceAddCb(ctx context.Context, geofenceId int32, status int32) error
- func (p *GnssGeofenceCallbackProxy) GnssGeofencePauseCb(ctx context.Context, geofenceId int32, status int32) error
- func (p *GnssGeofenceCallbackProxy) GnssGeofenceRemoveCb(ctx context.Context, geofenceId int32, status int32) error
- func (p *GnssGeofenceCallbackProxy) GnssGeofenceResumeCb(ctx context.Context, geofenceId int32, status int32) error
- func (p *GnssGeofenceCallbackProxy) GnssGeofenceStatusCb(ctx context.Context, availability int32, lastLocation GnssLocation) error
- func (p *GnssGeofenceCallbackProxy) GnssGeofenceTransitionCb(ctx context.Context, geofenceId int32, location GnssLocation, transition int32, ...) error
- type GnssGeofenceCallbackStub
- type GnssGeofenceProxy
- func (p *GnssGeofenceProxy) AddGeofence(ctx context.Context, geofenceId int32, latitudeDegrees float64, ...) error
- func (p *GnssGeofenceProxy) AsBinder() binder.IBinder
- func (p *GnssGeofenceProxy) PauseGeofence(ctx context.Context, geofenceId int32) error
- func (p *GnssGeofenceProxy) RemoveGeofence(ctx context.Context, geofenceId int32) error
- func (p *GnssGeofenceProxy) ResumeGeofence(ctx context.Context, geofenceId int32, monitorTransitions int32) error
- func (p *GnssGeofenceProxy) SetCallback(ctx context.Context, callback IGnssGeofenceCallback) error
- type GnssGeofenceStub
- type GnssLocation
- type GnssMeasurement
- type GnssMeasurementCallbackProxy
- type GnssMeasurementCallbackStub
- type GnssMeasurementInterfaceProxy
- func (p *GnssMeasurementInterfaceProxy) AsBinder() binder.IBinder
- func (p *GnssMeasurementInterfaceProxy) Close(ctx context.Context) error
- func (p *GnssMeasurementInterfaceProxy) SetCallback(ctx context.Context, callback IGnssMeasurementCallback, ...) error
- func (p *GnssMeasurementInterfaceProxy) SetCallbackWithOptions(ctx context.Context, callback IGnssMeasurementCallback, ...) error
- type GnssMeasurementInterfaceStub
- type GnssMultipathIndicator
- type GnssNavigationMessageCallbackProxy
- type GnssNavigationMessageCallbackStub
- type GnssNavigationMessageInterfaceProxy
- type GnssNavigationMessageInterfaceStub
- type GnssPowerIndicationCallbackProxy
- type GnssPowerIndicationCallbackStub
- type GnssPowerIndicationProxy
- type GnssPowerIndicationStub
- type GnssPowerStats
- type GnssProxy
- func (p *GnssProxy) AsBinder() binder.IBinder
- func (p *GnssProxy) Close(ctx context.Context) error
- func (p *GnssProxy) DeleteAidingData(ctx context.Context, aidingDataFlags IGnssGnssAidingData) error
- func (p *GnssProxy) GetExtensionAGnss(ctx context.Context) (IAGnss, error)
- func (p *GnssProxy) GetExtensionAGnssRil(ctx context.Context) (IAGnssRil, error)
- func (p *GnssProxy) GetExtensionGnssAntennaInfo(ctx context.Context) (IGnssAntennaInfo, error)
- func (p *GnssProxy) GetExtensionGnssBatching(ctx context.Context) (IGnssBatching, error)
- func (p *GnssProxy) GetExtensionGnssConfiguration(ctx context.Context) (IGnssConfiguration, error)
- func (p *GnssProxy) GetExtensionGnssDebug(ctx context.Context) (IGnssDebug, error)
- func (p *GnssProxy) GetExtensionGnssGeofence(ctx context.Context) (IGnssGeofence, error)
- func (p *GnssProxy) GetExtensionGnssMeasurement(ctx context.Context) (IGnssMeasurementInterface, error)
- func (p *GnssProxy) GetExtensionGnssNavigationMessage(ctx context.Context) (IGnssNavigationMessageInterface, error)
- func (p *GnssProxy) GetExtensionGnssPowerIndication(ctx context.Context) (IGnssPowerIndication, error)
- func (p *GnssProxy) GetExtensionGnssVisibilityControl(ctx context.Context) (visibility_control.IGnssVisibilityControl, error)
- func (p *GnssProxy) GetExtensionMeasurementCorrections(ctx context.Context) (measurement_corrections.IMeasurementCorrectionsInterface, error)
- func (p *GnssProxy) GetExtensionPsds(ctx context.Context) (IGnssPsds, error)
- func (p *GnssProxy) InjectBestLocation(ctx context.Context, location GnssLocation) error
- func (p *GnssProxy) InjectLocation(ctx context.Context, location GnssLocation) error
- func (p *GnssProxy) InjectTime(ctx context.Context, timeMs int64, timeReferenceMs int64, uncertaintyMs int32) error
- func (p *GnssProxy) SetCallback(ctx context.Context, callback IGnssCallback) error
- func (p *GnssProxy) SetPositionMode(ctx context.Context, options IGnssPositionModeOptions) error
- func (p *GnssProxy) Start(ctx context.Context) error
- func (p *GnssProxy) StartNmea(ctx context.Context) error
- func (p *GnssProxy) StartSvStatus(ctx context.Context) error
- func (p *GnssProxy) Stop(ctx context.Context) error
- func (p *GnssProxy) StopNmea(ctx context.Context) error
- func (p *GnssProxy) StopSvStatus(ctx context.Context) error
- type GnssPsdsCallbackProxy
- type GnssPsdsCallbackStub
- type GnssPsdsProxy
- type GnssPsdsStub
- type GnssSignalType
- type GnssStub
- type IAGnss
- type IAGnssApnIpType
- type IAGnssCallback
- type IAGnssCallbackAGnssStatusValue
- type IAGnssCallbackAGnssType
- type IAGnssCallbackServer
- type IAGnssRil
- type IAGnssRilAGnssRefLocation
- type IAGnssRilAGnssRefLocationCellID
- type IAGnssRilAGnssRefLocationType
- type IAGnssRilCallback
- type IAGnssRilCallbackServer
- type IAGnssRilNetworkAttributes
- type IAGnssRilServer
- type IAGnssRilSetIdType
- type IAGnssServer
- type IGnss
- type IGnssAntennaInfo
- type IGnssAntennaInfoCallback
- type IGnssAntennaInfoCallbackCoord
- type IGnssAntennaInfoCallbackGnssAntennaInfo
- type IGnssAntennaInfoCallbackRow
- type IGnssAntennaInfoCallbackServer
- type IGnssAntennaInfoServer
- type IGnssBatching
- type IGnssBatchingCallback
- type IGnssBatchingCallbackServer
- type IGnssBatchingOptions
- type IGnssBatchingServer
- type IGnssCallback
- type IGnssCallbackGnssStatusValue
- type IGnssCallbackGnssSvFlags
- type IGnssCallbackGnssSvInfo
- type IGnssCallbackGnssSystemInfo
- type IGnssCallbackServer
- type IGnssConfiguration
- type IGnssConfigurationServer
- type IGnssDebug
- type IGnssDebugDebugData
- type IGnssDebugPositionDebug
- type IGnssDebugSatelliteData
- type IGnssDebugSatelliteEphemerisHealth
- type IGnssDebugSatelliteEphemerisType
- type IGnssDebugServer
- type IGnssDebugTimeDebug
- type IGnssGeofence
- type IGnssGeofenceCallback
- type IGnssGeofenceCallbackServer
- type IGnssGeofenceServer
- type IGnssGnssAidingData
- type IGnssGnssPositionMode
- type IGnssGnssPositionRecurrence
- type IGnssMeasurementCallback
- type IGnssMeasurementCallbackServer
- type IGnssMeasurementInterface
- type IGnssMeasurementInterfaceOptions
- type IGnssMeasurementInterfaceServer
- type IGnssNavigationMessageCallback
- type IGnssNavigationMessageCallbackGnssNavigationMessage
- type IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType
- type IGnssNavigationMessageCallbackServer
- type IGnssNavigationMessageInterface
- type IGnssNavigationMessageInterfaceServer
- type IGnssPositionModeOptions
- type IGnssPowerIndication
- type IGnssPowerIndicationCallback
- type IGnssPowerIndicationCallbackServer
- type IGnssPowerIndicationServer
- type IGnssPsds
- type IGnssPsdsCallback
- type IGnssPsdsCallbackServer
- type IGnssPsdsServer
- type IGnssServer
- type PsdsType
- type SatelliteClockInfo
- type SatellitePositionEcef
- type SatellitePvt
- type SatellitePvtSatelliteEphemerisSource
- type SatelliteVelocityEcef
Constants ¶
const ( ElapsedRealtimeHasTimestampNs int32 = (1 << 0) ElapsedRealtimeHasTimeUncertaintyNs int32 = (1 << 1) )
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) )
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 )
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) )
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" )
const ( TransactionIAGnssSetCallback = binder.FirstCallTransaction + 0 TransactionIAGnssDataConnClosed = binder.FirstCallTransaction + 1 TransactionIAGnssDataConnFailed = binder.FirstCallTransaction + 2 TransactionIAGnssSetServer = binder.FirstCallTransaction + 3 TransactionIAGnssDataConnOpen = binder.FirstCallTransaction + 4 )
const ( MethodIAGnssSetCallback = "setCallback" MethodIAGnssDataConnClosed = "dataConnClosed" MethodIAGnssDataConnFailed = "dataConnFailed" MethodIAGnssSetServer = "setServer" MethodIAGnssDataConnOpen = "dataConnOpen" )
const ( TransactionIAGnssRilSetCallback = binder.FirstCallTransaction + 0 TransactionIAGnssRilSetRefLocation = binder.FirstCallTransaction + 1 TransactionIAGnssRilSetSetId = binder.FirstCallTransaction + 2 TransactionIAGnssRilUpdateNetworkState = binder.FirstCallTransaction + 3 TransactionIAGnssRilInjectNiSuplMessageData = binder.FirstCallTransaction + 4 )
const ( MethodIAGnssRilSetCallback = "setCallback" MethodIAGnssRilSetRefLocation = "setRefLocation" MethodIAGnssRilSetSetId = "setSetId" MethodIAGnssRilUpdateNetworkState = "updateNetworkState" MethodIAGnssRilInjectNiSuplMessageData = "injectNiSuplMessageData" )
const ( IAGnssRilNetworkCapabilityNotMetered int32 = 1 IAGnssRilNetworkCapabilityNotRoaming int32 = 2 )
const ( TransactionIAGnssRilCallbackRequestSetIdCb = binder.FirstCallTransaction + 0 TransactionIAGnssRilCallbackRequestRefLocCb = binder.FirstCallTransaction + 1 )
const ( MethodIAGnssRilCallbackRequestSetIdCb = "requestSetIdCb" MethodIAGnssRilCallbackRequestRefLocCb = "requestRefLocCb" )
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 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 )
const ( MethodIGnssSetCallback = "setCallback" MethodIGnssClose = "close" MethodIGnssGetExtensionPsds = "getExtensionPsds" MethodIGnssGetExtensionGnssConfiguration = "getExtensionGnssConfiguration" MethodIGnssGetExtensionGnssMeasurement = "getExtensionGnssMeasurement" MethodIGnssGetExtensionGnssPowerIndication = "getExtensionGnssPowerIndication" MethodIGnssGetExtensionGnssBatching = "getExtensionGnssBatching" MethodIGnssGetExtensionGnssGeofence = "getExtensionGnssGeofence" 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" )
const ( IGnssErrorInvalidArgument int32 = 1 IGnssErrorAlreadyInit int32 = 2 IGnssErrorGeneric int32 = 3 )
const ( TransactionIGnssAntennaInfoSetCallback = binder.FirstCallTransaction + 0 TransactionIGnssAntennaInfoClose = binder.FirstCallTransaction + 1 )
const ( MethodIGnssAntennaInfoSetCallback = "setCallback" MethodIGnssAntennaInfoClose = "close" )
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 )
const ( MethodIGnssBatchingInit = "init" MethodIGnssBatchingGetBatchSize = "getBatchSize" MethodIGnssBatchingStart = "start" MethodIGnssBatchingFlush = "flush" MethodIGnssBatchingStop = "stop" MethodIGnssBatchingCleanup = "cleanup" )
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 )
const ( MethodIGnssCallbackGnssSetCapabilitiesCb = "gnssSetCapabilitiesCb" MethodIGnssCallbackGnssStatusCb = "gnssStatusCb" MethodIGnssCallbackGnssSvStatusCb = "gnssSvStatusCb" MethodIGnssCallbackGnssLocationCb = "gnssLocationCb" MethodIGnssCallbackGnssNmeaCb = "gnssNmeaCb" MethodIGnssCallbackGnssAcquireWakelockCb = "gnssAcquireWakelockCb" MethodIGnssCallbackGnssReleaseWakelockCb = "gnssReleaseWakelockCb" MethodIGnssCallbackGnssSetSystemInfoCb = "gnssSetSystemInfoCb" MethodIGnssCallbackGnssRequestTimeCb = "gnssRequestTimeCb" MethodIGnssCallbackGnssRequestLocationCb = "gnssRequestLocationCb" MethodIGnssCallbackGnssSetSignalTypeCapabilitiesCb = "gnssSetSignalTypeCapabilitiesCb" )
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) 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) )
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 )
const ( MethodIGnssConfigurationSetSuplVersion = "setSuplVersion" MethodIGnssConfigurationSetSuplMode = "setSuplMode" MethodIGnssConfigurationSetLppProfile = "setLppProfile" MethodIGnssConfigurationSetGlonassPositioningProtocol = "setGlonassPositioningProtocol" MethodIGnssConfigurationSetEmergencySuplPdn = "setEmergencySuplPdn" MethodIGnssConfigurationSetEsExtensionSec = "setEsExtensionSec" MethodIGnssConfigurationSetBlocklist = "setBlocklist" )
const ( IGnssConfigurationSuplModeMsb int32 = 1 IGnssConfigurationSuplModeMsa int32 = 2 IGnssConfigurationLppProfileUserPlane int32 = 1 IGnssConfigurationLppProfileControlPlane int32 = 2 IGnssConfigurationGlonassPosProtocolRrcCplane int32 = 1 IGnssConfigurationGlonassPosProtocolRrlpUplane int32 = 2 IGnssConfigurationGlonassPosProtocolLppUplane int32 = 4 )
const ( TransactionIGnssGeofenceSetCallback = binder.FirstCallTransaction + 0 TransactionIGnssGeofenceAddGeofence = binder.FirstCallTransaction + 1 TransactionIGnssGeofencePauseGeofence = binder.FirstCallTransaction + 2 TransactionIGnssGeofenceResumeGeofence = binder.FirstCallTransaction + 3 TransactionIGnssGeofenceRemoveGeofence = binder.FirstCallTransaction + 4 )
const ( MethodIGnssGeofenceSetCallback = "setCallback" MethodIGnssGeofenceAddGeofence = "addGeofence" MethodIGnssGeofencePauseGeofence = "pauseGeofence" MethodIGnssGeofenceResumeGeofence = "resumeGeofence" MethodIGnssGeofenceRemoveGeofence = "removeGeofence" )
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 )
const ( MethodIGnssGeofenceCallbackGnssGeofenceTransitionCb = "gnssGeofenceTransitionCb" MethodIGnssGeofenceCallbackGnssGeofenceStatusCb = "gnssGeofenceStatusCb" MethodIGnssGeofenceCallbackGnssGeofenceAddCb = "gnssGeofenceAddCb" MethodIGnssGeofenceCallbackGnssGeofenceRemoveCb = "gnssGeofenceRemoveCb" MethodIGnssGeofenceCallbackGnssGeofencePauseCb = "gnssGeofencePauseCb" MethodIGnssGeofenceCallbackGnssGeofenceResumeCb = "gnssGeofenceResumeCb" )
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 )
const ( TransactionIGnssMeasurementInterfaceSetCallback = binder.FirstCallTransaction + 0 TransactionIGnssMeasurementInterfaceClose = binder.FirstCallTransaction + 1 TransactionIGnssMeasurementInterfaceSetCallbackWithOptions = binder.FirstCallTransaction + 2 )
const ( MethodIGnssMeasurementInterfaceSetCallback = "setCallback" MethodIGnssMeasurementInterfaceClose = "close" MethodIGnssMeasurementInterfaceSetCallbackWithOptions = "setCallbackWithOptions" )
const ( )
const ( )
const ( )
const ( TransactionIGnssPowerIndicationSetCallback = binder.FirstCallTransaction + 0 TransactionIGnssPowerIndicationRequestGnssPowerStats = binder.FirstCallTransaction + 1 )
const ( MethodIGnssPowerIndicationSetCallback = "setCallback" MethodIGnssPowerIndicationRequestGnssPowerStats = "requestGnssPowerStats" )
const ( TransactionIGnssPowerIndicationCallbackSetCapabilitiesCb = binder.FirstCallTransaction + 0 TransactionIGnssPowerIndicationCallbackGnssPowerStatsCb = binder.FirstCallTransaction + 1 )
const ( MethodIGnssPowerIndicationCallbackSetCapabilitiesCb = "setCapabilitiesCb" MethodIGnssPowerIndicationCallbackGnssPowerStatsCb = "gnssPowerStatsCb" )
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) )
const ( TransactionIGnssPsdsInjectPsdsData = binder.FirstCallTransaction + 0 TransactionIGnssPsdsSetCallback = binder.FirstCallTransaction + 1 )
const ( MethodIGnssPsdsInjectPsdsData = "injectPsdsData" MethodIGnssPsdsSetCallback = "setCallback" )
const ( SatellitePvtHasPositionVelocityClockInfo int32 = (1 << 0) SatellitePvtHasIono int32 = (1 << 1) SatellitePvtHasTropo int32 = (1 << 2) )
const DescriptorIAGnss = "android.hardware.gnss.IAGnss"
const DescriptorIAGnssCallback = "android.hardware.gnss.IAGnssCallback"
const DescriptorIAGnssRil = "android.hardware.gnss.IAGnssRil"
const DescriptorIAGnssRilCallback = "android.hardware.gnss.IAGnssRilCallback"
const DescriptorIGnss = "android.hardware.gnss.IGnss"
const DescriptorIGnssAntennaInfo = "android.hardware.gnss.IGnssAntennaInfo"
const DescriptorIGnssAntennaInfoCallback = "android.hardware.gnss.IGnssAntennaInfoCallback"
const DescriptorIGnssBatching = "android.hardware.gnss.IGnssBatching"
const DescriptorIGnssBatchingCallback = "android.hardware.gnss.IGnssBatchingCallback"
const DescriptorIGnssCallback = "android.hardware.gnss.IGnssCallback"
const DescriptorIGnssConfiguration = "android.hardware.gnss.IGnssConfiguration"
const DescriptorIGnssDebug = "android.hardware.gnss.IGnssDebug"
const DescriptorIGnssGeofence = "android.hardware.gnss.IGnssGeofence"
const DescriptorIGnssGeofenceCallback = "android.hardware.gnss.IGnssGeofenceCallback"
const DescriptorIGnssMeasurementCallback = "android.hardware.gnss.IGnssMeasurementCallback"
const DescriptorIGnssMeasurementInterface = "android.hardware.gnss.IGnssMeasurementInterface"
const DescriptorIGnssPowerIndication = "android.hardware.gnss.IGnssPowerIndication"
const DescriptorIGnssPowerIndicationCallback = "android.hardware.gnss.IGnssPowerIndicationCallback"
const DescriptorIGnssPsds = "android.hardware.gnss.IGnssPsds"
const DescriptorIGnssPsdsCallback = "android.hardware.gnss.IGnssPsdsCallback"
const (
IGnssBatchingWakeupOnFifoFull int32 = 1
)
const (
MethodIAGnssCallbackAgnssStatusCb = "agnssStatusCb"
)
const (
MethodIGnssAntennaInfoCallbackGnssAntennaInfoCb = "gnssAntennaInfoCb"
)
const (
MethodIGnssBatchingCallbackGnssLocationBatchCb = "gnssLocationBatchCb"
)
const (
MethodIGnssDebugGetDebugData = "getDebugData"
)
const (
MethodIGnssMeasurementCallbackGnssMeasurementCb = "gnssMeasurementCb"
)
const (
)
const (
MethodIGnssPsdsCallbackDownloadRequestCb = "downloadRequestCb"
)
const (
TransactionIAGnssCallbackAgnssStatusCb = binder.FirstCallTransaction + 0
)
const (
TransactionIGnssAntennaInfoCallbackGnssAntennaInfoCb = binder.FirstCallTransaction + 0
)
const (
TransactionIGnssBatchingCallbackGnssLocationBatchCb = binder.FirstCallTransaction + 0
)
const (
TransactionIGnssDebugGetDebugData = binder.FirstCallTransaction + 0
)
const (
TransactionIGnssMeasurementCallbackGnssMeasurementCb = binder.FirstCallTransaction + 0
)
const (
)
const (
TransactionIGnssPsdsCallbackDownloadRequestCb = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AGnssCallbackProxy ¶
func NewAGnssCallbackProxy ¶
func NewAGnssCallbackProxy( remote binder.IBinder, ) *AGnssCallbackProxy
func (*AGnssCallbackProxy) AgnssStatusCb ¶
func (p *AGnssCallbackProxy) AgnssStatusCb( ctx context.Context, type_ IAGnssCallbackAGnssType, status IAGnssCallbackAGnssStatusValue, ) error
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 ¶
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 ¶
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 ¶
func NewAGnssRilProxy ¶
func NewAGnssRilProxy( remote binder.IBinder, ) *AGnssRilProxy
func (*AGnssRilProxy) AsBinder ¶
func (p *AGnssRilProxy) AsBinder() binder.IBinder
func (*AGnssRilProxy) InjectNiSuplMessageData ¶
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 ¶
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 ¶
func (*ElapsedRealtime) MarshalParcel ¶
func (s *ElapsedRealtime) MarshalParcel( p *parcel.Parcel, ) error
func (*ElapsedRealtime) UnmarshalParcel ¶
func (s *ElapsedRealtime) UnmarshalParcel( p *parcel.Parcel, ) error
type GnssAntennaInfoCallbackProxy ¶
func NewGnssAntennaInfoCallbackProxy ¶
func NewGnssAntennaInfoCallbackProxy( remote binder.IBinder, ) *GnssAntennaInfoCallbackProxy
func (*GnssAntennaInfoCallbackProxy) AsBinder ¶
func (p *GnssAntennaInfoCallbackProxy) AsBinder() binder.IBinder
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 ¶
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 ¶
func NewGnssBatchingCallbackProxy ¶
func NewGnssBatchingCallbackProxy( remote binder.IBinder, ) *GnssBatchingCallbackProxy
func (*GnssBatchingCallbackProxy) AsBinder ¶
func (p *GnssBatchingCallbackProxy) AsBinder() binder.IBinder
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 ¶
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) 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
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 ¶
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 (*GnssCallbackProxy) GnssReleaseWakelockCb ¶
func (p *GnssCallbackProxy) GnssReleaseWakelockCb( ctx context.Context, ) error
func (*GnssCallbackProxy) GnssRequestLocationCb ¶
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 GnssConfigurationProxy ¶
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
}
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 ¶
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 ¶
func NewGnssGeofenceCallbackProxy ¶
func NewGnssGeofenceCallbackProxy( remote binder.IBinder, ) *GnssGeofenceCallbackProxy
func (*GnssGeofenceCallbackProxy) AsBinder ¶
func (p *GnssGeofenceCallbackProxy) AsBinder() binder.IBinder
func (*GnssGeofenceCallbackProxy) GnssGeofenceAddCb ¶
func (*GnssGeofenceCallbackProxy) GnssGeofencePauseCb ¶
func (*GnssGeofenceCallbackProxy) GnssGeofenceRemoveCb ¶
func (*GnssGeofenceCallbackProxy) GnssGeofenceResumeCb ¶
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 ¶
func NewGnssGeofenceProxy ¶
func NewGnssGeofenceProxy( remote binder.IBinder, ) *GnssGeofenceProxy
func (*GnssGeofenceProxy) AddGeofence ¶
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 (*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 ¶
func NewGnssMeasurementCallbackProxy ¶
func NewGnssMeasurementCallbackProxy( remote binder.IBinder, ) *GnssMeasurementCallbackProxy
func (*GnssMeasurementCallbackProxy) AsBinder ¶
func (p *GnssMeasurementCallbackProxy) AsBinder() binder.IBinder
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 ¶
func NewGnssMeasurementInterfaceProxy ¶
func NewGnssMeasurementInterfaceProxy( remote binder.IBinder, ) *GnssMeasurementInterfaceProxy
func (*GnssMeasurementInterfaceProxy) AsBinder ¶
func (p *GnssMeasurementInterfaceProxy) AsBinder() binder.IBinder
func (*GnssMeasurementInterfaceProxy) Close ¶
func (p *GnssMeasurementInterfaceProxy) Close( ctx context.Context, ) error
func (*GnssMeasurementInterfaceProxy) SetCallback ¶
func (p *GnssMeasurementInterfaceProxy) SetCallback( ctx context.Context, callback IGnssMeasurementCallback, enableFullTracking bool, enableCorrVecOutputs bool, ) error
func (*GnssMeasurementInterfaceProxy) SetCallbackWithOptions ¶
func (p *GnssMeasurementInterfaceProxy) SetCallbackWithOptions( ctx context.Context, callback IGnssMeasurementCallback, options IGnssMeasurementInterfaceOptions, ) error
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 ¶
func (s *GnssMeasurementInterfaceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type GnssMultipathIndicator ¶
type GnssMultipathIndicator int32
const ( GnssMultipathIndicatorUNKNOWN GnssMultipathIndicator = 0 GnssMultipathIndicatorPRESENT GnssMultipathIndicator = 1 GnssMultipathIndicatorNotPresent GnssMultipathIndicator = 2 )
type GnssNavigationMessageCallbackProxy ¶
type GnssNavigationMessageCallbackProxy struct {
}
func NewGnssNavigationMessageCallbackProxy ¶
func NewGnssNavigationMessageCallbackProxy( remote binder.IBinder, ) *GnssNavigationMessageCallbackProxy
func (*GnssNavigationMessageCallbackProxy) AsBinder ¶
func (p *GnssNavigationMessageCallbackProxy) AsBinder() binder.IBinder
func (*GnssNavigationMessageCallbackProxy) GnssNavigationMessageCb ¶
func (p *GnssNavigationMessageCallbackProxy) GnssNavigationMessageCb( ctx context.Context, message IGnssNavigationMessageCallbackGnssNavigationMessage, ) error
type GnssNavigationMessageCallbackStub ¶
type GnssNavigationMessageCallbackStub struct {
}
GnssNavigationMessageCallbackStub dispatches incoming binder transactions to a typed IGnssNavigationMessageCallback implementation.
func (*GnssNavigationMessageCallbackStub) Descriptor ¶
func (s *GnssNavigationMessageCallbackStub) Descriptor() string
func (*GnssNavigationMessageCallbackStub) OnTransaction ¶
func (s *GnssNavigationMessageCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type GnssNavigationMessageInterfaceProxy ¶
type GnssNavigationMessageInterfaceProxy struct {
}
func NewGnssNavigationMessageInterfaceProxy ¶
func NewGnssNavigationMessageInterfaceProxy( remote binder.IBinder, ) *GnssNavigationMessageInterfaceProxy
func (*GnssNavigationMessageInterfaceProxy) AsBinder ¶
func (p *GnssNavigationMessageInterfaceProxy) AsBinder() binder.IBinder
func (*GnssNavigationMessageInterfaceProxy) Close ¶
func (p *GnssNavigationMessageInterfaceProxy) Close( ctx context.Context, ) error
func (*GnssNavigationMessageInterfaceProxy) SetCallback ¶
func (p *GnssNavigationMessageInterfaceProxy) SetCallback( ctx context.Context, callback IGnssNavigationMessageCallback, ) error
type GnssNavigationMessageInterfaceStub ¶
type GnssNavigationMessageInterfaceStub struct {
}
GnssNavigationMessageInterfaceStub dispatches incoming binder transactions to a typed IGnssNavigationMessageInterface implementation.
func (*GnssNavigationMessageInterfaceStub) Descriptor ¶
func (s *GnssNavigationMessageInterfaceStub) Descriptor() string
func (*GnssNavigationMessageInterfaceStub) OnTransaction ¶
func (s *GnssNavigationMessageInterfaceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type GnssPowerIndicationCallbackProxy ¶
func NewGnssPowerIndicationCallbackProxy ¶
func NewGnssPowerIndicationCallbackProxy( remote binder.IBinder, ) *GnssPowerIndicationCallbackProxy
func (*GnssPowerIndicationCallbackProxy) AsBinder ¶
func (p *GnssPowerIndicationCallbackProxy) AsBinder() binder.IBinder
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 ¶
func (s *GnssPowerIndicationCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type GnssPowerIndicationProxy ¶
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 ¶
func (p *GnssPowerIndicationProxy) SetCallback( ctx context.Context, callback IGnssPowerIndicationCallback, ) error
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 ¶
func NewGnssProxy ¶
func (*GnssProxy) DeleteAidingData ¶
func (p *GnssProxy) DeleteAidingData( ctx context.Context, aidingDataFlags IGnssGnssAidingData, ) error
func (*GnssProxy) GetExtensionAGnss ¶
func (*GnssProxy) GetExtensionAGnssRil ¶
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 (*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 (*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
type GnssPsdsCallbackProxy ¶
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 ¶
func NewGnssPsdsProxy ¶
func NewGnssPsdsProxy( remote binder.IBinder, ) *GnssPsdsProxy
func (*GnssPsdsProxy) AsBinder ¶
func (p *GnssPsdsProxy) AsBinder() binder.IBinder
func (*GnssPsdsProxy) InjectPsdsData ¶
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 ¶
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)
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 (s *IGnssAntennaInfoCallbackGnssAntennaInfo) MarshalParcel( p *parcel.Parcel, ) error
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 ¶
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 ¶
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 {
}
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 {
}
func (*IGnssNavigationMessageCallbackGnssNavigationMessage) MarshalParcel ¶
func (s *IGnssNavigationMessageCallbackGnssNavigationMessage) MarshalParcel( p *parcel.Parcel, ) error
func (*IGnssNavigationMessageCallbackGnssNavigationMessage) UnmarshalParcel ¶
func (s *IGnssNavigationMessageCallbackGnssNavigationMessage) UnmarshalParcel( p *parcel.Parcel, ) error
type IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType ¶
type IGnssNavigationMessageCallbackGnssNavigationMessageGnssNavigationMessageType int32
const ( )
type IGnssNavigationMessageCallbackServer ¶
type IGnssNavigationMessageCallbackServer interface {
}
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 {
}
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 {
}
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)
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 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
¶
- blocklistedsource.go
- correlationvector.go
- elapsedrealtime.go
- gnssclock.go
- gnssconstellationtype.go
- gnssdata.gnssagc.go
- gnssdata.go
- gnsslocation.go
- gnssmeasurement.go
- gnssmultipathindicator.go
- gnsspowerstats.go
- gnsssignaltype.go
- iagnss.apniptype.go
- iagnss.go
- iagnsscallback.agnssstatusvalue.go
- iagnsscallback.agnsstype.go
- iagnsscallback.go
- iagnssril.agnssreflocation.go
- iagnssril.agnssreflocationcellid.go
- iagnssril.agnssreflocationtype.go
- iagnssril.go
- iagnssril.networkattributes.go
- iagnssril.setidtype.go
- iagnssrilcallback.go
- ignss.gnssaidingdata.go
- ignss.gnsspositionmode.go
- ignss.gnsspositionrecurrence.go
- ignss.go
- ignss.positionmodeoptions.go
- ignssantennainfo.go
- ignssantennainfocallback.coord.go
- ignssantennainfocallback.gnssantennainfo.go
- ignssantennainfocallback.go
- ignssantennainfocallback.row.go
- ignssbatching.go
- ignssbatching.options.go
- ignssbatchingcallback.go
- ignsscallback.gnssstatusvalue.go
- ignsscallback.gnsssvflags.go
- ignsscallback.gnsssvinfo.go
- ignsscallback.gnsssysteminfo.go
- ignsscallback.go
- ignssconfiguration.go
- ignssdebug.debugdata.go
- ignssdebug.go
- ignssdebug.positiondebug.go
- ignssdebug.satellitedata.go
- ignssdebug.satelliteephemerishealth.go
- ignssdebug.satelliteephemeristype.go
- ignssdebug.timedebug.go
- ignssgeofence.go
- ignssgeofencecallback.go
- ignssmeasurementcallback.go
- ignssmeasurementinterface.go
- ignssmeasurementinterface.options.go
- ignssnavigationmessagecallback.gnssnavigationmessage.gnssnavigationmessagetype.go
- ignssnavigationmessagecallback.gnssnavigationmessage.go
- ignssnavigationmessagecallback.go
- ignssnavigationmessageinterface.go
- ignsspowerindication.go
- ignsspowerindicationcallback.go
- ignsspsds.go
- ignsspsdscallback.go
- psdstype.go
- satelliteclockinfo.go
- satellitepositionecef.go
- satellitepvt.go
- satellitepvt.satelliteephemerissource.go
- satellitevelocityecef.go