summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | Hardware: Fingerprint: Add current version.Sasha Levitskiy2014-04-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8025276da558d1bf07735cd9d71ba1586566dd07 Signed-off-by: Sasha Levitskiy <sanek@google.com>
* | | | | | | | | | | Hardware: Fingerprint: Introducing Fingerprint HALSasha Levitskiy2014-04-073-1/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4e55c42841c3b6a1327a16bdf6d1d4bb3847c7f3 Signed-off-by: Sasha Levitskiy <sanek@google.com>
* | | | | | | | | | | Merge "Initial implementation of usb audio I/O"Paul McLean2014-04-011-55/+711
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Initial implementation of usb audio I/OPaul McLean2014-03-311-55/+711
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib82783f0b25887e2d34a24fde346cee5003d5b89
* | | | | | | | | | | | am 286c139b: am 93bf9964: Fix sensor multi hal crash when sub-HAL reports an ↵Nick Vaccaro2014-03-251-2/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | error * commit '286c139bcce4107c24a3fd2122c042c98a223f49': Fix sensor multi hal crash when sub-HAL reports an error
| * | | | | | | | | | | am 93bf9964: Fix sensor multi hal crash when sub-HAL reports an errorNick Vaccaro2014-03-251-2/+5
| |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '93bf99647b0d33dfe12deecef828b6bcb568cafe': Fix sensor multi hal crash when sub-HAL reports an error
| | * | | | | | | | | | Fix sensor multi hal crash when sub-HAL reports an errorNick Vaccaro2014-03-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a null pointer dereference bug that caused the multihal to crash in an endless loop continuously trying to open a sensor HAL when it reports back an error. Change-Id: I6d82e8fdd9acde53f378a5fb3dfdb02c39d7b433
* | | | | | | | | | | | Initial commit of TV input HALWonsik Kim2014-03-213-1/+153
| |_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAL for physical TV input such as HDMI-in. The main purpose is to provide sideband video stream source handle to feed SurfaceFlinger and audio related information to feed AudioManager (TBD). Change-Id: I8eeddcd6c63f6f8c0b1e7a87e9a6856baa9ceddd
* | | | | | | | | | | am 9f7332d4: am 5106ad0c: Merge "Audio HALs are 32-bit only"Glenn Kasten2014-03-143-0/+4
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9f7332d442bf57a77820229703b8f0ae7527101e': Audio HALs are 32-bit only
| * | | | | | | | | | am 5106ad0c: Merge "Audio HALs are 32-bit only"Glenn Kasten2014-03-133-0/+4
| |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5106ad0c6e664a622d177d997d3ec7147ef1ae8f': Audio HALs are 32-bit only
| | * | | | | | | | | Audio HALs are 32-bit onlyGlenn Kasten2014-03-133-0/+4
| | | |_|_|_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I97eef87849312610d82bc3f82e168bb40604e646
| * | | | | | | | | am ee4e28c9: am 1482406b: usbaudio: fix for out->dev->lock remains locked in ↵Amit Shekhar2014-03-061-1/+1
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | error case * commit 'ee4e28c9ebc7f26a1a25d1042d5a941139055447': usbaudio: fix for out->dev->lock remains locked in error case
| | * | | | | | | | am 1482406b: usbaudio: fix for out->dev->lock remains locked in error caseAmit Shekhar2014-03-061-1/+1
| | |\ \ \ \ \ \ \ \ | | | | |_|/ / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1482406b70a254fc85d153a7066d7f90d724d195': usbaudio: fix for out->dev->lock remains locked in error case
| | | * | | | | | | usbaudio: fix for out->dev->lock remains locked in error caseAmit Shekhar2014-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out->dev->lock remains locked in error case in out_write() Added pthread_mutex_unlock() in the error case Bug: 12824374 Change-Id: Id467e3122008eb8128b42dfc0e9103600c1eef2d Signed-off-by: Glenn Kasten <gkasten@google.com>
* | | | | | | | | | NBAIO::Format_from_SR_C requires audio_format_t parameterGlenn Kasten2014-03-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8bdfbd227dbfd4a46eb7ffc82ec7064582a626d0
* | | | | | | | | | am 8a90666c: am 282ab1b6: Merge "gralloc: dont hardcode 32bpp as RGBX"Jesse Hall2014-03-071-1/+1
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '8a90666cccac19314216ab1ff8b99ecb854ccf04': gralloc: dont hardcode 32bpp as RGBX
| * | | | | | | | | am 282ab1b6: Merge "gralloc: dont hardcode 32bpp as RGBX"Jesse Hall2014-03-061-1/+1
| |\ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '282ab1b6b1a92b8cb2650c111bfab02916f8715d': gralloc: dont hardcode 32bpp as RGBX
| | * | | | | | | | Merge "gralloc: dont hardcode 32bpp as RGBX"Jesse Hall2014-03-061-1/+1
| | |\ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / | | |/| | | | | | / | | | | |_|_|_|_|/ | | | |/| | | | |
| | | * | | | | | gralloc: dont hardcode 32bpp as RGBXBernhard Rosenkraenzer2014-02-211-1/+1
| | | | |_|_|/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not every 32bpp is in RGBX format. Change-Id: Ic3c6a0cbf475bff2fe2fc4b023c6bc58e4fc295e Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
* | | | | | | | am b3d1dda5: am b342abb6: Merge "gralloc: make private_handle_t layout ↵Greg Hackmann2014-03-071-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | consistent on 32/64-bit" * commit 'b3d1dda5130ae1ae4eab6cb4fe56f5793bc66042': gralloc: make private_handle_t layout consistent on 32/64-bit
| * | | | | | | am b342abb6: Merge "gralloc: make private_handle_t layout consistent on ↵Greg Hackmann2014-03-061-1/+1
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32/64-bit" * commit 'b342abb6902a698963bb9d2108000da895845985': gralloc: make private_handle_t layout consistent on 32/64-bit
| | * | | | | | gralloc: make private_handle_t layout consistent on 32/64-bitGreg Hackmann2014-03-031-1/+1
| | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | private_handle_t's memory layout must be consistent between the 32-bit and 64-bit gralloc, in case buffers are passed between processes. Replace the (variably sized) uintptr_t base with a fixed size uint64_t, and enforce 8-byte alignment for architectures where uint64_t alignment varies between 32-bit and 64-bit. Change-Id: I06cb31d4b9620ea18e5b50d3a3142b5adb2d2a14 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | | | | | | am abd0a90b: am b96f1083: Merge "Move libhardware of <asm/page.h>."Elliott Hughes2014-02-251-5/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'abd0a90bc02b2f574ea62a457d3302b1ce7cf7c8': Move libhardware of <asm/page.h>.
| * | | | | | am b96f1083: Merge "Move libhardware of <asm/page.h>."Elliott Hughes2014-02-251-5/+1
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'b96f1083b8d10f3e33b64f0da943dedfdb25b557': Move libhardware of <asm/page.h>.
| | * | | | | Move libhardware of <asm/page.h>.Elliott Hughes2014-02-241-5/+1
| | |/ / / / | | | | | | | | | | | | | | | | | | Change-Id: I7cf9d04828f19b8d7d1d3b8948bef580b101b10c
* | | | | | am f6d2142d: am f4c46752: Merge "AArch64: Calculate private_handle_t\'s numInts"Greg Hackmann2014-02-131-3/+5
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'f6d2142d93063a02b1eab75f8f46b172da772f6b': AArch64: Calculate private_handle_t's numInts
| * | | | | am f4c46752: Merge "AArch64: Calculate private_handle_t\'s numInts"Greg Hackmann2014-02-131-3/+5
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit 'f4c46752df57be558773a056d6545877ef65c844': AArch64: Calculate private_handle_t's numInts
| | * | | | AArch64: Calculate private_handle_t's numIntsAshok Bhat2014-02-071-3/+5
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A constant sNumInts with a value of 6 was being assigned to the numInts attribute in the private_handle_t constructor, and was also used in the validate method. That constant value is appropriate for 32-bit systems but is not appropriate for a 64-bit system where uintptr_t used for base attribute will be 64-bit. sNumInts is now changed to a static inline function that calculates numInts. Change-Id: I482ddb5915c9ff55fb2e2a87887a0ec2dc2299ed Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* | | | | am 7ad4534e: am 907b20aa: Initial version of the MCU HALSimon Wilson2014-02-103-1/+84
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '7ad4534e1ee6ec9744392d23199049c16ed18159': Initial version of the MCU HAL
| * | | | am 907b20aa: Initial version of the MCU HALSimon Wilson2014-02-103-1/+84
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | * commit '907b20aa7475a91a148bb655b0d80cecabb130f6': Initial version of the MCU HAL
| | * | | Initial version of the MCU HALSimon Wilson2014-02-073-1/+84
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic88da7e825b67ed64cde4eed3055022daabe9830
* | | | | am 5dbc98ff: am 037335eb: Merge "gralloc: fix warnings"Colin Cross2014-02-064-11/+11
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '5dbc98ff2c6714d66a1377ed9c9030d130ed7ebb': gralloc: fix warnings
| * | | | am 037335eb: Merge "gralloc: fix warnings"Colin Cross2014-02-064-11/+11
| |\ \ \ \ | | |/ / / | |/| / / | | |/ / | | | | * commit '037335ebe826289445fd2ba14e95ff41d57ad928': gralloc: fix warnings
| | * | gralloc: fix warningsColin Cross2014-02-054-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix LP64 pointer casting warnings, unused parameters, and turn off missing initializer warnings. Change-Id: Idb70f4534282fed64ae81cb1e154d3f5b93091b0
* | | | Merge "camera3: Update maxRegions tag."Ruben Brunk2014-02-041-1/+1
|\ \ \ \
| * | | | camera3: Update maxRegions tag.Ruben Brunk2014-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I22501cbf7f941d9626b88182e2dda8a13a620d01
* | | | | usbaudio: fix for out->dev->lock remains locked in error caseAmit Shekhar2014-01-301-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out->dev->lock remains locked in error case in out_write() Added pthread_mutex_unlock() in the error case Bug: 12824374 Change-Id: Ibbbd5ced1f9d469cfba3b33a94414d0b94affa8f Signed-off-by: Glenn Kasten <gkasten@google.com>
* | | | am 8ded7780: am 3da0d0f4: am 662e97ee: am aea8c156: Merge ↵Colin Cross2014-01-2812-13/+13
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH" * commit '8ded7780c6658d6db011f642206726234098388f': hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
| * | | am 3da0d0f4: am 662e97ee: am aea8c156: Merge "hardware/libhardware: convert ↵Colin Cross2014-01-2812-13/+13
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH" * commit '3da0d0f4c7a02cbb510d65def4e87eb31c97948b': hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
| | * | hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATHColin Cross2014-01-2412-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it with LOCAL_MODULE_RELATIVE_PATH. Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
* | | | am ae2e54fa: resolved conflicts for merge of 017649d6 to klp-modular-devDavid 'Digit' Turner2014-01-233-1/+166
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'ae2e54faf71f4ff3d96216031c66d14dfbbceb5f': Vibra: Adapt AOSP (default) vibrator HAL into a hardware module.
| * | | resolved conflicts for merge of 017649d6 to klp-modular-devDavid 'Digit' Turner2014-01-233-1/+166
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Conflicts: modules/Android.mk Change-Id: I6b84d2320be98b6af1f0cab729a917cf84cd9524
| | * | Vibra: Adapt AOSP (default) vibrator HAL into a hardware module.Vincent Becker2014-01-133-1/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android's implementation of vibrator needs to be done inside a hardware module, so that it can make a vendor implementation possible. Hw module's name becomes vibrator.default.so. This change is related to other changes in: - frameworks/base - hardware/libhardware_legacy - device/generic/goldfish - platform/build Change-Id: I844279f5535289f079d412fdc44c5cb3c9c1130c Author: Vincent Becker <vincentx.becker@intel.com> Signed-off-by: Vincent Becker <vincentx.becker@intel.com> Signed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Signed-off-by: David Wagner <david.wagner@intel.com> Author-tracking-BZ: 49760 94611
| * | | DO NOT MERGE: Sensor multi HALMike Lockwood2013-12-097-1/+1022
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of: Move sensors multi HAL to libhardware Added a SensorEventQueue, a circular buffer meant for reading with one thread and polling a subhal with another. The writing thread gets access to pointers in the internal buffer. This design avoids a memcpy on write when the multihal fetches subhal events using poll(). Unit-tests include multithreaded reading and writing lots of events, in random-sized chunks. This is not used by the multihal yet. That will be a different CL. MultiHal multithreaded polling Tests SensorEventQueue I/O when the queue is full. Reduced debug logging in multihal. deactivated multihal logspam, made warnings warnings, left critical startup info Removed unneeded linux/input.h includes, to fix Mac SDK build Change-Id: I1e35508949df98a1acef7a4a2d012eea87b4a5eb
* | | Fix build. Missing vendor tags header.Ruben Brunk2014-01-171-1/+1
| | |
* | | camera3: Update vendor tag spec for HAL 3.2.Ruben Brunk2014-01-163-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Deprecates vendor tag specification in camera3 device. - Moves vendor tag ops declaration to camera metadata library and cleans up definitions. - Updates the example HAL. Change-Id: Ifb16bb0d4bbc896bc32d33dd150e7e174af57dad
* | | Merge "modules: camera: replace pthread mutex with utils'"Alex Ray2013-12-054-55/+28
|\ \ \
| * | | modules: camera: replace pthread mutex with utils'Alex Ray2013-11-124-55/+28
| | | | | | | | | | | | | | | | Change-Id: Id974e4cc743d27d59634023cfdbba545fbb64e5f
* | | | am e735e5fa: am 047510b1: Merge "gralloc: delete unused mutex declaration"Rom Lemarchand2013-11-271-4/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit 'e735e5fa42f62d856e6c86d7ee785bb9797b6750': gralloc: delete unused mutex declaration
| * | | gralloc: delete unused mutex declarationRom Lemarchand2013-11-261-4/+0
| | | | | | | | | | | | | | | | Change-Id: Ibc7e70887b61f7dd885c86d412387636d3a6a867