measurement_corrections

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IMeasurementCorrectionsCallbackCapabilityLosSats          int32 = (1 << 0)
	IMeasurementCorrectionsCallbackCapabilityExcessPathLength int32 = (1 << 1)
	IMeasurementCorrectionsCallbackCapabilityReflectingPlane  int32 = (1 << 2)
)
View Source
const (
	TransactionIMeasurementCorrectionsInterfaceSetCorrections = binder.FirstCallTransaction + 0
	TransactionIMeasurementCorrectionsInterfaceSetCallback    = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIMeasurementCorrectionsInterfaceSetCorrections = "setCorrections"
	MethodIMeasurementCorrectionsInterfaceSetCallback    = "setCallback"
)
View Source
const (
	SingleSatCorrectionExcessPathInfoExcessPathInfoHasExcessPathLength    int32 = 1
	SingleSatCorrectionExcessPathInfoExcessPathInfoHasExcessPathLengthUnc int32 = 2
	SingleSatCorrectionExcessPathInfoExcessPathInfoHasReflectingPlane     int32 = 4
	SingleSatCorrectionExcessPathInfoExcessPathInfoHasAttenuation         int32 = 8
)
View Source
const (
	SingleSatCorrectionSingleSatCorrectionHasSatIsLosProbability         int32 = 1
	SingleSatCorrectionSingleSatCorrectionHasCombinedExcessPathLength    int32 = 2
	SingleSatCorrectionSingleSatCorrectionHasCombinedExcessPathLengthUnc int32 = 4
	SingleSatCorrectionSingleSatCorrectionHasCombinedAttenuation         int32 = 16
)
View Source
const DescriptorIMeasurementCorrectionsCallback = "android.hardware.gnss.measurement_corrections.IMeasurementCorrectionsCallback"
View Source
const DescriptorIMeasurementCorrectionsInterface = "android.hardware.gnss.measurement_corrections.IMeasurementCorrectionsInterface"
View Source
const (
	MethodIMeasurementCorrectionsCallbackSetCapabilitiesCb = "setCapabilitiesCb"
)
View Source
const (
	TransactionIMeasurementCorrectionsCallbackSetCapabilitiesCb = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IMeasurementCorrectionsCallback

type IMeasurementCorrectionsCallback interface {
	AsBinder() binder.IBinder
	SetCapabilitiesCb(ctx context.Context, capabilities int32) error
}

func NewMeasurementCorrectionsCallbackStub

func NewMeasurementCorrectionsCallbackStub(
	impl IMeasurementCorrectionsCallbackServer,
) IMeasurementCorrectionsCallback

NewMeasurementCorrectionsCallbackStub creates a server-side IMeasurementCorrectionsCallback wrapping the given server implementation. The returned value satisfies IMeasurementCorrectionsCallback 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 IMeasurementCorrectionsCallbackServer

type IMeasurementCorrectionsCallbackServer interface {
	SetCapabilitiesCb(ctx context.Context, capabilities int32) error
}

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

type IMeasurementCorrectionsInterface

type IMeasurementCorrectionsInterface interface {
	AsBinder() binder.IBinder
	SetCorrections(ctx context.Context, corrections MeasurementCorrections) error
	SetCallback(ctx context.Context, callback IMeasurementCorrectionsCallback) error
}

func NewMeasurementCorrectionsInterfaceStub

func NewMeasurementCorrectionsInterfaceStub(
	impl IMeasurementCorrectionsInterfaceServer,
) IMeasurementCorrectionsInterface

NewMeasurementCorrectionsInterfaceStub creates a server-side IMeasurementCorrectionsInterface wrapping the given server implementation. The returned value satisfies IMeasurementCorrectionsInterface 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 IMeasurementCorrectionsInterfaceServer

type IMeasurementCorrectionsInterfaceServer interface {
	SetCorrections(ctx context.Context, corrections MeasurementCorrections) error
	SetCallback(ctx context.Context, callback IMeasurementCorrectionsCallback) error
}

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

type MeasurementCorrections

type MeasurementCorrections struct {
	LatitudeDegrees                      float64
	LongitudeDegrees                     float64
	AltitudeMeters                       float64
	HorizontalPositionUncertaintyMeters  float64
	VerticalPositionUncertaintyMeters    float64
	ToaGpsNanosecondsOfWeek              int64
	SatCorrections                       []SingleSatCorrection
	HasEnvironmentBearing                bool
	EnvironmentBearingDegrees            float32
	EnvironmentBearingUncertaintyDegrees float32
}

func (*MeasurementCorrections) MarshalParcel

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

func (*MeasurementCorrections) UnmarshalParcel

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

type MeasurementCorrectionsCallbackProxy

type MeasurementCorrectionsCallbackProxy struct {
	Remote binder.IBinder
}

func NewMeasurementCorrectionsCallbackProxy

func NewMeasurementCorrectionsCallbackProxy(
	remote binder.IBinder,
) *MeasurementCorrectionsCallbackProxy

func (*MeasurementCorrectionsCallbackProxy) AsBinder

func (*MeasurementCorrectionsCallbackProxy) SetCapabilitiesCb

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

type MeasurementCorrectionsCallbackStub

type MeasurementCorrectionsCallbackStub struct {
	Impl      IMeasurementCorrectionsCallback
	Transport binder.VersionAwareTransport
}

MeasurementCorrectionsCallbackStub dispatches incoming binder transactions to a typed IMeasurementCorrectionsCallback implementation.

func (*MeasurementCorrectionsCallbackStub) Descriptor

func (*MeasurementCorrectionsCallbackStub) OnTransaction

type MeasurementCorrectionsInterfaceProxy

type MeasurementCorrectionsInterfaceProxy struct {
	Remote binder.IBinder
}

func NewMeasurementCorrectionsInterfaceProxy

func NewMeasurementCorrectionsInterfaceProxy(
	remote binder.IBinder,
) *MeasurementCorrectionsInterfaceProxy

func (*MeasurementCorrectionsInterfaceProxy) AsBinder

func (*MeasurementCorrectionsInterfaceProxy) SetCallback

func (*MeasurementCorrectionsInterfaceProxy) SetCorrections

func (p *MeasurementCorrectionsInterfaceProxy) SetCorrections(
	ctx context.Context,
	corrections MeasurementCorrections,
) error

type MeasurementCorrectionsInterfaceStub

type MeasurementCorrectionsInterfaceStub struct {
	Impl      IMeasurementCorrectionsInterface
	Transport binder.VersionAwareTransport
}

MeasurementCorrectionsInterfaceStub dispatches incoming binder transactions to a typed IMeasurementCorrectionsInterface implementation.

func (*MeasurementCorrectionsInterfaceStub) Descriptor

func (*MeasurementCorrectionsInterfaceStub) OnTransaction

type ReflectingPlane

type ReflectingPlane struct {
	LatitudeDegrees               float64
	LongitudeDegrees              float64
	AltitudeMeters                float64
	ReflectingPlaneAzimuthDegrees float64
}

func (*ReflectingPlane) MarshalParcel

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

func (*ReflectingPlane) UnmarshalParcel

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

type SingleSatCorrection

type SingleSatCorrection struct {
	SingleSatCorrectionFlags                  int32
	Constellation                             types.GnssConstellationType
	Svid                                      int32
	CarrierFrequencyHz                        int64
	ProbSatIsLos                              float32
	CombinedExcessPathLengthMeters            float32
	CombinedExcessPathLengthUncertaintyMeters float32
	CombinedAttenuationDb                     float32
	ExcessPathInfos                           []SingleSatCorrectionExcessPathInfo
}

func (*SingleSatCorrection) MarshalParcel

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

func (*SingleSatCorrection) UnmarshalParcel

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

type SingleSatCorrectionExcessPathInfo

type SingleSatCorrectionExcessPathInfo struct {
	ExcessPathInfoFlags               int32
	ExcessPathLengthMeters            float32
	ExcessPathLengthUncertaintyMeters float32
	ReflectingPlane                   ReflectingPlane
	AttenuationDb                     float32
}

func (*SingleSatCorrectionExcessPathInfo) MarshalParcel

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

func (*SingleSatCorrectionExcessPathInfo) UnmarshalParcel

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

Jump to

Keyboard shortcuts

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