Home
last modified time | relevance | path

Searched refs:cameraIds (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/camera/ndk/impl/
DACameraManager.cpp239 void CameraManagerGlobal::getCameraIdList(std::vector<String8>* cameraIds) { in getCameraIdList() argument
255 cameraIds->push_back(deviceStatus.first); in getCameraIdList()
424 out->cameraIds = new const char*[numCameras]; in getCameraIdList()
425 if (!out->cameraIds) { in getCameraIdList()
440 out->cameraIds[i] = dst; in getCameraIdList()
449 if (cameraIdList->cameraIds != nullptr) { in deleteCameraIdList()
451 if (cameraIdList->cameraIds[i] != nullptr) { in deleteCameraIdList()
452 delete[] cameraIdList->cameraIds[i]; in deleteCameraIdList()
455 delete[] cameraIdList->cameraIds; in deleteCameraIdList()
DACameraManager.h65 void getCameraIdList(std::vector<String8> *cameraIds);
DACameraDevice.cpp152 if (physicalIdList->cameraIds[i] == nullptr) { in createCaptureRequest()
157 mPhysicalIds.begin(), mPhysicalIds.end(), physicalIdList->cameraIds[i])) { in createCaptureRequest()
158 ALOGE("%s: Invalid physicalId %s!", __FUNCTION__, physicalIdList->cameraIds[i]); in createCaptureRequest()
186 outReq->physicalSettings.emplace(physicalIdList->cameraIds[i], in createCaptureRequest()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp333 void CameraManagerGlobal::getCameraIdList(std::vector<hidl_string>* cameraIds) { in getCameraIdList() argument
343 cameraIds->push_back(deviceStatus.first); in getCameraIdList()
473 out->cameraIds = new const char*[numCameras]; in getCameraIdList()
474 if (!out->cameraIds) { in getCameraIdList()
489 out->cameraIds[i] = dst; in getCameraIdList()
498 if (cameraIdList->cameraIds != nullptr) { in deleteCameraIdList()
500 if (cameraIdList->cameraIds[i] != nullptr) { in deleteCameraIdList()
501 delete[] cameraIdList->cameraIds[i]; in deleteCameraIdList()
504 delete[] cameraIdList->cameraIds; in deleteCameraIdList()
DACameraManager.h75 void getCameraIdList(std::vector<hidl_string> *cameraIds);
DACameraDevice.cpp180 outReq->physicalSettings.emplace(physicalCameraIdList->cameraIds[i], in createCaptureRequest()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp324 static bool isCameraIdFound(int cameraId, const Vector<int>& cameraIds) { in isCameraIdFound() argument
325 for (int i = 0, n = cameraIds.size(); i < n; ++i) { in isCameraIdFound()
326 if (cameraId == cameraIds[i]) { in isCameraIdFound()
334 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile() argument
351 if (!isCameraIdFound(cameraId, cameraIds)) { in createCamcorderProfile()
352 cameraIds.add(cameraId); in createCamcorderProfile()
457 void MediaProfiles::initRequiredProfileRefs(const Vector<int>& cameraIds) { in initRequiredProfileRefs() argument
458 ALOGV("Number of camera ids: %zu", cameraIds.size()); in initRequiredProfileRefs()
459 CHECK(cameraIds.size() > 0); in initRequiredProfileRefs()
460 mRequiredProfileRefs = new RequiredProfiles[cameraIds.size()]; in initRequiredProfileRefs()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp127 std::vector<String8> cameraIds; in findFlashUnits() local
130 cameraIds.resize(numberOfCameras); in findFlashUnits()
132 for (size_t i = 0; i < cameraIds.size(); i++) { in findFlashUnits()
133 cameraIds[i] = String8(ids[i].c_str()); in findFlashUnits()
138 for (auto &id : cameraIds) { in findFlashUnits()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1004 String[] cameraIds = null; in getCameraIdList() local
1016 cameraIds = new String[idCount]; in getCameraIdList()
1022 cameraIds[idCount] = mDeviceStatus.keyAt(i); in getCameraIdList()
1029 Arrays.sort(cameraIds, new Comparator<String>() { in getCameraIdList()
1057 return cameraIds; in getCameraIdList()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraDevice.h64 const char** cameraIds; ///< list of camera device Ids member
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp122 cameraIdList.cameraIds = idPointerList.data(); in initCamera()
679 mCameraManager, mCameraIdList->cameraIds[i], staticMetadata); in findCandidateLogicalCamera()
713 *cameraId = mCameraIdList->cameraIds[i]; in findCandidateLogicalCamera()
790 const char* cameraId = mCameraIdList->cameraIds[0]; in TEST_F()
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h364 void initRequiredProfileRefs(const Vector<int>& cameraIds);
391 int cameraId, const char **atts, Vector<int>& cameraIds);
/frameworks/av/include/media/
DMediaProfiles.h364 void initRequiredProfileRefs(const Vector<int>& cameraIds);
391 int cameraId, const char **atts, Vector<int>& cameraIds);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java1297 String[] cameraIds, int numberOfCameras) { in AndroidCamera2DeviceInfo() argument
1299 mCameraIds = cameraIds; in AndroidCamera2DeviceInfo()
1304 for (int id = 0; id < cameraIds.length; ++id) { in AndroidCamera2DeviceInfo()
1306 int lensDirection = cameraManager.getCameraCharacteristics(cameraIds[id]) in AndroidCamera2DeviceInfo()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java109 String[] cameraIds = mCameraManager.getCameraIdList(); in resume() local
110 for (String id : cameraIds) { in resume()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java104 String[] cameraIds = mCameraManager.getCameraIdList(); in resume() local
105 for (String id : cameraIds) { in resume()