summaryrefslogtreecommitdiffstats
path: root/tests/camera2/CameraModuleTests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Camera2: Tests: ModuleTests should not return OK for bad indicesIgor Murashkin2012-12-201-8/+9
| | | | Change-Id: Ia7a199d091edb4054dcd2d7164e57b3b653c5a64
* Camera2: Tests: Ignore V1 device initialization failures.Igor Murashkin2012-12-201-2/+25
| | | | | | This allows CameraModuleTests.LoadModule and GetCameraInfo to pass. Change-Id: Id6e38afc6d9c5d45933d3117c7895775a30ee679
* Camera2: Tests: Release streams after HAL is unloadedIgor Murashkin2012-12-201-0/+9
| | | | | | | | | | This fixes a segfault in the HAL where it was trying to write to a locked buffer that disappeared from underneath it. Any users of CameraModuleFixture should now call SetUp/TearDown explicitly. Other classes remain unchanged until we need a custom TearDown order for them. Change-Id: I9aa8c2d86492a76f2c01c1ad4cbe0cf91e5c7916
* Camera2: Tests -- Fork each test before executing itIgor Murashkin2012-11-271-26/+12
| | | | | | | Use CAMERA2_TEST_FORKING_DISABLED=1 environment variable to override this behavior (e.g. when wanting to attach gdb to the test app). Change-Id: Ib639885bdb827fc2415c878cbcb1b2d84dff687b
* Camera2: Automated tests for testing HAL2.0 interfaceIgor Murashkin2012-11-061-0/+120
Change-Id: I1f1afd5afc346d5493d5019af35c3026efcf19b5