Home
last modified time | relevance | path

Searched refs:SensorEvent (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/util/nanotool/
Dsensorevent.cpp31 std::unique_ptr<SensorEvent> SensorEvent::FromBytes( in FromBytes()
33 SensorEvent *sensor_event = nullptr; in FromBytes()
97 return std::unique_ptr<SensorEvent>(sensor_event); in FromBytes()
100 SensorType SensorEvent::GetSensorType() const { in GetSensorType()
Dsensorevent.h89 class SensorEvent : public ReadEventResponse {
97 static std::unique_ptr<SensorEvent> FromBytes(
113 class TimestampedSensorEvent : public SensorEvent {
Dcontexthub.cpp265 auto event_printer = [&limit, continuous](const SensorEvent& event) -> bool { in PrintAllEvents()
274 auto event_printer = [type, &limit, continuous](const SensorEvent& event) -> bool { in PrintSensorEvents()
287 auto event_printer = [&sensors, &limit, continuous](const SensorEvent& event) -> bool { in PrintSensorEvents()
448 void ContextHub::ReadSensorEvents(std::function<bool(const SensorEvent&)> callback) { in ReadSensorEvents()
456 SensorEvent *sensor_event = reinterpret_cast<SensorEvent*>( in ReadSensorEvents()
Dcontexthub.h30 class SensorEvent; variable
221 void ReadSensorEvents(std::function<bool(const SensorEvent&)> callback);
Dnanomessage.cpp117 return SensorEvent::FromBytes(buffer); in FromBytes()