summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
...
| * am ac41815a: Merge "Add missing includes."Elliott Hughes2015-01-307-1/+8
| |\ | | | | | | | | | | | | * commit 'ac41815a99763b3e59d0f2f9ef2bb3e5a2011336': Add missing includes.
| | * Add missing includes.Elliott Hughes2015-01-297-1/+8
| | | | | | | | | | | | Change-Id: I91730363386dae6ecb2193ec8f50ba9f8fc0ad60
* | | am 588f7259: am f4530d6e: Merge "Add missing includes."Elliott Hughes2015-01-292-2/+4
|\ \ \ | |/ / | | | | | | | | | * commit '588f725985ef0757dcf3e1257471b9c91dd4f106': Add missing includes.
| * | am f4530d6e: Merge "Add missing includes."Elliott Hughes2015-01-292-2/+4
| |\ \ | | |/ | | | | | | | | | * commit 'f4530d6eed5fa432fe9283355a265a38aea58bc6': Add missing includes.
| | * Add missing includes.Elliott Hughes2015-01-282-2/+4
| | | | | | | | | | | | Change-Id: Ia74cceea707e51195a570eed37d4b334ac413773
* | | usbcamera: initial implementation of default usb camera HALZhijun He2015-01-1514-1/+1877
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Basic skeleton of usb camera hal implementation * Vendor tag is not supported yet * Further usb camera hal implementation can be filled into UsbCamera.cpp * Hot plug thread need to be implemented Change-Id: Ida63b6d640e32192f5b60a280d9d5106d80e523f
* | | camera_common: add torch mode APIs for flashlightChien-Yu Chen2015-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add torch mode APIs to support flashlight without opening any camera devices. Bug: 2682206 Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
* | | Technical Debt Paydown - move/rename filesPaul McLean2015-01-1310-1096/+6
| | | | | | | | | | | | | | | | | | | | | | | | Moved audio (alsa actually) utils files to system/core/alsa_utils. Renamed "audio" utilities to "alsa" to better relect their purpose. Renamed audio_hw.c -> to audio_hal. c to better reflect its purpose. Change-Id: I67c7d47ee02abafd3e12c4c99d605a62e0f59122
* | | am e6499429: Merge commit \'83b47a68\' into manualmergeEric Laurent2015-01-101-2/+4
|\ \ \ | |/ / | | | | | | | | | * commit 'e64994292cb02fae66f04002e1121d29979503d1': usb audio: Fix incorrect bytes returned for recording
| * | Merge commit '83b47a68' into manualmergeEric Laurent2015-01-091-2/+4
| |\ \
| | * | usb audio: Fix incorrect bytes returned for recordingPavan Chikkala2015-01-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a recording session , the number of bytes read is not updated when pcm_read() fails. This results in silence/invalid data being added during a device switch from USB headset to handset. Fix is to reset the number of bytes read if pcm_read() returns an error indicating removal of USB headset. Bug: 18611518 Change-Id: I10d578c3cf1037c90a891e63be2bd1c2b7e6126b
| | * | DO NOT MERGE - fix: memory leaksoon1.choi2014-12-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | free momory for str_parms to prevent memory leak. cherry-pcik from aosp c357157e28dc0ffd069b80aeba9bf8b9eed72c9a Bug: 18798194. Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
* | | | Merge "Multi-USB device support & read device on open."Paul McLean2015-01-092-34/+63
|\ \ \ \
| * | | | Multi-USB device support & read device on open.Paul McLean2015-01-082-34/+63
| | | | | | | | | | | | | | | | | | | | Change-Id: I8b6dd33be1915db764eeaefec5a5da1e9d02dc87
* | | | | am 7e9abab1: am b338957d: Merge "usbaudio: Return 0 bytes on failure in capture"Eric Laurent2015-01-091-0/+4
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | * commit '7e9abab1940091b4c4d7589160855870fdda437e': usbaudio: Return 0 bytes on failure in capture
| * | | am b338957d: Merge "usbaudio: Return 0 bytes on failure in capture"Eric Laurent2015-01-091-0/+4
| |\ \ \ | | | |/ | | |/| | | | | | | | | * commit 'b338957d02528e5b51a15c5ce21e96fad4ff4a6f': usbaudio: Return 0 bytes on failure in capture
| | * | usbaudio: Return 0 bytes on failure in captureViswanath L2015-01-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Return 0 bytes from in_read() in failure conditions so that invalid data is not recorded. Change-Id: I9a6294e4162fa642fd7e160a32d1ad16f255ff62
* | | | Merge "Line length 100"Glenn Kasten2014-12-301-1/+2
|\ \ \ \
| * | | | Line length 100Glenn Kasten2014-12-301-1/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Iaef5bcaec19a9e383432c8c8460bcdf1115f1072
* | | | | am 06fcfc50: am 02e30945: Merge "Fix missing #includes in hardware/libhardware."Elliott Hughes2014-12-301-0/+2
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | * commit '06fcfc506c44724bbd8089e8971b77aa8edfdde8': Fix missing #includes in hardware/libhardware.
| * | | am 02e30945: Merge "Fix missing #includes in hardware/libhardware."Elliott Hughes2014-12-301-0/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '02e3094598ced8b05c9614d6070556d20328ef43': Fix missing #includes in hardware/libhardware.
| | * | Fix missing #includes in hardware/libhardware.Elliott Hughes2014-12-291-0/+2
| | | | | | | | | | | | | | | | Change-Id: If7c72054bf79b89c3d7a544956da671c3b404269
* | | | am 68be24b1: am ce0bbb97: Merge "fix: memory leak"Eric Laurent2014-12-181-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '68be24b1cc2bad01d9257f76faabd92dbfc6c3e8': fix: memory leak
| * | | am ce0bbb97: Merge "fix: memory leak"Eric Laurent2014-12-181-0/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'ce0bbb97c12b712b75d0df42ce2f6e3f35d8db72': fix: memory leak
| | * | Merge "fix: memory leak"Eric Laurent2014-12-181-0/+2
| | |\ \
| | | * | fix: memory leaksoon1.choi2014-12-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | free momory for str_parms to prevent memory leak. Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
* | | | | am 14a4dd89: am cecfb56c: Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."Ying Wang2014-12-161-1/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '14a4dd8907557760cc0d7d72246444a21e9ddfe1': Cleanup Obsolete LOCAL_PRELINK_MODULE.
| * | | | am cecfb56c: Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."Ying Wang2014-12-161-1/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'cecfb56c5192fe1517a8e1b5910f16961db4a231': Cleanup Obsolete LOCAL_PRELINK_MODULE.
| | * | | Cleanup Obsolete LOCAL_PRELINK_MODULE.Ying Wang2014-12-161-1/+0
| | |/ / | | | | | | | | | | | | | | | | Bug: 18675947 Change-Id: I62157cd4bfab0edb445dd6543eb47a981e642848
* | | | Renaming generic-sounding filenames to indicate "audio".Paul McLean2014-12-158-14/+14
| | | | | | | | | | | | | | | | Change-Id: Iba6403a3493379c39d22d23b438f028efc2e15b7
* | | | Technical debt paydownPaul McLean2014-12-153-87/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | Removed unused function. Removed unused data table. Cleaned up TAG strings. Change-Id: I4c5dbd72f7363dd0a7a60eb2498e122adda43211
* | | am 2cbdfa9c: usbaudio: reset profile on device disconnectHaynes Mathew George2014-12-121-3/+8
|\ \ \ | | |/ | |/| | | | | | | * commit '2cbdfa9c991fc63f52f48831e5509fcc2889db77': usbaudio: reset profile on device disconnect
| * | usbaudio: reset profile on device disconnectHaynes Mathew George2014-12-111-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reset ALSA device profile on disconnect event. Entries like supported sample rates, channel counts, formats will be repopulated on next connect. CRs-Fixed: 765434 Change-Id: I27d3b7fd7ff22646996f58c53de08547b1a1fb6a Bug: 18606219
* | | am 257fde6e: Reroute submix HAL: fix race condition on output stateJean-Michel Trivi2014-12-101-3/+4
|\ \ \ | |/ / | | | | | | | | | * commit '257fde6eb533b890776c8c45be8b61c48ab04945': Reroute submix HAL: fix race condition on output state
| * | Reroute submix HAL: fix race condition on output stateJean-Michel Trivi2014-12-091-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When reading from a pipe, the output may have been previously closed, therefore the output state should only be read if it is still available. This fixes a race condition observed between in_read() (which accesses the output stream) and adev_close_output_stream() (which sets the output reference to NULL). No issue with out_write() which checks the input reference. Bug 16009464 Change-Id: I979bc12c8fe91fad9b6f6c9e0be107c1bacae360
* | | am 719b8423: Merge "Remove ARCH_X86."Elliott Hughes2014-12-051-8/+0
|\ \ \ | | |/ | |/| | | | | | | * commit '719b8423102e469b5a537321f02011415b376dbe': Remove ARCH_X86.
| * | Merge "Remove ARCH_X86."Elliott Hughes2014-12-051-8/+0
| |\ \
| | * | Remove ARCH_X86.Elliott Hughes2014-12-041-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | Should have been __GLIBC__, but the code is dead anyway. Change-Id: I773f296a9c31949fa631cad863b841584c71f0ef
* | | | am 32fb8b2d: Merge "Fix C++11 build."Dan Albert2014-11-281-5/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '32fb8b2d9f8399a745a26dddc031cc16867ada2d': Fix C++11 build.
| * | | Fix C++11 build.Dan Albert2014-11-271-5/+5
| |/ / | | | | | | | | | | | | | | | Not sure how this slipped past my checkbuild... Change-Id: Id238887a2a47ced387a6128a772fad3e468096be
* | | am b73bc860: Support multiple pipes for reroutingJean-Michel Trivi2014-11-191-140/+295
|\ \ \ | | |/ | |/| | | | | | | * commit 'b73bc86089b8a65da88776bafcf48529431150b8': Support multiple pipes for rerouting
| * | Support multiple pipes for reroutingJean-Michel Trivi2014-11-171-140/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation for "remote submix" supported only one pipe to capture the output of a mix. This CL adds support for multiple pipes to support capturing multiple audio routes. The structure for the r_submix audio device holds an array of route configurations (route_config), each referencing the input and output of the pipe dedicated to this route. Each route is associated to a unique address. Standby status is maintained per stream. Bug 16009464 Change-Id: Ie164c4ad2a6d8138f825484e7faf29a974ccf82e
* | | am 40d48e17: Merge "Stop using stlport."Dan Albert2014-11-171-5/+0
|\ \ \ | |/ / |/| / | |/ | | * commit '40d48e177f243c6093a45301db122a0475cc1124': Stop using stlport.
| * Stop using stlport.Dan Albert2014-11-171-5/+0
| | | | | | | | | | Bug: 15193147 Change-Id: I5d53338f239ba18a2b007b345ba050d1560220b4
* | am 5ff76cb5: am 793a854e: Fix remote submix crash on null sinkJean-Michel Trivi2014-10-161-12/+30
|\ \ | | | | | | | | | | | | * commit '5ff76cb59a892a856fa2476bd5bf7c41537b78e1': Fix remote submix crash on null sink
| * \ am 793a854e: Fix remote submix crash on null sinkJean-Michel Trivi2014-10-151-12/+30
| |\ \ | | |/ | | | | | | | | | * commit '793a854e4547fa43632907a987684cadc93eb5e2': Fix remote submix crash on null sink
| | * Fix remote submix crash on null sinkJean-Michel Trivi2014-10-151-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "remote submix" HAL uses a MonoPipe instance to "pipe" audio from the sink of this virtual device HAL to its source. The life-cycle of this pipe is: - creation when either the input or output stream is open - destruction when both input and output are closed. Changes are: Fix test for pipe destruction: destroy pipe when both input and output streams are NULL. Count how many read errors went into the logs and cap them so as not to spam the logs when the pipe is not properly set up. Less 'I' logs, 'D' logs instead. When opening input stream, check for non-null sink before checking if it's shutdown. Bug 16653334 Bug 17111907 Change-Id: I634b4192b00f9b74a5109f42242423e9c8cb4c7c
* | | am e914d696: Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliantNick Vaccaro2014-10-111-9/+49
|\ \ \ | |/ / | | | | | | | | | * commit 'e914d696a95a799bbcca221238a1874f995871ca': Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
| * | Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliantNick Vaccaro2014-10-101-9/+49
| |/ | | | | | | | | | | | | | | Ignore calls to any HALs that are not 1_0 or 1_3 compliant. Fix an unused parameter compiler warning. Bug: 17645248 Change-Id: Ia50f7512dfe35f37973440bba84e1b1b177a7bd3
* | Support MONO and STERO USB inputs. Allow "dynamic" flag in audio_policy.conf.Paul McLean2014-09-172-46/+34
|/ | | | | | Bug 17526569 Change-Id: I64b00fd338eb937303b41608728a18341ee78820