Home
last modified time | relevance | path

Searched refs:virtualCamera (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DVirtualCameraFuzzer.cpp63 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput() local
74 virtualCamera->getAllowedBuffers(); in LLVMFuzzerTestOneInput()
79 virtualCamera->isStreaming(); in LLVMFuzzerTestOneInput()
84 virtualCamera->getVersion(); in LLVMFuzzerTestOneInput()
89 virtualCamera->getHalCameras(); in LLVMFuzzerTestOneInput()
95 virtualCamera->setDescriptor(desc); in LLVMFuzzerTestOneInput()
105 virtualCamera->notify(event); in LLVMFuzzerTestOneInput()
113 virtualCamera->deliverFrame(buffer); in LLVMFuzzerTestOneInput()
119 virtualCamera->getCameraInfo([](CameraDesc_1_0 desc) {}); in LLVMFuzzerTestOneInput()
125 virtualCamera->setMaxFramesInFlight(delta); in LLVMFuzzerTestOneInput()
[all …]
DHalCameraFuzzer.cpp74 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput() local
75 virtualCameras.emplace_back(virtualCamera); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DVirtualCameraFuzzer.cpp77 std::shared_ptr<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput() local
78 EXPECT_NE(virtualCamera, nullptr); in LLVMFuzzerTestOneInput()
87 virtualCamera->getAllowedBuffers(); in LLVMFuzzerTestOneInput()
92 virtualCamera->isStreaming(); in LLVMFuzzerTestOneInput()
97 virtualCamera->getHalCameras(); in LLVMFuzzerTestOneInput()
103 virtualCamera->setDescriptor(desc); in LLVMFuzzerTestOneInput()
113 virtualCamera->notify(event); in LLVMFuzzerTestOneInput()
121 virtualCamera->deliverFrame(buffer); in LLVMFuzzerTestOneInput()
128 virtualCamera->getCameraInfo(&desc); in LLVMFuzzerTestOneInput()
134 virtualCamera->setMaxFramesInFlight(delta); in LLVMFuzzerTestOneInput()
[all …]
DHalCameraFuzzer.cpp92 std::shared_ptr<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput() local
93 virtualCameras.emplace_back(virtualCamera); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/1.1/
DHalCamera.cpp64 bool HalCamera::ownVirtualCamera(sp<VirtualCamera> virtualCamera) { in ownVirtualCamera() argument
65 if (virtualCamera == nullptr) { in ownVirtualCamera()
71 if (!changeFramesInFlight(virtualCamera->getAllowedBuffers())) { in ownVirtualCamera()
78 mClients.emplace_back(virtualCamera); in ownVirtualCamera()
86 void HalCamera::disownVirtualCamera(sp<VirtualCamera> virtualCamera) { in disownVirtualCamera() argument
88 if (virtualCamera == nullptr) { in disownVirtualCamera()
95 mClients.remove(virtualCamera); in disownVirtualCamera()
494 Return<EvsResult> HalCamera::setMaster(sp<VirtualCamera> virtualCamera) { in setMaster() argument
496 LOG(DEBUG) << __FUNCTION__ << ": " << virtualCamera.get() << " becomes a primary client."; in setMaster()
497 mPrimaryClient = virtualCamera; in setMaster()
[all …]
DHalCamera.h58 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);
78 sp<VirtualCamera> virtualCamera);
80 sp<VirtualCamera> virtualCamera);
82 const VirtualCamera* virtualCamera);
84 sp<VirtualCamera> virtualCamera, hardware::automotive::evs::V1_1::CameraParam id,
DEnumeratorProxy.h49 const ::android::sp<hardware::automotive::evs::V1_0::IEvsCamera>& virtualCamera) in closeCamera()
51 return mEnumeratorManager->closeCamera(std::move(virtualCamera)); in closeCamera()
DEnumerator.cpp333 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera() local
336 for (auto&& halCamera : virtualCamera->getHalCameras()) { in closeCamera()
340 halCamera->disownVirtualCamera(virtualCamera); in closeCamera()
356 virtualCamera->stopVideoStream(); in closeCamera()
DEnumerator.h79 const ::android::sp<hardware::automotive::evs::V1_0::IEvsCamera>& virtualCamera)
/packages/services/Car/cpp/evs/manager/aidl/src/
DHalCamera.cpp63 bool HalCamera::ownVirtualCamera(const std::shared_ptr<VirtualCamera>& virtualCamera) { in ownVirtualCamera() argument
64 if (!virtualCamera) { in ownVirtualCamera()
70 if (!changeFramesInFlight(virtualCamera->getAllowedBuffers())) { in ownVirtualCamera()
77 mClients.push_back(virtualCamera); in ownVirtualCamera()
445 ScopedAStatus HalCamera::setPrimaryClient(const std::shared_ptr<VirtualCamera>& virtualCamera) { in setPrimaryClient() argument
447 LOG(DEBUG) << __FUNCTION__ << ": " << virtualCamera.get() << " becomes a primary client."; in setPrimaryClient()
448 mPrimaryClient = virtualCamera; in setPrimaryClient()
456 ScopedAStatus HalCamera::forcePrimaryClient(const std::shared_ptr<VirtualCamera>& virtualCamera) { in forcePrimaryClient() argument
458 if (prevPrimary == virtualCamera) { in forcePrimaryClient()
459 LOG(DEBUG) << "Client " << virtualCamera.get() << " is already a primary client"; in forcePrimaryClient()
[all …]
DEnumerator.cpp316 VirtualCamera* virtualCamera = reinterpret_cast<VirtualCamera*>(cameraObj.get()); in closeCamera() local
319 [virtualCamera](std::weak_ptr<VirtualCamera>& client) { in closeCamera()
321 return current.get() == virtualCamera; in closeCamera()
324 LOG(ERROR) << "Ignore a request to close unknown client, " << virtualCamera; in closeCamera()
329 for (auto&& halCamera : virtualCamera->getHalCameras()) { in closeCamera()
333 halCamera->disownVirtualCamera(virtualCamera); in closeCamera()
353 virtualCamera->stopVideoStream(); in closeCamera()
/packages/services/Car/cpp/evs/manager/aidl/include/
DHalCamera.h62 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);
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,
/packages/services/Car/cpp/evs/manager/1.0/
DHalCamera.cpp56 void HalCamera::disownVirtualCamera(sp<VirtualCamera> virtualCamera) { in disownVirtualCamera() argument
58 if (virtualCamera.get() == nullptr) { in disownVirtualCamera()
64 virtualCamera->stopVideoStream(); in disownVirtualCamera()
68 mClients.remove(virtualCamera); in disownVirtualCamera()
72 virtualCamera->shutdown(); in disownVirtualCamera()
DEnumerator.cpp123 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera() local
126 sp<HalCamera> halCamera = virtualCamera->getHalCamera(); in closeCamera()
131 halCamera->disownVirtualCamera(virtualCamera); in closeCamera()
DEnumerator.h43 Return<void> closeCamera(const ::android::sp<IEvsCamera>& virtualCamera) override;
DHalCamera.h49 void disownVirtualCamera(sp<VirtualCamera> virtualCamera);
/packages/services/Car/cpp/evs/manager/aidl/wrappers/include/
DHidlEnumerator.h40 const ::android::sp<hidlevs::V1_0::IEvsCamera>& virtualCamera) override;