Lines Matching refs:SensorSpec
167 bool ContextHub::CalibrateSensors(const std::vector<SensorSpec>& sensors) {
168 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool {
178 bool ContextHub::TestSensors(const std::vector<SensorSpec>& sensors) {
179 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool {
186 bool ContextHub::EnableSensor(const SensorSpec& spec) {
214 bool ContextHub::EnableSensors(const std::vector<SensorSpec>& sensors) {
215 return ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool {
241 bool ContextHub::DisableSensors(const std::vector<SensorSpec>& sensors) {
242 return ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool {
341 void ContextHub::PrintSensorEvents(const std::vector<SensorSpec>& sensors, int limit) {
360 bool ContextHub::CalibrateSingleSensor(const SensorSpec& sensor) {
394 bool ContextHub::TestSingleSensor(const SensorSpec& sensor) {
428 bool ContextHub::ForEachSensor(const std::vector<SensorSpec>& sensors,
429 std::function<bool(const SensorSpec&)> callback) {
439 bool ContextHub::HandleCalibrationResult(const SensorSpec& sensor,
497 bool ContextHub::HandleTestResult(const SensorSpec& sensor,