History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8e4af4a6c1d5f697b9c548e827e047248c12d788 16-Feb-2015 Sanket Padawe <sanketpadawe@google.com> Reverting change which uses spnoverride to set ONS.

Bug: 19386079
Change-Id: I1417d55415be88a90c350fbe2533889630117503
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e70617d81dcd42350a737b11c25532e1d43df4ff 22-Jan-2015 Legler Wu <legler.wu@mediatek.com> [DS] Correct the access method for telephony system property

Revise the method to access telephony system property.
Add several PROPERTY_XXX_XXX_MSIM for MSIM type system properties. If
caller use the old one, it will be dispatched to new one and get by
default phone id.
Ex. PROPERTY_ICC_OPERATOR_NUMERIC

Bug: 18675498
Change-Id: I68b4de1817bb5a34d4a54685332f856e79a39d60
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
7e7d2b34010bf24a70bbf40303c7a4606c438ada 04-Dec-2014 Stuart Scott <stuartscott@google.com> Default data should connect on user's preferred network type

bug:18416275
bug:18415493

Change-Id: I14bce5520af67f038f43920a4454275c5a7e8a9f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
4e7f34de0e226703fadd1f30f9976bb426c5166b 11-Nov-2014 Stuart Scott <stuartscott@google.com> SubscriptionController uses RAT families to control default data

bug: 18417009

Change-Id: I0c016db0c5adce6e28fc3ffb713d4a4c4d270b51
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
09b65da3b46e18c8acc146d722047ba2fb161bfe 19-Oct-2012 Preeti Ahuja <preetia@codeaurora.org> STK CC feature implementation

Support to display the current request is changed by STKCC.
Support to display alpha messgae from STKCC.
Support to display informatiom from new SS message.
Add FLAG_RECEIVER_FOREGROUND to alpha broadcast intent.

Bug: 17646476
Change-Id: I89671830eeef62a48e3133a2e3afbdeb096ecf3c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
952f6df569fd0dffdb0600c20ff383a02e64a038 13-Nov-2014 Amit Mahajan <amitmahajan@google.com> Maintain NITZ info in RILJ so that it can be used even after phone type is switched.

Bug: 18071327
Change-Id: Ib1aa4ab375219dc37e51e5cbe430de5cec5eadce
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
22f63e1953ccb581cb89585e4ab77eda185c1897 30-Oct-2014 xinhe <xinhe@google.com> add Cell broadcast Message debug log

Bug:18176874
Change-Id: Ibe17b2c7af89b2695a95d786bfcdde634b90f048
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fc93067f7ab07b39b4eb1cb4fb3ea4e0f769f023 23-Oct-2014 Legler Wu <legler.wu@mediatek.com> Radio Capability Support.

Add missing code.

Change-Id: Id23e36d606e55a80be865c2e9c091af896c08b58
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2b40e6226b4b71408964bca46f0a9f256cd4f523 18-Oct-2014 Wink Saville <wink@google.com> Radio Capability Support.

New design of capability switch for L.
Add new RIL requests:
RIL_REQUEST_GET_RADIO_CAPABILITY
RIL_REQUEST_SET_RADIO_CAPABILITY
RIL_UNSOL_RADIO_CAPABILITY

These commands allow the framework to communicate what the Radio
Capabilities for each logical modem has or should be using.

It can support 2/3/4G switch and has flexible architecture to support
future technology.

Change-Id: Iedf7f608d2ba3c06a883500f2d85abb98e69d9c1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
3122b0f0acdeb87a29907107efaa4ed7028269dd 17-Oct-2014 Mohamad Ayyash <mkayyash@google.com> am cbb9298b: Merge "ril: Fix update screen events." into lmp-dev

* commit 'cbb9298b084b89d794eca0aae4e6997076e68284':
ril: Fix update screen events.
cbb9298b084b89d794eca0aae4e6997076e68284 17-Oct-2014 Mohamad Ayyash <mkayyash@google.com> Merge "ril: Fix update screen events." into lmp-dev
b9597d030e970e13e1c399301e671542b52db3b5 16-Oct-2014 Mohamad Ayyash <mkayyash@google.com> ril: Fix update screen events.

- Handle invalid states in updateScreenState.
- Call updateScreenState in onRadioAvailalbe instead.

