Commit graph

5031 commits

Author SHA1 Message Date
Dan Albert
332da11294 Include what you use.
Test: mma
Bug: None
Change-Id: I024a2ee0af142c1bb923fcefd54b8b2077107476
Exempt-From-Owner-Approval: trivial cleanup
2017-12-12 15:42:00 -08:00
Emilian Peev
eec2ee9633 camera: Bump device version to 3.5
This version update adds support for session keys and
session parameters.

Bug: 64450664
Test: Camera CTS

Change-Id: Id14dbde5083c974b86b942dfd6e904dbe85e0ee5
2017-12-11 15:06:34 +00:00
android-build-team Robot
b287f1dfa4 Snap for 4496165 from a7348efe27 to pi-release
Change-Id: I54bf476e15ba263f5c0c64ce896111e415257925
2017-12-11 12:10:12 +00:00
Chih-hung Hsieh
a7348efe27 Merge "Allow warnings in modules/camera/3_4." am: d8bffba62a am: dd67309182
am: 38a4fbe55b

Change-Id: If914c66f7c5be51db275cc73f2deb6bb0d19f594
2017-12-08 04:51:30 +00:00
Xin Li
fb4463b71a Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: df84805752 -s ours am: 800b2a04ab
am: dce6510fe9  -s ours

Change-Id: I8228f8bb1aef79f933bce3ac5856e3a14152a943
2017-12-08 04:51:11 +00:00
Stephen Li
3f173bda8b Manually merge changes from giant AOSP topic
Change-Id: Icdd078fce1349f3b01156296041b04860310198e
2017-12-07 23:51:11 +00:00
Chih-hung Hsieh
38a4fbe55b Merge "Allow warnings in modules/camera/3_4." am: d8bffba62a
am: dd67309182

Change-Id: I817f8ccfd10b28b5ecd5b948b1e493259478e2d2
2017-12-07 11:42:11 +00:00
Xin Li
dce6510fe9 Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: df84805752 -s ours
am: 800b2a04ab

Change-Id: If1b589fee0e3e23796a62e763567a2f51aeee50c
2017-12-07 11:41:51 +00:00
Chih-hung Hsieh
dd67309182 Merge "Allow warnings in modules/camera/3_4."
am: d8bffba62a

Change-Id: I99de3b18c8f190832900b453b19050f63a787751
2017-12-07 11:38:33 +00:00
Xin Li
800b2a04ab Merge "DO NOT MERGE: Merge Oreo MR1 into master"
am: df84805752  -s ours

Change-Id: I8bda6fa3dee0ed6ad955c926db42a5ab87a77511
2017-12-07 11:38:05 +00:00
android-build-team Robot
e096be4b25 Snap for 4489599 from 26ab80dcaa to pi-release
Change-Id: I5ab44a848a8af8f0306c289ba84efb6412bc5610
2017-12-07 08:22:45 +00:00
Xin Li
57062621ac DO NOT MERGE: Merge Oreo MR1 into master am: b225691d51 -s ours
am: 74492cc0a6

Change-Id: I94d423dd062b65ec4016ca15e690e83e4159db04
2017-12-07 06:46:01 +00:00
Xin Li
74492cc0a6 DO NOT MERGE: Merge Oreo MR1 into master
am: b225691d51  -s ours

Change-Id: Ie423a6769bea6137d2bfa1f49a6d20b6dda76c68
2017-12-07 04:18:11 +00:00
Chih-hung Hsieh
d8bffba62a Merge "Allow warnings in modules/camera/3_4." 2017-12-07 03:14:57 +00:00
Chih-Hung Hsieh
37ee37170d Allow warnings in modules/camera/3_4.
* This directory still has many warnings to fix.

Bug: 66996870
Test: normal build
Exempt-From-Owner-Approval: quick fix for broken build
Change-Id: I7f3cef3016ba16cb7ddbe6721cf74c71c1cbf1a2
2017-12-07 03:14:09 +00:00
Xin Li
df84805752 Merge "DO NOT MERGE: Merge Oreo MR1 into master" 2017-12-06 23:18:29 +00:00
Xin Li
b225691d51 DO NOT MERGE: Merge Oreo MR1 into master
Exempt-From-Owner-Approval: Changes already landed internally
Change-Id: I51e6f2609847198d9df53a4a96089e50017d4ca4
2017-12-06 14:24:51 -08:00
Chih-Hung Hsieh
26ab80dcaa Merge "Use -Werror in hardware/libhardware/modules" am: 298fc4f6f5 am: 66f312b91c
am: 81a536751c

