Lines Matching refs:numCameras
938 return mCameraIdList->numCameras; in getNumCameras()
942 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraId()
950 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraChars()
1250 for (int i = 0; i < physicalCameraIdList->numCameras; i++) { in createRequestsWithErrorLog()
1664 ALOGI("Number of cameras: %d", cameraIdList->numCameras); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1665 for (int i = 0; i < cameraIdList->numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1695 int numCameras = cameraIdList->numCameras; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative() local
1709 if (listener.getAvailableCount() < numCameras) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
1711 numCameras, listener.getAvailableCount()); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
1745 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative() local
1752 numCameras = cameraIdList->numCameras; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1754 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1869 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() local
1879 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1880 if (numCameras < 0) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1881 LOG_ERROR(errorString, "Testcase returned negavtive number of cameras: %d", numCameras); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1885 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1947 int numCameras = cameraIdList->numCameras; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative() local
1948 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2177 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative() local
2187 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
2188 if (numCameras < 0) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
2189 LOG_ERROR(errorString, "Testcase returned negavtive number of cameras: %d", numCameras); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
2193 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
2315 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate() local
2336 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2337 if (numCameras < 0) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2338 LOG_ERROR(errorString, "Testcase returned negavtive number of cameras: %d", numCameras); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2342 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2584 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative() local
2594 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
2595 if (numCameras < 0) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
2596 LOG_ERROR(errorString, "Testcase returned negavtive number of cameras: %d", numCameras); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
2600 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
2692 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative() local
2704 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2705 if (numCameras < 0) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2706 LOG_ERROR(errorString, "Testcase returned negavtive number of cameras: %d", numCameras); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2710 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
2823 int numCameras = 0; in nativeCameraDeviceLogicalPhysicalStreaming() local
2840 numCameras = testCase.getNumCameras(); in nativeCameraDeviceLogicalPhysicalStreaming()
2841 if (numCameras < 0) { in nativeCameraDeviceLogicalPhysicalStreaming()
2842 LOG_ERROR(errorString, "Testcase returned negavtive number of cameras: %d", numCameras); in nativeCameraDeviceLogicalPhysicalStreaming()
2846 for (int i = 0; i < numCameras; i++) { in nativeCameraDeviceLogicalPhysicalStreaming()
3117 int numCameras = 0; in nativeImageReaderTestBase() local
3134 numCameras = testCase.getNumCameras(); in nativeImageReaderTestBase()
3135 if (numCameras < 0) { in nativeImageReaderTestBase()
3136 LOG_ERROR(errorString, "Testcase returned negavtive number of cameras: %d", numCameras); in nativeImageReaderTestBase()
3140 for (int i = 0; i < numCameras; i++) { in nativeImageReaderTestBase()
3383 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative() local
3395 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative()
3396 if (numCameras < 0) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative()
3397 LOG_ERROR(errorString, "Testcase returned negative number of cameras: %d", numCameras); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative()
3401 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCaptureFailureNative()
3711 int numCameras = 0; in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative() local
3725 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3726 if (numCameras < 0) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3727 LOG_ERROR(errorString, "Testcase returned negavtive number of cameras: %d", numCameras); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
3731 for (int i = 0; i < numCameras; i++) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()