Home
last modified time | relevance | path

Searched refs:AppToHostEvent (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/util/nanotool/
Dapptohostevent.cpp26 std::unique_ptr<AppToHostEvent> AppToHostEvent::FromBytes( in FromBytes()
28 auto event = std::unique_ptr<AppToHostEvent>(new AppToHostEvent()); in FromBytes()
37 uint64_t AppToHostEvent::GetAppId() const { in GetAppId()
41 uint8_t AppToHostEvent::GetDataLen() const { in GetDataLen()
45 const uint8_t *AppToHostEvent::GetDataPtr() const { in GetDataPtr()
50 bool AppToHostEvent::IsCalibrationEventForSensor(SensorType sensor_type) const { in IsCalibrationEventForSensor()
94 bool AppToHostEvent::IsValid() const { in IsValid()
111 const HostHubRawPacket *AppToHostEvent::GetTypedData() const { in GetTypedData()
Dcontexthub.h29 class AppToHostEvent; variable
206 const AppToHostEvent &event);
212 TransportResult ReadAppEvents(std::function<bool(const AppToHostEvent&)> callback,
Dapptohostevent.h52 class AppToHostEvent : public ReadEventResponse {
60 static std::unique_ptr<AppToHostEvent> FromBytes(
Dcontexthub.cpp321 auto calEventHandler = [this, &sensor, &success](const AppToHostEvent &event) -> bool { in CalibrateSingleSensor()
350 const AppToHostEvent &event) { in HandleCalibrationResult()
408 std::function<bool(const AppToHostEvent&)> callback, int timeout_ms) { in ReadAppEvents()
430 AppToHostEvent *app_event = reinterpret_cast<AppToHostEvent*>( in ReadAppEvents()
Dnanomessage.cpp119 return AppToHostEvent::FromBytes(buffer); in FromBytes()
160 return (event_type == static_cast<uint32_t>(EventType::AppToHostEvent)); in IsAppToHostEvent()
Dnanomessage.h36 AppToHostEvent = 0x00000401, enumerator