Home
last modified time | relevance | path

Searched refs:CalibrationTypeFlags (Results 1 – 12 of 12) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dcalibration_data.cc21 CalibrationTypeFlags operator|(CalibrationTypeFlags lhs, in operator |()
22 CalibrationTypeFlags rhs) { in operator |()
23 return static_cast<CalibrationTypeFlags>(static_cast<char>(lhs) | in operator |()
27 bool operator&(CalibrationTypeFlags lhs, CalibrationTypeFlags rhs) { in operator &()
31 CalibrationTypeFlags& operator|=(CalibrationTypeFlags& lhs, in operator |=()
32 CalibrationTypeFlags rhs) { in operator |=()
33 lhs = static_cast<CalibrationTypeFlags>(static_cast<char>(lhs) | in operator |=()
Dcalibration_data.h52 enum class CalibrationTypeFlags : uint8_t { enum
63 CalibrationTypeFlags operator|(CalibrationTypeFlags lhs,
64 CalibrationTypeFlags rhs);
66 bool operator&(CalibrationTypeFlags lhs, CalibrationTypeFlags rhs);
68 CalibrationTypeFlags& operator|=(CalibrationTypeFlags& lhs,
69 CalibrationTypeFlags rhs);
Donline_calibration.h63 virtual CalibrationTypeFlags SetMeasurement(const SensorData& sample) = 0;
75 cal_update_polling_flags_ = CalibrationTypeFlags::NONE; in GetSensorCalibration()
83 CalibrationTypeFlags new_calibration_ready() const { in new_calibration_ready()
99 void OnNotifyCalibrationUpdate(CalibrationTypeFlags cal_update_flags) const { in OnNotifyCalibrationUpdate()
109 cal_update_polling_flags_ = CalibrationTypeFlags::NONE; in InitializeCalData()
123 mutable CalibrationTypeFlags cal_update_polling_flags_ =
124 CalibrationTypeFlags::NONE;
Dcalibration_callback.h48 CalibrationTypeFlags cal_update_flags) = 0;
61 CalibrationTypeFlags cal_update_flags)) in Callback()
66 CalibrationTypeFlags cal_update_flags) final { in Call()
79 CalibrationTypeFlags cal_update_flags);
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.h109 online_calibration::CalibrationTypeFlags* flags,
119 online_calibration::CalibrationTypeFlags flags, const char *sensor_tag);
125 online_calibration::CalibrationTypeFlags *flags,
134 online_calibration::CalibrationTypeFlags flags, const char *sensor_tag);
155 online_calibration::CalibrationTypeFlags accel_cal_update_flags_ =
156 online_calibration::CalibrationTypeFlags::NONE;
157 online_calibration::CalibrationTypeFlags gyro_cal_update_flags_ =
158 online_calibration::CalibrationTypeFlags::NONE;
159 online_calibration::CalibrationTypeFlags mag_cal_update_flags_ =
160 online_calibration::CalibrationTypeFlags::NONE;
Dnano_calibration.cc27 using ::online_calibration::CalibrationTypeFlags;
160 const CalibrationTypeFlags new_cal_flags = in ProcessSample()
162 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample()
173 const CalibrationTypeFlags new_cal_flags = in ProcessSample()
175 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample()
194 const CalibrationTypeFlags new_cal_flags = mag_cal_->SetMeasurement(sample); in ProcessSample()
195 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample()
208 CalibrationTypeFlags flags, const char *sensor_tag) { in NotifyAshCalibration()
245 if (flags & CalibrationTypeFlags::BIAS) { in NotifyAshCalibration()
253 if (flags & CalibrationTypeFlags::OVER_TEMP) { in NotifyAshCalibration()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/
Dgyro_offset_over_temp_cal.cc34 CalibrationTypeFlags GyroOffsetOtcCal::SetMeasurement( in SetMeasurement()
90 CalibrationTypeFlags cal_update_callback_flags = CalibrationTypeFlags::NONE; in SetMeasurement()
95 cal_update_callback_flags |= CalibrationTypeFlags::BIAS; in SetMeasurement()
103 cal_update_callback_flags |= CalibrationTypeFlags::OVER_TEMP; in SetMeasurement()
Dgyro_offset_over_temp_cal.h65 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/
Daccel_offset_cal.cc29 CalibrationTypeFlags AccelOffsetCal::SetMeasurement(const SensorData& sample) { in SetMeasurement()
63 cal_update_polling_flags_ = CalibrationTypeFlags::BIAS; in SetMeasurement()
64 OnNotifyCalibrationUpdate(CalibrationTypeFlags::BIAS); in SetMeasurement()
Daccel_offset_cal.h59 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/
Dmag_diverse_cal.cc34 CalibrationTypeFlags MagDiverseCal::SetMeasurement(const SensorData& sample) { in SetMeasurement()
63 cal_update_polling_flags_ = CalibrationTypeFlags::BIAS; in SetMeasurement()
64 OnNotifyCalibrationUpdate(CalibrationTypeFlags::BIAS); in SetMeasurement()
Dmag_diverse_cal.h63 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;