Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update time for qcom_fm #1

Open
wants to merge 80 commits into
base: mm6.0
Choose a base branch
from
Open

Conversation

TechExhibeo
Copy link

No description provided.

AdrianDC and others added 30 commits February 26, 2016 12:04
 * 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 <[email protected]>
 * 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
Fix the issue: After pressing back-key or rotating DUT, FM will stop.

Change-Id: If9c3b5001963e837dde699a844a6406acd892126
Signed-off-by: juncao <[email protected]>
CRs-Fixed: 956792
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
Change-Id: Ib74be626471d73817d644c7777a2b18a32712f8a
Use the library directly instead of forcing its global inclusion

Change-Id: I547c85b1b6c4ce09333e2eac2059cca1b851a346
Make FM notifications look like something from this decade. :P

Change-Id: Ib0e310a320c49e92224d8d4fc2fab530ff28d974
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

Change-Id: If18650af934f840a54f53fa9474a3341df0e3e68
Change-Id: If5e955d5f5f52e9f100d841028b1e1da1f6fd70d
Change-Id: If6cb13b9b5927aa0096f8dde4ecffeecf1b4bc00
Change-Id: Ib9cb3d5663f9eec92922a3eea7d605a2bf3b538c
Change-Id: I635da34903f9b21c43c167e78aaabf055462800e
Change-Id: I219e2a51939af7d65c4a0ed8eb87134ca7f986ee
Change-Id: Ib7cf1e0c5de85440f7d2a7563cc5f7e508b6998f
Change-Id: Ie426ec3fa4aa3e8f4136938eb35f419ecc0aa71a
Change-Id: I3f063967c06d43e0fe99d08dea5e3e65a3943e8b
Change-Id: I7e44a8835c450697765c41fafdf325c1e2043b49
* Remove unused layouts/drawables
* Remove unused strings
* Remove CAF chinese translations
* Improve strings
* Move debug strings/arrays to debug_strings.xml/debug_arrays.xml
* Move transmitter strings to transmit_strings.xml

Change-Id: I5b391b459aefa75a6c3edbc525d471a3bcefb2be
Change-Id: I201ca424948ce26f0e78e132defbbff037edfa8b
Allow devices to force the FM radio to use the internal antenna setup by
setting hw.fm.internal_antenna property to true in system.prop.

Device tree example here: I7c9a67371c775a343345b035c196152bd9b2e13d

Change-Id: I1a055070bb4b7e49b7a03c75632d4b95c59f02da
Change-Id: I5cf78905c0fb41d652ec92bc141cd62dba481f64
Change-Id: I9d8693e1b63aeabbdb265061a240ff15d8fdb20b
Change-Id: I4b4c8c822f3c0f65706bbfbf55de4db3360e2d17
Use a new id so that old values aren't changed
Looked into reordering the list but the index is used
in a few places - going to skip on that change for now

Change-Id: Ib70634d28588ce23a37fcc7b760019c07af3412f
Change-Id: I8fc65fb09424c01477d68372fb99c457ecc963fa
* Since we can fully manage this array in crowdin, let's keep all entries in the array
* It's less confusing for the translators since they see all the entries grouped in 1 file

Change-Id: I78c91550b49391ab4f3c109d334d8ba68d11bed7
* Created by Jovie Brett Bardoles

Change-Id: I84945542cc60aa7fc0b28c720282a0b38c732604
Change-Id: Ib5f9cb01d1b1087a69401b2c7eec62910cb19b15
* Remove extra space
* Rename "Czech"  to "Czech Republic", as it really named

Change-Id: Iba9dfedd9a4815a2c06ef3bc8b09ce6fd8a38b56
(cherry picked from commit b38c8de3d60cc6bc9ba56fd7a510a15c2ce45c25)
* Update colors
* Vectors
* Off state messages

Change-Id: I0186edda6c408fcde3dd98cd886ced775adbd938
Signed-off-by: linuxx <[email protected]>
mikeNG and others added 30 commits February 26, 2016 12:04
Change-Id: I02f6fb0e96d85e487b2e1e1b148a4626e6e46bad
Change-Id: I0730dc0437cf92b1fac11535e93e71ff6e360faa
[Procedures]:
    1.FM->collect one channel
    2.Quit FM and enter FM
    3.Check the collect channel

