Lines Matching refs:ResultStatus
63 ResultStatus flush();
65 ResultStatus allocate(const std::vector<uint8_t> ¶ms,
69 ResultStatus receive(
98 ResultStatus allocateBufferHandle(
102 ResultStatus fetchBufferHandle(
267 ResultStatus status = accessor->connect( in Impl()
271 if (status == ResultStatus::OK) { in Impl()
297 (ResultStatus status, sp<IConnection> connection, in Impl()
301 if (status == ResultStatus::OK) { in Impl()
338 ResultStatus BufferPoolClient::Impl::flush() { in flush()
340 return ResultStatus::CRITICAL_ERROR; in flush()
350 ResultStatus BufferPoolClient::Impl::allocate( in allocate()
355 return ResultStatus::CRITICAL_ERROR; in allocate()
360 ResultStatus status = allocateBufferHandle(params, &bufferId, &handle); in allocate()
361 if (status == ResultStatus::OK) { in allocate()
388 status = ResultStatus::NO_MEMORY; in allocate()
395 ResultStatus BufferPoolClient::Impl::receive( in receive()
400 return ResultStatus::CRITICAL_ERROR; in receive()
406 return ResultStatus::CRITICAL_ERROR; in receive()
408 ResultStatus status = ResultStatus::CRITICAL_ERROR; in receive()
441 if (status == ResultStatus::OK) { in receive()
459 status = ResultStatus::NO_MEMORY; in receive()
484 return ResultStatus::CRITICAL_ERROR; in receive()
486 return ResultStatus::OK; in receive()
581 (ResultStatus outStatus, Buffer outBuffer) { in trySyncFromRemote()
730 ResultStatus BufferPoolClient::Impl::allocateBufferHandle( in allocateBufferHandle()
735 ResultStatus status = mLocalConnection->allocate( in allocateBufferHandle()
737 if (status == ResultStatus::OK) { in allocateBufferHandle()
741 (long long)mConnectionId, status == ResultStatus::OK, in allocateBufferHandle()
745 return ResultStatus::CRITICAL_ERROR; in allocateBufferHandle()
748 ResultStatus BufferPoolClient::Impl::fetchBufferHandle( in fetchBufferHandle()
757 ResultStatus status; in fetchBufferHandle()
761 (ResultStatus outStatus, Buffer outBuffer) { in fetchBufferHandle()
763 if (status == ResultStatus::OK) { in fetchBufferHandle()
768 return transResult.isOk() ? status : ResultStatus::CRITICAL_ERROR; in fetchBufferHandle()
809 ResultStatus BufferPoolClient::getAccessor(sp<IAccessor> *accessor) { in getAccessor()
812 return ResultStatus::OK; in getAccessor()
814 return ResultStatus::CRITICAL_ERROR; in getAccessor()
824 ResultStatus BufferPoolClient::flush() { in flush()
828 return ResultStatus::CRITICAL_ERROR; in flush()
831 ResultStatus BufferPoolClient::allocate( in allocate()
838 return ResultStatus::CRITICAL_ERROR; in allocate()
841 ResultStatus BufferPoolClient::receive( in receive()
847 return ResultStatus::CRITICAL_ERROR; in receive()
850 ResultStatus BufferPoolClient::postSend( in postSend()
858 return result ? ResultStatus::OK : ResultStatus::CRITICAL_ERROR; in postSend()
860 return ResultStatus::CRITICAL_ERROR; in postSend()