Home
last modified time | relevance | path

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

/frameworks/av/camera/ndk/impl/
DACameraManager.cpp224 void CameraManagerGlobal::getCameraIdList(std::vector<String8> *cameraIds) { in getCameraIdList() argument
240 cameraIds->push_back(deviceStatus.first); in getCameraIdList()
364 out->cameraIds = new const char*[numCameras]; in getCameraIdList()
365 if (!out->cameraIds) { in getCameraIdList()
380 out->cameraIds[i] = dst; in getCameraIdList()
389 if (cameraIdList->cameraIds != nullptr) { in deleteCameraIdList()
391 if (cameraIdList->cameraIds[i] != nullptr) { in deleteCameraIdList()
392 delete[] cameraIdList->cameraIds[i]; in deleteCameraIdList()
395 delete[] cameraIdList->cameraIds; in deleteCameraIdList()
DACameraManager.h58 void getCameraIdList(std::vector<String8> *cameraIds);
/frameworks/av/media/libmedia/
DMediaProfiles.cpp310 static bool isCameraIdFound(int cameraId, const Vector<int>& cameraIds) { in isCameraIdFound() argument
311 for (int i = 0, n = cameraIds.size(); i < n; ++i) { in isCameraIdFound()
312 if (cameraId == cameraIds[i]) { in isCameraIdFound()
320 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile() argument
337 if (!isCameraIdFound(cameraId, cameraIds)) { in createCamcorderProfile()
338 cameraIds.add(cameraId); in createCamcorderProfile()
443 void MediaProfiles::initRequiredProfileRefs(const Vector<int>& cameraIds) { in initRequiredProfileRefs() argument
444 ALOGV("Number of camera ids: %zu", cameraIds.size()); in initRequiredProfileRefs()
445 CHECK(cameraIds.size() > 0); in initRequiredProfileRefs()
446 mRequiredProfileRefs = new RequiredProfiles[cameraIds.size()]; in initRequiredProfileRefs()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp129 std::vector<String8> cameraIds; in findFlashUnits() local
131 cameraIds.resize(numberOfCameras); in findFlashUnits()
134 for (size_t i = 0; i < cameraIds.size(); i++) { in findFlashUnits()
135 cameraIds[i] = String8(ids[i].c_str()); in findFlashUnits()
140 for (auto &id : cameraIds) { in findFlashUnits()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraManager.h80 const char** cameraIds; ///< list of identifier of connected camera devices member
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java837 String[] cameraIds = null; in getCameraIdList() local
849 cameraIds = new String[idCount]; in getCameraIdList()
855 cameraIds[idCount] = mDeviceStatus.keyAt(i); in getCameraIdList()
859 return cameraIds; in getCameraIdList()
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h352 void initRequiredProfileRefs(const Vector<int>& cameraIds);
379 int cameraId, const char **atts, Vector<int>& cameraIds);
/frameworks/av/include/media/
DMediaProfiles.h352 void initRequiredProfileRefs(const Vector<int>& cameraIds);
379 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()