Home
last modified time | relevance | path

Searched refs:cameraStatuses (Results 1 – 7 of 7) sorted by relevance

/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp391 std::vector<CameraStatusAndId> cameraStatuses; in BasicCameraTests() local
393 ndk::ScopedAStatus ret = mCameraService->addListener(listener, &cameraStatuses); in BasicCameraTests()
395 listener->initializeStatuses(cameraStatuses); in BasicCameraTests()
396 for (const auto& it : cameraStatuses) { in BasicCameraTests()
590 std::vector<CameraStatusAndId> cameraStatuses; in TEST_P() local
591 ndk::ScopedAStatus ret = mCameraService->addListener(listener, &cameraStatuses); in TEST_P()
593 listener->initializeStatuses(cameraStatuses); in TEST_P()
595 for (const auto& it : cameraStatuses) { in TEST_P()
DVtsHalCameraServiceV2_0TargetTest.cpp385 hidl_vec<CameraStatusAndId> cameraStatuses{}; in TEST_P() local
388 cs->addListener(listener, [&status, &cameraStatuses](Status s, auto& retStatuses) { in TEST_P()
390 cameraStatuses = retStatuses; in TEST_P()
394 for (const auto& it : cameraStatuses) { in TEST_P()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java2211 CameraStatus[] cameraStatuses = cameraService.addListener(this); in connectCameraServiceLocked() local
2212 for (CameraStatus cameraStatus : cameraStatuses) { in connectCameraServiceLocked()
2378 private static boolean cameraStatusesContains(CameraStatus[] cameraStatuses, in cameraStatusesContains() argument
2380 for (CameraStatus c : cameraStatuses) { in cameraStatusesContains()
2393 CameraStatus[] cameraStatuses; in getCameraIdListNoLazy() local
2437 cameraStatuses = mCameraService.addListener(testListener); in getCameraIdListNoLazy()
2439 for (CameraStatus cameraStatus : cameraStatuses) { in getCameraIdListNoLazy()
2450 if (!cameraStatusesContains(cameraStatuses, info)) { in getCameraIdListNoLazy()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp218 std::vector<hardware::CameraStatus> cameraStatuses{}; in getCameraServiceLocked() local
219 mCameraService->addListener(mCameraServiceListener, &cameraStatuses); in getCameraServiceLocked()
220 for (auto& c : cameraStatuses) { in getCameraServiceLocked()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp299 std::vector<CameraStatusAndId> cameraStatuses; in getCameraService() local
302 &cameraStatuses); in getCameraService()
321 for (auto& csi: cameraStatuses){ in getCameraService()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h189 std::vector<hardware::CameraStatus>* cameraStatuses);
275 std::vector<hardware::CameraStatus>* cameraStatuses, bool isVendor = false,
321 std::vector<hardware::CameraStatus>* cameraStatuses);
DCameraService.cpp3365 std::vector<hardware::CameraStatus> *cameraStatuses) { in addListener() argument
3366 return addListenerHelper(listener, cameraStatuses); in addListener()
3370 std::vector<hardware::CameraStatus>* cameraStatuses) { in addListenerTest() argument
3371 return addListenerHelper(listener, cameraStatuses, false, true); in addListenerTest()
3376 std::vector<hardware::CameraStatus> *cameraStatuses, in addListenerHelper() argument
3429 cameraStatuses->emplace_back(mappedCameraId, in addListenerHelper()
3439 cameraStatuses->erase(std::remove_if(cameraStatuses->begin(), cameraStatuses->end(), in addListenerHelper()
3461 }), cameraStatuses->end()); in addListenerHelper()
3465 for (const auto &s : *cameraStatuses) { in addListenerHelper()