Home
last modified time | relevance | path

Searched refs:VirtualCamera (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/cpp/evs/manager/1.0/
DVirtualCamera.cpp33 VirtualCamera::VirtualCamera(sp<HalCamera> halCamera) : mHalCamera(halCamera) {} in VirtualCamera() function in android::automotive::evs::V1_0::implementation::VirtualCamera
35 VirtualCamera::~VirtualCamera() { in ~VirtualCamera()
39 void VirtualCamera::shutdown() { in shutdown()
68 bool VirtualCamera::deliverFrame(const BufferDesc& buffer) { in deliverFrame()
101 Return<void> VirtualCamera::getCameraInfo(getCameraInfo_cb info_cb) { in getCameraInfo()
106 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight()
122 Return<EvsResult> VirtualCamera::startVideoStream(const ::android::sp<IEvsCameraStream>& stream) { in startVideoStream()
151 Return<void> VirtualCamera::doneWithFrame(const BufferDesc& buffer) { in doneWithFrame()
179 Return<void> VirtualCamera::stopVideoStream() { in stopVideoStream()
204 Return<int32_t> VirtualCamera::getExtendedInfo(uint32_t opaqueIdentifier) { in getExtendedInfo()
[all …]
DHalCamera.cpp33 sp<VirtualCamera> HalCamera::makeVirtualCamera() { in makeVirtualCamera()
35 sp<VirtualCamera> client = new VirtualCamera(this); in makeVirtualCamera()
56 void HalCamera::disownVirtualCamera(sp<VirtualCamera> virtualCamera) { in disownVirtualCamera()
84 sp<VirtualCamera> virtCam = client.promote(); in changeFramesInFlight()
148 sp<VirtualCamera> virtCam = client.promote(); in clientStreamEnding()
194 sp<VirtualCamera> virtCam = client.promote(); in deliverFrame()
DHalCamera.h37 class VirtualCamera; // From VirtualCamera.h variable
48 sp<VirtualCamera> makeVirtualCamera();
49 void disownVirtualCamera(sp<VirtualCamera> virtualCamera);
65 std::list<wp<VirtualCamera>> mClients; // Weak pointers -> objects destruct if client dies
DVirtualCamera.h43 class VirtualCamera : public IEvsCamera {
45 explicit VirtualCamera(sp<HalCamera> halCamera);
46 virtual ~VirtualCamera();
DEnumerator.cpp98 sp<VirtualCamera> clientCamera; in openCamera()
123 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera()
DAndroid.bp29 "VirtualCamera.cpp",
/packages/services/Car/cpp/evs/manager/1.1/
DHalCamera.h35 class VirtualCamera; // From VirtualCamera.h variable
57 sp<VirtualCamera> makeVirtualCamera();
58 bool ownVirtualCamera(sp<VirtualCamera> virtualCamera);
59 void disownVirtualCamera(sp<VirtualCamera> virtualCamera);
60 void disownVirtualCamera(const VirtualCamera* virtualCamera);
71 void requestNewFrame(sp<VirtualCamera> virtualCamera, const int64_t timestamp);
74 void clientStreamEnding(const VirtualCamera* client);
78 sp<VirtualCamera> virtualCamera);
80 sp<VirtualCamera> virtualCamera);
82 const VirtualCamera* virtualCamera);
[all …]
DHalCamera.cpp45 sp<VirtualCamera> HalCamera::makeVirtualCamera() { in makeVirtualCamera()
50 sp<VirtualCamera> client = new VirtualCamera(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()
120 [&clientToDisown](wp<VirtualCamera>& client) { return client == clientToDisown; }); in disownVirtualCamera()
139 sp<VirtualCamera> virtCam = client.promote(); in changeFramesInFlight()
188 sp<VirtualCamera> virtCam = client.promote(); in changeFramesInFlight()
227 void HalCamera::requestNewFrame(sp<VirtualCamera> client, const int64_t lastTimestamp) { in requestNewFrame()
261 const VirtualCamera* client) { in cancelCaptureRequestFromClientLocked()
[all …]
DVirtualCamera.cpp54 VirtualCamera::VirtualCamera(const std::vector<sp<HalCamera>>& halCameras) : mStreamState(STOPPED) { in VirtualCamera() function in android::automotive::evs::V1_1::implementation::VirtualCamera
60 VirtualCamera::~VirtualCamera() { in ~VirtualCamera()
64 void VirtualCamera::shutdown() { in shutdown()
123 std::vector<sp<HalCamera>> VirtualCamera::getHalCameras() { in getHalCameras()
135 bool VirtualCamera::deliverFrame(const BufferDesc_1_1& bufDesc) { in deliverFrame()
208 bool VirtualCamera::notify(const EvsEventDesc& event) { in notify()
259 Return<void> VirtualCamera::getCameraInfo(getCameraInfo_cb info_cb) { in getCameraInfo()
276 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight()
317 Return<EvsResult> VirtualCamera::startVideoStream( in startVideoStream()
467 Return<void> VirtualCamera::doneWithFrame(const BufferDesc_1_0& buffer) { in doneWithFrame()
[all …]
DVirtualCamera.h38 class VirtualCamera : public hardware::automotive::evs::V1_1::IEvsCamera {
40 explicit VirtualCamera(const std::vector<sp<HalCamera>>& halCameras);
41 virtual ~VirtualCamera();
DEnumerator.cpp308 sp<VirtualCamera> clientCamera; in openCamera()
333 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera()
431 sp<VirtualCamera> clientCamera = new VirtualCamera(sourceCameras); in openCamera_1_1()
DAndroid.bp75 "VirtualCamera.cpp",
/packages/services/Car/cpp/evs/manager/aidl/include/
DHalCamera.h38 class VirtualCamera; // From VirtualCamera.h variable
61 std::shared_ptr<VirtualCamera> makeVirtualCamera();
62 bool ownVirtualCamera(const std::shared_ptr<VirtualCamera>& virtualCamera);
63 void disownVirtualCamera(const VirtualCamera* virtualCamera);
72 void requestNewFrame(std::shared_ptr<VirtualCamera> virtualCamera, int64_t timestamp);
75 void clientStreamEnding(const VirtualCamera* client);
77 ::ndk::ScopedAStatus setPrimaryClient(const std::shared_ptr<VirtualCamera>& virtualCamera);
78 ::ndk::ScopedAStatus forcePrimaryClient(const std::shared_ptr<VirtualCamera>& virtualCamera);
79 ::ndk::ScopedAStatus unsetPrimaryClient(const VirtualCamera* virtualCamera);
80 ::ndk::ScopedAStatus setParameter(const std::shared_ptr<VirtualCamera>& virtualCamera,
[all …]
DVirtualCamera.h47 class VirtualCamera : public ::aidl::android::hardware::automotive::evs::BnEvsCamera {
78 explicit VirtualCamera(const std::vector<std::shared_ptr<HalCamera>>& halCameras);
79 virtual ~VirtualCamera();
DEnumerator.h144 std::list<std::weak_ptr<VirtualCamera>> mActiveCameraClients;
/packages/services/Car/cpp/evs/manager/aidl/src/
DVirtualCamera.cpp51 VirtualCamera::VirtualCamera(const std::vector<std::shared_ptr<HalCamera>>& halCameras) : in VirtualCamera() function in aidl::android::automotive::evs::implementation::VirtualCamera
58 VirtualCamera::~VirtualCamera() { in ~VirtualCamera()
62 ScopedAStatus VirtualCamera::doneWithFrame(const std::vector<BufferDesc>& buffers) { in doneWithFrame()
90 ScopedAStatus VirtualCamera::forcePrimaryClient(const std::shared_ptr<IEvsDisplay>& display) { in forcePrimaryClient()
126 return pHwCamera->forcePrimaryClient(ref<VirtualCamera>()); in forcePrimaryClient()
129 ScopedAStatus VirtualCamera::getCameraInfo(CameraDesc* _aidl_return) { in getCameraInfo()
149 ScopedAStatus VirtualCamera::getExtendedInfo(int32_t opaqueIdentifier, in getExtendedInfo()
168 ScopedAStatus VirtualCamera::getIntParameter(CameraParam id, std::vector<int32_t>* value) { in getIntParameter()
186 ScopedAStatus VirtualCamera::getIntParameterRange(CameraParam id, ParameterRange* _aidl_return) { in getIntParameterRange()
205 ScopedAStatus VirtualCamera::getParameterList(std::vector<CameraParam>* _aidl_return) { in getParameterList()
[all …]
DHalCamera.cpp48 std::shared_ptr<VirtualCamera> HalCamera::makeVirtualCamera() { in makeVirtualCamera()
53 std::shared_ptr<VirtualCamera> client = in makeVirtualCamera()
54 ::ndk::SharedRefBase::make<VirtualCamera>(sourceCameras); in makeVirtualCamera()
63 bool HalCamera::ownVirtualCamera(const std::shared_ptr<VirtualCamera>& virtualCamera) { in ownVirtualCamera()
85 void HalCamera::disownVirtualCamera(const VirtualCamera* clientToDisown) { in disownVirtualCamera()
94 mClients.remove_if([clientToDisown](std::weak_ptr<VirtualCamera>& client) { in disownVirtualCamera()
117 std::shared_ptr<VirtualCamera> virtCam = client.lock(); in changeFramesInFlight()
167 std::shared_ptr<VirtualCamera> virtCam = client.lock(); in changeFramesInFlight()
204 void HalCamera::requestNewFrame(std::shared_ptr<VirtualCamera> client, int64_t lastTimestamp) { in requestNewFrame()
238 void HalCamera::clientStreamEnding(const VirtualCamera* client) { in clientStreamEnding()
[all …]
DEnumerator.cpp316 VirtualCamera* virtualCamera = reinterpret_cast<VirtualCamera*>(cameraObj.get()); in closeCamera()
319 [virtualCamera](std::weak_ptr<VirtualCamera>& client) { in closeCamera()
425 std::shared_ptr<VirtualCamera> clientCamera = in openCamera()
426 ::ndk::SharedRefBase::make<VirtualCamera>(sourceCameras); in openCamera()
/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DHalCameraFuzzer.cpp38 using aidl::android::automotive::evs::implementation::VirtualCamera;
85 std::vector<std::shared_ptr<VirtualCamera>> virtualCameras; in LLVMFuzzerTestOneInput()
92 std::shared_ptr<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
DVirtualCameraFuzzer.cpp35 using aidl::android::automotive::evs::implementation::VirtualCamera;
77 std::shared_ptr<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DHalCameraFuzzer.cpp66 std::vector<sp<VirtualCamera>> virtualCameras; in LLVMFuzzerTestOneInput()
74 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
DVirtualCameraFuzzer.cpp63 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/aidl/
DAndroid.bp90 "src/VirtualCamera.cpp",