Searched refs:TransportResult (Results 1 – 4 of 4) sorted by relevance
207 if (result == TransportResult::Success) { in EnableSensor()234 if (result == TransportResult::Success) { in DisableSensor()283 TransportResult result = WriteEvent(request); in PrintBridgeVersion()284 if (result != TransportResult::Success) { in PrintBridgeVersion()373 if (result != TransportResult::Success) { in CalibrateSingleSensor()388 if (result != TransportResult::Success) { in CalibrateSingleSensor()407 if (result != TransportResult::Success) { in TestSingleSensor()422 if (result != TransportResult::Success) { in TestSingleSensor()516 ContextHub::TransportResult ContextHub::ReadAppEvents( in ReadAppEvents()520 TransportResult result; in ReadAppEvents()[all …]
215 ContextHub::TransportResult AndroidContextHub::WriteEvent( in WriteEvent()217 ContextHub::TransportResult result; in WriteEvent()225 result = TransportResult::GeneralFailure; in WriteEvent()228 result = TransportResult::GeneralFailure; in WriteEvent()231 result = TransportResult::Success; in WriteEvent()237 ContextHub::TransportResult AndroidContextHub::ReadEvent( in ReadEvent()239 ContextHub::TransportResult result = TransportResult::GeneralFailure; in ReadEvent()249 result = TransportResult::Canceled; in ReadEvent()253 result = TransportResult::Timeout; in ReadEvent()361 ContextHub::TransportResult AndroidContextHub::ReadEventFromFd( in ReadEventFromFd()[all …]
195 enum class TransportResult { enum234 TransportResult ReadAppEvents(std::function<bool(const AppToHostEvent&)> callback,256 virtual TransportResult ReadEvent(std::vector<uint8_t>& response,258 virtual TransportResult WriteEvent(const std::vector<uint8_t>& request) = 0;266 TransportResult ReadEvent(std::unique_ptr<ReadEventResponse>* response,268 TransportResult WriteEvent(const WriteEventRequest& request);
43 ContextHub::TransportResult WriteEvent(45 ContextHub::TransportResult ReadEvent(std::vector<uint8_t>& response,61 ContextHub::TransportResult ReadEventFromFd(int fd,