History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e08d6a83a27ea94bf25a46e92cd3daf439137133 02-Sep-2015 Robert Greenwalt <rgreenwalt@google.com> Don't send unnecessary setNetworkSelectionMode cmd

This RIL command requires the radio restart network selection.
It's poorly named in that regard. Check if we're already in
automatic mode before pushing automatic down again.

bug:23678158
Change-Id: I47301218279ef20c8db5e9c41c62d011b6a60820
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
01144882e1521dadd3d20fbb7aaa75758deb5285 19-Aug-2015 Robert Greenwalt <rgreenwalt@google.com> Fix null handling of getAllCellInfo

ServiceStateTracker.getAllCellInfo may return null, but
PhoneBase.privatizeCellInfoList may dereference that. Check
for null rather than crash the phone.

bug:23201508
Change-Id: I26fcfc015fa1a8d1ec13e34f3369d1848954c44e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
f3cb9192272e4ddd68970352e998690f6c80e393 04-Aug-2015 Amit Mahajan <amitmahajan@google.com> Adding EmergencyCall state to DcSwitch state machine.

State will be entered on making emergency call, and ended either on
emergency call end or emergency callback mode end if that is supported.
This is only for CDMA.

Bug: 22777920
Change-Id: I9cac544966b1b6be5410a40273d20e52cab8b396
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
fa02ee3526403acad7533d50d69c3849a5c2de72 07-May-2015 Shriram Ganesh <sganesh@codeaurora.org> IMS: Don't create IMS phone when switch to SIP Phone

SIP Phone creates IMS phone while phone switch to SIP
phone when dial an SIP call.
Don't register receiver for Ims service state change
and SRVCC state change in case of SIP phone.
This way creatation of duplicate IMS phone will be
prevented when switch to SIP phone.

Bug: 22126128
Change-Id: I1206aaab703fec70107554352c2728e7dd42578e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
d8e5b7f21331ab0903758bf25fbe15f009eb538d 25-Jun-2015 Amit Mahajan <amitmahajan@google.com> Change to set pref network type on APM off if SIM is already loaded.

This is to make sure user setting is preserved across APM toggling.

Bug: 21880742
Change-Id: I8ab780440023db339be99c06c239a3c0f3039cea
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
df0280231c51a24a0b66c24034827d7f73d6e1ac 13-Jun-2015 Santos Cordon <santoscordon@google.com> Plumb intent extras through to IMS Phone.

Bug: 21735451
Change-Id: I7c44a658b2585d272375c573bb31974109540bb4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
27eef341b171f925ef43dd088cc559280fd7d2b9 28-May-2015 Prerepa Viswanadham <dham@google.com> Activity info and stats from modem

Change-Id: Ib00c317d8571a318491e91d79ba42577af5485a4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
631ce4b47921fef7e38bb9736899e9ecf0ee0403 03-Jun-2015 Tyler Gunn <tgunn@google.com> API Cleanup: Remove references to VideoState class.

- Replace constants with VideoProfile equivalents.
- Call static methods in VideoProfile instead.

Bug: 21573551
Change-Id: Ic2561bffcee16e477b3c6c79f8adb034b4067f62
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
5a68da341137763920f682b8d239c9229b934a05 02-Jun-2015 Amit Mahajan <amitmahajan@google.com> Merge "Change to not log IMSI." into mnc-dev
a1421a82e8d4f711ba13a86d40889868ead492d4 30-May-2015 Amit Mahajan <amitmahajan@google.com> Change to not log IMSI.

Bug: 21518434
Change-Id: Ief0ed018106aaa9783acd1da1e5c4533ed2a6718
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
a727251af66b94f38e269321bb153ca98d21c944 16-Apr-2015 Narayan Kamath <narayan@google.com> Don't update Configuration#locale on MCC/carrier changes.

Also, handle the sim language indicator (EF LI) and the sim
preferred language (EF PL). We keep track of these values in
the IccRecords object and make the information available via
the associated "Phone" object.

This means language updates are always consistent, the last
SIM to load records doesn't always "win".

bug: 19818550

Change-Id: I719eb75cbf48f54167b596c677f883a2ffb99ff7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
186c297bf39700f4e6b9781a8cbdbe6b23db3768 02-May-2015 fenglu <fenglu@google.com> LCE feature enhancement

start LCE service when radio state changes from unavailable to available.
cherry pick from mwd to mnc-dev
capacityDownBps --> capacityDownKbps name nit fix

Bug: 21307951
Change-Id: I0a966440bbddff87417cbea12f46583657e0b1e7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
3af34e156c880c4c5b1a329421af9703717fc978 03-Apr-2015 Abhishek Adappa <aadappa@codeaurora.org> Fix filtering logic for setting the network type

Convert the network type to radio access family (RAF) before filtering it.
Convert the filtered RAF to network type before sending it to the
modem.

Change-Id: I3c044572d65e61b12143228309b931dfd1032fec
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
05fcb2eae9dff8357767695fa6b3af4f2855a8a7 03-Apr-2015 Robert Greenwalt <rgreenwalt@google.com> Don't set preferred network when RAF is unknown.