[Expect results]:
The collect channel exist

[Actual results]:
The collect channel disappear

Change-Id: I50f9f8d849d7d1bfab1159be51e9ad0ef2bac0a9
Change-Id: Ic50c972516ba160f8ec013090559bb4353b8fc08
Change-Id: Ib51550e41f394af460fd0b56f77006267f3d2fe2
In the middle of a scan, the user could navigate away from the activity,
during which the scan could've finished. The activity is no longer synchronized
with the service and causes issues where the dialog for scan keeps showing...etc

Fix this by syncing state in onResume

issue-id: CRACKLING-529
Change-Id: Ief3138e4d6e157ad0b060dc3aced18668959f4e1
Change-Id: I7d242dbbf78208ef956cb28f2fe1d92dc1702bf6
By keeping track of scanned frequencies in the service, this allows
us to fetch it when the activity is resumed and not rely on having
active callbacks.

Change-Id: Idea9cab3e5fd2a789333c3f126416e0102613aa8
Change-Id: I6175f6d2435cdf32111abba6f924955df1ec091c
Change-Id: I850c668d3f179158cddf541a82178b04aa176ff6
Checks the locale country code, and if found in the lists of
known codes, returns the appropriate regional band. If not,
accepts the default from resources as before.

Change-Id: Icaa98ded11e548afc8be446e7bc80a1066bee873
Issue-id: CYNGNOS-738
Change-Id: Ic54438e22251f7dd851161efbeeaa528774a543f
Based on the code reviews on my previous commit, my earlier
code (which was admittedly slapped together in a hurry) was
too sloppy. this is a more elegant solution.

Change-Id: I08fc64ad628a3c8cb9e634310b89ac8abae2d7c8
Issue-id: CYNGNOS-738
Now tries to obtain the location from the telephone network
instead of locale. This will select the band based on where
the user actually *is*, rather than based on their language
selection. If the telephone network fails, falls back
and uses the locale.

Change-Id: Id05f399d9f14911004fd3bca98230deb31ae768d
Issue-id: CYNGNOS-738
Change-Id: If85930e3d64ebefd88696042e6f51ce7433c7599
Change-Id: Idb56bfcc4caaf68d9a94b1167083375e4724c1f9
Previously, FmRadio could only display the type names for English and
two dialects of Chinese, despite already having a full set of localized
names in the resources. This change moves the names from <array>s to
<string>s and then uses them in PresetStation.java

This looks like a massive change, but it's mostly moving strings to
different resource files.

Change-Id: I6be12d05f9efdec7ec189d30f625d7f82746b5a6
Issue-id: CYNGNOS-995
Partial revert of I6be12d05f9efdec7ec189d30f625d7f82746b5a6 to fix
build.

Change-Id: I5161a726287585624d756fbaf721eb7a814a4794
Change-Id: I8d3bf40aa1ab4643b3062eb86a89ccd21577ce23
Setting any user-defined parameter caused the band to switch
from user-defined to Indonesia. Fixed.
Also removed some bogus localization while I was there.

Issue-Id: CYNGNOS-778
Change-Id: I256f04eab39b820b33676bf598322d480d6dfa44
Original headphones were mis-matched w.r.t. default/selected. This
change normalizes the icon. Also fixes a couple compiler warnings
in FMRadio.java

Change-Id: Iee383bc23455562f21c3c431d5b291506e0e3e13
Change-Id: I7d728d06dea4d37bba0f93e0660ffbd03e555cfa
Change-Id: I30d19ec52f42727e622eb8a0be045b6e3f5ec177
Change-Id: Ie74cc6cc2adee5b41eea693463c6c6937c0ea850
Change-Id: I1e02aedf9dfc53eb8d85dc99d9b2e1552b2671ab
Change-Id: Ifad029bbcc74b97cb4d9f28e6406bcdf87f2f9af
Change-Id: I9c52baab3f9408544332c1a0c3ca4f8c1066709e
Change-Id: I72fce8b4efe95bd4b3067c13b45d4d5efa036f47
Change-Id: I1727b585865b422ef5124a3da2d2be384f9fdfa1
While recording save to a temporary private file and once finished,
move to external storage

Change-Id: If82a84beeffe2ea8e5ba4bf7e93e4f3d6203e10f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.