/packages/services/Car/cpp/evs/manager/aidl/utils/include/ |
D | Utils.h | 37 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 44 static aidlevs::DisplayState makeFromHidl(hidlevs::V1_0::DisplayState hidlState); 46 static hidlevs::V1_0::DisplayState makeToHidl(aidlevs::DisplayState aidlState); 54 static aidlevs::BufferDesc makeFromHidl(const hidlevs::V1_0::BufferDesc& hidlBuffer, 57 static aidlevs::BufferDesc makeFromHidl(const hidlevs::V1_1::BufferDesc& hidlBuffer, 60 static hidlevs::V1_0::BufferDesc makeToHidlV1_0(const aidlevs::BufferDesc& hidlBuffer, 63 static hidlevs::V1_1::BufferDesc makeToHidlV1_1(const aidlevs::BufferDesc& hidlBuffer, 69 static aidlevs::EvsResult makeFromHidl(hidlevs::V1_0::EvsResult result); 71 static hidlevs::V1_0::EvsResult makeToHidl(aidlevs::EvsResult result); 73 static ::ndk::ScopedAStatus buildScopedAStatusFromEvsResult(aidlevs::EvsResult result); [all …]
|
/packages/services/Car/cpp/evs/manager/aidl/wrappers/include/ |
D | AidlCamera.h | 38 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 44 ::ndk::ScopedAStatus doneWithFrame(const std::vector<aidlevs::BufferDesc>& buffers) override; 46 const std::shared_ptr<aidlevs::IEvsDisplay>& display) override; 47 ::ndk::ScopedAStatus getCameraInfo(aidlevs::CameraDesc* _aidl_return) override; 50 ::ndk::ScopedAStatus getIntParameter(aidlevs::CameraParam id, 52 ::ndk::ScopedAStatus getIntParameterRange(aidlevs::CameraParam id, 53 aidlevs::ParameterRange* _aidl_return) override; 54 ::ndk::ScopedAStatus getParameterList(std::vector<aidlevs::CameraParam>* _aidl_return) override; 56 aidlevs::CameraDesc* _aidl_return) override; 57 ::ndk::ScopedAStatus importExternalBuffers(const std::vector<aidlevs::BufferDesc>& buffers, [all …]
|
D | AidlEnumerator.h | 30 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 38 const aidlevs::Stream& streamConfig, 39 std::shared_ptr<aidlevs::IEvsCamera>* obj) override; 40 ::ndk::ScopedAStatus closeCamera(const std::shared_ptr<aidlevs::IEvsCamera>& obj) override; 41 ::ndk::ScopedAStatus getCameraList(std::vector<aidlevs::CameraDesc>* _aidl_return) override; 42 ::ndk::ScopedAStatus getStreamList(const aidlevs::CameraDesc& desc, 43 std::vector<aidlevs::Stream>* _aidl_return) override; 45 std::shared_ptr<aidlevs::IEvsDisplay>* obj) override; 46 ::ndk::ScopedAStatus closeDisplay(const std::shared_ptr<aidlevs::IEvsDisplay>& obj) override; 48 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* state) override; [all …]
|
D | AidlCameraStream.h | 30 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 37 ::ndk::ScopedAStatus deliverFrame(const std::vector<aidlevs::BufferDesc>& buffer) override; 38 ::ndk::ScopedAStatus notify(const aidlevs::EvsEventDesc& event) override; 43 bool getBuffer(int id, aidlevs::BufferDesc* _return); 55 virtual ::ndk::ScopedAStatus deliverFrame(const std::vector<aidlevs::BufferDesc>& buffer) = 0; 56 virtual ::ndk::ScopedAStatus notify(const aidlevs::EvsEventDesc& event) = 0; 57 virtual bool getBuffer(int id, aidlevs::BufferDesc* _return); 68 std::list<aidlevs::BufferDesc> mBuffers; 73 ::ndk::ScopedAStatus deliverFrame(const std::vector<aidlevs::BufferDesc>& buffer) override; 74 ::ndk::ScopedAStatus notify(const aidlevs::EvsEventDesc& event) override; [all …]
|
D | AidlDisplay.h | 29 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 35 ::ndk::ScopedAStatus getDisplayInfo(aidlevs::DisplayDesc* _aidl_return) override; 36 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override; 37 ::ndk::ScopedAStatus getTargetBuffer(aidlevs::BufferDesc* _aidl_return) override; 38 ::ndk::ScopedAStatus returnTargetBufferForDisplay(const aidlevs::BufferDesc& buffer) override; 39 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override;
|
D | HidlDisplay.h | 27 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 44 explicit HidlDisplay(const std::shared_ptr<aidlevs::IEvsDisplay>& display) : in HidlDisplay() 48 const std::shared_ptr<aidlevs::IEvsDisplay> getAidlDisplay() const { return mAidlDisplay; } in getAidlDisplay() 52 std::shared_ptr<aidlevs::IEvsDisplay> mAidlDisplay; 53 aidlevs::BufferDesc mHeldBuffer;
|
D | HidlEnumerator.h | 30 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 62 explicit HidlEnumerator(const std::shared_ptr<aidlevs::IEvsEnumerator>& service) : in HidlEnumerator() 70 std::shared_ptr<aidlevs::IEvsEnumerator> mEnumerator; 71 std::weak_ptr<aidlevs::IEvsDisplay> mAidlDisplay;
|
D | HidlCameraStream.h | 28 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 42 HidlCameraStream(const std::shared_ptr<aidlevs::IEvsCameraStream>& camera) : in HidlCameraStream() 49 std::shared_ptr<aidlevs::IEvsCameraStream> mAidlStream;
|
D | HidlCamera.h | 38 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 90 explicit HidlCamera(const std::shared_ptr<aidlevs::IEvsCamera>& camera) : mAidlCamera(camera) {} in HidlCamera() 93 const std::shared_ptr<aidlevs::IEvsCamera> getAidlCamera() const { return mAidlCamera; } in getAidlCamera() 97 std::shared_ptr<aidlevs::IEvsCamera> mAidlCamera;
|
/packages/services/Car/cpp/evs/manager/aidl/include/ |
D | Enumerator.h | 36 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 43 const aidlevs::Stream& streamConfig, 44 std::shared_ptr<aidlevs::IEvsCamera>* obj) override; 45 ::ndk::ScopedAStatus closeCamera(const std::shared_ptr<aidlevs::IEvsCamera>& obj) override; 46 ::ndk::ScopedAStatus getCameraList(std::vector<aidlevs::CameraDesc>* _aidl_return) override; 47 ::ndk::ScopedAStatus getStreamList(const aidlevs::CameraDesc& desc, 48 std::vector<aidlevs::Stream>* _aidl_return) override; 50 std::shared_ptr<aidlevs::IEvsDisplay>* obj) override; 51 ::ndk::ScopedAStatus closeDisplay(const std::shared_ptr<aidlevs::IEvsDisplay>& obj) override; 53 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* state) override; [all …]
|
D | VirtualCamera.h | 40 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 50 ::ndk::ScopedAStatus doneWithFrame(const std::vector<aidlevs::BufferDesc>& buffers) override; 52 const std::shared_ptr<aidlevs::IEvsDisplay>& display) override; 53 ::ndk::ScopedAStatus getCameraInfo(aidlevs::CameraDesc* _aidl_return) override; 56 ::ndk::ScopedAStatus getIntParameter(aidlevs::CameraParam id, 58 ::ndk::ScopedAStatus getIntParameterRange(aidlevs::CameraParam id, 59 aidlevs::ParameterRange* _aidl_return) override; 60 ::ndk::ScopedAStatus getParameterList(std::vector<aidlevs::CameraParam>* _aidl_return) override; 62 aidlevs::CameraDesc* _aidl_return) override; 63 ::ndk::ScopedAStatus importExternalBuffers(const std::vector<aidlevs::BufferDesc>& buffers, [all …]
|
D | HalCamera.h | 36 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 47 ::ndk::ScopedAStatus deliverFrame(const std::vector<aidlevs::BufferDesc>& buffer) override; 48 ::ndk::ScopedAStatus notify(const aidlevs::EvsEventDesc& event) override; 50 HalCamera(const std::shared_ptr<aidlevs::IEvsCamera>& hwCamera, std::string deviceId = "", 51 int32_t recordId = 0, aidlevs::Stream cfg = {}) : 69 std::shared_ptr<aidlevs::IEvsCamera>& getHwCamera() { return mHwCamera; } in getHwCamera() 72 aidlevs::Stream& getStreamConfig() { return mStreamConfig; } in getStreamConfig() 74 bool changeFramesInFlight(const std::vector<aidlevs::BufferDesc>& buffers, int* delta); 79 ::ndk::ScopedAStatus doneWithFrame(aidlevs::BufferDesc buffer); 84 aidlevs::CameraParam id, int32_t* value); [all …]
|
D | HalDisplay.h | 31 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 36 ::ndk::ScopedAStatus getDisplayInfo(aidlevs::DisplayDesc* _aidl_return) override; 37 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override; 38 ::ndk::ScopedAStatus getTargetBuffer(aidlevs::BufferDesc* _aidl_return) override; 39 ::ndk::ScopedAStatus returnTargetBufferForDisplay(const aidlevs::BufferDesc& buffer) override; 40 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override; 42 explicit HalDisplay(std::shared_ptr<aidlevs::IEvsDisplay> display, 47 std::shared_ptr<aidlevs::IEvsDisplay> getHwDisplay(); 54 std::shared_ptr<aidlevs::IEvsDisplay> mHwDisplay;
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/ |
D | EvsV4lCamera.h | 41 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 46 ::ndk::ScopedAStatus doneWithFrame(const std::vector<aidlevs::BufferDesc>& buffers) override; 48 const std::shared_ptr<aidlevs::IEvsDisplay>& display) override; 49 ::ndk::ScopedAStatus getCameraInfo(aidlevs::CameraDesc* _aidl_return) override; 52 ::ndk::ScopedAStatus getIntParameter(aidlevs::CameraParam id, 54 ::ndk::ScopedAStatus getIntParameterRange(aidlevs::CameraParam id, 55 aidlevs::ParameterRange* _aidl_return) override; 56 ::ndk::ScopedAStatus getParameterList(std::vector<aidlevs::CameraParam>* _aidl_return) override; 58 aidlevs::CameraDesc* _aidl_return) override; 59 ::ndk::ScopedAStatus importExternalBuffers(const std::vector<aidlevs::BufferDesc>& buffers, [all …]
|
D | EvsEnumerator.h | 39 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 46 const aidlevs::Stream& streamConfig, 47 std::shared_ptr<aidlevs::IEvsCamera>* obj) override; 48 ::ndk::ScopedAStatus closeCamera(const std::shared_ptr<aidlevs::IEvsCamera>& obj) override; 49 ::ndk::ScopedAStatus getCameraList(std::vector<aidlevs::CameraDesc>* _aidl_return) override; 50 ::ndk::ScopedAStatus getStreamList(const aidlevs::CameraDesc& desc, 51 std::vector<aidlevs::Stream>* _aidl_return) override; 53 std::shared_ptr<aidlevs::IEvsDisplay>* obj) override; 54 ::ndk::ScopedAStatus closeDisplay(const std::shared_ptr<aidlevs::IEvsDisplay>& obj) override; 56 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* state) override; [all …]
|
D | EvsGlDisplay.h | 35 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 40 ::ndk::ScopedAStatus getDisplayInfo(aidlevs::DisplayDesc* _aidl_return) override; 41 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override; 42 ::ndk::ScopedAStatus getTargetBuffer(aidlevs::BufferDesc* _aidl_return) override; 44 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override; 71 aidlevs::DisplayDesc mInfo; 72 aidlevs::DisplayState mRequestedState GUARDED_BY(mLock) = aidlevs::DisplayState::NOT_VISIBLE;
|
/packages/services/Car/cpp/evs/manager/aidl/stats/include/ |
D | CameraUsageStats.h | 32 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable 133 void framesReceived(const std::vector<aidlevs::BufferDesc>& bufs) EXCLUDES(mMutex); 134 void framesReturned(const std::vector<aidlevs::BufferDesc>& bufs) EXCLUDES(mMutex); 142 void updateFrameStatsOnArrivalLocked(const std::vector<aidlevs::BufferDesc>& bufs) 144 void updateFrameStatsOnReturnLocked(const std::vector<aidlevs::BufferDesc>& bufs)
|
/packages/services/Car/cpp/evs/manager/aidl/src/ |
D | Enumerator.cpp | 822 void Enumerator::broadcastDeviceStatusChange(const std::vector<aidlevs::DeviceStatus>& list) { in broadcastDeviceStatusChange() 835 const std::vector<aidlevs::DeviceStatus>& list) { in deviceStatusChanged()
|