Lines Matching refs:ResultStatus

61     ResultStatus allocate(const std::vector<uint8_t> &params,
65 ResultStatus receive(
90 ResultStatus allocateBufferHandle(
94 ResultStatus fetchBufferHandle(
251 ResultStatus status = accessor->connect( in Impl()
253 if (status == ResultStatus::OK) { in Impl()
271 (ResultStatus status, sp<IConnection> connection, in Impl()
273 if (status == ResultStatus::OK) { in Impl()
301 ResultStatus BufferPoolClient::Impl::allocate( in allocate()
306 return ResultStatus::CRITICAL_ERROR; in allocate()
311 ResultStatus status = allocateBufferHandle(params, &bufferId, &handle); in allocate()
312 if (status == ResultStatus::OK) { in allocate()
339 status = ResultStatus::NO_MEMORY; in allocate()
346 ResultStatus BufferPoolClient::Impl::receive( in receive()
351 return ResultStatus::CRITICAL_ERROR; in receive()
357 return ResultStatus::CRITICAL_ERROR; in receive()
359 ResultStatus status = ResultStatus::CRITICAL_ERROR; in receive()
392 if (status == ResultStatus::OK) { in receive()
410 status = ResultStatus::NO_MEMORY; in receive()
435 return ResultStatus::CRITICAL_ERROR; in receive()
437 return ResultStatus::OK; in receive()
527 (ResultStatus outStatus, Buffer outBuffer) { in trySyncFromRemote()
590 ResultStatus BufferPoolClient::Impl::allocateBufferHandle( in allocateBufferHandle()
595 ResultStatus status = mLocalConnection->allocate( in allocateBufferHandle()
597 if (status == ResultStatus::OK) { in allocateBufferHandle()
601 (long long)mConnectionId, status == ResultStatus::OK, in allocateBufferHandle()
605 return ResultStatus::CRITICAL_ERROR; in allocateBufferHandle()
608 ResultStatus BufferPoolClient::Impl::fetchBufferHandle( in fetchBufferHandle()
617 ResultStatus status; in fetchBufferHandle()
621 (ResultStatus outStatus, Buffer outBuffer) { in fetchBufferHandle()
623 if (status == ResultStatus::OK) { in fetchBufferHandle()
628 return transResult.isOk() ? status : ResultStatus::CRITICAL_ERROR; in fetchBufferHandle()
667 ResultStatus BufferPoolClient::getAccessor(sp<IAccessor> *accessor) { in getAccessor()
670 return ResultStatus::OK; in getAccessor()
672 return ResultStatus::CRITICAL_ERROR; in getAccessor()
675 ResultStatus BufferPoolClient::allocate( in allocate()
682 return ResultStatus::CRITICAL_ERROR; in allocate()
685 ResultStatus BufferPoolClient::receive( in receive()
691 return ResultStatus::CRITICAL_ERROR; in receive()
694 ResultStatus BufferPoolClient::postSend( in postSend()
702 return result ? ResultStatus::OK : ResultStatus::CRITICAL_ERROR; in postSend()
704 return ResultStatus::CRITICAL_ERROR; in postSend()