Eric Laurent
da9db484bf
Merge "sound trigger: initial implementation of TREBLE HAL"
2016-10-12 18:32:36 +00:00
Chia-I Wu
1e00defbac
Merge changes from topic 'gralloc-hal'
...
* changes:
graphics: add a default implementation to IMapper
graphics: add IMapper to complement IAllocator
graphics: add a default implementation to IAllocator
Add HAL definition for graphics buffer allocator
2016-10-12 18:11:45 +00:00
TreeHugger Robot
7ff7da9095
Merge changes from topic 'hidl-light-hal'
...
* changes:
Adding android.hardware.light@2.0 service.
Light 2.0 hal default implementation.
Add lights 2.0 hal.
2016-10-12 16:40:52 +00:00
Eric Laurent
fc496a2fff
sound trigger: initial implementation of TREBLE HAL
...
Initial version of the sound trigger HAL for TREBLE model.
Functionally equivalent to legacy HAL.
Bug: 30222631
Test: build verified
Change-Id: I3cc904f21e1d81458ef877352b21c25a798cd355
2016-10-12 08:55:36 -07:00
Mikhail Naganov
d2586811e8
Merge "Remove redundant prefixes from enums in audio common types and effects HAL"
2016-10-12 15:33:35 +00:00
Chia-I Wu
0f215c5a33
graphics: add a default implementation to IMapper
...
The default implementatoin is built on top of conventional gralloc1.
Test: make android.hardware.graphics.mapper.hallib
Change-Id: I8647dc69dbb1637a141d36358d5769f450422ac1
2016-10-12 06:59:26 -07:00
Chia-I Wu
9af67ec5f8
graphics: add IMapper to complement IAllocator
...
IMapper is loaded in-process and is defined in C++ instead of HIDL. To
guarantee binary compability, the interface is a struct of function
pointers instead of a class of pure virtual member functions. The
functions pointed to by the function pointers must also have C-linkage and
have all of their parameters PODs.
Implementations are expected to be installed to
/oem/lib/hw/android.hardware.graphics.mapper.hallib.so
/vendor/lib/hw/android.hardware.graphics.mapper.hallib.so
/system/lib/hw/android.hardware.graphics.mapper.hallib.so
(lib64 instead of lib for 64-bit implementations)
The loader will look for the symbol "HALLIB_FETCH_Interface" and use it to
fetch the interface.
Test: make android.hardware.graphics.mapper@2.0
Change-Id: I3a2c7a6ce18a90adda6df2d89559c957a122fdf0
2016-10-12 06:59:26 -07:00
Chia-I Wu
109571a22a
graphics: add a default implementation to IAllocator
...
The default implementatoin is built on top of conventional gralloc1.
This also adds a static library, libgralloc1-adapter. It is intended to
ease the porting of gralloc0 to gralloc1.
Test: booted to launcher, tested with YouTube and some games.
Change-Id: Id640b1d5a1e1eea1aafabb6c134e6be6e71afff5
2016-10-12 06:59:26 -07:00
Chia-I Wu
e78aa1bd90
Add HAL definition for graphics buffer allocator
...
It differs from gralloc1.h in that
- buffer descriptors are created from a struct, BufferDescriptorInfo, to
reduce round trips
- testAllocate is a function of its own
- buffer allocation and export are two different steps
- reference counting and buffer mapping are moved to gralloc-mapper
- BAD_HANDLE is renamed to BAD_BUFFER
- GRALLOC1_CONSUMER_USAGE_FOREIGN_BUFFERS is removed
- CPU_{READ,WRITE}_OFTEN no longer implies CPU_{READ,WRITE}
Test: make android.hardware.graphics.allocator@2.0
Change-Id: Ibe9367d5b1701c0e1009da829f27fed0f7d98828
2016-10-12 06:59:26 -07:00
TreeHugger Robot
9664f7e901
Merge "vibrator: Add service for default impl"
2016-10-12 01:15:59 +00:00
TreeHugger Robot
adab5ccd42
Merge changes from topic '31177288'
...
* changes:
power: Add android.hardware.power@1.0-service
power: Add android.hardware.power@1.0-impl
power: Add Power interface 1.0
2016-10-12 00:54:24 +00:00
Steven Moreland
75078a79e0
Merge "Added test for overloading." am: a3ba3c359c
am: 51eac9ecae
am: 0a94cf6e57
...
am: a8bebf4b23
Change-Id: Ief961afe9671dc9712e3eda0a7bbe397bdeb9f17
2016-10-12 00:36:44 +00:00
Steven Moreland
a8bebf4b23
Merge "Added test for overloading." am: a3ba3c359c
am: 51eac9ecae
...
am: 0a94cf6e57
Change-Id: I79d7bc756e7f973155bfe31d06fafd9260f66850
2016-10-12 00:31:56 +00:00
Steven Moreland
0a94cf6e57
Merge "Added test for overloading." am: a3ba3c359c
...
am: 51eac9ecae
Change-Id: I4e57905a1d5d22759021db4412f44b635da6e494
2016-10-12 00:25:41 +00:00
Steven Moreland
51eac9ecae
Merge "Added test for overloading."
...
am: a3ba3c359c
Change-Id: I4deea63a5191b3ca8191a59b4c48aef2c2318a54
2016-10-12 00:19:07 +00:00
Treehugger Robot
a3ba3c359c
Merge "Added test for overloading."
2016-10-11 23:24:47 +00:00
Steven Moreland
41db6ab899
Adding android.hardware.light@2.0 service.
...
Bug: 32022100
Test: end-to-end
Change-Id: I2d143f3a283e3a230c5ae4999e492f29ffe4234c
2016-10-11 16:22:35 -07:00
Steven Moreland
81f5da98ce
Light 2.0 hal default implementation.
...
Bug: 32022100
Test: end to end
Change-Id: Ifa3c170758b57179ecc7fa518adb62b4b5916e85
2016-10-11 16:22:22 -07:00
Steven Moreland
f44888812a
Add lights 2.0 hal.
...
Bug: 32022100
Test: make android.harware.light@2.0
Change-Id: I2f326f91d43f6dc6922f0c12fd7c764d6a992ca2
2016-10-11 16:22:04 -07:00
Steven Moreland
86c848de0b
Added test for overloading.
...
Test: make, hidl_test
Bug: 31758541
Change-Id: Ia0fdad2f0b0155065a7dec5526ab5d14a9ec1f52
2016-10-11 22:40:50 +00:00
Roshan Pius
fcf7c54780
wifi: Invoke failure callbacks am: f243631af8
am: de95c70497
am: 77b9999d20
...
am: 182f980f9c
Change-Id: I529aee41677d1dbb4810fe4ca93f948bf89b8f8a
2016-10-11 21:07:51 +00:00
Roshan Pius
b0e5b164f1
wifi: Add WifiRttController object am: 5926828728
am: 6de20076a3
am: 495ffe9bcb
...
am: fc3862dc93
Change-Id: Ib50d52b59d258342bca71c94d6231186d9165b36
2016-10-11 21:07:50 +00:00
Roshan Pius
db965ee334
wifi: Add Iface related method implementations in WifiChip am: 35d958c43f
am: 11cbff5cee
am: 757938287e
...
am: c7e7cf6683
Change-Id: Id1123a2f03551dd155d98dfe4eeb57defe87ea6d
2016-10-11 21:07:48 +00:00
Roshan Pius
3563ae0b7c
wifi: Add the various iface object implementation am: 3e2d671a4c
am: 6179a92b9a
am: 53046195bf
...
am: 284a74db6d
Change-Id: I0cb4df2192f62ada493442614bb01f0f6d629306
2016-10-11 21:07:47 +00:00
Roshan Pius
f14d4d9f0b
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b
am: 638c7d6fa4
am: 06c0ff2343
...
am: 357eb45362
Change-Id: I9a8f679d6ec07360c9916db9b06010d6164f9716
2016-10-11 21:07:46 +00:00
Roshan Pius
112d067bf1
wifi: Add support for multiple chips in IWifi am: cd566bddd7
am: f7702fcfba
am: e8ff1680f0
...
am: 778b9cede7
Change-Id: If1f272063dfbb422819552726da1c95bed59fe16
2016-10-11 21:07:44 +00:00
Roshan Pius
ec32270ea8
wifi(interface): Add RTT Controller object am: fcbf923d3a
am: 83090ab624
am: c3b023d51a
...
am: 52ecf27088
Change-Id: I97f2df8c62e75689842dcad6612bc478dd0e559e
2016-10-11 21:07:43 +00:00
Roshan Pius
cfa4b71843
wifi(interface): Add Iface objects am: adcfba4b09
am: 68e09f0c35
am: bd0cd30d0d
...
am: e86e9f157a
Change-Id: I36bb6817263818bb0d360206dac09b08a1c308b2
2016-10-11 21:07:41 +00:00
Prashant Malani
5e4eb5ed98
vibrator: Add service for default impl
...
Test: m
Bug: 32021191
Change-Id: I5438a8c396103de8fb1e800e9d06165edfc1f68b
2016-10-11 14:06:08 -07:00
Roshan Pius
182f980f9c
wifi: Invoke failure callbacks am: f243631af8
am: de95c70497
...
am: 77b9999d20
Change-Id: Ib16c793e965993b184ee8825533164a889beb354
2016-10-11 21:02:33 +00:00
Roshan Pius
fc3862dc93
wifi: Add WifiRttController object am: 5926828728
am: 6de20076a3
...
am: 495ffe9bcb
Change-Id: I1707ca5f7f07236b94115e28e645ba7acce3e5f6
2016-10-11 21:02:32 +00:00
Roshan Pius
c7e7cf6683
wifi: Add Iface related method implementations in WifiChip am: 35d958c43f
am: 11cbff5cee
...
am: 757938287e
Change-Id: I120d1ed4bdb6913b7230b0e2f62629e0c9f5ffb3
2016-10-11 21:02:30 +00:00
Roshan Pius
284a74db6d
wifi: Add the various iface object implementation am: 3e2d671a4c
am: 6179a92b9a
...
am: 53046195bf
Change-Id: I14d64f7dd2e74a4519500285612aa444d3139665
2016-10-11 21:02:29 +00:00
Roshan Pius
357eb45362
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b
am: 638c7d6fa4
...
am: 06c0ff2343
Change-Id: I20fa6972e27ebf89e5ef6432bb256bd82ddc4f8b
2016-10-11 21:02:27 +00:00
Roshan Pius
778b9cede7
wifi: Add support for multiple chips in IWifi am: cd566bddd7
am: f7702fcfba
...
am: e8ff1680f0
Change-Id: I0eb3749ab1f13348c289fba7b4e7f43e8a49574a
2016-10-11 21:02:26 +00:00
Roshan Pius
52ecf27088
wifi(interface): Add RTT Controller object am: fcbf923d3a
am: 83090ab624
...
am: c3b023d51a
Change-Id: Ifcf25a429a4af5c180d2d02c10bc6c1cb41630c5
2016-10-11 21:02:24 +00:00
Roshan Pius
e86e9f157a
wifi(interface): Add Iface objects am: adcfba4b09
am: 68e09f0c35
...
am: bd0cd30d0d
Change-Id: I842340fb3b4a56c6fdd0d6a0cfbf99a4219386d8
2016-10-11 21:02:23 +00:00
Roshan Pius
77b9999d20
wifi: Invoke failure callbacks am: f243631af8
...
am: de95c70497
Change-Id: Id208c0abe50766311e7597f47a943873b78fdbb6
2016-10-11 20:56:47 +00:00
Roshan Pius
495ffe9bcb
wifi: Add WifiRttController object am: 5926828728
...
am: 6de20076a3
Change-Id: I42573cf460d4a73e07ef57afdd32f59393eb0890
2016-10-11 20:56:46 +00:00
Roshan Pius
757938287e
wifi: Add Iface related method implementations in WifiChip am: 35d958c43f
...
am: 11cbff5cee
Change-Id: I0d48778f5eb4be3ece745082b79cffa8f69a4ae8
2016-10-11 20:56:44 +00:00
Roshan Pius
53046195bf
wifi: Add the various iface object implementation am: 3e2d671a4c
...
am: 6179a92b9a
Change-Id: I1bfed5ab6fe2e765abfdcde1b81e1127e1c964f6
2016-10-11 20:56:43 +00:00
Roshan Pius
06c0ff2343
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b
...
am: 638c7d6fa4
Change-Id: I8f2d397c50478cb65af8fae8d99fe8c76f2c8b21
2016-10-11 20:56:41 +00:00
Roshan Pius
e8ff1680f0
wifi: Add support for multiple chips in IWifi am: cd566bddd7
...
am: f7702fcfba
Change-Id: If6ca4867325da53ffe88f95d7046539cb903cd1c
2016-10-11 20:56:40 +00:00
Roshan Pius
c3b023d51a
wifi(interface): Add RTT Controller object am: fcbf923d3a
...
am: 83090ab624
Change-Id: I229a08b8283a26b64244b4876e773f995c2d9062
2016-10-11 20:56:39 +00:00
Roshan Pius
bd0cd30d0d
wifi(interface): Add Iface objects am: adcfba4b09
...
am: 68e09f0c35
Change-Id: I49a49e23c72ecd54c0283d9291a1c983bb86e745
2016-10-11 20:56:37 +00:00
Roshan Pius
de95c70497
wifi: Invoke failure callbacks
...
am: f243631af8
Change-Id: Ida5787f25b0ab8cfb7a42b7d02f39871771c27d2
2016-10-11 20:49:10 +00:00
Roshan Pius
6de20076a3
wifi: Add WifiRttController object
...
am: 5926828728
Change-Id: I9d4b29916e3873b7ddba4dbf32fa51c1ceab8c91
2016-10-11 20:49:09 +00:00
Roshan Pius
11cbff5cee
wifi: Add Iface related method implementations in WifiChip
...
am: 35d958c43f
Change-Id: Id9009dd7b246940de52fbefeb251944d9106b8e5
2016-10-11 20:49:08 +00:00
Roshan Pius
6179a92b9a
wifi: Add the various iface object implementation
...
am: 3e2d671a4c
Change-Id: Ibd2223e329f8fd6c00a8782581abe3d428012a60
2016-10-11 20:49:07 +00:00
Roshan Pius
638c7d6fa4
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods
...
am: ab5c471b0b
Change-Id: I6cad5d5a233c26aee4a8a9667354a8dfad958e82
2016-10-11 20:49:06 +00:00