Commit graph

2587 commits

Author SHA1 Message Date
Myles Watson
150ff7ba06 Bluetooth: Move AsyncFdWatcher tests to the device
am: b43a5b2435

Change-Id: I2b2f98eb96e2a0c8583a5177686f9099ee5102cd
2017-01-31 20:35:44 +00:00
Myles Watson
b43a5b2435 Bluetooth: Move AsyncFdWatcher tests to the device
Darwin builds were breaking.

Test: compile, unit tests pass
Change-Id: Ia00f590fe56211e25dff8d3138ebd93a306cf2c6
2017-01-31 12:20:44 -08:00
Eino-Ville Talvala
8f020eba8f Merge "Camera metadata: Add ENABLE_ZSL control." 2017-01-31 20:03:02 +00:00
Mikhail Naganov
1fb94c71c3 Merge "Audio HAL: extensions for new SoC features" 2017-01-31 19:38:08 +00:00
Myles Watson
4357fcab8f Bluetooth: Add a timeout in async_fd_watcher am: 7d42dcad6e am: 92add17f16 am: 406e3c4f24
am: 21e4f2e69f

Change-Id: I1307cc5195be07e3d4bf6820228ce55220c90fe4
2017-01-31 19:33:40 +00:00
Myles Watson
21e4f2e69f Bluetooth: Add a timeout in async_fd_watcher am: 7d42dcad6e am: 92add17f16
am: 406e3c4f24

Change-Id: Ic1a5385095eac7a601541f1e44e9121c32b25145
2017-01-31 19:31:14 +00:00
Myles Watson
406e3c4f24 Bluetooth: Add a timeout in async_fd_watcher am: 7d42dcad6e
am: 92add17f16

Change-Id: I4d3b7421997df9b9647e62294e58bfd783d6635a
2017-01-31 19:29:11 +00:00
Myles Watson
92add17f16 Bluetooth: Add a timeout in async_fd_watcher
am: 7d42dcad6e

Change-Id: I0086b5ca130b11b296d3fe839c1e099ed4044425
2017-01-31 19:26:39 +00:00
Keun Soo Yim
1d117f1439 Merge "skip on 64-bit ABI" 2017-01-31 19:08:49 +00:00
Jeff Tinker
45548ea846 Add vendor-requested parameter to createPlugin
A feature in O requires a small change to the
drm HAL: adding a parameter to the createPlugin
method in the DrmFactory.

bug:31306973
Change-Id: Iab0f7ee58103b357f10cf05ea7986a8fc01eebf6
2017-01-31 05:10:47 +00:00
Myles Watson
7d42dcad6e Bluetooth: Add a timeout in async_fd_watcher
Add a timeout to the select call and a callback.
Add unit tests for async_fd_watcher.

Test: unit tests pass
Change-Id: I0076fd52e79aac0d2a9fcceb90aae318d5f0757b
2017-01-31 04:32:16 +00:00
Roshan Pius
17c5206bfd Merge "wifi: Fixing Nits" am: 76cf857403 am: 13dedb9197 am: 11239d83f5
am: 37113b92b7

Change-Id: I1b710e0b9212e262abc6bb9e6cd3fc41be1a8911
2017-01-31 01:20:38 +00:00
Roshan Pius
37113b92b7 Merge "wifi: Fixing Nits" am: 76cf857403 am: 13dedb9197
am: 11239d83f5

Change-Id: I2e8257384fc772940350173555eaf2f38f57c656
2017-01-31 01:16:09 +00:00
Roshan Pius
11239d83f5 Merge "wifi: Fixing Nits" am: 76cf857403
am: 13dedb9197

Change-Id: I56c8b1d21466e1cc8efe7fc9a73a7bd80c952065
2017-01-31 01:12:32 +00:00
Roshan Pius
13dedb9197 Merge "wifi: Fixing Nits"
am: 76cf857403

Change-Id: I4cfc3ba7771106a4efb801d5a9d40b4ae2cd4088
2017-01-31 01:10:36 +00:00
Treehugger Robot
76cf857403 Merge "wifi: Fixing Nits" 2017-01-31 01:05:51 +00:00
Mikhail Naganov
d63e79022a Audio HAL default implementation: reduce logspam
Legacy BT A2DP implementation of Audio HAL may be returning EAGAIN
from get_presentation_position, this is normal and shouldn't be
logged. Otherwise we create logspam as this HAL function is called
often.

