Home
last modified time | relevance | path

Searched refs:aidlevs (Results 1 – 24 of 24) sorted by relevance

/packages/services/Car/cpp/evs/manager/aidl/utils/include/
DUtils.h37 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/
DAidlCamera.h38 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 …]
DAidlEnumerator.h30 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 …]
DAidlCameraStream.h30 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 …]
DAidlDisplay.h27 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
33 ::ndk::ScopedAStatus getDisplayInfo(aidlevs::DisplayDesc* _aidl_return) override;
34 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override;
35 ::ndk::ScopedAStatus getTargetBuffer(aidlevs::BufferDesc* _aidl_return) override;
36 ::ndk::ScopedAStatus returnTargetBufferForDisplay(const aidlevs::BufferDesc& buffer) override;
37 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override;
DHidlDisplay.h27 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;
DHidlEnumerator.h30 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;
DHidlCameraStream.h28 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
43 const std::shared_ptr<aidlevs::IEvsCameraStream>& camera) : in HidlCameraStream()
51 std::shared_ptr<aidlevs::IEvsCameraStream> mAidlStream;
DHidlCamera.h38 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/
DEnumerator.h36 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 …]
DVirtualCamera.h40 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 …]
DHalCamera.h36 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 = {}) :
66 std::shared_ptr<aidlevs::IEvsCamera>& getHwCamera() { return mHwCamera; } in getHwCamera()
69 aidlevs::Stream& getStreamConfig() { return mStreamConfig; } in getStreamConfig()
71 bool changeFramesInFlight(const std::vector<aidlevs::BufferDesc>& buffers, int* delta);
76 ::ndk::ScopedAStatus doneWithFrame(aidlevs::BufferDesc buffer);
81 aidlevs::CameraParam id, int32_t* value);
[all …]
DHalDisplay.h29 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
34 ::ndk::ScopedAStatus getDisplayInfo(aidlevs::DisplayDesc* _aidl_return) override;
35 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override;
36 ::ndk::ScopedAStatus getTargetBuffer(aidlevs::BufferDesc* _aidl_return) override;
37 ::ndk::ScopedAStatus returnTargetBufferForDisplay(const aidlevs::BufferDesc& buffer) override;
38 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override;
40 explicit HalDisplay(std::shared_ptr<aidlevs::IEvsDisplay> display,
45 std::shared_ptr<aidlevs::IEvsDisplay> getHwDisplay();
52 std::shared_ptr<aidlevs::IEvsDisplay> mHwDisplay;
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/include/
DMockEvsEnumerator.h27 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
29 class MockEvsEnumerator : public aidlevs::BnEvsEnumerator {
36 (const std::string&, const aidlevs::Stream&, std::shared_ptr<aidlevs::IEvsCamera>*),
38 MOCK_METHOD(::ndk::ScopedAStatus, closeCamera, (const std::shared_ptr<aidlevs::IEvsCamera>&),
40 MOCK_METHOD(::ndk::ScopedAStatus, getCameraList, (std::vector<aidlevs::CameraDesc>*),
43 (const aidlevs::CameraDesc&, std::vector<aidlevs::Stream>*), (override));
45 (int32_t, std::shared_ptr<aidlevs::IEvsDisplay>*), (override));
46 MOCK_METHOD(::ndk::ScopedAStatus, closeDisplay, (const std::shared_ptr<aidlevs::IEvsDisplay>&),
49 MOCK_METHOD(::ndk::ScopedAStatus, getDisplayState, (aidlevs::DisplayState*), (override));
50 MOCK_METHOD(::ndk::ScopedAStatus, getDisplayStateById, (int32_t, aidlevs::DisplayState*),
[all …]
DMockEvsHal.h36 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
45 std::shared_ptr<aidlevs::IEvsEnumerator> getEnumerator();
66 std::unordered_map<std::string, std::shared_ptr<aidlevs::IEvsCameraStream>> mCameraClient;
69 aidlevs::CameraDesc desc;
70 std::weak_ptr<aidlevs::IEvsCamera> activeInstance;
72 CameraRecord(aidlevs::CameraDesc& desc) : desc(desc) {} in CameraRecord()
80 std::map<aidlevs::CameraParam, int32_t> mCameraParams;
81 std::vector<aidlevs::BufferDesc> mBufferPool GUARDED_BY(mLock);
82 std::vector<aidlevs::BufferDesc> mBuffersInUse GUARDED_BY(mLock);
84 std::weak_ptr<aidlevs::IEvsDisplay> mActiveDisplay;
[all …]
DMockEvsCamera.h34 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
36 class MockEvsCamera : public aidlevs::BnEvsCamera {
42 (const std::vector<aidlevs::BufferDesc>& buffers), (override));
44 (const std::shared_ptr<aidlevs::IEvsDisplay>& display), (override));
45 MOCK_METHOD(::ndk::ScopedAStatus, getCameraInfo, (aidlevs::CameraDesc * _aidl_return),
50 (aidlevs::CameraParam id, std::vector<int32_t>* value), (override));
52 (aidlevs::CameraParam id, aidlevs::ParameterRange* _aidl_return), (override));
54 (std::vector<aidlevs::CameraParam> * _aidl_return), (override));
56 (const std::string& deviceId, aidlevs::CameraDesc* _aidl_return), (override));
58 (const std::vector<aidlevs::BufferDesc>& buffers, int32_t* _aidl_return),
[all …]
DMockEvsDisplay.h28 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
30 class MockEvsDisplay : public aidlevs::BnEvsDisplay {
35 MOCK_METHOD(::ndk::ScopedAStatus, getDisplayInfo, (aidlevs::DisplayDesc*), (override));
36 MOCK_METHOD(::ndk::ScopedAStatus, getDisplayState, (aidlevs::DisplayState*), (override));
37 MOCK_METHOD(::ndk::ScopedAStatus, getTargetBuffer, (aidlevs::BufferDesc*), (override));
38 MOCK_METHOD(::ndk::ScopedAStatus, returnTargetBufferForDisplay, (const aidlevs::BufferDesc&),
40 MOCK_METHOD(::ndk::ScopedAStatus, setDisplayState, (aidlevs::DisplayState), (override));
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/
DEvsV4lCamera.h41 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 …]
DEvsEnumerator.h41 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
48 const aidlevs::Stream& streamConfig,
49 std::shared_ptr<aidlevs::IEvsCamera>* obj) override;
50 ::ndk::ScopedAStatus closeCamera(const std::shared_ptr<aidlevs::IEvsCamera>& obj) override;
51 ::ndk::ScopedAStatus getCameraList(std::vector<aidlevs::CameraDesc>* _aidl_return) override;
52 ::ndk::ScopedAStatus getStreamList(const aidlevs::CameraDesc& desc,
53 std::vector<aidlevs::Stream>* _aidl_return) override;
55 std::shared_ptr<aidlevs::IEvsDisplay>* obj) override;
56 ::ndk::ScopedAStatus closeDisplay(const std::shared_ptr<aidlevs::IEvsDisplay>& obj) override;
58 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* state) override;
[all …]
DEvsGlDisplay.h34 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
39 ::ndk::ScopedAStatus getDisplayInfo(aidlevs::DisplayDesc* _aidl_return) override;
40 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override;
41 ::ndk::ScopedAStatus getTargetBuffer(aidlevs::BufferDesc* _aidl_return) override;
43 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override;
70 aidlevs::DisplayDesc mInfo;
71 aidlevs::DisplayState mRequestedState GUARDED_BY(mLock) = aidlevs::DisplayState::NOT_VISIBLE;
/packages/services/Car/service/jni/evs/
DNoOpEvsDisplay.h26 namespace aidlevs = ::aidl::android::hardware::automotive::evs; variable
31 ndk::ScopedAStatus getDisplayInfo(aidlevs::DisplayDesc*) override { in getDisplayInfo()
34 ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState*) override { in getDisplayState()
37 ndk::ScopedAStatus getTargetBuffer(aidlevs::BufferDesc*) override { in getTargetBuffer()
40 ndk::ScopedAStatus returnTargetBufferForDisplay(const aidlevs::BufferDesc&) override { in returnTargetBufferForDisplay()
43 ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState) override { in setDisplayState()
/packages/services/Car/cpp/evs/manager/aidl/stats/include/
DCameraUsageStats.h32 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/
DEnumerator.cpp881 void Enumerator::broadcastDeviceStatusChange(const std::vector<aidlevs::DeviceStatus>& list) { in broadcastDeviceStatusChange()
894 const std::vector<aidlevs::DeviceStatus>& list) { in deviceStatusChanged()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DMockEvsHal.cpp586 std::shared_ptr<aidlevs::IEvsCameraStream> cb; in addMockCameraDevice()
891 .WillByDefault([](std::vector<aidlevs::UltrasonicsArrayDesc>*) { in configureEnumerator()