Searched refs:AppToHostEvent (Results 1 – 6 of 6) sorted by relevance
26 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()
29 class AppToHostEvent; variable206 const AppToHostEvent &event);212 TransportResult ReadAppEvents(std::function<bool(const AppToHostEvent&)> callback,
52 class AppToHostEvent : public ReadEventResponse {60 static std::unique_ptr<AppToHostEvent> FromBytes(
321 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()
119 return AppToHostEvent::FromBytes(buffer); in FromBytes()160 return (event_type == static_cast<uint32_t>(EventType::AppToHostEvent)); in IsAppToHostEvent()
36 AppToHostEvent = 0x00000401, enumerator