bug:20046639
Change-Id: I76195239a4436edde72cc934e83ecc6978246571
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
13a760aff2ce18b3e7b3d68c1524fbf5e6a33b56 03-Apr-2015 Robert Greenwalt <rgreenwalt@google.com> Add OperatorInfo constructor for unknown state.

We were passing "" for the state if we didn't know but that causes
Exceptions.

bug:20058021
Change-Id: I04c28dfdc46eb76bf47b962b1a741b4d7e43bdef
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
511a5bed2583a3b93884cd91b0e654607828bc40 02-Apr-2015 Robert Greenwalt <rgreenwalt@google.com> Fix NPE.

Check if we have radio capabilties yet before trying to access them.

bug:20046639
bug:20514935
Change-Id: I9e71e9fcb24475f3f0fb3983ea7b65ac419d9a97
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
0349fc63faa1e63848cba7718c5002d53e6b0451 20-Feb-2015 Stuart Scott <stuartscott@google.com> Set sub info to modem after capability switch.

bug:19301751
Change-Id: I9a99a36c02144c181aaa1e55798e10b53aab213a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
32dfb14dd5469ea4e65c08a9e3be4ff97a136c6b 09-Feb-2015 Sandeep Gutta <sangutta@codeaurora.org> MSIM: Send correct modemId/RAF during SET request

- During SET_RADIO_CAP_REQUEST request, send appropriate modemId
which received as part of GET_RADIO_CAP request
- Update the phone RAF/ModemId local cache when UNSOL_RADIO_CAP
success event received, this is to make sure the local cache
is in sync with the current config @ modem layer.
- During SET_RADIO_CAP_REQUEST request, send the exact RAF value
as is which received as part of GET_RADIO_CAP request.

bug:19296282
Change-Id: I86f3983eb86032352b84902ad7eef752f3ecfe0a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
65bee39d7e417fb898c3948696d5d8a38046c449 20-Mar-2015 fenglu <fenglu@google.com> LCE service implementation - tele service side

-redesigned based on ConnectivityService/NetworkCapabilities

Change-Id: I54074234e1117b41eb6ff761ead9241928585fc6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
781905d987989ae608151ba7677257649c19cb01 07-Apr-2015 Pavel Zhamaitsiak <pavelz@google.com> Fix race condition which caused extra ImsPhone object to be created.
automerge: 6cc5ac4

* commit '6cc5ac4992e4a46162bc022669830fe039046e34':
Fix race condition which caused extra ImsPhone object to be created.
6cc5ac4992e4a46162bc022669830fe039046e34 02-Apr-2015 Pavel Zhamaitsiak <pavelz@google.com> Fix race condition which caused extra ImsPhone object to be created.

Extra ImsPhone object was created if IMS service was available when
voice RAT was changing. Later this object was replaced inside GSM or
CDMA phone object, but it proceed receiving updates from IMS service.

Bug: 19986577
Change-Id: I2907569fc0270e58a37725d530da0a60ead4215e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
288268d5528e0df03f348e303954813cb188c55b 24-Mar-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Propagate video capability of phone to telecomm.
To dynamcally enable/disable Make Video Call button in dialer,
the phone capabilities need to be propagate to TelecommMgr.
Propagate video capability of phone to telecomm layer.

IMS-VT: Notify call updates
-When call type is updated from VoLTE to VT, this notification
does not reach UI. Fix this

Fix the issue - Unable to add second VT call when first call is active
- Cache the video state of the new pending call when the foreground
call is HOLDING.
- Use the cached video state when dialing the pending MO call or
accepting the pending MT call after the first call is put on HOLD.

Ims: Add support for WIFI network mode notifications
Added support for enabling and disabling features for Voice and
Video when network mode is WIFI or IWLAN

IMS-VT: Peer capabilities
-Add support for peer capabilities
Change-Id: I44177dd6804b69a7b790021502eda0eb3bea3cab

IMS-VT: Do not allow changing the TTY mode during a Video call
When the device is already in a video call, the user SHOULD NOT
be allowed to change the TTY mode. If the user tries to change,
then an UI alert message will be displayed explaining it cannot
be changed during video calls.

Propagate the call substate changed message to the UI

Notify video capability to listeners in certain new scenarios
- In certain cases, we have seen that when the phone
object is deleted/re-created, we fail to notify the
video capability to the listeners.
- There also seemed to be a race condition when the
time a listener registers is not in sync with
the time we are notified of the video capability.
- In order to fix the above two issues, we notify
registrants when a new phone is created and
updateParentPhone is called. Also, when a new
registrant registers with us for video capability
changed, we immediately notify them of our cached
capability.

Change-Id: Ic6002c2518104c20b5de10d1081af4559f506ace

IMS-VT: Enable Video conferencing.
Enable Video conferencing.

Change-Id: Ia1155960492165cff7f4993a4bf98ecc920ebf41
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
83c0318772f81606e6799186d391a12c2743460e 18-Mar-2015 Nathan Harold <nharold@google.com> resolve merge conflicts of c1e2c65 to m-wireless-dev.

Change-Id: Id98213e022786470de7cdc581394f8f51e4254fc
c1e2c65191513555b6ecfb4830d57f83d375c13e 12-Mar-2015 Nathan Harold <nharold@google.com> Adding hidden isVolteEnabled and isWifiCallingEnabled APIs
for TelephonyManager