Change-Id: I78eb43d3b34086a03d3e24c7b2ce4b5b2ea1d393
2017-12-06 18:54:17 +00:00
Chih-Hung Hsieh
81a536751c Merge "Use -Werror in hardware/libhardware/modules" am: 298fc4f6f5
am: 66f312b91c

Change-Id: I7392c80adccfab190528814d15f9c540277d0780
2017-12-06 18:47:11 +00:00
Chih-Hung Hsieh
66f312b91c Merge "Use -Werror in hardware/libhardware/modules"
am: 298fc4f6f5

Change-Id: I3c23dc4ce4609ec27402cae52b71ef79067c8e73
2017-12-06 18:42:24 +00:00
Treehugger Robot
298fc4f6f5 Merge "Use -Werror in hardware/libhardware/modules" 2017-12-06 18:34:13 +00:00
android-build-team Robot
0598cccbb4 Snap for 4486962 from 95953ab214 to pi-release
Change-Id: Iceb79047fc65b9f06fd0b1016dc356f3602a71e3
2017-12-06 08:22:29 +00:00
TreeHugger Robot
95953ab214 Merge "Remove unused variables/labels to eliminate compile warnings." 2017-12-05 20:49:44 +00:00
Paul McLean
96c4d3035a Remove unused variables/labels to eliminate compile warnings.
Test: built and run on Marlin and testing with various USB peripherals.
Bug:70180519
Change-Id: I68d7d33ffff8983117508e02a76d62c71d708c76
2017-12-05 09:50:26 -08:00
Glenn Kasten
e2d38e855f Merge "Update OWNERS for hardware/libhardware" am: 677e69672e am: a2ead3357a
am: d7770099f9

Change-Id: I9d4eff510e787d14678298a0599de5f1ab72a12d
2017-12-05 17:45:06 +00:00
Glenn Kasten
d7770099f9 Merge "Update OWNERS for hardware/libhardware" am: 677e69672e
am: a2ead3357a

Change-Id: Ibe79c6d2c8a0c4e187bb24fece50e0ae9379bc1b
2017-12-05 17:41:37 +00:00
Glenn Kasten
a2ead3357a Merge "Update OWNERS for hardware/libhardware"
am: 677e69672e

Change-Id: Iac1ec78026d2a8713678cd9b34a96954403894b1
2017-12-05 17:37:58 +00:00
Glenn Kasten
677e69672e Merge "Update OWNERS for hardware/libhardware" 2017-12-05 16:57:26 +00:00
android-build-team Robot
94ade08040 Snap for 4484469 from 5856253ab4 to pi-release
Change-Id: Iad82819e0decc0d79deb1e796663e5f57c562800
2017-12-05 08:32:13 +00:00
Justin Yun
5856253ab4 Merge "libhardware do not open system hal for vendor modules" am: 3ee44f16e8 am: e393415b33
am: d848ffe7cd

Change-Id: Ic4d0bc3aba4bcfb6b2ea6592bc8e0c666e1d0df1
2017-12-05 01:58:22 +00:00
Justin Yun
d848ffe7cd Merge "libhardware do not open system hal for vendor modules" am: 3ee44f16e8
am: e393415b33

Change-Id: I6cd6ed32768ed2e3d670ddfb5fe75e0b8375b2b8
2017-12-05 01:33:39 +00:00
Chih-Hung Hsieh
d2edc970b1 Merge "Use -Werror in hardware/libhardware/tests" am: b4639a653f am: 42c85194d8
am: eabfb82dcf

Change-Id: I4edf0702838ccf5ad36d27d83020d7180cc9dcae
2017-12-05 01:22:43 +00:00
Justin Yun
e393415b33 Merge "libhardware do not open system hal for vendor modules"
am: 3ee44f16e8

Change-Id: I914d574723ba168114d07f9a09dd87af5e8461d5
2017-12-05 01:22:08 +00:00
Justin Yun
3ee44f16e8 Merge "libhardware do not open system hal for vendor modules" 2017-12-05 01:07:01 +00:00
Chih-Hung Hsieh
eabfb82dcf Merge "Use -Werror in hardware/libhardware/tests" am: b4639a653f
am: 42c85194d8

