Po-Chien Hsueh
c535b2fded
Move default HAL libraries to vendor
...
Libraries under /hardware/libhardware/modules should go to /vendor/.
These are conventionl HALs for default implementations, most of them
are not used.
Camera and thermal are already moved in other CLs.
Bug: 35907904
Test: Compiled and checked install path. Verified on Sailfish with
$ lsof | grep default.
Change-Id: Ibde574001c01cbfea014a20a0fbbb3265e6cdc8a
2017-03-07 11:28:32 +08:00
Jiyong Park
5067fe1a19
Move thermal HAL to vendor partition
...
In order to build generic system image that is agnostic to SoC or
device, HALs should be moved from system partition to vendor
partition.
Bug: 34826389, 35743509
Test: build & run and check whether the HAL is loaded from
/vendor/lib[64]/hw.
$ su; lsof | grep thermal.
Change-Id: Ia2bb060590f31688528de4a3b9b9ab8fbd376b6c
2017-02-27 13:11:33 +09:00
Tomasz Wasilczyk
33683bf92b
Review radio metadata allocations/deallocations.
...
Bug: b/34054813
Test: VTS, manual
Change-Id: I1cbd7baf5b852cd3d4cab374eb67289f3938fff3
2017-02-16 22:59:22 +00:00
Tomasz Wasilczyk
3e9a5396b0
Merge "Add radio HAL stub to the build list; fix format warning." am: cd4bc27771
am: 9e1874d6a3
am: ac4a492730
...
am: 105fea4ab3
Change-Id: I2b43feb5969e39b80740716f08cf559b660eaf21
2017-02-09 20:27:33 +00:00
Tomasz Wasilczyk
ac4a492730
Merge "Add radio HAL stub to the build list; fix format warning." am: cd4bc27771
...
am: 9e1874d6a3
Change-Id: I01a1c7aa5db67f4bb368fbadc5939fd1fc3df5c8
2017-02-09 20:23:31 +00:00
Tomasz Wasilczyk
dd2f59e4ab
Add radio HAL stub to the build list; fix format warning.
...
Test: it builds
Change-Id: Id093441b9909f564d30f8351931ee3ccf55f2617
2017-02-08 15:04:31 -08:00
Ashutosh Joshi
9eb5bbd45f
Drop support for old Sensor HALs.
...
Dropping support for Sensor HAL version 1.0.
Sensor HALs version 1.1 and 1.2 are already depracated.
This makes version 1.3 as the earliest supported version.
Test: Sensors CTS tests still pass.
Change-Id: I806ce1d0d9277cbb312d9f90749975420cef2109
2017-01-09 17:09:35 -08:00
Tomasz Wasilczyk
3c7297a55a
Make metadata field mandatory for program info struct.
...
Test: VTS, manual
Change-Id: I105f960442839f512db593615e2f2548ffdded35
2017-01-06 14:19:52 -08:00
Romain Guy
d0eb44c6da
Add support for *_FP16 pixel formats
...
Bug: 32984164
Test: compile
Change-Id: I0851c62f140801c6784fdb597b3d947402aa5876
2016-12-16 09:53:20 -08:00
Nick Vaccaro
8a83708dae
Sensors: MultiHal: add support for HIDL
...
Add get_multi_hal_module_info() to support using multi-hal
functionality within the HIDL sensor implementation.
Move externally relevant constants and prototypes to new multihal.h
file.
Add new Android.bp for Treble to build multi-hal into a static
library that is now included by the HIDL sensor implementation.
Bug: 32022308
Change-Id: I2b3afa9ff1e0a2e5a098e643dde99ec86bb88206
2016-12-15 14:09:34 -08:00
TreeHugger Robot
00f43fc376
Merge "fifo: add dependency needed after re-implementation of MonoPipe"
2016-12-14 00:29:01 +00:00
Eric Laurent
de8e013f54
stub radio HAL: fix default antenna connected state for FM.
...
Bug: 33583729
Change-Id: Ifbd2c95ab34a8faa7d31f4a1b2f28c6d7df38766
Test: build and run broadcast radio VTS
2016-12-13 14:21:51 -08:00
Glenn Kasten
57eaa9bcd8
fifo: add dependency needed after re-implementation of MonoPipe
...
MonoPipe is being re-implemented on top of FIFO in audio_utils.
Test: builds OK
Change-Id: I42a30c5cc859150c3b9e2b23aad3c9c14c7c341a
2016-12-12 15:54:14 -08:00
liuchao
2c038fa66f
Merge "Add else branch to avoide fclose(NULL)" am: 10b043bb13
am: dded161774
am: 903044c667
...
am: f7e0b5185e
Change-Id: I63549a1b35a0ffb82f90f0cf0ea0fdc5005f4943
2016-11-22 16:52:00 +00:00
liuchao
903044c667
Merge "Add else branch to avoide fclose(NULL)" am: 10b043bb13
...
am: dded161774
Change-Id: Ifda3e38fe8129b8ea680c99689f9b0a49fdba831
2016-11-22 16:26:40 +00:00
liuchao
dded161774
Merge "Add else branch to avoide fclose(NULL)"
...
am: 10b043bb13
Change-Id: I224fec5854599172b49792167a7c92af56d55443
2016-11-22 16:24:09 +00:00
liuchao
df7d84a049
Add else branch to avoide fclose(NULL)
...
This fixes a potential NULL-pointer reference crash in case
cpu_file == NULL and pass NULL to fclose().
Test: mm -j 8
Change-Id: Ib3267676bea910533bd85ac2935efe02d361fc6b
2016-11-16 09:26:53 +08:00
Dmitry Shmidt
4d2f024df6
resolve merge conflicts of d20fe45
to stage-aosp-master
...
am: a905c234da
Change-Id: I7406c544bdb2a0ffa545640bc6a4e56acbd4e1ef
2016-10-26 23:13:58 +00:00
Dmitry Shmidt
a905c234da
resolve merge conflicts of d20fe45
to stage-aosp-master
...
Change-Id: I4669a7566205f01217c9104b489fed4ee8d3fe3b
2016-10-26 16:02:39 -07:00
Dmitry Shmidt
a898f93475
audio: Fix size_t related warnings
...
Test: manual
Change-Id: I34961243f2d4b95c47d954fc616404391302595a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-10-26 13:54:25 -07:00
Eric Laurent
c37e6fe0ce
radio: fixes in stub FM radio HAL.
...
Change-Id: I0adf39a08a364ffdecb1c7f618190174804865f4
2016-10-25 14:26:29 -07:00
Nick Vaccaro
1e8c5b1e22
Sensors: MultiHal: support sensor API version 1.4 am: c1ded2afef
...
am: 2fef0a95e9
Change-Id: I5c63fa98b137c64f906543ff23748e2ef683fe8b
2016-10-14 21:42:44 +00:00
Nick Vaccaro
2fef0a95e9
Sensors: MultiHal: support sensor API version 1.4
...
am: c1ded2afef
Change-Id: I74d275a51937754917d5115750bfb783fbb06b2c
2016-10-14 21:38:48 +00:00
Nick Vaccaro
c1ded2afef
Sensors: MultiHal: support sensor API version 1.4
...
Add ability to support HALs with an API version of
SENSORS_DEVICE_API_VERSION_1_4.
Bug: 32113642
Change-Id: If61ff54faa9aefc959102a097df60e75a230cae3
2016-10-14 10:31:56 -07:00
Glenn Kasten
2494caec36
Be stricter about warnings
...
Test: build for several platforms
Change-Id: I8d66a74c72713f3cd7021b1924f72ea4a9e11c15
2016-10-07 08:44:58 -07:00
Greg Kaiser
09c2455a67
Merge "modules/camera: Fix compiler warnings" am: f7888e1130
am: f832261e65
am: d6cebded75
...
am: c25d13db4a
Change-Id: Ie66d7974be62bb0db5bfcf73a3ddbb28cd9f8390
2016-09-01 01:53:45 +00:00
Greg Kaiser
c25d13db4a
Merge "modules/camera: Fix compiler warnings" am: f7888e1130
am: f832261e65
...
am: d6cebded75
Change-Id: I503be65fbe7c7f40f6700705f70184eebba182ab
2016-08-31 22:10:26 +00:00
Greg Kaiser
f7888e1130
Merge "modules/camera: Fix compiler warnings"
2016-08-31 21:55:30 +00:00
Ari Hausman-Cohen
4f7139e6d9
Move Camera HAL 3.0 reference implementation.
...
Moved files to a subdir to allow reference implementations
of other versions to join this same space without conflict.
BUG: b/31117512
TEST: lunch bullhead-eng, make -j32, m -j32 camera.default
Change-Id: I9bc3047bd3c00c53ce4d4e4f2070d8ee1453c936
2016-08-26 15:49:50 -07:00
Greg Kaiser
ba31c43d96
Merge "modules/power: Silence compiler warnings" am: cbd7b77367
am: 161beacc8c
am: 82fdd04600
...
am: 81284e97f1
Change-Id: I8de30429715f7f3b551191254a649cfbf6569639
2016-08-25 16:59:22 +00:00
Greg Kaiser
81284e97f1
Merge "modules/power: Silence compiler warnings" am: cbd7b77367
am: 161beacc8c
...
am: 82fdd04600
Change-Id: I0d4f8aa78f78f3f6d9f2d01171e5cadf052afbba
2016-08-25 16:38:17 +00:00
Greg Kaiser
5e53f5d85e
modules/camera: Fix compiler warnings
...
Change-Id: I9a58f45cbfc09e4e1a243fa657dd0955648bf101
2016-08-25 06:20:32 -07:00
Greg Kaiser
854bf684af
modules/power: Silence compiler warnings
...
Change-Id: Ib70ea23bd70ac39990cee5e1c435e346ab8f244d
2016-08-25 06:13:52 -07:00
Greg Kaiser
c9011b87c0
Merge "usbcamera: Fix compiler warnings"
2016-08-15 21:17:52 +00:00
Greg Kaiser
e8343251f5
modules/local_time: Silence compiler warning.
...
Change-Id: If1fe4fcdf38171c696498d7a3d74d4a1fbb7b706
2016-08-08 13:57:40 -07:00
Nick Vaccaro
3fa9ea788f
Sensors: MultiHal: ignore errors from poll calls
...
am: 59d9fb4f88
Change-Id: Iaebf7d97b6ed89247a5e125930269ab01ccb52ea
2016-08-08 17:05:52 +00:00
Greg Kaiser
7a915effde
usbcamera: Fix compiler warnings
...
Change-Id: Ifc9fec5e90f5295d2b4a5b4c8648510565b9ba17
2016-08-08 09:35:54 -07:00
Nick Vaccaro
59d9fb4f88
Sensors: MultiHal: ignore errors from poll calls
...
MultiHal was not properly fielding errors from the poll() calls of
sub-HALs. Propagating errors received from sub-HALs up to Sensor
Services causes Sensor Services to abort, so instead of propagating
the error up to Sensor Services, the MultiHal logs a message to
logcat to fix the sub-HAL problem.
Bug: 30060537
Change-Id: I6e20c193a2f2d228da48cf3d5a23e439eaf663df
2016-08-05 21:04:24 -07:00
Greg Kaiser
a6de449b50
Merge "hwcomposer: Fix compiler warnings"
2016-07-20 13:30:37 +00:00
Nick Vaccaro
6121b08a53
MultiHal: ignore errors from poll calls
...
MultiHal was not properly fielding errors from the poll() calls of
sub-HALs. Propagating errors received from sub-HALs up to Sensor
Services causes Sensor Services to abort, so instead of propagating
the error up to Sensor Services, the MultiHal logs a message to
logcat to fix the sub-HAL problem.
Bug: 30060537
Change-Id: I6e20c193a2f2d228da48cf3d5a23e439eaf663df
(cherry picked from commit 877af59f24
)
2016-07-20 00:27:29 +00:00
Andy Hung
a374941340
resolve merge conflicts of 03ed3e9
to master
...
Change-Id: Ib673e9cd0c2260bf5333ff0caa4a61cd2a98f473
2016-07-14 22:47:38 -07:00
Andy Hung
03ed3e9be0
Merge \"Improve stub hal read and write timing\" into nyc-mr1-dev
...
am: 4d2023e33a
Change-Id: Ifde2c9c73e963c1513c1fd1bd82df1009963a676
2016-07-15 05:12:25 +00:00
Dan Willemsen
917bcc4df9
resolve merge conflicts of 69ed5d9
to stage-aosp-master am: d269bf4328
am: c1965c958c
...
am: 0002fe0e75
Change-Id: I0c0f7b10857f97e0e4d4700069beaee0cc4cfd11
2016-07-13 19:30:24 +00:00
Dan Willemsen
0002fe0e75
resolve merge conflicts of 69ed5d9
to stage-aosp-master am: d269bf4328
...
am: c1965c958c
Change-Id: I8b58348b884eedac1852984c65f87f014256b4d0
2016-07-13 19:26:54 +00:00
Dan Willemsen
d269bf4328
resolve merge conflicts of 69ed5d9
to stage-aosp-master
...
Change-Id: I1e86670dcf4e3187efca4beff673bbc057cbd509
2016-07-13 11:28:47 -07:00
Andy Hung
0caeee8ac4
Improve stub hal read and write timing
...
Now considers time to mix or record.
Bug: 29634175
Change-Id: Ifb2a2e11cb75ca9e83aadbc95943a618b0707f3f
2016-07-13 11:19:40 -07:00
Dan Willemsen
f51bf92061
Begin converting Android.mk to Android.bp
...
These modules have their dependencies satisfied.
Change-Id: I67986efd7478e477770bedac72ab35a407e3d06a
2016-07-12 23:34:37 -07:00
Greg Kaiser
2c8df717c8
Merge "nfc-nci: Silence compiler warnings"
2016-07-11 20:44:37 +00:00
Greg Kaiser
ca3fed183e
Merge "InputHub: Fix compiler warnings"
2016-07-11 19:45:59 +00:00
Sam Hurst
e58feec48f
Default VHAL always returns 0 for driving status
...
Bug: 29968492
Change-Id: I84416ae6fe919b102204f17166a38270a6f707e2
(cherry picked from commit 5be024b7df719f4bcca619bdbcf6643748b96f69)
2016-07-11 19:21:26 +00:00