Home
last modified time | relevance | path

Searched refs:cal_data (Results 1 – 18 of 18) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.cc207 uint8_t chreSensorType, const CalibrationDataThreeAxis &cal_data, in NotifyAshCalibration() argument
215 memcpy(ash_cal_info.bias, cal_data.offset, sizeof(ash_cal_info.bias)); in NotifyAshCalibration()
218 switch (cal_data.calibration_quality.level) { in NotifyAshCalibration()
246 ash_cal_parameters.offsetTempCelsius = cal_data.offset_temp_celsius; in NotifyAshCalibration()
247 memcpy(ash_cal_parameters.offset, cal_data.offset, in NotifyAshCalibration()
254 memcpy(ash_cal_parameters.tempSensitivity, cal_data.temp_sensitivity, in NotifyAshCalibration()
256 memcpy(ash_cal_parameters.tempIntercept, cal_data.temp_intercept, in NotifyAshCalibration()
281 CalibrationDataThreeAxis cal_data; in LoadAshCalibration() local
282 cal_data.type = online_cal->get_sensor_type(); in LoadAshCalibration()
283 cal_data.cal_update_time_nanos = chreGetTime(); in LoadAshCalibration()
[all …]
Dnano_calibration.h118 const online_calibration::CalibrationDataThreeAxis &cal_data,
133 const online_calibration::CalibrationDataThreeAxis &cal_data,
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_audio_calibration.h159 struct audio_cal_data cal_data; member
171 struct audio_cal_data cal_data; member
183 struct audio_cal_data cal_data; member
195 struct audio_cal_data cal_data; member
461 struct audio_cal_data cal_data; member
471 struct audio_cal_data cal_data; member
482 struct audio_cal_data cal_data; member
493 struct audio_cal_data cal_data; member
504 struct audio_cal_data cal_data; member
515 struct audio_cal_data cal_data; member
[all …]
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_audio_calibration.h159 struct audio_cal_data cal_data; member
171 struct audio_cal_data cal_data; member
183 struct audio_cal_data cal_data; member
195 struct audio_cal_data cal_data; member
461 struct audio_cal_data cal_data; member
471 struct audio_cal_data cal_data; member
482 struct audio_cal_data cal_data; member
493 struct audio_cal_data cal_data; member
504 struct audio_cal_data cal_data; member
515 struct audio_cal_data cal_data; member
[all …]
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_audio_calibration.h159 struct audio_cal_data cal_data; member
171 struct audio_cal_data cal_data; member
183 struct audio_cal_data cal_data; member
195 struct audio_cal_data cal_data; member
461 struct audio_cal_data cal_data; member
471 struct audio_cal_data cal_data; member
482 struct audio_cal_data cal_data; member
493 struct audio_cal_data cal_data; member
504 struct audio_cal_data cal_data; member
515 struct audio_cal_data cal_data; member
[all …]
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_audio_calibration.h127 struct audio_cal_data cal_data; member
135 struct audio_cal_data cal_data; member
143 struct audio_cal_data cal_data; member
151 struct audio_cal_data cal_data; member
351 struct audio_cal_data cal_data; member
359 struct audio_cal_data cal_data; member
368 struct audio_cal_data cal_data; member
377 struct audio_cal_data cal_data; member
386 struct audio_cal_data cal_data; member
395 struct audio_cal_data cal_data; member
[all …]
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_audio_calibration.h161 struct audio_cal_data cal_data; member
173 struct audio_cal_data cal_data; member
185 struct audio_cal_data cal_data; member
197 struct audio_cal_data cal_data; member
505 struct audio_cal_data cal_data; member
515 struct audio_cal_data cal_data; member
526 struct audio_cal_data cal_data; member
537 struct audio_cal_data cal_data; member
548 struct audio_cal_data cal_data; member
559 struct audio_cal_data cal_data; member
[all …]
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_audio_calibration.h129 struct audio_cal_data cal_data; member
137 struct audio_cal_data cal_data; member
145 struct audio_cal_data cal_data; member
153 struct audio_cal_data cal_data; member
366 struct audio_cal_data cal_data; member
374 struct audio_cal_data cal_data; member
383 struct audio_cal_data cal_data; member
392 struct audio_cal_data cal_data; member
401 struct audio_cal_data cal_data; member
410 struct audio_cal_data cal_data; member
[all …]
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dcalibration_callback.h47 virtual void Call(const CalibrationType& cal_data,
60 void (ClassCallerType::*func)(const CalibrationType& cal_data, in Callback() argument
65 void Call(const CalibrationType& cal_data, in Call() argument
67 (object_ptr_->*function_ptr_)(cal_data, cal_update_flags); in Call()
78 void (ClassCallerType::*function_ptr_)(const CalibrationType& cal_data,
Donline_calibration.h67 virtual bool SetInitialCalibration(const CalibrationType& cal_data) = 0;
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
Dsphere_fit_calibration.c109 struct ThreeAxisCalData *cal_data) { in sphereFitGetLatestCal() argument
111 ASSERT_NOT_NULL(cal_data); in sphereFitGetLatestCal()
112 convertStateToCalStruct(sphere_cal->x, cal_data); in sphereFitGetLatestCal()
113 cal_data->calibration_time_nanos = sphere_cal->estimate_time_nanos; in sphereFitGetLatestCal()
Dsphere_fit_calibration.h130 struct ThreeAxisCalData *cal_data);
/device/google/crosshatch/vibrator/
Dimpl.cpp72 std::ifstream cal_data{CALIBRATION_FILEPATH}; in loadCalibrationData() local
73 if (!cal_data) { in loadCalibrationData()
78 for (std::string line; std::getline(cal_data, line);) { in loadCalibrationData()
/device/google/wahoo/vibrator/
Dservice.cpp85 std::ifstream cal_data{CALIBRATION_FILEPATH}; in loadCalibrationData() local
86 if (!cal_data) { in loadCalibrationData()
95 while (std::getline(cal_data, line)) { in loadCalibrationData()
/device/google/bonito/vibrator/
Dservice.cpp93 std::ifstream cal_data{CALIBRATION_FILEPATH}; in loadCalibrationData() local
94 if (!cal_data) { in loadCalibrationData()
102 while (std::getline(cal_data, line)) { in loadCalibrationData()
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp286 std::vector<uint8_t> cal_data; in LoadCalibration() local
294 if (GetCalibrationBytes(key.c_str(), sensor_type, cal_data)) { in LoadCalibration()
295 success = SendCalibrationData(sensor_type, cal_data); in LoadCalibration()
298 cal_data.clear(); in LoadCalibration()
Dcontexthub.h249 const std::vector<uint8_t>& cal_data);
Dcontexthub.cpp582 const std::vector<uint8_t>& cal_data) { in SendCalibrationData() argument
589 req.SetAdditionalData(cal_data); in SendCalibrationData()