/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | B2HGraphicBufferProducer.cpp | 73 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 …]
|
D | types.cpp | 34 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 …]
|
D | H2BGraphicBufferProducer.cpp | 89 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/ |
D | types.cpp | 42 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/ |
D | HidlCameraService.cpp | 70 HStatus status = HStatus::NO_ERROR; in getCameraCharacteristics() 81 status = HStatus::ILLEGAL_ARGUMENT; in getCameraCharacteristics() 93 _hidl_cb(HStatus::UNKNOWN_ERROR, hidlMetadata); in getCameraCharacteristics() 109 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice() 118 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice() 127 HStatus status = HStatus::NO_ERROR; in connectDevice() 140 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice() 177 HStatus status = addListenerInternal<HCameraServiceListener>( in addListener() 179 if (status != HStatus::NO_ERROR) { in addListener() 195 HStatus status = addListenerInternal<HCameraServiceListener2_1>( in addListener_2_1() [all …]
|
D | HidlCameraDeviceUser.cpp | 179 _hidl_cb(HStatus::ILLEGAL_ARGUMENT, hSubmitInfo); in submitRequestList() 186 _hidl_cb(HStatus::NO_ERROR, hSubmitInfo); in submitRequestList() 197 Return<HStatus> HidlCameraDeviceUser::beginConfigure() { in beginConfigure() 202 Return<HStatus> HidlCameraDeviceUser::endConfigure(StreamConfigurationMode operatingMode, in endConfigure() 207 Return<HStatus> HidlCameraDeviceUser::endConfigure_2_1(StreamConfigurationMode operatingMode, in endConfigure_2_1() 212 return HStatus::ILLEGAL_ARGUMENT; in endConfigure_2_1() 222 Return<HStatus> HidlCameraDeviceUser::deleteStream(int32_t streamId) { in deleteStream() 233 HStatus status = B2HStatus(ret); in createStream() 248 _hidl_cb(HStatus::UNKNOWN_ERROR, hidlMetadata); in createDefaultRequest() 252 HStatus hStatus = B2HStatus(ret); in createDefaultRequest() [all …]
|
D | Utils.cpp | 231 HStatus B2HStatus(const binder::Status &bStatus) { in B2HStatus() 232 HStatus status = HStatus::NO_ERROR; in B2HStatus() 239 status = HStatus::DISCONNECTED; in B2HStatus() 242 status = HStatus::CAMERA_IN_USE; in B2HStatus() 245 status = HStatus::MAX_CAMERAS_IN_USE; in B2HStatus() 248 status = HStatus::ILLEGAL_ARGUMENT; in B2HStatus() 252 status = HStatus::DEPRECATED_HAL; in B2HStatus() 255 status = HStatus::DISABLED; in B2HStatus() 258 status = HStatus::PERMISSION_DENIED; in B2HStatus() 261 status = HStatus::INVALID_OPERATION; in B2HStatus() [all …]
|
D | HidlCameraDeviceUser.h | 60 using HStatus = frameworks::cameraservice::common::V2_0::Status; variable 82 virtual Return<HStatus> beginConfigure() override; 84 virtual Return<HStatus> endConfigure(StreamConfigurationMode operatingMode, 87 virtual Return<HStatus> endConfigure_2_1(StreamConfigurationMode operatingMode, 91 virtual Return<HStatus> deleteStream(int32_t streamId) override; 99 virtual Return<HStatus> waitUntilIdle() override; 103 virtual Return<HStatus> updateOutputConfiguration(
|
D | HidlCameraService.h | 48 using HStatus = frameworks::cameraservice::common::V2_0::Status; variable 63 Return<HStatus> removeListener(const sp<HCameraServiceListener>& listener) override; 85 HStatus addListenerInternal(const sp<T>& listener,
|
D | Utils.h | 60 using HStatus = frameworks::cameraservice::common::V2_0::Status; variable 98 HStatus B2HStatus(const binder::Status &bStatus);
|
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/ |
D | B2HGraphicBufferProducer.h | 54 virtual Return<HStatus> setMaxDequeuedBufferCount( 61 virtual Return<HStatus> setAsyncMode(bool async) override; 67 virtual Return<HStatus> detachBuffer(int32_t slot) override; 82 virtual Return<HStatus> cancelBuffer( 94 virtual Return<HStatus> disconnect(HConnectionType api) override; 96 virtual Return<HStatus> allocateBuffers( 100 virtual Return<HStatus> allowAllocation(bool allow) override; 102 virtual Return<HStatus> setGenerationNumber(uint32_t generationNumber) override; 104 virtual Return<HStatus> setDequeueTimeout(int64_t timeoutNs) override;
|
D | types.h | 36 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/services/camera/libcameraservice/device3/hidl/ |
D | HidlCamera3OutputUtils.cpp | 147 using HStatus = hardware::camera::device::V3_5::BufferRequestStatus; in convertToHidl() typedef 150 return HStatus::OK; in convertToHidl() 152 return HStatus::FAILED_PARTIAL; in convertToHidl() 154 return HStatus::FAILED_CONFIGURING; in convertToHidl() 156 return HStatus::FAILED_ILLEGAL_ARGUMENTS; in convertToHidl() 158 return HStatus::FAILED_UNKNOWN; in convertToHidl() 160 return HStatus::FAILED_UNKNOWN; in convertToHidl() 166 using HStatus = hardware::camera::device::V3_2::BufferStatus; in convertToHidl() typedef 169 return HStatus::OK; in convertToHidl() 171 return HStatus::ERROR; in convertToHidl() [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | types.h | 37 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/ |
D | C2BqBuffer.cpp | 56 using HStatus = ::android::hardware::graphics::bufferqueue::V2_0::Status; typedef 276 (HStatus hStatus, int32_t hSlot, Output const& hOutput) { in getGenerationNumberAndUsage() 300 HStatus hStatus, in getGenerationNumberAndUsage() 344 fence](HStatus hStatus, in dequeueBuffer() 507 HStatus hStatus, in fetchFromIgbp_l() 1028 HStatus hStatus, int32_t hSlot, bool releaseAll) { in migrate()
|