@Config(shadows=ShadowSystemClock.class) public class CameraMetricsCollectorTest extends java.lang.Object
Constructor and Description |
---|
CameraMetricsCollectorTest() |
Modifier and Type | Method and Description |
---|---|
void |
testCameraOpenExceptionWithoutRelease()
Check when a camera exception happens and no camera release is called,
we also don't record any camera open time.
|
void |
testCameraOpenExceptionWithRelease()
Check when a camera exception happens before its release, we don't
record any camera open time.
|
void |
testIncompleteOpenSnapshot() |
void |
testIncompletePreviewSnapshot() |
void |
testSimpleOpenSnapshot() |
void |
testSimplePreviewSnapshot() |
public void testSimpleOpenSnapshot()
public void testSimplePreviewSnapshot()
public void testIncompleteOpenSnapshot()
public void testIncompletePreviewSnapshot()
public void testCameraOpenExceptionWithRelease()
public void testCameraOpenExceptionWithoutRelease()