Home
last modified time | relevance | path

Searched refs:halCamera (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DHalCameraFuzzer.cpp65 sp<HalCamera> halCamera = new HalCamera(mockHWCamera); in LLVMFuzzerTestOneInput() local
74 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
83 halCamera->ownVirtualCamera(virtualCameras[whichCam]); in LLVMFuzzerTestOneInput()
92 halCamera->disownVirtualCamera(virtualCameras[whichCam]); in LLVMFuzzerTestOneInput()
98 halCamera->getHwCamera(); in LLVMFuzzerTestOneInput()
103 halCamera->getClientCount(); in LLVMFuzzerTestOneInput()
108 halCamera->getId(); in LLVMFuzzerTestOneInput()
113 halCamera->getStreamConfig(); in LLVMFuzzerTestOneInput()
119 halCamera->changeFramesInFlight(delta); in LLVMFuzzerTestOneInput()
126 halCamera->changeFramesInFlight(buffers, &delta); in LLVMFuzzerTestOneInput()
[all …]
DVirtualCameraFuzzer.cpp62 sp<HalCamera> halCamera = new HalCamera(mockHWCamera); in LLVMFuzzerTestOneInput() local
63 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DHalCameraFuzzer.cpp83 std::shared_ptr<HalCamera> halCamera = ndk::SharedRefBase::make<HalCamera>(mockHwCamera); in LLVMFuzzerTestOneInput() local
84 EXPECT_NE(halCamera, nullptr); in LLVMFuzzerTestOneInput()
92 std::shared_ptr<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
101 halCamera->ownVirtualCamera(virtualCameras[whichCam]); in LLVMFuzzerTestOneInput()
110 halCamera->disownVirtualCamera(virtualCameras[whichCam].get()); in LLVMFuzzerTestOneInput()
116 halCamera->getHwCamera(); in LLVMFuzzerTestOneInput()
121 halCamera->getClientCount(); in LLVMFuzzerTestOneInput()
126 halCamera->getId(); in LLVMFuzzerTestOneInput()
131 halCamera->getStreamConfig(); in LLVMFuzzerTestOneInput()
137 halCamera->changeFramesInFlight(delta); in LLVMFuzzerTestOneInput()
[all …]
DVirtualCameraFuzzer.cpp75 std::shared_ptr<HalCamera> halCamera = ndk::SharedRefBase::make<HalCamera>(mockHwCamera); in LLVMFuzzerTestOneInput() local
76 EXPECT_NE(halCamera, nullptr); in LLVMFuzzerTestOneInput()
77 std::shared_ptr<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/1.0/
DEnumerator.cpp126 sp<HalCamera> halCamera = virtualCamera->getHalCamera(); in closeCamera() local
131 halCamera->disownVirtualCamera(virtualCamera); in closeCamera()
134 if (halCamera->getClientCount() == 0) { in closeCamera()
138 mCameras.remove(halCamera); in closeCamera()
DVirtualCamera.cpp33 VirtualCamera::VirtualCamera(sp<HalCamera> halCamera) : mHalCamera(halCamera) {} in VirtualCamera() argument
DVirtualCamera.h45 explicit VirtualCamera(sp<HalCamera> halCamera);
/packages/services/Car/cpp/evs/manager/aidl/src/
DEnumerator.cpp329 for (auto&& halCamera : virtualCamera->getHalCameras()) { in closeCamera()
333 halCamera->disownVirtualCamera(virtualCamera); in closeCamera()
336 if (halCamera->getClientCount() == 0) { in closeCamera()
340 mActiveCameras.erase(halCamera->getId()); in closeCamera()
341 auto status = mHwEnumerator->closeCamera(halCamera->getHwCamera()); in closeCamera()
343 LOG(WARNING) << "Failed to close a camera with id = " << halCamera->getId() in closeCamera()
347 mClientsMonitor->unregisterClientToMonitor(halCamera->getId()); in closeCamera()
/packages/services/Car/cpp/evs/manager/1.1/
DEnumerator.cpp336 for (auto&& halCamera : virtualCamera->getHalCameras()) { in closeCamera()
340 halCamera->disownVirtualCamera(virtualCamera); in closeCamera()
343 if (halCamera->getClientCount() == 0) { in closeCamera()
347 mActiveCameras.erase(halCamera->getId()); in closeCamera()
348 mServiceFactory->getService()->closeCamera(halCamera->getHwCamera()); in closeCamera()
350 mStatsCollector->unregisterClientToMonitor(halCamera->getId()); in closeCamera()
DVirtualCamera.cpp267 auto halCamera = mHalCamera.begin()->second.promote(); in getCameraInfo() local
268 if (halCamera != nullptr) { in getCameraInfo()
269 return halCamera->getHwCamera()->getCameraInfo(info_cb); in getCameraInfo()