BUG: 17991196
Change-Id: I567aa74b1dd6b4bbadb273c05296fe82be575f7f
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2f5d7186151a4fbc39fa676e14366c73d023e02d 15-Oct-2014 Amit Mahajan <amitmahajan@google.com> am 7b960c8a: Hide sensitive payload from logging.

* commit '7b960c8adc35113c6eb3fad6cdfe32c2169d380b':
Hide sensitive payload from logging.
7b960c8adc35113c6eb3fad6cdfe32c2169d380b 14-Oct-2014 Amit Mahajan <amitmahajan@google.com> Hide sensitive payload from logging.

For:
RIL_REQUEST_SIM_OPEN_CHANNEL
RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL
UNSOL_STK_EVENT_NOTIFY
UNSOL_STK_PROACTIVE_COMMAND

Bug: 17984085
Change-Id: I8b83ae0d85792636bae0b7e0f57b0ea6e5cb33d9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2183de15ae39469ae20c8a3af6eca2589cdbddf5 08-Oct-2014 Jeff Brown <jeffbrown@google.com> am 63848d36: Merge "Notify modem about screen on/off states more precisely." into lmp-dev

* commit '63848d3691b01bb253989a5cacf4d2fa56883bb5':
Notify modem about screen on/off states more precisely.
80795c239d6281db5fbf0f5a23494bfa3fb938f5 03-Oct-2014 Jeff Brown <jeffbrown@google.com> Notify modem about screen on/off states more precisely.

The SCREEN_ON / SCREEN_OFF broadcasts are no longer adequate for
monitoring the screen state since they are not sent in cases
where the screen is turned off transiently such as due to the
proximity sensor.

This change uses the DisplayManager to watch for screen state
changes to tell the RIL that it can stop sending signal strength
updates.

It's worth pointing out that the RIL should *not* be watching for
screen state changes in the first place! We should create a
new API to more precisely specify the behavior to be controlled
and the signals which govern that behavior. But this change
should be good enough to save a little more power today when the
screen is off due to the proximity sensor.

Bug: 17821361
Change-Id: Ide77e04c3b2cadefc44ef5e51bd958f25a4a3d62
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
b98d8ea9fe653ab34824ed78498459bdfa6fc501 02-Oct-2014 Amit Mahajan <amitmahajan@google.com> am de9bf648: Merge "Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE" into lmp-dev

* commit 'de9bf648fb2dfc768ec73d207ea49379814dfdda':
Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE
6ad88a8a2caf739e78c8d5f7f50fc7fa84a07ca7 24-Sep-2013 Chaitanya Saggurthi <csaggurt@codeaurora.org> Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE

1) New commandinterface API sendSMSExpectMore to send sms using
ril request RIL_REQUEST_SEND_SMS_EXPECT_MORE.
2) sendSMSExpectMore API to send multisegment sms pdu's except
last pdu in GSM. In case of retry use sendSms even for
multi segment message, because don't know how many
segments are failed to send

Bug: 17570854
Change-Id: Icfc200a9c9c5940f0e10668b4385d1633a6c943b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e314d86692c56e60d7c42d8f0c7212c1e06ff628 05-Sep-2014 nfjb73 <nfjb73@motorola.com> am 004f7009: Fix incoming call name presentation

* commit '004f70095ae49451757f89dfafce2b26294a5f32':
Fix incoming call name presentation
004f70095ae49451757f89dfafce2b26294a5f32 14-May-2013 nfjb73 <nfjb73@motorola.com> Fix incoming call name presentation

According to ril.h, namePresention should be handled as
numberPresention as they are using same value scope. In RIL.java,
only numberPresention is matched to that definition in DriveCall,
but namePresention is not matched.

Bug: 17327806
Change-Id: Iba985cbef98318181f93a9eab740db3d23a49a10
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6bc4098827f3070a44b5e51508b455d7c7be9c07 01-Sep-2014 Wink Saville <wink@google.com> ksd to lmp-sprout-dev

Change-Id: I94eb65c62231b5831570bb0cbbbd9c916bee0a37
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
03586878fb3d870373f2fdf65afb81cc5ae97067 02-Aug-2014 Naveen Kalla <nkalla@codeaurora.org> Send Shutdown Request to RIL.

Send RIL_REQUEST_SHUTDOWN to RIL when device is shutting down.
RIL can use this request to shutdown the SIM card and modem gracefully.

