Lines Matching refs:SensorSpec
169 bool ContextHub::CalibrateSensors(const std::vector<SensorSpec>& sensors) { in CalibrateSensors()
170 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in CalibrateSensors()
180 bool ContextHub::TestSensors(const std::vector<SensorSpec>& sensors) { in TestSensors()
181 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in TestSensors()
188 bool ContextHub::EnableSensor(const SensorSpec& spec) { in EnableSensor()
216 bool ContextHub::EnableSensors(const std::vector<SensorSpec>& sensors) { in EnableSensors()
217 return ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in EnableSensors()
243 bool ContextHub::DisableSensors(const std::vector<SensorSpec>& sensors) { in DisableSensors()
244 return ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in DisableSensors()
343 void ContextHub::PrintSensorEvents(const std::vector<SensorSpec>& sensors, int limit) { in PrintSensorEvents()
362 bool ContextHub::CalibrateSingleSensor(const SensorSpec& sensor) { in CalibrateSingleSensor()
396 bool ContextHub::TestSingleSensor(const SensorSpec& sensor) { in TestSingleSensor()
430 bool ContextHub::ForEachSensor(const std::vector<SensorSpec>& sensors, in ForEachSensor()
431 std::function<bool(const SensorSpec&)> callback) { in ForEachSensor()
441 bool ContextHub::HandleCalibrationResult(const SensorSpec& sensor, in HandleCalibrationResult()
499 bool ContextHub::HandleTestResult(const SensorSpec& sensor, in HandleTestResult()