Commit graph

3964 commits

Author SHA1 Message Date
Colin Cross
ca5c1a5db0 Merge changes If68bf155,I35f950ba,Idb430c45,I71a1d33a am: 3b08202c1b am: 0e9c559e41
am: c2718f802a

Change-Id: I725d3ad7488cc0337344ef4584e48840fe7a5c39
2016-10-08 00:49:06 +00:00
Colin Cross
2b932a434e Avoid C-style cast warnings am: cc8d9f9fcb am: ac416b9ed3
am: 9a786a3044

Change-Id: I35021c183bb6772c47a0e6ba9d94215dd0728d33
2016-10-08 00:49:03 +00:00
Colin Cross
74ca55073d Add name for typedef am: 64cd91274f am: 6ce096549f
am: 6f437dc0be

Change-Id: I84c46c06bd205d9cbddc5b7e565c664c5ea66e64
2016-10-08 00:49:01 +00:00
Colin Cross
848c07bfcc Fix enum switch warnings am: 248ec3da8b am: 1c74c66219
am: 3a69a4a432

Change-Id: I766feb96c1aa2576801723552509b07338ce8937
2016-10-08 00:48:59 +00:00
Colin Cross
14c19f32da Fix doc warnings am: 867e1e3043 am: 18bf56aeb7
am: 876f1ffb95

Change-Id: I33ace130d5c9751045f1cd3b15fedda69fc17950
2016-10-08 00:48:57 +00:00
Colin Cross
c2718f802a Merge changes If68bf155,I35f950ba,Idb430c45,I71a1d33a am: 3b08202c1b
am: 0e9c559e41

Change-Id: I081863b9a68718a547b060026cb2c17efe049389
2016-10-08 00:44:08 +00:00
Colin Cross
9a786a3044 Avoid C-style cast warnings am: cc8d9f9fcb
am: ac416b9ed3

Change-Id: Ia98fdea4ff7d0b2804ade2be3cf38fc637f0caee
2016-10-08 00:44:05 +00:00
Colin Cross
6f437dc0be Add name for typedef am: 64cd91274f
am: 6ce096549f

Change-Id: I69ed977862dd309c8b6f44231a364dea5bce913f
2016-10-08 00:44:00 +00:00
Colin Cross
3a69a4a432 Fix enum switch warnings am: 248ec3da8b
am: 1c74c66219

Change-Id: Ieb23d7bea30c79b65710ca7a6c9e262c8fad05a2
2016-10-08 00:43:58 +00:00
Colin Cross
876f1ffb95 Fix doc warnings am: 867e1e3043
am: 18bf56aeb7

Change-Id: I0b7562abf5d905d72cd6134e6e4d81c294f1dc92
2016-10-08 00:43:56 +00:00
Colin Cross
0e9c559e41 Merge changes If68bf155,I35f950ba,Idb430c45,I71a1d33a
am: 3b08202c1b

Change-Id: I8ccfb9f87ff47d3ffe0d7a8447cf7ed3305798d3
2016-10-08 00:40:03 +00:00
Colin Cross
ac416b9ed3 Avoid C-style cast warnings
am: cc8d9f9fcb

Change-Id: Ia3f4055fc83a9e7273c162f8095bd36f9f63af1f
2016-10-08 00:40:02 +00:00
Colin Cross
6ce096549f Add name for typedef
am: 64cd91274f

Change-Id: Ide4ad000ad2a8951b62e722cb5c09d36df1c9924
2016-10-08 00:40:00 +00:00
Colin Cross
1c74c66219 Fix enum switch warnings
am: 248ec3da8b

Change-Id: Ib581466c7f514ee89d8b902eb86d9e6b33e21753
2016-10-08 00:39:58 +00:00
Colin Cross
18bf56aeb7 Fix doc warnings
am: 867e1e3043

Change-Id: Ic9c6c1dddd1243fa01102fafcbe1ab5462316644
2016-10-08 00:39:56 +00:00
Colin Cross
3b08202c1b Merge changes If68bf155,I35f950ba,Idb430c45,I71a1d33a
* changes:
  Avoid C-style cast warnings
  Add name for typedef
  Fix enum switch warnings
  Fix doc warnings
2016-10-08 00:32:04 +00:00
Keun-young Park
18b5f5b071 cherry-pick vehicle hal changes from nyc-car
75806e7 Remove driver seats from vehicle.h
3562ab4 Fix seat temperature access mode
ad0d276 Cleanup vehicle.h
c8f3589 Add missing HVAC properties

bug: 32029701
Test: manual
Change-Id: Ia1e09554fa2ee5a4dc1da572c657406d2be7a831
2016-10-07 16:48:01 -07:00
Steve Paik
76c9c0f511 Remove driver seats from vehicle.h
It makes no sense to make distinction between RHD and LHD.

