History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/RatRatcheter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1f807886d0651844482a758d026e3833d08aa96d 01-Jun-2018 Nathan Harold <nharold@google.com> Merge "Set Cell Bandwidth Correctly By RegState" into pi-dev
b14ddca67586d2541584beb5e7b6a15017416525 19-May-2018 Nathan Harold <nharold@google.com> Set Cell Bandwidth Correctly By RegState

During the PollState procedure, The Voice and Data
RegState Results provide an initial cell bandwidth,
which is not being properly set in cases where the
device already has CarrierAggregation by the time
the poll state finishes, or when the radio has
returned to idle but we have a new serving cell.

-Cache the last PhyChanConfig in ServiceStateTracker.

-Add support to populate the SS Bandwith in poll state
by first seeing if there is a list of phychan configs.
If it exists and is valid, use it. If not but there is
a valid bandwidth in the cell identity use that.

-Fix the RatRatcheter.isSameRatFamily() so that RATs
that lack a mapping to a family do not compare to
equal.

-Fix the Ratcheting logic so that bandwidths are only
ratcheted when there is no location change detected.

Bug: 80004809
Test: manual
Change-Id: Ibbcb8556cd4b64f12c57353b00c2c38116b31c70
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RatRatcheter.java
80ce47fde433a5bb406da51fbfd6bbb473c94630 23-May-2018 Pengquan Meng <mpq@google.com> Fixed ratratcher issue

Test: telephony sanity test
Bug: 80189394
Change-Id: Ie8ce6493fd19e8a8a6557d15ec702825654b48f5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RatRatcheter.java
ba018e0702b636d85567697b04cf064d7e7892b4 21-Feb-2018 Eric Schwarzenbach <easchwar@google.com> Update ServiceState with PhysicalChannelConfigs.

Updates the ServiceState cell bandwidths from PhysicalChannelConfig
indication. Uses the RatRatcheter to conditionally update the
ServiceState bandwidths iff the current PhysicalChannelConfigs have a
greater aggregate bandwidth than the current ServiceState bandwidths.
Ratchets the bandwidth list until cell change.

Bug: 72524533
Test: runtest frameworks-telephony
Change-Id: I46aaa0d4ab3660e79dab7d2dcf6105ca6575b973
Merged-In: I46aaa0d4ab3660e79dab7d2dcf6105ca6575b973
(cherry picked from commit 475cb714d1d9297cef6b72079fc30e7eac563326)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RatRatcheter.java
277c6456d8361d820811de3b89acc5a079cd1fab 01-Mar-2018 fionaxu <fionaxu@google.com> DO NOT MERGE fix ratratchet when CID change right before RAT change.

There is a timing gap of updating CID and DataRAT when moving between
cell from different RAT (e.g., move from EDGE to GPRS). In that case,
cell ID remains the same when handling rat change, thus ratratchet
will not report lower rate RAT for the purpose of battery-saving.

As its hard to gurantee synchronous cell location change and RAT change,
Frameworks will bypass ratratchet on the next RAT change event
following CID change. This will fix the timeline issue but with some
degree of performance regression when cell location change is not
followed with an immediate RAT change. In that case, we still report
lower rate RAT (only for the next RAT change) and update UI etc.

Bug: 65695609
Test: ServiceStateTrackerTest.java
Change-Id: Ia9cc52fa3c9cd3d6d1fc0ec08c929f52a5752755
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RatRatcheter.java
2cd7606f4d72cb7340c164aebb1835cd87f4996c 29-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Stop exposing LTE_CA as a RAT type.

Instead use a new hidden field in ServiceState until we
get a real api in O.

bug:30480638
Change-Id: I40e3eeddced2c8f078c51fe8be4d45ce2e1139df
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RatRatcheter.java
8c751b4ec57a6f2a7702d9ee003b0ec721c2ebac 10-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Add a Carrier-config specific ratcheter of RATs.

Only reports transitions to higher RATs within a given family.
Reset when we move to a new cell.
Avoids costly propogation of RAT flapping within the family,
for example every outgoing data pops us into a higher RAT and
idle time pops us back down.

bug:27360321
Change-Id: Ifd219eda701eb2c87a8b6798d919f71fab804f5d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RatRatcheter.java