HomeSort by relevance Sort by last modified time
    Searched refs:SensorSpec (Results 1 - 3 of 3) sorted by null

  /device/google/contexthub/util/nanotool/
contexthub.h 85 struct SensorSpec {
133 bool CalibrateSensors(const std::vector<SensorSpec>& sensors);
138 bool TestSensors(const std::vector<SensorSpec>& sensors);
143 bool EnableSensor(const SensorSpec& sensor);
144 bool EnableSensors(const std::vector<SensorSpec>& sensors);
152 bool DisableSensors(const std::vector<SensorSpec>& sensors);
189 void PrintSensorEvents(const std::vector<SensorSpec>& sensors,
203 bool CalibrateSingleSensor(const SensorSpec& sensor);
206 bool TestSingleSensor(const SensorSpec& sensor);
212 bool ForEachSensor(const std::vector<SensorSpec>& sensors
    [all...]
contexthub.cpp 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)
    [all...]
nanotool.cpp 55 std::vector<SensorSpec> sensors;
212 static bool ParseRate(const std::string& param, SensorSpec& spec) {
239 // into a SensorSpec, and add it to ParsedArgs.
240 static bool ParseSensorArg(std::vector<SensorSpec>& sensors, const char *arg_str,
242 SensorSpec spec;

Completed in 1600 milliseconds