From: Yu Shan Emily Lau Date: Mon, 16 Nov 2009 22:49:52 +0000 (-0800) Subject: Increse the wait time for image capture. X-Git-Tag: android-x86-2.2~94^2~12^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=154d112a5ac848e986ed9c13f97b195f004bc151;p=android-x86%2Fpackages-apps-Camera.git Increse the wait time for image capture. --- diff --git a/tests/src/com/android/camera/stress/CameraLatency.java b/tests/src/com/android/camera/stress/CameraLatency.java index 68e5f1f..484d4c0 100755 --- a/tests/src/com/android/camera/stress/CameraLatency.java +++ b/tests/src/com/android/camera/stress/CameraLatency.java @@ -35,7 +35,7 @@ import android.view.KeyEvent; public class CameraLatency extends ActivityInstrumentationTestCase2 { private String TAG = "CameraLatency"; private static final int TOTAL_NUMBER_OF_IMAGECAPTURE = 20; - private static final long WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN = 3000; + private static final long WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN = 4000; private static final String CAMERA_TEST_OUTPUT_FILE = "/sdcard/mediaStressOut.txt"; private long mTotalAutoFocusTime; @@ -122,7 +122,8 @@ public class CameraLatency extends ActivityInstrumentationTestCase2 { } catch (Exception e) { fail("Camera Latency write output to file"); } - + Log.v(TAG, "The Image capture wait time = " + + WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); Log.v(TAG, "Avg AutoFocus = " + mAvgAutoFocusTime); Log.v(TAG, "Avg mShutterLag = " + mAvgShutterLag); Log.v(TAG, "Avg mShutterToPictureDisplayedTime = "