Home
last modified time | relevance | path

Searched refs:measurement (Results 1 – 25 of 69) sorted by relevance

123

/hardware/interfaces/gnss/measurement_corrections/1.0/
DIMeasurementCorrectionsCallback.hal20 * GNSS measurement corrections callback interface.
25 * Flags to indicate supported measurement corrections capabilities
30 /** GNSS supports line-of-sight satellite identification measurement corrections */
32 /** GNSS supports per satellite excess-path-length measurement corrections */
34 /** GNSS supports reflecting planes measurement corrections */
39 * Callback to inform framework the measurement correction specific capabilities of the GNSS
42 * The GNSS HAL must call this method immediately after the framework opens the measurement
45 * @param capabilities Supported measurement corrections capabilities. It is mandatory to
DIMeasurementCorrections.hal22 * Interface for measurement corrections support.
26 * Injects measurement corrections to be used by the HAL to improve the GNSS location output.
Dtypes.hal22 * A struct with measurement corrections for a single visible satellites
77 * A struct containing a set of measurement corrections for all used GNSS satellites at the location
114 * A set of SingleSatCorrection each containing measurement corrections for a satellite in view
/hardware/interfaces/gnss/aidl/vts/
Dgnss_hal_test.cpp392 void GnssHalTest::checkGnssMeasurementClockFields(const GnssData& measurement) { in checkGnssMeasurementClockFields() argument
393 Utils::checkElapsedRealtime(measurement.elapsedRealtime); in checkGnssMeasurementClockFields()
394 ASSERT_TRUE(measurement.clock.gnssClockFlags >= 0 && in checkGnssMeasurementClockFields()
395 measurement.clock.gnssClockFlags <= in checkGnssMeasurementClockFields()
402 void GnssHalTest::checkGnssMeasurementFlags(const GnssMeasurement& measurement) { in checkGnssMeasurementFlags() argument
403 ASSERT_TRUE(measurement.flags >= 0 && in checkGnssMeasurementFlags()
404 measurement.flags <= in checkGnssMeasurementFlags()
416 void GnssHalTest::checkGnssMeasurementFields(const GnssMeasurement& measurement, in checkGnssMeasurementFields() argument
418 checkGnssMeasurementFlags(measurement); in checkGnssMeasurementFields()
420 ASSERT_NE(measurement.signalType.codeType, ""); in checkGnssMeasurementFields()
[all …]
Dgnss_hal_test.h93 void checkGnssMeasurementClockFields(const android::hardware::gnss::GnssData& measurement);
94 void checkGnssMeasurementFlags(const android::hardware::gnss::GnssMeasurement& measurement);
95 void checkGnssMeasurementFields(const android::hardware::gnss::GnssMeasurement& measurement,
Dgnss_hal_test_cases.cpp427 for (const auto& measurement : lastMeasurement.measurements) { in TEST_P() local
428 checkGnssMeasurementFields(measurement, lastMeasurement); in TEST_P()
429 if (measurement.flags & GnssMeasurement::HAS_SATELLITE_PVT && in TEST_P()
433 CheckSatellitePvt(measurement.satellitePvt, aidl_gnss_hal_->getInterfaceVersion()); in TEST_P()
487 for (const auto& measurement : lastMeasurement.measurements) { in TEST_P() local
488 checkGnssMeasurementFields(measurement, lastMeasurement); in TEST_P()
489 if (measurement.flags & GnssMeasurement::HAS_CORRELATION_VECTOR) { in TEST_P()
491 ASSERT_TRUE(measurement.correlationVectors.size() > 0); in TEST_P()
492 for (const auto& correlationVector : measurement.correlationVectors) { in TEST_P()
1797 for (const auto& measurement : lastGnssData.measurements) { in TEST_P() local
[all …]
/hardware/interfaces/power/stats/aidl/default/
DFakeEnergyMeter.h55 for (auto& measurement : mEnergyMeasurements) { in readEnergyMeter()
56 mFakeEnergyMeasurement.update(&measurement); in readEnergyMeter()
84 void update(EnergyMeasurement* measurement) { in update() argument
93 measurement->timestampMs = now; in update()
94 measurement->durationMs = now; in update()
95 measurement->energyUWs += randNum() * 100; in update()
/hardware/interfaces/gnss/aidl/default/
DGnssMeasurementInterface.cpp125 auto measurement = in start() local
127 if (measurement != nullptr) { in start()
128 this->reportMeasurement(*measurement); in start()
131 auto measurement = in start() local
133 this->reportMeasurement(measurement); in start()
/hardware/interfaces/gnss/common/utils/default/v2_1/
DGnssMeasurement.cpp97 auto measurement = Utils::getMockMeasurementV2_1(); in start() local
98 this->reportMeasurement(measurement); in start()
100 auto measurement = Utils::getMockMeasurementV2_0(); in start() local
101 this->reportMeasurement(measurement); in start()
/hardware/interfaces/audio/effect/all-versions/default/
DVisualizerEffect.cpp258 Measurement measurement = {.mode = MeasurementMode::PEAK_RMS}; in measure() local
259 measurement.value.peakAndRms.peakMb = 0; in measure()
260 measurement.value.peakAndRms.rmsMb = 0; in measure()
262 measurement.value.peakAndRms.peakMb = halMeasurement[MEASUREMENT_IDX_PEAK]; in measure()
263 measurement.value.peakAndRms.rmsMb = halMeasurement[MEASUREMENT_IDX_RMS]; in measure()
265 _hidl_cb(retval, measurement); in measure()
/hardware/interfaces/gnss/2.1/vts/functional/
Dgnss_hal_test_cases.cpp141 for (auto measurement : lastMeasurement.measurements) { in TEST_P() local
143 ASSERT_TRUE(measurement.basebandCN0DbHz > 0.0 && measurement.basebandCN0DbHz <= 65.0); in TEST_P()
145 if (((uint32_t)(measurement.flags & GnssMeasurementFlags::HAS_FULL_ISB) > 0) && in TEST_P()
146 ((uint32_t)(measurement.flags & GnssMeasurementFlags::HAS_FULL_ISB_UNCERTAINTY) > 0) && in TEST_P()
147 ((uint32_t)(measurement.flags & GnssMeasurementFlags::HAS_SATELLITE_ISB) > 0) && in TEST_P()
148 ((uint32_t)(measurement.flags & GnssMeasurementFlags::HAS_SATELLITE_ISB_UNCERTAINTY) > in TEST_P()
161 ASSERT_TRUE(std::abs(measurement.fullInterSignalBiasNs) < 1.0e6); in TEST_P()
162 ASSERT_TRUE(measurement.fullInterSignalBiasUncertaintyNs >= 0); in TEST_P()
163 ASSERT_TRUE(std::abs(measurement.satelliteInterSignalBiasNs) < 1.0e6); in TEST_P()
164 ASSERT_TRUE(measurement.satelliteInterSignalBiasUncertaintyNs >= 0); in TEST_P()
/hardware/interfaces/gnss/2.0/default/
DGnssMeasurement.cpp86 auto measurement = Utils::getMockMeasurementV2_0(); in start() local
87 this->reportMeasurement(measurement); in start()
/hardware/interfaces/gnss/1.0/
DIGnssMeasurementCallback.hal69 /** The measurement is indicated to be affected by multipath. */
71 /** The measurement is indicated to be not affected by multipath. */
76 * Flags indicating the GNSS measurement state.
124 * | | | that this measurement can |
144 * | | | that this measurement can |
155 * | | | that this measurement can |
159 * | | | measurement with a cycle |
327 * as this avoids the need to use (waste) a GNSS measurement to fully
340 * All signal measurement information (e.g. svTime,
374 * Time offset at which the measurement was taken in nanoseconds.
[all …]
/hardware/interfaces/gnss/measurement_corrections/1.1/
DIMeasurementCorrections.hal22 * Interface for measurement corrections support.
26 * Injects measurement corrections to be used by the HAL to improve the GNSS location output.
Dtypes.hal24 * A struct containing a set of measurement corrections for all used GNSS satellites at the location
72 * A set of SingleSatCorrection each containing measurement corrections for a satellite in view
78 * A struct with measurement corrections for a single visible satellites, updating the
/hardware/interfaces/audio/aidl/android/hardware/audio/effect/
DVisualizer.aidl93 Measurement measurement;
/hardware/interfaces/gnss/2.0/
DIGnssMeasurementCallback.hal28 * Flags indicating the GNSS measurement state.
46 * algorithms given by the getState method. If the state flag is set, then the valid measurement
374 * GNSS measurement information for a single satellite and frequency, as in the 1.1
376 * accumulatedDeltaRangeM field, i.e., the alignment of the phase measurement will not be
378 * quarter cycle offset as they do when transmitted from the satellites. If the measurement
380 * of the phase measurement will be aligned to the in-phase component.
393 * The type of code that is currently being tracked in the GNSS measurement.
455 * The constellation type of the GNSS measurement.
464 /** The full set of satellite measurement observations. */
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/
DVisualizer.aidl39 android.hardware.audio.effect.Visualizer.Measurement measurement;
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/1/android/hardware/audio/effect/
DVisualizer.aidl39 android.hardware.audio.effect.Visualizer.Measurement measurement;
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/2/android/hardware/audio/effect/
DVisualizer.aidl39 android.hardware.audio.effect.Visualizer.Measurement measurement;
/hardware/interfaces/neuralnetworks/1.3/
DIFencedExecutionCallback.hal51 * measurement is not available.
58 * measurement is not available.
/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test_cases.cpp218 for (auto measurement : lastMeasurement.measurements) { in TEST_P() local
220 ASSERT_NE(measurement.codeType, ""); in TEST_P()
223 ASSERT_TRUE(static_cast<uint8_t>(measurement.constellation) >= in TEST_P()
225 static_cast<uint8_t>(measurement.constellation) <= in TEST_P()
230 static_cast<uint32_t>(measurement.state) >= in TEST_P()
233 static_cast<uint32_t>(measurement.state) < in TEST_P()
/hardware/interfaces/gnss/common/utils/default/
DUtils.cpp156 GnssMeasurement measurement = { in getMockMeasurement() local
242 measurement.correlationVectors = {correlationVector1, correlationVector2}; in getMockMeasurement()
243 measurement.flags |= GnssMeasurement::HAS_CORRELATION_VECTOR; in getMockMeasurement()
258 GnssData gnssData = {.measurements = {measurement}, in getMockMeasurement()
/hardware/interfaces/gnss/1.1/
DIGnssMeasurementCallback.hal71 * GNSS measurement information for a single satellite and frequency, as in the 1.0
102 /** The full set of satellite measurement observations. */
/hardware/interfaces/audio/aidl/default/visualizer/
DVisualizerSw.cpp161 case Visualizer::measurement: { in getParameterVisualizer()
162 vsParam.set<Visualizer::measurement>(mContext->getVsMeasurement()); in getParameterVisualizer()

123