Change-Id: I76b4f0e34af1b1e739a803738723300b6acdae72
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
dff6ace44c689a6a56264dfbf3e64cee910370fa 26-Feb-2015 Tyler Gunn <tgunn@google.com> Fix emergency callback number not shown for incoming calls.

- Adding isInEcm() to Phone interface and PhoneProxy; this is already
present in PhoneBase.
- Required so that TelephonyConnections can query ECM state of the phone.

Bug: 18689292
Change-Id: Ibdf7b42d7cd95c96c11ff11840d5883ff587f5b0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
453e7057bd059c09c709f051f793c44751f74c2e 03-Mar-2015 Etan Cohen <etancohen@google.com> am 73876a17: IMS phone instantiation: add polling on base phone creation
automerge: bf22188

* commit 'bf221885fcd29a076d63780e5744549fff6ebdf2':
IMS phone instantiation: add polling on base phone creation
bf221885fcd29a076d63780e5744549fff6ebdf2 03-Mar-2015 Etan Cohen <etancohen@google.com> am 73876a17: IMS phone instantiation: add polling on base phone creation

* commit '73876a17e45f57e36013eeffc1cac61e6cb12482':
IMS phone instantiation: add polling on base phone creation
73876a17e45f57e36013eeffc1cac61e6cb12482 27-Feb-2015 Etan Cohen <etancohen@google.com> IMS phone instantiation: add polling on base phone creation

Phone registers for notification of IMS service up and down. However,
there may be a race condition which causes the phone to be created after
the intents are alrady sent. Add polling in addition to listening to
broadcast intent.

Bug: 19447972
Change-Id: I0e12118bb11a22161cf2f389b9ca6f39442202e1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
f95afafa466a8e1ad22ffc23f89886ed776fdbcc 20-Jan-2015 Tyler Gunn <tgunn@google.com> Enable video telephony support. (1/4)

- Add "isVideoEnabled" method to phone classes to pass up the
"isVideoEnabled" attribute from the ImsPhone.
- Sip phones do not support video.

Bug: 19062133
Change-Id: I9c2616b75319cba3d31df110f556db7399509057
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
65124c822e9cb8c462ae22a7c9479feb8e52d5f5 18-Feb-2015 Pavel Zhamaitsiak <pavelz@google.com> Add Phone.isRadioOn() function

Change-Id: If5a4d7ab768e9f2a6a03b22e52f39301326f19b7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
62a2b2f341be6130e4022b487648ff2fee06db8c 14-Jan-2015 Libin.Tang@motorola.com <w16529@motorola.com> IMS: add api to indicate the current availability of IMS call on IWLAN.

Also add the WIFI only handle.

Change-Id: Ia96d8a3a6e3146603b76760cec02593bf5f1e3b6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
d756a6bcf4fe09b561481eb6ed5368bd7b21ca76 16-Jan-2015 Amit Mahajan <amitmahajan@google.com> Change to append subId to network selection related sharedPreferences.

Bug: 19023266
Change-Id: Ia7b2ac5b37d5abb1231288caf923336bf0bec9e1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
bd4bb4f2250463ba59dc98be649f6aa4df9fb682 18-Dec-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS: add the api to get IMS registration information.

Bug: 18668325
Change-Id: Id5b0ed420990bde44b3525c7ec22eb37827d649c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
6d91e295add44a5b7e611cb51401a20b3caa6571 11-Dec-2014 Pavel Zhamaitsiak <pavelz@google.com> IMS: Notify about change of TTY mode of other call participants

Pass notification to Phone app

Bug: 18247323
Change-Id: I975a93909dc02cc211e956667f5efb2ca3f330bb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
4be56374921b52d54b80889540d982f39d26e3ab 09-Dec-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> IMS: SRVCC related changes.

1. Telephony: Multiparty srvcc

Change-Id: Ie689f31d7970ecf3a5008cf1dad450045d0b34db

2. SRVCC: Add support for incoming call SRVCC

Transfer connections from ringing call to handover call on getting
Handover Complete notification. This allows for accept to be done
on the default phone instead of IMS phone after SRVCC. Set the
state of ImsPhoneCall object to Idle after the transfer.

Change-Id: I09cfcc9fc99b3ea4b3a4bd332af546bcfae4b679

3. Add support for SRVCC conference call

Add support for updating the parent of handover connections to
point to handover call.
Update status of the handover call object based on the status of
foreground, background or ringing call.

Change-Id: Iacd7daa929d0da9a0e020491669165aa42bed144

4. Add support for SRVCC connection clean up in Ims Service

Added support for SRVCC connections to be cleaned up in the IMS
Service by calling close opertion on the call session and
subsequently removing the call session from list of tracked call
sessions

Change-Id: I850ab111c884bbe7698810b15d0e9c8bdb10e8c9

5. add null check when add all srvcConnection

add null check when add all srvcConnection

Change-Id: I3bc93a301584e7fc16ef5aabf474bd1577402d22

6. IMS/911: Do not clear handover connections on SRVCC COMPLETE

Even though SRVCC or silent redial is successful, the handover connection
objects are cleared before migrated to CS domain. Proper checks are added
NOT to clear the handover connection objects as they are removed as and
when a new driver call via CS pipe is received and processed.

