summaryrefslogtreecommitdiffstats
path: root/libfm_jni
Commit message (Collapse)AuthorAgeFilesLines
* FM: Fix Static Analysis IssuesKamal Negi2016-04-191-21/+7
| | | | | | | Removed unused variable and cleanup code for FM seek functionality. Change-Id: I01d9a55f76e1c7d68abfad9d513ae6b3625c5c77
* libfm_jni: Confine the firmware-load skipping to the actual loadingRicardo Cerqueira2016-01-261-5/+8
| | | | | | | | | | | | | | | | Change I31fee137a59256c2b2907b5ff7212327299a9646 removed the property-setting steps from the initialization routine. Bring it back, as we may want to use those properties to trigger module state changes from init. The recommended flow for devices with the latest IRIS driver is the following: on property:hw.fm.init=0 write /sys/module/radio_iris_transport/parameters/fmsmd_set 0 on property:hw.fm.init=1 write /sys/module/radio_iris_transport/parameters/fmsmd_set 1 Change-Id: Id1997a51d83b82425630f6975f4020d4a2a448c4
* libfm_jni: Improve and fix FM jni logsAdrianDC2016-01-227-45/+59
| | | | | | | | | | | | | | * Log cur_fm_state as Debug instead of Error * Log successful and state logs as Debug and Info instead of Error * Log step by step firmware download as Info and Debug * Fix logging of the is_rds_support * Add __func__ name for the cur_fm_state logs * Add a cur_fm_state log for Stop_Scan_Seek * Add missing LOG_TAG for all sources using ALOG* * Avoid double log on error in IsRdsSupport * Fix typos, relevant warnings and cleanup related sources Change-Id: I2abe77c6f00c02ef106b569bef5db6b366e76df1
* libfm_jni: Add support for internal antenna hardwareAdrianDC2016-01-072-0/+8
| | | | | | | | * Devices defining the hw.fm.internal_antenna property will switch to internal antenna to allow proper FM receival Change-Id: I3dabccb27dee8110def3b6c46bbb61252a6e3267 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* libfm_jni: Use correct QCOM HW flagLuca Stefani2015-12-021-1/+1
| | | | | | BOARD_USES_QCOM_HARDWARE is common flag for QCOM devices Change-Id: Ie5c784288ebdecf00220fe0196ba3fdd2752a1f9
* libfm_jni: Do not come here unless QCOM_HARDWARE is in useRicardo Cerqueira2015-12-021-0/+3
| | | | | | This and the non-QCOM (Google) FM app are mutually exclusive Change-Id: I41f33b6d21b56a46588d696ec286ffa2d45f1f0c
* libfm_jni: Skip loading FM firmware if requestedRicardo Cerqueira2015-11-222-0/+17
| | | | | | | | | | Not all boards require a firmware download for FM. Set TARGET_QCOM_NO_FM_FIRMWARE if the device doesn't require a fw image to run FM. Adapted for libfm_jni by Sultan Qasim Khan. Change-Id: I31fee137a59256c2b2907b5ff7212327299a9646
* jni: fix calibration data path for legacy fm_qsoc_patchesKonsta2015-11-182-0/+8
| | | | | | * Set 'TARGET_FM_LEGACY_PATCHLOADER := true' to enable. Change-Id: Ibfa83ba549b36ad5f93bacf310459bdb0ce33987
* FM: Resolve KW issues.Mahesh Kumar Sharma2015-08-141-4/+6
| | | | | | Use more safe snprintf and thread safe strtok_r. Change-Id: I7ae8d94c7ab1e1c7e3b6a3b4b0dce703f9dcddce
* FM: Fix the issue with patchdownloaderVenkateshwarlu Domakonda2015-07-273-22/+32
| | | | | | | | - Avoid patchdownloader for Silabs based targets. - Make changes to treat only negative return values as errors. - Change the calibration data path. Change-Id: I611d5f6d64734e2a3a41456bb18b1e612862e0ed
* libfmjni: Implement hal layerVenkateshwarlu Domakonda2015-04-0913-0/+5205
Implement HAL layer that can be plugged in with Android FM APP to get fm functionalities. Change-Id: Id16d37a320fdbacb505ba7ecc431622db17bd4d7