History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
815af95fb1568fd7b1ab8e6a610189821de99c81 23-Apr-2013 Wink Saville <wink@google.com> Support WiFi only device at runtime.

Now that ConnectivityService determines if TYPE_MOBILE is supported at
runtime don't need the special code in RIL.java.

Bug: 8562845
Change-Id: I34de5c6accc718b199c13815537de1debfe3dc91
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
121c056d398b68e2bd2d35e6f5c2730fa7fb81c9 17-Apr-2013 Wink Saville <wink@google.com> Default CellInfoListRate to off, Integer.MAX_VALUE.

For now be sure CellInfoListRate is off.

Bug: 8621996
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5fb811ff076aa6b4a9ceca6edaf504a4c6d9ad20 09-Apr-2013 Wink Saville <wink@google.com> Add FW support for CellInfo RIL commands.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e3366ce305cf679bed0270db09938567d0e4d6d2 08-Apr-2013 Wink Saville <wink@google.com> Fix SignalStrength response.

Use the new SignalStrength constructor with gsmFlag.

Also, remove code in responseStrings which would cause
it to return an empty array if RILJ_LOGV was true.

Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ff4e317d24f0d23bdc0f306d53ddc51f2f1ecf6a 22-Mar-2013 Wink Saville <wink@google.com> Move retrying into DC.

This is the first step in refactoring for bug 4772191.

Bug: 4772191
Change-Id: Id54a20ab192783c63939158670faaf531a527640
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6ca911a976a277e69800249c924c8dbc8fc5d78f 21-Mar-2013 Wink Saville <wink@google.com> Merge commit 'f606e5cc' into fix-merge-conflict

* commit 'f606e5cc':
RIL: Correct the RIL_REQUEST_DIAL api missmatch

Conflicts:
src/java/com/android/internal/telephony/RIL.java

Change-Id: Ib2b477628e14ca221acad35f4a2cf9a44170a33e
9ae284ab5fc779da9b03f8fd5020edc658c4bf4e 10-Oct-2012 Bjorn Andersson <bjorn.andersson@sonymobile.com> RIL: Correct the RIL_REQUEST_DIAL api missmatch

The uusPresent is written twice in dial() so it will always be
marked as absent.

Change-Id: Id50a4dc8a3eefdaf2284e410382428c52e9b5ef1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
22d85a8e3a575a6d01d2c788587971657dfe20c6 23-Feb-2013 Wink Saville <wink@google.com> Clean up member variables.

Change-Id: Ib60f350131ade626aca682407ea0b4377b16f6c6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
cbaa45bbf2cab852b6c9c3a887e9f803d4e857ea 23-Feb-2013 Wink Saville <wink@google.com> Clean up

- Add @Overrides where needed.
- Update javadoc comments
- Remove extra semi-colons
- Rename DataConnection.java to DataConnectionBase.java
- Rename GsmDataConnection.java to DataConnection.java
- Add defaults to switch statements
- Remove/fix most "if (false)" statements. Fixed by using a CONSTANT
- Fix hidden variables by hoisting to base class or renaming
- Tweak some debug output

Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
4918296afe1c667e9523cdfc799f558f7ebc2bfb 21-Feb-2013 Wink Saville <wink@google.com> Move DataConnection related classes to their own package.

Change-Id: I34ee9e87545e6b15ebf4d3ec101d4ed3d322f7b2
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6387253f9b0eb8bec049115498ec1f2bfd6d991d 05-Feb-2013 Jake Hamby <jhamby@google.com> am 9eef81ce: am 89558696: Merge "Telephony: Define enable/disable APIs for Cdma CMAS"

# By Rika Brooks
# Via Android Git Automerger (1) and others
* commit '9eef81ce80e72d68a8349fd84797276cb9cbe957':
Telephony: Define enable/disable APIs for Cdma CMAS
895586961de9992a4feefc57b648e01d158a382c 04-Feb-2013 Jake Hamby <jhamby@google.com> Merge "Telephony: Define enable/disable APIs for Cdma CMAS"
a63f55cf17629426d976830429a7612387532195 24-Jul-2012 Rika Brooks <rbrooks@codeaurora.org> Telephony: Define enable/disable APIs for Cdma CMAS

