Home
last modified time | relevance | path

Searched refs:numCameras (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/camera/tests/
DCameraCharacteristicsPermission.cpp35 CameraCharacteristicsPermission() : numCameras(0){} in CameraCharacteristicsPermission()
40 int32_t numCameras; member in CameraCharacteristicsPermission
51 hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras); in SetUp()
63 for (int32_t cameraId = 0; cameraId < numCameras; cameraId++) { in TEST_F()
DCameraBinderTests.cpp330 int32_t numCameras = 0; in TEST() local
331 res = service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras); in TEST()
333 EXPECT_LE(0, numCameras); in TEST()
341 EXPECT_EQ(numCameras, static_cast<const int>(statuses.size())); in TEST()
346 for (int32_t i = 0; i < numCameras; i++) { in TEST()
405 int32_t numCameras; member in CameraClientBinderTest
453 &numCameras); in SetUp()
458 numCameras = 0; in TearDown()
468 EXPECT_TRUE(serviceListener->waitForNumCameras(numCameras)); in TEST_F()
469 for (int32_t i = 0; i < numCameras; i++) { in TEST_F()
DCameraZSLTests.cpp39 CameraZSLTests() : numCameras(0), mPreviewBufferCount(0), in CameraZSLTests()
68 int32_t numCameras; member in CameraZSLTests
86 hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras); in SetUp()
167 for (int32_t cameraId = 0; cameraId < numCameras; cameraId++) { in TEST_F()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp440 int numCameras = idList.size(); in getCameraIdList() local
446 out->numCameras = numCameras; in getCameraIdList()
447 out->cameraIds = new const char*[numCameras]; in getCameraIdList()
453 for (int i = 0; i < numCameras; i++) { in getCameraIdList()
473 for (int i = 0; i < cameraIdList->numCameras; i ++) { in deleteCameraIdList()
DACameraDevice.cpp134 if (physicalIdList->numCameras > static_cast<int>(mPhysicalIds.size())) { in createCaptureRequest()
136 __FUNCTION__, physicalIdList->numCameras, mPhysicalIds.size()); in createCaptureRequest()
139 for (auto i = 0; i < physicalIdList->numCameras; i++) { in createCaptureRequest()
173 for (auto i = 0; i < physicalIdList->numCameras; i++) { in createCaptureRequest()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp466 int numCameras = idList.size(); in getCameraIdList() local
472 out->numCameras = numCameras; in getCameraIdList()
473 out->cameraIds = new const char*[numCameras]; in getCameraIdList()
479 for (int i = 0; i < numCameras; i++) { in getCameraIdList()
499 for (int i = 0; i < cameraIdList->numCameras; i ++) { in deleteCameraIdList()
DACameraDevice.cpp167 for (auto i = 0; i < physicalCameraIdList->numCameras; i++) { in createCaptureRequest()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java78 int numCameras = mUtils.getCameraService().getNumberOfCameras(CAMERA_TYPE_ALL); in testNumberOfCameras() local
80 numCameras >= mUtils.getGuessedNumCameras()); in testNumberOfCameras()
81 Log.v(TAG, "Number of cameras " + numCameras); in testNumberOfCameras()
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp221 int numCameras = static_cast<int>(ids.size()); in prepareDeviceOpen() local
222 for (int i = 0; i < numCameras; i++) { in prepareDeviceOpen()
267 int numCameras = static_cast<int>(ids.size()); in deviceClosed() local
268 for (int i = 0; i < numCameras; i++) { in deviceClosed()
DCameraService.h112 virtual binder::Status getNumberOfCameras(int32_t type, int32_t* numCameras);
DCameraService.cpp456 Status CameraService::getNumberOfCameras(int32_t type, int32_t* numCameras) { in getNumberOfCameras() argument
461 *numCameras = static_cast<int>(mNormalDeviceIds.size()); in getNumberOfCameras()
464 *numCameras = mNumberOfCameras; in getNumberOfCameras()
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java105 int numCameras = Camera.getNumberOfCameras(); in onCreate() local
106 String[] cameraNames = new String[numCameras]; in onCreate()
107 for (int i = 0; i < numCameras; i++) { in onCreate()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraDevice.h63 int numCameras; ///< Number of camera device Ids member
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp137 cameraIdList.numCameras = idPointerList.size(); in initCamera()
555 if (mCameraIdList->numCameras < 1) { in SetUp()
680 for (int i = 0; i < mCameraIdList->numCameras; i++) { in findCandidateLogicalCamera()