Commit Graph

9932 Commits

Author SHA1 Message Date
Shuzhen Wang
2b7e17ff04 Merge "Camera: Do not forward capture_result in error condition" into pi-dev am: 99a619059a
am: cd024b1aa5

Change-Id: I26db7e1614586e37392f87c8177b641965026390
2018-03-12 05:14:41 +00:00
Shuzhen Wang
cd024b1aa5 Merge "Camera: Do not forward capture_result in error condition" into pi-dev
am: 99a619059a

Change-Id: Ie32b591772e8f8a2e9fe614ee809c39e51971032
2018-03-12 05:04:43 +00:00
TreeHugger Robot
99a619059a Merge "Camera: Do not forward capture_result in error condition" into pi-dev 2018-03-12 04:56:02 +00:00
TreeHugger Robot
6dbbededa9 Merge changes from topic "bt-a2dp-offload-aosp"
* changes:
  audio: Register Bluetooth service with audio HAL
  Bluetooth: A2DP offload HIDL
2018-03-10 18:37:11 +00:00
Scott Randolph
1c685fd4cc Merge "Add VTS test for automotive AudioControl HAL" into pi-dev am: b425551667
am: fa62b26740

Change-Id: I31f96e01fc1f3df0e0116acabbdee76253487ca8
2018-03-10 09:54:40 +00:00
Scott Randolph
fa62b26740 Merge "Add VTS test for automotive AudioControl HAL" into pi-dev
am: b425551667

Change-Id: Ie273dea6ff8aed6976950513fac97c2e8a893103
2018-03-10 05:03:36 +00:00
TreeHugger Robot
b425551667 Merge "Add VTS test for automotive AudioControl HAL" into pi-dev 2018-03-10 02:10:54 +00:00
Aniket Kumar Lata
c5a5203114 audio: Register Bluetooth service with audio HAL
Register Bluetooth audio library with audio HIDL service.
Changes required for A2DP offload implementation.

Bug: 68824150
Test: A2DP offload verified on supported codecs
Change-Id: Idd89f0d28903579d42bd0f33b0194fb8dc2ceaaa
2018-03-09 16:03:35 -08:00
Shuzhen Wang
17d817a889 Camera: Do not forward capture_result in error condition
If HAL calls process_capture_result with invalid buffers, the HIDL
wrapper shouldn't forward it to camera service, since the CaptureResult
structure may not be completely initialized.

Test: Run GoogleCamera
Bug: 74433802
Change-Id: Iaf20b542af5b11ffbedf709e99137b69d77a9ad3
2018-03-09 16:01:06 -08:00
Sunny Kapdi
4e95d81ef0 Bluetooth: A2DP offload HIDL
Interface for Bluetooth A2DP offload feature.

Bug: 72242910
Test: Manual; TestTracker/148125
Change-Id: I3649800dfe3e1a2d66b76859be87e01ee58d2de0
2018-03-09 15:49:24 -08:00
Ruchi Kandoi
a9ee578b87 Add VTS Test for getConfig() in NFC 1.1 am: 0f0743a503
am: cf3d870b5e

Change-Id: Ie398c137aee6f017787788a145aaca9c1b2f4eb6
2018-03-09 23:08:23 +00:00
Ruchi Kandoi
4bc3578927 NFC 1.1: Add getConfigs() method am: 61a53d98b6
am: 4f6144a4cf

Change-Id: I5ce8ae055c8852f981f8ab873348e3e6742047db
2018-03-09 23:08:03 +00:00
Ruchi Kandoi
cf3d870b5e Add VTS Test for getConfig() in NFC 1.1
am: 0f0743a503

Change-Id: I7d0850695420e50839c10619ecf104df3566d6c8
2018-03-09 22:55:56 +00:00
Ruchi Kandoi
4f6144a4cf NFC 1.1: Add getConfigs() method
am: 61a53d98b6