- Define enableCellBroadcastRange, disableCellBroadcastRange,
enableCellBroadcast, disableCellBroadcast for Cdma broadcast.
Create CdmaBroadcastRangeManager extended from existing IntRangeManager.

Change-Id: I5d70175862547475f49e08328ab3dcc5560e9096
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9e2a8da44a5fe14036950ad9a66b1b4c1ffdf344 28-Jan-2013 Wink Saville <wink@google.com> am 30f92450: am 69c5b8c7: Merge "Send correct screen state when radio available."

# By Bin Li
# Via Android Git Automerger (1) and others
* commit '30f92450d53443505ac1fa70138ddd55c91032bc':
Send correct screen state when radio available.
69c5b8c7c41614d0d5fc131a9f26c403a9d30de0 28-Jan-2013 Wink Saville <wink@google.com> Merge "Send correct screen state when radio available."
02a6fcee7a8e19904c53ce29c647383186b8285e 26-Jan-2013 Wink Saville <wink@google.com> am 9af36163: am 5b5a06f5: Merge "Telephony: Don\'t start RilReceiver when not needed"

# By Alex Yakavenka
# Via Alex Yakavenka (1) and others
* commit '9af361639d89aa20748ce9e8e3d55c97e7f6b632':
Telephony: Don't start RilReceiver when not needed
5b5a06f5d63561411d04d70900b55af23c44ef10 25-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Don't start RilReceiver when not needed"
c241cad754ecf27c96b09f1e585b8be341dfcb71 06-Jun-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Don't start RilReceiver when not needed

Basebandless targets don't need RilReceiver.

Change-Id: I510cc6f0100219af9479738fc4b48c7ab85ea666
CRs-Fixed: 367918
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
cf57b29a755b0249da687201bcc726941d37d42b 23-Jan-2013 Bin Li <libin@marvell.com> Send correct screen state when radio available.

Change-Id: I098ffd06916d9d37272ee3c8c57a4d7e21e564c6
Signed-off-by: Bin Li <libin@marvell.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8cabd3092c961f4593e3f52796b118bbd353b99f 24-Jan-2013 Wink Saville <wink@google.com> am 5eee6bd8: am 57516407: Merge "Telephony: Correct the typo in RIL.java"

# By Jiju Kinattingal
# Via Android Git Automerger (1) and others
* commit '5eee6bd8b452dcb328d3121d6f7fa8a819a5bc7a':
Telephony: Correct the typo in RIL.java
575164076e184002a8545dffa5056d38f07639c2 23-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Correct the typo in RIL.java"
98cd16eb902d714d6eb981528408d2a5b779e353 11-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of 6125afc3 to master

Change-Id: I40f57858d775b91c409532d19ea5c98ec51afb22
892e1fecf3c3736c4c04cf219d01034f71307065 09-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Fix mRequestsLists -> mRequestList

first of several fixes.

Change-Id: I362fbfd446aed6714e6c89204ee095d03474c26f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
dac8696ffd9adabba138a0156ac0e2a553070c23 02-Jan-2013 Wink Saville <wink@google.com> am 48a768d6: am aa54f8e0: Merge "Telephony: Add uicc debug info to DebugService"

* commit '48a768d6cff6e13d138cabe7f19d3dc1bf46ec79':
Telephony: Add uicc debug info to DebugService
05ef3b65972826780859b9acbd1fa9580d099832 28-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Add uicc debug info to DebugService

Change-Id: I03be52f97ea84808d608c48b4e6ffa2454e2a67c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
60dc9dc311361f9fb52155ea28d383d55afa90d8 11-Dec-2012 Wink Saville <wink@google.com> Merge commit '7e4b734a' into fix-merge-conflict

* commit '7e4b734a':
Telephony: Move uicc classes into uicc package

Change-Id: Iacc7f1805500bfe55299aaedbe0241ebba8e8b23
d720945f2be5ea5fe0faf67e67d9ea0e184eba67 01-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Move uicc classes into uicc package

