Home
last modified time | relevance | path

Searched refs:virtualCamera (Results 1 – 10 of 10) 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.cpp72 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput() local
73 virtualCameras.emplace_back(virtualCamera); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/1.1/
DHalCamera.cpp66 bool HalCamera::ownVirtualCamera(sp<VirtualCamera> virtualCamera) { in ownVirtualCamera() argument
68 if (virtualCamera == nullptr) { in ownVirtualCamera()
74 if (!changeFramesInFlight(virtualCamera->getAllowedBuffers())) { in ownVirtualCamera()
81 mClients.emplace_back(virtualCamera); in ownVirtualCamera()
90 void HalCamera::disownVirtualCamera(sp<VirtualCamera> virtualCamera) { in disownVirtualCamera() argument
92 if (virtualCamera.get() == nullptr) { in disownVirtualCamera()
99 mClients.remove(virtualCamera); in disownVirtualCamera()
454 Return<EvsResult> HalCamera::setMaster(sp<VirtualCamera> virtualCamera) { in setMaster() argument
457 << ": " << virtualCamera.get() << " becomes a primary client."; in setMaster()
458 mPrimaryClient = virtualCamera; in setMaster()
[all …]
DHalCamera.h78 bool ownVirtualCamera(sp<VirtualCamera> virtualCamera);
79 void disownVirtualCamera(sp<VirtualCamera> virtualCamera);
89 void requestNewFrame(sp<VirtualCamera> virtualCamera,
96 Return<EvsResult> setMaster(sp<VirtualCamera> virtualCamera);
97 Return<EvsResult> forceMaster(sp<VirtualCamera> virtualCamera);
98 Return<EvsResult> unsetMaster(const VirtualCamera* virtualCamera);
99 Return<EvsResult> setParameter(sp<VirtualCamera> virtualCamera,
DEnumerator.cpp305 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera *>(clientCamera.get()); in checkPermission() local
308 for (auto&& halCamera : virtualCamera->getHalCameras()) { in checkPermission()
312 halCamera->disownVirtualCamera(virtualCamera); in checkPermission()
327 virtualCamera->stopVideoStream(); in checkPermission()
DEnumerator.h58 …Return<void> closeCamera(const ::android::sp<IEvsCamera_1_0>& virtualCamera) overr…
/packages/services/Car/cpp/evs/manager/1.0/
DHalCamera.cpp60 void HalCamera::disownVirtualCamera(sp<VirtualCamera> virtualCamera) { in disownVirtualCamera() argument
62 if (virtualCamera.get() == nullptr) { in disownVirtualCamera()
68 virtualCamera->stopVideoStream(); in disownVirtualCamera()
72 mClients.remove(virtualCamera); in disownVirtualCamera()
76 virtualCamera->shutdown(); in disownVirtualCamera()
DEnumerator.cpp128 sp<VirtualCamera> virtualCamera = reinterpret_cast<VirtualCamera*>(clientCamera.get()); in closeCamera() local
131 sp<HalCamera> halCamera = virtualCamera->getHalCamera(); in closeCamera()
136 halCamera->disownVirtualCamera(virtualCamera); in closeCamera()
DEnumerator.h43 Return<void> closeCamera(const ::android::sp<IEvsCamera>& virtualCamera) override;
DHalCamera.h52 void disownVirtualCamera(sp<VirtualCamera> virtualCamera);