Home
last modified time | relevance | path

Searched refs:pActiveCamera (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsEnumerator.cpp270 sp<EvsV4lCamera> pActiveCamera = pRecord->activeInstance.promote(); in openCamera() local
271 if (pActiveCamera != nullptr) { in openCamera()
273 closeCamera(pActiveCamera); in openCamera()
278 pActiveCamera = EvsV4lCamera::Create(cameraId.c_str()); in openCamera()
280 pActiveCamera = in openCamera()
284 pRecord->activeInstance = pActiveCamera; in openCamera()
285 if (pActiveCamera == nullptr) { in openCamera()
289 return pActiveCamera; in openCamera()
451 sp<EvsV4lCamera> pActiveCamera = pRecord->activeInstance.promote(); in openCamera_1_1() local
452 if (pActiveCamera != nullptr) { in openCamera_1_1()
[all …]
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsEnumerator.cpp373 std::shared_ptr<EvsV4lCamera> pActiveCamera = pRecord->activeInstance.lock(); in openCamera() local
374 if (pActiveCamera) { in openCamera()
376 closeCamera(pActiveCamera); in openCamera()
381 pActiveCamera = EvsV4lCamera::Create(id.data()); in openCamera()
383 pActiveCamera = EvsV4lCamera::Create(id.data(), sConfigManager->getCameraInfo(id), &cfg); in openCamera()
386 pRecord->activeInstance = pActiveCamera; in openCamera()
387 if (!pActiveCamera) { in openCamera()
393 *obj = pActiveCamera; in openCamera()
575 std::shared_ptr<EvsV4lCamera> pActiveCamera = pRecord->activeInstance.lock(); in closeCamera_impl() local
576 if (!pActiveCamera) { in closeCamera_impl()
[all …]