Change-Id: I061fa81e651b4c6b6bdea1f1cf0b09dde39fdb4a

7. Add fix for picking correct Handover connection

A single handover call cannot track both the foreground and
background call state after handover.

Added support to go through all the handover connections and
pick the first match based on the number and if there is no
match check the state.

Added support for tracking the state of call associated with
the connection before handover. This is used to retrieve the
correct connection based on state.

Change-Id: Iec87c09523d459998d0880252a71f98eb8e296a2

Bug: 18559588
Change-Id: I0c428b33e09684fc7f33f0abd7f9c0471961ad1f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
34057c56c8cb3e3c011a70b2c799c73f15bd4522 01-Dec-2014 Shishir Agrawal <shishir@google.com> Adding new hidden carrier API to mark GSM/CDMA networks as roaming/non-roaming.

The calls allow us to specify MCC/MNCs (for GSM) and SIDs for CDMA that should
not be considered as roaming for the current ICCID.

Bug: 13288143
Change-Id: I6c0de2ff85478eb4fae9505141027c8c07684082
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
f3f5ba2fb558379172195b2106feefbaa4c80133 02-Dec-2014 Junda Liu <junda@google.com> Merge "Add hasMatchedTetherApnSetting support." into lmp-mr1-dev
53dde7e076954c250e55d156cc1df1202c3a8a9e 27-Sep-2014 Etan Cohen <etancohen@google.com> MSIM IMS: convert to phone ID based selection.

Bug: 18576822
Change-Id: I2dea8ef3cb897fc2f8b7798937319df06b33701c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
79f9daf3ef1c254439ed0e9a640df214c5f8196d 08-Nov-2014 Junda Liu <junda@google.com> Add hasMatchedTetherApnSetting support.

Code will check TETHER_DUN_APN setting and config_tether_apndata for APN that
matches current operator.

Bug: b/18158411
Change-Id: I0780bce96cfce8752e9bb0c10b9d156ef5a54f06
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
4b09dff383ae7dfca595aeeea886a594a1947340 22-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
0623a6e25643407f30fd52d724ae112a10184cac 20-Nov-2014 Shishir Agrawal <shishir@google.com> Merge "On IMSI change and CDMA mode, set automatic network selection if it is manual." into lmp-mr1-dev
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/PhoneBase.java
3b9b9d704121b1c7a9cd98626d7ca87d9cff5437 17-Nov-2014 Shishir Agrawal <shishir@google.com> On IMSI change and CDMA mode, set automatic network selection if it is manual.

Currently the mode is set to automiatic without checking the actual mode. This
causes the radio to not respond till it attaches to a network (as per the
definition in RIL).

Bug: 18233109
Change-Id: I543743298f888300af77d2d81f887bb61002524f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
8cef6eeaae1f80cf867875e8b3e0172216806509 29-Oct-2014 Amit Mahajan <amitmahajan@google.com> Update saved network operator on manual network selection req instead of resp.

Bug: 17989129
Change-Id: I207187a7cc5d1ac067ad0e45b8d5205aca13ac93
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
b237a11044ed842d2865ff8c8716befb06b6ca25 25-Oct-2014 Wink Saville <wink@google.com> Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
776e350a422070a0579900bfcc542766241c1414 23-Oct-2014 Sukanya Rajkhowa <srajkh@codeaurora.org> am 26a4150c: Telephony: Voice mail notification related changes

* commit '26a4150cfb8cd317eb64994b9d9fd6109bd87ba7':
Telephony: Voice mail notification related changes
26a4150cfb8cd317eb64994b9d9fd6109bd87ba7 03-Jan-2014 Sukanya Rajkhowa <srajkh@codeaurora.org> Telephony: Voice mail notification related changes

* Separate voice mail notify from SIM/RUIM card

* For GSM store voice mail count in phone memory
irrespective of SIM write result.

* Display voice mail count for GSM

Bug: 17299884

Change-Id: I368bfb98c8798ed1f43bcc330e6d97e8f95f0f54
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
8d0025d614edb5075f72b2fc95b0cae069068283 20-Oct-2014 Wink Saville <wink@google.com> am 2b40e622: Radio Capability Support.

* commit '2b40e6226b4b71408964bca46f0a9f256cd4f523':
Radio Capability Support.
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/PhoneBase.java
2351b17aba5350004fc76707f3b3d2859ce773c8 15-Oct-2014 xinhe <xinhe@google.com> Sprint: MMS proxy authorization does not include NAI

Read the NAI from CSIM and pass it to MMS module
Bug:17752727

Change-Id: I2f8bbe3cdf4a447f7ecf13e06733615a2e60ec53
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
b7aff911e1106eb2eb16fd2bafae0ed8f4d4d4f7 14-Aug-2014 Shriram Ganesh <sganesh@codeaurora.org> Ims: Send user selected TTY mode to lower layers.

Irrespective of whether TTY device is connected or not
send TTY mode setting to modem whenever user changes it
from settings.

Change-Id: I6f6b82e3bb7fd326f71b0aabf4c1098a06c8941c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
7771a0a487bc9253872034025e9c91283af4425f 30-Sep-2014 Etan Cohen <etancohen@google.com> Make sure network set messages are routed even when phone is being switched

Phone will normally be switched as part of network set command process. This
may result in the network set command not being completed.

