Home
last modified time | relevance | path

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

123

/hardware/qcom/sm8150/gps/android/2.0/location_api/
DMeasurementAPIClient.cpp334 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()
342 out.measurements.resize(in.count); in convertGnssData_1_1()
344 convertGnssMeasurement(in.measurements[i], out.measurements[i].v1_0); in convertGnssData_1_1()
345 … if (in.measurements[i].adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_VALID_BIT) in convertGnssData_1_1()
346 out.measurements[i].accumulatedDeltaRangeState |= in convertGnssData_1_1()
348 … if (in.measurements[i].adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_RESET_BIT) in convertGnssData_1_1()
349 out.measurements[i].accumulatedDeltaRangeState |= in convertGnssData_1_1()
351 …if (in.measurements[i].adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_CYCLE_SLIP_B… in convertGnssData_1_1()
352 out.measurements[i].accumulatedDeltaRangeState |= in convertGnssData_1_1()
354 …if (in.measurements[i].adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_HALF_CYCLE_R… in convertGnssData_1_1()
[all …]
/hardware/interfaces/gnss/1.0/default/
DGnssMeasurement.cpp53 auto entry = legacyGnssData->measurements[i]; in gnssMeasurementCb()
61 gnssData.measurements[i] = { in gnssMeasurementCb()
128 auto entry = gpsData->measurements[i]; in gpsMeasurementCb()
129 gnssData.measurements[i].flags = entry.flags; in gpsMeasurementCb()
130 gnssData.measurements[i].svid = static_cast<int32_t>(entry.prn); in gpsMeasurementCb()
132 gnssData.measurements[i].constellation = GnssConstellationType::GPS; in gpsMeasurementCb()
134 gnssData.measurements[i].constellation = in gpsMeasurementCb()
138 gnssData.measurements[i].timeOffsetNs = entry.time_offset_ns; in gpsMeasurementCb()
139 gnssData.measurements[i].state = entry.state; in gpsMeasurementCb()
140 gnssData.measurements[i].receivedSvTimeInNs = entry.received_gps_tow_ns; in gpsMeasurementCb()
[all …]
/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp396 hidl_vec<EnergyData> measurements[2]; in TEST_P() local
398 auto cb = [&measurements, &s](hidl_vec<EnergyData> measure, Status status) { in TEST_P()
399 measurements[0] = measure; in TEST_P()
406 ASSERT_NE(measurements[0].size(), 0); in TEST_P()
407 auto cb = [&measurements, &s](hidl_vec<EnergyData> measure, Status status) { in TEST_P()
408 measurements[1] = measure; in TEST_P()
415 ASSERT_EQ(measurements[0].size(), measurements[1].size()); in TEST_P()
417 for (int i = 0; i < measurements[0].size(); i++) { in TEST_P()
419 for (j = 0; j < measurements[1].size(); j++) { in TEST_P()
420 if (measurements[0][i].index == measurements[1][j].index) { in TEST_P()
[all …]
/hardware/qcom/sm8150/gps/android/1.1/location_api/
DMeasurementAPIClient.cpp301 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()
309 out.measurements.resize(in.count); in convertGnssData_1_1()
311 convertGnssMeasurement(in.measurements[i], out.measurements[i].v1_0); in convertGnssData_1_1()
312 … if (in.measurements[i].adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_VALID_BIT) in convertGnssData_1_1()
313 out.measurements[i].accumulatedDeltaRangeState |= in convertGnssData_1_1()
315 … if (in.measurements[i].adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_RESET_BIT) in convertGnssData_1_1()
316 out.measurements[i].accumulatedDeltaRangeState |= in convertGnssData_1_1()
318 …if (in.measurements[i].adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_CYCLE_SLIP_B… in convertGnssData_1_1()
319 out.measurements[i].accumulatedDeltaRangeState |= in convertGnssData_1_1()
321 …if (in.measurements[i].adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_HALF_CYCLE_R… in convertGnssData_1_1()
[all …]
/hardware/interfaces/gnss/2.0/default/
DGnssMeasurement.cpp130 hidl_vec<IGnssMeasurementCallback::GnssMeasurement> measurements(1); in getMockMeasurement() local
131 measurements[0] = measurement_2_0; in getMockMeasurement()
150 .measurements = measurements, .clock = clock, .elapsedRealtime = timestamp}; in getMockMeasurement()
/hardware/interfaces/gnss/1.1/
DIGnssMeasurementCallback.hal21 /** The callback interface to report measurements from the HAL. */
64 * Complete set of GNSS Measurement data, same as 1.0 with additional enum in measurements.
68 vec<GnssMeasurement> measurements;
77 * @param data Contains a reading of GNSS measurements.
/hardware/interfaces/audio/effect/6.0/
DIVisualizerEffect.hal73 * Specifies which measurements are to be made.
79 * Retrieves which measurements are to be made.
103 * Retrieves the latest measurements. The measurements to be made
/hardware/interfaces/audio/effect/4.0/
DIVisualizerEffect.hal73 * Specifies which measurements are to be made.
79 * Retrieves which measurements are to be made.
103 * Retrieves the latest measurements. The measurements to be made
/hardware/interfaces/audio/effect/5.0/
DIVisualizerEffect.hal73 * Specifies which measurements are to be made.
79 * Retrieves which measurements are to be made.
103 * Retrieves the latest measurements. The measurements to be made
/hardware/interfaces/audio/effect/2.0/
DIVisualizerEffect.hal73 * Specifies which measurements are to be made.
79 * Retrieves which measurements are to be made.
103 * Retrieves the latest measurements. The measurements to be made
/hardware/qcom/sdm845/gps/sdm845/android/location_api/
DMeasurementAPIClient.cpp301 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()
309 out.measurements.resize(in.count); in convertGnssData_1_1()
311 convertGnssMeasurement(in.measurements[i], out.measurements[i].v1_0); in convertGnssData_1_1()
/hardware/interfaces/radio/1.2/
Dtypes.hal467 * If GSM measurements are provided, this structure must contain valid measurements; otherwise
472 * If CDMA measurements are provided, this structure must contain valid measurements; otherwise
477 * If EvDO measurements are provided, this structure must contain valid measurements; otherwise
482 * If LTE measurements are provided, this structure must contain valid measurements; otherwise
487 * If TD-SCDMA measurements are provided, this structure must contain valid measurements;
492 * If WCDMA measurements are provided, this structure must contain valid measurements; otherwise
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.cpp2333 GnssAdapter::reportGnssMeasurementDataEvent(const GnssMeasurementsNotification& measurements, in reportGnssMeasurementDataEvent() argument
2342 const GnssMeasurementsNotification& measurements, in reportGnssMeasurementDataEvent()
2346 mMeasurementsNotify(measurements) { in reportGnssMeasurementDataEvent()
2356 sendMsg(new MsgReportGnssMeasurementData(*this, measurements, msInWeek)); in reportGnssMeasurementDataEvent()
2360 GnssAdapter::reportGnssMeasurementData(const GnssMeasurementsNotification& measurements) in reportGnssMeasurementData() argument
2364 it->second.gnssMeasurementsCb(measurements); in reportGnssMeasurementData()
2977 GnssAdapter::getAgcInformation(GnssMeasurementsNotification& measurements, int msInWeek) in getAgcInformation() argument
2989 for (size_t i = 0; i < measurements.count; i++) { in getAgcInformation()
2990 switch (measurements.measurements[i].svType) { in getAgcInformation()
2992 measurements.measurements[i].agcLevelDb = in getAgcInformation()
[all …]
DGnssAdapter.h229 virtual void reportGnssMeasurementDataEvent(const GnssMeasurementsNotification& measurements,
248 void reportGnssMeasurementData(const GnssMeasurementsNotification& measurements);
253 void getAgcInformation(GnssMeasurementsNotification& measurements, int msInWeek);
/hardware/qcom/sdm845/gps/sdm845/gnss/
DGnssAdapter.cpp3156 GnssAdapter::reportGnssMeasurementDataEvent(const GnssMeasurementsNotification& measurements, in reportGnssMeasurementDataEvent() argument
3165 const GnssMeasurementsNotification& measurements, in reportGnssMeasurementDataEvent()
3169 mMeasurementsNotify(measurements) { in reportGnssMeasurementDataEvent()
3179 sendMsg(new MsgReportGnssMeasurementData(*this, measurements, msInWeek)); in reportGnssMeasurementDataEvent()
3183 GnssAdapter::reportGnssMeasurementData(const GnssMeasurementsNotification& measurements) in reportGnssMeasurementData() argument
3187 it->second.gnssMeasurementsCb(measurements); in reportGnssMeasurementData()
3920 GnssAdapter::getAgcInformation(GnssMeasurementsNotification& measurements, int msInWeek) in getAgcInformation() argument
3931 for (size_t i = 0; i < measurements.count; i++) { in getAgcInformation()
3932 switch (measurements.measurements[i].svType) { in getAgcInformation()
3935 measurements.measurements[i].agcLevelDb = in getAgcInformation()
[all …]
DGnssAdapter.h309 virtual void reportGnssMeasurementDataEvent(const GnssMeasurementsNotification& measurements,
333 void reportGnssMeasurementData(const GnssMeasurementsNotification& measurements);
341 void getAgcInformation(GnssMeasurementsNotification& measurements, int msInWeek);
/hardware/interfaces/gnss/1.0/
DIGnssMeasurementCallback.hal19 /** The callback interface to report measurements from the HAL. */
274 * measurements, from consecutive GnssData reports.
287 * based on GNSS signal measurements only. You must not synthesize measurements
288 * by calculating or reporting expected measurements based on known or estimated
326 * sub-nanosecond accuracy. It may be zero if all measurements are
466 * fresh signal measurements from this channel.
612 * Represents a reading of GNSS measurements. For devices where GnssSystemInfo's
616 * - Reporting of GNSS constellation measurements is mandatory.
623 /** The array of measurements. */
624 GnssMeasurement[GnssMax:SVS_COUNT] measurements;
[all …]
DIGnssBatchingCallback.hal19 /** The callback interface to report measurements from the HAL. */
/hardware/interfaces/gnss/2.0/
DIGnssBatchingCallback.hal19 /** The callback interface to report measurements from the HAL. */
DIGnssMeasurementCallback.hal24 /** The callback interface to report measurements from the HAL. */
396 * in-order to properly apply code specific corrections to the pseudorange measurements.
459 * Complete set of GNSS Measurement data, same as 1.1 with additional enum in measurements.
463 vec<GnssMeasurement> measurements;
478 * @param data Contains a reading of GNSS measurements.
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DMeasurementAPIClient.cpp254 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()
/hardware/qcom/sm8150/gps/gnss/
DGnssAdapter.cpp3767 GnssAdapter::reportGnssMeasurementData(const GnssMeasurementsNotification& measurements) in reportGnssMeasurementData() argument
3771 it->second.gnssMeasurementsCb(measurements); in reportGnssMeasurementData()
4550 GnssAdapter::getAgcInformation(GnssMeasurementsNotification& measurements, int msInWeek) in getAgcInformation() argument
4561 for (size_t i = 0; i < measurements.count; i++) { in getAgcInformation()
4562 switch (measurements.measurements[i].svType) { in getAgcInformation()
4565 measurements.measurements[i].agcLevelDb = in getAgcInformation()
4567 measurements.measurements[i].flags |= in getAgcInformation()
4572 measurements.measurements[i].agcLevelDb = in getAgcInformation()
4574 measurements.measurements[i].flags |= in getAgcInformation()
4579 measurements.measurements[i].agcLevelDb = in getAgcInformation()
[all …]
/hardware/qcom/sdm845/gps/msm8998/android/location_api/
DGnssMeasurementAPIClient.cpp277 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()
/hardware/qcom/sm8150/gps/android/1.0/location_api/
DMeasurementAPIClient.cpp267 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()
/hardware/qcom/gps/msm8998/android/location_api/
DGnssMeasurementAPIClient.cpp277 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()

123