Bug: 9773278
Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fb45e95982cccd51fe105b5df1942dabae5d7db6 16-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Configure MTU based on network PCO MTU parameter" into lmp-dev
e9701717e43cc5aacbcf624f77a53be92350662c 08-Aug-2014 w19976 <w19976@motorola.com> Configure MTU based on network PCO MTU parameter

Add logic to obtain the mtu from the network PCO parameter and set it to kernel
when the mobile data connection is established. When there is no PCO mtu configured
from the network, the mtu size defined in the corresponding APN will be used. In case
no mtu size is defined for an APN used for data connection, the MCC/MNC based MTU
defined in the framework overaly will be applied.

bug:17046179
Change-Id: I6465d4b8f2076aaa380ae3617fb3f24adbe136d4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c862ea7172855fa77cece249e90cbe9a7056e4d5 15-Aug-2014 Vinit Deshpande <vinitd@google.com> Merge "Enable EAP-SIM end-to-end" into lmp-dev
cf916cfb2b4d8282def13e4553abff2ea73aca2b 14-Aug-2014 Vinit Deshpande <vinitd@google.com> Enable EAP-SIM end-to-end

This change fixes encoding of messages and updates authContext choice
to enable EAP-SIM authentication.

getIccSimChallengeResponse() API needs more restructuring; opened
a bug (17033378) to track that change.


Change-Id: I303084f45d307897da81816b7d70d5257bd02e45
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9d4ec7d45061f1da05f16cd244eb0a798e7f36bb 13-Aug-2014 Amit Mahajan <amitmahajan@google.com> Revert "Revert "add apn setting parameters, and set apn parameters to bp""

This reverts commit 01f27d2c616797e5ba821159f8aca7b75aa54ae1.

Change-Id: Id9e7cf180092f320f635084f805b97f6409d0f03
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
01f27d2c616797e5ba821159f8aca7b75aa54ae1 12-Aug-2014 Amit Mahajan <amitmahajan@google.com> Revert "add apn setting parameters, and set apn parameters to bp"

This reverts commit f4b74430a8c22ab58c3fbbd6c9e7a594514a8615.

Change-Id: I1f300741d858ff39ae573e576479613b084e4616
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f4b74430a8c22ab58c3fbbd6c9e7a594514a8615 10-Aug-2014 Hui Wang <huiwang@motorola.com> add apn setting parameters, and set apn parameters to bp

Change-Id: I395b499eb0730894620614b3261bb6a784d53f46
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8f19c6d717bf0e00aeb33552a570a0f60af0ce3b 30-Jul-2014 Amit Mahajan <amitmahajan@google.com> Change to parse DataCallResponse correctly based on version.

Change-Id: I9c6dfb41f074da9558f721ca0432f40edc2d4d22
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ce083ae9d277bea9fbc1c143766adf1013f4a50e 02-Jul-2014 Amit Mahajan <amitmahajan@google.com> Changes to add new parameter for Sim Authenticate

Change-Id: I393c18f878fe3e5efcd81543a9a38a4c353b6e03
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2fbca951019df69146cf472adadc05c5c2ef4a32 26-Jun-2014 Amit Mahajan <amitmahajan@google.com> EAP-SIM RIL command name change.

Modified the name to match what was in QCRIL.

Change-Id: I41abfacb7bacd4cfa0d4543100ac9960c97184f9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
a8467dd0c524787104b1ccdddc5e8af10ba729ed 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8a3cf2d80c0cdee7360404dd0ac08ca6f9a7e246 30-Apr-2014 Derek Tan <derektan@google.com> Correct the comment in queryAvailableBandMode.

The correction is based on RIL_REQUEST_QUERY_AVAILABLE_BAND_MODE defined
in ril.h and my experiment.

Change-Id: I1610bde07d9345c96c6962d2032130d36c5eecf8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
d17387e87e60773f98981e633fd9937e27444b16 24-Feb-2014 Jake Hamby <jhamby@google.com> Merge "Remove unneeded new RIL command."
b25da36f791607b5fc9a68ae01dd8c5ea1d5652c 19-Feb-2014 Shishir Agrawal <shishir@google.com> Setting the Preferred Network Type correctly on SIM restart.

Currently the GsmServiceStateTracker sets the preferred network type to the
last set network type which can cause issues during a SIM swap/reset if the
network type changes. The CdmaServiceStateTracker does not set this value at
all.

This change modifies this behavior to set the preferred network type in the
same manner it is set when a phone reboots.