Bug: 17202095
Change-Id: Ida004effebb7f7e793899866aab649d043f90109
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
110eda521d7a40ffcb09f31fd02d3d65a10cdcc3 11-Sep-2014 New Author Steven Liu <stevenliu@motorola.com> redirect RIL_UNSOL_OEM_HOOK_RAW to system app

add notifyOemHookRawEvent

Bug: 17298769
Change-Id: Iaea054d3cc2925eea1e11f8871faabc7bc9dfb2d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
72a020b1b8abdc07e26dfa76f7632aff4d90d8e8 27-Sep-2014 Xia Ying <yingxia@motorola.com> am 2d265969: Handling service number convert while roaming.

* commit '2d265969ca301ba3720458ea9da2ec8d6a18bb8d':
Handling service number convert while roaming.
2d265969ca301ba3720458ea9da2ec8d6a18bb8d 22-Sep-2014 Xia Ying <yingxia@motorola.com> Handling service number convert while roaming.

When roaming in GSM/UMTS and internal CDMA network,
(1)change VZW custumer service numeber *611 to +19085594899.
(2)change VZW voice mail number *86 to +1MDN.

Change-Id: I69f69fb698f059b7a2365d2906fe0f7cc41636d7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
e97be3971cb6b55e019433c32524cc60ce0d037b 26-Sep-2014 Wink Saville <wink@google.com> Reorganize and add more dumps within opt/telephony.

In particular dump is added to PhoneProxy which dumps
PhoneSubInfoProxy which dumps PhoneSubInfo this should
provide the desired information.

Also add some additional pw.flush() statements to
minimize the buffer overflows and truncate the output.

Bug: 17545077
Change-Id: I39787a84c97a8fc0410419965f6be2468dec7568
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
4fecfb9e39b367b5eb2aaff090ad9ae8f6224859 13-Sep-2014 Tyler Gunn <tgunn@google.com> am dc2b5d1c: Renaming Telecomm to Telecom.

* commit 'dc2b5d1c32cad5269106d00fd106bd64097238f4':
Renaming Telecomm to Telecom.
dc2b5d1c32cad5269106d00fd106bd64097238f4 11-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I2fa094034f8a32ac887a6f653ba6d40d7a1761e2
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
a94991d3beeb627ad58b79938448fc32f59fe618 09-Sep-2014 Wink Saville <wink@google.com> Use SubscriptionController.getSubIdUsingPhoneId for getSubId

This is slightly better as code in getSubIdUsingPhoneId also returns
INVALID_SUB_ID if the length is 0.

Bug: 17399710
Change-Id: I47484c0001ea4606029dbf42e135a33031beb8da
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
177b38b27e3af1c044f4283ccaa0e20e9030a047 09-Sep-2014 Wink Saville <wink@google.com> getSubId returns INVALID_SUB_ID if there are no subIds for a phone.

Bug: 17399710
Change-Id: Ice47ee47ecc516d9d1ebe7cada8d1a145803d6c7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
8dc693ad5c0b583a10fe266bc20f3957c311f896 06-Sep-2014 Shishir Agrawal <shishir@google.com> am 25a519fa: Merge "API change: SetOperatorBrandOverride should not take iccId as a param." into lmp-dev

* commit '25a519fa55e0d193ee2652d407b869d9e61d7043':
API change: SetOperatorBrandOverride should not take iccId as a param.
279a26768a5fde8f0dd72e4b9e951c1c32265aab 04-Sep-2014 Shishir Agrawal <shishir@google.com> API change: SetOperatorBrandOverride should not take iccId as a param.

Taking ICCID as a parameter is not scure since a carrier can override the
brand for other carriers. We should override only the current ICCID.

Bug: 17390144

Change-Id: I8128695205b893b51bd5ca7f78b2980a49173768
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
a89200166ac87a877b651cb7475edef1a0439ea7 04-Sep-2014 Etan Cohen <etancohen@google.com> am 30862cd2: Remove race condition due to RAT technology change.

* commit '30862cd26cbde4397d984c9afd1780ffbc9adbc2':
Remove race condition due to RAT technology change.
30862cd26cbde4397d984c9afd1780ffbc9adbc2 03-Sep-2014 Etan Cohen <etancohen@google.com> Remove race condition due to RAT technology change.

On RAT technology change old phone is destroyed and new phone created.
Original code performed unregistration of old phone and then registration
of new phone - small window where CallManager.getDefaultPhone() returned NULL.

Code changes order to make sure new phone is registered before old phone
is unregistered.

Bug: 17347478
Change-Id: Ife5b995de90bb5f8fab51af89f7b9aa50e7ec306
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
440b44eb71b8d5afeeaa5fda8912f3a61b4c1588 03-Sep-2014 Wink Saville <wink@google.com> Prepare to make SubscriptionManager public.

Sync SubscriptionManager and its dependentes between lmp-dev
and lmp-sprout-dev.

In SubscriptionController
-Rename getActivatedSubInfoList to getActiveSubInfoList.
-Remove @param context in java docs
-Cleanup

In SubInfoRecordUpdater
-Cleanup

Change-Id: Ie06ced3e7ff5a3d06b3b47892fed22b4bb8972c7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
e64a413b850aae224e2f56e7dfc6e0bcd667643e 29-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Add support for Silent Redial and SRVCC

