Eino-Ville Talvala
797976876f
am d95a340b
: Merge "Camera2 tests: Fix incorrect error code check" into mnc-dev
...
* commit 'd95a340b9f74b38703e78b3e2e8bc43f49c3ebf8':
Camera2 tests: Fix incorrect error code check
2015-07-14 15:06:53 +00:00
Ruben Brunk
fa8430875c
am 49f58811
: Remove out-of-date camera2 native tests.
...
* commit '49f58811ea29ff8bed5e307d8018ead075731881':
Remove out-of-date camera2 native tests.
2015-07-14 15:06:52 +00:00
Eino-Ville Talvala
d95a340b9f
Merge "Camera2 tests: Fix incorrect error code check" into mnc-dev
2015-07-11 00:32:27 +00:00
Eino-Ville Talvala
5ad8086ad7
Camera2 tests: Fix incorrect error code check
...
Bug: 22410279
Change-Id: Iad74e90d148908aafd39878608c10fe03c689b8a
2015-07-10 15:06:02 -07:00
Ruben Brunk
49f58811ea
Remove out-of-date camera2 native tests.
...
Bug: 22410279
Change-Id: Ib4a39306115e05b8e430bdc8456ad940b3426a8e
2015-07-10 14:45:56 -07:00
Dan Albert
b1988842df
am 5e901ed4
: Merge "Use abort() instead of a null dereference."
...
* commit '5e901ed49faed3465c9df8e6cf6c684249bb3c8c':
Use abort() instead of a null dereference.
2015-06-11 20:05:53 +00:00
Dan Albert
5b57857c7f
Use abort() instead of a null dereference.
...
Clang deletes these because they're invalid. It's pretty awful of
clang to do this, but this should be abort() anyway.
Change-Id: I89423ff2c4d08db82077e56b726549e3783d38e1
2015-06-11 11:04:52 -07:00
Eino-Ville Talvala
cd6984e762
Camera2 tests: Update for framework changes
...
Change-Id: I9ac788cfe9a001ef33bdc52a9e8ba0bdcf3ded2c
2015-06-09 15:23:34 -07: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
5407ef1ec2
Camera: Fix tests per camera service interface change
...
Also clarify rotation field has no meaning and will always be 0
for a input stream.
Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333
2015-03-16 13:11:11 -07:00
Eino-Ville Talvala
898ad176cd
Camera tests: Adjust for framework device interface changes
...
Account for requirement to pass in dataspace in stream creation.
Change-Id: Ibc5af912ef4a55b787c70843fc82422977a02c0b
2015-03-09 12:54:15 -07:00
Eino-Ville Talvala
e69efbbabf
Replace/rename old HAL graphics formats
...
- Replace RAW_SENSOR with RAW16
- Remove sRGB formats
Change-Id: Ic5c44878c638c3d3559495ea5685e10fcc2c39e1
2015-03-06 13:19:36 -08: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
Dan Albert
6bafdcb508
am 4f1fe2f5
: Merge "Fix build in C++11 mode"
...
* commit '4f1fe2f59889d88ed026596c1841043db7edbc6f':
Fix build in C++11 mode
2014-12-17 02:43:50 +00:00
Bernhard Rosenkränzer
1f1d79732f
Fix build in C++11 mode
...
Fix build in C++11 mode instead of reverting to C++98 mode.
(Fixes some constructs that were mistaken for C++11 literals and
a use of the std::ostream(NULL) constructor).
Building in C++98 mode causes clang to fall over conflicting definitions
of char16_t.
Change-Id: I66230eeb960f4a894d6c98fe7935ec932569c5a4
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-12-12 22:16:55 +01:00
Dan Albert
9d018618c4
am 58afe329
: Merge "Use an older C++ standard."
...
* commit '58afe329533dc60618186f414d945829706ed772':
Use an older C++ standard.
2014-11-20 23:00:38 +00:00
Dan Albert
e51237cda5
Use an older C++ standard.
...
Bug: 18466763
Change-Id: Ibea0eb2617f13bacca0a662fe4ca88fc8a168cd7
2014-11-20 21:14:12 +00:00
Dan Stoza
1497e7e767
am e0e834e3
: Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
...
* commit 'e0e834e3fe5561bf87aac7f88faaed39f0937a64':
Add a BufferItem parameter to onFrameAvailable
2014-11-07 20:03:42 +00:00
Dan Stoza
e0e834e3fe
Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
2014-11-07 19:44:33 +00:00
Yin-Chia Yeh
3d31e157d0
am 8d3acf6e
: Merge "Camera2/3 HAL test: cleanup deprecated keys" into lmp-mr1-dev
...
* commit '8d3acf6e6e58c392fcdc4913e49c6b1ded8117c8':
Camera2/3 HAL test: cleanup deprecated keys
2014-11-07 18:35:40 +00:00
Yin-Chia Yeh
8df990b3a2
Camera2/3 HAL test: cleanup deprecated keys
...
Bug:16877860
Change-Id: I1eddec02cefa39692f63cc54cc40b75f449516a7
2014-11-06 10:11:32 -08:00
Dan Stoza
32ef0cae63
Add a BufferItem parameter to onFrameAvailable
...
Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.
Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
2014-11-04 11:39:35 -08:00
Dan Albert
98b8aaf3de
am 9f497870
: Merge "Don\'t manually link stlport."
...
* commit '9f4978701783942e836aeab526727458e9cb1492':
Don't manually link stlport.
2014-09-26 19:53:02 +00:00
Dan Albert
a2671def0c
am 9f497870
: Merge "Don\'t manually link stlport."
...
* commit '9f4978701783942e836aeab526727458e9cb1492':
Don't manually link stlport.
2014-09-26 19:53:02 +00:00
Dan Albert
04d2191800
Don't manually link stlport.
...
Change-Id: Ib5a6e31b3a6dea39b45727a49356fa2838ea77bc
2014-09-26 10:55:44 -07:00
Zhijun He
1c3e65731a
Camera2/3 HAL test: Update tet according createStream change
...
Bug: 14327010
Change-Id: I45d2ab4859ee0cc9273e579254f0569108c748f1
2014-08-10 21:24:49 -07: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
Zhijun He
32282973ba
Camera2: Build both 32 and 64 bit test binaries
...
Change-Id: I6efd201a52bb546efa59ff0a5178a25a040654b4
2014-05-30 10:02:59 -07:00
Sasha Levitskiy
0ab4c96ab8
Camera2: Tests: 64-bit warning fixit
...
Change-Id: Idb761d2bfd8f07838a194f986f7c0a06429f4049
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-21 14:50:01 -07:00
Jianing Wei
f816eea8f1
Camera2 test: fix build break due to change in camera service.
...
Change-Id: If8785df9209c83ccd1454b89b46d5e885f897cae
2014-04-10 14:17:57 -07:00
Dan Stoza
5dce9e4f26
Remove deprecated BufferQueue constructor
...
Bug: 13415624
Change-Id: Ia2ed4b5bc7289f8d8ab6e6a431746b43c81842bc
2014-04-07 13:39:37 -07:00
Eino-Ville Talvala
f50fa9fb9b
am ab140462
: am 37de84bc
: Merge "Camera2 Test: fix test criteria for exposure time"
...
* commit 'ab14046292922d1ad0df84f3231f1e8b6233b737':
Camera2 Test: fix test criteria for exposure time
2014-03-29 01:09:31 +00:00
Gaurav Batra
a1bef2b9a6
Camera2 Test: fix test criteria for exposure time
...
Add some tolerance while testing requested exposure times against capture times.
Change-Id: I609e7819cde8ee466e152775781a6542e6686ded
2014-03-28 17:03:36 -07:00
Ruben Brunk
237d1c15c1
camera3: Remove old vendor tag ops dependencies.
...
Bug: 12134423
Change-Id: I7acdf76d4c0674bdb1cc939592d4620687c785c3
2014-03-10 19:01:06 -07:00
Zhijun He
b44ff6508b
Camera2 Test: Skip CameraModuleTest for HAL V1 devices
...
Bug: 10971907
Change-Id: Ia3aa0e370d7eb5de6bb1fb7ff48a71ea5605fa17
2013-10-28 15:52:56 -07:00
Zhijun He
3bf3b45f2d
Camera2 Test: skip some tests for limited hardware level
...
Bug: 10388724
Change-Id: Ifd13f72f1b7ff78cf50dc1c238f17c4b4e90d9b0
2013-09-23 10:13:17 -07:00
Zhijun He
60cbb52613
Camera2 Test: Fix module and burst test issues
...
Bug: 10388724
Change-Id: Idc404cf8a7a96c00941aa8f1880734a236cb3737
2013-09-19 19:01:04 -07:00
Zhijun He
b3ac07c002
Camera2 Tests: fix some sanity checks
...
Remove the requirement of HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED and make and
fix some minor issues.
Bug: 10388724
Change-Id: I18f0ea60f87902d6c2bbaca53957a91953866c40
2013-09-17 16:53:55 -07:00
Zhijun He
914226ce76
Camera2 Test: check the right result metadata
...
We need check the right result metadata by looking for the right request id.
Bug: 10710768
Change-Id: I1e946f82e569fa6afc5067552c3f850ffffbf698
2013-09-12 02:45:12 -07:00
Zhijun He
a159417389
Camera2 Tests: Fix stream id types
...
Bug: 10604704
Change-Id: I5edddb1011d6744225c59f44bd6df8ae4234d336
2013-09-06 15:35:09 -07:00
Zhijun He
8ef0144a52
Camera2 Tests: Add multiple stream tests
...
Add a test to test multiple stream configuration: one preview stream, one small
size YUV burst capture stream, and one large size YUV burst capture stream.
Also cleanup the code.
Bug 10325342
Change-Id: I676484cc0034055caa8f2a8788100ed34b4cefbb
2013-08-19 12:43:19 -07:00
Zhijun He
6e548cf960
Camera2 tests: Fix a typo of a test check
...
Change-Id: Ib47eba8d01e93d0c3ce2b1e8bc2ff638529e32f9
2013-08-08 19:48:56 -07:00
Mathias Agopian
3321f1b709
Fix build, 2nd attempt
...
Change-Id: Iaa86a6888a5ccf784b13f4c3b2d8dc4813612155
2013-08-06 14:22:12 -07:00
Mathias Agopian
ef18cb7133
Fix build.
...
Change-Id: Ibf73106f8be63cf433fafe9510c8477f74b7ac41
2013-08-06 14:17:59 -07:00
Eino-Ville Talvala
48bb03fad3
Camera2 tests: Update paths to camera service
...
Change-Id: Ic50ea977194073e3768c22a5f21eb15f430fa2f5
2013-07-29 09:55:23 -07:00
Zhijun He
7f3ce00606
Camera2Test: fix build break due to metadata change
...
Change-Id: I1b81f14fe0f093a7d29d0b0facdb1886d521d256
2013-07-18 17:12:48 -07:00
Ying Wang
1973f4a2f2
always pass the BufferQueue explicitely to consumers
...
to fix tests build.
Change-Id: Ifec605926324683ac9b12b8ed3cbfb6ac02ec18c
2013-07-15 22:18:04 -07:00
Mathias Agopian
6a400fa3da
Merge "always pass the BufferQueue explicitely to consumers"
2013-07-16 02:18:05 +00:00
Mathias Agopian
3ce8f0277c
always pass the BufferQueue explicitely to consumers
...
Change-Id: Ie13b251d6bfadd533fa045ec5d3299ee8ae752af
2013-07-12 22:06:45 -07:00
Eino-Ville Talvala
7d831712b3
Camera tests: Add variable burst test
...
By default, this test runs through a range of application-set
exposure, frame duration, and sensitivity values, and verifies
that the duration of capture, and in some cases the brightness,
match what's expected.
Optionally, it can use environment variables to specify the
burst parameters, and to enable dumping the captured YUV images
to flash for later debugging.
Change-Id: I647d360344ef3684e99c86c369e96ac82e62fc96
2013-07-12 10:21:21 -07:00