/frameworks/av/camera/tests/ |
D | CameraCharacteristicsPermission.cpp | 35 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()
|
D | CameraBinderTests.cpp | 336 int32_t numCameras = 0; in TEST() local 337 res = service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras); in TEST() 339 EXPECT_LE(0, numCameras); in TEST() 347 EXPECT_EQ(numCameras, static_cast<const int>(statuses.size())); in TEST() 352 for (int32_t i = 0; i < numCameras; i++) { in TEST() 413 int32_t numCameras; member in CameraClientBinderTest 462 &numCameras); in SetUp() 467 numCameras = 0; in TearDown() 477 EXPECT_TRUE(serviceListener->waitForNumCameras(numCameras)); in TEST_F() 478 for (int32_t i = 0; i < numCameras; i++) { in TEST_F()
|
D | CameraZSLTests.cpp | 39 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/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 220 int numCameras = static_cast<int>(ids.size()); in prepareDeviceOpen() local 221 for (int i = 0; i < numCameras; i++) { in prepareDeviceOpen() 266 int numCameras = static_cast<int>(ids.size()); in deviceClosed() local 267 for (int i = 0; i < numCameras; i++) { in deviceClosed()
|
D | CameraService.cpp | 621 Status CameraService::getNumberOfCameras(int32_t type, int32_t* numCameras) { in getNumberOfCameras() argument 630 *numCameras = static_cast<int>(mNormalDeviceIds.size()); in getNumberOfCameras() 632 *numCameras = static_cast<int>(mNormalDeviceIdsWithoutSystemCamera.size()); in getNumberOfCameras() 637 *numCameras = mNumberOfCameras; in getNumberOfCameras() 639 *numCameras = mNumberOfCamerasWithoutSystemCamera; in getNumberOfCameras()
|
D | CameraService.h | 119 virtual binder::Status getNumberOfCameras(int32_t type, int32_t* numCameras);
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | ACameraManagerTest.cpp | 148 if (mCameraIdList->numCameras < 1) { in SetUp() 190 ASSERT_EQ(mAvailabilityListener.getAvailableCount(), mCameraIdList->numCameras); in TEST_F() 200 for (int i = 0; i < mCameraIdList->numCameras; i++) { in TEST_F()
|
D | AImageReaderVendorTest.cpp | 137 cameraIdList.numCameras = idPointerList.size(); in initCamera() 555 if (mCameraIdList->numCameras < 1) { in SetUp() 680 for (int i = 0; i < mCameraIdList->numCameras; i++) { in findCandidateLogicalCamera()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTest.java | 78 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/camera/ndk/impl/ |
D | ACameraManager.cpp | 638 int numCameras = idList.size(); in getCameraIdList() local 644 out->numCameras = numCameras; in getCameraIdList() 645 out->cameraIds = new const char*[numCameras]; in getCameraIdList() 651 for (int i = 0; i < numCameras; i++) { in getCameraIdList() 671 for (int i = 0; i < cameraIdList->numCameras; i ++) { in deleteCameraIdList()
|
D | ACameraDevice.cpp | 134 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/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
D | CameraPreviewActivity.java | 105 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/ndk_vendor/impl/ |
D | ACameraManager.cpp | 669 int numCameras = idList.size(); in getCameraIdList() local 675 out->numCameras = numCameras; in getCameraIdList() 676 out->cameraIds = new const char*[numCameras]; in getCameraIdList() 682 for (int i = 0; i < numCameras; i++) { in getCameraIdList() 702 for (int i = 0; i < cameraIdList->numCameras; i ++) { in deleteCameraIdList()
|
D | ACameraDevice.cpp | 167 for (auto i = 0; i < physicalCameraIdList->numCameras; i++) { in createCaptureRequest()
|
/frameworks/av/camera/ndk/include/camera/ |
D | NdkCameraDevice.h | 61 int numCameras; ///< Number of camera device Ids member
|