1. Silent Redial uses the same notifications as SRVCC.
Add support to handle the notifications in CDMA mode.
2. Frameworks and UI support for connection handover.

Bug: 17307064, 17288974
Change-Id: Icc1f9ad50a1dcb53a2af1aae8d296af7101676aa
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
07cacec1e947abee67aeca1e004d76d14ca42158 23-Aug-2014 Amit Mahajan <amitmahajan@google.com> Merge "Revert "Revert "Add code to handle voice radio technology of LTE.""" into lmp-dev
03b37b67755a4033c6be32ae2e389c310e06e7d1 22-Aug-2014 Amit Mahajan <amitmahajan@google.com> Revert "Revert "Add code to handle voice radio technology of LTE.""

This reverts commit 3beec5e255c514dc419e5cc3021d178b3a416d40.

Bug: 17035252
Change-Id: Ife832f79627f64aa419af5881b8ac0ef32954c3c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
d5c5a168b4f5806701a4d146309c996acca7183d 08-Aug-2014 Ihab Awad <ihab@google.com> Final structural tweaks to Telecomm API (6/8)

Bug: 16416927
Bug: 16494880
Change-Id: I6cd739b0fe525038ace0f213b05732e0cd95902a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
38b5fac001d38ad7a4f886ba7fcaf7c417216b01 31-Jul-2014 Etan Cohen <etancohen@google.com> Transfer ownership of IMS Phone when RAT tech change

Transfer ownership of the IMS phone and performs needed unregistrations
and registrations when RAT tech change forces a phone destroy/create.

Update notify on ringing phone to delegate directly to the parent phone of
the IMS Phone.

Change-Id: I02a14366ff339a09115a438715e7ee1124bb2a56
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
eb37adebf70275a8d8e5f2478637a66a44e71de8 28-Jul-2014 Andrew Lee <anwlee@google.com> Update VideoState references.

Bug: 16629892
Change-Id: I243b304d5b61ed530b965eab2abb9bfbd02893d5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
3beec5e255c514dc419e5cc3021d178b3a416d40 22-Jul-2014 Jing Zhao <zhaojing@motorola.com> Revert "Add code to handle voice radio technology of LTE."

This reverts commit b54cd09892e0676d719e6df00e60c77b663f993c.

PhoneProxy.java should not be reverted because we want phoneObjectUpdater() to always be called from the handler function. That is done in commit I2fc7220496e66fc2a48f2609e94cbd8eed6adc44

Change-Id: I83b4ffe40a30207ca01d4268de2fc1cde8fff602
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
bc78e2f9988f380a3b88d4cb4a9c0b80b8f44bee 18-Jul-2014 ram <ram.pl@samsung.com> IMS: getPCSCF() API enhanced to support multiple APN types.

Change-Id: I5e60d4f153deff5f4cb658e0548a7d9bc399e8b7
Signed-off-by: ram <ram.pl@samsung.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
c25bcac2c4c8754faae69efe2fc5c407f66a9240 18-Jul-2014 Narayan Kamath <narayan@google.com> Don't restrict locale handling to two letter locales.

Use Locale.forLanguageTag where appropriate and compare
languages and countries separately.

Note that we do all comparisons on locale objects so that
the same deprecated language code conversions occur.

(cherry picked from commit 37b4053b8f92a1f2a8afeb8d5184dc9b7c35b47b)

Change-Id: Ia4ae4b1760a023be103feb9ebf0e6be5f6731ff3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
b93bb3538c55f173f94a4ee7510d9d1521d8f731 18-Jul-2014 Shishir Agrawal <shishir@google.com> Adding the ability for carrier app to override SPN and carrier name.

The change allows system apps (holding MODIFY_PHONE_STATE permission) or
carrier apps to override the "carrier branding" on a per ICCID basis. The
override affects the service provider name as well as the network operator
name. The override is also saved as a SharedPreference and will persist for
the iccId across reboots.

Change-Id: I985ba247e10e2501e3d0d21567ccadc46f365879
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
9f9aadee921db335adc891412a6e1e828153cfc6 12-Jul-2014 Etan Cohen <etancohen@google.com> MSIM support for IMS

Added support to handle IMS in MSIM scenarios. Supports an ImsService interface per
subscription.

Note: These individual ImsService interfaces can be implemented on a single or multiple
IMS stacks.

Change-Id: I6d4ce7dd1cc6f75f89a41951ef8fce78afde811c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
6bbcbfd62c9aa5787e7c33936e2246ff05b59d58 08-Jul-2014 Tyler Gunn <tgunn@google.com> Adding support for specifying videoState in dial methods in Phone.

In ImsPhoneCallTracker, wired up dial to start a call with
the correct IMS call type.

Bug: 16014224
Change-Id: If131529fee7eb03e63fa445d04e15246e51967be
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
888c60a7fe1c8f3612ab8e8ec5f2f7ca8f24e766 03-Jul-2014 Etan Cohen <etancohen@google.com> Remove VoicePhone interface

VoicePhone interface was not a generic voice phone. It was a partial
implementation of an ImsPhone (i.e. served no added-value purpose but
confused functionality). Removed.

