summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYu Shan Emily Lau <yslau@google.com>2009-11-16 19:52:44 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-11-16 19:52:44 -0800
commite517ec71f0e16224f67bcb039761e12850095541 (patch)
treeb210e407e4cac5c07660e630c368a39756c74983 /tests
parentea7c3e6a714c6c34c0fa7c06513bbdd69d39f8f7 (diff)
parent154d112a5ac848e986ed9c13f97b195f004bc151 (diff)
downloadLegacyCamera-e517ec71f0e16224f67bcb039761e12850095541.zip
LegacyCamera-e517ec71f0e16224f67bcb039761e12850095541.tar.gz
LegacyCamera-e517ec71f0e16224f67bcb039761e12850095541.tar.bz2
am 154d112a: Increse the wait time for image capture.
Merge commit '154d112a5ac848e986ed9c13f97b195f004bc151' into eclair-mr2 * commit '154d112a5ac848e986ed9c13f97b195f004bc151': Increse the wait time for image capture.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/src/com/android/camera/stress/CameraLatency.java5
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 = "