Change-Id: Idefbbff9b162d99f1a662bdd5e83daef61e4e6cb
2018-03-09 22:55:47 +00:00
Ruchi Kandoi
0f0743a503 Add VTS Test for getConfig() in NFC 1.1
Test: run VtsHalNfcV1_1TargetTest
Bug: 72080121
Change-Id: I89600b54d64d4f274647ab4426faf5e05b2f3d34
Merged-In: I89600b54d64d4f274647ab4426faf5e05b2f3d34
(cherry picked from commit 7fb95e3b56cfb53835cc37d3333eff7574371671)
2018-03-09 22:05:17 +00:00
Ruchi Kandoi
61a53d98b6 NFC 1.1: Add getConfigs() method
Test: Boot and check Nfc configs initialized
Bug: 72080121
Change-Id: I000cea4491b2bd136b9ece232b9d73293804c733
(cherry picked from commit 0fc60e41a2f523fb025111fcbce064d9c7a7d4cc)
2018-03-09 22:05:04 +00:00
Scott Randolph
5f2568b2e1 Add VTS test for automotive AudioControl HAL
Difficult to verify results, but at least exercises the APIs.

Bug: 71614544
Test: adb push ...VtsHalAudioControlV1_0TargetTest /data/actst; adb shell
/data/actst
Merged-In: Ie900a4e47483ef881e00a4753097dbd09a0730a0
Change-Id: Ie900a4e47483ef881e00a4753097dbd09a0730a0
2018-03-09 22:03:32 +00:00
Kevin Rocard
9152dbb718 Merge "Only allow audio V4 for devices targeting level 3" into pi-dev am: ba6f3289dd
am: 4882d164d9

Change-Id: Ifd38edbf1846c075e82e939ea7a481797b50b80d
2018-03-09 22:01:31 +00:00
Carmen Jackson
4cec59db64 Merge "Add hwcomposer to the system-background cpuset." into pi-dev am: a381942170
am: 1327639a93

Change-Id: I37050f8701a44d0ad21748bbc88e643b9e59d2b8
2018-03-09 21:57:33 +00:00
Etan Cohen
52861fed59 Merge "[RTT][AWARE] Support new legacy error codes for Aware RTT" into pi-dev am: b6df5fe23f
am: 0ef2ab8ec4

Change-Id: I807aa5017e2240dfddd87e85fbe8ad9d37f73425
2018-03-09 21:56:56 +00:00
Myles Watson
143fd4cd13 Merge "resolve merge conflicts of b9492b5fe9 to oc-mr1-dev" into oc-mr1-dev am: 8ca409dfa1 -s ours am: af9b85e29a -s ours
am: 1640a5d7ae  -s ours

Change-Id: I3a0a6619f6e2c61466717dc29f1ea851a8e45421
2018-03-09 21:56:37 +00:00
Kevin Rocard
4882d164d9 Merge "Only allow audio V4 for devices targeting level 3" into pi-dev
am: ba6f3289dd

Change-Id: I1567a8c65f06bfca78bcd1acd28e30e2c624df80
2018-03-09 21:44:30 +00:00
Carmen Jackson
1327639a93 Merge "Add hwcomposer to the system-background cpuset." into pi-dev
am: a381942170

Change-Id: Ic5fb010676e005f70a6a317593ce077ea4949ce5
2018-03-09 21:42:16 +00:00
TreeHugger Robot
ba6f3289dd Merge "Only allow audio V4 for devices targeting level 3" into pi-dev 2018-03-09 20:38:28 +00:00
Etan Cohen
0ef2ab8ec4 Merge "[RTT][AWARE] Support new legacy error codes for Aware RTT" into pi-dev
am: b6df5fe23f

Change-Id: I2d35a1b1f326f5231fafa42db87c2812b71515d8
2018-03-09 20:17:00 +00:00
Myles Watson
1640a5d7ae Merge "resolve merge conflicts of b9492b5fe9 to oc-mr1-dev" into oc-mr1-dev am: 8ca409dfa1 -s ours
am: af9b85e29a  -s ours