Change-Id: Ida5d0fb2b09dcc6ec295ddd7a03f2cf6536b840b

Conflicts:
CleanSpec.mk
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
befe0bf21cf06c47b1f099caed9e6c6b7125c0fe 03-Jun-2014 Shriram Ganesh <sganesh@quicinc.com> Handle Srvcc requirements

Change handles the following SRVCC requirements -
- Move SRVCC functionality to PhoneBase so
both CDMA & GSM phones can handle it.
- Srvcc wrt single ringing call

Change-Id: Ifc417bacf95364ff358651a59c84c377fe010ec6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
d4397df465323b2add2f5e532824ec0ed0d785f4 28-Jun-2014 Wink Saville <wink@google.com> If there is no IccFileHandler do not change sIccId[slotId].

In our master branch with a Sprint SIM I found that the call to
getIccFileHandler in queryIccId is returning null when sReceiver
receives a ACTION_SIM_STATE_CHANGED with a simStatus of
INTENT_VALUE_ICC_READY.

This causes queryIccId to set sIid[slotId] to ICCID_STRING_FOR_NO_SIM
and thus never get updated. Which causes addSubInfoRecord to never be
called so there is no Subscriptions.

The most obvious problem this causes is an Empty Triangle for the SSI
Icon.

This fix is to not change sIccId[slotId], instead it will be updated
when the sReceiver gets a ACTION_SIM_STATE_CHANGED with a simStatus of
INTENT_VALUE_ICC_LOADED a short while later.

Added some debug.

Change-Id: I8493fe14d4425f89144dda4bba129b4465fc41ac
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
58c7be5dc52e9847470112c95aaf6bbab28f9b92 17-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Remove Obsolete enable/disableApn functions.

ConnectivityService now uses NetworkAgents instead and apps should use
ConnectivityManager.

Change-Id: Ifc5c8f5be802183e70a5d92b224c819815de00e6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
96cce86cf08e37e0f09ed5057b1196e26b302743 09-Apr-2014 Robert Greenwalt <rgreenwalt@google.com> Replace LinkCapabilities with NetworkCapabilities

bug:13885501
Change-Id: I4ebc184c29278c385364ab0993c8783dfd9086fb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
ebdd8177293ea104b95c0450eb7d763132a6fd7e 26-Apr-2014 Wink Saville <wink@google.com> am 63114dbb: am a45ddc61: Merge "Do not set audioGroup ECHO SUPRESSION mode"

* commit '63114dbbda418bd5ea37006cb9e3848373f60471':
Do not set audioGroup ECHO SUPRESSION mode
184ffb58812108624ea0be2732cdae511b99d09d 11-Jun-2013 Vidyakumar Athota <vathota@codeaurora.org> Do not set audioGroup ECHO SUPRESSION mode

when speaker enable, do not set AudioGroup EC mode
if EC already supported in hardware.

Change-Id: I3623b0c49011d6db5e0060999d17963a7e58f775
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
a0bce270a3e9342e7a4945dd88b0f577f1edc431 16-Apr-2014 Wink Saville <wink@google.com> Merge "Add notifyDataConnectionRealTimeInfo."
8758315661d65c14d0e10d354a14f80ec1f65db7 16-Apr-2014 Wink Saville <wink@google.com> Add notifyDataConnectionRealTimeInfo.

Change-Id: Iadcbf9765af57c125bcdf74e3fc652ed6c8f7d42
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
f61aaae6608243be4e0da97a56ff9fed488cb173 07-Apr-2014 Shishir Agrawal <shishir@google.com> Reset network selection mode to "automatic" for CDMA phones.

If a phone switches from a GSM phone to a CDMA phone, the network selection
mode is not changed. Given that CDMA phones do not allow a "manual" network
selection mode, this causes issues. This CL set the mode to "automatic"
on every CDMA NV ready and RUIM ready events.

Change-Id: I0166ecfe2abecf26270ae5330ae32af5b09ca57e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
2a217d8ce75d290d63fca765857677912770b833 13-Feb-2014 Wink Saville <wink@google.com> am dfbdb663: am 51a65426: Merge "Telephony API extension v2"

* commit 'dfbdb663843414f4a5734fcb39405179f2f94761':
Telephony API extension v2
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/PhoneBase.java
0742246233c3f03f864d23e52d89e1845d994701 27-May-2013 Antonio Marín Cerezuela <amarin@swissms.ch> Telephony API extension v2

Added the following notifications:

public void notifyPreciseCallState(Phone sender);
public void notifyDisconnectCause(Connection.DisconnectCause cause, int preciseCause);
public void notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, String apn, String failCause);

Change-Id: If3b88c679507c529b746046c4a17cf6d9974bd09
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
ffe6e68213ae3220497188fed814e271b472292a 16-Oct-2013 Jake Hamby <jhamby@google.com> Clear CDMA latitude/longitude when location setting is off.

Clear CDMA base station latitude/longitude when returning
cell locations if user's location setting is disabled.

Bug: 11104404
Change-Id: I120c236ee57e37417ba7db3356678d33a087cc3d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
e0695876e8a7084cf4eaa8e6c71808f238a853a7 03-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> Revert "Stop using the sim mnc/mcc to set wifi country."

This reverts commit 78d801a78087b6a2419f0820628d0273df53203f.

