Lines Matching refs:TransportResult
194 if (result == TransportResult::Success) { in EnableSensor()
221 if (result == TransportResult::Success) { in DisableSensor()
315 if (result != TransportResult::Success) { in CalibrateSingleSensor()
330 if (result != TransportResult::Success) { in CalibrateSingleSensor()
407 ContextHub::TransportResult ContextHub::ReadAppEvents( in ReadAppEvents()
411 TransportResult result; in ReadAppEvents()
417 return TransportResult::Timeout; in ReadAppEvents()
429 if (result == TransportResult::Success && event->IsAppToHostEvent()) { in ReadAppEvents()
434 if (result != TransportResult::Success) { in ReadAppEvents()
436 if (result != TransportResult::ParseFailure) { in ReadAppEvents()
445 return TransportResult::Success; in ReadAppEvents()
449 TransportResult result; in ReadSensorEvents()
455 if (result == TransportResult::Success && event->IsSensorEvent()) { in ReadSensorEvents()
460 if (result != TransportResult::Success) { in ReadSensorEvents()
462 if (result != TransportResult::ParseFailure) { in ReadSensorEvents()
483 return (result == TransportResult::Success); in SendCalibrationData()
486 ContextHub::TransportResult ContextHub::WriteEvent( in WriteEvent()
491 ContextHub::TransportResult ContextHub::ReadEvent( in ReadEvent()
494 ContextHub::TransportResult result = ReadEvent(responseBuf, timeout_ms); in ReadEvent()
495 if (result == TransportResult::Success) { in ReadEvent()
498 result = TransportResult::ParseFailure; in ReadEvent()