Change-Id: I88d61a5d545bdbaa4e4400f5f9e4af8f99dc5d2e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f4016c89cdb71c75b63b73a9f6d5b84681307142 06-Feb-2014 Jake Hamby <jhamby@google.com> Remove unneeded new RIL command.

Remove the recently added RIL_REQUEST_SET_RADIO_MODE command and update
the definition of the RIL_REQUEST_NV_RESET_CONFIG parameter.
Also, space out the NV item enum values so we can add new items per category.

Bug: 12864208
Change-Id: I1201c92198a8cd7e169efe7055b58259d975309b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9e2cb6350e698eaefe393cd652e0d0e264682d6e 15-Jan-2014 Jake Hamby <jhamby@google.com> Fix sending int params to new RIL calls.

For the two new RIL calls that send ints, we need to parcel the number
of ints (1) before the actual integer param.

Bug: 12864208
Change-Id: I7ddd0ed9d4278d1a23053cf9dbb05aded98127a0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f28ac81ec36df38307648d404cff4b2b11f46861 15-Jan-2014 Jake Hamby <jhamby@google.com> Add new RIL commands to read/write and reset NV items.

Add new RIL commands to read/write and reset NV items.
Used by some operators for CDMA band config and PRL update.

Note that this CL depends on a typo fix in the corresponding
frameworks/base change and packages/services/Telephony depends
on a typo fix in this CL.

Bug: 12864208
Change-Id: I3081619a82af698a3197ce23870bf4de248fb3e7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c6685a68c55405300c798c087d95a882de54b900 24-Dec-2013 Shishir Agrawal <shishir@google.com> Do not rely on channel id to determine basic vs logical sim channel commands.

For the RIL commands RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL, and
RIL_REQUEST_SIM_TRANSMIT_APDU_BASIC we should not assume that the channel id 0
implies a logical channel.

Change-Id: I4cb9f53936dcaed39d9f0097406c69df0ae6e04c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
dc0a7a65c806fd58baa5e189227f1d302d51c0a6 05-Dec-2013 John Huang <jsh@android.com> am 9e6a8351: Merge "RIL changes for supporting generic SIM communication."

* commit '9e6a8351f1ee21e7dd7d30583c7085fcbeb3a863':
RIL changes for supporting generic SIM communication.
40d1d394302d83eb56f66cf08daecc612c97cd28 28-Nov-2013 Shishir Agrawal <shishir@google.com> RIL changes for supporting generic SIM communication.

Exposes four new commands through RIL.java:
- RIL_REQUEST_SIM_TRANSMIT_BASIC (AT+CSIM - TS 27.007)
- RIL_REQUEST_SIM_OPEN_CHANNEL (AT+CCHO - TS 27.007)
- RIL_REQUEST_SIM_CLOSE_CHANNEL (AT+CCHC - TS 27.007)
- RIL_REQUEST_SIM_TRANSMIT_CHANNEL (AT+CGLA - TS 27.007)

Change-Id: Iee4d950d37a6097493cd945e611c914c40827215
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ace9a749c5a2a5e07527f728b7331423d16c36cd 30-Oct-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> SMS over IMS bug fixes

This change includes the following:
1) SMS over IMS remaining patches which address review comments

2) Fix for Bug:11378993
For MT SMS over IMS, if an application uses the createFromPdu(byte[] pdu) API
instead of createFromPdu(byte[] pdu,String format) API, we first try to create
SmsMessage from raw PDU with the format of active phone. That either returns a
valid SmsMessage object or throws a RuntimeException causing the correct format
to be used the next time. If GsmSmsAddress is not valid, we should throw
a RuntimeException which is handled by createFromPdu(byte[] pdu)

3) Fix for Bug:11424054
Register for ICC changes and handle new SMS on ICC

Bug: 11378993, 11424054
Change-Id: I94bcfcf93d8205c2916997091617899c6ebdd5e5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
3522c54a64f577f2b657a775dae9b4eb2d8003d5 25-Oct-2013 Wink Saville <wink@google.com> Few PIN/PUK fixes

