Searched refs:altitude (Results 1 – 11 of 11) sorted by relevance
/base/sensors/sensor/interfaces/native/include/ |
D | geomagnetic_field.h | 24 GeomagneticField(float latitude, float longitude, float altitude, int64_t timeMillis); 39 void CalibrateGeocentricCoordinates(float latitude, float longitude, float altitude);
|
D | sensor_algorithm.h | 29 int32_t GetAltitude(float seaPressure, float currentPressure, float *altitude);
|
/base/location/interfaces/inner_api/include/ |
D | location.h | 55 inline void SetAltitude(double altitude) in SetAltitude() argument 57 altitude_ = altitude; in SetAltitude()
|
D | satellite_status.h | 92 inline void SetAltitude(double altitude) in SetAltitude() argument 95 altitudes_.push_back(altitude); in SetAltitude()
|
/base/sensors/sensor/interfaces/native/src/ |
D | geomagnetic_field.cpp | 112 GeomagneticField::GeomagneticField(float latitude, float longitude, float altitude, int64_t timeMil… in GeomagneticField() argument 117 CalibrateGeocentricCoordinates(gcLatitude, longitude, altitude); in GeomagneticField() 200 …d GeomagneticField::CalibrateGeocentricCoordinates(float latitude, float longitude, float altitude) in CalibrateGeocentricCoordinates() argument 202 float altitudeKm = altitude / CONVERSION_FACTOR; in CalibrateGeocentricCoordinates()
|
D | sensor_algorithm.cpp | 121 int32_t SensorAlgorithm::GetAltitude(float seaPressure, float currentPressure, float *altitude) in GetAltitude() argument 123 if (altitude == nullptr) { in GetAltitude() 130 *altitude = ZERO_PRESSURE_ALTITUDE * (1.0f - difference); in GetAltitude()
|
/base/location/services/location_gnss/gnss/source/ |
D | gnss_event_callback.cpp | 39 locationNew->SetAltitude(location.altitude); in ReportLocation()
|
/base/sensors/sensor/interfaces/native/test/unittest/ |
D | sensor_algorithm_test.cpp | 129 float altitude = -1.0; variable 130 int32_t ret = sensorAlgorithm.GetAltitude(5.0, 0.0, &altitude); 132 ASSERT_EQ(altitude, 44330.0);
|
/base/sensors/sensor/interfaces/plugin/src/ |
D | sensor_js.cpp | 482 double altitude = 0; in GetGeomagneticField() local 483 if (!GetNativeDouble(env, napiAltitude, altitude)) { in GetGeomagneticField() 492 GeomagneticField geomagneticField(latitude, longitude, altitude, timeMillis); in GetGeomagneticField() 812 float altitude = 0; in GetAltitude() local 814 int32_t ret = sensorAlgorithm.GetAltitude(seaPressure, currentPressure, &altitude); in GetAltitude() 819 asyncCallbackInfo->data.reserveData.reserve[0] = altitude; in GetAltitude()
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 553 double altitude = 0.0; in GetLocationArray() local 554 JsObjectToDouble(env, elementValue, "altitude", altitude); in GetLocationArray() 555 locationAdapter->SetAltitude(altitude); in GetLocationArray()
|
/base/location/test/location_gnss/source/ |
D | gnss_ability_test.cpp | 879 locationInfo.altitude = 1.0; 973 locationInfo.altitude = 1.0;
|