Bug: 30222631
Change-Id: I9394dbc1d53c1f4136c2d538fccd519964ff1697
Test: play music via BT A2DP
2017-01-30 17:05:01 -08:00
Myles Watson
da774958fd Bluetooth: Make Send() send a complete packet am: df765eab60 am: 1daf027d94 am: 0c2f2e6cfc
am: 741becf25b

Change-Id: I639490a373a5350b65d195752ec0773de63e05da
2017-01-31 00:51:00 +00:00
Myles Watson
741becf25b Bluetooth: Make Send() send a complete packet am: df765eab60 am: 1daf027d94
am: 0c2f2e6cfc

Change-Id: I094f31f7e7f98669654ed7fb54f3e9d7ba799229
2017-01-31 00:49:00 +00:00
Myles Watson
0c2f2e6cfc Bluetooth: Make Send() send a complete packet am: df765eab60
am: 1daf027d94

Change-Id: I6af485cb009c69d53e59dd72f2b9723f9c28f856
2017-01-31 00:46:59 +00:00
Myles Watson
1daf027d94 Bluetooth: Make Send() send a complete packet
am: df765eab60

Change-Id: I742da2de02c1205ced2c9c62a28dba22d9060520
2017-01-31 00:44:29 +00:00
Myles Watson
58becfb77c Bluetooth: Check for waiting HAL callbacks am: a7d33b3636 am: 00802c2adb am: 1a9a9321bc
am: 8b2b644d1b

Change-Id: I01f81cdbe26df58fae38fe400eb31f1416e26246
2017-01-31 00:39:43 +00:00
Myles Watson
83366694dd Bluetooth: Use fixed-size preambles am: 71390182c6 am: a6b8e5af81 am: 8c74ee070f
am: 2d5c719626

Change-Id: Ic6c76a7fa5cd2f80aaf3b89777b6a25453e49d49
2017-01-31 00:39:40 +00:00
Myles Watson
0e1627a30e Bluetooth: Clean up some messages am: 8ffcbc7797 am: 257a7d9874 am: ce7ca8910c
am: 19e8699702

Change-Id: I813d65e4686f4dede53bb2ff5fdbeda0c0fd35bf
2017-01-31 00:39:30 +00:00
Myles Watson
8b2b644d1b Bluetooth: Check for waiting HAL callbacks am: a7d33b3636 am: 00802c2adb
am: 1a9a9321bc

Change-Id: I2d9874d887e399a4b92e9213e9585420aa6fb484
2017-01-31 00:38:18 +00:00
Myles Watson
2d5c719626 Bluetooth: Use fixed-size preambles am: 71390182c6 am: a6b8e5af81
am: 8c74ee070f

Change-Id: Ibfabfe0e48f79c88bea8ddc37e6dfd316356c39a
2017-01-31 00:38:16 +00:00
Myles Watson
19e8699702 Bluetooth: Clean up some messages am: 8ffcbc7797 am: 257a7d9874
am: ce7ca8910c

Change-Id: I196e8c22860e3a80f459d7cde85f9cce8cbf1997
2017-01-31 00:38:04 +00:00
Myles Watson
df765eab60 Bluetooth: Make Send() send a complete packet
Add the packet type to Send() so that it is called once per packet.

Test: Bluetooth starts/stops and scans
Change-Id: I2ef9c5f9a85d3227d4ff181b6a6931f239f75049
2017-01-31 00:36:48 +00:00
Myles Watson
1a9a9321bc Bluetooth: Check for waiting HAL callbacks am: a7d33b3636
am: 00802c2adb

Change-Id: Ic6f63235c8f2d946a4447392664c5a56bb667b99
2017-01-31 00:35:41 +00:00
Myles Watson
8c74ee070f Bluetooth: Use fixed-size preambles am: 71390182c6
am: a6b8e5af81

Change-Id: I128cc310c47198de6ad0ee5629c3b99592355d19
2017-01-31 00:35:40 +00:00
Myles Watson
ce7ca8910c Bluetooth: Clean up some messages am: 8ffcbc7797
am: 257a7d9874

Change-Id: Ib828685b64d701faf93422bfca8452f3c9c9fdc9
2017-01-31 00:35:29 +00:00
Myles Watson
00802c2adb Bluetooth: Check for waiting HAL callbacks
am: a7d33b3636

Change-Id: Id68578c65b30f92c010ec266e04d2f0a21a9d6a8
2017-01-31 00:33:11 +00:00
Myles Watson
a6b8e5af81 Bluetooth: Use fixed-size preambles
am: 71390182c6