Test:manual
Change-Id: Idf3a9f49f27365ae4582dc1ab6b8d64b0ca5977a
2016-10-07 16:42:26 -07:00
Steve Paik
983e9290d2 Fix seat temperature access mode
Test:manual
Change-Id: I2e9af58c09f0bf2a3169b3ab7e9f34cef8e8776b
2016-10-07 16:41:31 -07:00
Steve Paik
5052d318a3 Cleanup vehicle.h
Test: manual
Change-Id: I0d975f4b1527cf8a02d8cc282592f770a340f976
2016-10-07 16:40:36 -07:00
Steve Paik
bfbbb67d71 Add missing HVAC properties
BUG:  28350886
Test: manual
Change-Id: Ic9ce3060e478b6a504e0cfe9d5ca9ea5babb4c7c
2016-10-07 16:40:00 -07:00
Colin Cross
cc8d9f9fcb Avoid C-style cast warnings
hardware/libhardware/include was being included with -isystem, which
hides warnings.  Use a macro to convert modules to hw_device_t** to call
the open function that works in C++ and C.

Bug: 32018017
Test: m -j
Change-Id: If68bf15581975f1217fcab366cef7bc784894641
2016-10-07 13:10:20 -07:00
Colin Cross
64cd91274f Add name for typedef
hardware/libhardware/include was being included with -isystem, which
hides warnings.  Add the missing name for a typedef.

Bug: 32018017
Test: m -j
Change-Id: I35f950ba3e26836cb51312ef28e98748f29d8cd8
2016-10-07 13:10:07 -07:00
Colin Cross
248ec3da8b Fix enum switch warnings
hardware/libhardware/include was being included with -isystem, which
hides warnings.  -Wswitch requires that all cases in a switch statement
on an enum be enum values.  For enums being used as bit flags, cast the
enum to an int.

Bug: 32018017
Test: m -j
Change-Id: Idb430c451d017bb7ec61a7119d6abd87b6dcdc87
2016-10-07 13:10:07 -07:00
Colin Cross
867e1e3043 Fix doc warnings
hardware/libhardware/include was being included with -isystem, which
hides warnings.  Fix use of doxygen function comments on on function
pointers, which are not considered functions or methods.

Bug: 32018017
Test: m -j
Change-Id: I71a1d33a9ae90b646bf22f32e052bbe22e8aca76
2016-10-07 13:10:07 -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
Tucker Sylvestro
0b885c1032 Treat all tags as unsigned when comparing them am: 28a872eb79
am: 8f1436275a

Change-Id: I2b3f571ed02470ab6b1e46f7d239fbd767c68225
2016-10-06 14:40:53 +00:00
Tucker Sylvestro
8f1436275a Treat all tags as unsigned when comparing them
am: 28a872eb79

Change-Id: If741daf9b99a3cb8f73f9ff3b06699b662b6b54a
2016-10-06 14:36:52 +00:00
Peng Xu
9dd99334af Merge "[sensor] Clarification of sensor HAL behavior at deactivation" am: 04302ea2fa am: 4b59f97c82 am: 52946f658e
am: 4b36c5e462

Change-Id: I62618abbff602765669ce16660e3f00e071a3c4c
2016-10-06 00:27:03 +00:00
Peng Xu
4b36c5e462 Merge "[sensor] Clarification of sensor HAL behavior at deactivation" am: 04302ea2fa am: 4b59f97c82
am: 52946f658e

Change-Id: I0b7ee019e397a0e567ddaa5914ec5bacd095c9fc
2016-10-06 00:23:46 +00:00
Peng Xu
52946f658e Merge "[sensor] Clarification of sensor HAL behavior at deactivation" am: 04302ea2fa
am: 4b59f97c82

Change-Id: I19da92850d6f02e11d8605361c6e5a5c6dcc94cd
2016-10-06 00:20:46 +00:00
Peng Xu
4b59f97c82 Merge "[sensor] Clarification of sensor HAL behavior at deactivation"
am: 04302ea2fa

Change-Id: Ib6f8d3112d2d07cdb492c9c8eb91d61fd7dac60e
2016-10-06 00:18:14 +00:00
Treehugger Robot
04302ea2fa Merge "[sensor] Clarification of sensor HAL behavior at deactivation" 2016-10-06 00:10:02 +00:00
Peng Xu
aaeeaa41bd [sensor] Clarification of sensor HAL behavior at deactivation
Sensor HAL should abandon stale data at deactivation.

Test: documentation change, spell checked.
Bug: 28443809

Change-Id: I29b1d324fc96d0448cdefbf2130161f71c3d3310
2016-10-05 15:17:33 -07:00
Tucker Sylvestro
28a872eb79 Treat all tags as unsigned when comparing them
All tags are presumed to be unsigned, but some of them have signed
representations that are negative.  This caused problems in
AuthorizationSet.Deduplicate, where TAG_APPLICATION_DATA (signed rep
of -1879047492) was being sorted before TAG_INVALID (0), which was
presumed to always be first in the list.

