Lines Matching refs:ResultStatus

96     ResultStatus registerSender(const sp<IAccessor> &accessor,
100 ResultStatus registerSender(const sp<IClientManager> &receiver,
104 ResultStatus create(const std::shared_ptr<BufferPoolAllocator> &allocator,
107 ResultStatus close(ConnectionId connectionId);
109 ResultStatus allocate(ConnectionId connectionId,
114 ResultStatus receive(ConnectionId connectionId,
121 ResultStatus postSend(ConnectionId receiverId,
126 ResultStatus getAccessor(ConnectionId connectionId,
161 ResultStatus ClientManager::Impl::registerSender( in registerSender()
176 return ResultStatus::ALREADY_EXISTS; in registerSender()
186 ResultStatus result = ResultStatus::OK; in registerSender()
191 result = ResultStatus::NO_MEMORY; in registerSender()
193 result = ResultStatus::CRITICAL_ERROR; in registerSender()
195 if (result == ResultStatus::OK) { in registerSender()
216 return ResultStatus::CRITICAL_ERROR; in registerSender()
219 ResultStatus ClientManager::Impl::registerSender( in registerSender()
229 return ResultStatus::NOT_FOUND; in registerSender()
234 ResultStatus rs = ResultStatus::CRITICAL_ERROR; in registerSender()
239 ResultStatus status, in registerSender()
245 return ResultStatus::CRITICAL_ERROR; in registerSender()
246 } else if (local && rs == ResultStatus::OK) { in registerSender()
262 ResultStatus ClientManager::Impl::create( in create()
267 return ResultStatus::CRITICAL_ERROR; in create()
272 return ResultStatus::CRITICAL_ERROR; in create()
290 return ResultStatus::OK; in create()
293 ResultStatus ClientManager::Impl::close(ConnectionId connectionId) { in close()
310 return ResultStatus::OK; in close()
312 return ResultStatus::NOT_FOUND; in close()
315 ResultStatus ClientManager::Impl::allocate( in allocate()
323 return ResultStatus::NOT_FOUND; in allocate()
330 ResultStatus ClientManager::Impl::receive( in receive()
339 return ResultStatus::NOT_FOUND; in receive()
346 ResultStatus ClientManager::Impl::postSend( in postSend()
355 return ResultStatus::NOT_FOUND; in postSend()
362 ResultStatus ClientManager::Impl::getAccessor( in getAccessor()
369 return ResultStatus::NOT_FOUND; in getAccessor()
413 ResultStatus status = mImpl->registerSender(bufferPool, &connectionId); in registerSender()
416 _hidl_cb(ResultStatus::CRITICAL_ERROR, -1); in registerSender()
438 ResultStatus ClientManager::create( in create()
444 return ResultStatus::CRITICAL_ERROR; in create()
447 ResultStatus ClientManager::registerSender( in registerSender()
454 return ResultStatus::CRITICAL_ERROR; in registerSender()
457 ResultStatus ClientManager::close(ConnectionId connectionId) { in close()
461 return ResultStatus::CRITICAL_ERROR; in close()
464 ResultStatus ClientManager::allocate( in allocate()
470 return ResultStatus::CRITICAL_ERROR; in allocate()
473 ResultStatus ClientManager::receive( in receive()
481 return ResultStatus::CRITICAL_ERROR; in receive()
484 ResultStatus ClientManager::postSend( in postSend()
490 return ResultStatus::CRITICAL_ERROR; in postSend()