Reduce constructor visibility to package where
possible

Dependent Changes:
I3b718b9aea1f21c7906c8243b4ca0db6af495a08
I80204a2f3dc57cac875abeab390bb9db7a636ff7
Ib9c19e8b157dc7ec74eb14baca5bd3b5caf08c47

Change-Id: Ib4f43374c041cb5eaf2e3883e5ea28b2eb2c9a69
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ded9c0af7fa49504c047275ed34c2d3b22bf0c3a 07-Dec-2012 Wink Saville <wink@google.com> Use Rlog

Change-Id: Ie013f51215de8380b8de74161b6056b010711cfd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
15852c31a4c339bb618dc884a2462612f5829f1a 06-Dec-2012 Nick Kralevich <nnk@google.com> am 051b44e1: am 7f65cbad: Merge "Remove sent USSD log"

* commit '051b44e1e1c9b974b5541c74b2a24b8443940a44':
Remove sent USSD log
72000e2c06bbee97d5ce31c4f66befab8057cb71 04-Dec-2012 Cuihtlauac ALVARADO <cuihtlauac.alvarado@orange.com> Remove sent USSD log

Content of messages sent over USSD are copied in the radio logcat only if
debug level set to verbose. There are USSD services requiring highly
sensitive information to be sent by the user, we really don't want this
information to stay in the logcat by default.

Change-Id: Ieba37be0e346a6728dc7b139105a148577e0c0ff
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fa4fd4721082689c4b276f67b845e7be249cb8da 16-Nov-2012 Wink Saville <wink@google.com> Add support for logging directly to RADIO LOG.

Eventually we will remove using the LOG_TAG in
system/core/liblog/logd_write.c to steer the log string
to the LOG_ID_RADIO buffer. This can't be done immediately
even if we changed all of the code in frameworks/opt/telephony
and frameworks/base/telephony because ril's and radio's are
relying on this behavior. But next year we will.

Change-Id: Ic36eaaca6f2a6302255e96a7646b687322d6997e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5e1bc7508bd2f6cbe52ce1d7cb13194a0d265406 17-Oct-2012 Jiju Kinattingal <jijuk@codeaurora.org> Telephony: Correct the typo in RIL.java

Change-Id: Ic4bcd054f14d7e4b702b924f799e4d1619b666e0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f860a3f42f87c9c8572623aff33349168d689477 06-Oct-2012 Wink Saville <wink@google.com> Fake sim status changed appropriately

On a VZW GN if we always do ENTER_SIM_PIN the GET_SIM_STATUS comes so
quickly that it causes the SIMRecords to return an operator.numeric of
666666 instead of 311480. To fix this we only fake sim status changed
when an error occurs on the CHANGE/ENTER SIM_PIN/PIN2. Also, faking on
RIL_REQUEST_SET_FACILITY_LOCK on errors so on a VZW GN we automatically
go to the main lock screen when the PUK is needed,

Finally, on VZN GN RIL_REQUEST_ENTER_SIM_PUK we need to always fake
RIL_RESPONSE_UNSOL_SIM_STATUS_CHANGED, otherwise we won't automatically
leave the main lock screen when we enter the correct PUK. I also do this
for RIL_REQUEST_ENTER_SIM_PUK2 for consistency.

Bug: 7255789
Change-Id: I712cc5020970317922f0c3d686c621a6abcd552c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
be3dc4b04cd65e576d250cf68f310d47637167ff 04-Oct-2012 Wink Saville <wink@google.com> Fix 7255789

Two problems were identified, first in IccCardProxy needs to assume a
the current app type is 3GPP because some rils are not managing the
sim status properly and return the csim as PINSTATE_UNKNOWN if the device
is gets PUK locked because the PIN was entered incorrectly 3 times. This
is fixed with the changes IccCardProxy.java and Phone.java.

The second problem is that some rils are not sending a
RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED when the PIN or PUK are changed.
This causes some devices to NOT automatically go to the lock screen
when a PUK is required. This is fixed by the change to RIL.java.