BUG: 30701680
Change-Id: I67047cee21fd7617248022a4674779fe80d5ddfd
2016-10-05 14:39:39 -04:00
Peng Xu
7542bf2aca [sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up
Sensor of type SENSOR_TYPE_DYNAMIC_SENSOR_META should be
wake up sensor to allow system to correctly track dynamic sensor
connectiona nd disconnection. Otherwise, connection or disconnection
event may get discarded.

Test: m cts-verifier
Test: Run "Dynamic Sensor Discovery Test" with a sensor HAL that
      support dynamic sensor discovery (e.g. contexthub + ag/1189124)
Bug: 31068976

Change-Id: Ia3d860a03977318c55f7f3b751ca327b5ff1528c
2016-09-27 14:02:06 -07:00
Jakub Pawlowski
e570f439b3 Merge "Fix an incorrect description of OOB data field" am: 4074ce1408 am: b7698b65e8 am: 46640177e0
am: 17e4457688

Change-Id: Ibf1a89cbce8ae12aad5907800f2ce60da2fe0e5b
2016-09-23 01:51:12 +00:00
Jakub Pawlowski
17e4457688 Merge "Fix an incorrect description of OOB data field" am: 4074ce1408 am: b7698b65e8
am: 46640177e0

Change-Id: Ia915cf667f860a3e6b7c41294bb36434887866f7
2016-09-22 23:14:17 +00:00
Jakub Pawlowski
46640177e0 Merge "Fix an incorrect description of OOB data field" am: 4074ce1408
am: b7698b65e8

Change-Id: I58c03a98b8c117673a7cb99f2efb436b47a76881
2016-09-22 21:58:28 +00:00
Jakub Pawlowski
b7698b65e8 Merge "Fix an incorrect description of OOB data field"
am: 4074ce1408

Change-Id: Idd303ab7cdff1b3cf7f57589eee6ad4f8f0ebbb5
2016-09-22 19:36:45 +00:00
Treehugger Robot
4074ce1408 Merge "Fix an incorrect description of OOB data field" 2016-09-22 18:57:24 +00:00
Jakub Pawlowski
9caabe1563 Fix an incorrect description of OOB data field
Change-Id: Ia3712d9af9d5521e2a3cc9ecbcf7b37fd0755c9a
2016-09-22 17:10:12 +00:00
Sanket Agarwal
0eab5d9d6e Merge "AVRCP 1.6: media browsing support on Controller" 2016-09-21 01:03:02 +00:00
Sanket Agarwal
dd4825b6ab AVRCP 1.6: media browsing support on Controller
Bug: 28791287
Change-Id: I52519e91c9f8f6d8db05ebc8a79e118582701150
2016-09-20 17:57:28 -07:00
Eric Laurent
54558c008e audio effect: add flag for effects without actual processing am: 4725741d0e am: 5982d8f27f
am: c87b0d0a07

Change-Id: I8015e788e5932c59e78b644dcf7b70da3974a254
2016-09-16 21:11:34 +00:00
Eric Laurent
c87b0d0a07 audio effect: add flag for effects without actual processing am: 4725741d0e
am: 5982d8f27f

Change-Id: I0ce09f42cb74ca732b972e3ec1fb0cfc8d69dcc5
2016-09-16 16:37:27 +00:00
Eric Laurent
5982d8f27f audio effect: add flag for effects without actual processing
am: 4725741d0e

Change-Id: I74e8ca3a0670bb49ec69813a2f5bf91994c61515
2016-09-16 16:34:17 +00:00
Eric Laurent
4725741d0e audio effect: add flag for effects without actual processing
Add a flag for effect descriptor indicating that the effect does not
implement a process function. This tells the framework that no
latency or performance penalty comes with enabling this effect.
When this flag is set, the process function does not have to be implemented
by the effect implementation.

Bug: 31491112
Change-Id: I69e6959eb17e04266f4de3f2943c226e34868b1f
2016-09-15 11:52:22 -07:00
Jakub Pawlowski
1644a0330e Merge "Bluetooth: split setting params and enabling advertising (2/3)" am: 9e1a02cc5e am: ba15066e9a am: ed4ccc945b
am: 3a4b3b0308

Change-Id: I9984a35387d6a3b3a72467cf782e5acbcb0ef130
2016-09-13 09:35:09 +00:00
Jakub Pawlowski
3a4b3b0308 Merge "Bluetooth: split setting params and enabling advertising (2/3)" am: 9e1a02cc5e am: ba15066e9a
am: ed4ccc945b

Change-Id: Ic5375b71dee0acde6822294e6d9f90d12e5d809f
2016-09-13 08:40:43 +00:00