OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SensorSpec
(Results
1 - 3
of
3
) sorted by null
/device/google/contexthub/util/nanotool/
contexthub.h
86
struct
SensorSpec
{
134
bool CalibrateSensors(const std::vector<
SensorSpec
>& sensors);
139
bool TestSensors(const std::vector<
SensorSpec
>& sensors);
144
bool EnableSensor(const
SensorSpec
& sensor);
145
bool EnableSensors(const std::vector<
SensorSpec
>& sensors);
153
bool DisableSensors(const std::vector<
SensorSpec
>& sensors);
190
void PrintSensorEvents(const std::vector<
SensorSpec
>& sensors,
204
bool CalibrateSingleSensor(const
SensorSpec
& sensor);
207
bool TestSingleSensor(const
SensorSpec
& sensor);
213
bool ForEachSensor(const std::vector<
SensorSpec
>& sensors
[
all
...]
contexthub.cpp
168
bool ContextHub::CalibrateSensors(const std::vector<
SensorSpec
>& sensors) {
169
bool success = ForEachSensor(sensors, [this](const
SensorSpec
&spec) -> bool {
179
bool ContextHub::TestSensors(const std::vector<
SensorSpec
>& sensors) {
180
bool success = ForEachSensor(sensors, [this](const
SensorSpec
&spec) -> bool {
187
bool ContextHub::EnableSensor(const
SensorSpec
& spec) {
215
bool ContextHub::EnableSensors(const std::vector<
SensorSpec
>& sensors) {
216
return ForEachSensor(sensors, [this](const
SensorSpec
&spec) -> bool {
242
bool ContextHub::DisableSensors(const std::vector<
SensorSpec
>& sensors) {
243
return ForEachSensor(sensors, [this](const
SensorSpec
&spec) -> bool {
342
void ContextHub::PrintSensorEvents(const std::vector<
SensorSpec
>& sensors, int limit)
[
all
...]
nanotool.cpp
56
std::vector<
SensorSpec
> sensors;
213
static bool ParseRate(const std::string& param,
SensorSpec
& spec) {
240
// into a
SensorSpec
, and add it to ParsedArgs.
241
static bool ParseSensorArg(std::vector<
SensorSpec
>& sensors, const char *arg_str,
243
SensorSpec
spec;
Completed in 615 milliseconds