Change-Id: Ia71ccf5d6c4aa2b68c43cc1fa1881042128190b3
2017-12-05 01:04:02 +00:00
Chih-Hung Hsieh
42c85194d8 Merge "Use -Werror in hardware/libhardware/tests"
am: b4639a653f

Change-Id: Ic8d88ba6604e5ffd41d124bd5ccfc4b151f91444
2017-12-05 00:38:26 +00:00
Treehugger Robot
b4639a653f Merge "Use -Werror in hardware/libhardware/tests" 2017-12-05 00:06:23 +00:00
Chih-Hung Hsieh
4224d9ea16 Use -Werror in hardware/libhardware/tests
* Remove unused local variables.
* Suppress warning of unused template functions.
* Fix error of unused expression value.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I5a37c24f3be0f61b0ae4552e34b7311f561d499e
2017-12-04 13:32:48 -08:00
Glenn Kasten
427e381b24 Update OWNERS for hardware/libhardware
Test: N/A
Change-Id: I066a0a7bbbb52e1a09769d02d11499039b336efa
2017-12-04 10:09:55 -08:00
Justin Yun
8f30cfc41b libhardware do not open system hal for vendor modules
For vendor modules, do not search system directory.
Also, vendor modules do not need to dlopen system hals.

Those are allowed only for system modules.

Bug: 62209000
Test: On the device, use camera, audio and bluetooth a2dp.
Change-Id: If7af82a694ef8de901adae7e9aeb187a30e50b02
2017-12-04 12:20:06 +09:00
Chih-Hung Hsieh
1f601b1d7d Use -Werror in hardware/libhardware/modules
* Remove unused local variables.
* Remove or comment out unused static functions.
* Fix trivial bugs found by unused value warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I99389b883c89551850180d25241a35a40bb77b26
2017-12-01 10:37:19 -08:00
Paul McLean
9880f12e19 Removing unused and misleading constant.
Test: None needed.

Change-Id: I1fa020f38f488b0cf5196284f29220c3e6c1acd0
2017-11-30 12:15:44 -07:00
android-build-team Robot
e72b89fc5a Snap for 4459973 from 6e8afead53 to pi-release
Change-Id: I5bc9d303cdb316b4b2983364dabc107cda65f87c
2017-11-19 08:21:44 +00:00
Jaesung Chung
6e8afead53 Override HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED during setuping streams
This CL makes the hack(ag/3176281) in frameworks/av not needed no longer.

Bug: 69321320
Test: After reverting the hack in av, the camera sample app works.
Exempt-From-Owner-Approval: HAL is owned by Things team.
Change-Id: I510531bed401fe4fa6071fc151a1f75307a5decb
2017-11-16 02:30:38 +00:00
android-build-team Robot
0f43f2e9b1 Snap for 4453288 from e159d7e6b2 to pi-release
Change-Id: Idbec5bb4da0d3db2bb37f6d1ba9eeb3ae70b0998
2017-11-15 08:31:03 +00:00
Xin Li
e159d7e6b2 Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am: 7b6c6ffc8d

Change-Id: I6b1c348bf0a82a6c100e3862f5e47b8e8805a99c
2017-11-15 01:33:24 +00:00
Xin Li
7b6c6ffc8d Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Change-Id: I90b054ee0e69513771ee9f2a16f125d38b4e8618
2017-11-14 16:38:20 -08:00
android-build-team Robot
0bce7a96d7 Snap for 4450504 from 0811139dd8 to pi-release
Change-Id: Iffcbfd12433bd4c0a85c53892255dfe97ca27986
2017-11-14 08:28:51 +00:00
Jaesung Chung
424744cc4d Use RGB24 format instead of BGR32
BGR32 mode is in RPi3's camera has a RB color swapping issue. This CL
makes to use stable RGB24 mode instead to avoid the problem without
causing any quality regression.

Bug: 69075512
Test: RB color swapping problem is gone on preview, recording and stil.
Exempt-From-Owner-Approval: HAL is owned by Things team.
Change-Id: I109363c0f68cec45f92e739a978f554e70032151
2017-11-14 08:00:16 +00:00
Xin Li
1d4b3d5f8f Merge commit '61f704a28f9d984eef9ee645a6e4e761130a5609' into HEAD
Change-Id: I7d27a79c89740aa041c42e1396e8bfc89bc1d4f4
2017-11-13 14:35:39 -08:00