bug:11064682
Change-Id: I46f5b90de417636d03bfa5932684f0ace68a3f6e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
78d801a78087b6a2419f0820628d0273df53203f 28-Sep-2013 Robert Greenwalt <rgreenwalt@google.com> Stop using the sim mnc/mcc to set wifi country.

bug:10513734
Change-Id: Idac32892db8ff9b5ca4c5bde4f3f3b12f0df1196
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
c4dc2a98dc57f501c6d9b829ef1bf6d1ade613ef 13-Sep-2013 Wink Saville <wink@google.com> Merge "Add code to handle voice radio technology of LTE." into klp-dev
5e2000b856a7959609e8f15148a3584ec372f865 12-Sep-2013 Wink Saville <wink@google.com> Telephony: Ignore events on a destroyed phone

It is possible to receive responses from RIL after phone has released
it's references. Ignore events in such cases, since those events no
longer make sense, and some phone members have been de-initialized.

Make CallTrackers notify UI when ending calls in dispose, since
it has already unregistered, and won't receive the CALL_STATE_CHANGED

Change-Id: I5d8fd9ce3f74b9ae9b5b645565bd24d11be0aebc
CRs-Fixed: 228731, 228005, 415801, 350739
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
b54cd09892e0676d719e6df00e60c77b663f993c 12-Sep-2013 Wink Saville <wink@google.com> Add code to handle voice radio technology of LTE.

Sometimes the Voice Radio Technology is reported as LTE but Voice
over LTE (VoLte) is not currently supported and for Sprint we
should default to CDMAPhone in that case. Otherwise the could stay
as a GSMPhone and handling voice calls will fail.

Bug: 10673760
Change-Id: Ic77411b5da415c620fce5a185ca1d7542dfe3b7f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
3c6bdec23af42aba1168303cdefc20525b0ec1d0 11-Apr-2013 Ajay Nambi <anambi@codeaurora.org> Telephony: Return 'null' as per TelephonyManager need

Return 'null' instead of "" (empty string) when Line1AlphaTag,
IccSerialNumber and Msisdn are unavailable.

Bug: 8449375
Change-Id: I5d8052922363f4b3b900bcdea490afe22fedce4f

Change-Id: Iaa77764af8f2c12c11c990c6c23152ba1dac84cb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
2cc8c148fa4cb6cba5deac6b011268b4174a0b02 25-Mar-2013 Wink Saville <wink@google.com> Use Build.IS_DEBUGGABLE

Change-Id: I8d4a2e83b8cdcf86cafb622013868f117d0701ef
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
b7881d6e7e4e79491376bedf151c3412dfdc4121 25-Mar-2013 Wink Saville <wink@google.com> Rename a couple variables in IccRecords.

Also add getIccId for use by PhoneBase.

Change-Id: I51eaf09bfc498f1f1edc3f697838978f56b7bd4e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
454b1dfd508844b42eb775e4ab2359be74d3672b 23-Mar-2013 Wink Saville <wink@google.com> Rename a few files and variables.

Change-Id: I4e90dbf57797b9485920f943e24fa7a4c29d070b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.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/PhoneBase.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/PhoneBase.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/PhoneBase.java
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/PhoneBase.java
ded9c0af7fa49504c047275ed34c2d3b22bf0c3a 07-Dec-2012 Wink Saville <wink@google.com> Use Rlog

Change-Id: Ie013f51215de8380b8de74161b6056b010711cfd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
b8d0e5993929ca9ecd29f406ae5f39a3e450e89b 25-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Bug: 7231172
Change-Id: Id18cce843899452bd171d5eeff99b48ca65dfb1e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
167a784eb797781d89049a9fbc90aa6684fcb7e5 20-Sep-2012 Wink Saville <wink@google.com> am ed6a91f6: am 7b5e41b5: am 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"

* commit 'ed6a91f6b4fb5e33406034f13d21897de70b506b':
Telephony: Fix npe in IccPhoneBookInterfaceManager
ba06d1becedde6ee94229154b2e493d6d4a3ad53 20-Sep-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Fix npe in IccPhoneBookInterfaceManager

Create new interface to get current uicc app type from
phone and use that

Bug: 7167839
Change-Id: I4787985593918c660a254c9826734cf9c963bff0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.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/PhoneBase.java
15e350dbdedb12c36c4432375e8c58a633b1e492 13-Aug-2012 Wink Saville <wink@google.com> Merge "Telephony: Signal Strength cleanup"
049ab0421f32e6effc5d1277b69bd382cebadb18 09-Aug-2012 Wink Saville <wink@google.com> Merge commit 'e0e2ebb5' into fix-merge-conflict

* commit 'e0e2ebb5':
Telephony: Dynamically instantiate IccCard

Change-Id: I37d65c140033f110bc4990f68adf9489737c9c38
e0e2ebb5a50e580cbe6957dcafb3495a2d0a27f2 27-Jul-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Dynamically instantiate IccCard

Instantiate when get_sim_status request returns

Change-Id: I9c9333d23f1e0b23256731b245577d1a25721647
/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
bb36adde615d3d85fa0fc23935197c6bc6a799ed 27-Jul-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Dynamically instantiate IccCard

Instantiate when get_sim_status request returns

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