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::CheckAppId(SensorType sensor_type) const { in CheckAppId()94 bool AppToHostEvent::CheckEventHeader(SensorType sensor_type) const { in CheckEventHeader()106 bool AppToHostEvent::IsCalibrationEventForSensor(SensorType sensor_type) const { in IsCalibrationEventForSensor()117 bool AppToHostEvent::IsTestEventForSensor(SensorType sensor_type) const { in IsTestEventForSensor()128 bool AppToHostEvent::IsValid() const { in IsValid()[all …]
29 class AppToHostEvent; variable222 const AppToHostEvent &event);228 const AppToHostEvent &event);234 TransportResult ReadAppEvents(std::function<bool(const AppToHostEvent&)> callback,
291 auto event_handler = [&success](const AppToHostEvent &event) -> bool { in PrintBridgeVersion()379 auto cal_event_handler = [this, &sensor, &success](const AppToHostEvent &event) -> bool { in CalibrateSingleSensor()413 auto test_event_handler = [this, &sensor, &success](const AppToHostEvent &event) -> bool { in TestSingleSensor()442 const AppToHostEvent &event) { in HandleCalibrationResult()500 const AppToHostEvent &event) { in HandleTestResult()517 std::function<bool(const AppToHostEvent&)> callback, int timeout_ms) { in ReadAppEvents()539 AppToHostEvent *app_event = reinterpret_cast<AppToHostEvent*>( in ReadAppEvents()
83 class AppToHostEvent : public ReadEventResponse {91 static std::unique_ptr<AppToHostEvent> FromBytes(
120 return AppToHostEvent::FromBytes(buffer); in FromBytes()167 return (event_type == static_cast<uint32_t>(EventType::AppToHostEvent)); in IsAppToHostEvent()
37 AppToHostEvent = 0x00000401, enumerator