HomeSort by relevance Sort by last modified time
    Searched refs:AppToHostEvent (Results 1 - 6 of 6) sorted by null

  /device/google/contexthub/util/nanotool/
apptohostevent.cpp 17 #include "apptohostevent.h"
24 /* AppToHostEvent *************************************************************/
26 std::unique_ptr<AppToHostEvent> AppToHostEvent::FromBytes(
28 auto event = std::unique_ptr<AppToHostEvent>(new AppToHostEvent());
37 uint64_t AppToHostEvent::GetAppId() const {
41 uint8_t AppToHostEvent::GetDataLen() const {
45 const uint8_t *AppToHostEvent::GetDataPtr() const {
50 bool AppToHostEvent::CheckAppId(SensorType sensor_type) const
    [all...]
contexthub.h 29 class AppToHostEvent;
222 const AppToHostEvent &event);
228 const AppToHostEvent &event);
231 * Same as ReadSensorEvents, but filters on AppToHostEvent instead of
234 TransportResult ReadAppEvents(std::function<bool(const AppToHostEvent&)> callback,
apptohostevent.h 83 class AppToHostEvent : public ReadEventResponse {
86 * Constructs and populates an AppToHostEvent instance. Returns nullptr if
91 static std::unique_ptr<AppToHostEvent> FromBytes(
contexthub.cpp 23 #include "apptohostevent.h"
291 auto event_handler = [&success](const AppToHostEvent &event) -> bool {
379 auto cal_event_handler = [this, &sensor, &success](const AppToHostEvent &event) -> bool {
413 auto test_event_handler = [this, &sensor, &success](const AppToHostEvent &event) -> bool {
442 const AppToHostEvent &event) {
500 const AppToHostEvent &event) {
517 std::function<bool(const AppToHostEvent&)> callback, int timeout_ms) {
539 AppToHostEvent *app_event = reinterpret_cast<AppToHostEvent*>(
nanomessage.h 37 AppToHostEvent = 0x00000401,
nanomessage.cpp 22 #include "apptohostevent.h"
120 return AppToHostEvent::FromBytes(buffer);
167 return (event_type == static_cast<uint32_t>(EventType::AppToHostEvent));

Completed in 148 milliseconds