Home
last modified time | relevance | path

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

/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp666 return mCameraIdList->numCameras; in getNumCameras()
670 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraId()
1205 ALOGI("Number of cameras: %d", cameraIdList->numCameras); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1206 for (int i = 0; i < cameraIdList->numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1236 int numCameras = cameraIdList->numCameras; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative() local
1250 if (listener.getAvailableCount() < numCameras) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
1252 numCameras, listener.getAvailableCount()); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
1285 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative() local
1292 numCameras = cameraIdList->numCameras; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1294 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
[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.java123 int numCameras = Camera.getNumberOfCameras(); in testCameraFeatures() local
124 if (numCameras == 0) { in testCameraFeatures()
193 int numCameras = Camera.getNumberOfCameras(); in checkFrontCamera() local
195 for (int i = 0; i < numCameras; i++) { in checkFrontCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java129 int numCameras = Camera.getNumberOfCameras(); in onCreate() local
130 String[] cameraNames = new String[numCameras]; in onCreate()
131 for (int i = 0; i < numCameras; i++) { in onCreate()
600 int numCameras = Camera.getNumberOfCameras(); in calcAllCombinationsSize() local
602 for (int i = 0; i<numCameras; i++) { in calcAllCombinationsSize()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java107 int numCameras = mCameraIds.length; in setUp() local
108 mCameraHolders = new CameraHolder[numCameras]; in setUp()
109 for (int i = 0; i < numCameras; i++) { in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java270 int numCameras = Camera.getNumberOfCameras(); in onCreate() local
271 String[] cameraNames = new String[numCameras]; in onCreate()
272 for (int i = 0; i < numCameras; i++) { in onCreate()
277 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/libimagereaderjni/
DAImageReaderCts.cpp92 if (mCameraIdList->numCameras < 1) { in initCamera()