summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Properly handle missing firmwaresHEADreplicant-4.2-0004replicant-4.2-0003replicant-4.2-0002replicant-4.2-0001replicant-4.2Paul Kocialkowski2013-11-111-0/+136
| | | | | Change-Id: I33e9f2fd201834ebe5a0cd0255913aaf463e01d4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* audio_policy: Add EVRCB & EVRCWB formats for msm7x27asakindia1232013-07-061-0/+2
| | | | | | Needed to compile audio hal from caf Change-Id: Ibac3cf0b58de0bb6ee621e0498322318464492a0
* libhardware_legacy: Increase stream mute timeKarthik Reddy Katta2013-06-151-1/+6
| | | | | | | | - Increase the stream mute time to avoid audio glitches while switching between combo devices. Change-Id: I8b47e6e8b977b1025310fd2b16b452a6c11005bd CRs-Fixed: 448577
* Primary output check for sonification is removed.Vimal Puthanveed2013-06-151-10/+1
| | | | | | | | | | | | | | | | - When there are 3 different tracks (Ringtone, Music and Touchtone) the device switch happens for touchtones to primary if the primary output is active. This can lead to music being played in combo due to timing issue. - This is mainly because we have a check for, primary output if active we return true for SONIFICATION. This will set SONIFICATION for touch tones and this device switch will come after music device is set. - Hence music will start playing as SONIFICATION. - We have removed the primar output check for getting device strategy Change-Id: Ibe2c381a887a49ea8b776fb2148f38b61532d021 CRs-Fixed: 456842
* wifi: add a new "loading" stateMichaël Burtin2013-06-111-0/+2
| | | | | | | Set wlan.driver.status to "loading" in wifi_load_driver to allow external action being triggered by property change. Change-Id: Ia4363de4c4e0e1a1c4759f5699fd5ea6e1bc3182
* qcom-fm: audio: add support for FM featureMingming Yin2013-03-246-0/+40
| | | | | | | | | | | -Add set_fm_volume() to set handle fm volume Change-Id: I2a2c6a60b9855d9360ff8fb90849517e77e5faab Conflicts: audio/AudioPolicyManagerBase.cpp include/hardware_legacy/AudioSystemLegacy.h
* wifi: add suport for WIFI_EXT_MODULEjerpelea2013-03-082-1/+31
| | | | | | | | | | | | | Some wifi modules have dependencies on others (for SDIO, usually). Use WIFI_EXT_MODULE_PATH to specify such dependencies Change-Id: Ie8e746c1e69712be78d420d8e8ae8b015564a03d Conflicts: wifi/wifi.c Change-Id: I3fbc0065f76d91d170fb562159ea326caa4f3345
* fmradio: cleanup QCOM_FM_ENABLED/STE_FM defs and ifdefGiulio Cervera2013-02-162-18/+50
| | | | Change-Id: Ia34dca04e6b9de3509987ad9d88a5fecc3820e2f
* Merge tag 'android-4.2.2_r1' of ↵Steve Kondik2013-02-124-8/+35
|\ | | | | | | | | | | https://android.googlesource.com/platform/hardware/libhardware_legacy into 1.1 Android 4.2.2 release 1
| * audio policy: notification delay - DO NOT MERGEEric Laurent2012-11-082-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | merge from master: "audio policy: fix notification start delay The mechanism delaying notifications in case of muliple active outputs with long latencies must take into account recently paused audio tracks. Bug 7400428." Change-Id: I4ac9dfac81336e33f475b4f28df82713707d0c46
| * audio policy: fix volume problem - DO NOT MERGEEric Laurent2012-11-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merge from master: "audio policy: fix volume change when disabling SCO commit 76e97d39 introduced a regression by having setDeviceConnectionState() force a device change on duplicated outputs even if the selected device is 0. This also forces a device 0 for the two outputs it is duplicated to, which may override a valid device selection on those outputs and apply default volumes. Bug 7429869." Change-Id: I37dd66343c54eb27e420089edbda04444fa1e2c6
| * audio policy: fix dynamic parameter - DO NOT MERGEJohn Grossman2012-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merge from master: "Fix a parse error in checkOutputForDevice Fix a small parsing error in parsing the supported formats and sample rates of a stream out with dynamic values for these parameters. The channel mask parser was properly skipping the "=" in the setting string, but formats and sample rates were not (cauing the first reported format and sample rate to end up being skipped)" Change-Id: Id227a44f6b5fc0c223f2ce74f94ebb6abc5fa77d Signed-off-by: John Grossman <johngro@google.com>
| * audio policy: direct output fix - DO NOT MERGEJason Simmons2012-11-081-0/+1
| | | | | | | | | | | | | | merge "Close a newly opened direct output if its parameters are invalid" from master Change-Id: I27ac015217480a854d25273ab9498949971b411a
| * Fix stop supplicant apiIrfan Sheriff2012-11-062-2/+11
| | | | | | | | | | Bug: 7227463 Change-Id: I4576e223c69dd67bd714fefecf0a1047770362fd
| *-. Reconcile with jb-mr1-factory-release jb-mr1-release - do not mergeThe Android Open Source Project2012-11-060-0/+0
| |\ \ | | | | | | | | | | | | Change-Id: Ia0e74b5de81f7a112a2e4d829111c6cc7d937617
| | * \ merge in jb-mr1-factory-release history after reset to jb-mr1-devThe Android Automerger2012-10-120-0/+0
| | |\ \
| | | * \ merge in jb-mr1-factory-release history after reset to jb-mr1-devThe Android Automerger2012-10-110-0/+0
| | | |\ \
| | | | * \ merge in jb-mr1-factory-release history after reset to jb-mr1-devThe Android Automerger2012-10-100-0/+0
| | | | |\ \
* | | | | | | STE_FMRDIO:enable STE_FM radioAlin Jerpelea2013-01-291-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I77ff268d37f0359c45600132281d5620c7c2d61d
* | | | | | | audio policy :Added EVRC and QCELP for 7x30 HAL compilationKalyani polepeddy2013-01-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I46ac52fa5e04edf1d55302f3868427fa35b378d7
* | | | | | | audio: Add support for QCOM audio devices, formats, and channelsMingming Yin2012-12-234-17/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add QCOM supported devices, fomats, and input/output channels in AudioPolicyManagerBase - Add QCOM supported devices in AudioSystemLegacy.h Change-Id: I5e2977a630c2bf9211af62d97ae024c5c57075f9 libhardware_legacy: Add support for DirectTrack - Add support for DirectOutput in libhardware_legacy - Add new APIs to AudioStreamOut base class - Add audio output flags to openOutputStream Change-Id: I301b3b9b2c2ad08dba75f616008d692e825af96f audio: add missing QCOM audio devices, formats, and channels - Add support for FM I/O devices and communication device for VOIP - Add support for mp2 audio format - Add support for 6.1 audio channels Change-Id: I7b3042902c658dc8e5dfa34719fb80d18f3ff4e7 libhardware_legacy: Support LPA Playback Add support to enable Playback in LPA mode When Alarm is playing on headset+spkr, if LPA playback is selected STARTEGY_MEDIA gets selected and switches device from Combo device to Headset. - Fix the issue by selecting Combo device only even incase of LPA when stream ALARM/NOTIFICATION is active. Change-Id: Ifde78a744a17ce613eac92b4c3bcf875167aaeb6 Add ifdefs for QCOM enhanced features Change-Id: I87ce3503ed85458c775d0c8c7fa649d8194e28e3
* | | | | | | Merge "audio_policy: Fix volumes for ICS blob compat" into cm-10.1Ricardo Cerqueira2012-12-231-1/+8
|\ \ \ \ \ \ \
| * | | | | | | audio_policy: Fix volumes for ICS blob compatRicardo Cerqueira2012-12-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow usage of the default audio_policy source, even if the primary audio HAL is an ICS binary blob Change-Id: I959a925f458e14380c2e5443b1378c4018d9f084
* | | | | | | | wifi: fix samsung wifi logiccodeworkx2012-12-221-7/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib065c0dffa1265a17f5e4fd6ec0b0ad36bbc7b14
* | | | | | | wifi: Add support for AP module argsSteve Kondik2012-12-203-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Needed for Samsung's goofy handling of AP mode Change-Id: I5ec65460b7c9f8ef34170473cf1bdaa36587767b
* | | | | | | wifi.c: allow devices to specify driver delayR. Andrew Ohana2012-12-172-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary on the Samsung smdk4210 tablets. Without the delay, it takes roughly 30 seconds to enable wifi. Change-Id: I6a3419e66958fc72ae60e5294f52124b1180d752
* | | | | | | wifi: support adding p2p0 when starting wpa_supplicantHashcode2012-12-143-0/+3377
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For TI wlan chips in p2p mode we need this omapzoom cherry-pick to start p2p0 correctly. http://www.omapzoom.org/?p=platform/hardware/libhardware_legacy.git;a=commit;h=ccb4c24db795059f1df365d313d80c6b269bc55e By: Arik Nemtsov <arik@wizery.com> On: Tue, 31 Jul 2012 21:21:20 Original commit description: Add p2p0 using an NL80211 command when wpa_supplicant is started, and p2p_supported is enabled. Change-Id: Ibc0ad138513f024672642cc5764a81510aa38625 Signed-off-by: Hashcode <hashcode0f@gmail.com>
* | | | | | | wifi: Choose correct nvram file on samsung hardwareSteve Kondik2012-12-042-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9d428ae61c1ce80d97e6ea513839ed64e8f61440
* | | | | | | power: Add DVFS stubXpLoDWilD2012-11-261-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I23837ff88a0a7b23474348b6fe8eee15cfe91e10
* | | | | | | hardware_legacy: allow alternative vibrator implementationsRicardo Cerqueira2012-11-232-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The native vibrator code in libhardware_legacy assumes the vibrator is always controlled by inputting timers into sysfs (at /sys/class/timed_output/vibrator/enable). This isn't necessarily true, there's an upcoming device which has the vibrator controlled by ioctl() calls. This patch lets the device configuration specify an alternative vibrator implementation throught the variable BOARD_HAS_VIBRATOR_IMPLEMENTATION That variable should point to a sourcefile that implements the vibrator "int sendit(timeout_ms)" function, like this: BOARD_HAS_VIBRATOR_IMPLEMENTATION := ../../device/vendor/model/vibrator.c Change-Id: I78d60480f87ef00a0bab096d7f42e47501def936
* | | | | | | Add support for ICS audio blobsRicardo Cerqueira2012-11-224-1/+52
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Change-Id: If0cde8860a5cb1fa63a40787bfe001cf18e9be6d
* | | | | | merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-290-0/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-190-0/+0
| |\ \ \ \ \
| | * \ \ \ \ merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-170-0/+0
| | |\ \ \ \ \
| | | * \ \ \ \ merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-170-0/+0
| | | |\ \ \ \ \
| | | | * \ \ \ \ merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-160-0/+0
| | | | |\ \ \ \ \
| | | | | * \ \ \ \ merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-120-0/+0
| | | | | |\ \ \ \ \ | | | | | | |/ / / / | | | | | |/| | | |
| | | | | | * | | | merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-110-0/+0
| | | | | | |\ \ \ \ | | | | | | | |/ / / | | | | | | |/| | |
| | | | | | | * | | merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-100-0/+0
| | | | | | | |\ \ \ | | | | | | | | |/ / | | | | | | | |/| / | | | | | | | | |/
| | | | | | | | * merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-090-0/+0
| | | | | | | | |\ | | | | | | | | |/ | | | | | | | |/|
* | | | | | | / | audio policy: active analog dock force usageEric Laurent2012-10-261-1/+2
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qualify the selection of the analog dock for media by the force use. Bug 7302106. Change-Id: I2ea48fd43866ce8491085bba72a27751b2203401
* | | | | | | | Merge "Fix native crash when driver commands time out" into jb-mr1-devIrfan Sheriff2012-10-181-1/+7
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix native crash when driver commands time outIrfan Sheriff2012-10-181-1/+7
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7361130 Change-Id: Ia076b4ec84a4a0e05ba9eaa53ed732fa041fca6a
* | | | | | | | Merge "audio policy: fix scanning of supported devices" into jb-mr1-devEric Laurent2012-10-181-2/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | audio policy: fix scanning of supported devicesEric Laurent2012-10-171-2/+2
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix is a bug in checkOutputsForDevice() which makes that we can try to reopen an output stream after a new device is connected because we believe that no opened output is available for this device. Bug 7369475. Change-Id: I2290a9b5ba102657cda495fbb8a995e0003b883a
* | | | | | | | Merge "audio policy: tune voice/video chat volumes" into jb-mr1-devEric Laurent2012-10-182-18/+22
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | audio policy: tune voice/video chat volumesEric Laurent2012-10-172-18/+22
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new volume curves for VOICE_CALL stream type to improve voice/video chat volume on speakers. Bug 7346643. Change-Id: Ib282a97570d2234deec6b58391bdfc45846d9cc0
* / | | | | | audio policy: update output delayMs in setPhoneStateSathishKumar Mani2012-10-171-0/+16
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Issue: When call is connected in HDMI while playing music, Playback is routed to phone shortly - Cause: delayMs is not updated correctly, and no delay is set when setOutputDevice is called - Fix: update delayMs with biggest mOutput latency and mute STRATEGY_MEDIA on all outputs Bug: 7268860 Change-Id: I12b75443a29ab8485314bd0cbfe5ee4789be5c29 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | | Merge "audio policy: do not route in call audio to HDMI" into jb-mr1-devEric Laurent2012-10-161-20/+24
|\ \ \ \ \ \
| * | | | | | audio policy: do not route in call audio to HDMIEric Laurent2012-10-161-20/+24
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In call audio shuold not be routed to HDMI, S/PDIF or USB by default as most platform do not support it. Bug 7339490. Change-Id: Iac4803f3fbde0c321fc7b37ab7ba34af6a16b4aa