hardware/libhardware/include was being included with -isystem, which
hides warnings. The gralloc enum values are used as bitmasks on
unsigned types, explicitly mark them values as unsigned in order to
force the type of the resulting enum to be unsigned.
Bug: 32018017
Test: m -j
Change-Id: Iea281480574e0a7a8413273983c76c2c0f9f7049
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
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
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
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
Sensor HAL should abandon stale data at deactivation.
Test: documentation change, spell checked.
Bug: 28443809
Change-Id: I29b1d324fc96d0448cdefbf2130161f71c3d3310
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
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
Proper order of commands when starting advertising:
* set parameters
* set data
* enable advertising
This cannot be achieved when setting advertising parameters and enabling
advertising is put together in one function. Enabling before setting
data might cause first advertisements to be empty. If a device with
hardware filter pick up such advertisement, it might fail to properly
recognize our device.
Bug: 30622771
Bug: 19372779
Change-Id: Iac154beb5129526fa3cd1d1b31eba269459bc9a0
Adds the header for version 1.0 of the gralloc HAL, now that the
framework properly supports it.
Bug: 28401203
Change-Id: I2ef28ca1e5ed5e9e71a14c4d1c97245051acce6c