Home
last modified time | relevance | path

Searched refs:thermistors (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.cpp359 VtEstimatorStatus VirtualTempEstimator::LinearModelEstimate(const std::vector<float> &thermistors, in LinearModelEstimate() argument
371 if ((thermistors.size() != num_linked_sensors) || (output == nullptr)) { in LinearModelEstimate()
372 LOG(ERROR) << "Invalid args Thermistors size[" << thermistors.size() in LinearModelEstimate()
387 linear_model_instance_->input_samples[i] = thermistors; in LinearModelEstimate()
392 linear_model_instance_->input_samples[cur_sample_index] = thermistors; in LinearModelEstimate()
418 VtEstimatorStatus VirtualTempEstimator::TFliteEstimate(const std::vector<float> &thermistors, in TFliteEstimate() argument
433 if ((thermistors.size() != num_linked_sensors) || (output == nullptr)) { in TFliteEstimate()
435 << " thermistors.size(): " << thermistors.size() in TFliteEstimate()
443 input_data_str += ::android::base::StringPrintf("%0.2f ", thermistors[i]); in TFliteEstimate()
462 if (thermistors[i] < tflite_instance_->input_range[i].min_threshold || in TFliteEstimate()
[all …]
Dvirtualtemp_estimator.h98 VtEstimatorStatus Estimate(const std::vector<float> &thermistors, std::vector<float> *output);
122 VtEstimatorStatus LinearModelEstimate(const std::vector<float> &thermistors,
124 VtEstimatorStatus TFliteEstimate(const std::vector<float> &thermistors,
Dvirtualtemp_estimator_test.cpp139 std::vector<float> thermistors; in run_random_input_inference() local
144 thermistors.push_back(r + i * 1000); in run_random_input_inference()
148 ret = vt_estimator_.Estimate(thermistors, &output); in run_random_input_inference()
217 std::vector<float> thermistors; in run_single_inference() local
229 thermistors.push_back(thermistor_value); in run_single_inference()
234 std::cout << "thermistors.size(): " << thermistors.size() << "\n\n"; in run_single_inference()
237 size_t cur_size = thermistors.size(); in run_single_inference()
242 thermistors.push_back(thermistors[count++ % num_linked_sensors]); in run_single_inference()
269 std::vector<float>::const_iterator first = thermistors.begin() + start_index; in run_single_inference()
/hardware/google/pixel/pixelstats/
Dpixelatoms.proto2108 * thermistors & SoC: hardware/google/pixel/pixelstats/UeventListener.cpp