/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/ |
D | MockHWCamera.h | 33 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override { in setMaxFramesInFlight() 35 return EvsResult::INVALID_ARG; in setMaxFramesInFlight() 37 return EvsResult::OK; in setMaxFramesInFlight() 39 Return<EvsResult> startVideoStream(const ::android::sp<IEvsCameraStream_1_0>& stream) override { in startVideoStream() 40 return EvsResult::OK; in startVideoStream() 50 Return<EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override { in setExtendedInfo() 52 return EvsResult::OK; in setExtendedInfo() 59 MOCK_METHOD(Return<EvsResult>, pauseVideoStream, (), (override)); 60 MOCK_METHOD(Return<EvsResult>, resumeVideoStream, (), (override)); 61 Return<EvsResult> doneWithFrame_1_1(const hardware::hidl_vec<BufferDesc_1_1>& buffer) override { in doneWithFrame_1_1() [all …]
|
D | MockHWDisplay.h | 32 Return<EvsResult> setDisplayState(EvsDisplayState state) override { return EvsResult::OK; } in setDisplayState() 35 Return<EvsResult> returnTargetBufferForDisplay(const BufferDesc_1_0& buffer) override { in returnTargetBufferForDisplay() 36 return EvsResult::OK; in returnTargetBufferForDisplay()
|
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | EvsEmulatedCamera.cpp | 205 Return<EvsResult> EvsEmulatedCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() 212 return EvsResult::OWNERSHIP_LOST; in setMaxFramesInFlight() 218 return EvsResult::INVALID_ARG; in setMaxFramesInFlight() 223 return EvsResult::OK; in setMaxFramesInFlight() 225 return EvsResult::BUFFER_NOT_AVAILABLE; in setMaxFramesInFlight() 230 Return<EvsResult> EvsEmulatedCamera::startVideoStream(const sp<IEvsCameraStream_1_0>& stream) { in startVideoStream() 237 return EvsResult::OWNERSHIP_LOST; in startVideoStream() 242 return EvsResult::STREAM_ALREADY_RUNNING; in startVideoStream() 248 return EvsResult::INVALID_ARG; in startVideoStream() 255 return EvsResult::BUFFER_NOT_AVAILABLE; in startVideoStream() [all …]
|
D | EvsEmulatedCamera.h | 34 using ::android::hardware::automotive::evs::V1_0::EvsResult; 68 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override; 69 Return<EvsResult> startVideoStream(const ::android::sp<IEvsCameraStream_1_0>& stream) override; 73 Return<EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override; 79 Return<EvsResult> pauseVideoStream() override; 80 Return<EvsResult> resumeVideoStream() override; 81 Return<EvsResult> doneWithFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffer) override; 82 Return<EvsResult> setMaster() override; 83 Return<EvsResult> forceMaster(const sp<IEvsDisplay_1_0>&) override; 84 Return<EvsResult> unsetMaster() override; [all …]
|
/packages/services/Car/cpp/evs/sampleDriver/ |
D | EvsV4lCamera.cpp | 116 Return<EvsResult> EvsV4lCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() 123 return EvsResult::OWNERSHIP_LOST; in setMaxFramesInFlight() 129 return EvsResult::INVALID_ARG; in setMaxFramesInFlight() 134 return EvsResult::OK; in setMaxFramesInFlight() 136 return EvsResult::BUFFER_NOT_AVAILABLE; in setMaxFramesInFlight() 141 Return<EvsResult> EvsV4lCamera::startVideoStream(const sp<IEvsCameraStream_1_0>& stream) { in startVideoStream() 148 return EvsResult::OWNERSHIP_LOST; in startVideoStream() 152 return EvsResult::STREAM_ALREADY_RUNNING; in startVideoStream() 159 return EvsResult::BUFFER_NOT_AVAILABLE; in startVideoStream() 216 return EvsResult::UNDERLYING_SERVICE_ERROR; in startVideoStream() [all …]
|
D | EvsV4lCamera.h | 36 using ::android::hardware::automotive::evs::V1_0::EvsResult; 61 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override; 62 Return<EvsResult> startVideoStream(const ::android::sp<IEvsCameraStream_1_0>& stream) override; 66 Return<EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override; 72 Return<EvsResult> pauseVideoStream() override; 73 Return<EvsResult> resumeVideoStream() override; 74 Return<EvsResult> doneWithFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffer) override; 75 Return<EvsResult> setMaster() override; 76 Return<EvsResult> forceMaster(const sp<IEvsDisplay_1_0>&) override; 77 Return<EvsResult> unsetMaster() override; [all …]
|
D | EvsGlDisplay.cpp | 110 Return<EvsResult> EvsGlDisplay::setDisplayState(EvsDisplayState state) { in setDisplayState() 116 return EvsResult::OWNERSHIP_LOST; in setDisplayState() 121 return EvsResult::INVALID_ARG; in setDisplayState() 138 return EvsResult::OK; in setDisplayState() 249 Return<EvsResult> EvsGlDisplay::returnTargetBufferForDisplay(const BufferDesc_1_0& buffer) { in returnTargetBufferForDisplay() 257 return EvsResult::INVALID_ARG; in returnTargetBufferForDisplay() 261 return EvsResult::INVALID_ARG; in returnTargetBufferForDisplay() 265 return EvsResult::BUFFER_NOT_AVAILABLE; in returnTargetBufferForDisplay() 272 return EvsResult::OWNERSHIP_LOST; in returnTargetBufferForDisplay() 290 return EvsResult::UNDERLYING_SERVICE_ERROR; in returnTargetBufferForDisplay() [all …]
|
D | EvsGlDisplay.h | 26 using ::android::hardware::automotive::evs::V1_0::EvsResult; 30 using EvsResult = ::android::hardware::automotive::evs::V1_0::EvsResult; variable 47 Return<EvsResult> setDisplayState(EvsDisplayState state) override; 50 Return<EvsResult> returnTargetBufferForDisplay(const BufferDesc_1_0& buffer) override;
|
/packages/services/Car/cpp/evs/manager/1.1/ |
D | VirtualCamera.cpp | 253 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() 289 return EvsResult::BUFFER_NOT_AVAILABLE; in setMaxFramesInFlight() 291 return EvsResult::OK; in setMaxFramesInFlight() 296 Return<EvsResult> VirtualCamera::startVideoStream(const ::android::sp<IEvsCameraStream_1_0>& stream… in startVideoStream() 300 return EvsResult::STREAM_ALREADY_RUNNING; in startVideoStream() 328 Return<EvsResult> result = pHwCamera->clientStreamStarting(); in startVideoStream() 329 if ((!result.isOk()) || (result != EvsResult::OK)) { in startVideoStream() 343 return EvsResult::UNDERLYING_SERVICE_ERROR; in startVideoStream() 428 return EvsResult::OK; in startVideoStream() 546 Return<EvsResult> VirtualCamera::setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) { in setExtendedInfo() [all …]
|
D | HalCamera.cpp | 134 Return<EvsResult> result = mHwCamera->setMaxFramesInFlight(bufferCount); in changeFramesInFlight() 135 bool success = (result.isOk() && result == EvsResult::OK); in changeFramesInFlight() 176 EvsResult status = EvsResult::OK; in changeFramesInFlight() 183 if (status != EvsResult::OK) { in changeFramesInFlight() 222 Return<EvsResult> HalCamera::clientStreamStarting() { in clientStreamStarting() 223 Return<EvsResult> result = EvsResult::OK; in clientStreamStarting() 454 Return<EvsResult> HalCamera::setMaster(sp<VirtualCamera> virtualCamera) { in setMaster() 459 return EvsResult::OK; in setMaster() 462 return EvsResult::OWNERSHIP_LOST; in setMaster() 467 Return<EvsResult> HalCamera::forceMaster(sp<VirtualCamera> virtualCamera) { in forceMaster() [all …]
|
D | VirtualCamera.h | 40 using ::android::hardware::automotive::evs::V1_0::EvsResult; 82 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override; 83 Return<EvsResult> startVideoStream(const ::android::sp<IEvsCameraStream_1_0>& stream) override; 87 Return<EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override; 93 Return<EvsResult> doneWithFrame_1_1(const hardware::hidl_vec<BufferDesc_1_1>& buffer) override; 94 Return<EvsResult> pauseVideoStream() override { return EvsResult::UNDERLYING_SERVICE_ERROR; } in pauseVideoStream() 95 Return<EvsResult> resumeVideoStream() override { return EvsResult::UNDERLYING_SERVICE_ERROR; } in resumeVideoStream() 96 Return<EvsResult> setMaster() override; 97 Return<EvsResult> forceMaster(const sp<IEvsDisplay_1_0>& display) override; 98 Return<EvsResult> unsetMaster() override; [all …]
|
D | HalCamera.h | 37 using ::android::hardware::automotive::evs::V1_0::EvsResult; 92 Return<EvsResult> clientStreamStarting(); 96 Return<EvsResult> setMaster(sp<VirtualCamera> virtualCamera); 97 Return<EvsResult> forceMaster(sp<VirtualCamera> virtualCamera); 98 Return<EvsResult> unsetMaster(const VirtualCamera* virtualCamera); 99 Return<EvsResult> setParameter(sp<VirtualCamera> virtualCamera, 101 Return<EvsResult> getParameter(CameraParam id, int32_t& value);
|
D | HalDisplay.cpp | 71 Return<EvsResult> HalDisplay::setDisplayState(EvsDisplayState state) { in setDisplayState() 75 return EvsResult::UNDERLYING_SERVICE_ERROR; in setDisplayState() 104 Return<EvsResult> HalDisplay::returnTargetBufferForDisplay(const BufferDesc_1_0& buffer) { in returnTargetBufferForDisplay() 108 return EvsResult::OWNERSHIP_LOST; in returnTargetBufferForDisplay()
|
D | HalDisplay.h | 29 using ::android::hardware::automotive::evs::V1_0::EvsResult; 56 Return<EvsResult> setDisplayState(EvsDisplayState state) override; 59 Return<EvsResult> returnTargetBufferForDisplay(const BufferDesc_1_0& buffer) override;
|
/packages/services/Car/cpp/evs/manager/1.0/ |
D | VirtualCamera.cpp | 112 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() 120 return EvsResult::BUFFER_NOT_AVAILABLE; in setMaxFramesInFlight() 125 return EvsResult::OK; in setMaxFramesInFlight() 129 Return<EvsResult> VirtualCamera::startVideoStream(const ::android::sp<IEvsCameraStream>& stream) { in startVideoStream() 133 return EvsResult::STREAM_ALREADY_RUNNING; in startVideoStream() 144 Return<EvsResult> result = mHalCamera->clientStreamStarting(); in startVideoStream() 145 if ((!result.isOk()) || (result != EvsResult::OK)) { in startVideoStream() 149 return EvsResult::UNDERLYING_SERVICE_ERROR; in startVideoStream() 155 return EvsResult::OK; in startVideoStream() 220 Return<EvsResult> VirtualCamera::setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) { in setExtendedInfo()
|
D | HalCamera.cpp | 104 Return<EvsResult> result = mHwCamera->setMaxFramesInFlight(bufferCount); in changeFramesInFlight() 105 bool success = (result.isOk() && result == EvsResult::OK); in changeFramesInFlight() 129 Return<EvsResult> HalCamera::clientStreamStarting() { in clientStreamStarting() 130 Return<EvsResult> result = EvsResult::OK; in clientStreamStarting()
|
D | HalDisplay.cpp | 62 Return<EvsResult> HalDisplay::setDisplayState(DisplayState state) { in setDisplayState() 66 return EvsResult::UNDERLYING_SERVICE_ERROR; in setDisplayState() 95 Return<EvsResult> HalDisplay::returnTargetBufferForDisplay(const BufferDesc& buffer) { in returnTargetBufferForDisplay() 99 return EvsResult::OWNERSHIP_LOST; in returnTargetBufferForDisplay()
|
D | VirtualCamera.h | 61 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override; 62 Return<EvsResult> startVideoStream(const ::android::sp<IEvsCameraStream>& stream) override; 66 Return<EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override;
|
D | HalDisplay.h | 48 Return<EvsResult> setDisplayState(DisplayState state) override; 51 Return<EvsResult> returnTargetBufferForDisplay(const BufferDesc& buffer) override;
|
/packages/services/Car/cpp/evs/apps/default/ |
D | StreamHandler.cpp | 26 using ::android::hardware::automotive::evs::V1_0::EvsResult; 82 EvsResult result = EvsResult::OK; in StreamHandler() 119 Return <EvsResult> result = mCamera->startVideoStream(this); in startStream() 120 if (result != EvsResult::OK) { in startStream()
|
D | EvsStateControl.cpp | 31 using ::android::hardware::automotive::evs::V1_0::EvsResult; 381 … Return<EvsResult> result = mDisplay->setDisplayState(EvsDisplayState::VISIBLE_ON_NEXT_FRAME); in configureEvsPipeline() 382 if (result != EvsResult::OK) { in configureEvsPipeline()
|
/packages/services/Car/cpp/evs/support_library/ |
D | DisplayUseCase.cpp | 141 Return<EvsResult> result = mDisplay->setDisplayState(DisplayState::VISIBLE_ON_NEXT_FRAME); in startVideoStream() 142 if (result != EvsResult::OK) { in startVideoStream() 143 ALOGE("setDisplayState returned an error (%d). Exiting.", (EvsResult)result); in startVideoStream()
|
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/ |
D | EvsDisplayManager.cpp | 35 using android::hardware::automotive::evs::V1_0::EvsResult; 103 EvsResult result = evsDisplay->setDisplayState(DisplayState::VISIBLE_ON_NEXT_FRAME); in threadFn() 104 if (result != EvsResult::OK) { in threadFn()
|
/packages/services/Car/service/jni/evs/ |
D | StreamHandler.cpp | 32 using ::android::hardware::automotive::evs::V1_0::EvsResult; 84 if (!result.isOk() or result != EvsResult::OK) { in startStream()
|
D | EvsServiceContext.cpp | 25 using android::hardware::automotive::evs::V1_0::EvsResult; 197 if (!ret.isOk() || ret != EvsResult::OK) { in acquireCameraAndDisplay()
|