/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.cpp | 239 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()
|
D | ACameraManager.h | 65 void getCameraIdList(std::vector<String8> *cameraIds);
|
D | ACameraDevice.cpp | 152 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/ |
D | ACameraManager.cpp | 333 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()
|
D | ACameraManager.h | 75 void getCameraIdList(std::vector<hidl_string> *cameraIds);
|
D | ACameraDevice.cpp | 180 outReq->physicalSettings.emplace(physicalCameraIdList->cameraIds[i], in createCaptureRequest()
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 324 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/ |
D | CameraFlashlight.cpp | 127 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/ |
D | CameraManager.java | 1004 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/ |
D | NdkCameraDevice.h | 64 const char** cameraIds; ///< list of camera device Ids member
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | AImageReaderVendorTest.cpp | 122 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/ |
D | MediaProfiles.h | 364 void initRequiredProfileRefs(const Vector<int>& cameraIds); 391 int cameraId, const char **atts, Vector<int>& cameraIds);
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 364 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/ |
D | AndroidCamera2AgentImpl.java | 1297 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/ |
D | CameraOps.java | 109 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/ |
D | CameraOps.java | 104 String[] cameraIds = mCameraManager.getCameraIdList(); in resume() local 105 for (String id : cameraIds) { in resume()
|