Change-Id: I03f213dee541cd03d4186853450ace73b01e8516
2018-03-09 20:16:12 +00:00
Carmen Jackson
a381942170 Merge "Add hwcomposer to the system-background cpuset." into pi-dev 2018-03-09 18:49:33 +00:00
Etan Cohen
b6df5fe23f Merge "[RTT][AWARE] Support new legacy error codes for Aware RTT" into pi-dev 2018-03-09 16:10:02 +00:00
Myles Watson
af9b85e29a Merge "resolve merge conflicts of b9492b5fe9 to oc-mr1-dev" into oc-mr1-dev
am: 8ca409dfa1  -s ours

Change-Id: I6f8ae34681bcead584384ce456822492ac100779
2018-03-09 01:06:31 +00:00
TreeHugger Robot
8ca409dfa1 Merge "resolve merge conflicts of b9492b5fe9 to oc-mr1-dev" into oc-mr1-dev 2018-03-09 00:57:30 +00:00
Etan Cohen
69c8922f63 [RTT][AWARE] Support new legacy error codes for Aware RTT
Translate to basic failure. TODO on adding/mapping-to new HIDL
error codes.

Bug: 73176307
Test: RangeAwareTest with known failures
Change-Id: I90e44c3f5aae3f6e565df3a63a36bd84d15c4755
2018-03-08 13:41:47 -08:00
Carmen Jackson
36e146d6fc Add hwcomposer to the system-background cpuset.
Little cores should be fast enough to handle hwcomposer work, so
avoiding using big cores for this is a potential opportunity to save
battery.

Bug: 73543056
Test: Verified using dumpsys gfxinfo that TouchLatency doesn't drop
frames.
Test: Took 10s systraces of TouchLatency and a Youtube VR video and saw
no frames dropped in SurfaceFlinger.

Change-Id: If96e13a2bacc9541f4d69a5736254817f20cacdd
2018-03-08 12:58:13 -08:00
Tomasz Wasilczyk
d074ac4024 Merge "Fix boadcastradio HAL 1.1 tuneByProgramSelector implementation." into pi-dev am: 6bf7d58e57
am: 64af90ebe2

Change-Id: I5438da1f927cd7f19ff2e0b49bd70f3e3c85d227
2018-03-08 20:34:57 +00:00
Tomasz Wasilczyk
64af90ebe2 Merge "Fix boadcastradio HAL 1.1 tuneByProgramSelector implementation." into pi-dev
am: 6bf7d58e57

Change-Id: I184ed54cd2086c7f08da02000cad864a21235cd0
2018-03-08 20:03:16 +00:00
Tomasz Wasilczyk
6bf7d58e57 Merge "Fix boadcastradio HAL 1.1 tuneByProgramSelector implementation." into pi-dev 2018-03-08 19:44:04 +00:00
Tomasz Wasilczyk
c863a957d4 Fix boadcastradio HAL 1.1 tuneByProgramSelector implementation.
It was not compliant with the HAL definition - it didn't auto-change
band if necessary.

Bug: 74353024
Test: manual
Change-Id: I015faffc42778fa27fca3030306f31b0abe409c7
2018-03-08 11:41:55 -08:00
Mikhail Naganov
43a60585aa Merge "audio HAL: Add missing input channel masks" into pi-dev am: 81d6be54bb
am: 0ba62193a1

Change-Id: I3b83ff64f5b90a3dc71817a23d02bc7af37414b8
2018-03-08 18:19:53 +00:00
Mikhail Naganov
0ba62193a1 Merge "audio HAL: Add missing input channel masks" into pi-dev
am: 81d6be54bb

