Lines Matching refs:testCase
1113 PreviewTestCase testCase; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() local
1115 camera_status_t ret = testCase.initWithErrorLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1121 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1128 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1134 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1142 if (testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1147 ret = testCase.closeCamera(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1155 if (!testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1161 ret = testCase.deInit(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative()
1365 PreviewTestCase testCase; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative() local
1367 camera_status_t ret = testCase.initWithErrorLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1373 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1380 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1386 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1394 if (testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1399 ANativeWindow* previewAnw = testCase.initPreviewAnw(env, jPreviewSurface); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1405 CaptureSessionListener* sessionListener = testCase.getSessionListener(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1413 ret = testCase.createCaptureSessionWithLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1427 testCase.closeSession(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1440 ret = testCase.createCaptureSessionWithLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1446 testCase.closeSession(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1455 ret = testCase.resetWithErrorLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1463 if (!testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1469 ret = testCase.deInit(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
1491 PreviewTestCase testCase; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative() local
1493 camera_status_t ret = testCase.initWithErrorLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1499 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1506 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1512 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1520 if (testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1525 ANativeWindow* previewAnw = testCase.initPreviewAnw(env, jPreviewSurface); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1531 ret = testCase.createCaptureSessionWithLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1537 ret = testCase.createRequestsWithErrorLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1543 ret = testCase.startPreview(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1551 ret = testCase.resetWithErrorLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1559 if (!testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1565 ret = testCase.deInit(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
1591 PreviewTestCase testCase; in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative() local
1594 testCase.setDumpFilePathBase(outPath); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1597 camera_status_t ret = testCase.initWithErrorLog(); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1603 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1610 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1616 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1624 if (testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1629 mediaRet = testCase.initImageReaderWithErrorLog( in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1636 ret = testCase.createCaptureSessionWithLog(); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1642 ret = testCase.createRequestsWithErrorLog(); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1650 ret = testCase.takePicture(); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1661 if (testCase.getReaderImageCount() == NUM_TEST_IMAGES) { in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1668 if (testCase.getReaderImageCount() != NUM_TEST_IMAGES) { in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1670 cameraId, NUM_TEST_IMAGES, testCase.getReaderImageCount()); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1674 ret = testCase.resetWithErrorLog(); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1682 if (!testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1688 ret = testCase.deInit(); in Java_android_hardware_camera2_cts_NativeImageReaderTest_testJpegNative()
1717 PreviewTestCase testCase; in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative() local
1720 testCase.setDumpFilePathBase(outPath); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1723 camera_status_t ret = testCase.initWithErrorLog(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1729 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1736 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1742 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1750 if (testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1755 mediaRet = testCase.initImageReaderWithErrorLog( in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1762 ANativeWindow* previewAnw = testCase.initPreviewAnw(env, jPreviewSurface); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1768 ret = testCase.createCaptureSessionWithLog(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1774 ret = testCase.createRequestsWithErrorLog(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1780 ret = testCase.startPreview(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1791 ret = testCase.takePicture(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1802 if (testCase.getReaderImageCount() == NUM_TEST_IMAGES) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1809 if (testCase.getReaderImageCount() != NUM_TEST_IMAGES) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1811 cameraId, NUM_TEST_IMAGES, testCase.getReaderImageCount()); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1815 ret = testCase.resetWithErrorLog(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1823 if (!testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
1829 ret = testCase.deInit(); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()