Bug: 7255789
Change-Id: I969585edf416e6b11f52470ee69d19f781bf29ca
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e08bcc948be9f8cb966da0814d7cf17109cfdb95 08-Sep-2012 Wink Saville <wink@google.com> am f8a1f90c: am 511d4b68: am 713a658e: Merge "Telephony: Log parameters for facility lock operations."

* commit 'f8a1f90c98b7252ca8fdc9df9166c6d62eb16e68':
Telephony: Log parameters for facility lock operations.
88e9c9700fbb6119c2564fb7173821c84b360d07 29-Aug-2012 Abhishek Adappa <aadappa@codeaurora.org> Telephony: Log parameters for facility lock operations.

Change-Id: Ib834928ffd76a0f0e4fa0552cc27a09ccb4cd987
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
565013a713156a0ddcc46dc3a0077e4c268ce272 08-Sep-2012 Wink Saville <wink@google.com> Merge commit '599f207f' into fix-merge-conflict

* commit '599f207f':
Telephony: Remove CdmaLteUicc objects

Change-Id: I5d63ea7edbcb1e7fe4010bcb3e5c9d6c961827d6
e287feac673ff68565b766e0e463d105fa9cef9d 10-Jul-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Remove CdmaLteUicc objects

-Pass IccCard object to GsmMmiCode
-Create IccCardProxy
-Make IccCard an interface and pass instance of IccCardProxy to
external applications (PhoneApp). IccCardProxy will use internal
UiccCard to map Icc requests to current active application on
UiccCard to maintain backwards compatibility for external
applications
-Add documentation to UiccController

The primary advantage of UiccController is that we can work with
multiple uicc applications at the same time. And that is a
requirement for modes like Cdma/Lte. The existing code supports
Cdma/Lte only partially and with guessing on modem side. However,
some things modem can guess, while others - it can't.

For instance, when a user tries to edit the fdn list the current
code will pass ef_id for fdn (0x6F3B). But the modem will have no
clue which fdn list the user wants to edit (csim or usim, both
have path 7FFF), and it's impossible for modem to guess correctly
all the time. All the modem can do is try to be consistent and
hope another device is doing same things. Imagine you bring your
card from another Cdma/Lte device to your new Cdma/Lte device:
if this modem uses different fdn file, it won't work as all
existing entries won't be there.

Another example is when the modem's guess is wrong for files like
csim/ef_li (7FFF 6F3A) versus usim/ef_adn (7FFF 6F3A). They have
same ef_ids so Android really should pass aid of the app it wants
to access. Without aids there is no way modem can know for sure
which file Android wants to read! However, in the current code
even Android doesn't know which aid it wants to read file from
since CdmaLteRecords has only 1 aid.

All of these problems cause more and more hacks, both in the modem
and in Android side. UiccController cleans up current code and
provides framework to work with multiple Uicc applications at the
same time.

Change-Id: I60216887b14140bdf833a8ed579ba16cad932bdc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e0e2ceb1ae025e6dd2adda75c32dba93c6dfeea4 13-Aug-2012 Wink Saville <wink@google.com> Merge commit '616b281b' into merge-conflict-TelephonySignal-Strength-cleanup

* commit '616b281b':
Telephony: Signal Strength cleanup

Change-Id: I3c211a06c480169d90fb5bc2c1774bd509d91f87
5b81adc82a53b3064f4baa3acfeabef31586588a 10-Jul-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Telephony: Signal Strength cleanup

Make signal strength parsing common for all modes

Change-Id: I41bce658c536dc30558224c8ca76d6d70afb78ee
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ef1d4bff9bbf7d967dbcace73f08910e14e367d0 17-Jul-2012 Wink Saville <wink@google.com> Revise CellInfo API's

Change-Id: I35bc22caf4a6a2255f2ce122690823f8d602b359
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c38bb60d867c5d61d90b7179a9ed2b2d1848124f 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common - DO NOT MERGE

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
0825495a331bb44df395a0cdb79fab85e68db5d5 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java