Home
last modified time | relevance | path

Searched refs:HalCamera (Results 1 – 25 of 31) sorted by relevance

12

/packages/services/Car/cpp/evs/manager/1.1/
DHalCamera.cpp38 HalCamera::~HalCamera() { in ~HalCamera()
45 sp<VirtualCamera> HalCamera::makeVirtualCamera() { in makeVirtualCamera()
47 std::vector<sp<HalCamera>> sourceCameras; in makeVirtualCamera()
64 bool HalCamera::ownVirtualCamera(sp<VirtualCamera> virtualCamera) { in ownVirtualCamera()
86 void HalCamera::disownVirtualCamera(sp<VirtualCamera> virtualCamera) { in disownVirtualCamera()
110 void HalCamera::disownVirtualCamera(const VirtualCamera* clientToDisown) { in disownVirtualCamera()
135 bool HalCamera::changeFramesInFlight(int delta) { in changeFramesInFlight()
178 bool HalCamera::changeFramesInFlight(const hidl_vec<BufferDesc_1_1>& buffers, int* delta) { in changeFramesInFlight()
227 void HalCamera::requestNewFrame(sp<VirtualCamera> client, const int64_t lastTimestamp) { in requestNewFrame()
236 Return<EvsResult> HalCamera::clientStreamStarting() { in clientStreamStarting()
[all …]
DVirtualCamera.h33 class HalCamera; // From HalCamera.h variable
40 explicit VirtualCamera(const std::vector<sp<HalCamera>>& halCameras);
46 std::vector<sp<HalCamera>> getHalCameras();
107 std::unordered_map<std::string, wp<HalCamera>> mHalCamera;
DHalCamera.h41 class HalCamera : public ::android::hardware::automotive::evs::V1_1::IEvsCameraStream {
43 HalCamera(sp<hardware::automotive::evs::V1_1::IEvsCamera> hwCamera, std::string deviceId = "",
54 virtual ~HalCamera();
DEnumerator.cpp276 sp<HalCamera> hwCamera; in openCamera()
299 hwCamera = new HalCamera(device, cameraId, recordId); in openCamera()
372 std::vector<sp<HalCamera>> sourceCameras; in openCamera_1_1()
373 sp<HalCamera> hwCamera; in openCamera_1_1()
399 hwCamera = new HalCamera(device, id, recordId, streamCfg); in openCamera_1_1()
DVirtualCamera.cpp54 VirtualCamera::VirtualCamera(const std::vector<sp<HalCamera>>& halCameras) : mStreamState(STOPPED) { in VirtualCamera()
123 std::vector<sp<HalCamera>> VirtualCamera::getHalCameras() { in getHalCameras()
124 std::vector<sp<HalCamera>> cameras; in getHalCameras()
282 std::vector<sp<HalCamera>> changedCameras; in setMaxFramesInFlight()
/packages/services/Car/cpp/evs/manager/aidl/src/
DHalCamera.cpp41 HalCamera::~HalCamera() { in ~HalCamera()
48 std::shared_ptr<VirtualCamera> HalCamera::makeVirtualCamera() { in makeVirtualCamera()
50 std::vector<std::shared_ptr<HalCamera>> sourceCameras; in makeVirtualCamera()
52 sourceCameras.push_back(std::move(ref<HalCamera>())); in makeVirtualCamera()
63 bool HalCamera::ownVirtualCamera(const std::shared_ptr<VirtualCamera>& virtualCamera) { in ownVirtualCamera()
85 void HalCamera::disownVirtualCamera(const VirtualCamera* clientToDisown) { in disownVirtualCamera()
113 bool HalCamera::changeFramesInFlight(int delta) { in changeFramesInFlight()
157 bool HalCamera::changeFramesInFlight(const std::vector<BufferDesc>& buffers, int* delta) { in changeFramesInFlight()
204 void HalCamera::requestNewFrame(std::shared_ptr<VirtualCamera> client, int64_t lastTimestamp) { in requestNewFrame()
214 ScopedAStatus HalCamera::clientStreamStarting() { in clientStreamStarting()
[all …]
DVirtualCamera.cpp51 VirtualCamera::VirtualCamera(const std::vector<std::shared_ptr<HalCamera>>& halCameras) : in VirtualCamera()
371 std::vector<std::shared_ptr<HalCamera>> changedCameras; in setMaxFramesInFlight()
432 std::shared_ptr<HalCamera> pHwCamera = iter->second.lock(); in startVideoStream()
488 std::shared_ptr<HalCamera> pHwCamera = hwCamera.lock(); in startVideoStream()
538 std::shared_ptr<HalCamera> pHwCamera = hwCamera.lock(); in startVideoStream()
603 std::shared_ptr<HalCamera> pHwCamera = mHalCamera[hwCameraId].lock(); in startVideoStream()
767 std::vector<std::shared_ptr<HalCamera>> VirtualCamera::getHalCameras() { in getHalCameras()
768 std::vector<std::shared_ptr<HalCamera>> cameras; in getHalCameras()
DEnumerator.cpp372 std::vector<std::shared_ptr<HalCamera>> sourceCameras; in openCamera()
393 std::shared_ptr<HalCamera> hwCamera = in openCamera()
394 ::ndk::SharedRefBase::make<HalCamera>(device, id, recordId, cfg); in openCamera()
/packages/services/Car/cpp/evs/manager/1.0/
DHalCamera.cpp33 sp<VirtualCamera> HalCamera::makeVirtualCamera() { in makeVirtualCamera()
56 void HalCamera::disownVirtualCamera(sp<VirtualCamera> virtualCamera) { in disownVirtualCamera()
80 bool HalCamera::changeFramesInFlight(int delta) { in changeFramesInFlight()
123 Return<EvsResult> HalCamera::clientStreamStarting() { in clientStreamStarting()
144 void HalCamera::clientStreamEnding() { in clientStreamEnding()
161 Return<void> HalCamera::doneWithFrame(const BufferDesc& buffer) { in doneWithFrame()
190 Return<void> HalCamera::deliverFrame(const BufferDesc& buffer) { in deliverFrame()
DVirtualCamera.h38 class HalCamera; // From HalCamera.h variable
45 explicit VirtualCamera(sp<HalCamera> halCamera);
49 sp<HalCamera> getHalCamera() { return mHalCamera; }; in getHalCamera()
66 sp<HalCamera> mHalCamera; // The low level camera interface that backs this proxy
DEnumerator.cpp68 sp<HalCamera> hwCamera; in openCamera()
89 hwCamera = new HalCamera(device); in openCamera()
126 sp<HalCamera> halCamera = virtualCamera->getHalCamera(); in closeCamera()
DHalCamera.h43 class HalCamera : public IEvsCameraStream {
45 HalCamera(sp<IEvsCamera> hwCamera) : mHwCamera(hwCamera) {}; in HalCamera() function
DEnumerator.h56 std::list<sp<HalCamera>> mCameras; // Camera proxy objects wrapping hw cameras
DAndroid.bp28 "HalCamera.cpp",
DVirtualCamera.cpp33 VirtualCamera::VirtualCamera(sp<HalCamera> halCamera) : mHalCamera(halCamera) {} in VirtualCamera()
/packages/services/Car/cpp/evs/manager/aidl/include/
DVirtualCamera.h42 class HalCamera; // From HalCamera.h variable
78 explicit VirtualCamera(const std::vector<std::shared_ptr<HalCamera>>& halCameras);
86 std::vector<std::shared_ptr<HalCamera>> getHalCameras();
102 std::unordered_map<std::string, std::weak_ptr<HalCamera>> mHalCamera;
DHalCamera.h44 class HalCamera : public ::aidl::android::hardware::automotive::evs::BnEvsCameraStream {
50 HalCamera(const std::shared_ptr<aidlevs::IEvsCamera>& hwCamera, std::string deviceId = "",
58 virtual ~HalCamera();
/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DVirtualCameraFuzzer.cpp29 using aidl::android::automotive::evs::implementation::HalCamera;
75 std::shared_ptr<HalCamera> halCamera = ndk::SharedRefBase::make<HalCamera>(mockHwCamera); in LLVMFuzzerTestOneInput()
142 std::shared_ptr<HalCamera> anotherHalCamera = in LLVMFuzzerTestOneInput()
143 ndk::SharedRefBase::make<HalCamera>(anotherMockHwCamera); in LLVMFuzzerTestOneInput()
DHalCameraFuzzer.cpp32 using aidl::android::automotive::evs::implementation::HalCamera;
83 std::shared_ptr<HalCamera> halCamera = ndk::SharedRefBase::make<HalCamera>(mockHwCamera); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/aidl/stats/include/
DStatsCollector.h35 class HalCamera; // From HalCamera.h variable
96 ::android::base::Result<void> registerClientToMonitor(const std::shared_ptr<HalCamera>& camera)
127 std::unordered_map<std::string, std::weak_ptr<HalCamera>> mClientsToMonitor GUARDED_BY(mMutex);
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DVirtualCameraFuzzer.cpp62 sp<HalCamera> halCamera = new HalCamera(mockHWCamera); in LLVMFuzzerTestOneInput()
132 sp<HalCamera> halCamera1 = new HalCamera(mockHWCamera1); in LLVMFuzzerTestOneInput()
DHalCameraFuzzer.cpp65 sp<HalCamera> halCamera = new HalCamera(mockHWCamera); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/1.1/stats/
DStatsCollector.h96 android::base::Result<void> registerClientToMonitor(const android::sp<HalCamera>& camera)
127 std::unordered_map<std::string, android::wp<HalCamera>> mClientsToMonitor GUARDED_BY(mMutex);
DIStatsCollector.h41 const android::sp<HalCamera>& camera) = 0;
/packages/services/Car/cpp/evs/manager/1.1/test/unit/
DMockStatsCollector.h46 (const android::sp<HalCamera>&), (override));

12