Lines Matching defs:ret
119 hardware::Return<void> ret;
121 ret = mMapperV2_1->createDescriptor_2_1(descriptorInfo, hidl_cb);
130 ret = mMapper->createDescriptor(info, hidl_cb);
133 return (ret.isOk()) ? error : kTransactionError;
140 auto ret = mMapper->importBuffer(rawHandle,
151 return (ret.isOk()) ? error : kTransactionError;
157 auto ret = mMapper->freeBuffer(buffer);
159 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError;
173 auto ret = mMapperV2_1->validateBufferSize(buffer, descriptorInfo, stride);
175 return (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError;
190 auto ret = mMapperV2_1->getTransportSize(buffer,
201 if (!ret.isOk()) {
224 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle,
240 return (ret.isOk()) ? error : kTransactionError;
259 auto ret = mMapper->lockYCbCr(buffer, usage, accessRegion,
276 return (ret.isOk()) ? error : kTransactionError;
285 auto ret = mMapper->unlock(buffer,
305 if (!ret.isOk()) {
340 auto ret = mAllocator->allocate(descriptor, count,
367 return (ret.isOk()) ? error : kTransactionError;