Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1395 CameraStatus[] cameraStatuses = cameraService.addListener(this); in connectCameraServiceLocked() local
1396 for (CameraStatus c : cameraStatuses) { in connectCameraServiceLocked()
1509 public static boolean cameraStatusesContains(CameraStatus[] cameraStatuses, String id) { in cameraStatusesContains() argument
1510 for (CameraStatus c : cameraStatuses) { in cameraStatusesContains()
1523 CameraStatus[] cameraStatuses; in getCameraIdListNoLazy() local
1561 cameraStatuses = mCameraService.addListener(testListener); in getCameraIdListNoLazy()
1563 for (CameraStatus c : cameraStatuses) { in getCameraIdListNoLazy()
1573 if (!cameraStatusesContains(cameraStatuses, deviceCameraId)) { in getCameraIdListNoLazy()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp383 hidl_vec<CameraStatusAndId> cameraStatuses{}; in TEST_P() local
386 cs->addListener(listener, [&status, &cameraStatuses](Status s, auto& retStatuses) { in TEST_P()
388 cameraStatuses = retStatuses; in TEST_P()
391 for (const auto& it : cameraStatuses) { in TEST_P()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp262 hidl_vec<frameworks::cameraservice::service::V2_1::CameraStatusAndId> cameraStatuses{}; in getCameraService() local
265 [&status, &cameraStatuses](Status s, in getCameraService()
268 cameraStatuses = retStatuses; in getCameraService()
280 for (auto& c : cameraStatuses) { in getCameraService()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp125 std::vector<hardware::CameraStatus> cameraStatuses{}; in getCameraServiceLocked() local
126 mCameraService->addListener(mCameraServiceListener, &cameraStatuses); in getCameraServiceLocked()
127 for (auto& c : cameraStatuses) { in getCameraServiceLocked()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h147 std::vector<hardware::CameraStatus>* cameraStatuses);
202 std::vector<hardware::CameraStatus>* cameraStatuses, bool isVendor = false,
245 std::vector<hardware::CameraStatus>* cameraStatuses);
DCameraService.cpp2313 std::vector<hardware::CameraStatus> *cameraStatuses) { in addListener() argument
2314 return addListenerHelper(listener, cameraStatuses); in addListener()
2318 std::vector<hardware::CameraStatus>* cameraStatuses) { in addListenerTest() argument
2319 return addListenerHelper(listener, cameraStatuses, false, true); in addListenerTest()
2324 std::vector<hardware::CameraStatus> *cameraStatuses, in addListenerHelper() argument
2375 cameraStatuses->emplace_back(i.first, in addListenerHelper()
2383 cameraStatuses->erase(std::remove_if(cameraStatuses->begin(), cameraStatuses->end(), in addListenerHelper()
2392 clientUid);}), cameraStatuses->end()); in addListenerHelper()
2396 for (const auto &s : *cameraStatuses) { in addListenerHelper()