Change-Id: Ie6c956fb28f58edc35bb8c7c9249df48b3dbfa18
2018-03-08 18:13:55 +00:00
TreeHugger Robot
81d6be54bb Merge "audio HAL: Add missing input channel masks" into pi-dev 2018-03-08 18:06:48 +00:00
Kevin Rocard
802931b173 Only allow audio V4 for devices targeting level 3
Device targeting the last level must use the last version of the
audio HAL.

Bug: 38184704
Test: cuttlefish has no build target, so there is no way to test,
      nevertheless the exact same trivial change was made to Pixel 2
Change-Id: If767803e08caf5b03edcea26fd8dba1cca12cc38
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-07 19:12:50 -08:00
TreeHugger Robot
af1e6958eb Merge "Implement Gnss::start() and Gnss::stop()" 2018-03-08 00:17:09 +00:00
Myles Watson
6cb05baf4b resolve merge conflicts of 8a28de7a8c to oreo-mr1-vts-dev am: 4891a02bbc am: eb6bff7234 -s ours am: 486c1de215 -s ours
am: 2b5a839570  -s ours

Change-Id: Id953ad9193c90a298af9814819c37d144c0a9520
2018-03-07 23:54:40 +00:00
Myles Watson
2b5a839570 resolve merge conflicts of 8a28de7a8c to oreo-mr1-vts-dev am: 4891a02bbc am: eb6bff7234 -s ours
am: 486c1de215  -s ours

Change-Id: I163f2602b92a4597c7df06f1709d2dfc2c509280
2018-03-07 23:24:30 +00:00
Myles Watson
486c1de215 resolve merge conflicts of 8a28de7a8c to oreo-mr1-vts-dev am: 4891a02bbc
am: eb6bff7234  -s ours

Change-Id: I86a5e151f0b4a92c3e24fe5d7601b57baee0ee4a
2018-03-07 23:11:57 +00:00
Myles Watson
eb6bff7234 resolve merge conflicts of 8a28de7a8c to oreo-mr1-vts-dev
am: 4891a02bbc

Change-Id: Ia08338df3ee163a80ec2315ecf968a2149bdf2ff
2018-03-07 23:04:56 +00:00
TreeHugger Robot
74e52fb54f Merge "audio hal default impl: Check for "default" instance name" 2018-03-07 20:02:27 +00:00
Mikhail Naganov
b7e7ccc648 audio HAL: Add missing input channel masks
The following masks added for input: 2.0.2, 2.1.2, 3.0.2, 3.1.2

Bug: 38184704
Bug: 63901775
Test: make
Change-Id: I9ffc2a1858068fdd9fe0777184ea8464e7ab0e3b
2018-03-07 19:27:02 +00:00
Mikhail Naganov
6ffde44e35 audio hal default impl: Check for "default" instance name
With MSD it's possible to have another instance of IDeviceFactory.
For passthrough implementations it's necessary to check whether
the instance name is "default" because otherwise HIDL framework
will attempt to use the default implementation for MSD.

Do the same for effects in case some special effects will be
needed for MSD.

Bug: 38184704
Bug: 63901775
Change-Id: I18044f3a97e3f6ec4dc3f35b3a9300ea404fc07e
Test: audio works, effects work
2018-03-07 10:08:15 -08:00
Myles Watson
ed87d936ef resolve merge conflicts of b9492b5fe9 to oc-mr1-dev
Test: Manually inspected the diffs.
Bug: 69785298
Change-Id: Ic0ceba1277f23927820cd0e85c07880659e39478
Merged-In: Ia1ead7ff942ffa369f88f61bcaaa8e03d7973179
2018-03-07 17:48:11 +00:00
Kevin Rocard
cef7955cda Merge changes from topic "audio-hal-v4-pi-dev" into pi-dev am: 2076105d33
am: 867128148d  -s ours

Change-Id: I92194413198bb802a4cc625d45e98a57ee54c8e2
2018-03-07 04:12:16 +00:00