Searched refs:halCamera (Results 1 – 10 of 10) sorted by relevance
65 sp<HalCamera> halCamera = new HalCamera(mockHWCamera); in LLVMFuzzerTestOneInput() local74 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 …]
62 sp<HalCamera> halCamera = new HalCamera(mockHWCamera); in LLVMFuzzerTestOneInput() local63 sp<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
83 std::shared_ptr<HalCamera> halCamera = ndk::SharedRefBase::make<HalCamera>(mockHwCamera); in LLVMFuzzerTestOneInput() local84 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 …]
75 std::shared_ptr<HalCamera> halCamera = ndk::SharedRefBase::make<HalCamera>(mockHwCamera); in LLVMFuzzerTestOneInput() local76 EXPECT_NE(halCamera, nullptr); in LLVMFuzzerTestOneInput()77 std::shared_ptr<VirtualCamera> virtualCamera = halCamera->makeVirtualCamera(); in LLVMFuzzerTestOneInput()
126 sp<HalCamera> halCamera = virtualCamera->getHalCamera(); in closeCamera() local131 halCamera->disownVirtualCamera(virtualCamera); in closeCamera()134 if (halCamera->getClientCount() == 0) { in closeCamera()138 mCameras.remove(halCamera); in closeCamera()
33 VirtualCamera::VirtualCamera(sp<HalCamera> halCamera) : mHalCamera(halCamera) {} in VirtualCamera() argument
45 explicit VirtualCamera(sp<HalCamera> halCamera);
329 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()
336 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()
267 auto halCamera = mHalCamera.begin()->second.promote(); in getCameraInfo() local268 if (halCamera != nullptr) { in getCameraInfo()269 return halCamera->getHwCamera()->getCameraInfo(info_cb); in getCameraInfo()