Change-Id: I764ed03fcefd7d9f224962d01669001cb6f4d73b
2017-01-31 00:33:10 +00:00
Myles Watson
257a7d9874 Bluetooth: Clean up some messages
am: 8ffcbc7797

Change-Id: I77827f09ee695fc71c87350919a54b13d2a8158f
2017-01-31 00:32:58 +00:00
Roshan Pius
32fc12ea4f wifi: Fixing Nits
Changes in the CL to fix bugs found while integrating
with framework:
1. Added IWifiApIface.setCountryCode()
Bug: 34682168
2. Fixed documentation nits in .hal files.
Bug: 34468218
3. Changed roaming state enum values.
Bug: 34715231
4. Added log for EBUSY in legacyErrorToString()
Bug: 34715469
5. Remove "-Wno-unused parameter" from Android.mk
Bug: 34611289
6. Remove the erroneous |onFailure| callback invocation in wifi.cpp.
7. Add null terminations to strings passed to legacy HAL API's
8. Remove unused |IWifiStaIface.stopDebugPacketFateMonitoring|.

Test: Compiles
Change-Id: If3a3e2f360a378c59dc56b8bbe3a0c6d400b3bd8
2017-01-30 15:12:31 -08:00
Myles Watson
a7d33b3636 Bluetooth: Check for waiting HAL callbacks
Test: Bluetooth boots, turns on/off
Change-Id: Iad2f359a78c9acbf0fe44740ed0813de462ce57c
2017-01-30 19:29:25 +00:00
Myles Watson
71390182c6 Bluetooth: Use fixed-size preambles
Test: Bluetooth turns on/off finds devices in Settings
Change-Id: Id640f3dbde3f53b31ce62eccf59bbc8d25130388
2017-01-30 19:27:40 +00:00
Myles Watson
8ffcbc7797 Bluetooth: Clean up some messages
Use Info for low-frequency messages.
Print hex for characters.

Test: Bluetooth turns on/off
Change-Id: If1fe20a71287cc91c2a7225488e5d44c7ee4ecee
2017-01-30 19:19:17 +00:00
Ryan Campbell
cbcec7efe5 Update DRM makefile.
Test: cd hardware/interfaces && mma
Bug: 34801248
Change-Id: I2b3f90863c01ad4a8808a96800d8107123420888
2017-01-30 10:12:46 -08:00
Yuexi Ma
f2336a1792 Merge "Add coverage to tv_input, tv_cec, and vehicle vts hal tests" 2017-01-30 16:06:51 +00:00
Courtney Goeltzenleuchter
1b2a09e5c9 Merge "Add enums for 10bit color formats" 2017-01-30 15:49:52 +00:00
TreeHugger Robot
e3331b7f4a Merge "Fix AP_POWER_STATE property in Vehicle HAL" 2017-01-28 09:42:34 +00:00
Asaf Rosenfeld
6387576b90 Merge "Adding VMS message type and a structure to the VMS messages." 2017-01-28 06:12:54 +00:00
TreeHugger Robot
0bf271e2b4 Merge "Add dataspace definition for sensor direct report" 2017-01-28 01:56:52 +00:00
Dan Albert
921581a178 Merge "Include what you use." am: c6ce733d24 am: 273d770b79 am: 8f04fc18d8
am: 828915fd76

Change-Id: I827edd6fb2739fc98a79fcf9e654cad5f237dc3d
2017-01-28 01:35:25 +00:00
Dan Albert
828915fd76 Merge "Include what you use." am: c6ce733d24 am: 273d770b79
am: 8f04fc18d8

Change-Id: I1176267e71a4f692012b23a2ecdd62c529a40ed5
2017-01-28 01:32:54 +00:00
Dan Albert
8f04fc18d8 Merge "Include what you use." am: c6ce733d24
am: 273d770b79

Change-Id: I111d6ac43ccc152910e59e473504c4a910c8882e
2017-01-28 01:30:24 +00:00
Dan Albert
273d770b79 Merge "Include what you use."
am: c6ce733d24

Change-Id: I2a032e8ed6d10a02a96bc241cbe8805df73265f1
2017-01-28 01:27:54 +00:00
TreeHugger Robot
ebfff8ed22 Merge "TV Input target-side test" 2017-01-28 01:26:48 +00:00
Treehugger Robot
c6ce733d24 Merge "Include what you use." 2017-01-28 01:25:53 +00:00