Home
last modified time | relevance | path

Searched refs:HStatus (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp73 Return<HStatus> B2HGraphicBufferProducer::setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount()
75 HStatus hStatus{}; in setMaxDequeuedBufferCount()
80 return {converted ? hStatus : HStatus::UNKNOWN_ERROR}; in setMaxDequeuedBufferCount()
87 HStatus hStatus{}; in requestBuffer()
95 _hidl_cb(converted ? hStatus : HStatus::UNKNOWN_ERROR, in requestBuffer()
100 Return<HStatus> B2HGraphicBufferProducer::setAsyncMode(bool async) { in setAsyncMode()
101 HStatus hStatus{}; in setAsyncMode()
103 return {converted ? hStatus : HStatus::UNKNOWN_ERROR}; in setAsyncMode()
111 HStatus hStatus{}; in dequeueBuffer()
129 _hidl_cb(converted ? hStatus : HStatus::UNKNOWN_ERROR, in dequeueBuffer()
[all …]
Dtypes.cpp34 bool b2h(status_t from, HStatus* to, in b2h()
38 *to = HStatus::OK; break; in b2h()
40 *to = HStatus::NO_MEMORY; break; in b2h()
42 *to = HStatus::NO_INIT; break; in b2h()
44 *to = HStatus::BAD_VALUE; break; in b2h()
46 *to = HStatus::DEAD_OBJECT; break; in b2h()
48 *to = HStatus::INVALID_OPERATION; break; in b2h()
50 *to = HStatus::TIMED_OUT; break; in b2h()
52 *to = HStatus::WOULD_BLOCK; break; in b2h()
54 *to = HStatus::UNKNOWN_ERROR; break; in b2h()
[all …]
DH2BGraphicBufferProducer.cpp89 HStatus hStatus, in requestBuffer()
113 Return<HStatus> transResult = mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount()
119 if (!h2b(static_cast<HStatus>(transResult), &bStatus)) { in setMaxDequeuedBufferCount()
128 Return<HStatus> transResult = mBase->setAsyncMode(async); in setAsyncMode()
133 if (!h2b(static_cast<HStatus>(transResult), &bStatus)) { in setAsyncMode()
154 HStatus hStatus, int32_t hSlot, HOutput const& hOutput) { in dequeueBuffer()
181 Return<HStatus> transResult = mBase->detachBuffer( in detachBuffer()
187 if (!h2b(static_cast<HStatus>(transResult), &bStatus)) { in detachBuffer()
200 HStatus hStatus, in detachNextBuffer()
231 HStatus hStatus, int32_t hSlot, bool releaseAllBuffers) { in attachBuffer()
[all …]
/frameworks/av/media/codec2/vndk/
Dtypes.cpp42 bool b2h(status_t from, HStatus* to, in b2h()
46 *to = HStatus::OK; break; in b2h()
48 *to = HStatus::NO_MEMORY; break; in b2h()
50 *to = HStatus::NO_INIT; break; in b2h()
52 *to = HStatus::BAD_VALUE; break; in b2h()
54 *to = HStatus::DEAD_OBJECT; break; in b2h()
56 *to = HStatus::INVALID_OPERATION; break; in b2h()
58 *to = HStatus::TIMED_OUT; break; in b2h()
60 *to = HStatus::WOULD_BLOCK; break; in b2h()
62 *to = HStatus::UNKNOWN_ERROR; break; in b2h()
[all …]
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.cpp60 HStatus status = HStatus::NO_ERROR; in getCameraCharacteristics()
69 status = HStatus::ILLEGAL_ARGUMENT; in getCameraCharacteristics()
92 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
101 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
108 HStatus status = HStatus::NO_ERROR; in connectDevice()
121 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
158 _hidl_cb(HStatus::UNKNOWN_ERROR, {}); in addListener()
163 _hidl_cb(HStatus::ILLEGAL_ARGUMENT, {}); in addListener()
180 _hidl_cb(HStatus::ILLEGAL_ARGUMENT, {}); in addListener()
187 HStatus status = HStatus::NO_ERROR; in addListener()
[all …]
DConvert.cpp207 HStatus B2HStatus(const binder::Status &bStatus) { in B2HStatus()
208 HStatus status = HStatus::NO_ERROR; in B2HStatus()
215 status = HStatus::DISCONNECTED; in B2HStatus()
218 status = HStatus::CAMERA_IN_USE; in B2HStatus()
221 status = HStatus::MAX_CAMERAS_IN_USE; in B2HStatus()
224 status = HStatus::ILLEGAL_ARGUMENT; in B2HStatus()
228 status = HStatus::DEPRECATED_HAL; in B2HStatus()
231 status = HStatus::DISABLED; in B2HStatus()
234 status = HStatus::PERMISSION_DENIED; in B2HStatus()
237 status = HStatus::INVALID_OPERATION; in B2HStatus()
[all …]
DHidlCameraDeviceUser.cpp174 _hidl_cb(HStatus::ILLEGAL_ARGUMENT, hSubmitInfo); in submitRequestList()
181 _hidl_cb(HStatus::NO_ERROR, hSubmitInfo); in submitRequestList()
192 Return<HStatus> HidlCameraDeviceUser::beginConfigure() { in beginConfigure()
197 Return<HStatus> HidlCameraDeviceUser::endConfigure(StreamConfigurationMode operatingMode, in endConfigure()
201 return HStatus::ILLEGAL_ARGUMENT; in endConfigure()
209 Return<HStatus> HidlCameraDeviceUser::deleteStream(int32_t streamId) { in deleteStream()
220 HStatus status = B2HStatus(ret); in createStream()
230 HStatus hStatus = B2HStatus(ret); in createDefaultRequest()
239 Return<HStatus> HidlCameraDeviceUser::waitUntilIdle() { in waitUntilIdle()
251 Return<HStatus> HidlCameraDeviceUser::updateOutputConfiguration( in updateOutputConfiguration()
[all …]
DHidlCameraDeviceUser.h59 using HStatus = frameworks::cameraservice::common::V2_0::Status; variable
81 virtual Return<HStatus> beginConfigure() override;
83 virtual Return<HStatus> endConfigure(StreamConfigurationMode operatingMode,
86 virtual Return<HStatus> deleteStream(int32_t streamId) override;
94 virtual Return<HStatus> waitUntilIdle() override;
98 virtual Return<HStatus> updateOutputConfiguration(
DHidlCameraService.h47 using HStatus = frameworks::cameraservice::common::V2_0::Status; variable
62 Return<HStatus> removeListener(const sp<HCameraServiceListener>& listener) override;
DConvert.h58 using HStatus = frameworks::cameraservice::common::V2_0::Status; variable
93 HStatus B2HStatus(const binder::Status &bStatus);
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.h53 virtual Return<HStatus> setMaxDequeuedBufferCount(
60 virtual Return<HStatus> setAsyncMode(bool async) override;
66 virtual Return<HStatus> detachBuffer(int32_t slot) override;
81 virtual Return<HStatus> cancelBuffer(
93 virtual Return<HStatus> disconnect(HConnectionType api) override;
95 virtual Return<HStatus> allocateBuffers(
99 virtual Return<HStatus> allowAllocation(bool allow) override;
101 virtual Return<HStatus> setGenerationNumber(uint32_t generationNumber) override;
103 virtual Return<HStatus> setDequeueTimeout(int64_t timeoutNs) override;
Dtypes.h36 using HStatus = ::android::hardware::graphics::bufferqueue::V2_0:: variable
41 bool b2h(status_t from, HStatus* to,
46 bool h2b(HStatus from, status_t* to);
/frameworks/av/media/codec2/vndk/include/
Dtypes.h37 using HStatus = ::android::hardware::graphics::bufferqueue::V2_0:: variable
42 bool b2h(status_t from, HStatus* to,
47 bool h2b(HStatus from, status_t* to);
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp49 using HStatus = ::android::hardware::graphics::bufferqueue::V2_0::Status; typedef
282 (HStatus hStatus, int32_t hSlot, Output const& hOutput) { in getGenerationNumber()
306 HStatus hStatus, in getGenerationNumber()
357 &fence](HStatus hStatus, in fetchFromIgbp_l()
426 HStatus hStatus, in fetchFromIgbp_l()
495 Return<HStatus> transResult = in ~Impl()
498 static_cast<HStatus>(transResult) == HStatus::NO_INIT; in ~Impl()
587 Return<HStatus> transResult = in configureProducer()
590 static_cast<HStatus>(transResult) == HStatus::NO_INIT; in configureProducer()
745 HStatus hStatus, int32_t hSlot, bool releaseAll) { in migrate()