Following changes have been made as part of this:
-> Changes done to display retry counter on wrong entry of
PIN1,and message to indicate Code accepted/PIN1 blocked
during PIN1 verification as per certain carrier requirements.
-> The current APIs that are used to verify the PIN and PUK only convey
whether the operation succeeded or failed. As a result on ANY failure
clients ask the user to re-enter the PIN.
Add 2 new APIs that report the actual error code and returns the
number of attempts remaing in case of failure.
-> FDN Service state was derived based on the state of PIN2. Update the
state of FDN service based on the FACILTY_LOCK messages instead.
-> Change the default value of function getIccLockEnabled to false.
When sim is deactivated/absent & user navigates to
Settings->Security->Set up SIM/RUIM card lock,
checkbox for "Lock Sim Card" option should be
unchecked by default.
-> PIN1 can be changed only after enabling SIM lock. RIL returns
REQUEST_NOT_SUPPORTED error if user tries to change PIN1 without
enabling SIM lock.
Handle the error and display appropriate message when trying to
change PIN1 using MMI code.
-> Added MMI support for change PIN1/PIN2 and unblocking PIN2

Bug: 9928717
Change-Id: I73718c9e6a8aa7244097e0dd4593a6226ff0ac08
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
1260f1c6c909f2940989b72afe1b91fd83845eaa 14-Sep-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> Support SMS over IMS

ImsSMSDispatcher is part of IccSmsInterfaceManager.
It always receives calls to send sms first and decides
whether to use ims call flow or gsm/cdma based on response
to REQUEST_IMS_REGISTRATION_STATE.

When ims is registered and sms is supported, the request also returns
sms format to use.

In case of sms over ims failure, RIL_REQUEST_IMS_SEND_SMS sets
messageRef from RIL_SMS_RESPONSE of corresponding failed MO SMS, and
sets retry field to non-zero. If voice is available, sends
RIL_REQUEST_IMS_SEND_SMS retries with data encoded based on voice tech
available. If voice is not available, sets retry counter to max and
skips retries and sends failure to client.

Bug: 9626411

Change-Id: I4c63c8fc0eb2191847b509e66772e3de27d491ed
Signed-off-by: Ed Tam <etam@google.com>

Conflicts:
src/java/com/android/internal/telephony/gsm/GSMPhone.java
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
79d07f7e6df0b91f3042e412a3d538ebff34a680 23-Sep-2013 Wink Saville <wink@google.com> Move RIL_REQUEST_SET_INITIAL_ATTACH_APN to RILConstants.java

Bug: 9626411
Change-Id: I0c278d9f4c6fd7e12c495c2411ab94ac87e1f316
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ae0ee2f04405f059a3c186ceab4ddfb789e6f641 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 299f0785: am 4b361fe2: am d254ff60: Merge "Telephony: remove the useless variable."

* commit '299f07852601bb735296646c9587bf72169d1476':
Telephony: remove the useless variable.
4b361fe2f0597aae6a50012bc4fe048acd41ebbf 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am d254ff60: Merge "Telephony: remove the useless variable."

* commit 'd254ff6031ad039e93964378d604a4950d828170':
Telephony: remove the useless variable.
d084fb51297c446d4adb072089822a41820bd188 28-Jun-2013 Gao Rong <gaorong.dawn@gmail.com> Telephony: remove the useless variable.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5d5eea6ed231163c225144316b0d1913d48678a4 26-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> Set initial attach apn for LTE network

When mobile register LTE network, APN provided by operators is needed.
If mobile does not have apn information, it could not register LTE network.
To deliver APN information which is used during LTE attach to modem chipset,
setLteAttachProfile() and RIL_REQUEST_SET_LTE_ATTACH_PROFILE command is added.

When Telephony DB is loaded or Telephony DB is changed, follow steps.
1. If preferred default ApnContext exists, this is delivered to modem chipset.
2. If preferred default ApnContext is null, find other ApnContext which can
handle default type.
3. If other ApnContext which can handle default type does not exist, any other
ApnContext delivered to modem chipset.

Then modem register LTE network with APN information delivered from AP.

Bug: 8733613

Change-Id: If84c62cddccf96a531dae0527ed1a6592ae76201
Signed-off-by: Seonju Oh <seonju.oh@lge.com>
Signed-off-by: Hyejin Kim <hyejin.kim@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6613a961473a72c218ec505e384dad6b19049aa0 21-May-2013 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of d678053c to stage-aosp-master

Change-Id: I17029e11f1a17d1446a06f716ab40b5a7f723258
7cabec78b4c9ad40f23d8f9fd756722d33b4a639 10-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Using a single counter for outstanding requests.

Change-Id: Ie99239fbe02f4ee1528c0dc6e1a1750cad404b2c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
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