/packages/services/Car/cpp/evs/manager/1.0/ |
D | VirtualCamera.cpp | 33 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 …]
|
D | HalCamera.cpp | 33 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()
|
D | HalCamera.h | 37 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
|
D | VirtualCamera.h | 43 class VirtualCamera : public IEvsCamera { 45 explicit VirtualCamera(sp<HalCamera> halCamera); 46 virtual ~VirtualCamera();
|
D | Enumerator.cpp | 98 sp<VirtualCamera> clientCamera; in openCamera() 123 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera()
|
D | Android.bp | 29 "VirtualCamera.cpp",
|
/packages/services/Car/cpp/evs/manager/1.1/ |
D | HalCamera.h | 35 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 …]
|
D | HalCamera.cpp | 45 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 …]
|
D | VirtualCamera.cpp | 54 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 …]
|
D | VirtualCamera.h | 38 class VirtualCamera : public hardware::automotive::evs::V1_1::IEvsCamera { 40 explicit VirtualCamera(const std::vector<sp<HalCamera>>& halCameras); 41 virtual ~VirtualCamera();
|
D | Enumerator.cpp | 308 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()
|
D | Android.bp | 75 "VirtualCamera.cpp",
|
/packages/services/Car/cpp/evs/manager/aidl/include/ |
D | HalCamera.h | 38 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 …]
|
D | VirtualCamera.h | 47 class VirtualCamera : public ::aidl::android::hardware::automotive::evs::BnEvsCamera { 78 explicit VirtualCamera(const std::vector<std::shared_ptr<HalCamera>>& halCameras); 79 virtual ~VirtualCamera();
|
D | Enumerator.h | 144 std::list<std::weak_ptr<VirtualCamera>> mActiveCameraClients;
|
/packages/services/Car/cpp/evs/manager/aidl/src/ |
D | VirtualCamera.cpp | 51 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 …]
|
D | HalCamera.cpp | 48 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 …]
|
D | Enumerator.cpp | 316 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/ |
D | HalCameraFuzzer.cpp | 38 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()
|
D | VirtualCameraFuzzer.cpp | 35 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/ |
D | HalCameraFuzzer.cpp | 66 std::vector<sp<VirtualCamera>> virtualCameras; in LLVMFuzzerTestOneInput() 74 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
|
D | VirtualCameraFuzzer.cpp | 63 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
|
/packages/services/Car/cpp/evs/manager/aidl/ |
D | Android.bp | 90 "src/VirtualCamera.cpp",
|