diff options
author | Yu Shan Emily Lau <yslau@google.com> | 2009-11-16 14:49:52 -0800 |
---|---|---|
committer | Yu Shan Emily Lau <yslau@google.com> | 2009-11-16 14:51:56 -0800 |
commit | 154d112a5ac848e986ed9c13f97b195f004bc151 (patch) | |
tree | 7012d27793ce6f21909ba095da49c9839101009e /tests | |
parent | 4d55cb369de5933025af40bece5e08830aae935e (diff) | |
download | LegacyCamera-154d112a5ac848e986ed9c13f97b195f004bc151.zip LegacyCamera-154d112a5ac848e986ed9c13f97b195f004bc151.tar.gz LegacyCamera-154d112a5ac848e986ed9c13f97b195f004bc151.tar.bz2 |
Increse the wait time for image capture.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/src/com/android/camera/stress/CameraLatency.java | 5 |
1 files changed, 3 insertions, 2 deletions
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 <Camera> { 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 <Camera> { } 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 = " |