Home
last modified time | relevance | path

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

/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp1102 return mCameraIdList->numCameras; in getNumCameras()
1106 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraId()
1121 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraChars()
1429 for (int i = 0; i < physicalCameraIdList->numCameras; i++) { in createRequestsWithErrorLog()
1890 ALOGI("Number of cameras: %d", cameraIdList->numCameras); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1891 for (int i = 0; i < cameraIdList->numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1921 int numCameras = cameraIdList->numCameras; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative() local
1945 if (listener.getAvailableCount() < numCameras) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative()
1947 numCameras, listener.getAvailableCount()); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative()
1960 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative()
[all …]
/cts/tests/tests/graphics/jni/
DCameraTestHelpers.cpp48 if (mCameraIdList->numCameras < 1) { in initCamera()
52 ALOGI("Found %d camera(s).", mCameraIdList->numCameras); in initCamera()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java140 int numCameras = Camera.getNumberOfCameras(); in testCameraFeatures() local
141 if (numCameras == 0) { in testCameraFeatures()
231 int numCameras = Camera.getNumberOfCameras(); in checkFrontCamera() local
233 for (int i = 0; i < numCameras; i++) { in checkFrontCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java161 int numCameras = Camera.getNumberOfCameras(); in onCreate() local
162 String[] cameraNames = new String[numCameras]; in onCreate()
163 for (int i = 0; i < numCameras; i++) { in onCreate()
706 int numCameras = Camera.getNumberOfCameras(); in calcAllCombinationsSize() local
708 for (int i = 0; i<numCameras; i++) { in calcAllCombinationsSize()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java116 int numCameras = mCameraIdsUnderTest.length; in setUp() local
117 mCameraHolders = new CameraHolder[numCameras]; in setUp()
118 for (int i = 0; i < numCameras; i++) { in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java299 int numCameras = Camera.getNumberOfCameras(); in onCreate() local
300 String[] cameraNames = new String[numCameras]; in onCreate()
301 for (int i = 0; i < numCameras; i++) { in onCreate()
306 Log.v(TAG, "onCreate: number of cameras=" + numCameras); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java221 int numCameras = Camera.getNumberOfCameras(); in onResume() local
222 for (int cameraId = 0; cameraId < numCameras; ++cameraId) { in onResume()
/cts/tests/tests/media/misc/jni/
DAImageReaderCts.cpp93 if (mCameraIdList->numCameras < 1) { in initCamera()