Commit graph

11 commits

Author SHA1 Message Date
Eino-Ville Talvala
d4392024d2 Camera: Mark camera HAL device v2.x as unsupported
Device HAL v2.x is obsolete, and no devices using it are still
supported. Mark it unsupported, and clean up native tests.

Bug: 25866588
Change-Id: I8e0f1448b8ae0eaaf3714f2351746af46c7657a7
2015-11-30 10:20:57 -08:00
Yin-Chia Yeh
c253765481 Camera: update test per interface change
CameraModule does not allow for accessing raw module pointer
anymore. Also cleanup some warnings.

Bug: 19897963

Change-Id: I111cc093f09f5fb3c4b13693d5d0687e1f441058
2015-03-24 12:07:32 -07:00
Yin-Chia Yeh
7eb3d91b87 Camera: modify test per framework interface change
Wrap camera_module_t by CameraModule to follow
framework interface change.

Change-Id: Ief423a1571cf06c7ef80b98b403a33969baf95f6
2015-02-03 14:43:09 -08:00
Zhijun He
b5ac45ff29 Camera2/3 Test: cleanup the test
1. Fix the HAL version check
2. Disable some test temporarily as the deprecated tags were used.

Bug: 16855498
Change-Id: I9f9dc285a1085b471d03c5a900cc44dd2a7480c3
2014-08-07 16:26:52 -07:00
Eino-Ville Talvala
48bb03fad3 Camera2 tests: Update paths to camera service
Change-Id: Ic50ea977194073e3768c22a5f21eb15f430fa2f5
2013-07-29 09:55:23 -07:00
Eino-Ville Talvala
4c543a1456 Enable native HAL tests to work for camera3 devices
Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817
2013-06-27 18:02:24 -07:00
Igor Murashkin
fb40d5de36 camera2_test: Allow for HAL2 version >= 2.0 (i.e. 2.1, 3.0, etc)
Change-Id: If9004d2a6d5fc581b8f63814f2f115bcd7fa5a34
2013-03-26 18:07:31 -07:00
Igor Murashkin
7acb21a65c Camera2: Tests: Release streams after HAL is unloaded
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
2012-12-20 16:35:47 -08:00
Igor Murashkin
02f3ac0189 Camera2: Tests: Skip stream tests /w formats that are not available.
Change-Id: I187ca983010483d1cb3ac951da2aa8b886828ef7
2012-12-18 11:30:09 -08:00
Igor Murashkin
eab33fc589 Camera2: Tests -- Fork each test before executing it
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
2012-11-27 11:38:06 -08:00
Igor Murashkin
e302ee3dd3 Camera2: Automated tests for testing HAL2.0 interface
Change-Id: I1f1afd5afc346d5493d5019af35c3026efcf19b5
2012-11-06 11:31:01 -08:00