Home
last modified time | relevance | path

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

123

/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.cpp406 hidl_vec<EnergyData> measurements[2]; in TEST_F() local
408 auto cb = [&measurements, &s](hidl_vec<EnergyData> measure, Status status) { in TEST_F()
409 measurements[0] = measure; in TEST_F()
416 ASSERT_NE(measurements[0].size(), 0); in TEST_F()
417 auto cb = [&measurements, &s](hidl_vec<EnergyData> measure, Status status) { in TEST_F()
418 measurements[1] = measure; in TEST_F()
425 ASSERT_EQ(measurements[0].size(), measurements[1].size()); in TEST_F()
427 for (int i = 0; i < measurements[0].size(); i++) { in TEST_F()
429 for (j = 0; j < measurements[1].size(); j++) { in TEST_F()
430 if (measurements[0][i].index == measurements[1][j].index) { in TEST_F()
[all …]
/hardware/interfaces/gnss/2.0/default/
DGnssMeasurement.cpp129 hidl_vec<IGnssMeasurementCallback::GnssMeasurement> measurements(1); in getMockMeasurement() local
130 measurements[0] = measurement_2_0; in getMockMeasurement()
149 .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/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/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/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/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.hal466 * If GSM measurements are provided, this structure must contain valid measurements; otherwise
471 * If CDMA measurements are provided, this structure must contain valid measurements; otherwise
476 * If EvDO measurements are provided, this structure must contain valid measurements; otherwise
481 * If LTE measurements are provided, this structure must contain valid measurements; otherwise
486 * If TD-SCDMA measurements are provided, this structure must contain valid measurements;
491 * 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.cpp3152 GnssAdapter::reportGnssMeasurementDataEvent(const GnssMeasurementsNotification& measurements, in reportGnssMeasurementDataEvent() argument
3161 const GnssMeasurementsNotification& measurements, in reportGnssMeasurementDataEvent()
3165 mMeasurementsNotify(measurements) { in reportGnssMeasurementDataEvent()
3175 sendMsg(new MsgReportGnssMeasurementData(*this, measurements, msInWeek)); in reportGnssMeasurementDataEvent()
3179 GnssAdapter::reportGnssMeasurementData(const GnssMeasurementsNotification& measurements) in reportGnssMeasurementData() argument
3183 it->second.gnssMeasurementsCb(measurements); in reportGnssMeasurementData()
3916 GnssAdapter::getAgcInformation(GnssMeasurementsNotification& measurements, int msInWeek) in getAgcInformation() argument
3927 for (size_t i = 0; i < measurements.count; i++) { in getAgcInformation()
3928 switch (measurements.measurements[i].svType) { in getAgcInformation()
3931 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.
DIGnssBatching.hal37 * measurements, optionally using interial and baro sensors to improve
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DMeasurementAPIClient.cpp254 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()
/hardware/qcom/sdm845/gps/msm8998/android/location_api/
DGnssMeasurementAPIClient.cpp277 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()
/hardware/interfaces/gnss/measurement_corrections/1.0/
DIMeasurementCorrections.hal29 * those remain raw, uncorrected measurements.
/hardware/qcom/gps/msm8909w_3100/core/
DLocAdapterBase.h153 virtual void reportGnssMeasurementDataEvent(const GnssMeasurementsNotification& measurements,
/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test_cases.cpp205 ASSERT_TRUE(lastMeasurement.measurements.size() > 0); in TEST_F()
206 for (auto measurement : lastMeasurement.measurements) { in TEST_F()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng.cpp1654 mGpsData.measurements[i].prn, in locallog()
1655 mGpsData.measurements[i].time_offset_ns, in locallog()
1656 mGpsData.measurements[i].state, in locallog()
1657 mGpsData.measurements[i].received_gps_tow_ns, in locallog()
1658 mGpsData.measurements[i].c_n0_dbhz, in locallog()
1659 mGpsData.measurements[i].pseudorange_rate_mps, in locallog()
1660 mGpsData.measurements[i].pseudorange_rate_uncertainty_mps, in locallog()
1661 mGpsData.measurements[i].accumulated_delta_range_state, in locallog()
1662 mGpsData.measurements[i].flags); in locallog()

123