• Home
  • History
  • Annotate
  • only in /frameworks/opt/telephony/src/java/com/android/
History log of /frameworks/opt/telephony/src/java/com/android/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8c4891c01bd59bee7a1cdf1f992e6078896bea00 27-Oct-2014 Amit Mahajan <amitmahajan@google.com> Revert "Telephony: Voice mail notification related changes"

This reverts commit 2a9a655afb255aa5dc449180499e68a2bbfbb82d.

Bug: 18126828
Change-Id: I11b02c909253caa8ffa69a3dae8e11e36262c055
nternal/telephony/InboundSmsHandler.java
nternal/telephony/PhoneBase.java
nternal/telephony/TelephonyCapabilities.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaInboundSmsHandler.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmInboundSmsHandler.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IsimUiccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
b004b6d59d7407a8b1b32adeaafbf2eb04034ba8 24-Oct-2014 Amit Mahajan <amitmahajan@google.com> Change to consider SIGNAL_LOST as permanenet failure only if not attached.

Bug: 18062475
Change-Id: I6c1b220fbb3cc9798419ec190e83d3eaea16ec69
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcController.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
5e9c4c682434747204f4d546c2f00a017c7b9414 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
nternal/telephony/InboundSmsHandler.java
nternal/telephony/PhoneBase.java
nternal/telephony/TelephonyCapabilities.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaInboundSmsHandler.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmInboundSmsHandler.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IsimUiccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
ac664378d32ebae13aacbc6ab5fe043168a03935 23-Oct-2014 xinhe <xinhe@google.com> Device mobile data is not working though mobile data status indicator shows
"H" with full signal

Fix: Do not merge the APN configures which have the same type element. If there
are multiple type elements in the confgures, they should be merge only if
there is no common set between them.

Bug:18080519
Change-Id: Ic3bf5979abdf1623ae57d7a9fc659f6c3005b869
nternal/telephony/dataconnection/DcTracker.java
ba314fddbd9dc88bed37aba86331e6de6cb3f588 15-Oct-2014 Paul Jensen <pauljensen@google.com> Show ProgressDialog when waiting for radio to turn on when provisioning.

Turning on the cellular radio when user selects the provisioning notification
can take 30-60s so a UI is needed to keep the user informed that the radio is
coming up. This is only for provisioning APN support (only AT&T tablets now).

bug:15990642
Change-Id: I1e77c3a1b1a24be7acc7cb3c925c002e5fa2d1a9
nternal/telephony/dataconnection/DcTracker.java
9ecf9dc231ad2720cb11d4b9aeb4fee620cd6e78 22-Oct-2014 Nick Kralevich <nnk@google.com> Merge "require DUMP permission on dump()" into lmp-dev
f63f536e81106549de980122f3efbef8fe86fab9 22-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "Change apn comparison (apnsSimilar()) to make sure same APNs are merged." into lmp-dev
d786f9a4184a8d6f116fc9aece46adf18e52a14d 21-Oct-2014 Nick Kralevich <nnk@google.com> require DUMP permission on dump()

Bug: 17983781
Change-Id: Ib8e9904da80d638abdcc74a5e183ce3d44e1e33b
nternal/telephony/SubscriptionController.java
61cdbcf2de392d043de0e4a533fbc615fc423000 21-Oct-2014 Amit Mahajan <amitmahajan@google.com> Change apn comparison (apnsSimilar()) to make sure same APNs are merged.

Bug: 18015631
Change-Id: I590bfb04600d6f6f6b0f552713b04616bc6a3330
nternal/telephony/dataconnection/DcTracker.java
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>
nternal/telephony/RIL.java
f17dec635141a16b68ab4980c118d49ec5ae11c0 16-Oct-2014 Wink Saville <wink@google.com> Fix an NPE in SubscriptionController.dump

Bug: 17945275
Change-Id: I076112ede5fd224284c23078b321fd282d0dffe0
nternal/telephony/SubscriptionController.java
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
nternal/telephony/RIL.java
8eb4b07b8535c04901cc46dc7860c87aa9e9fbfc 10-Oct-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix enabling of FailFast mechanism." into lmp-dev
6395443719ec3ee0257085945e753d02f603886b 10-Oct-2014 Robert Greenwalt <rgreenwalt@google.com> Fix enabling of FailFast mechanism.

If you use the wrong obtainMessage it's cast into an Integer
and stored in obj instead of arg1. This causes us to retry onto
the provisioning apn in 3 seconds instead of 20 and speeds up
the process.

bug:15990642
Change-Id: I3deb32d49c9fa77b16af9daf5c6ffb682363f6d1
nternal/telephony/dataconnection/DcTracker.java
4a00d523459470e604728784d36a3dd2a0f6c331 10-Oct-2014 Yorke Lee <yorkelee@google.com> Pass in connection to CDMAPhone.notifyUnknownConnection

An equivalent change has already been made in GSMPhone.

Bug: 17939852
Change-Id: I546618b3d56b2c855e33d8a5604478262f21514c
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaCallTracker.java
c93ffd4aff9e9b90210c6f1c9ae2a650f16f9edb 08-Oct-2014 Wink Saville <wink@google.com> Merge "Add SubscriptionController dump." into lmp-dev
536cae75031e11ee30da0a0b4d4a0752e5526e96 08-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "Send SMS over 1x when on eHRPD/LTE and active voice call" into lmp-dev
a88daac223c9644b9bf2eb17f37d053194c4da3e 08-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "PLMN10 PWS test fails for Taiwan region certification" into lmp-dev
fa06894356aabe0cebb8b83d9d4b170c3de673e7 12-Sep-2014 bansalv <bansalv@motorola.com> PLMN10 PWS test fails for Taiwan region certification

Solution: Need to add channel 4383 in SmsCbConstants.java and sam should be
handle in Cell Broadcast Application.

Bug: 17886894
nternal/telephony/gsm/SmsCbConstants.java
4eb8e4c8dc684e2109276ea2ec4ce25d3b188568 26-Aug-2014 Xia Ying <yingxia@motorola.com> Send SMS over 1x when on eHRPD/LTE and active voice call

When UE is attached to eHRPD network LTE network which not
allow data and voice concurrent, and IMS is registered:
- If there is an active 1x RTT voice call, send SMS over 1x
- If there no active 1xRTT voice call, send SMS over IMS

Bug: 17331507

Change-Id: I2647c1ccdbf5286445aa34925be0027b21f84a03
nternal/telephony/cdma/CdmaSMSDispatcher.java
63848d3691b01bb253989a5cacf4d2fa56883bb5 08-Oct-2014 Jeff Brown <jeffbrown@google.com> Merge "Notify modem about screen on/off states more precisely." into lmp-dev
976586d02baafa601eb816467cd9321eaa3c66dc 08-Oct-2014 Wink Saville <wink@google.com> Add SubscriptionController dump.

Unable to reproduce 17678050 so add a dump method and
ScLocalLogs to hopefully capture what's happening.

Bug: 17678050
Change-Id: I91d99c98cff9b6fd484d4972b5461098bba23ba2
nternal/telephony/DebugService.java
nternal/telephony/SubscriptionController.java
07de07dcacc731b4955656e0be7428ed5427d122 07-Oct-2014 Junda Liu <junda@google.com> Merge "dispose uicc card if modem is not available." into lmp-dev
5d8e4457b03d166aa249989916b66a85df898516 11-Sep-2014 Steven Liu <stevenliu@motorola.com> dispose uicc card if modem is not available.

Bug: 17786992
Change-Id: Idd36a2afe696789340e0b6cba1d30eeadc378036
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/UiccController.java
7b54f44bafb4ef6e7d8f051970f2ab1ec5bb0d73 07-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "[ADR] TS51.010-1 34.2.9.1 failed to send concatenated segments SMS to short code" into lmp-dev
8bac0d74998db86022d47c2f9848c10243a4bf0c 07-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "Sms7BitEncodingTranslator" into lmp-dev
8b53bb26569395511e3dbd5f94bda74ea6b9e37c 29-Jul-2014 Xia Ying <yingxia@motorola.com> Sms7BitEncodingTranslator

Bug: 16197894
Change-Id: I389248343c4ee621a1e8980481987742623bcbe7
nternal/telephony/Sms7BitEncodingTranslator.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/gsm/SmsMessage.java
c2030a3ba58b384b10d4a566a44e1761b9eaf1df 07-Oct-2014 Yorke Lee <yorkelee@google.com> Merge "Add ability to add sim-initiated MO call to UI (4/4)" into lmp-dev
6c376fea69306e22a2f11894d05cd0abfdaefed3 04-Oct-2014 Xia Ying <yingxia@motorola.com> [ADR] TS51.010-1 34.2.9.1 failed to send concatenated segments SMS to short
code

On handling EVENT_SEND_CONFIRMED_SMS, we should updte mExpectMore
based on mPendingTrackerCount.

Bug: 17570854
Change-Id: I9071031e30c724e05e9738dad3b476289dc79afc
nternal/telephony/SMSDispatcher.java
9f638ce6ea260b3139fb627d7d232e720e771e03 06-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "fix issues to set data profiles" into lmp-dev
dd5db09966b6d24e2ba0f4d6f5d26985d3303540 01-Oct-2014 Hui Wang <huiwang@motorola.com> fix issues to set data profiles

Bug: 17781567
Change-Id: I62fbe1179c3d71f50b50c70f493e0f86c66c2991
nternal/telephony/dataconnection/DataProfile.java
nternal/telephony/dataconnection/DcTrackerBase.java
83a97603d6e38ca5600cc12780fbfbee0cfe483f 04-Oct-2014 Yorke Lee <yorkelee@google.com> Add ability to add sim-initiated MO call to UI (4/4)

Pass in connection when calling notifyUnknownConnection

Bug: 16852844
Change-Id: I52a0eb7ab8bc767db34ccee4d55a2c7b6bd363f5
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCallTracker.java
d8e86a5eb1f8757244fad0f9b54d2ce8ceb3287b 06-Oct-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Merge similar APNs together when loading All Apns." into lmp-dev
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
nternal/telephony/RIL.java
d98d019d2a23bc7a8f96e8388021e5c87b71f158 02-Oct-2014 Gordon Gao <njh348@motorola.com> Optimize CDMA RATs TCP buffer sizes

1. Add CDMA 1xRTT buffer sizes
2. Add CDMA eHPRD buffer sizes

Bug: 17786212
Change-Id: I31633829576ced088d2bcf563205bbe216c648dd
nternal/telephony/dataconnection/DataConnection.java
29c6659c8767212d23d417f2b7f032b6c0d82119 03-Oct-2014 Robert Greenwalt <rgreenwalt@google.com> Merge similar APNs together when loading All Apns.

They should have been merged together in the DB. Do it now
at this convenient point so that we don't end up
making duplicate requests for the same apn. That can lead
to duplicate calls with diff call IDs and then netd gets confuse
and things don't work.

bug:17634414
Change-Id: Ia77e43f53456f8ecadc9e94c20301fe8a52338d7
nternal/telephony/dataconnection/DcTracker.java
de9bf648fb2dfc768ec73d207ea49379814dfdda 02-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE" into lmp-dev
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
nternal/telephony/CommandsInterface.java
nternal/telephony/RIL.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/imsphone/ImsPhoneCommandInterface.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
38aacb31e230f7b8b6dbd3865cc1c84bbaf2ee65 02-Oct-2014 xinhe <xinhe@google.com> Merge "Fix for CMAS is not turned on" into lmp-dev
5f0f5c18a1ec4cc85ba737a9fce3dd489b46c54a 01-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "Treat SIGNAL_LOST error in dataCallResponse as permanent failure." into lmp-dev
c187e073823cc4d9c86b536617ea0d198d14755e 01-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "Roaming blacklist" into lmp-dev
1f22d77839c35908113e4978a1431636be0786ac 19-Sep-2014 duho.ro <duho.ro@lge.com> STK: fixing to send intent when card status changed

The intent name is not match with STK app.
Also, it should get the reference of UiccCard with its own slot id.
It affects with install and uninstall STK app when card status changed.

Bug: 17463742
Bug: 16148051

Change-Id: I9a4bab72411fce39846d7d11e6a15519d58c1d7a
nternal/telephony/cat/AppInterface.java
nternal/telephony/cat/CatService.java
4a1dfae2a805d4cd7a3ae81f3cc00ea1e1cb2677 01-Oct-2014 xinhe <xinhe@google.com> Fix for CMAS is not turned on

CMAS is not turned on for several reasons:
(1) Exception happends when default SMS sub Id is not available.
(2) Cellbroadcast thread can die before the servicestate change triggered

Bug:17571958
Change-Id: I7b210226fa24f266896763ff80235c4ed4b936eb
nternal/telephony/UiccSmsController.java
5d8a08eb08034746ef0828bcf24c2f29acc21fdf 01-Oct-2014 Amit Mahajan <amitmahajan@google.com> Merge "Change to update SPN based on spn-conf.xml." into lmp-dev
8d298c8557bfa2413c7d90610d26fbe3f37ed1ca 01-Oct-2014 Amit Mahajan <amitmahajan@google.com> Change to update SPN based on spn-conf.xml.

If there is an SPN override for this carrier, we should update
gsm.sim.operator.alpha with this value.

Bug: 17701706
Change-Id: I12aa3950f3e3636d573d2d1ff1bc1bab6f3a6abd
nternal/telephony/uicc/SIMRecords.java
2b3d92bf5b79eddc8299c1236a83b508b31f3432 01-Oct-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Support bearer-specific DUN APN on CDMA" into lmp-dev
cb63912021131116635c270a3822ab244c8bfe04 26-Sep-2014 w19976 <w19976@motorola.com> Roaming blacklist

Rename isSameOperatorConsideredRoaming to isOperatorConsideredRoaming.
Have isOperatorConsideredRoaming take precedence over isOperatorConsideredNonRoaming.
This makes it easier to blacklist specific networks that lie within a
whitelist range (eg, whitelist all carriers under 310xxx except 310410).

Bug: 17684236
Change-Id: I2275cd3375e810a0a17ff28bf518e4ff5420cc14
nternal/telephony/gsm/GsmServiceStateTracker.java
b30d3481987401d1f3ede9317b0d6f80ebbd0e57 30-Sep-2014 Junda Liu <junda@google.com> Merge "Fixes: SIM records loaded not firing on refresh reset." into lmp-dev
33b32317a7ac74e331b1e66479ad9f9fa60b449b 30-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Update mRecordsRequested on sending request instead of onLocked." into lmp-dev
8574e746e25a3b8e8352d20c437f4194271d1e60 29-Sep-2014 Anthony Lee <anthonylee@google.com> Merge "Create and track different Handler instances for each Phone." into lmp-dev
56070d81b56a950a027d5adf87890221548ca666 25-Sep-2014 Shishir Agrawal <shishir@google.com> Fixes: SIM records loaded not firing on refresh reset.

On a refresh reset, the carrier privileges are not reloaded, so we should not
block the sim loaded notification on it. Also avoid firing sim_loaded on sim absent.

Bug: 17620642
Bug: 17697575

Change-Id: I62d810fcf47c9ca0b75e36bc7c99476acb1adcf1
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/UiccCard.java
ca117227299fb662cbd2c0cfe41d17ff0f903bef 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
nternal/telephony/CommandsInterface.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneNotifier.java
5a514e8e8193bbd09687cc1fb286122b79eca612 29-Sep-2014 Anthony Lee <anthonylee@google.com> Create and track different Handler instances for each Phone.

Phone objects used the same handler in CallManager to
register/unregister callbacks with RIL. This means that, if the
last operation was an unregister, the CallManager would not
be a listener for certain events from the RIL.

Bug: 17414427
Change-Id: I217fad94c64edf479141c1f28f0c1ec8a9e89032
nternal/telephony/CallManager.java
ad31aa03d7cab4d719d81c23df2db33e029c8ced 29-Sep-2014 Amit Mahajan <amitmahajan@google.com> Treat SIGNAL_LOST error in dataCallResponse as permanent failure.

Bug: 17632875
Change-Id: Ic2dfcf27039206f9eb4ed29b0a035920b14e2890
nternal/telephony/dataconnection/DcFailCause.java
ab55739495b38cf403e7c4514e00f4661034c838 29-Sep-2014 Amit Mahajan <amitmahajan@google.com> Update mRecordsRequested on sending request instead of onLocked.

Bug: 17668819
Change-Id: Ib982149c665258dba8fbb4b58a35449b40529913
nternal/telephony/uicc/SIMRecords.java
e818d6a43cbe831ea4e0274670f748a04b600ae8 29-Sep-2014 Paul Jensen <pauljensen@google.com> Merge "Move mobile provisioning APN support into telephony and rework." into lmp-dev
283b98ea941fdfc11d952b4da94ea105f0614bdf 27-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Notify registrant (phone) of Icc event on registration." into lmp-dev
e43045f54ba97cfb95dd19bc59bb7978239fea22 27-Sep-2014 Amit Mahajan <amitmahajan@google.com> Notify registrant (phone) of Icc event on registration.

Notify registrant of all the possible events. This is to make sure
registrant is notified even if event occurred in the past.

Bug: 17585301
Change-Id: I10cbe4bda942b45d7990d542dbfad85d287a0d39
nternal/telephony/uicc/IccRecords.java
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
nternal/telephony/CallTracker.java
nternal/telephony/Connection.java
nternal/telephony/PhoneBase.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
1de0196530d8b8e5aa7df7db09c62d79b2eb80ec 27-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Change to show correct number of unheard voicemail in notification." into lmp-dev
0ac2712110a386ed763c16cf590067fa707a8023 27-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Bubble up CARD_IO_ERROR" into lmp-dev
d4c858abee72a9c4935855b62418d2b306ceda4b 25-Sep-2014 Amit Mahajan <amitmahajan@google.com> Bubble up CARD_IO_ERROR

Bug: 16871406
Change-Id: I57d84640a03fc084b3c375b6ce76a12ef9387882
nternal/telephony/uicc/IccCardProxy.java
6aa799c9d555854ecac94b15967e9016c55b4340 26-Sep-2014 Amit Mahajan <amitmahajan@google.com> Change to show correct number of unheard voicemail in notification.

Bug: 17299884
Change-Id: Ie26a61cbfc2254f95686b8031a0988b9cd58609d
nternal/telephony/gsm/GsmInboundSmsHandler.java
nternal/telephony/gsm/SmsMessage.java
1484bfe9c58cfd2ddf59a5b8dad7373a36de946d 22-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Support bearer-specific DUN APN on CDMA

The DUN apn needs to be listed last, and this should only be used on networks
that don't show the apn editor.

bug:17571681
Change-Id: Iefa676d3c741ffb2eef201a8683429ed9dbe44d1
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcTracker.java
b449dc75ef4b9cb996c34a11e758f7e6ca193240 17-Sep-2014 Paul Jensen <pauljensen@google.com> Move mobile provisioning APN support into telephony and rework.

This code had to be reworked to cooperate with the new multi-network
logic. The provisioning flow when using a provisioning APN is:
1. DcTracker detects connecting to provisioning APN, puts up
notification, and turns off radio (as per b/13190133, b/10328264).
2. User selects notification. ProvisionNotificationBroadcastReceiver
receives intent, turns on radio, enables fail-fast mode,
sets up provisioning logic in DcTrackerBase.
3. When radio connects again, DcTracker.completeConnection() launches
browser to facilitate activation. Note that activation can be
performed via any internet connection so it's not a problem that
browser isn't multi-network aware.

bug:17324098
Change-Id: Ibd1c42b1a75795f90a6483d3d0a5a14f88b193d8
nternal/telephony/dataconnection/DcTracker.java
fc0a491803c3cec2d1c1531ace7d0eaa7cb76eda 25-Sep-2014 Elliott Hughes <enh@google.com> The countries HU and HR both have an obvious default language.

Bug: 17614834
Bug: 17633631
Change-Id: Iecd82e28299548aaf197c8b6a28fb47b1a225bf8
nternal/telephony/MccTable.java
1b2607bdf4ee998c914eefdcc82fbd5e1a9d0e59 25-Sep-2014 Sreeram Ramachandran <sreeram@google.com> Merge "Change type name of mobile from "Cellular" to "MOBILE"." into lmp-dev
e6d46f65fd0b091268cd4164d3a22edaf4445b7c 25-Sep-2014 Elliott Hughes <enh@google.com> Merge "Fix the locale matching logic in MccTable." into lmp-dev
aaf87159f290c573863038a4feb990f509d29ba0 25-Sep-2014 Sreeram Ramachandran <sreeram@google.com> Change type name of mobile from "Cellular" to "MOBILE".

Bug: 17609932
Change-Id: I22331426e04a5b45e73f9e768b7d88c1d4282c78
nternal/telephony/dataconnection/DataConnection.java
9de6c7b167c9fd82afbf272b690225e963f5c951 25-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "add capability to initialize default locale from USIM EF_LI or EF_PL." into lmp-dev
17a893295d021cd48ad0e2e6ccf9ceda3f97c70c 16-Sep-2014 Sukanya Rajkhowa <srajkh@codeaurora.org> Trigger phone switch based on config

When VOICE_REGISTRATION_STATE changes, phone switch
may not be needed as a previous switch would have
happened on receiving UNSOL_VOICE_RADIO_TECH_CHANGED.
Do a phone switch only if the config is true.

Bug: 17394282
Change-Id: I4a4aa98bd0af9eaca46b0d09458a126313e97611
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
f62253c8dc91e37068dade8e40aac427ece7d57b 25-Sep-2014 Elliott Hughes <enh@google.com> Fix the locale matching logic in MccTable.

Bug: 17614129
Change-Id: I4a058b252f9da9173e6bb248e212863e1fe6496f
nternal/telephony/MccTable.java
230e46bdd850306dcc54ab6038d4d3132f5032ab 11-Apr-2013 nfjb73 <nfjb73@motorola.com> add capability to initialize default locale from USIM EF_LI or EF_PL.

if user has set the defalut locale, the locale from USIM will be ignored.

Bug: 17543708
Change-Id: I1f9fa8b73b84f27ef8414bb1fc1c01b4a021c791
nternal/telephony/MccTable.java
nternal/telephony/uicc/IccConstants.java
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/UsimFileHandler.java
e433881d31ceb7b63df5ea70647ce5b3147a8aae 24-Sep-2014 Junda Liu <junda@google.com> Merge "Postpone otasp_not_neeeded until SIM_LOADED." into lmp-dev
0a8236f5edf50284f05bcb7b0e460166e814d091 24-Sep-2014 Junda Liu <junda@google.com> Postpone otasp_not_neeeded until SIM_LOADED.

Because platform begins w/ GSM phone even for CDMA devices, sending otasp_not_needed confuses SuW.

Bug: b/17572929
Change-Id: Ie19f5eac81a85cb4191bb7e5cf0294f4fb5cf0c1
nternal/telephony/gsm/GsmServiceStateTracker.java
49404e45908d7f95c53caa1bef0d92feacf2db6e 24-Sep-2014 Russell Brenner <russellbrenner@google.com> Merge "Reset OTASP state during initialization" into lmp-dev
0f0a38c35af9f5a3c23bf88f2189c987a106b8b9 23-Sep-2014 Russell Brenner <russellbrenner@google.com> Reset OTASP state during initialization

In case another service type had previously set the OTASP state,
reset it.

Bug: 17572929
Change-Id: I7a4274722c95036fc590a33201eadbf2ccd1880c
nternal/telephony/cdma/CdmaServiceStateTracker.java
8f7d6f25466b779dc2b5d8f52e0130c319e16d54 23-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Filter Settings-based DUN apn by bearer." into lmp-dev
08854aabd68ab6308c49c2150bf80e0a1582a712 20-Sep-2014 Etan Cohen <etancohen@google.com> Use overlay to determine phone type when Voice RAT is UNKNOWN.

Current code used overlay when Voice RAT was ambiguous (LTE). Adding
UKNOWN as another condition to use overlay rather than default GSM.

Bug: 16962905
Change-Id: I2b55749a632eab8c00dd7b2c8a0df7b4152f71b6
nternal/telephony/PhoneProxy.java
81cd6c4bb83be18117405e5e87ad8092885c8e23 23-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Take care of invalid mcc first when updating time based on nitz." into lmp-dev
491ed0cc6eb8ae15af76bb2df2d110be0b34849b 23-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Don't disconnect data for some carrier" into lmp-dev
1fc8906caa9ee879f0343dd3a120cde6d695798b 23-Sep-2014 xinhe <xinhe@google.com> Merge "Fix for empty RSSI triangle after boot" into lmp-dev
b90dee72e22de99d49535a085f7df239f6b0563e 09-Sep-2014 Jing Zhao <zhaojing@motorola.com> Take care of invalid mcc first when updating time based on nitz.

[ADR] PTCRB: 26.7.6.1.1 test from 3GPP TS 51.010-1

Bug: 17425395
Change-Id: I44cb366f4a0b5595f31c30a60dac52618431a109
nternal/telephony/gsm/GsmServiceStateTracker.java
a055c6e35a8b4cc3ffb9e2c1c6c5de87155d42a2 23-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Filter Settings-based DUN apn by bearer.

bug:17330745
Change-Id: Icae2cbc6db10c9cebc20f445ca0d71ea4ed6be77
nternal/telephony/dataconnection/DcTrackerBase.java
75c934492b242f8ba750b11d9dae4304c76bbc07 06-Aug-2014 Jing Zhao <zhaojing@motorola.com> Don't disconnect data for some carrier

In some network, deactivate PDP connection cause releasing of RRC connection,
which MM/IMSI detaching request needs. Without this detaching, network can
not release the network resources previously attached.
So we are avoiding data detaching on these networks.

Bug: 16207801
Change-Id: Ib2ccc04d67f313e1241872b17ab38416607b0b48
nternal/telephony/ServiceStateTracker.java
a85da71e199a5c0790f79632bf80bcba242c59c5 21-Sep-2014 Yorke Lee <yorkelee@google.com> Merge "Don't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore" into lmp-dev
1ed331920d5a765da8b926e6aad2cb668203be53 19-Sep-2014 Hui Wang <huiwang@motorola.com> Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

Bug: 17567651, 16308209
Change-Id: I6bb1519a795dcb7e99a94d366afdfaec21c43d84
nternal/telephony/dataconnection/DcFailCause.java
33c5842f1140b7036f7b7c4d2260b9dc5b9adaee 20-Sep-2014 Vineeta Srivastava <vsrivastava@google.com> Merge "Telephony: default subId updating on single slot device" into lmp-dev
281281bfbb7a9def377de26b3ad160188da4da7d 19-Sep-2014 duho.ro <duho.ro@lge.com> Telephony: default subId updating on single slot device

The default sub Id should be updated on single slot device when card
hot-swapped.

Bug: 17400805

Change-Id: If42d4a218e508e65f3e97f2fcd974f622f8011b1
nternal/telephony/SubscriptionController.java
d1a60dfe521f376e3500946d5371f126dbd36767 19-Sep-2014 xinhe <xinhe@google.com> Fix for empty RSSI triangle after boot

After device bootup, the signal strength triangle is empty although there is
both voice and data connection. This is due to when TelephonyRegistry doing call
back listen register, some APP use mDefaultSubID. However, when the reigister
happen, the mDefaultSubId does not exist. Althouhgh it can be update later, if
the update event comes too late (especially after the steady state), no
ServiceStatechange event can be received anymore. Thus the service is always not
available and the signal stength trangle has no chance to be updated anymore.
This is a risk condition.

Bug:17472622

Change-Id: I8e6e37469086eecabbc4b9abcdb0d32eb09e0635
nternal/telephony/DefaultPhoneNotifier.java
4bd290e38a3eb70e153b7bffa101a0c9f130e32e 13-Sep-2014 w19976 <w19976@motorola.com> Handling service number convert while roaming.

Bug: 17202092
Change-Id: I57221b314cd9136a19216119911e3342d42cdfde
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
a79810b528ddbf224fe17b3529d365c9ce247369 19-Sep-2014 Yorke Lee <yorkelee@google.com> Don't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore

Telecom now sends out this consolidated call state so this method is now
unnecessary.

Bug: 17553837
Change-Id: I76f67939a35add5f84f1e7f9d5727d2537a70e09
nternal/telephony/DefaultPhoneNotifier.java
d1f95a9e919645586fd2e1afce24c89586a4d927 19-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Fix voice mail number to modify for some carrier card." into lmp-dev
6e8a220a642aa479d2f430ff810f4140e80cc2e4 06-May-2014 giseok.seo <giseok.seo@lge.com> Fix voice mail number to modify for some carrier card.

1.H3G Denmark SIM Card is set to "not available" in UST(Usim service Table) to
EF_MBDN file of SIM CARD. so do not edit voicemail number.

2.AOSP default voicemail number is empty.
so if inserted H3G Denmark SIM card,
User can't edit voicemail number and do not use voicemail service.

Bug: 14093735
Change-Id: I2469ef8e8bda376adcdc9549bf4227bc4c0ddb2e
nternal/telephony/uicc/SIMRecords.java
299a348cd9bdcc21c5c4a6cd6c9a825e5d711908 10-Jul-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> telephony : Support for voicemail in TP-UDH of SMS

Added support for processing special message indication
for voice mail in TP user data header for SMS
Spec reference: 3GPP TS 23.040 V6.8.1

CPHS method does not use message count.
0xff is used to indicate unknown message count for CPHS
Ref[Adapt requirement CDR-MWI-120, TC: GSM-BTR-1-4700]

bug: 17299884
Change-Id: I893252d5cacd5c1c8680a8ca6c3a6dba95ef3e1f
nternal/telephony/SmsHeader.java
nternal/telephony/gsm/SmsMessage.java
f3e102d889f223354f568b97324b1ce5fcb73bc7 18-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Change to timeout if cell_info_list is not received from modem for 5s." into lmp-dev
3760e4ad8fa2c6ccc9320772eed6e0d8ddfe9afd 18-Sep-2014 Shishir Agrawal <shishir@google.com> Merge "Fix null IMSI in CDMALTEPhone on bootup." into lmp-dev
bed429d6d0a0dbc6384b04e0641aa1e03e406f42 18-Sep-2014 Amit Mahajan <amitmahajan@google.com> Change to timeout if cell_info_list is not received from modem for 5s.

Bug: 17348559
Change-Id: I94c4a14ea6e88330082e79a7ba633ac7b18a1a2e
nternal/telephony/ServiceStateTracker.java
2e41209f95670cb26aba5897b9bc0dcd9679e908 17-Sep-2014 Shishir Agrawal <shishir@google.com> Fix null IMSI in CDMALTEPhone on bootup.

Using the UiccController call without passing in phone ID results in invoking
the SubscriptionController logic which is not necessarily initialized at
ICC_CHANGED.

Bug: 17418219
Change-Id: Id84e33aa6c77c3f12ebacf234c05af5c4901870c
nternal/telephony/cdma/CDMALTEPhone.java
f5c0afa0fdcf84c226bc2ec8fe37d9718102ebe8 16-Sep-2014 Junda Liu <junda@google.com> Handle unprovisioned ruim and update otasp as needed.

The old code skips updateotasp if ruim is not provisioned, so otasp
needed is never sent to registrants.

Bug: b/17200971
Change-Id: If098dd8e3159f289e3a6c0007e421fd8c40555d2
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
edcd616ed3d7be8a24ec5f376230c40c434c8f83 16-Sep-2014 Tom Taylor <tomtaylor@google.com> Merge "PT:VZW:CV MMS not able to be sent with messenger app" into lmp-dev
36e3fae9c157969e65d1d2777d014e99eb204e7a 16-Sep-2014 Shishir Agrawal <shishir@google.com> Merge "IsimUiccRecords: Do not set radio power off if not required on REFRESH reset." into lmp-dev
d6058f11ffdf30ecfc19fc22a0878cae4feb15fd 16-Sep-2014 Shishir Agrawal <shishir@google.com> IsimUiccRecords: Do not set radio power off if not required on REFRESH reset.

Bug: 17154939
Change-Id: Ied4709ea8b61a8402211d11bb582feb830ab61d9
nternal/telephony/uicc/IsimUiccRecords.java
38bbd5235af46cf4721831ee4c620d6c552892a8 11-Sep-2014 Sukanya Rajkhowa <srajkh@codeaurora.org> Use VOLTE Replacement RAT from config if defined

Operators may define the replacement RAT when voice
is registered on LTE. Use the operator specific RAT
defined in mcc-mnc config if defined

Bug: 17394282
Change-Id: I0974190df04b62f23527015a1f3e4086fb38e83c
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
b9adaa1c4a12df8c8bd44b4803d452662b53e0d8 15-Sep-2014 Tom Taylor <tomtaylor@google.com> PT:VZW:CV MMS not able to be sent with messenger app

Bug 17506557

I missed a spot where the mcc/mnc was getting set without updating the
siminfo record. This affected Sprint phones and perhaps others. As a result,
the mcc/mnc for the one and only subscription record had an mcc/mnc of zero
and the default mms_config for that mcc/mnc couldn't be loaded.

Change-Id: Iea0222a29a1f9426a4cdf4b9946620e2d02615e7
nternal/telephony/uicc/SIMRecords.java
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
nternal/telephony/CallManager.java
nternal/telephony/Connection.java
nternal/telephony/PhoneBase.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
772f5f72ef0b872d1a0cb1a099e7d78998f1dac2 12-Sep-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> IMS USSD Routing Over CS Pipe

Adding logic to reroute USSD
requests through voice phone in
AP. The actual routing logic
(CS/IMS) resides in the lower
layers.

Bug: 17431456
Change-Id: Ieec8130ae9f5b62f6dc1aaf0066d41b31c5b8d0b
nternal/telephony/imsphone/ImsPhoneMmiCode.java
97fba207643a87dd718395010a98ded3e809a3d7 12-Sep-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS: release the imsphoneconnection wakelock when handover occurs from volte to cs.

Bug: 17469563
Change-Id: I3652de773da0398cb9d7455d0c82e6c9504171af
nternal/telephony/imsphone/ImsPhoneCallTracker.java
nternal/telephony/imsphone/ImsPhoneConnection.java
4c268833fd406b13b95f77f6d52fda25cd3901dd 11-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Don't advertise dun insecurely" into lmp-dev
bb097a7ba08252c516e578ce30cdb658b63d7c9b 30-Aug-2014 Jing Zhao <zhaojing@motorola.com> Send empty flash for some CDMA carriers for 3way call

Some carrier need a empty flash before the normal one to connect the 3way call

Bug: 17331584
Change-Id: Ie8f774de909056e398972ea460029d903f059fec
nternal/telephony/CallTracker.java
nternal/telephony/cdma/CdmaCallTracker.java
946ef7174c14c295d229ae682b2079956291594d 11-Sep-2014 Derek Tan <derektan@google.com> Merge "Make public the getIccId function." into lmp-dev
c149ab8bbbbf21b09b343878009d381bd4f2adf5 11-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Don't advertise dun insecurely

If there is a carrier specified apn from config.xml unless the current connection
is that setting, don't advertise dun.

If there is no carrier specified apn, the we're ok.

bug:17286525
Change-Id: I6c6f66e9b4dcc9a1dda6fa0fbfea7b7dcc155530
nternal/telephony/dataconnection/DataConnection.java
9019a6d7cab1d114cf81af7196ede027ff55d3e3 11-Sep-2014 Wink Saville <wink@google.com> Merge "Reduce log spam - moving some subscription messages to verbose from debug logging." into lmp-dev
a8a7e3d73dc6f6f1b791fd30be5aa6896abbbe9a 11-Sep-2014 xin He <xinhe@google.com> Merge "setup data on connectable apns on apn changed even there have already been some apns connected" into lmp-dev
b66469cd64077d31fc67087708638a985d9cb449 10-Sep-2014 Etan Cohen <etancohen@google.com> Reduce log spam - moving some subscription messages to verbose from debug logging.

Change-Id: I1a8d541cd9547d049559c26744b7d61690304840
nternal/telephony/SubscriptionController.java
3f52153a5409861eaa6e9aee5c8560bf3447cf48 09-Sep-2014 Hui Wang <huiwang@motorola.com> setup data on connectable apns on apn changed even there have already
been some apns connected

If default apn setting is added after other apn types connected, deafult apn
may not be able to be connected

Bug: 17426028
Change-Id: I5022ebde6ed1f8448755d9076aa5583a84895e00
nternal/telephony/dataconnection/DcTracker.java
2c1d340751338c77050e36f4bf77635eeba794a2 10-Sep-2014 Junda Liu <junda@google.com> Merge "Update telemgr calls with subId to new APIs with ForSubscriber suffix." into lmp-dev
b5a68902bcc5010be1678f8c1720d73538d66063 10-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Support to load default voicemail number from the configuration." into lmp-dev
a08ffceb57e0c176447cb557cb0173f54dbb2ee6 10-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Voicemail notification disappears after power cycle" into lmp-dev
4fe735103bd4d8026a25f4b0b40784fe60cddac4 04-Sep-2014 Xia Ying <yingxia@motorola.com> Support to load default voicemail number from the configuration.

If there is no preload VM number in the sim card, carriers such as
Verizon require to load a default vm number from the configurantion.

Bug: 17209959
Change-Id: I04df49b29452135edfebd9ea2bc047e91b7f208c
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
4bf26bda6f06dfc66ac7b0fe0ee0099d23f8b36c 09-Sep-2014 Xia Ying <yingxia@motorola.com> Voicemail notification disappears after power cycle

Fail to notify messageWaitingChanged to App, it is
due to could not get subid before Ruim records loaded.

Bug: 17427871
Change-Id: I6d2dddfecda4747a72d6a4ac53bbaa86becd966b
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
b6abb3eb25f5f3a547212e5de6745b1ca6f9faef 09-Sep-2014 Wink Saville <wink@google.com> Merge "Use SubscriptionController.getSubIdUsingPhoneId for getSubId" into lmp-dev
5df100e394bfa860615fd62f0eb0ee439bbd7e38 09-Sep-2014 Wink Saville <wink@google.com> Merge "Fix ArrayOutOfBounds bug, tighten parameter checking." into lmp-dev
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
nternal/telephony/PhoneBase.java
f54d520ee2eaeb081c208b3d33b0d1fb6ae49254 09-Sep-2014 Wink Saville <wink@google.com> Fix ArrayOutOfBounds bug, tighten parameter checking.

Also, make logging consistent.

Bug: 17424200
Change-Id: Ie5bef1f557bf88b01eeb97c117807a40689c28e4
nternal/telephony/dataconnection/DctController.java
8756c83413829be5b6530d122772959ad8414698 09-Sep-2014 Etan Cohen <etancohen@google.com> Validate that Handler being cleared is the one currently registered.

The BaseCommands.unsetOnXXX(Handler h) cleared the current singleton
registrant without validating that it was the same Handler used in the
argument. Out-of-order set/unset would cause a problem.

Bug: 17436226
Change-Id: I53a264e517f7cbef9e243c628102817a376da29d
nternal/telephony/BaseCommands.java
691b8d29a0c77bdf20d209c01461a176ccd7a2f7 09-Sep-2014 Wink Saville <wink@google.com> Merge "Change suffix UsingSubId to ForSubscriber." into lmp-dev
231c3c6271a27b5f03444f4d24b52c41c46566ab 09-Sep-2014 Etan Cohen <etancohen@google.com> Fix NPE due to access before checking for NULL of APN setting.

Change-Id: I7bac303a2a5d562f7f1b2569ecfa467160be52a1
nternal/telephony/dataconnection/DcTracker.java
6638d38a41076d7ba935df3931cd62ea51efad00 09-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Assisted dialing support of MO SMS" into lmp-dev
70dad6e7c56847c91bc55755c645680ea6c6fac3 22-Jul-2014 Xia Ying <yingxia@motorola.com> Assisted dialing support of MO SMS

This is special for VZW requirement. Follow the specificaitons
of assisted dialing of MO SMS while traveling on VZW CDMA,
international CDMA or GSM markets.

Change-Id: I8976e596040e9eab9e4bc5168fc68e9d976c4df5
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/SmsNumberUtils.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
nternal/telephony/PhoneBase.java
6a5ef38e6ae3d3a3ad90ae180388fe85de0495a2 08-Sep-2014 Wink Saville <wink@google.com> Change suffix UsingSubId to ForSubscriber.

Bug: 17255752
Change-Id: Ifd522888b5aaae111f642d1e35bd1bb939e539d4
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/IIccPhoneBook.aidl
nternal/telephony/IccProvider.java
nternal/telephony/PhoneSubInfoController.java
nternal/telephony/PhoneSubInfoProxy.java
nternal/telephony/SubInfoRecordUpdater.java
nternal/telephony/SubscriptionController.java
nternal/telephony/UiccPhoneBookController.java
nternal/telephony/UiccSmsController.java
nternal/telephony/WapPushOverSms.java
a78b89580413cda352dbba21c4b0227dbb0211d3 06-Sep-2014 Derek Tan <derektan@google.com> Make public the getIccId function.

Bug: 17255752

Change-Id: Id1ffc49e0b2c9674b1631bbd5662be8889d97ed7
nternal/telephony/uicc/UiccCard.java
17e77849f88cf20dc5a28aeede66b839fbbdb831 03-Sep-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Add null check for IMS Connection when conference call ends

Add null check before accessing ImsConnection object when
conference call is ended as findConnection() may return null
when there is no connection associated with the call object

Bug: 17332291
Change-Id: I3b74277b20f3a26c1b026bfa15ef4d368fb6f8af
nternal/telephony/imsphone/ImsPhoneCallTracker.java
96d961419690d3b78fbebe037889f5e922650251 06-Sep-2014 Junda Liu <junda@google.com> Update telemgr calls with subId to new APIs with ForSubscriber suffix.

Bug: b/17255752
Change-Id: Ib4447f280a76424751a3d5c25a8ba400a1f789ee
nternal/telephony/SubInfoRecordUpdater.java
nternal/telephony/SubscriptionController.java
25a519fa55e0d193ee2652d407b869d9e61d7043 06-Sep-2014 Shishir Agrawal <shishir@google.com> Merge "API change: SetOperatorBrandOverride should not take iccId as a param." into lmp-dev
99ae0785718f4350268e0d022398d3db0d0071c4 06-Sep-2014 Vineeta Srivastava <vsrivastava@google.com> Merge "Supporting Plus code dialing for non-NANP CDMA carrier" into lmp-dev
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
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/uicc/UiccCard.java
bb1c968287bd746a93036ca41f5b46d4ad6a3977 10-Jul-2014 Steven Liu <stevenliu@motorola.com> Supporting Plus code dialing for non-NANP CDMA carrier

Plus Code Dialing in CDMA need to know the current IDD, which is
associated with the current operator MCC, but most of Network won't
broadcast the current operator MCC via OTA, we need to use the other
OTA parameters, such as SID, time zone etc. to find right MCC, and
get right IDD further to be used by Plus Code Dialing.

Change-Id: I369083169bb3504f8de9774b65f3993dd561c525

Conflicts:
src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/HbpcdLookup.java
nternal/telephony/HbpcdUtils.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
7bfb61e8d99661c5ae176cd2d80602917dbe9b07 05-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Voicemail notification disappears after power cycle" into lmp-dev
1b0477da03b091bd0caa8de934c5906f5689e594 05-Sep-2014 Wink Saville <wink@google.com> Merge "More cleanup prior to unhiding" into lmp-dev
ba2ee8969eb4a6c7292dc257beb1a125b34b30b6 05-Sep-2014 Wink Saville <wink@google.com> More cleanup prior to unhiding

Rename public SubInfoRecord instance variables

Change-Id: I25a56d779c63a3f483d7a43c5c123404bf489fa3
nternal/telephony/IccProvider.java
nternal/telephony/SubInfoRecordUpdater.java
nternal/telephony/SubscriptionController.java
48b863166bf17184b26b50d302c38115ed48096f 05-Sep-2014 Vineeta Srivastava <vsrivastava@google.com> Merge "StkAppService couldn't get the CatService instance." into lmp-dev
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
nternal/telephony/RIL.java
91e062f3236b108cd82c127513f14ff96349c542 04-Sep-2014 Tom Taylor <tomtaylor@google.com> Merge "Save mcc/mnc in SubInfoRecord" into lmp-dev
ab57aa5d465ef3a6dc0895b2408276617a2f6fa0 04-Sep-2014 Tom Taylor <tomtaylor@google.com> Save mcc/mnc in SubInfoRecord

Bug 17157686

Add MCC/MNC columns to siminfo table.
Set the sub info's mcc and mnc when it changes.

Change-Id: I543018c3960af46a14dd234540549d13bc49e579
nternal/telephony/SubscriptionController.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/uicc/IccCardProxy.java
d14886b2a393c8b3e844d38f5edee651e75c4f95 03-Sep-2014 Steven Liu <stevenliu@motorola.com> StkAppService couldn't get the CatService instance.

Stk app doesn't work.

Bug: 17298789
Change-Id: I0201cc0cdaf295eacbec36c4becfdb4862b63050
nternal/telephony/cat/CatService.java
633cfab71fd9d2fba4d7ef2fa5e833bb1561e318 14-Aug-2014 Xia Ying <yingxia@motorola.com> Voicemail notification disappears after power cycle

For CDMA phone, use VM_COUNT_CDMA + phoneId as key to save
voice mail count, but using VM_COUNT_CDMA as key to read
voice mail count when powering up is not right, should use
VM_COUNT_CDMA + phoneId as key to check vm count.

Bug: 17016403
Change-Id: Iba12a753ac3c042f5e10e8b8d68b5b62b72a0e3d
nternal/telephony/cdma/CDMAPhone.java
6103b5df6705c89193f452c35eaf5e9a26c188cf 29-Aug-2014 Jing Zhao <zhaojing@motorola.com> AT&T short dialing code

User should be able to dial 0 or 00 in AT&T network.
The code should not be taken as MMI Code.

Bug: 17314389
Change-Id: I2f4187ddcbad6d78ee8d8c1881648b96a9da76dd
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/imsphone/ImsPhoneMmiCode.java
121eaf87527829acc2a909e4a0515cada28a674e 04-Sep-2014 Etan Cohen <etancohen@google.com> Fix CDMA missing call notification

Mis-coding: left a derived class mIsIncoming member when moving functionality to base class -
i.e. derived class variable aliasing base class. Introduced in CL 179998 (partner repo).

Bug: 17142654
Change-Id: I88d8f649c1b5abaabae333854b203d4ecf182ba5
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaConnection.java
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
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
b6f7017fba093b7f7a793d651b2c2ef72420ea9d 04-Sep-2014 Shishir Agrawal <shishir@google.com> Merge "SIM state loaded should wait for carrier priviliges to load." into lmp-dev
31d370f22fbbd39cf097b37bbcb992414174076d 04-Sep-2014 Shishir Agrawal <shishir@google.com> Merge "Control radio poweroff on SIM reset using a config variable." into lmp-dev
11eb5d9c84d7ce57180105efc5dc39e71fa3c6c6 04-Sep-2014 Shishir Agrawal <shishir@google.com> Merge "NPE fix Check parent app for null in SIMRecords." into lmp-dev
c3e37a01b74d28ebf10572bb0811c8a01916d941 03-Sep-2014 Shishir Agrawal <shishir@google.com> Control radio poweroff on SIM reset using a config variable.

Radio power off should not be required on SIM reset and currently causes
issues due to missed SIM notifications after a reset while the radio is off.
This was required for legacy devices where radios did not handle the reset
completely before the reset notification was sent to device.

Bug: 17154939
Change-Id: I53638a28998ef3b3dc41aae8948b1aef74ec49e2
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
62d026a3882d133aa81995f8dfd2c1d25b1b0649 03-Sep-2014 Shishir Agrawal <shishir@google.com> NPE fix Check parent app for null in SIMRecords.

Bug: 17354388
Change-Id: I2b2255b1c8fd9c7a8572d54060c1836030198a90
nternal/telephony/uicc/SIMRecords.java
c9877fe39ad8f3641d16fd980404916da7f6ce70 13-Aug-2014 Shishir Agrawal <shishir@google.com> SIM state loaded should wait for carrier priviliges to load.

Currently the notification only waits for the IccRecords to load.

Bug: 16650402

Change-Id: I7bc011f1fba58ee23f47375d60f976fb816dea6b
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
fb87258e809cc6e386faafd8ad1ea5585760a36d 03-Sep-2014 Wink Saville <wink@google.com> Rename getActivatedXxx to getActiveXxx

Change-Id: Iba6d2805a69d3385c93b7ed3c6267b5b8b252a28
nternal/telephony/SubscriptionController.java
7419b297b9e15512a130bde9e7d54f036a1e891f 03-Sep-2014 Wink Saville <wink@google.com> Merge "Prepare to make SubscriptionManager public." into lmp-dev
917cd56bf468b599ae1aca56773d18ee4a5d4df8 03-Sep-2014 Tom Taylor <tomtaylor@google.com> Change SmsManager.getSmsManagerForSubId to getSmsManagerUsingSubId

Bug 17371475

The agreed upon convention for SubId methods is xxxUsingSubId.

Change-Id: I3df09c5225f4331abe65868aded844a1334208c7
nternal/telephony/WapPushOverSms.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
nternal/telephony/IccProvider.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/SubInfoRecordUpdater.java
nternal/telephony/SubscriptionController.java
nternal/telephony/UiccSmsController.java
nternal/telephony/uicc/SpnOverride.java
038b5c11030741f103c15741db74068ce099cb53 02-Sep-2014 Shri Borde <shri@google.com> MessagingConfigurationManager and SmsManager api changes

Bug 17243357: MessagingConfigurationManager is replaced with
SmsManager.getCarrierConfigValues

Remove the newly added SmsManager APIs taking a subId parameter. We now
create SmsManagers per requested subId.

Change-Id: Ifa95802b6f723c4986197a2b7d6fcbc43f4e0792
nternal/telephony/WapPushOverSms.java
5340687beae29f149479d32c541965461d6d4b29 31-Aug-2014 Wink Saville <wink@google.com> Merge "Include IMS service state when determining GSM/CDMA Phone service state." into lmp-dev
5b2302a78231998589d06a2bc7b4ae9ef00fe5b8 29-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Add null check for ims call during conference call updates

Add null check before accessing imscall object.
For conference call updates are forced by
using a null object for imscall
argument.
This enables UI update for conference calls

Bug: 17321414

Change-Id: I5667bf136af37e425040edc34dacad46de084ec4
nternal/telephony/imsphone/ImsPhoneConnection.java
e84571be717f0b45c60aa5ad5d07337d81cf23b8 29-Aug-2014 Wink Saville <wink@google.com> Include IMS service state when determining GSM/CDMA Phone service state.

Also, made both getServiceState calls identical, it would be desirable
to promote getServiceState to PhoneBase but since the mSST variable is
Object Specific that wasn't trivial to do, so for now the code is
duplicated.

Bug: 17326988
Change-Id: I548abf213ab098cd31e9f9c90d231135fba3be6a
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
73e6d2b8b8d24b21d13bc22f346d3ba29c905eaa 30-Aug-2014 Shishir Agrawal <shishir@google.com> Merge "Allow MVNO tethering APNS through gservices flags." into lmp-dev
3262c21feb1eede2917450cfdfd3faa86ee70cab 25-Aug-2014 Shishir Agrawal <shishir@google.com> Allow MVNO tethering APNS through gservices flags.

The change allows multiple APNs to be specified in
Settings.Global.TETHER_DUN_APN. It also adds mvnoType, and mvnoMatchData
support to the ApnSetting class.

Bug: 12977533

Change-Id: I424fc405c1e6270bf55eadb130ed839d50575cf1
nternal/telephony/dataconnection/ApnSetting.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
26e963755e62c785d77f97a94e6116bcd5fb9e11 29-Aug-2014 Wink Saville <wink@google.com> Merge "Resp. handling of CLIR/P, COLR/P, Call Barring" into lmp-dev
8ae713fef62a078cbf1ab915d37ed3e0d1bbad69 29-Aug-2014 Wink Saville <wink@google.com> Merge "Add support for Silent Redial and SRVCC" into lmp-dev
c16a3357d2987eef32c0aceab99b66d7a290a2ed 29-Aug-2014 Shri Borde <shri@google.com> Merge "Complete MSIM support in MmsService" into lmp-dev
a8cd97e94b97b924e44377476cfe4e1fbfe49dae 28-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Resp. handling of CLIR/P, COLR/P, Call Barring

Adding fixes to properly display service status
on the UI for IMS (UT) CLIR/P, COLR/P and Call
Barring queries.

Bug: 17321315
Change-Id: I17823c3786a0e9a24c89480b7537dccc549c9516
nternal/telephony/imsphone/ImsPhoneMmiCode.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
nternal/telephony/Connection.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/imsphone/ImsPhoneBase.java
nternal/telephony/imsphone/ImsPhoneConnection.java
nternal/telephony/sip/SipPhoneBase.java
934a24a6aa2b7a981e872fa350648904ed80280a 28-Aug-2014 Diego Pontoriero <diegs@google.com> Generalize getCarrierPackageNamesForBroadcastIntent utility method to work for all intent types.

Bug: 17163860
Change-Id: I4b013db09a521fbc41401e11cd60a0c7b0172b64
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
b496aacaf6811afb18910dba756f5bc2c83b5fad 27-Aug-2014 Selim Cinek <cinek@google.com> Colored notifications

Bug: 17128331
Change-Id: Icf0a97a5aa472a1358380f5b0b5180b6a2b8e9f9
nternal/telephony/gsm/GsmServiceStateTracker.java
9dd5a8afd94de99f26a2064dce2f2979478b5411 27-Aug-2014 Amith Yamasani <yamasani@google.com> Merge "Don't invoke resultReceiver more than once" into lmp-dev
1dd55df4bcba73c42f724477284df2bd0edd4ff5 26-Aug-2014 Tom Taylor <tomtaylor@google.com> Complete MSIM support in MmsService

Bug 16681645

Use the subId to get the correct mms_config parameter.

Change-Id: Ie43d0979a5b5185c3c22bd171b9676a98b916e70
nternal/telephony/WapPushOverSms.java
bc0406859056e2de6d36cbddf39e15fcfa8155b0 24-Aug-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS: fix missed call notification not shown.
Differentiate the missed call/rejected call during onCallTerminated callback.
Also remove the onCallTerminiated from onCallStartFailed as
onCallTerminated should be triggered by the vendor ims.

Bug: 17142654
Change-Id: I107717c21f7da89e945cf74d14fbe2d2d24f94b3
nternal/telephony/imsphone/ImsPhoneCallTracker.java
2e081b3f9e8cfaae482a08cb885b6f79a39f5a4c 24-Aug-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS: modify sendDtmf to pass char input since vendor ril will translate the
char input to int.

Bug: 17282921
Change-Id: If30470868db4fb50154cf84f56aecd6daef7ddd5
nternal/telephony/imsphone/ImsPhoneCallTracker.java
8d135fd107e64d9bbdc082c2fdf45c6f494cafd3 26-Aug-2014 Amith Yamasani <yamasani@google.com> Don't invoke resultReceiver more than once

When delivering the SMS_RECEIVED broadcasts to multiple users,
don't invoke the resultReceiver for each of them. Only invoke
for the primary user.

Bug: 17058511
Change-Id: Id59c8c7b1cbaf1d7d7fd05134465e1987cded817
nternal/telephony/InboundSmsHandler.java
c6bfb9fe8381b05d9f3cfdf842e9381ca9d4c8f4 09-Aug-2014 Etan Cohen <etancohen@google.com> Conference calling for IMS: add code to delegate from parent GSM/CDMA phone.

Bug: 17221493
Change-Id: I261922349cb0574a0b726e831bc5205bb2b37019
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
f7425365551b3f86815b2b08bb89c27f8721d97d 26-Aug-2014 Matthew Xie <mattx@google.com> Merge "Fixed AT+CHUP issue in the case of a waiting call" into lmp-dev
d2ab0922d03f74f2d69d8f58427ffdd524c0c75b 22-Jul-2014 Libin.Tang@motorola.com <w16529@motorola.com> When registered in LTE, phone object is switched to GSM.
Attempting a CSFB MO call will cause the phone object to be
switched to CDMA resulting in local hangup of the dialled call.
To fix this, do not switch phone object to GSM when camped to LTE
in CDMA-LTE mode.
If there is a real need to switch to GSM it is done via
RIL_UNSOL_VOICE_RADIO_TECH_CHANGED.

Bug: 17035252
Change-Id: I52ab9eab2213da8cea5d7a2c437204dfeae2199c
nternal/telephony/cdma/CdmaLteServiceStateTracker.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
ac82d4da0473991006a752e2337ccb93e85f0946 22-Aug-2014 Etan Cohen <etancohen@google.com> Fix crash on hangup: Runtime exception thrown rather than CallStateException

This is still an invalid state to reach to. However, all other invalid states
in this routine also throw CallStateException.

Bug: 17205457
Change-Id: Ib8c958a49f303f6babfeceeb900090a57116a17b
nternal/telephony/imsphone/ImsPhoneCallTracker.java
cf91ae7acc62eba22d9e652e5de5fb90a89e2ac8 19-Aug-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS: add isVolteEnabled/isVtEnabled based on registrationFeatureCapabilityChanged.

Bug: 17182366
Change-Id: Ib203320c6fdb2242263c526b1d73c8c8bce2f1e4
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
12fffcf0d8df6b8268806d9aa7cc7a662e73743b 30-Jul-2014 Jing Zhao <zhaojing@motorola.com> Fix improper mobile data connecting event

mAutoAttachOnCreation keeps DataConnection retry connecting
while ApnContext could still be turned into IDLE state.
Make mAutoAttachOnCreation configuable and keep consistency
between DataConnection and ApnContext

Bug: 17131842
Change-Id: Iebd4886959f5458c1b10c34d2e7f96f29c71d527
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
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
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
d325833e9248c05305b1edabb1d8efc827803f75 19-Aug-2014 Jing Zhao <zhaojing@motorola.com> VoLTE incoming call number

Set incoming call number in OIR to be shown to user

Bug: 17032453
Change-Id: Iceadb0f537fb35f685cbcf8279ccef7d86036600
nternal/telephony/imsphone/ImsPhoneConnection.java
1dabad60010f426c6c9abdb70efe3c7f82659bee 21-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Handle case when switching phones." into lmp-dev
26d5dc925c83f2816604a3581c9d89bf86ac804e 21-Aug-2014 John Huang <jsh@google.com> Merge "Add page info in each segment if carrier does not support EMS." into lmp-dev
4a4195a11b125e56e25117e92c4c92543b14a5cb 21-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Handle case when switching phones.

If the DC exits the mApnContexts may be set to null - handle that case
and don't crash. We had nothing left to do anyway.

bug:17172374
Change-Id: I365c7903e91b9f7f6e95e23761ae57d138d57c0d
nternal/telephony/dataconnection/DataConnection.java
63557e1b0b2db98d0430e72a83b996893a1f50f1 21-Aug-2014 Wink Saville <wink@google.com> Merge "Protect getPhone and getPhones APIs with a lock" into lmp-dev
6f5e6b5b4374d834734894d687dea58724b6c0b0 14-Aug-2014 Naveen Kalla <nkalla@codeaurora.org> Protect getPhone and getPhones APIs with a lock

Remove check for sLooper and protect sProxyPhone and sProxyPhones
with a lock

Change-Id: I1217f89b2b94f3db96c59e0619cf676f619fc90a
nternal/telephony/PhoneFactory.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
nternal/telephony/BaseCommands.java
nternal/telephony/CommandsInterface.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/RIL.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/imsphone/ImsPhoneCommandInterface.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
054702be1e6900b20d825b24f34a4387572c2321 19-Aug-2014 Amit Mahajan <amitmahajan@google.com> Adding APIs to get IMEI/MEID

Change-Id: I553b7c019b20a64ff1049f35b0e3999ab82b7cce
nternal/telephony/PhoneSubInfo.java
nternal/telephony/PhoneSubInfoController.java
nternal/telephony/PhoneSubInfoProxy.java
nternal/telephony/cdma/CDMAPhone.java
75e63fd850839856400ce41f5daa56819e09de39 21-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Allow overriding Telephony tcp buffer sizes." into lmp-dev
d14733be2ce1783c0947b713733a33d98b25102d 21-Aug-2014 Amit Mahajan <amitmahajan@google.com> Merge "Adding APIs to get IMEI/MEID" into lmp-dev
8fa68fc28795817ce90fdf2a09b859a2d8453ffb 18-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Allow overriding Telephony tcp buffer sizes.

bug:16549611
Change-Id: Id2504b3f91d54eab459be11b61027394ea5dd80e
nternal/telephony/dataconnection/DataConnection.java
3e0dd6a897acb42e665b429dcd6ae67f19d76063 03-Jan-2014 MUDUMBA ANANTH <ananthm@broadcom.com> Fixed AT+CHUP issue in the case of a waiting call

> Update GsmCallTracker.java, to not auto-answer
waiting call on terminating an active call.

Bug: 16900298
Change-Id: Idfd64c18cec55f60b929bd1a538a1b557b692490
nternal/telephony/gsm/GsmCallTracker.java
8777445caf72f1803f40698665c37c626269deb8 19-Aug-2014 Shishir Agrawal <shishir@google.com> Merge "UiccCarrierPrivilegeRules: Set state error on incorrect response from UICC." into lmp-dev
6b124af0591ae94db3b57203deec76adfc800d81 20-Aug-2014 Shishir Agrawal <shishir@google.com> Merge "Adding loggin to InboundSmsHandler." into lmp-dev
4cab4152bd6d47059e4d7cb352b5f5add938c318 20-Aug-2014 Shishir Agrawal <shishir@google.com> Adding loggin to InboundSmsHandler.

To be able to detect crashes due to improper state transitions.

Bug: 17058511
Change-Id: I2893d7c1a5f4afaa77cd10429fb4a8738f79b980
nternal/telephony/InboundSmsHandler.java
284fb669478713333afe8ad2af329e4a6497911d 19-Aug-2014 Etan Cohen <etancohen@google.com> Enable VoLTE/VT with overlay overrides.

This reverts commit 24b1f38ee9ef3da624dde258da170c54649bf89b.

Bug: 17134661
Change-Id: I7c021017b257a221ca98c07c539b0c6d227ce1da
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
ba891ddf2edcaa23c1f1d8a5a17cb508b8593d74 19-Aug-2014 Shishir Agrawal <shishir@google.com> Merge "Fix possible NPE in SIMRecords and IccSmsInterfaceManager." into lmp-dev
f3166841bf9df142e2fbd63b7647bae7da712044 15-Jul-2014 Xia Ying <yingxia@motorola.com> Add page info in each segment if carrier does not support EMS.

If EMS is not supported, framework breaks down EMS into single segment
SMS and adds page info " x/y".

In the case of UCS2 encoding type, we need 8 bytes for this, but we
only have 6 bytes from UDH, so truncate the limit for each segment by
2 bytes (1 char).

Change-Id: Ie4f7e233155ce392c14ae75946c9d62d4897013c
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/cdma/sms/BearerData.java
nternal/telephony/gsm/SmsMessage.java
68515b655255005f653aec29e9f152412514982a 18-Aug-2014 Shishir Agrawal <shishir@google.com> Fix possible NPE in SIMRecords and IccSmsInterfaceManager.

Bug: 17108041

Change-Id: I2df5cb777d27b669f6b3ae7ad9d853a951270fcd
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/uicc/SIMRecords.java
27176514b825175a0f402fe7fc2eb4e281ce8bdd 07-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Set the tcp buffer sizes based on RAT.

Replicates the behavior from KK and before.
Also fixes the use of TelephonyManager constants instead
of RIL constants when setting bandwidth number.

bug: 16549611
Change-Id: I44cbd24974f1eaa0ac0c6a2310afb2e23ee94c8c
nternal/telephony/dataconnection/DataConnection.java
0cda861274cf2f5590eb25bbf15c927c647cdb2e 20-Aug-2014 Amit Mahajan <amitmahajan@google.com> Merge "Consider default subId during initialization of subscription controller" into lmp-dev
374fb1f013fcddac3421720a7f2123e8f025c52a 19-Aug-2014 Hyejin Kim <hyejin.kim@lge.com> Consider default subId during initialization of subscription controller

Bug: 16445210, 16966396
Change-Id: I1d9cdc1d070af532ae25d10d8f7d5240bb272623
nternal/telephony/SubscriptionController.java
24b1f38ee9ef3da624dde258da170c54649bf89b 16-Aug-2014 Etan Cohen <etancohen@google.com> Force IMS disable.

Work-around - needed until VZN provisioning code enabled.

Change-Id: I5c276d8da9d506ead3985c2e9c8a1b85854675df
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.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
nternal/telephony/RIL.java
nternal/telephony/dataconnection/ApnSetting.java
nternal/telephony/dataconnection/DataCallResponse.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcTracker.java
c862ea7172855fa77cece249e90cbe9a7056e4d5 15-Aug-2014 Vinit Deshpande <vinitd@google.com> Merge "Enable EAP-SIM end-to-end" into lmp-dev
e2aa4828ce7a944d74da5cbb3094bfc05e07eff9 14-Aug-2014 Etan Cohen <etancohen@google.com> IMS default state hard-coded value replaced with reference to a defined constant.

Allows changing defaults from single definition.

Change-Id: I9b46fde36dcabc3a980a2ef8be305ed3f7fe362e
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
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
nternal/telephony/PhoneSubInfo.java
nternal/telephony/RIL.java
nternal/telephony/uicc/IccRecords.java
279ace857d85b3409515983e0f62d127351594d8 14-Aug-2014 Shishir Agrawal <shishir@google.com> UiccCarrierPrivilegeRules: Set state error on incorrect response from UICC.

Bug: 17033027

Change-Id: I9f6c32525172a47b217246b187b18ed77233221b
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
80bc1e5a6f0bd91b886351997b797e01732c1c67 09-Aug-2014 Jing Zhao <zhaojing@motorola.com> Use proper IccRecords in CDMALTEPhone to get mccmnc and update CURRENT carrier.

Set SimRecords and IsimUiccRecords for CDMALTEPhone.
Get operator numeric by calling corresponding method of different IccRecords.

Bug: 16890364
Bug: 16190353

Change-Id: I9a3c74e1ed811cdb99d69daf6985b8e42fdb699d
nternal/telephony/cdma/CDMALTEPhone.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
nternal/telephony/CommandsInterface.java
nternal/telephony/RIL.java
nternal/telephony/dataconnection/ApnSetting.java
nternal/telephony/dataconnection/DataProfile.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/imsphone/ImsPhoneCommandInterface.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
77c77080eaf88cfc55eb16bff6fd2788817a6896 13-Aug-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS:fix phone crash caused by null pointer access.

Change-Id: Ie98a8fcfa3488f9cce0a09c358e9f2297c7f5a42
nternal/telephony/imsphone/ImsPhoneCall.java
nternal/telephony/imsphone/ImsPhoneCallTracker.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
nternal/telephony/CallManager.java
nternal/telephony/Connection.java
nternal/telephony/PhoneBase.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
7c010881cd7dca51c1e5808a7930d8176a058307 12-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Add null-check when setting up ImsVideoCallProviderWrapper." into lmp-dev
7ea29fc7651195bbaf67028413278898a898ac00 12-Aug-2014 Tyler Gunn <tgunn@google.com> Add null-check when setting up ImsVideoCallProviderWrapper.

Bug: 16886403
Change-Id: I55b996fc3ef1ef37310565984eef3ae993844b9d
nternal/telephony/imsphone/ImsPhoneCallTracker.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
nternal/telephony/CommandsInterface.java
nternal/telephony/RIL.java
nternal/telephony/dataconnection/ApnSetting.java
nternal/telephony/dataconnection/DataProfile.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/imsphone/ImsPhoneCommandInterface.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
8071f9cde13df71af0c4c8b3810d24740279da9a 12-Aug-2014 Junda Liu <junda@google.com> Merge "Skip unknown tags in parsing." into lmp-dev
f4b74430a8c22ab58c3fbbd6c9e7a594514a8615 10-Aug-2014 Hui Wang <huiwang@motorola.com> add apn setting parameters, and set apn parameters to bp

Change-Id: I395b499eb0730894620614b3261bb6a784d53f46
nternal/telephony/CommandsInterface.java
nternal/telephony/RIL.java
nternal/telephony/dataconnection/ApnSetting.java
nternal/telephony/dataconnection/DataProfile.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/imsphone/ImsPhoneCommandInterface.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
530036ca1f522f477c438466c0577aad38c74d03 11-Aug-2014 Etan Cohen <etancohen@google.com> Replace configuration used to control IMS MO calls with official config

Use Enhanced 4G LTE Mode configuration to control MO. Replaces a temporary
Radio Info debug settings. Will most likely be enhanced by actual information
about feature provisioning (or registration).

Change-Id: I20e86bbbb2c881f62db75bf2f24498ab06a58f4d
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
48bb3adb8f9680977abeee15451c1898f97506bb 11-Aug-2014 Wink Saville <wink@google.com> Merge "CatService: Correct Open Channel handling." into lmp-dev
f2d28790a3f02c337d10592aa390cc8d4c75e978 11-Aug-2014 Ajay Dudani <adudani@codeaurora.org> CatService: Correct Open Channel handling.

STK open channel command requests are communicated to the
telephony framework via an UNSOL_STK_EVENT_NOTIFY followed by
UNSOL_STK_CALL_SETUP pair of RIL messages.

This communication is distinct from a proactive command
since the card is only looking to notify the framework
of an action that the modem will handle on its own.

Thus, we need to adjust the conditional block properly to
catch this situation and send the appropriate response
back to RIL.

bug: 16850377
Change-Id: If29911d9b1d0d6c6b1213abc644fff57cf3d7398
nternal/telephony/cat/CatService.java
d6af58685ba97539b9c3b4b21aaf89d115405f3a 11-Aug-2014 Amith Yamasani <yamasani@google.com> Merge "Make SmsApplication handle multiple users" into lmp-dev
a2ce002a0327f0deb079cc6acad1c493e6ded442 05-Aug-2014 Amith Yamasani <yamasani@google.com> Make SmsApplication handle multiple users

Assume that there's one default app per user. Apps should be able
to register as the default app for even secondary users.
Read and write to the correct settings db.

Deliver DELIVER broadcast to primary user.
Deliver RECEIVED broadcast to all permitted and currently
running users.

Bug: 16681533
Change-Id: I08cf5318f267a8c55ac427ac2c3573b4319b5193
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SmsApplication.java
nternal/telephony/WapPushOverSms.java
f9a248ba28469d55ea75f032a9cc7e2f55c16c9f 09-Aug-2014 Etan Cohen <etancohen@google.com> Do not reset IMS Phone status when containing phone RADIO_ON event received.

Change-Id: Ied7658fb4f6652e471430afc9bb892162beaa222
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
32bbe4213fc554ebf00553cd9935d17fe7530aa1 07-Aug-2014 Junda Liu <junda@google.com> Skip unknown tags in parsing.

Bug: b/16650010

Change-Id: I3b52d6201e4eb20096c2724103fd1463e0d9b908
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
e883df6630ac9e6e27c69042bae9027268c6da83 08-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Wiring HD audio call capability reporting. (1/2)" into lmp-dev
7fa8ac39602ee9841dfcb0fb5c5f4d401925f8b5 08-Aug-2014 Tyler Gunn <tgunn@google.com> Wiring HD audio call capability reporting. (1/2)

- Modified ImsPhoneConnection to get the current audio quality from the
ImsStreamMediaProfile, mapping to an internal audio quality of standard
or high definition.
- Added listener to report audio quality changes.

Bug: 15987281
Change-Id: If24a14f8f3d79934229460dcac8eb0068a08466a
nternal/telephony/Connection.java
nternal/telephony/imsphone/ImsPhoneConnection.java
ea8cb63201520592011a92849ad3661d22776c87 08-Aug-2014 Andrew Lee <anwlee@google.com> Set VideoCallProvider on IMS connections.

Bug: 16886403
Change-Id: I912807f4dc7fce5b80c642d6275f3ad04af498e2
nternal/telephony/imsphone/ImsPhoneCallTracker.java
4d20c5a165ec548d68ad637776e98d1c05fc5493 08-Aug-2014 Shishir Agrawal <shishir@google.com> Merge "Fix operator brand override." into lmp-dev
9b0a3372e511d97bc57fd5a9e01f9d189871af04 07-Aug-2014 Etan Cohen <etancohen@google.com> Add Ut COLP/COLR success/error message display.

Change-Id: Ied4f836aabc616de9573c94ae7b49ff65c67b032
nternal/telephony/imsphone/ImsPhoneMmiCode.java
19658b53263850aaeb414760559dff099c06f9ff 06-Aug-2014 Santos Cordon <santoscordon@google.com> Remove audio handling from telephony. (2/2)

Bug: 16175960
Change-Id: Id4ec9963f559b4cd1870c18b91521afca8d8f153
nternal/telephony/CallManager.java
be6c87905a15d1e36e87189ad7df5d5a72a52f69 07-Aug-2014 Shishir Agrawal <shishir@google.com> Fix operator brand override.

1. Do not override operator name with ERI if brand override is set.
2. Do not use the SPN display condition in SIMRecords if operator brand
override is set.

BUG: 16705961
Change-Id: Id2580e4a23c6aca57a590cf4f4cf8df4d93ec14f
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/uicc/SIMRecords.java
4958c93a4c2c38952071ff57a40166f2f83492e6 06-Aug-2014 Shishir Agrawal <shishir@google.com> Merge "UiccCarrierPrivilegeRules: Changing the APDU commands to match the GP spec." into lmp-dev
0f225e34000a84890101a7c48a1d4f86e7d60c37 06-Aug-2014 Wink Saville <wink@google.com> Merge "Pass cdma phone object to CellBroadcastHandler" into lmp-dev
fce951e90d421ba2ab3da3f64d0f5192ab769e22 29-Jul-2014 Sukanya Rajkhowa <srajkh@codeaurora.org> Pass cdma phone object to CellBroadcastHandler

Cdma phone object needs to be passed to create a CellBroadcastHandler
associated with that phone object. Otherwise it will result in a null
pointer crash

Change-Id: I9cdec874b1c1d26da452f6d25ee96c2c97621678
nternal/telephony/CellBroadcastHandler.java
nternal/telephony/cdma/CdmaInboundSmsHandler.java
30b5eec903ba5c6db94f3116c4c9dc6b63ebcefd 02-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Return active phone's IMS phone object properly.

Change-Id: I6577a46a177dd7b2f75b89aaf9ac55f848756754
nternal/telephony/PhoneProxy.java
nternal/telephony/TelephonyCapabilities.java
7b122b5ef07eca751ca8b6938562737d6e3de2c8 05-Aug-2014 Shishir Agrawal <shishir@google.com> UiccCarrierPrivilegeRules: Changing the APDU commands to match the GP spec.

The commands currently match the get binary command. We want to use the get
data command instead.

Change-Id: I762311cdbd983dfc5038593edfa4c4607be7eb10
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
01b334cc4f2538287f5c64b3ea8d2d9c6ee77772 24-Jun-2014 Shriram Ganesh <sganesh@codeaurora.org> IMS MMI Support For CLIR/P, COLR/P & Call Barring.

Adding MMI code support for CLIR/P, COLR/P
supplementary services. Services that are not
supported through ImsPhone/UI, go through the UT
interface directly.

Change-Id: Ibfdeaf775ec5ccf792ed1f0ba273597678e748c2
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/imsphone/ImsPhoneMmiCode.java
04e36a78936967df68d9175ac09dd3f087727888 01-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Add ECBM functionality for IMS

Code for adding ECBM functionality for IMS.

Change-Id: I2833c81baf0a55a18ac6433c47fd76bad7cf0ec9
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
a89314bcc94c43512299131609feea0c2c8167cf 01-Aug-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS:incoming call drops due to MT call intent delivery too late.

Change-Id: I9f0e8f3ac2bdaf7bff9d1a198f3b134386bf6d69
nternal/telephony/imsphone/ImsPhoneCallTracker.java
8c3879362ce5a7a7c8151ec415e4d394812df357 02-Aug-2014 Etan Cohen <etancohen@google.com> Added debug system property to enable/disable IMS VoLTE/VT

If property is 0: IMS VoLTE isn't used.
If property is 1 then IMS VoLTE is used if provisioned, registered etc.

Action on property missing defined by defined constant.

Change-Id: If526c27b422811afe7b72283ee5e89555a313559
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.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
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/imsphone/ImsPhoneBase.java
23d8b69efc4127555f6aa7eb97d5e58b8c75826a 01-Aug-2014 Wink Saville <wink@google.com> Merge "Turn off extra debugging." into lmp-dev
d2c79d28884203ad4f13ebdf443b3899d56b93d6 01-Aug-2014 Wink Saville <wink@google.com> Turn off extra debugging.

Change-Id: I768654652cf8d97a718af99dc21f0caf73c89b22
nternal/telephony/DefaultPhoneNotifier.java
49754105adf232419410cfca7507aa63a9d05e3b 01-Aug-2014 Ye Wen <ywen@google.com> Need to clear Binder calling identity when query SmsProvider

Change-Id: I446050c039a2663ff77a9d2a8a9b5373956ee954
nternal/telephony/IccSmsInterfaceManager.java
1bd8ccb365914082400ccbeb0d68cff45d8674f5 31-Jul-2014 Shishir Agrawal <shishir@google.com> Merge "For long SMS pass SMS header concat ref details to the carrier app." into lmp-dev
78d39a9fab86a26f4f39585af5cfe2a07c756fce 30-Jul-2014 Shishir Agrawal <shishir@google.com> For long SMS pass SMS header concat ref details to the carrier app.

For Long SMS, either all the SMSes need to be sent by the carrier app or none.
To do this the carrier app needs to know information about the segmentation of
the message.

BUG: 16653081

Change-Id: I659ceafcbf93b3a88405174d4503b9eb30ad2764
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
6dc23862ef345df2acd3ab36a432292d264d6a73 28-Jul-2014 Ye Wen <ywen@google.com> MmsService always has WRITE_SMS AppOps permission (1/2)

Use the same mechanism as phone app to grant MmsService write access to
Sms/Mms providers.

Change-Id: I38a0a67b75a4c3069259ce7284acca295dbd3e28
nternal/telephony/SmsApplication.java
3a8f9358a827c2be7f33b62d435894906d4874de 29-Jul-2014 Tyler Gunn <tgunn@google.com> Retrieving local video capabilities on creation of ImsPhoneConnection.

Bug: 16238919
Change-Id: I5239525280a89ec74bb8950e3891241fb2ae0138
nternal/telephony/imsphone/ImsPhoneConnection.java
d14f07c6ef8ca062b898fbcc1016c2b264f843da 31-Jul-2014 Shishir Agrawal <shishir@google.com> Merge "Add new APIs iccExchangeSimIO and iccTransmitApduBasicChannel to TelephonyManager." into lmp-dev
e3ea8115b0d558f6c6b57b201885948f4309e5c0 30-Jul-2014 Shishir Agrawal <shishir@google.com> Add new APIs iccExchangeSimIO and iccTransmitApduBasicChannel to TelephonyManager.

The new APIs are needed to support SEEK.

Also modifies TelephonyManager.iccOpenLogicalChannel to return the status of
the command.

Change-Id: Iff2674fb0e23210f2579cb883e64571347ade5e6
nternal/telephony/uicc/UiccCard.java
dd888337294b0d6b6b0d47b6b1f081a58879caf4 25-Jul-2014 Amit Mahajan <amitmahajan@google.com> Merge "Code cleanup - removed unused functions in ProxyController.java" into lmp-dev
04e6542097e92b08aafaef1e81d87d74dfaaf2f7 25-Jul-2014 Amit Mahajan <amitmahajan@google.com> Code cleanup - removed unused functions in ProxyController.java

Change-Id: Ia928ee44edbcf5b208bc4d60c83d593df4ad8e7f
nternal/telephony/ProxyController.java
c695bcb2b387949a7e2b264523e570c9c242585f 24-Jul-2014 Andrew Lee <anwlee@google.com> Change telephony's connection to use VideoCallProvider.

Bug: 16494880
Change-Id: I10fa3b2e4e2b78b3fabeaf238dae5af963abff02
nternal/telephony/Connection.java
3317b0381e9b73176a7f139ce01c4414ef648382 25-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Notify the world when our LinkProperties change." into lmp-dev
d781fb47e89bb978bae989d96928851c1197c7d2 25-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Notify the world when our LinkProperties change.

Change-Id: I19485346f0941e58c41ebdf5525a36f38800d081
nternal/telephony/dataconnection/DataConnection.java
c3560fc7f727ab0fdc5904a2634c4b59d50c89ec 30-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix DUN based Tethering." into lmp-dev
3ae69aa0ef2e02f140a2229e6a31cfd291528295 30-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Fix DUN based Tethering.

Turns out there was a case issue where the DUN commonly found in the tethering
apn config (in config.xml) didn't match the dun in PhoneConstants.APN_TYPE_DUN
so the NetworkCapabilities generating code din't mark it as DUN capable.

Fixed in the APNSetting as this is constructed infrequently.

bug:16242255
Change-Id: I90504e36bf58ee9b4eb1a757e7daf4786d47a875
nternal/telephony/dataconnection/ApnSetting.java
cc6f05e35ebc6b6c3cf0772417f9ea18fe82dd89 30-Jul-2014 Amit Mahajan <amitmahajan@google.com> Merge "Change to parse DataCallResponse correctly based on version." into lmp-dev
8f19c6d717bf0e00aeb33552a570a0f60af0ce3b 30-Jul-2014 Amit Mahajan <amitmahajan@google.com> Change to parse DataCallResponse correctly based on version.

Change-Id: I9c6dfb41f074da9558f721ca0432f40edc2d4d22
nternal/telephony/RIL.java
4453a9310857b7b5292522d97af4ca6c64379524 17-Jul-2014 Xia Ying <yingxia@motorola.com> SMS 8-bit GSM characters decoding support

Support decoding the user data payload as pack GSM 8-bit (a GSM alphabet
string that's stored in 8-bit unpacked format) characters.

Change-Id: Iab92006db5cb218515b86dcfe65938c04e55620c
nternal/telephony/gsm/SmsMessage.java
284caa8d863983aaacdd56a35a5e7c348f2e3339 29-Jul-2014 Amit Mahajan <amitmahajan@google.com> Merge "Enable eri.xml config by mcc mnc" into lmp-dev
7e44066c8710dc1867318f0a4ec6a900232fcd4c 23-Jul-2014 Jing Zhao <zhaojing@motorola.com> Enable eri.xml config by mcc mnc

reload eri definations after Icc records loaded.

Change-Id: I4527acb1f4fb5516bf3a85955b86dfb11e0c99f2
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
de49a50c041b5d3c1423c4c2d04e3bab9db4372c 23-Jul-2014 Jing Zhao <zhaojing@motorola.com> Enable config CDMA home system by mcc mnc

CDMA home system is different between carriers.
Need to config it by carriers' mcc mnc

Change-Id: Ie10d838173df3095238c50d419bd9de589e34e55
nternal/telephony/cdma/CdmaServiceStateTracker.java
2998e6c108581ca535e8a3dd6b9c369d4963504f 28-Jul-2014 Amit Mahajan <amitmahajan@google.com> Merge "Try decoding SPN to readable string" into lmp-dev
6afbd402eab6fcfd2ce896f87ef8bb5a4be85374 25-Jul-2014 Andrew Lee <anwlee@google.com> Update references while moving VideoCallProvider.

Bug: 16494880
Change-Id: I06326d06968e9fc54cd901c2ec0b426e24d02e6e
nternal/telephony/Connection.java
b5d27d8e567ef835e961548b144cdad95d2361de 24-Jul-2014 Jing Zhao <zhaojing@motorola.com> Try decoding SPN to readable string

Some SIM has SPN programmed in different scheme.
Try ENCODING_GSM_7BIT_ALPHABET if it's not readable.

Change-Id: I23637b60c44ba4f15ec2a41f09b70aa746e8fe17
nternal/telephony/uicc/RuimRecords.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
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
ec2f10950977690648afed1ead46502257e529b6 29-Jul-2014 Andrew Lee <anwlee@google.com> Merge "Update VideoState references." into lmp-dev
eb37adebf70275a8d8e5f2478637a66a44e71de8 28-Jul-2014 Andrew Lee <anwlee@google.com> Update VideoState references.

Bug: 16629892
Change-Id: I243b304d5b61ed530b965eab2abb9bfbd02893d5
nternal/telephony/CallManager.java
nternal/telephony/PhoneBase.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
0c2d5634a94785cde6aa1950c531c8a906ff4151 29-Jul-2014 Amit Mahajan <amitmahajan@google.com> Merge "Removed partner copyright comment from an AOSP file." into lmp-dev
0abfa4d97e46e04da4c195cf8abe902cf623f0cc 29-Jul-2014 Amit Mahajan <amitmahajan@google.com> Removed partner copyright comment from an AOSP file.

Based on request from the partner.

Change-Id: I50b7776fab28537e9f010b1e299e2122d40a858d
nternal/telephony/cdma/sms/CdmaSmsSubaddress.java
a608f336ee3090c8066fc3aaf0ce510bca0e5745 24-Jul-2014 Wink Saville <wink@google.com> Merge "When a SIM is removed NPE's can occur." into lmp-dev
687d9ff95671d3b4a62ddd6fed3e43eebdbbe3cb 24-Jul-2014 Wink Saville <wink@google.com> When a SIM is removed NPE's can occur.

Make getServiceProviderName, onIccRefreshInit and
getIccSimChallengeResponse methods resilient to card
removal by adding null pointer checks.

Change-Id: I9e95914d80ef494045deedc673f4d65848114209
nternal/telephony/uicc/IccRecords.java
76f43316a5a6082d601bffd4b6898d0bd81e11fc 17-Jul-2014 ram <ram.pl@samsung.com> IMS: Adding emergency PDN handling for no sim case.
(Changes already reviewed on klp-wireless-dev with CL 171814)

Change-Id: I732ad4ec350256478bb2ac974722f3b9cbd0e483
Signed-off-by: ram <ram.pl@samsung.com>
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.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>
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
7f1a3f0ab65c144fde56e1246c5747b0c555034a 23-Jul-2014 Shishir Agrawal <shishir@google.com> UiccCarrierPrivilegeRules: changing getCarrierPackageNamesForBroadcastIntent to return a list.

Currently it returns the first matching package name. Now it will return a
list of all matching packages.

Change-Id: Icc0fc728e1e24235632ac38a482b06a7b829de78
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCarrierPrivilegeRules.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
nternal/telephony/MccTable.java
nternal/telephony/PhoneBase.java
0cdae27a3afaf241764dc3a03bfff6ed012656db 14-Jul-2014 Narayan Kamath <narayan@google.com> Don't use substring matching on locales.

We can't assume that all languages will be 2 chars in length.
Language matching will need to parse the language subtag from
the locale, else we might end up matching a languages like
"fi" (finnish) to "fil" (filipino).

bug: 10090157

(cherry picked from commit f72d7c26c8f2895a1b32b60a7a106628fdc99d2c)

Change-Id: I7139ddc99dd7d71f82ecb2c1e77af077b659a5a5
nternal/telephony/uicc/RuimRecords.java
a0c22039b77054d659151537896c1db90c7057f7 22-Jul-2014 Shishir Agrawal <shishir@google.com> Make SMS outbound over carrier app work in airplane mode over WIFI.

Also fixes a security bug where an outbound message could be delivered to any
app, not just the carrier app for delivery.

Change-Id: Ic395b9340d88e5f00e38636f821bb5e2da89cddf
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
016f5aaf01fa8fcb9b0e1d4678de469893a91548 22-Jul-2014 Tyler Gunn <tgunn@google.com> Merge "Various IMS changes. (1/2)" into lmp-dev
951b6a916c88ba25064bf4c7777eafdf86bc4622 22-Jul-2014 Shishir Agrawal <shishir@google.com> NPE fix in InboundSmsHandler.

Bug: 16445149

Change-Id: I79cd51d39442fe27ff07b58d04ab35c00a6dacb2
nternal/telephony/InboundSmsHandler.java
a9552aa6bf3ce12c75ad43165034d9a1233fb131 21-Jul-2014 Shishir Agrawal <shishir@google.com> CarrierApp: Do not send broadcast if there is no carrier app.

Avoids an unnecessary broadcast.

Also fixes an NPE bug.

BUG=16454767
Change-Id: Idc8bff4c7a35b7ea0bb7446cd74515cf1675868d
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
2999afbcfeab69bf7473e1b9bcabb1c9c6935b19 21-Jul-2014 Tyler Gunn <tgunn@google.com> Various IMS changes. (1/2)

1. Passing through videoState to acceptCall in ImsPhone and below.
2. Fixing issue in GSMPhone where IMS calls are always dialed as
audio.
3. Adding setter on android.internal.telephony.Connection for
call video provider and passing through to telecomm.Connection

Bug: 15893156
Change-Id: Id7a53807873add408d59452e1b79cfa748f972e8
nternal/telephony/Connection.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
nternal/telephony/imsphone/ImsPhoneConnection.java
e1ee2bd66189f70a127fa6d6c95750cbe655e227 19-Jul-2014 Shishir Agrawal <shishir@google.com> Merge "Adding the ability for carrier app to override SPN and carrier name." into lmp-dev
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
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCardApplication.java
6d43019ef713376e38653a91b9f0b398d8315e62 18-Jul-2014 Amit Mahajan <amitmahajan@google.com> Merge "Changes to add new parameter for Sim Authenticate" into lmp-dev
ce083ae9d277bea9fbc1c143766adf1013f4a50e 02-Jul-2014 Amit Mahajan <amitmahajan@google.com> Changes to add new parameter for Sim Authenticate

Change-Id: I393c18f878fe3e5efcd81543a9a38a4c353b6e03
nternal/telephony/CommandsInterface.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/RIL.java
nternal/telephony/imsphone/ImsPhoneCommandInterface.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/UiccCardApplication.java
6d05f561549a66b597a5119665ccc3bf8a962d16 16-Jul-2014 Andrew Lee <anwlee@google.com> Include video state when accepting call on phone.

Bug: 16013878
Bug: 16015750
Change-Id: Iae14ea443394fe0c805cb0a9dfc01dcb600cff70
nternal/telephony/CallManager.java
nternal/telephony/Phone.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/sip/SipPhone.java
e5b5f10d2d09f62c265381cab0816edfbdf566f0 17-Jul-2014 Junda Liu <junda@google.com> Add urls for spec and update AID to be spec compliant.

Change-Id: I79580c8e510a8424b64436d8e6c57a8a3cc7fb1d
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
d8580022df83bcdf0fe5016b40a65df4ed61acd4 18-Jul-2014 Tyler Gunn <tgunn@google.com> Merge "Adding videoState to telephony connections." into lmp-dev
5d0d72d9b7dc34c93303f6732541bbb74fed53da 18-Jul-2014 Etan Cohen <etancohen@google.com> Add support for incoming calls on voice phone

Change-Id: I85775776427ead1482ea88683a755451e76f97c1

Conflicts:
src/java/com/android/internal/telephony/cdma/CDMAPhone.java
src/java/com/android/internal/telephony/gsm/GSMPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhoneBase.java
nternal/telephony/imsphone/ImsPhoneCall.java
64e62340aae85179a6468ccac4a401900eb4dc2f 18-Jul-2014 Tyler Gunn <tgunn@google.com> Adding videoState to telephony connections.

- Modify base telephony Connection to include abstract getVideoState
method.
- Override in CDMA, SIP, GSM connections to return AUDIO-ONLY.
- Override in ImsPhoneConnection to map from ImsCallProfile to
VideoCallProfile vidoe states.

Bug: 16285417
Change-Id: Icdf9ea3ae21475964f454ca4c92ab54791cb86aa
nternal/telephony/Connection.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
nternal/telephony/imsphone/ImsPhoneConnection.java
e516ffdc3d0df119679e738c92edfb6f3d024e5b 16-Jul-2014 Sailesh Nepal <sail@google.com> Merge "Move TtyIntent.java from telephony to telecomm" into lmp-dev
578935aec0c993035175ffe5516e336073574282 16-Jul-2014 Sailesh Nepal <sail@google.com> Move TtyIntent.java from telephony to telecomm

Moved TtyIntent constants to
android.telecomm.TelecommConstants.

Change-Id: I652b095af30cc2732a06829dc23492e5355660da
nternal/telephony/cdma/TtyIntent.java
b940944bb05346a9a3363a69c8f84ae54ca4b1ac 16-Jul-2014 Junda Liu <junda@google.com> Merge "Fix UICC rule parsing." into lmp-dev
004868eb3f91b06ef7e86b511bbb7b354036834a 11-Jul-2014 Junda Liu <junda@google.com> Fix UICC rule parsing.

Change-Id: I2fb81efba9fb749a23ee6fe59a24118782f502fc
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
f1aeeb51f2c62420012122e0ccc75b3940c570e4 15-Jul-2014 Ye Wen <ywen@google.com> Messaging auto persist switch (2/4)

b/14095333

Change-Id: I9dccdadd72d951d86f83cb7adea9b2f09fad08ce
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/SmsApplication.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
87cf0a2ee4c4c1e3b34529210d15b69c74cc1ed3 16-Jul-2014 Shishir Agrawal <shishir@google.com> Merge "Protecting messagings APIs for carrier access." into lmp-dev
c9394399180abbc32d04f6a3652ce22d5931e0b8 14-Jul-2014 Shishir Agrawal <shishir@google.com> Protecting messagings APIs for carrier access.

APIs protected by this CL:
- SMS injection.
- SMS filtering.
- SMS outbound broadcast.
- SMS outbound broadcast result.

Also moved much of the carrier checking logic from PhoneInterfaceManager to
the UiccCarrierPrivilegeRules for reusability.

BUG=15993876

Change-Id: I8309a1de23426dcc66a10383335cff9242920410
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCarrierPrivilegeRules.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
nternal/telephony/PhoneBase.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
ebb556865dc92339fabae293c587c7f84f45d61a 13-Jul-2014 Wink Saville <wink@google.com> Merge "Don't display prompt when card inserted/removed"
eca4a2ab310bf8d96cf98b5e880e2f8eef7ffeb6 14-Feb-2013 Sandeep Gutta <sangutta@codeaurora.org> STK: Handle ICC refresh and card removal, and hotswap fix

--- Register for ICC refresh and let CatService's clients know when
an ICC refresh occurs.

Monitor card status. When card status moves to absent/present let
clients know.

Don't dispose CatService based on the number of applications.
Instead dispose it when UiccCard goes away

This helps avoid the race condition in the following scenario:
1. Radio is on and card is present
2. Turn Radio Off
3. Turn Radio On
4. Proactive command received

If CatService was disposed when card goes away on radio off
then it is possible for the unsol proactive command to be received
before Catservice is up and running on radio on.

--- Dispose objects properly for hotswap

During hotswap, CatService object is disposed and new object
is created. However RilMessageDecoder still holds reference to
old object of CatService, and hence sends decoded command
to old object of CatService leading to stk failure. In this fix
below objects are disposed properly when CatService is disposed.

1) RilMessageDecoder
2) CommandParamsFactory
3) IconLoader

Change-Id: Iee4ab009a0f9708a1ee2d87460e60765e46b4229
nternal/telephony/cat/AppInterface.java
nternal/telephony/cat/CatService.java
nternal/telephony/cat/CommandParamsFactory.java
nternal/telephony/cat/IconLoader.java
nternal/telephony/cat/RilMessageDecoder.java
279e924fe355bf31c526be4d6578816ad08f0ae5 17-Jul-2013 Sandeep Gutta <sangutta@codeaurora.org> Don't display prompt when card inserted/removed

UiccCard displays a prompt to reboot the device when a card is
inserted or removed. Don't display this if the modem supports
hot swapping.

Change-Id: I43fc95e61382671f61286818304ec58e922e8605
(cherry picked from commit b056d5fcf4e5181e3d5098ac4000dc6d7e9aabf9)
(cherry picked from commit a7e8c9a6397b52c8f1b618d734a1762befae4cb7)
(cherry picked from commit 80a5464ba1af1cb9772cc932a418bf063245a1c4)
nternal/telephony/uicc/UiccCard.java
b29851580bba4a13ddbf7a534d8b09295eb2c60f 10-Jul-2014 Ye Wen <ywen@google.com> New SMS and MMS APIs and semantics (2/4)

1. Rest of the new SMS and MMS APIs
2. Auto persisting MMS WAP Push
3. Partial multi-sim support
4. New SMS/MMS database columns: archived and creator
5. Record message creator
6. Mms config access APIs

b/14095333

Change-Id: Idb0ab75384b2c949f1a6ebe8f1c33e90a06a4d9b
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/UiccSmsController.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
cafda9904d2804959d51697cdc63a185e687cb98 12-Jul-2014 Colin Cross <ccross@google.com> Revert "New SMS and MMS APIs and semantics (2/4)"

This reverts commit c5f9236283882b8e08390ac52e5b1fab2d3bc2fb.

Change-Id: I9585dabfc31611e68718859ea509b8f52535d9b5
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/UiccSmsController.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
c5f9236283882b8e08390ac52e5b1fab2d3bc2fb 10-Jul-2014 Ye Wen <ywen@google.com> New SMS and MMS APIs and semantics (2/4)

1. Rest of the new SMS and MMS APIs
2. Auto persisting MMS WAP Push
3. Partial multi-sim support
4. New SMS/MMS database columns: archived and creator
5. Record message creator
6. Mms config access APIs

b/14095333

Change-Id: I9a4261753a803f520933b643c0bac708ab9f40a9
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/UiccSmsController.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
e86a8d443e921caec2c398ef74f0b6d573a15bb1 10-Jul-2014 Sailesh Nepal <sail@google.com> Have SipPhone.canTake return a Connection

This CL changes the SipPhone method to take an incoming
call to return a Connection. This is used by the new
Telephony code to track new incoming SIP calls.

Change-Id: Ifa3e61c703100744bad3d227c52e3b7f9be4b3ca
nternal/telephony/sip/SipPhone.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
nternal/telephony/CallManager.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/imsphone/ImsPhoneBase.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
nternal/telephony/sip/SipPhone.java
nternal/telephony/sip/SipPhoneBase.java
cb104a615d1e44cf39d837c3dbcf9475a5be57eb 26-Jun-2014 Shriram Ganesh <sganesh@quicinc.com> Do not disconnect voice calls during phone object switch.

In cases like emergency call attempted in oos or IMS SRVCC
there is possibility that the phone object switch due to
RAT change can happen while a voice call is in progress.
To avoid call disconnect in such cases, do not hangup connections
while disposing CallTracker objects.

Change-Id: I890d6bcea958288eab8f557073f871820ddd3b52

Conflicts:
src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
src/java/com/android/internal/telephony/gsm/GsmCallTracker.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/gsm/GsmCallTracker.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
nternal/telephony/CallManager.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneProxy.java
nternal/telephony/VoicePhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/imsphone/ImsPhoneFactory.java
4baf17fd699249d1b387903b6db7328ad3f7b3e2 23-Jun-2014 Shishir Agrawal <shishir@google.com> SIM based carrier app privileges.

Adding support for SIM based carrier app privileges.

WIP - Missing bits:
- Notifications.
- Certificate check.

Change-Id: Ied3aa6c7d51cc0cde06f5bb58f30893d7a7b1c34
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCarrierPrivilegeRules.java
370971c25973d9d8061b76e756df2fb8c1ebd990 28-Jun-2014 Ye Wen <ywen@google.com> MMS auto persisting (2/4)

1. Added new MMS message box type for failed messages
2. Use global static flag to temporarily turn off new SMS API semantics

b/14095333

Change-Id: I150a08a4b26bba6f3a7a1d8f848fe07c8be9298b
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
cf5205f70eb1eac497164124187a088ecb03fff5 19-Jun-2014 Ram <ram.pl@samsung.com> IMS: Adding Support for Emergency APN in Telephony Framework (opt/telephony)

(NOTE: No SIM case will be covered in next patch)

Change-Id: I87e653e29674f0e4821484908f799d6b84659c72

Signed-off-by: Ram <ram.pl@samsung.com>
nternal/telephony/Phone.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/gsm/GSMPhone.java
077d04f2ca9fbf1b17302aff609aba5d1659f56b 31-May-2014 Shriram Ganesh <sganesh@quicinc.com> Allow ImsPhone to handle e911 calls

Allow ImsPhone to handle emergency calls

Change-Id: If40fb8326d165f5b1093c77982ed9747cba596ca
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.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
nternal/telephony/CallTracker.java
nternal/telephony/PhoneBase.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/imsphone/ImsPhone.java
bd4d6093314c0d2afc4b4f69f352957d01d9bc58 29-May-2014 Uma Maheswari Ramalingam <uramalin@quicinc.com> Handle CallMerge Fail scenario

Handle Call Merge Fail scenario.

Change-Id: I0042d655f781d98b5b2db568885906a3a1b1dbc8
nternal/telephony/imsphone/ImsPhoneCallTracker.java
e564f2b70ebab1390eee9b33c550fceb65837fde 01-Jul-2014 Amit Mahajan <amitmahajan@google.com> Merge "EAP-SIM RIL command name change."
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
nternal/telephony/RIL.java
145c68db12c0fba4c6e1ff67329f02f29fc683e2 24-Jun-2014 Amit Mahajan <amitmahajan@google.com> Change to make sure waiting thread is notified (removed break that was causing notifyAll() to not be called).

Change-Id: If7da41ec3c09337ed133f2136925ac562afdde34
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IsimUiccRecords.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
nternal/telephony/PhoneBase.java
nternal/telephony/SubInfoRecordUpdater.java
fce79caf5d7628cde43c5f0cd3d369673bc15212 27-Jun-2014 Ye Wen <ywen@google.com> Send persisted SMS message URI through intent

1. Sent message URI is passed via sentIntent in sending API calls
2. Received message URI is passed via SMS deliver or received intent

Change-Id: I02ffd5294e41b2f81b03f79fc008bba44cf33d9f
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
f68da23264bb06736b62e9c1b95225f6ec997ca8 26-Jun-2014 Ye Wen <ywen@google.com> Auto persist received SMS

Change-Id: I729b9eef0c77b35704e51547169700c5d3e989c5
nternal/telephony/InboundSmsHandler.java
8f816a73f5635567f10fc219d54804810a94d3f2 26-Jun-2014 Ye Wen <ywen@google.com> Merge "SMS message auto persisting for sending"
775f100b20a5c978bc07f621a4087f79b1f73e3f 25-Jun-2014 Wink Saville <wink@google.com> Fix NPE caused by null mUiccApplication.

Bug: 15712558
Change-Id: Ieb35fa69d8002286e54e6f5d8e73e057300ae94c
nternal/telephony/uicc/IccCardProxy.java
c99dab56e20222b28cbc6238645feac938f1c333 20-Jun-2014 Ye Wen <ywen@google.com> SMS message auto persisting for sending

1. Added auto persisting when sending SMS messages. This feature is
enabled by a system property to avoid breaking existing apps.
2. Removed SMSDispatcher.mRemainingMessages and added per message
sending part count for sending multipart messages.
3. Refactored code to handle message sent or failed. Fixed bug that in
some situation SendNextMsg is not sent for failures.

Change-Id: I3298b139e484f1238a5c04dcc39fa88398bba679
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
91483068442750265a04f2ea25f7f30f261be6bc 23-Jun-2014 Cheuksan Wang <edwang@google.com> fix broken build

Change-Id: I8d0268daeffe439d2fcb14df88b19318119018a5
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/UiccSmsController.java
d6bf802a1afd6dbd99b35804ec0ec565f2ac8e9e 23-Jun-2014 Cheuksan Wang <edwang@google.com> Merge "Send outbound messages via the default carrier app. Initially, the message will go into a pending state. There is a new API call to update the status of a message. If the carrier app cannot send the message, it will fall back to the default GSM/CDMA network."
8d8e8f45200d17b78d196d8cba389fd9c547ac11 21-Jun-2014 Cheuksan Wang <edwang@google.com> Send outbound messages via the default carrier app. Initially, the
message will go into a pending state. There is a new API call to
update the status of a message. If the carrier app cannot send the
message, it will fall back to the default GSM/CDMA network.

This is the same cl as 476721 which has already been approved by jsh@

Change-Id: I51d732b9cc40b371f77fd26d28e0836a466afc71
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
d498f853cb523efef7bd06629e222ea105104b11 20-Jun-2014 Ji Yang <yangji@google.com> Merge "Sorry, clicked the wrong button."
f653f91baeb35b18a47c8f80b6ca1b1361dea238 20-Jun-2014 Ji Yang <yangji@google.com> Sorry, clicked the wrong button.

Revert "Send outbound message via the default carrier app. Initially, the message will go into a pending state. There is a new API call to update the status of a message. If the carrier app cannot send the message, it will fall back to the default GSM/CDMA networ"

This reverts commit 112c36a6080b6902925d317218acc14183e29842.

Change-Id: I087672cf17551bcef438df30e97e8859e1060a2a
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
7fac90e635330be124a709db5774b71ff3892348 20-Jun-2014 Ji Yang <yangji@google.com> Merge "Send outbound message via the default carrier app. Initially, the message will go into a pending state. There is a new API call to update the status of a message. If the carrier app cannot send the message, it will fall back to the default GSM/CDMA network."
112c36a6080b6902925d317218acc14183e29842 30-May-2014 Cheuksan Wang <edwang@google.com> Send outbound message via the default carrier app. Initially, the
message will go into a pending state. There is a new API call to
update the status of a message. If the carrier app cannot send the
message, it will fall back to the default GSM/CDMA network.

Change-Id: I12e4c16ee1f934561c453e125805d59a151271b4
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
6a22a5cf0ca0783b2f33b8f7ab8f3a37755aafcf 19-Jun-2014 Cheuksan Wang <edwang@google.com> Merge "Add SMS filtering intent and API for message deduping by the carrier app."
7320aa58e7fcbe113ec85e6ae7d41858af2e3270 19-Jun-2014 Ye Wen <ywen@google.com> Move IMms.aidl to frameworks/base (1/3)

Change-Id: I6299cf6b4e14248024baf8daa451e173141b3c0f
nternal/telephony/mms/IMms.aidl
3aed18eb1c0f0dc3ed9e5793d31995ead0a6afe7 19-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Comment out some subId code that failed

mPhone was giving subId == -1 and failing all retries even well after boot
during OMA DM process and killing the process. Needs to be resolved. This
is a workaround.

bug: 15563289
Change-Id: I43d7ac82a64375f319b5e16f9fff37a2aefa8325
nternal/telephony/dataconnection/DcTrackerBase.java
ed8ec7c629dccf60a2fc817f871bab879302fdbd 18-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Remove Obsolete enable/disableApn functions."
1522439d1c675a52aef5c217d6c74e980dc6cbff 18-Jun-2014 Ye Wen <ywen@google.com> Merge "Implement MMS APIs in SmsManager instead of MmsManager"
afa929f85b8f0c4f0c53b57956d1fd2ec7314904 18-Jun-2014 Ye Wen <ywen@google.com> Implement MMS APIs in SmsManager instead of MmsManager

Change-Id: I8dd9d50ef5f26fb74f60ccabf22a288dabf24fb8
nternal/telephony/mms/IMms.aidl
81dedf31ec616943147b0617c2912ec52360b8b7 18-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Don't tear down existing cell connections."
305122cd621385652826cf7d8cd4e651dc6b5e9f 17-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Don't tear down existing cell connections.

NetworkFactories signals indicate if we're interested in making new
connections, but should not be used to tear things down.
ConnectivityService will communicate disconnects directly with NetworkAgents
when it wants them to tear down.

This fixes broken lingers and also potential score ties.

bug:15612739
Change-Id: Ib39ddadaac84898d080764afc365f09f7dce4ffa
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcTracker.java
9456408aa20f8a441ccd9ab822fb74b427a081bf 18-Jun-2014 Wink Saville <wink@google.com> Merge "Empty triangle displayed for radio signal but calls & data work"
6f64a8956a101bd16c900017f7692f9284c6bdd6 18-Jun-2014 Anil Muthineni <anilmuthineni@google.com> Check that the PendingIntent is not null, before dispatching it.

Change-Id: I7e26d01ef9df3dc1e61135c4ae3287c619a93cd8
nternal/telephony/ImsSMSDispatcher.java
76b5625831e12343d195ebb509a6804774ca2c0f 18-Jun-2014 Wink Saville <wink@google.com> Empty triangle displayed for radio signal but calls & data work

Don't assume getSubId always returns an array and add a FIXME comment.
And explicitly set phoneId and subId in the intent so as not to relay
on a phones subId being valid.

Also cleanup some debug.

Bug: 15669560
Change-Id: I645ddb35b964b08dcb46f881c9d02b932d128950
nternal/telephony/SubscriptionController.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
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/dataconnection/DcSwitchState.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
a537067b93624141ebeb3b1f6c3f2c2b971a301e 17-Jun-2014 Shishir Agrawal <shishir@google.com> PhoneSubInfoProxy should not register with ServiceManager.

PhoneSubInfoController is the new class that provides the "iphonesubinfo"
service.

BUG: 15682151

Change-Id: I2b3f9fc03dc92b2ac34d7f857426074f906de5c5
nternal/telephony/PhoneSubInfoProxy.java
913880b94d8b29d8dec34b2307c313e2180eb6f0 27-May-2014 Cheuksan Wang <edwang@google.com> Add SMS filtering intent and API for message deduping by the carrier app.

If a carrier app is active, the SMS_FILTER intent is sent for every
incoming SMS message. If the carrier app considers this message as a
duplicate, it may set a status code to filter out this SMS. It may
also set a pdu in result extras to overwrite the pdu.

Change-Id: I41526b21df31142b8f6373f3aefbe360c5938af3
nternal/telephony/InboundSmsHandler.java
b5e07a56c7dc687e31669ff99fad0a32bf3bd89c 14-Jun-2014 Wink Saville <wink@google.com> Merge "Fix build break."
fa8a17ed53a72fbc4fb22cc41a7abb088b2cb788 14-Jun-2014 Wink Saville <wink@google.com> Fix build break.

ISms has changed between my testing and submitting.

Change-Id: I26fbfa94e5689ef40d79497fdc63890dc024ae92
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/UiccSmsController.java
91f8e19cdafe6382ec1469167e208e2e928123cc 13-Jun-2014 Wink Saville <wink@google.com> Merge "Merge kwd to master"
a8467dd0c524787104b1ccdddc5e8af10ba729ed 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
nternal/telephony/BaseCommands.java
nternal/telephony/Call.java
nternal/telephony/CallManager.java
nternal/telephony/CellBroadcastHandler.java
nternal/telephony/CommandException.java
nternal/telephony/CommandsInterface.java
nternal/telephony/Connection.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/HardwareConfig.java
nternal/telephony/IIccPhoneBook.aidl
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccPhoneBookInterfaceManagerProxy.java
nternal/telephony/IccProvider.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/MccTable.java
nternal/telephony/MmiCode.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneNotifier.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/PhoneSubInfoController.java
nternal/telephony/PhoneSubInfoProxy.java
nternal/telephony/ProxyController.java
nternal/telephony/RIL.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/SmsStorageMonitor.java
nternal/telephony/SubInfoRecordUpdater.java
nternal/telephony/Subscription.java
nternal/telephony/SubscriptionController.java
nternal/telephony/SubscriptionData.java
nternal/telephony/TelephonyCapabilities.java
nternal/telephony/TelephonyDevController.java
nternal/telephony/UiccPhoneBookController.java
nternal/telephony/UiccSmsController.java
nternal/telephony/VoicePhone.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cat/CatService.java
nternal/telephony/cat/RilMessageDecoder.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaInboundSmsHandler.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/cdma/CdmaServiceCategoryProgramHandler.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/dataconnection/DataCallResponse.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcController.java
nternal/telephony/dataconnection/DcSwitchAsyncChannel.java
nternal/telephony/dataconnection/DcSwitchState.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/dataconnection/DctController.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/imsphone/ImsPhone.java
nternal/telephony/imsphone/ImsPhoneBase.java
nternal/telephony/imsphone/ImsPhoneCall.java
nternal/telephony/imsphone/ImsPhoneCallTracker.java
nternal/telephony/imsphone/ImsPhoneCommandInterface.java
nternal/telephony/imsphone/ImsPhoneConnection.java
nternal/telephony/imsphone/ImsPhoneFactory.java
nternal/telephony/imsphone/ImsPhoneMmiCode.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/test/SimulatedCommands.java
nternal/telephony/uicc/IccCardApplicationStatus.java
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/IccConstants.java
nternal/telephony/uicc/IccFileHandler.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IsimFileHandler.java
nternal/telephony/uicc/IsimRecords.java
nternal/telephony/uicc/IsimUiccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCardApplication.java
nternal/telephony/uicc/UiccController.java
b36f67e82882badcf856451e1ffc78ed388c2252 12-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> am 781ada03: Merge "Make NetworkCapabilities publicly immutable." into lmp-preview-dev

* commit '781ada0374c0b111c5cf9488d171c046b3079ff3':
Make NetworkCapabilities publicly immutable.
63418bbd2a9d7cc88ae24cc5ae776c01d688fc3a 03-Jun-2014 Anil Muthineni <anilmuthineni@google.com> Add api to inject SMS PDUs

Change-Id: I58a518a7a6d6f43fef3d989bc0c8b21959404ed0
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
50a562c63bf42017fe260b0ea299c3419a06a46d 13-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Listen for retry intents."
d32b58c8e7cea693c98f49b2291455e917cd9301 13-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Listen for retry intents.

Re-adding code stripped out during the NetworkAgent changes. Going back
to having ApnContexts pre-initialized at startup since they are no longer
NetworkAgents. This also lets us preregister for each of their retry alarms.

Undo of damage done by: https://googleplex-android-review.googlesource.com/#/c/476836/

bug:15563289
Change-Id: I6f8855eb24d913c73fef647d4219ae7041216e2b
nternal/telephony/dataconnection/DcTracker.java
781ada0374c0b111c5cf9488d171c046b3079ff3 12-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Make NetworkCapabilities publicly immutable." into lmp-preview-dev
fd555a178c05e409917f22745743ed59402208e6 09-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Make NetworkCapabilities publicly immutable.

Applying API council comments.

bug: 15142362
Change-Id: Ie0bde68b72656a676d90c0343b9756fe9268d8d6
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcTracker.java
5efbe26116b51f55d623d482c43c44abf998c71a 07-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Apply new LinkProperties API change.

bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
(cherry picked from commit d68ea30947e9b6cd0d7aa8da23d2373a03310e2b)
nternal/telephony/dataconnection/DataCallResponse.java
235dd822c4ff48409d974b4fa7e789ea1fdaa7aa 10-Jun-2014 Amit Mahajan <amitmahajan@google.com> am 45a6dd79: am db480f2b: am 63dce7fe: Handle provisioning APN by turning off/on radio.

* commit '45a6dd79c6a54f90fd3737cdf9434fe68cf65f14':
Handle provisioning APN by turning off/on radio.
45a6dd79c6a54f90fd3737cdf9434fe68cf65f14 09-Jun-2014 Amit Mahajan <amitmahajan@google.com> am db480f2b: am 63dce7fe: Handle provisioning APN by turning off/on radio.

* commit 'db480f2b7bd5ae373458e78b267f939dbb95f5c6':
Handle provisioning APN by turning off/on radio.
db480f2b7bd5ae373458e78b267f939dbb95f5c6 09-Jun-2014 Amit Mahajan <amitmahajan@google.com> am 63dce7fe: Handle provisioning APN by turning off/on radio.

* commit '63dce7fe9678c4610a410ebddd49518190f90386':
Handle provisioning APN by turning off/on radio.
63dce7fe9678c4610a410ebddd49518190f90386 07-Jun-2014 Amit Mahajan <amitmahajan@google.com> Handle provisioning APN by turning off/on radio.

The change is specific to AT&T as they want no signaling from device during provisioning.
I've tested following cases:
- expired AT&T SIM to make sure provisioning flow works as expected.
- airplane mode on/off with both active and expired AT&T SIM.
- wifi <-> mobile transitions work okay.
- LTE with Verizon SIM (basic sanity).

bug: 13190133

Change-Id: I215963174ae6000ae71d1dda693f95413f3d6e81
nternal/telephony/dataconnection/DcTrackerBase.java
d68ea30947e9b6cd0d7aa8da23d2373a03310e2b 07-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Apply new LinkProperties API change.

bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
nternal/telephony/dataconnection/DataCallResponse.java
2b967cc8c303674fce005ba8aba6dfa0d1d60cba 07-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> am b372e784: Correctly set NetCap for "*" APNs

* commit 'b372e78452b9432b51cda43f6264240b04d62dd4':
Correctly set NetCap for "*" APNs
f4f5308a309d43fcfca8d0d5fbb54bc38c82ca3f 05-Jun-2014 Yorke Lee <yorkelee@google.com> Follow API change in PhoneNumberUtils

Bug: 15432083
Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/gsm/GsmMmiCode.java
b372e78452b9432b51cda43f6264240b04d62dd4 06-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Correctly set NetCap for "*" APNs

bug: 15455750
Change-Id: I933502b417d7b15aaca98ec16f8d3c60de1e142d
nternal/telephony/dataconnection/DataConnection.java
b700ba75d7dbcf3cca1c44b541e8642063042d64 06-Jun-2014 Evan Charlton <evanc@google.com> am 8fa7267a: Merge "Use new post-dial DTMF flows" into lmp-preview-dev

* commit '8fa7267a0b87c1023f920d51ee553f5105ea4ebd':
Use new post-dial DTMF flows
8fa7267a0b87c1023f920d51ee553f5105ea4ebd 06-Jun-2014 Evan Charlton <evanc@google.com> Merge "Use new post-dial DTMF flows" into lmp-preview-dev
aa2f665dfdaf28c946f2d6c6f4e212c0c683ee27 06-Jun-2014 Adam Lesinski <adamlesinski@google.com> Merge commit '2f1e87b4' into manualmerge

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

Change-Id: I46f2432de5873c19f42bb8a588719ec84e92f059
2f1e87b4ff0395a97a6a82134202be82d89ce6e7 06-Jun-2014 Adam Lesinski <adamlesinski@google.com> am 7961ac2c: SmsManager responds gracefully to no backing service

* commit '7961ac2c8d2e50d879bc6d5b272b7d972a335c0e':
SmsManager responds gracefully to no backing service
abdf18ba8c0f6aab302132337d054dc2901abeab 05-Jun-2014 Yorke Lee <yorkelee@google.com> DO NOT MERGE Follow API change in PhoneNumberUtils

Bug: 15432083
Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/gsm/GsmMmiCode.java
0b9246d6254bed6f625fa9c551f7f9dcc33d4e38 03-Jun-2014 Evan Charlton <evanc@google.com> Use new post-dial DTMF flows

Migrate the post-dial DTMF call flows to use the new APIs.

Bug: 13734588
Change-Id: I5cc06268590c3c424ea6daf216cb205b9c470dac
nternal/telephony/Connection.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/gsm/GsmConnection.java
f11a4953b12a2d15fe07ae361b47fb5b37954bd4 04-Jun-2014 Lorenzo Colitti <lorenzo@google.com> am 48579fcc: Make requests for restricted networks not require unrestricted access.

* commit '48579fcccf584fbddbff59eaae27d434316a4248':
Make requests for restricted networks not require unrestricted access.
7961ac2c8d2e50d879bc6d5b272b7d972a335c0e 03-Jun-2014 Adam Lesinski <adamlesinski@google.com> SmsManager responds gracefully to no backing service

Previously we would get an NPE if there was no isms service
running on the device. Now we return sensible defaults
and throw UnsupportedOperationException for methods
that are meant to invoke actions and have a void
return type.

Change-Id: I894809a0d6431b7c6472ec6f69d3b8e84a1418ea
nternal/telephony/DefaultPhoneNotifier.java
48579fcccf584fbddbff59eaae27d434316a4248 03-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Make requests for restricted networks not require unrestricted access.

Currently, calling startUsingNetworkFeature for a restricted APN
type (e.g., IMS or FOTA) will create a request that requires
NET_CAPABILITY_NOT_RESTRICTED. Because these APNs are restricted,
when we bring them up we conclude that it does not match the
unrestricted requirement, and we tear them down.

1. Clear the NET_CAPABILITY_NOT_RESTRICTED capability when
creating requests in startUsingNetworkFeature.
2. Refactor the code to a common function so this cannot happen
again.

Bug: 15191336
Change-Id: Id1ec79c58ff79b1a83457ffaecc57d50b61ed4e4
nternal/telephony/dataconnection/DataConnection.java
72dd19208f0803c12daf10d52189d4cca95c1159 03-Jun-2014 Evan Charlton <evanc@google.com> Merge "Revert sendEnvelope changes [DO NOT MERGE]" into lmp-preview-dev
62c954a7a7c4199956c127fcb575ed9114d44491 27-May-2014 Robert Greenwalt <rgreenwalt@google.com> Apply refactored NetworkFactory.

Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent.
Factory will track requests and by default give a single connect/disconnect api for ease
of use. Then NetworkAgent is created and destroyed as needed with very simple logic.

Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291
(cherry picked from commit 071b9f85ac559a35430ed37c03a66271977b9d17)
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcTracker.java
f3ab6ab303e1da929ce26b7c5d63565bff136221 23-May-2014 Robert Greenwalt <rgreenwalt@google.com> Revert "Switching to NetworkAgent API"

This reverts commit bce3d2575122929bb27ec8a37d56e96da39a3ca2.

Change-Id: Ia7d1752d4ba9f74f55657c7dbe4d64d60064394f
(cherry picked from commit 608588e9af271f0f5640236809f27c626f9d98e9)
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
071b9f85ac559a35430ed37c03a66271977b9d17 27-May-2014 Robert Greenwalt <rgreenwalt@google.com> Apply refactored NetworkFactory.

Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent.
Factory will track requests and by default give a single connect/disconnect api for ease
of use. Then NetworkAgent is created and destroyed as needed with very simple logic.

Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcTracker.java
608588e9af271f0f5640236809f27c626f9d98e9 23-May-2014 Robert Greenwalt <rgreenwalt@google.com> Revert "Switching to NetworkAgent API"

This reverts commit bce3d2575122929bb27ec8a37d56e96da39a3ca2.

Change-Id: Ia7d1752d4ba9f74f55657c7dbe4d64d60064394f
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
49abb46bedc84a79e5057caab9baf6a5452a8ab7 28-May-2014 Evan Charlton <evanc@google.com> Revert sendEnvelope changes [DO NOT MERGE]

Revert various CLs involving sendEnvelope changes from I/O preview.
The following changes were reverted:

Revert "Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope."

This reverts commit 5b2ac9494f93e2b462ee08fa8560b697cd190c50.

Revert "Expose sendEnvelope." [DO NOT MERGE]

This reverts commit dcca0fbaf728212d182e08fe2239d9d4a5f96516.

Change-Id: I659d3aa16b8b9a5c33c8c64404f7d7442d9d0e57
nternal/telephony/uicc/UiccCard.java
220d43e0611edd0f3a2eb7a33bb38a008fff0868 29-May-2014 Wink Saville <wink@google.com> Revert "Fix build: Revert "am 9349bd96: am 7d604d74: am ccb1ae5a: Merge "When Data RAT changes the new RAT retry connectable APN\'s"""

This reverts commit a82185ccdc6df168fcd093bf49b9c2ada0e1c080.

The original commit used EVENT_DATA_RAT_CHANGED but it was defined
in frameworks/base/telephony/*/DctConstants.java by this AOSP
change:

fb61bfa4470332a7ccfca7a2df5e13baca49d9fa

And I'd forgetten to submit it. Now that EVENT_DATA_RAT_CHANGED
is defined I am reverting the revert.

Change-Id: Ied6665136cb6c36053c8fe03eee5e9f87b637f38
nternal/telephony/dataconnection/DcTracker.java
a82185ccdc6df168fcd093bf49b9c2ada0e1c080 29-May-2014 Ed Heyl <edheyl@google.com> Fix build: Revert "am 9349bd96: am 7d604d74: am ccb1ae5a: Merge "When Data RAT changes the new RAT retry connectable APN\'s""

This reverts commit a259f97accfbad749731e4e95152f2ef3f1115f7, reversing
changes made to cbb34dc8c740d77506d51bb1c9045402301da32e.
nternal/telephony/dataconnection/DcTracker.java
a259f97accfbad749731e4e95152f2ef3f1115f7 29-May-2014 Wink Saville <wink@google.com> am 9349bd96: am 7d604d74: am ccb1ae5a: Merge "When Data RAT changes the new RAT retry connectable APN\'s"

* commit '9349bd96eb30f992b76d2a5a84eb593a093fdeef':
When Data RAT changes the new RAT retry connectable APN's
9349bd96eb30f992b76d2a5a84eb593a093fdeef 29-May-2014 Wink Saville <wink@google.com> am 7d604d74: am ccb1ae5a: Merge "When Data RAT changes the new RAT retry connectable APN\'s"

* commit '7d604d741a387ef1c8ab782890384dc2d4190629':
When Data RAT changes the new RAT retry connectable APN's
7d604d741a387ef1c8ab782890384dc2d4190629 29-May-2014 Wink Saville <wink@google.com> am ccb1ae5a: Merge "When Data RAT changes the new RAT retry connectable APN\'s"

* commit 'ccb1ae5a613a0ad714623f1cbb246dbbd43976b4':
When Data RAT changes the new RAT retry connectable APN's
50d5d9678ef0e14b2426979eb908afff773d40ec 01-Feb-2014 Zhang Wei-e7976c <e7976c@motorola.com> When Data RAT changes the new RAT retry connectable APN's

Issue: In the scenario where phone is in LTE and has data up and running, then user makes a voice
call. During voice call, devices moves out of LTE coverage and moves into 1X. Since 1X does not
support simultaneous voice and data, the data call will be dropped. When the device moves back
into LTE coverage later, device does not attempt to set up the data call again until the voice
call is ended. This causes the data stall.
Fix: register for EVENT_DATA_RAT_CHANGED and attempt SETUP_DATA_CALL upon receiving this event.

Change-Id: Ibe9e68295661f2f2ffaca3057d696df6a1db3f0c
nternal/telephony/dataconnection/DcTracker.java
980e8ba8312c4afb96adfee97ef17a2704c059b0 22-May-2014 Robert Greenwalt <rgreenwalt@google.com> Move dis/enable of mobile data to Telephony

ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
(cherry picked from commit 3a6fa6e964a0cb361f79302afe18b8d7f5f9ceef)
nternal/telephony/Phone.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/sip/SipPhoneBase.java
3a6fa6e964a0cb361f79302afe18b8d7f5f9ceef 22-May-2014 Robert Greenwalt <rgreenwalt@google.com> Move dis/enable of mobile data to Telephony

ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
nternal/telephony/Phone.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/sip/SipPhoneBase.java
4dfda5470a2582c0fb543ead6c79ccf598c580e0 16-May-2014 Robert Greenwalt <rgreenwalt@google.com> Add unregisterNetworkFactory

Telephony creates multiple network factories sometimes (Rat changes). Give
it the ability to unregister the prior ones first.

Also, pass a name for identification purposes.

bug: 15003007
Change-Id: I717d63363f25c446f8ecf38d933b1a35d744af6e
nternal/telephony/dataconnection/DcTracker.java
bce3d2575122929bb27ec8a37d56e96da39a3ca2 30-Apr-2014 Robert Greenwalt <rgreenwalt@google.com> Switching to NetworkAgent API

Change-Id: I7bca6f65ba1c616d821db50b0d24772520c787a7
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
faeca7a03229144acfbae4bb363087984025e680 13-May-2014 Derek Tan <derektan@google.com> am 3eb22bb4: Merge "Correct the comment in queryAvailableBandMode." into master-nova

* commit '3eb22bb488517c393e24bf214ef8fe7ddf6263bd':
Correct the comment in queryAvailableBandMode.
1bc71b448a90fefde8c741aa299a0248cd0d1581 13-May-2014 Shishir Agrawal <shishir@google.com> am fb186a5d: Merge "Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope." into master-nova

* commit 'fb186a5d95223d060a6fb1f78c4ab043ea8ac879':
Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope.
171f8ab14db1c88b85e495bc6cf603d20132ffa8 13-May-2014 Derek Tan <derektan@google.com> am 81f99786: Merge "Expose sendEnvelope." into master-nova

* commit '81f99786f2d3754f641efa204ac8c289330e3ef1':
Expose sendEnvelope.
96cce86cf08e37e0f09ed5057b1196e26b302743 09-Apr-2014 Robert Greenwalt <rgreenwalt@google.com> Replace LinkCapabilities with NetworkCapabilities

bug:13885501
Change-Id: I4ebc184c29278c385364ab0993c8783dfd9086fb
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
0d6db1133927fc51d5d061f61ccb992b6adbd584 07-May-2014 Jason Monk <jmonk@google.com> Merge "Support renaming of ProxyProperties to ProxyInfo"
3eb22bb488517c393e24bf214ef8fe7ddf6263bd 05-May-2014 Derek Tan <derektan@google.com> Merge "Correct the comment in queryAvailableBandMode." into master-nova
9c180aedfc9f0d20525c0128487d3500e6c0a715 02-May-2014 Jason Monk <jmonk@google.com> Support renaming of ProxyProperties to ProxyInfo

Change-Id: I151bb50bfafac46ad375dec4908e0470f2823d8d
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcTracker.java
d154a229fc65814c3cf5609f970214dc9e8e4bf1 01-May-2014 Wink Saville <wink@google.com> am 00aa36e5: am 4d0313eb: am d5bc38bc: am 6f699fcf: Merge "Fix order of \'+\' in call forwarding return result in RTL locales"

* commit '00aa36e5e6c28a3ffc0fcfde40742d5759287197':
Fix order of '+' in call forwarding return result in RTL locales
00aa36e5e6c28a3ffc0fcfde40742d5759287197 01-May-2014 Wink Saville <wink@google.com> am 4d0313eb: am d5bc38bc: am 6f699fcf: Merge "Fix order of \'+\' in call forwarding return result in RTL locales"

* commit '4d0313ebb6483116ab37dd72ef796f19d55844c1':
Fix order of '+' in call forwarding return result in RTL locales
4d0313ebb6483116ab37dd72ef796f19d55844c1 01-May-2014 Wink Saville <wink@google.com> am d5bc38bc: am 6f699fcf: Merge "Fix order of \'+\' in call forwarding return result in RTL locales"

* commit 'd5bc38bce34aff0a494d4dfbf275c01fdd49bed1':
Fix order of '+' in call forwarding return result in RTL locales
d5bc38bce34aff0a494d4dfbf275c01fdd49bed1 01-May-2014 Wink Saville <wink@google.com> am 6f699fcf: Merge "Fix order of \'+\' in call forwarding return result in RTL locales"

* commit '6f699fcf414c6e50aa5cf473d32b76c81b666bf6':
Fix order of '+' in call forwarding return result in RTL locales
8697e0eb16fd00420efaf626ba4da3d548de3b59 19-Mar-2013 Magnus Karlsson <magnus3.karlsson@sonymobile.com> Fix order of '+' in call forwarding return result in RTL locales

The '+' is presented at the end of the phone number
instead of in the front.
Phone numbers should be presented left-to-right even
for right-to-left oriented languages (e.g. Hebrew),
hence the '+' should be placed accordingly.

Change-Id: I07d89078de4d81609e08099f93fc929a81ec172b
nternal/telephony/gsm/GsmMmiCode.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
nternal/telephony/CommandsInterface.java
nternal/telephony/Phone.java
nternal/telephony/RIL.java
nternal/telephony/test/SimulatedCommands.java
3980fd45c1cf0baac16411a07ec01b42f53435bc 29-Apr-2014 Bill Yi <byi@google.com> Merge commit 'ff1e89fdd2cc535c3ce15f6a5bbc6c90a23bdb18' into HEAD
4f74cb3130b505d733aff633cf91bdc43aa6cd0b 28-Apr-2014 Evan Charlton <evanc@google.com> Fix the build

Update method signature, as specified by I3623b0c49011d6db5e0060999d17963a7e58f775

Change-Id: Iafa1c8fdcaf042a57d3b59f6b6c412333d913e1f
nternal/telephony/thirdpartyphone/ThirdPartyPhone.java
1dd7a8168f4f1efefa1fb71f92a6798c8cd6a3db 26-Apr-2014 Wink Saville <wink@google.com> am ebdd8177: am 63114dbb: am a45ddc61: Merge "Do not set audioGroup ECHO SUPRESSION mode"

* commit 'ebdd8177293ea104b95c0450eb7d763132a6fd7e':
Do not set audioGroup ECHO SUPRESSION mode
114889e8a9294ec3b4a1f52bac9907f6a0b12984 26-Apr-2014 Wink Saville <wink@google.com> am 9a33dbff: am 044a35cf: am d1ae7c94: Merge "Handle ICC IO error"

* commit '9a33dbffcbdd0cc14b893edec1b385ecdbf07c46':
Handle ICC IO error
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
9a33dbffcbdd0cc14b893edec1b385ecdbf07c46 26-Apr-2014 Wink Saville <wink@google.com> am 044a35cf: am d1ae7c94: Merge "Handle ICC IO error"

* commit '044a35cfda5f45980ed188527119c6fdc423a667':
Handle ICC IO error
63114dbbda418bd5ea37006cb9e3848373f60471 26-Apr-2014 Wink Saville <wink@google.com> am a45ddc61: Merge "Do not set audioGroup ECHO SUPRESSION mode"

* commit 'a45ddc61054ea75f50c120b254854fa8135096af':
Do not set audioGroup ECHO SUPRESSION mode
044a35cfda5f45980ed188527119c6fdc423a667 26-Apr-2014 Wink Saville <wink@google.com> am d1ae7c94: Merge "Handle ICC IO error"

* commit 'd1ae7c941a4ea5f45aeca4171d75c1283a78039d':
Handle ICC IO error
a45ddc61054ea75f50c120b254854fa8135096af 26-Apr-2014 Wink Saville <wink@google.com> Merge "Do not set audioGroup ECHO SUPRESSION mode"
d1ae7c941a4ea5f45aeca4171d75c1283a78039d 26-Apr-2014 Wink Saville <wink@google.com> Merge "Handle ICC IO error"
49ab6d343c16beac4a491f096e5e1ff24e10bd5d 26-Apr-2014 Jake Hamby <jhamby@google.com> am 8baae705: am fa2c06ea: am e005c3c4: Merge "Telephony: Add \'ServiceCategory\' to SMS finger print"

* commit '8baae705c72525409ab5dd75b553195036fc3e38':
Telephony: Add 'ServiceCategory' to SMS finger print
8baae705c72525409ab5dd75b553195036fc3e38 26-Apr-2014 Jake Hamby <jhamby@google.com> am fa2c06ea: am e005c3c4: Merge "Telephony: Add \'ServiceCategory\' to SMS finger print"

* commit 'fa2c06eae1066b898f0dde8a9d3eb0b81eaca508':
Telephony: Add 'ServiceCategory' to SMS finger print
fa2c06eae1066b898f0dde8a9d3eb0b81eaca508 26-Apr-2014 Jake Hamby <jhamby@google.com> am e005c3c4: Merge "Telephony: Add \'ServiceCategory\' to SMS finger print"

* commit 'e005c3c44109c9b4a8d25f05e8b7133d5ef55ead':
Telephony: Add 'ServiceCategory' to SMS finger print
e005c3c44109c9b4a8d25f05e8b7133d5ef55ead 26-Apr-2014 Jake Hamby <jhamby@google.com> Merge "Telephony: Add 'ServiceCategory' to SMS finger print"
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
nternal/telephony/CallManager.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/sip/SipPhone.java
984ff37a977c97789736f6d498f3589c74cf6b9a 24-Apr-2014 Wink Saville <wink@google.com> am 60cd6fd3: am a0883b4b: am 373b373b: Merge "Telephony:Prevent duplicate auto mode request on EF_CSP read"

* commit '60cd6fd33483ec58ce0bf27e74408a6c9cb0cba8':
Telephony:Prevent duplicate auto mode request on EF_CSP read
60cd6fd33483ec58ce0bf27e74408a6c9cb0cba8 24-Apr-2014 Wink Saville <wink@google.com> am a0883b4b: am 373b373b: Merge "Telephony:Prevent duplicate auto mode request on EF_CSP read"

* commit 'a0883b4bbfc003f085d2ab9ae4ba74f9a220753b':
Telephony:Prevent duplicate auto mode request on EF_CSP read
a0883b4bbfc003f085d2ab9ae4ba74f9a220753b 24-Apr-2014 Wink Saville <wink@google.com> am 373b373b: Merge "Telephony:Prevent duplicate auto mode request on EF_CSP read"

* commit '373b373bdeb45c774780dc0ed1fa5046e6fd4547':
Telephony:Prevent duplicate auto mode request on EF_CSP read
e16ec244df35cec3ce69b513ee48e0906edf1999 06-Feb-2013 Sandeep Kunta <skunta@codeaurora.org> Handle ICC IO error

Following changes have been made as part of this:
-> At present in Android all ICC Card states other than ICC
PRESENT are treated as ICC ABSENT. Adding functionality
to handle ICC IO error card state.
->IccCardProxy broadcasts card error intent when application index
received from UIM is invalid(i.e.mUiccAplication is null) during
initialization of card for fraction of time. As a result of which
"Invalid Card" is displayed on UI momentarily.

To fix this, When app index received from UIM is invalid broadcast
"NOT_READY" intent.

Change-Id: I229bd80cb5e487f4345bef9fb7fee60850f085d9
Bug: 10643652
nternal/telephony/uicc/IccCardProxy.java
2bb44b616cb36b981dc5ee781d2b2580af3a05e6 18-Nov-2011 Uma Maheswari Ramalingam <umam@codeaurora.org> Telephony:Prevent duplicate auto mode request on EF_CSP read

Prevent duplicate auto network selection mode request
if triggered internally by Android due to
PLMN disabled in EF_CSP SIM record.
Allow mode change request if triggered by user.

Change-Id: I9f6828e59abada64fab66d6ff747bf83a3ec4d6c
nternal/telephony/gsm/GSMPhone.java
b58d0ca6afbdd0bae73321441b0461d7914fe1de 16-Apr-2014 Wink Saville <wink@google.com> am 76edd9b9: am 94b4d47b: am 5706eba8: Merge "Allow tablets to send SMS if enabled in device overlays (2/2)"

* commit '76edd9b9f6d22c4a85c56c0f17ff790248c6e7a0':
Allow tablets to send SMS if enabled in device overlays (2/2)
76edd9b9f6d22c4a85c56c0f17ff790248c6e7a0 16-Apr-2014 Wink Saville <wink@google.com> am 94b4d47b: am 5706eba8: Merge "Allow tablets to send SMS if enabled in device overlays (2/2)"

* commit '94b4d47b81dcd2a0340ea42699ed022882612cb5':
Allow tablets to send SMS if enabled in device overlays (2/2)
94b4d47b81dcd2a0340ea42699ed022882612cb5 16-Apr-2014 Wink Saville <wink@google.com> am 5706eba8: Merge "Allow tablets to send SMS if enabled in device overlays (2/2)"

* commit '5706eba807efc5ff3ad6c9b6e27dd962a00dfbe9':
Allow tablets to send SMS if enabled in device overlays (2/2)
5706eba807efc5ff3ad6c9b6e27dd962a00dfbe9 16-Apr-2014 Wink Saville <wink@google.com> Merge "Allow tablets to send SMS if enabled in device overlays (2/2)"
3339fbe8e3500bcee2593e5a5d510ce648c646ce 16-Apr-2014 Wink Saville <wink@google.com> am a0bce270: Merge "Add notifyDataConnectionRealTimeInfo."

* commit 'a0bce270a3e9342e7a4945dd88b0f577f1edc431':
Add notifyDataConnectionRealTimeInfo.
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
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneNotifier.java
nternal/telephony/dataconnection/DcController.java
28ed54e90e23d38ada8cf1ca33aae28e6369285c 16-Apr-2014 Shishir Agrawal <shishir@google.com> am 91ab02f8: Merge "Reset network selection mode to "automatic" for CDMA phones."

* commit '91ab02f8b21c93920e23d9ff7583f35edbcad04a':
Reset network selection mode to "automatic" for CDMA phones.
91ab02f8b21c93920e23d9ff7583f35edbcad04a 16-Apr-2014 Shishir Agrawal <shishir@google.com> Merge "Reset network selection mode to "automatic" for CDMA phones."
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
nternal/telephony/PhoneBase.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GSMPhone.java
e5313fa11f80780b0ff2a867521066abd6bf02b7 11-Apr-2014 Wink Saville <wink@google.com> am 5e2f0fb1: am 0764b3df: am b0b5c014: Merge "Telephony: Display of Operator name."

* commit '5e2f0fb1ffa6d207b35b5669e6880df728868b0e':
Telephony: Display of Operator name.
5e2f0fb1ffa6d207b35b5669e6880df728868b0e 11-Apr-2014 Wink Saville <wink@google.com> am 0764b3df: am b0b5c014: Merge "Telephony: Display of Operator name."

* commit '0764b3df0fdd465c260fc2180b0243194e7b1f31':
Telephony: Display of Operator name.
0764b3df0fdd465c260fc2180b0243194e7b1f31 11-Apr-2014 Wink Saville <wink@google.com> am b0b5c014: Merge "Telephony: Display of Operator name."

* commit 'b0b5c014448c55ff953f2a09e5d665ef220bdeb3':
Telephony: Display of Operator name.
b0b5c014448c55ff953f2a09e5d665ef220bdeb3 11-Apr-2014 Wink Saville <wink@google.com> Merge "Telephony: Display of Operator name."
0ba81c7b99e01e66275097d6a8eea30730394e56 08-Apr-2014 Wink Saville <wink@google.com> am bfd756ca: am 4c9e1a09: am 450669b5: Merge "Query GET_SIM_STATUS when radio state is OFF"

* commit 'bfd756ca839fb2a58d510e84a4a920f42fe87421':
Query GET_SIM_STATUS when radio state is OFF
bfd756ca839fb2a58d510e84a4a920f42fe87421 08-Apr-2014 Wink Saville <wink@google.com> am 4c9e1a09: am 450669b5: Merge "Query GET_SIM_STATUS when radio state is OFF"

* commit '4c9e1a0925b088cc92c5e8d6bdffa683fe646922':
Query GET_SIM_STATUS when radio state is OFF
4c9e1a0925b088cc92c5e8d6bdffa683fe646922 08-Apr-2014 Wink Saville <wink@google.com> am 450669b5: Merge "Query GET_SIM_STATUS when radio state is OFF"

* commit '450669b53d22c958f16caba084d6df2c63f82db8':
Query GET_SIM_STATUS when radio state is OFF
450669b53d22c958f16caba084d6df2c63f82db8 08-Apr-2014 Wink Saville <wink@google.com> Merge "Query GET_SIM_STATUS when radio state is OFF"
5dd225521e128cf6a21560cd5c8ba63f8e8ff21b 08-Apr-2014 Wink Saville <wink@google.com> am 05c6b46b: am 27f0cce0: am 022dc626: Merge "Set RESULT tag properly when sending TR"

* commit '05c6b46b174cf722c75a71d889a252a91da2bd5d':
Set RESULT tag properly when sending TR
05c6b46b174cf722c75a71d889a252a91da2bd5d 08-Apr-2014 Wink Saville <wink@google.com> am 27f0cce0: am 022dc626: Merge "Set RESULT tag properly when sending TR"

* commit '27f0cce09e1fc58a857e2cab96d361ea703c47d0':
Set RESULT tag properly when sending TR
27f0cce09e1fc58a857e2cab96d361ea703c47d0 08-Apr-2014 Wink Saville <wink@google.com> am 022dc626: Merge "Set RESULT tag properly when sending TR"

* commit '022dc626998aad5a6c71a80d3b3a23e23c4efe33':
Set RESULT tag properly when sending TR
022dc626998aad5a6c71a80d3b3a23e23c4efe33 08-Apr-2014 Wink Saville <wink@google.com> Merge "Set RESULT tag properly when sending TR"
12b97c475df734439d9904f964b2daf5a9206d5c 03-Apr-2014 Derek Tan <derektan@google.com> Merge "[DO NOT MERGE] Set RUIM as the default CDMA subscription source in Nova." into master-nova
58d16730a798a93e8665a63ec0776b01b1e62720 03-Apr-2014 Jake Hamby <jhamby@google.com> am f93def87: Do not use the CSIM IMSI for mobile operator MNC.

* commit 'f93def879c5225379e1542eedf50bfd6aca17779':
Do not use the CSIM IMSI for mobile operator MNC.
f93def879c5225379e1542eedf50bfd6aca17779 02-Apr-2014 Jake Hamby <jhamby@google.com> Do not use the CSIM IMSI for mobile operator MNC.

The IMSI on the CSIM application, if present, does not contain
the MNC. We can use it for country detection but not for
operator detection, so don't set the SIM operator based on it.

Bug: 13661632
Change-Id: I49957eba87aa323d7e5894026de6a1e42e47f812
nternal/telephony/uicc/RuimRecords.java
60e3a52dad667a094af0c269176ee30da739ee84 06-Feb-2013 Sandeep Gutta <sangutta@codeaurora.org> Telephony: Display of Operator name.

Operator name is displaying in junk characters on CDMA network
due to wrong encoding scheme.Correct the same.

Change-Id: I4322126acf3bc900b47964f3967730151b8461b7
nternal/telephony/uicc/RuimRecords.java
7c4a503ea7afa528f3750fd672a3fef5b2c7656d 28-Mar-2014 Evan Charlton <evanc@google.com> Fix the build

DisconnectCause is gone; welcome DisconnectCause!

Change-Id: I26da1b036aa5f590823a451814d884a100a69b82
nternal/telephony/thirdpartyphone/ThirdPartyConnection.java
9cb14a4e928a8255e30a92814f3309ee6557d6fa 28-Mar-2014 Anders Kristensen <andersk@google.com> am 397e60f6: am 76276c33: am 53f70140: Merge "Remove duplicate call disconnect codes."

* commit '397e60f6ab85b90ea6021bd25695e82d06a11ad0':
Remove duplicate call disconnect codes.
397e60f6ab85b90ea6021bd25695e82d06a11ad0 28-Mar-2014 Anders Kristensen <andersk@google.com> am 76276c33: am 53f70140: Merge "Remove duplicate call disconnect codes."

* commit '76276c33b9ab8592f2eb666e7927d7b031c76feb':
Remove duplicate call disconnect codes.
76276c33b9ab8592f2eb666e7927d7b031c76feb 28-Mar-2014 Anders Kristensen <andersk@google.com> am 53f70140: Merge "Remove duplicate call disconnect codes."

* commit '53f701402f24da366c69d749a020269b77e6a04e':
Remove duplicate call disconnect codes.
53f701402f24da366c69d749a020269b77e6a04e 28-Mar-2014 Anders Kristensen <andersk@google.com> Merge "Remove duplicate call disconnect codes."
b7b7a62112b79571adf74372c5f5366fd62d0031 27-Feb-2014 Anders Kristensen <andersk@google.com> Remove duplicate call disconnect codes.

The Android code base defines call disconnect codes in three places:
- android.telephony.DisconnectCause
- android.internal.telephony.Connection.DisconnectCause
- com.android.services.telephony.common.Call.DisconnectCause

This CL consolidates the code to use the integer codes from
android.telephony.DisconnectCause everywhere.

Change-Id: I84a3fd5182a51d07fc7d81076e4b2c15ff26c61c
nternal/telephony/Connection.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/PhoneNotifier.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
bc480a2c69bbf867e53d1dc956367959d5dd4a70 26-Mar-2014 Wink Saville <wink@google.com> am 8b04bc31: am 2fe94539: am d6381a0b: Merge "FDN contacts not available after switching lines on twin SIM"

* commit '8b04bc3150674ab274f053e07b9fdd36ea75ec90':
FDN contacts not available after switching lines on twin SIM
8b04bc3150674ab274f053e07b9fdd36ea75ec90 26-Mar-2014 Wink Saville <wink@google.com> am 2fe94539: am d6381a0b: Merge "FDN contacts not available after switching lines on twin SIM"

* commit '2fe945394877c98706b4d56bcdc3dcde1eaccce8':
FDN contacts not available after switching lines on twin SIM
2fe945394877c98706b4d56bcdc3dcde1eaccce8 26-Mar-2014 Wink Saville <wink@google.com> am d6381a0b: Merge "FDN contacts not available after switching lines on twin SIM"

* commit 'd6381a0b69dbb76cbdf518199f4b683af01b1d96':
FDN contacts not available after switching lines on twin SIM
67aacea4e6b0199579a71b3a6a2f5d6778b8a002 27-Aug-2012 Kevin Li <kevin4.li@sonyericsson.com> FDN contacts not available after switching lines on twin SIM

After the profile changes without rebooting the UE, the FDN is
refreshed, but this is not handled.

Change-Id: I06bb138b1ab8c274ad8b46a38634b5f53377fa66
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/UiccCardApplication.java
2242ed6f9e70c656978c98ef54d2cb974feee346 19-Mar-2014 Wink Saville <wink@google.com> am 6412b1f1: am e03d3718: am d5adcb04: am c187f0e9: Handle provisioning APN by turning off/on data.

* commit '6412b1f1b8233709cb82ed88beb3a15225c41a4f':
Handle provisioning APN by turning off/on data.
6412b1f1b8233709cb82ed88beb3a15225c41a4f 19-Mar-2014 Wink Saville <wink@google.com> am e03d3718: am d5adcb04: am c187f0e9: Handle provisioning APN by turning off/on data.

* commit 'e03d37181d0e1846e259813d8c7ddeeb33d4d1df':
Handle provisioning APN by turning off/on data.
e03d37181d0e1846e259813d8c7ddeeb33d4d1df 19-Mar-2014 Wink Saville <wink@google.com> am d5adcb04: am c187f0e9: Handle provisioning APN by turning off/on data.

* commit 'd5adcb0455a2253b4e62d72bd8d997081013b266':
Handle provisioning APN by turning off/on data.
d5adcb0455a2253b4e62d72bd8d997081013b266 19-Mar-2014 Wink Saville <wink@google.com> am c187f0e9: Handle provisioning APN by turning off/on data.

* commit 'c187f0e9bfb897405d6c41f669fc2aadacb0ee1e':
Handle provisioning APN by turning off/on data.
ff1e89fdd2cc535c3ce15f6a5bbc6c90a23bdb18 19-Mar-2014 Wink Saville <wink@google.com> am c187f0e9: Handle provisioning APN by turning off/on data.

* commit 'c187f0e9bfb897405d6c41f669fc2aadacb0ee1e':
Handle provisioning APN by turning off/on data.
fb186a5d95223d060a6fb1f78c4ab043ea8ac879 18-Mar-2014 Shishir Agrawal <shishir@google.com> Merge "Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope." into master-nova
5b2ac9494f93e2b462ee08fa8560b697cd190c50 14-Mar-2014 Shishir Agrawal <shishir@google.com> Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope.

The RIL sendEnvelope command does not return the response from the SIM while
the sendEnvelopeWithStatus does. Since the response is required for certain
envelope commands, its better to expose sendEnvelopeWithStatus.

Change-Id: I209bfc59e396bb6f91345d6f99c51cfa35f2d650
nternal/telephony/uicc/UiccCard.java
c187f0e9bfb897405d6c41f669fc2aadacb0ee1e 13-Mar-2014 Wink Saville <wink@google.com> Handle provisioning APN by turning off/on data.

This is a start and two tests succeed:

Tested expired AT&T SIM and waiting 15min for alarm to fire.
Tested a provisioned Verizon SIM and works normally.

I've NOT tested AT&T where I've properly completed the provisioning.
I've NOT tested T-Mobile SIM either provisioned or not-provisioned.
I've NOT tested provisioning over WiFi.
I've NOT tested that WiFi <-> Mobile works
I've NOT tested voice calls, SMS, MMS
...

The current bug is below, but it is poorly named either it should be
renamed or a new bug created.

Bug: 13190133
Change-Id: I0a09f642614cd27a8655e9dae764b8999ce485b8
nternal/telephony/dataconnection/DcTrackerBase.java
451b980c5ce096cb07f418b128810583ec360fa2 12-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> am e175c545: am d47b57ab: am f810d58e: am b0b637db: Switch from SIM to carrier info for wifi country

* commit 'e175c54564f4668a7c7cad8a94fa30cf862da30a':
Switch from SIM to carrier info for wifi country
e175c54564f4668a7c7cad8a94fa30cf862da30a 12-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> am d47b57ab: am f810d58e: am b0b637db: Switch from SIM to carrier info for wifi country

* commit 'd47b57ab12007d107d04eef324094972a12de735':
Switch from SIM to carrier info for wifi country
82d87aeb1a7694d6ba782fb80bb2ede4f242993a 21-Nov-2013 Sudheer Reddy Yampalla <syampa@codeaurora.org> Telephony: Add + for international number for MT SMS

Add + if international number is not having + at starting.

Bug: 10951615
Bug: 11599528
Change-Id: I0000b0685181f17ba6b5b0eaaba60a77971e7908
nternal/telephony/cdma/SmsMessage.java
d47b57ab12007d107d04eef324094972a12de735 11-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> am f810d58e: am b0b637db: Switch from SIM to carrier info for wifi country

* commit 'f810d58e68c195c8559b551b5887c674531b8927':
Switch from SIM to carrier info for wifi country
f810d58e68c195c8559b551b5887c674531b8927 11-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> am b0b637db: Switch from SIM to carrier info for wifi country

* commit 'b0b637dbf2a67c0e7eee917c0809f1cc54983986':
Switch from SIM to carrier info for wifi country
da105a77bd9a5b8943cc85f386d511070e9804af 10-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> am b0b637db: Switch from SIM to carrier info for wifi country

* commit 'b0b637dbf2a67c0e7eee917c0809f1cc54983986':
Switch from SIM to carrier info for wifi country
b0b637dbf2a67c0e7eee917c0809f1cc54983986 06-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> Switch from SIM to carrier info for wifi country

Now will also inform when no known country too.

bug:11062898
Change-Id: I4a938119c1c06898b39b3bcc6124031d2f66dd71
nternal/telephony/MccTable.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
3ae7a034cf883ba2dbd58d325ae93549a991db33 08-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> am fb36cdca: Fix isSameNamedOperatorConsideredRoaming [DO NOT MERGE]

* commit 'fb36cdca91cbbfd12ca680ce0e1a2b33f7e85ab6':
Fix isSameNamedOperatorConsideredRoaming [DO NOT MERGE]
fb36cdca91cbbfd12ca680ce0e1a2b33f7e85ab6 20-Dec-2013 Robert Greenwalt <rgreenwalt@google.com> Fix isSameNamedOperatorConsideredRoaming [DO NOT MERGE]

Does a loop checking data based on your current network,
but exits out based on the result of the first check rather
than doing the rest of the checks.

Bug: 11408729
Bug: 12121959
Change-Id: I37f98682702ec19467f374d64a23e15fb87e9697
nternal/telephony/gsm/GsmServiceStateTracker.java
d6ea8df8468c93e970e07d86092434b2126a3e4a 07-Mar-2014 Wink Saville <wink@google.com> am 4a644652: Merge "Telephony: Handling of supplimentary services in Call"

* commit '4a6446528c86eb723882d9eabd88bd39e7249dbd':
Telephony: Handling of supplimentary services in Call
f1d345d4d5eed816193e7492c44cb5e4209fba8b 07-Mar-2014 Wink Saville <wink@google.com> am a29f56db: Merge "Handle DATA_CALL_LIST in DCC and update dataActivity properly"

* commit 'a29f56db119b93cc5f66c1cf2091a70ef886b30c':
Handle DATA_CALL_LIST in DCC and update dataActivity properly
c618b1363e298f000255e4d0acbbb515b8908fa5 07-Mar-2014 Wink Saville <wink@google.com> am 51a65426: Merge "Telephony API extension v2"

* commit '51a65426edfa3e5fdc36243aba940789001b5ad4':
Telephony API extension v2
9c47fd4df42538e87930f26b840ff197aafeb892 06-Mar-2014 Derek Tan <derektan@google.com> [DO NOT MERGE] Set RUIM as the default CDMA subscription source in Nova.

Change-Id: I6a1a042b193026d453a1db587c09007ca94c28f6
nternal/telephony/Phone.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
65ca59250bff7df8e6952e921891f3ae43d3946c 24-Feb-2014 Evan Charlton <evanc@google.com> Fix the build

setRadioMode was removed; remove it here, too.

Change-Id: I783bb0e0702cb23066f0d6e6b12f1c6918d855d6
nternal/telephony/thirdpartyphone/ThirdPartyCommandInterface.java
0f03cede425eba2b6bb1f664559c36cbe9c59fa0 24-Feb-2014 Jake Hamby <jhamby@google.com> am d17387e8: Merge "Remove unneeded new RIL command."

* commit 'd17387e87e60773f98981e633fd9937e27444b16':
Remove unneeded new RIL command.
d17387e87e60773f98981e633fd9937e27444b16 24-Feb-2014 Jake Hamby <jhamby@google.com> Merge "Remove unneeded new RIL command."
eaf76d3240ca1289ef64a61d37dce6ec1103dc88 21-Feb-2014 Shishir Agrawal <shishir@google.com> resolved conflicts for merge of b25da36f to master-nova

Change-Id: I82ec8f0c6ac1940cbd40145af8c2c2fec5bc089a
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
nternal/telephony/BaseCommands.java
nternal/telephony/CommandsInterface.java
nternal/telephony/PhoneFactory.java
nternal/telephony/RIL.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
91c39249adddc058307c5fa54cd13215c5f21393 19-Feb-2014 Dan Sandler <dsandler@android.com> am ada922d0: Merge "Make GSM restrictions notifications public."

* commit 'ada922d0960604f74f4bdca6ae11a1f65f3c13cd':
Make GSM restrictions notifications public.
ada922d0960604f74f4bdca6ae11a1f65f3c13cd 19-Feb-2014 Dan Sandler <dsandler@android.com> Merge "Make GSM restrictions notifications public."
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
nternal/telephony/CommandsInterface.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/RIL.java
nternal/telephony/RadioNVItems.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
aeeed2f8389c6b8d97aafeb5b60d7f52a7c45823 18-Feb-2014 Wink Saville <wink@google.com> am 720e10fe: am e0eab9dc: am 4a644652: Merge "Telephony: Handling of supplimentary services in Call"

* commit '720e10fe0e1725abb193e488eef525ef3860dba7':
Telephony: Handling of supplimentary services in Call
720e10fe0e1725abb193e488eef525ef3860dba7 18-Feb-2014 Wink Saville <wink@google.com> am e0eab9dc: am 4a644652: Merge "Telephony: Handling of supplimentary services in Call"

* commit 'e0eab9dceacb664229febcc1a8ded4537196383c':
Telephony: Handling of supplimentary services in Call
e0eab9dceacb664229febcc1a8ded4537196383c 18-Feb-2014 Wink Saville <wink@google.com> am 4a644652: Merge "Telephony: Handling of supplimentary services in Call"

* commit '4a6446528c86eb723882d9eabd88bd39e7249dbd':
Telephony: Handling of supplimentary services in Call
4a6446528c86eb723882d9eabd88bd39e7249dbd 18-Feb-2014 Wink Saville <wink@google.com> Merge "Telephony: Handling of supplimentary services in Call"
21450cc03c8a926018807b8eb8ba7729cd8cb0ff 14-Feb-2014 Wink Saville <wink@google.com> am 0d1cda09: am 88d4ed90: am a29f56db: Merge "Handle DATA_CALL_LIST in DCC and update dataActivity properly"

* commit '0d1cda09bc261960ad4991b8aa9d795c7f3aa2dd':
Handle DATA_CALL_LIST in DCC and update dataActivity properly
0d1cda09bc261960ad4991b8aa9d795c7f3aa2dd 14-Feb-2014 Wink Saville <wink@google.com> am 88d4ed90: am a29f56db: Merge "Handle DATA_CALL_LIST in DCC and update dataActivity properly"

* commit '88d4ed90c24f77c22755ea4a283b85f0388872ff':
Handle DATA_CALL_LIST in DCC and update dataActivity properly
88d4ed90c24f77c22755ea4a283b85f0388872ff 14-Feb-2014 Wink Saville <wink@google.com> am a29f56db: Merge "Handle DATA_CALL_LIST in DCC and update dataActivity properly"

* commit 'a29f56db119b93cc5f66c1cf2091a70ef886b30c':
Handle DATA_CALL_LIST in DCC and update dataActivity properly
a29f56db119b93cc5f66c1cf2091a70ef886b30c 14-Feb-2014 Wink Saville <wink@google.com> Merge "Handle DATA_CALL_LIST in DCC and update dataActivity properly"
a37ef22ea615888c90badf01416e0ca251dc137e 13-Feb-2014 Evan Charlton <evanc@google.com> Add missing method to ThirdPartyConnection

Connection introduced a new method; ThirdPartyConnection needs to
return _something_ to be compatible.

Change-Id: I6da6f86eb9fc125db208ca3e46ffa300cd819402
nternal/telephony/thirdpartyphone/ThirdPartyConnection.java
81f99786f2d3754f641efa204ac8c289330e3ef1 13-Feb-2014 Derek Tan <derektan@google.com> Merge "Expose sendEnvelope." into master-nova
9d46c5cd4e3ccde7317763f7ede30af846eb3619 13-Feb-2014 Wink Saville <wink@google.com> am 2a217d8c: am dfbdb663: am 51a65426: Merge "Telephony API extension v2"

* commit '2a217d8ce75d290d63fca765857677912770b833':
Telephony API extension v2
2a217d8ce75d290d63fca765857677912770b833 13-Feb-2014 Wink Saville <wink@google.com> am dfbdb663: am 51a65426: Merge "Telephony API extension v2"

* commit 'dfbdb663843414f4a5734fcb39405179f2f94761':
Telephony API extension v2
dfbdb663843414f4a5734fcb39405179f2f94761 13-Feb-2014 Wink Saville <wink@google.com> am 51a65426: Merge "Telephony API extension v2"

* commit '51a65426edfa3e5fdc36243aba940789001b5ad4':
Telephony API extension v2
fbb008083b0320521c3b8afa17541621f4fdfcc7 05-Feb-2014 Evan Charlton <evanc@google.com> Fix the build [DO NOT MERGE]

Some new CommandInterface methods were added; need to update the
ThirdPartyCommandInterface as well.

Change-Id: I3fce30dab186509ed300719ec947c0a81b95f795
nternal/telephony/thirdpartyphone/ThirdPartyCommandInterface.java
10f68cfb4088df3d57fde617103782e7ee61eadc 05-Feb-2014 Jake Hamby <jhamby@google.com> am 9e2cb635: Fix sending int params to new RIL calls.

* commit '9e2cb6350e698eaefe393cd652e0d0e264682d6e':
Fix sending int params to new RIL calls.
b3636df144a334af6aaafdeb595b498b25ba76b7 05-Feb-2014 Jake Hamby <jhamby@google.com> am f28ac81e: Add new RIL commands to read/write and reset NV items.

* commit 'f28ac81ec36df38307648d404cff4b2b11f46861':
Add new RIL commands to read/write and reset NV items.
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
nternal/telephony/RIL.java
dcca0fbaf728212d182e08fe2239d9d4a5f96516 04-Feb-2014 Derek Tan <derektan@google.com> Expose sendEnvelope.

Change-Id: Ic8226a6302ee6a9ff07f46d68c59007dd3599803
nternal/telephony/uicc/UiccCard.java
40aa66be8a62cdc31a6c12943a181b8751fc4b30 04-Feb-2014 duho.ro <duho.ro@lge.com> am 61ecc19b: am d0658fab: am 7af882af: UICC : delete adn cache after SIM REFRESH RESET

* commit '61ecc19baac8df755fedd81fe9cfab3bd16e897a':
UICC : delete adn cache after SIM REFRESH RESET
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
nternal/telephony/CommandsInterface.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/RIL.java
nternal/telephony/RadioNVItems.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
61ecc19baac8df755fedd81fe9cfab3bd16e897a 31-Jan-2014 duho.ro <duho.ro@lge.com> am d0658fab: am 7af882af: UICC : delete adn cache after SIM REFRESH RESET

* commit 'd0658fab993c397463b60188f24fc6679bb52870':
UICC : delete adn cache after SIM REFRESH RESET
d0658fab993c397463b60188f24fc6679bb52870 31-Jan-2014 duho.ro <duho.ro@lge.com> am 7af882af: UICC : delete adn cache after SIM REFRESH RESET

* commit '7af882af5b1195e03881a61f177adf86e44ab76f':
UICC : delete adn cache after SIM REFRESH RESET
f95c5747663abd9fd84ababa0d69e5f477e11c69 30-Jan-2014 Dan Sandler <dsandler@android.com> Make GSM restrictions notifications public.

These notifications ("Restricted access changed", ...) will
now be readable on the secure keyguard for devices where
this behavior is enabled. See change I1552db36.

Change-Id: I1d4c5e3a032d09fe8ef9aa1db23c1d0abb107755
nternal/telephony/gsm/GsmServiceStateTracker.java
48756d11b2cd42a359aabaa1a496f3e81f603d25 30-Jan-2014 Shishir Agrawal <shishir@google.com> am c6685a68: Do not rely on channel id to determine basic vs logical sim channel commands.

* commit 'c6685a68c55405300c798c087d95a882de54b900':
Do not rely on channel id to determine basic vs logical sim channel commands.
7af882af5b1195e03881a61f177adf86e44ab76f 27-Jan-2014 duho.ro <duho.ro@lge.com> UICC : delete adn cache after SIM REFRESH RESET

delete ADN cache after SIM REFRESH RESET for updating the SIM contacts

Bug: 12751374
Change-Id: I2d707dca3e76271f203b1b86212947e3287a8ed1
nternal/telephony/uicc/SIMRecords.java
ac9c712e8ac929fec2f91f738d85148919ceeebe 29-Dec-2013 Dave Daynard <nardholio@gmail.com> Allow tablets to send SMS if enabled in device overlays (2/2)

Change-Id: I30299d44eb59e89104b9b0b90be10da2a6ce62ac
nternal/telephony/SmsApplication.java
b077af12dfe0abfcdd51ce5c9852940b89567e99 24-Aug-2013 Yashdev Singh <yashdevs@codeaurora.org> Handle DATA_CALL_LIST in DCC and update dataActivity properly

Update mActivity in DCC before notifyDataActivity. Without this change,
the notifyDataActivity was notifying incorrect data activity status
due to race condition between DCT when mActivity was updated and
DCC thread where notifyDataActivity was called.

Bug: 11596853
Change-Id: Iffb7bf369062264dd773338c732bc69318d90b73
nternal/telephony/dataconnection/DcController.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.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
nternal/telephony/Connection.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneNotifier.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/sip/SipConnectionBase.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
nternal/telephony/RIL.java
0ad446f732a4ab2fd6e4215f5821451054501640 20-Dec-2013 Robert Greenwalt <rgreenwalt@google.com> am 8f907c9c: Fix isSameNamedOperatorConsideredRoaming

* commit '8f907c9c49c5e441b0e9fe050f67be686e1c91f2':
Fix isSameNamedOperatorConsideredRoaming
8f907c9c49c5e441b0e9fe050f67be686e1c91f2 20-Dec-2013 Robert Greenwalt <rgreenwalt@google.com> Fix isSameNamedOperatorConsideredRoaming

Does a loop checking data based on your current network,
but exits out based on the result of the first check rather
than doing the rest of the checks.

bug:11408729
Change-Id: I37f98682702ec19467f374d64a23e15fb87e9697
nternal/telephony/gsm/GsmServiceStateTracker.java
f2b88abdd45304a33dd124a8db528890920c8de7 17-Dec-2013 Shishir Agrawal <shishir@google.com> am 9e301b65: Merge "Adding support for SIM communication from Android over logical channels."

* commit '9e301b6532e041491806aa8ee451953c58a62770':
Adding support for SIM communication from Android over logical channels.
9e301b6532e041491806aa8ee451953c58a62770 17-Dec-2013 Shishir Agrawal <shishir@google.com> Merge "Adding support for SIM communication from Android over logical channels."
62ebc8d55e1a7b0bd81e7d1b3704ae10975a78d7 16-Dec-2013 Wink Saville <wink@google.com> am 6e333253: am 4e73876d: am 89edee05: Merge "Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL."

* commit '6e3332539a14cda347d21cabe4c0220db2256415':
Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL.
4e73876d66792cf5f9e307d3c0d7164a7cae7f2a 16-Dec-2013 Wink Saville <wink@google.com> am 89edee05: Merge "Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL."

* commit '89edee054acf2d7fee73f9c3ba7d5ab75d0b1245':
Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL.
1bedce664e0a12039294e8fd48a83ece0d271ce0 16-Dec-2013 Shishir Agrawal <shishir@google.com> Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL.

On error, the RIL implementation should throw an error and the value returned
does not need to be valid.

Change-Id: Idf81e6f7e2aa5e967e97cef402dfd53150b9b183
nternal/telephony/CommandsInterface.java
2ff94e2cba3b3709a7d0b1aa6c3f18c2db9329d1 14-Dec-2013 Wink Saville <wink@google.com> am 039c240c: am 19e22266: am de9ca65e: Merge "Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error."

* commit '039c240c1b6024a43d066418ebf6ee63f9b6d8fa':
Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error.
19e22266a25a48700baf79e89deb728202384a80 13-Dec-2013 Wink Saville <wink@google.com> am de9ca65e: Merge "Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error."

* commit 'de9ca65e9ecdef899ea2e3b7f07ba87bfb97a9a4':
Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error.
bc3d0478e95b40f7ef6fa53e4cd60bbad91f7abe 13-Dec-2013 Shishir Agrawal <shishir@google.com> Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error.

Changing the RIL_REQUEST_SIM_OPEN_CHANNEL comment to state that the modem
should return -1 on error and not 0.

Change-Id: Ied71c23857659048f080531b79f98eb9db221c96
nternal/telephony/CommandsInterface.java
300cc7bd83f881abd0653a42f975223e0ab60cd4 28-Oct-2013 Shishir Agrawal <shishir@google.com> Adding support for SIM communication from Android over logical channels.

Expose the following functions through through UiccCard:
- CommandsInterface.iccOpenLogicalChannel
- CommandsInterface.iccCloseLogicalChannel
- CommandsInterface.iccTransmitApduLogicalChannel

Change-Id: I89c08adc6f9738907e3b547c749f3cc61f300710
nternal/telephony/uicc/UiccCard.java
7cbf26584b39faf6c20feb8ad7603ea1bfbcad28 15-Nov-2013 Sailesh Nepal <sail@google.com> DO NOT MERGE ThirdPartyPhone Implement post dial

Change-Id: I7c30566d7e0bd9838d17612ca7b61aec4208854b
nternal/telephony/thirdpartyphone/ThirdPartyCall.java
nternal/telephony/thirdpartyphone/ThirdPartyConnection.java
nternal/telephony/thirdpartyphone/ThirdPartyPhone.java
nternal/telephony/thirdpartyphone/ThirdPartyPostDialHelper.java
cfde4902ed7caa585de61234be3a07a03a398e71 06-Dec-2013 Jake Hamby <jhamby@google.com> am 7ee5574d: am ed38d9d3: am f39de086: am ddeba83b: Merge "Consider EF-SMS for both gsm and cdma"

* commit '7ee5574d721bb36ffa28c8f09debf0b684d8f157':
Consider EF-SMS for both gsm and cdma
ed38d9d37e67f68d09ad8b32158390a94549eba9 06-Dec-2013 Jake Hamby <jhamby@google.com> am f39de086: am ddeba83b: Merge "Consider EF-SMS for both gsm and cdma"

* commit 'f39de086fddea9e9f6b8c56b04d8dd38a84237db':
Consider EF-SMS for both gsm and cdma
f39de086fddea9e9f6b8c56b04d8dd38a84237db 06-Dec-2013 Jake Hamby <jhamby@google.com> am ddeba83b: Merge "Consider EF-SMS for both gsm and cdma"

* commit 'ddeba83b6c611b3c408df12ae6de8a22a4311047':
Consider EF-SMS for both gsm and cdma
ddeba83b6c611b3c408df12ae6de8a22a4311047 06-Dec-2013 Jake Hamby <jhamby@google.com> Merge "Consider EF-SMS for both gsm and cdma"
ef4e613fc172bb1fcc2152d3b7197bb1eb16417f 05-Dec-2013 Shishir Agrawal <shishir@google.com> Build fix due to changes in RIL interface.

Fixing the build breakage due to change Iee4d950d37a6097493cd945e611c914c40827215 on AOSP.

Change-Id: Iad7d42f0f745fd362e2f0337eb7a8d5b7cf35398
nternal/telephony/thirdpartyphone/ThirdPartyCommandInterface.java
7330d304407448eceababbe4772253b135674f27 05-Dec-2013 The Android Open Source Project <initial-contribution@android.com> Merge commit 'eb7d144424aae66b25737a8d8791d192c980d86b' into HEAD
f930403a0d325db8bac92049c25a8dfb7ed88880 05-Dec-2013 John Huang <jsh@android.com> am 759f35e3: am dc0a7a65: am 9e6a8351: Merge "RIL changes for supporting generic SIM communication."

* commit '759f35e38841b99f5eb4023abc12b044ad9cb56d':
RIL changes for supporting generic SIM communication.
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.
4c38e9fdb127dc3e47da5940cd4c514a4d42b306 04-Dec-2013 Jake Hamby <jhamby@google.com> am 57d10b12: am 3818934e: am 023346cf: Fix OOBE crash/DoS after receiving 0-byte WAP push.

* commit '57d10b125dd24d160374155eb3824d47ddb25817':
Fix OOBE crash/DoS after receiving 0-byte WAP push.
3818934e36aa932bb134177858e68446df22869c 04-Dec-2013 Jake Hamby <jhamby@google.com> am 023346cf: Fix OOBE crash/DoS after receiving 0-byte WAP push.

* commit '023346cf9050c146a36eedd14886d0e9a679dc49':
Fix OOBE crash/DoS after receiving 0-byte WAP push.
023346cf9050c146a36eedd14886d0e9a679dc49 03-Dec-2013 Jake Hamby <jhamby@google.com> Fix OOBE crash/DoS after receiving 0-byte WAP push.

Add a try/catch block around the code in WapPushOverSms.dispatchWapPdu(),
so we don't get into a reboot trap on receiving weirdly formed messages.
Only catch ArrayIndexOutOfBoundsException, which is difficult to
prevent inside dispatchWapPdu() for 0-byte PDUs or other unusual
contents. The caller should probably catch any unhandled exceptions of other types and log them with stack traces.

Bug: 11967705
Change-Id: Iabfec68d2564dd438d45c80cdba877bf19fa0397
nternal/telephony/WapPushOverSms.java
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
nternal/telephony/CommandException.java
nternal/telephony/CommandsInterface.java
nternal/telephony/RIL.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
543d79cc5e7281675345ba7ddb8baa930f548b50 22-Nov-2013 The Android Open Source Project <initial-contribution@android.com> Merge commit '3ab4c135be3d5d3bf529f63ef932f95526401feb' into HEAD
8e8fdf80a3885872099fc323177267a0665be951 22-Nov-2013 Wink Saville <wink@google.com> am e48f8ae8: am 41789901: am d84e5b87: Merge "Telephony: Add + for international number for MT SMS"

* commit 'e48f8ae8404d373ca3eecc0247ca563bb0f26cd6':
Telephony: Add + for international number for MT SMS
41789901b3111a86f464db4d396e18a249ea7fd5 22-Nov-2013 Wink Saville <wink@google.com> am d84e5b87: Merge "Telephony: Add + for international number for MT SMS"

* commit 'd84e5b87e46374fee5dbccc15cfe9a12208ceb65':
Telephony: Add + for international number for MT SMS
03a6ba71a72e9fdea38dd448e8a80a49efa034d6 21-Nov-2013 Wink Saville <wink@google.com> am b4b6c433: am eb7d1444: am 449cbf85: if provisioning apn conditionally restart the radio.

* commit 'b4b6c433a38346fb6740b98e3970089b8c87f5c9':
if provisioning apn conditionally restart the radio.
d84e5b87e46374fee5dbccc15cfe9a12208ceb65 21-Nov-2013 Wink Saville <wink@google.com> Merge "Telephony: Add + for international number for MT SMS"
190e9453b0f2be4fde4b5ed4144032b98ff36087 21-Nov-2013 Wink Saville <wink@google.com> am 1cddc127: am cb5e0c4b: am a28a290b: Merge "Telephony: unchange SIM info from CDMAPhone when SIM exists" into klp-dev

* commit '1cddc1276346d56c71d0d8afe7ca330064cb0495':
Telephony: unchange SIM info from CDMAPhone when SIM exists
7c1acc7e8b3b7e936d548056d4413e8a1931eccc 21-Nov-2013 David Braun <dabraun@google.com> am 5eaae88f: am f2b98644: am 98003f87: Merge "Do not attempt to configure null preferred activity" into klp-dev

* commit '5eaae88f5ef23ac720921c0028204357ba315255':
Do not attempt to configure null preferred activity
fb6993514d3ff6f0152dda7c8911411db028516b 21-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> am f2e707c8: am 32581b37: am 088822a2: Merge "Use settings DB only when mcc/mnc matches SIM" into klp-dev

* commit 'f2e707c89d1a7248a9451eb058fd9896efac2af8':
Use settings DB only when mcc/mnc matches SIM
eb7d144424aae66b25737a8d8791d192c980d86b 15-Nov-2013 Wink Saville <wink@google.com> am 449cbf85: if provisioning apn conditionally restart the radio.

* commit '449cbf85380bd1d6716b7ab002da1efb9493bb02':
if provisioning apn conditionally restart the radio.
449cbf85380bd1d6716b7ab002da1efb9493bb02 15-Nov-2013 Wink Saville <wink@google.com> if provisioning apn conditionally restart the radio.

Some radios need a swift kick in the butt after provisioning.

Bug: 11673637
Change-Id: Ie758a303fd751d204fd6baa60217e88df6376aae
nternal/telephony/dataconnection/DcTracker.java
dcd243a59c88eee16e58d2b3be88cbef0ebfe71e 15-Nov-2013 Sailesh Nepal <sail@google.com> Merge "ThirdPartyPhone: DTMF & callerDisplayName Impl DO NOT MERGE" into master-nova
cb5e0c4b2542d43872bbdab065190f86027e80d5 14-Nov-2013 Wink Saville <wink@google.com> am a28a290b: Merge "Telephony: unchange SIM info from CDMAPhone when SIM exists" into klp-dev

* commit 'a28a290b5747609a71ccb689ce1937e5787bb3e8':
Telephony: unchange SIM info from CDMAPhone when SIM exists
a28a290b5747609a71ccb689ce1937e5787bb3e8 14-Nov-2013 Wink Saville <wink@google.com> Merge "Telephony: unchange SIM info from CDMAPhone when SIM exists" into klp-dev
f2b98644e79f1abfc63e1d4f496927f19d503cdb 14-Nov-2013 David Braun <dabraun@google.com> am 98003f87: Merge "Do not attempt to configure null preferred activity" into klp-dev

* commit '98003f87d01a98d3fd2a0561d0cfa45912ba2325':
Do not attempt to configure null preferred activity
98003f87d01a98d3fd2a0561d0cfa45912ba2325 14-Nov-2013 David Braun <dabraun@google.com> Merge "Do not attempt to configure null preferred activity" into klp-dev
d8fb3ddda34db44297cf4b0f970b01bf58598960 14-Nov-2013 David Braun <dabraun@google.com> Do not attempt to configure null preferred activity

On non-phone devices the default SMS app is null. During the set/get paths
we would not try to configure the activity, but during the package update
path we called 'getDefaultSendToApplication" and configured it without
validating that it is non-null. This change adds the null check.

Bug: 11482259 When default SMS app changes we need to update the default app for the SEND intent
Change-Id: I227cfd803fd0667d78918a720b5a6eae9d57ea9d
nternal/telephony/SmsApplication.java
ce06370fc58f59abda3cb072326e9425da3d755d 13-Nov-2013 Wink Saville <wink@google.com> Telephony: unchange SIM info from CDMAPhone when SIM exists

This change is to prevent for updating the properties of 3GPP SIM
from the CDMAPhone when the 3GPP SIM exists on the card.

Bug: 11189478
Bug: 11360679
Change-Id: If849f8e0d6d6a1750cae045e35f3f92d73db4a20
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
32581b37e0d57fd1ba0e138a507b9620e722ec1b 13-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> am 088822a2: Merge "Use settings DB only when mcc/mnc matches SIM" into klp-dev

* commit '088822a20462b9f364c22c88dbba2091000e2f4b':
Use settings DB only when mcc/mnc matches SIM
088822a20462b9f364c22c88dbba2091000e2f4b 13-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Use settings DB only when mcc/mnc matches SIM" into klp-dev
c04ccade6ebce9380ec5ebbd4bc99ba2bc774ab0 13-Nov-2013 David Braun <dabraun@google.com> am 353d358d: am bb506aa0: am 4f7d3a53: Merge "Update preferred activity for SMS related SENDTO intents" into klp-dev

* commit '353d358df882f5211aadb30b11545f5d0bd39dcb':
Update preferred activity for SMS related SENDTO intents
bb506aa0380b79a8713891ea1877d9e2e89017f8 13-Nov-2013 David Braun <dabraun@google.com> am 4f7d3a53: Merge "Update preferred activity for SMS related SENDTO intents" into klp-dev

* commit '4f7d3a536463db34dd6613685eb27593596377ef':
Update preferred activity for SMS related SENDTO intents
4f7d3a536463db34dd6613685eb27593596377ef 13-Nov-2013 David Braun <dabraun@google.com> Merge "Update preferred activity for SMS related SENDTO intents" into klp-dev
ff51a1e0381b303e5bb7e4e0a8a6ad7d124437bd 12-Nov-2013 Sungmin Choi <sungmin.choi@lge.com> Use settings DB only when mcc/mnc matches SIM

Bug: 11600521
Change-Id: Iaeb1f279bf454ad0e7b933b8ac97d6384d599b59
nternal/telephony/dataconnection/DcTrackerBase.java
d2af9a59b3d47b32918a49630dfa160598f53247 13-Nov-2013 Sailesh Nepal <sail@google.com> ThirdPartyPhone: DTMF & callerDisplayName Impl DO NOT MERGE

This is the impl side of the DTMF and callerDisplayName support.

Change-Id: Ib7033e658c4e62f99acf12dd2a4ea357150fb317
nternal/telephony/thirdpartyphone/ThirdPartyCall.java
nternal/telephony/thirdpartyphone/ThirdPartyConnection.java
nternal/telephony/thirdpartyphone/ThirdPartyPhone.java
b0a2ca8940207a68860e94c3d526d86481b2dc99 13-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> am c824c13c: am d4ae7c9a: am 53a0a7fd: Notify all ApnContexts on a conn of Disconnect

* commit 'c824c13c3f01a59cde72af40a026781d1f7b9b19':
Notify all ApnContexts on a conn of Disconnect
d4ae7c9a0862d0b8075573b5910fce40e79feea8 13-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> am 53a0a7fd: Notify all ApnContexts on a conn of Disconnect

* commit '53a0a7fd4954c3fd140e1123fcb0ac65d9e6c6c3':
Notify all ApnContexts on a conn of Disconnect
8a4c72815186db4187587d4fc62125540a0e42a8 12-Nov-2013 David Braun <dabraun@google.com> Update preferred activity for SMS related SENDTO intents

Updates the preferred SENDTO activity for sms/mms schemes so that the user
will not see an intent disambiguation dialog for SENDTO sms/mms.

- Update preferred activity on set default SMS app
- Update preferred activity on "secure" get default SMS app
- Update preferred activity on package install/uninstall

Bug:11482259 When default SMS app changes we need to update the default app for the SEND intent
Change-Id: Ib2752fe84389f1c50cf2aa5841e75c3913b94e18
nternal/telephony/PhoneFactory.java
nternal/telephony/SmsApplication.java
53a0a7fd4954c3fd140e1123fcb0ac65d9e6c6c3 12-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> Notify all ApnContexts on a conn of Disconnect

Without this you can end up with default thinking
it's connected when it's actually not.

bug:10212445
Change-Id: Iffe3bf2064ac6c9f8e68ddb0d2b5115deaac2033
nternal/telephony/dataconnection/DataConnection.java
34678c32b95cfc697a9eb2ded099abe43d969ee7 09-Nov-2013 Wink Saville <wink@google.com> am 4069b13f: am 9e646252: am 1795b863: Fix documenation IMS registration state.

* commit '4069b13fb496dc15e421a9015752b20602dc9515':
Fix documenation IMS registration state.
978019a2de88fdd72a97dd5e807a530d4a133065 09-Nov-2013 Sailesh Nepal <sail@google.com> Merge "Set audio mode for ThirdPartyPhone DO NOT MERGE" into master-nova
9e64625225d9979f8ae842c21de23d55d3f9f8bf 09-Nov-2013 Wink Saville <wink@google.com> am 1795b863: Fix documenation IMS registration state.

* commit '1795b863255a10f7734b4beb1fdfce9012857a26':
Fix documenation IMS registration state.
1795b863255a10f7734b4beb1fdfce9012857a26 09-Nov-2013 Wink Saville <wink@google.com> Fix documenation IMS registration state.

Bug: 11599127
Change-Id: Id0016bca45ea84983c9280f55b0b1ccdcececc03
nternal/telephony/CommandsInterface.java
4fc7311ffd330545e562907644a80a3ec854a856 09-Nov-2013 Sailesh Nepal <sail@google.com> Set audio mode for ThirdPartyPhone DO NOT MERGE

With this CL we use MODE_IN_COMMUNICATION instead of
MODE_IN_CALL. This matches the behavior of SipPhone.

Using this mode also fixes an issue where echo cancellation wasn't
working.

Change-Id: Ic84c5cbf804bc85e24eddf56e9c95e6e221db3ea
nternal/telephony/CallManager.java
8223a313fc835fe5769279f5f993cf560100fcf4 09-Nov-2013 Wink Saville <wink@google.com> am 486f0026: am 757cbf35: am 38c4118a: Merge "SMS over IMS bug fixes" into klp-dev

* commit '486f0026a388c295ef416f440304e3505dc3edf8':
SMS over IMS bug fixes
53d1d6d26da205c4f3f31c8f56fefb7092e71791 09-Nov-2013 Jake Hamby <jhamby@google.com> am e3f1e569: am 0fed7c48: am c0384e80: Merge "Fix GSMPhone.getServiceState() when mSST is null." into klp-dev

* commit 'e3f1e569757c10c13fabb269831d4c5f5e930a29':
Fix GSMPhone.getServiceState() when mSST is null.
e3f1e569757c10c13fabb269831d4c5f5e930a29 09-Nov-2013 Jake Hamby <jhamby@google.com> am 0fed7c48: am c0384e80: Merge "Fix GSMPhone.getServiceState() when mSST is null." into klp-dev

* commit '0fed7c48321e61315d658691759a39a8415d28bc':
Fix GSMPhone.getServiceState() when mSST is null.
757cbf355745298ee73aa25f77686070d21593d8 09-Nov-2013 Wink Saville <wink@google.com> am 38c4118a: Merge "SMS over IMS bug fixes" into klp-dev

* commit '38c4118a1a5bd8f4075063baa7b93244fa4f0263':
SMS over IMS bug fixes
38c4118a1a5bd8f4075063baa7b93244fa4f0263 09-Nov-2013 Wink Saville <wink@google.com> Merge "SMS over IMS bug fixes" into klp-dev
0fed7c48321e61315d658691759a39a8415d28bc 09-Nov-2013 Jake Hamby <jhamby@google.com> am c0384e80: Merge "Fix GSMPhone.getServiceState() when mSST is null." into klp-dev

* commit 'c0384e80b55813054add7904c78a583a180ffa76':
Fix GSMPhone.getServiceState() when mSST is null.
2ad65b760c52976fe3aa8740934f9cfa108ad4fc 08-Nov-2013 Jake Hamby <jhamby@google.com> Fix GSMPhone.getServiceState() when mSST is null.

Prevent NPE when getServiceState() is called on GSMPhone after
removeReferences() is called on it.

Bug: 11561165
Change-Id: I77c3638dc33b24711db2d8541b067e17e30255a1
nternal/telephony/gsm/GSMPhone.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
nternal/telephony/BaseCommands.java
nternal/telephony/CommandsInterface.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/PhoneBase.java
nternal/telephony/RIL.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
1a792b265d929c27246c5b173f2f2694f30dc228 09-Jan-2013 Suresh Koleti <skolet@codeaurora.org> Query GET_SIM_STATUS when radio state is OFF

Boot up target in airplane mode with SIM, not showing any
card status on lock screen because telephony will query
GET_SIM_STATUS only if radio is ON.

Query GET_SIM_STATUS if radio is OFF to show the card
status on lock screen even in airplane mode.

Bug: 11539415
Change-Id: I9978b85798806bf35ab8aac69e528bb3d606959b
nternal/telephony/uicc/UiccController.java
0e4839f120dfe91f93bd164257fe61851530449b 17-Oct-2012 Rakesh Pallerla <rakesh@codeaurora.org> Consider EF-SMS for both gsm and cdma

EF-SMS each record length is 176 for GSM and 255 for CDMA.
Consider proper length depending on phone type to avoid crash.

Spec Ref: TS 51.011 10.5.3 for GSM and C.S0023 3.4.27 for CDMA.

Bug: 9111160

Change-Id: I755ca0fa97745d2f9caa30177209a2efa45df409
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/uicc/IccConstants.java
dc2a2521bc7a7b3e9a0c47f98f8bd34da6b1b1bb 06-Nov-2013 Sailesh Nepal <sail@google.com> Merge "Add new phone type DO NOT MERGE" into master-nova
932572d2f17168e32da02feaab4a7ca284e4ca86 21-Oct-2013 Sailesh Nepal <sail@google.com> Add new phone type DO NOT MERGE

This CL adds a new phone type: PHONE_TYPE_THIRD_PARTY. If a 3rd party
app implements android.intent.action.THIRD_PARTY_CALL_SERVICE then
this phone can connect to it and have it implement all the
functionality.

This should be useful for VOIP apps that need to use the native call
UI.

With this patch things like the call log, mute, speaker phone work.
Things that aren't implemented yet are:
- hold and conferencing
- DTMF
- post dial

I'm currently testing this by patching PhoneFactory and creating an
instance of ThirdPartyPhone as the default phone. I'll send out a
CL later to dynamically choose the phone based on available services.

Change-Id: I40f53da12d4b1ebdb88b7a8b0969789be8fd4b7c
nternal/telephony/PhoneFactory.java
nternal/telephony/thirdpartyphone/ThirdPartyCall.java
nternal/telephony/thirdpartyphone/ThirdPartyCommandInterface.java
nternal/telephony/thirdpartyphone/ThirdPartyConnection.java
nternal/telephony/thirdpartyphone/ThirdPartyPhone.java
1a62dc651eb85eb13b60df4931daa8f2bc1df3ef 06-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> am d9990230: am a500ee7f: Merge "Add single-pdn arbitration." into klp-dev

* commit 'd999023045e8ef75d48ebbafb6d6056d4b12094c':
Add single-pdn arbitration.
d999023045e8ef75d48ebbafb6d6056d4b12094c 06-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> am a500ee7f: Merge "Add single-pdn arbitration." into klp-dev

* commit 'a500ee7fd60949cc1f5646442a95c4c4edc721c4':
Add single-pdn arbitration.
8aeea40d7eb02758170f8296d7b65fc1e87fe6d4 06-Nov-2013 Zhihai Xu <zhihaixu@google.com> am 5c37e0a0: am 64d48220: Merge "problem to send SMS message by bluetooth MAP profile." into klp-dev

* commit '5c37e0a073a89f5eb0a05a75fa0cc81a03497f66':
problem to send SMS message by bluetooth MAP profile.
3c848c0b160907b1d110aafe35038f62c24520ac 06-Nov-2013 Zhihai Xu <zhihaixu@google.com> am 22975471: am 3162ee6d: Merge "add SMS write permission for bluetooth package to support MAP profile." into klp-dev

* commit '229754718393378cbfd64c88e45cce7e0421cbba':
add SMS write permission for bluetooth package to support MAP profile.
5c37e0a073a89f5eb0a05a75fa0cc81a03497f66 06-Nov-2013 Zhihai Xu <zhihaixu@google.com> am 64d48220: Merge "problem to send SMS message by bluetooth MAP profile." into klp-dev

* commit '64d4822073f42857ee378e55d99ce642480fc223':
problem to send SMS message by bluetooth MAP profile.
229754718393378cbfd64c88e45cce7e0421cbba 06-Nov-2013 Zhihai Xu <zhihaixu@google.com> am 3162ee6d: Merge "add SMS write permission for bluetooth package to support MAP profile." into klp-dev

* commit '3162ee6dd59a205ce2f50bacc7793d59d33a5a81':
add SMS write permission for bluetooth package to support MAP profile.
a500ee7fd60949cc1f5646442a95c4c4edc721c4 06-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Add single-pdn arbitration." into klp-dev
64d4822073f42857ee378e55d99ce642480fc223 06-Nov-2013 Zhihai Xu <zhihaixu@google.com> Merge "problem to send SMS message by bluetooth MAP profile." into klp-dev
3162ee6dd59a205ce2f50bacc7793d59d33a5a81 06-Nov-2013 Zhihai Xu <zhihaixu@google.com> Merge "add SMS write permission for bluetooth package to support MAP profile." into klp-dev
a344b729fc2ccd7339819167ad00b15812de540f 05-Nov-2013 Wink Saville <wink@google.com> am 5e98fb73: am 69601e44: Merge "Do not display dialog when PUK attempts remaining is 0." into klp-dev

* commit '5e98fb7366ac13e423b7a040c2795cbf306f4c72':
Do not display dialog when PUK attempts remaining is 0.
5e98fb7366ac13e423b7a040c2795cbf306f4c72 05-Nov-2013 Wink Saville <wink@google.com> am 69601e44: Merge "Do not display dialog when PUK attempts remaining is 0." into klp-dev

* commit '69601e4456a458ccad67429cb7462e33d0a9ef13':
Do not display dialog when PUK attempts remaining is 0.
3fad7daba62dcb7aafc4adc7f8cc123726ed5a7c 31-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> Add single-pdn arbitration.

If a device or network can only support a single data connection
then we need to tear down lower priority connections in favor
of higher priority requests.

bug:10212445
Change-Id: I5ff38ae3be993aee51b6716045e6857b4f2942af
nternal/telephony/Phone.java
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
13c54a4e9e72d41c97789f146a47b0f2375d04ea 05-Nov-2013 Jake Hamby <jhamby@google.com> am 8afaf915: am 8409d93c: Use new PhoneNumberUtils method for CDMA MO SMS formatting.

* commit '8afaf915e250524c199c33f49bbbf93cb2e60946':
Use new PhoneNumberUtils method for CDMA MO SMS formatting.
69601e4456a458ccad67429cb7462e33d0a9ef13 05-Nov-2013 Wink Saville <wink@google.com> Merge "Do not display dialog when PUK attempts remaining is 0." into klp-dev
8afaf915e250524c199c33f49bbbf93cb2e60946 05-Nov-2013 Jake Hamby <jhamby@google.com> am 8409d93c: Use new PhoneNumberUtils method for CDMA MO SMS formatting.

* commit '8409d93cf9f3ed23db12f24b4f49063ea416b30b':
Use new PhoneNumberUtils method for CDMA MO SMS formatting.
8409d93cf9f3ed23db12f24b4f49063ea416b30b 05-Nov-2013 Jake Hamby <jhamby@google.com> Use new PhoneNumberUtils method for CDMA MO SMS formatting.

For CDMA networks, convert "+" prefix to "011" if the home network
is using the North American Numbering Plan (NANP). Previously the
roaming network numbering plan was also checked, but for MO SMS,
only the home network numbering plan is relevant.

Bug: 11360679
Change-Id: Ia54f00c0ff2012622003ed4003b7fb59451b0bea
nternal/telephony/cdma/CdmaServiceCategoryProgramHandler.java
nternal/telephony/cdma/SmsMessage.java
6d3c836bb8991e9cf7ffb322ebabf48c2446126d 04-Nov-2013 Wink Saville <wink@google.com> Do not display dialog when PUK attempts remaining is 0.

When using MMI codes to set a new pin and the attempts remaining becomes
zero the lock screen, KeyguardSimPukView, will be handling resetting the
PIN using the PUK. Therefore we set the MmiCode state to CANCELLED which
causes the dialog to be dismissed. If we don't do this then after setting
the new PIN from the lock screen the dialog will still be present
indicating the user still needs to set the PIN.

Bug: 9928717
Change-Id: Ic7dc51ba684a1fd623f2cab0a89f40ef8ff491d5
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/gsm/GsmMmiCode.java
4931e2c19616ab5985f61f343b231efb33692241 01-Nov-2013 Zhihai Xu <zhihaixu@google.com> problem to send SMS message by bluetooth MAP profile.

Currently SMSDispatcher will add the message to Sms.Sent database
for all non default SMS application.
This won't work for Bluetooth MAP profile.
In the bluetooth MAP spec, at 5.8 PushMessageFunction,
there are a parameter to control how to send the message by Bluetooth MAP.
Transparent:This parameter may be used to indicate to the MSE(phone)
that no copy of the message shall be kept in the 'Sent' folder
after the message was sent. This is especially useful for telematics applications,
e.g., frequent sending of car's speed and position for traffic measurements
(floating car data).
This application parameter is optional. The value of this parameter is "OFF"
(keep messages in 'Sent' folder) and "ON" (don't keep messages in Sent' folder).
If Transparent is "ON", we shouldn't put the message in Sent folder.
SMSDispatcher always put the message in Sms.Sent
which is mapped to the Sent folder in bluetooth MAP.
Prefer to let bluetooth to decide whether put the message in Sms.Sent based
on Transparent parameter value.

bug:11454636
Change-Id: I2e6c8deb5c4ed8bc9a3d90d492f4d4eb7dac7e5c
nternal/telephony/SMSDispatcher.java
nternal/telephony/SmsApplication.java
29d54de0fb4b933a396a5c664df6a33016c494cf 31-Oct-2013 Wink Saville <wink@google.com> am 1f1a9d73: am a3cfd73a: Merge "When phone changes update InBoundSmsHandlers and CellBroadcastHandlers." into klp-dev

* commit '1f1a9d7345aff34872b9eff5d473e5446a0f9ca7':
When phone changes update InBoundSmsHandlers and CellBroadcastHandlers.
1f1a9d7345aff34872b9eff5d473e5446a0f9ca7 31-Oct-2013 Wink Saville <wink@google.com> am a3cfd73a: Merge "When phone changes update InBoundSmsHandlers and CellBroadcastHandlers." into klp-dev

* commit 'a3cfd73ab9b464c93624839d2415981a00a44299':
When phone changes update InBoundSmsHandlers and CellBroadcastHandlers.
a3cfd73ab9b464c93624839d2415981a00a44299 31-Oct-2013 Wink Saville <wink@google.com> Merge "When phone changes update InBoundSmsHandlers and CellBroadcastHandlers." into klp-dev
9382b17d503c107b38610b217ba7c93525be206a 30-Oct-2013 Zhihai Xu <zhihaixu@google.com> add SMS write permission for bluetooth package to support MAP profile.

bug:11415002
Change-Id: I177210e4139560b066ae40f100ca09ea35805359
nternal/telephony/SmsApplication.java
d2feaf918ab0c1173d4ada182532e48d0c0d3f77 31-Oct-2013 Wink Saville <wink@google.com> When phone changes update InBoundSmsHandlers and CellBroadcastHandlers.

Without this change for devices where the phone can change, for instance
on N5 with Sprint the phone will change from a GSMPhone to a CDMALTEPhone
and messages will not be sent to the appropriate handler.

For Sprint this was most readily seen when the voice mail notification
wasn't sent to the notification manager.

Bug: 11254397
Change-Id: Ia0e764cf6fa04208a7e194a35435f251a177309f
nternal/telephony/CellBroadcastHandler.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/WakeLockStateMachine.java
nternal/telephony/cdma/CdmaInboundSmsHandler.java
nternal/telephony/cdma/CdmaServiceCategoryProgramHandler.java
nternal/telephony/gsm/GsmCellBroadcastHandler.java
nternal/telephony/gsm/GsmInboundSmsHandler.java
e9b51188f9a7f3d80d2fa1a50ddb135b4109ffb8 31-Oct-2013 Narayan Kamath <narayan@google.com> am 99de2417: Merge "Delete unused GSMPhone debugging code."

* commit '99de241766ea4bb63fc759e262cbfd42c7ac1f12':
Delete unused GSMPhone debugging code.
67a3ed2a55b65d9dfb0120c5c507e6325d2fa447 24-Oct-2013 Narayan Kamath <narayan@google.com> Delete unused GSMPhone debugging code.

Manual cherry picks of internal changes:
- 9bb18bb9f325269c213eaed8f25ff1f1843093f7
- 67d6ba34ef5299b98a8d53f19bd499be1ec176ba

I've manually cherry picked them because the branches
are substantially different, and the changes are
dependant on each other.

Change-Id: I63ba8b93f77d461dc1d01252805e0804ba678c43
nternal/telephony/gsm/GSMPhone.java
df5b238a79f9632c1e4658a860f4c04234dbc76c 28-Oct-2013 duho.ro <duho.ro@lge.com> am 8e5be816: am 2a374a4a: Telephony: set default language of Canada as \'en\'

* commit '8e5be816b183c886bae5213060f351061855e5a3':
Telephony: set default language of Canada as 'en'
8e5be816b183c886bae5213060f351061855e5a3 28-Oct-2013 duho.ro <duho.ro@lge.com> am 2a374a4a: Telephony: set default language of Canada as \'en\'

* commit '2a374a4abef88e4cf7c6030ff831e3e0b9f658e3':
Telephony: set default language of Canada as 'en'
2a374a4abef88e4cf7c6030ff831e3e0b9f658e3 26-Oct-2013 duho.ro <duho.ro@lge.com> Telephony: set default language of Canada as 'en'

The Canada SIM cards have the dual-IMSI functionality for the roaming
service. If it is working and the default system language is not set,
the system language can be changed by the MCC of the 2nd IMSI. So, the
default language should not be 'null'. This patch fills in the default
language of Canada as English.

Bug: 11361337
Change-Id: Iea6213e3ceca4a1cf054ebd9a13bb1d5574013b1
nternal/telephony/MccTable.java
29eeb61196e231b27026a27c676004e2d3af08cc 25-Oct-2013 Wink Saville <wink@google.com> am d713fb65: am 3522c54a: Few PIN/PUK fixes

* commit 'd713fb65eab31f985d2aa8c9043349e913b5b478':
Few PIN/PUK fixes
d713fb65eab31f985d2aa8c9043349e913b5b478 25-Oct-2013 Wink Saville <wink@google.com> am 3522c54a: Few PIN/PUK fixes

* commit '3522c54a64f577f2b657a775dae9b4eb2d8003d5':
Few PIN/PUK fixes
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
nternal/telephony/CommandsInterface.java
nternal/telephony/IccCard.java
nternal/telephony/RIL.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/UiccCardApplication.java
67d6ba34ef5299b98a8d53f19bd499be1ec176ba 24-Oct-2013 Narayan Kamath <narayan@google.com> Bring back deleted constant.

Turns out it's used by vendor/htc/packages/apps/HtcSettings.
This app isn't built by the build server at the mo' but I hit
this when running make checkbuild.

Change-Id: Ie95a48f9dbe97a6a33f6bf2ed535d7c473d44877
nternal/telephony/gsm/GSMPhone.java
9bb18bb9f325269c213eaed8f25ff1f1843093f7 24-Oct-2013 Narayan Kamath <narayan@google.com> Delete unused GSMPhone debugging code

Change-Id: I8f943856093402ede5737b0c114912adcade5cc9
nternal/telephony/gsm/GSMPhone.java
fba23c9bc4a0c716fe9aef67ddfde5b5437af512 23-Oct-2013 Narayan Kamath <narayan@google.com> Work around compiler bug.

A bug in the openjdk compiler results in incorrect bytecode
for the anonymous class defined within the scope of the
constructor. To workaround it, use a named class instead.

This transformation does not incur any additional cost in
terms of code size or memory usage.

bug: 8992787
Change-Id: I444f7983e2df95007705acec91d7f1a348252e27
nternal/telephony/gsm/GSMPhone.java
5246a0945963dcce090ac4fed7e4a7dd0b64268d 23-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> am 404180e4: Fix bug in isOperatorConsideredNonRoaming

* commit '404180e42c280437ddd14018ac948c9901186e73':
Fix bug in isOperatorConsideredNonRoaming
404180e42c280437ddd14018ac948c9901186e73 23-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> Fix bug in isOperatorConsideredNonRoaming

Mistakenly exits if the first check of many doesn't match.

bug:11136023
Change-Id: I04883d75f32214def360292c90b2f628c4e60991
nternal/telephony/gsm/GsmServiceStateTracker.java
3718ac19d2a65fe1557b3612f979c254d8448aa3 18-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> am 07a8295c: Merge "Change how we use provisioning url so post works" into klp-dev

* commit '07a8295c39cae39ff2b11100fe750d24abf9ad47':
Change how we use provisioning url so post works
07a8295c39cae39ff2b11100fe750d24abf9ad47 18-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Change how we use provisioning url so post works" into klp-dev
c8dc0c8244aac9f3985a53bc94b8ec2e295db430 17-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> Change how we use provisioning url so post works

Needed to do an http post instead of a get for one carrier.
Do this by putting an auto-submitting form in the data to be
interpreted as a html doc by the browser. The ACTION_VIEW
intent only works on http uri, but by specifying ACTION_MAIN/
CATEGORY_APP_BROWSER we could use data:text/html.

bug:11168810
Change-Id: Ifd33e1c3c7f9f40b6add39e446e6a7d7cde22549
nternal/telephony/dataconnection/DcTracker.java
3ab4c135be3d5d3bf529f63ef932f95526401feb 17-Oct-2013 Wei Huang <weih@google.com> am 218c5c36: Merge "Do not allow SMS event receivers to abort the broadcast" into klp-dev

* commit '218c5c362e47d943a98813bac9e1eeae6f366434':
Do not allow SMS event receivers to abort the broadcast
81d2676f9c0d4edc315bb7e1ef2eec65bcd1b518 17-Oct-2013 Wei Huang <weih@google.com> am 49c9c9f2: Merge "Persist SMS messages sent by other than the default SMS app" into klp-dev

* commit '49c9c9f29092dfab12e455847e30bb77724064f5':
Persist SMS messages sent by other than the default SMS app
218c5c362e47d943a98813bac9e1eeae6f366434 17-Oct-2013 Wei Huang <weih@google.com> Merge "Do not allow SMS event receivers to abort the broadcast" into klp-dev
49c9c9f29092dfab12e455847e30bb77724064f5 17-Oct-2013 Wei Huang <weih@google.com> Merge "Persist SMS messages sent by other than the default SMS app" into klp-dev
617b112508e6404c281db4765fbd8554b5bf8f2f 17-Oct-2013 Jake Hamby <jhamby@google.com> am ffe6e682: Clear CDMA latitude/longitude when location setting is off.

* commit 'ffe6e68213ae3220497188fed814e271b472292a':
Clear CDMA latitude/longitude when location setting is off.
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
nternal/telephony/PhoneBase.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/sip/SipPhoneBase.java
5bc59fe360f396811723ce8f0fbb462504edda2a 17-Oct-2013 David Braun <dabraun@google.com> Do not allow SMS event receivers to abort the broadcast

This prevent apps from aborting the SMS related broadcasts so that all
apps interested in seeing them will now receive the broadcast.

Bug: 11259375 Do not allow apps to abort SMS/MMS broadcasts
Change-Id: I2620899b580b8861efebcc39408c875b4033cc53
nternal/telephony/InboundSmsHandler.java
0217e2d6e60f7edd95407c7b385a627da9f1c1e3 17-Oct-2013 David Braun <dabraun@google.com> Persist SMS messages sent by other than the default SMS app

Bug: 11256715 SmsManger.sendTextMessage() and SmsManager.sendMultiPartTextMessage() need to store the message in SmsProvider if called from non-default SMS app
Change-Id: I9f08435edd767f39863d018d59ec1d44e3d2128b
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
59f197282fbcd552f1b99655e07f8813cae34385 16-Oct-2013 Wink Saville <wink@google.com> am 5eee0d4d: telephony: Fix "R" icon displayed when device is searching or in LTE

* commit '5eee0d4d68b2a768aa5d27875cd0f2e44c2bd272':
telephony: Fix "R" icon displayed when device is searching or in LTE
5eee0d4d68b2a768aa5d27875cd0f2e44c2bd272 16-Oct-2013 Wink Saville <wink@google.com> telephony: Fix "R" icon displayed when device is searching or in LTE

Bug: 10745813, 10771508
Change-Id: I6741e14785484fe6af19d60487f4d545e568ccf9
nternal/telephony/cdma/CdmaServiceStateTracker.java
d480c28d17af7ba7072ecb0139edeab7d54ffad3 16-Oct-2013 Wink Saville <wink@google.com> am e3f6e6a1: Fix b10864885

* commit 'e3f6e6a186ac6efe15faa0aa9f1df0333e114ed7':
Fix b10864885
e3f6e6a186ac6efe15faa0aa9f1df0333e114ed7 15-Oct-2013 Wink Saville <wink@google.com> Fix b10864885

Created getLocaleForLanguageCountry so that only one updateConfiguration
was needed to update Configuration.mcc/mnc/locale/userSetLocale. Previously
it took two updates, this streamlines the update making it more efficient.

Removed the conditional that was in setLocalFromMccIfNeeded on
getLteOnCdmaModeStatic which causes world phones that support cdma on
lte as well as gsm to not set the locale. This condiational was add to
support the multi logical SIMs for Verizon which has NV, RUIM and CSIM.

The intent of the conditional was to allow the EFpl/EFli fields of the
CSIM to be used to set the locale. But it doesn't work because of the
technique of using reading the current configuration, modifying it and
then writing it back would cause the current mode to be persisted because
of bug 11171996.

In short, bug 11171996 set the userSetLocale flag to true so when the
mcc/mnc is updated it also caused the current locale, en_US, to be
persisted not the "new" locale based on the mcc/mnc. Thus later, when the
CSIM was loaded it wouldn't be persisted anyway, because en_US was
already persisted.

Added the "persist.always.persist.locale" system property so that
you can test MccTable.updateMccMncConfiguration being called after
SetupWizard starts. Typically when starting a device that has been wiped
MccTable.updateMccMncConfigration is called before SetupWizard starts.
This means SetupWizard has the "proper" locale rather than en_US, the
default setup, when ActivityManagerService is constructed.

But, if you set persist.always.persist.locale to 1, persist.sys.language
to "en" and persist.sys.country to "US" and then reboot without wiping
SetupWizard will start first. As such SetupWizard will start with en_US
as its locale. A short time later MccTable.updateMccMncConfiguration will
be called and it will set the locale to the "proper" value based on the
mcc/mnc if you've set persist.always.persist.locale to 1. This allows the
testing of SetupWizard running first.

Finally I'm using Slog for logging as it makes it easier to debug the
interaction of MccTable, SetupWizard and ActivityManagerService.

Bug: b10864885
Change-Id: I19709ebf18f6d32af1b1b16ced511d331e145cf7
nternal/telephony/MccTable.java
a5d5a233fb559808b9ef4ceefd1d823491eec593 14-Oct-2013 David Braun <dabraun@google.com> am 76e1ee73: Merge "Make SmsApplication checks more defensive" into klp-dev

* commit '76e1ee73bd112e78361e659dc97afb01ed9c7ca0':
Make SmsApplication checks more defensive
76e1ee73bd112e78361e659dc97afb01ed9c7ca0 14-Oct-2013 David Braun <dabraun@google.com> Merge "Make SmsApplication checks more defensive" into klp-dev
df566e9f13b64ce3b2dad757cc420c8a5d49345f 14-Oct-2013 duho.ro <duho.ro@lge.com> am 21fe62ac: telephony: redirect call barring MMI code to other purpose

* commit '21fe62acc2d11ace0410b2b6d83263a96081c092':
telephony: redirect call barring MMI code to other purpose
c67761d00a25bd095364e3ff4e4cb8e88b2e974c 13-Oct-2013 David Braun <dabraun@google.com> Make SmsApplication checks more defensive

When SmsApplication::getApplication is called it will check to see if the
configured default SMS app and the phone package have the needed app ops
to work properly. If the call was made from a privilidged caller where
updateIfNeeded == true then the issue will be corrected, if the call was
made from an insecure caller we will return null indicating no default SMS
app which will cause client apps to know that they are not properly set
as the default SMS app. Either way we log an error.

When SmsApplication::setDefaultApplication is called we will ensure that
even if the previous app is no longer enabled or no longer set up as a
valid SMS app, we will still revoke it's OP_WRITE_SMS permission.

Bug: 11071837 Hangouts on KLP lost the WRITE_SMS permission
Change-Id: Ifea39a3d63e4ec3a30a6a1fa5834878dcc9ccfa0
nternal/telephony/PhoneFactory.java
nternal/telephony/SmsApplication.java
21fe62acc2d11ace0410b2b6d83263a96081c092 27-Sep-2013 duho.ro <duho.ro@lge.com> telephony: redirect call barring MMI code to other purpose

Some operators redirect call barring MMI codes to other purpose.
For instance, *333# should be processed as USSD code with Indonesia
Axis SIM and Indonesia Hutchison SIM. This change is adding an array
for call barring MMI code to config.xml. So, we can redefine the array
for redirecting the call barring MMI codes. The MMI code is compared
with the call barring MMI codes from config.xml.

Bug: 10101303

Change-Id: Ib21540a90c64e105cd4bc1864238329d594cd056
nternal/telephony/gsm/GsmMmiCode.java
7e3220ca1eb6e9c7d1d3054e114ea729bc1f3cc8 11-Oct-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> am 1260f1c6: Support SMS over IMS

* commit '1260f1c6c909f2940989b72afe1b91fd83845eaa':
Support SMS over IMS
2b11696f63a949791f8ae0247b9bafb6802c07ad 11-Oct-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> am 6f2a3e1e: Reorganize IccSmsInterfaceManager

* commit '6f2a3e1ea86ae7ae2e04eb95582e54eec7a2f864':
Reorganize IccSmsInterfaceManager
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
nternal/telephony/BaseCommands.java
nternal/telephony/CommandsInterface.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/PhoneBase.java
nternal/telephony/RIL.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
6f2a3e1ea86ae7ae2e04eb95582e54eec7a2f864 14-Sep-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> Reorganize IccSmsInterfaceManager

Move duplicate functionality of RuimSmsInterfaceManager and
SimSmsInterfaceManager to the parent IccSmsInterfaceManager.
Earlier IccSmsInterfaceManagerProxy could only support RUIM
on CDMALTEPhone and SIM on GSMPhone.New architecture allows
for RUIM and SIM support for both GSMPhone and CDMALTEPhone

Change-Id: I8a3046fd0e8c366beefea267a79e14e4b1941d09
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccSmsInterfaceManagerProxy.java
nternal/telephony/Phone.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/sip/SipPhoneBase.java
cf2e0901fbf4446efd6f16daaeaaf77ea74496a5 10-Oct-2013 Sungmin Choi <sungmin.choi@lge.com> am 45df2644: telephony: Set profile DATA_PROFILE_TETHERED when DUN type

* commit '45df26444864daad60afdd4d121ab4043da3834b':
telephony: Set profile DATA_PROFILE_TETHERED when DUN type
45df26444864daad60afdd4d121ab4043da3834b 07-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> telephony: Set profile DATA_PROFILE_TETHERED when DUN type

Bug: 11152852
Change-Id: I018e3dfb9c8183b11faedc83cc40be658173c4a3

Conflicts:
src/java/com/android/internal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTracker.java
04187ec4d9cdef64cc1257815fa9e44e37202a86 22-Mar-2013 Sudheer Reddy Yampalla <syampa@codeaurora.org> Telephony: Add + for international number for MT SMS

Add + if international number is not having + at starting.

Change-Id: I0000b0685181f17ba6b5b0eaaba60a77971e7908
Bug: 10951615
nternal/telephony/cdma/SmsMessage.java
ddd786ad841c366183bbee116b2a3ba7d58d8394 07-Oct-2013 David Braun <dabraun@google.com> am 002b8c6f: Merge "Do not allow default SMS application to be set or get on non-phone devices" into klp-dev

* commit '002b8c6f5095a36bd09f2b6de6c4b3e1125c6158':
Do not allow default SMS application to be set or get on non-phone devices
002b8c6f5095a36bd09f2b6de6c4b3e1125c6158 07-Oct-2013 David Braun <dabraun@google.com> Merge "Do not allow default SMS application to be set or get on non-phone devices" into klp-dev
29569c31ed24dd8f48be3f898047d4d7b5665052 05-Oct-2013 David Braun <dabraun@google.com> Do not allow default SMS application to be set or get on non-phone devices

Bug: 11072894 People app should not launch into default SMS app on tablets
Change-Id: I9cedf3840f46bbc135f535b60659e5527f79a5aa
nternal/telephony/SmsApplication.java
f66c7db56be08ef57060fa3a1935805833f4632c 04-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> am e595a18f: Merge "Revert "Stop using the sim mnc/mcc to set wifi country."" into klp-dev

* commit 'e595a18f15d8073c8657ef7fa3da34986acb1a6d':
Revert "Stop using the sim mnc/mcc to set wifi country."
e595a18f15d8073c8657ef7fa3da34986acb1a6d 04-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Revert "Stop using the sim mnc/mcc to set wifi country."" into klp-dev
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
nternal/telephony/MccTable.java
nternal/telephony/PhoneBase.java
f050f02b0373cd186941a84e0f2f9730aeebd592 02-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> am 98cad5c9: Merge "Stop using the sim mnc/mcc to set wifi country." into klp-dev

* commit '98cad5c9c31f82eadaeada775937632a2a508147':
Stop using the sim mnc/mcc to set wifi country.
0b84f33ceffbccd035166f73ec12b22a039a1ba8 01-Oct-2013 Wink Saville <wink@google.com> am 1ec85a29: Handle SIGNAL_LOST(-3) as a retryable error.

* commit '1ec85a29a26bfab4e21ad68000afc637e0cf171c':
Handle SIGNAL_LOST(-3) as a retryable error.
98cad5c9c31f82eadaeada775937632a2a508147 30-Sep-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Stop using the sim mnc/mcc to set wifi country." into klp-dev
78d801a78087b6a2419f0820628d0273df53203f 28-Sep-2013 Robert Greenwalt <rgreenwalt@google.com> Stop using the sim mnc/mcc to set wifi country.

bug:10513734
Change-Id: Idac32892db8ff9b5ca4c5bde4f3f3b12f0df1196
nternal/telephony/MccTable.java
nternal/telephony/PhoneBase.java
1ec85a29a26bfab4e21ad68000afc637e0cf171c 27-Sep-2013 Wink Saville <wink@google.com> Handle SIGNAL_LOST(-3) as a retryable error.

Qualcomm reports SIGNAL_LOST when a signal is lost temporarily
and should be retired. If a radio technology changes then the
DataConnection will stop retrying and the DcTracker will get a
new configuration and setup a new data call. If the rat doesn't
change then DataConnection will reestablish the call on the next
retry attempt.

Bug: 10804691
Change-Id: I4d310e7f2ea2dc46c7bcdd2b8687d1ef6b901e01
nternal/telephony/dataconnection/DcFailCause.java
d4bfb684d59b16b8e5c1438428f1359a89b13b2d 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> am a1a02608: Merge "Revert "Revert "telephony: Set roam though same named operator""" into klp-dev

* commit 'a1a02608bdc7ab7248d8a7ae7cf45e0900e53c34':
Revert "Revert "telephony: Set roam though same named operator""
a1a02608bdc7ab7248d8a7ae7cf45e0900e53c34 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "Revert "Revert "telephony: Set roam though same named operator""" into klp-dev
1110f0fd89337adc1b09fe866750b8721ef882cf 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> Revert "Revert "telephony: Set roam though same named operator""

This reverts commit cd338fdb16422f47788c3bc3cdf6391f1268bbfe.

Change-Id: Ib7aa6ce911a22098461c76b5e0be191852d34bb1
nternal/telephony/gsm/GsmServiceStateTracker.java
ecf2d82fc31abffcff2fa7854cb9bed8eb75dc42 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> am 81d0c210: Merge "Revert "telephony: Set roam though same named operator"" into klp-dev

* commit '81d0c210c9ffec188ec94afb2fe6dfe20add4b3c':
Revert "telephony: Set roam though same named operator"
81d0c210c9ffec188ec94afb2fe6dfe20add4b3c 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "Revert "telephony: Set roam though same named operator"" into klp-dev
cd338fdb16422f47788c3bc3cdf6391f1268bbfe 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> Revert "telephony: Set roam though same named operator"

This reverts commit ce0eb1a929a8abb9a99b042813e403b0d6f74fdd.

Change-Id: I324343a218e155ece9f8243cdc44ce9fffe8e5d5
nternal/telephony/gsm/GsmServiceStateTracker.java
e0e3679f59cdbc4911adfb71bb0259d7e0366ff6 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> am 14134b84: Merge "telephony: Set roam though same named operator" into klp-dev

* commit '14134b84407227c6be23ce927397433fa34907b8':
telephony: Set roam though same named operator
14134b84407227c6be23ce927397433fa34907b8 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "telephony: Set roam though same named operator" into klp-dev
ce0eb1a929a8abb9a99b042813e403b0d6f74fdd 23-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> telephony: Set roam though same named operator

Show roaming icon though same named operators.
Though same mcc and same operator name, some operator want to roam.
For example, users of 40485 should see the roaming icon as using 40483
network though same Reliance network.

Bug: 10699045, 10703022
Change-Id: Ife1024ef10a29e43e32040800b25feca9f51fb62
nternal/telephony/gsm/GsmServiceStateTracker.java
a86813e21a1e5a20023aadf9b6a5a785b20c21cc 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> am 21b2c181: Merge "UICC: to avoid overwriting ICC operator numeric" into klp-dev

* commit '21b2c1814fe47e88b3881d47983f79014682411e':
UICC: to avoid overwriting ICC operator numeric
21b2c1814fe47e88b3881d47983f79014682411e 26-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "UICC: to avoid overwriting ICC operator numeric" into klp-dev
5ac29f043f579ebed89011ceb0f755942cfd7a5e 26-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> am 13fa971b: wappush: Use valid index for pdu including garbages

* commit '13fa971b6c6eab1578f4732c8de6fa2ba3b57ce6':
wappush: Use valid index for pdu including garbages
8469152d2c6bdaf4632a07880bd1bcd6af78d10b 16-Sep-2013 duho.ro <duho.ro@lge.com> UICC: to avoid overwriting ICC operator numeric

When the SIM card is inserted and the radio tech is CDMA,
init() of CDMAPhone overwrites the ICC operator numeric as
CDMA_HOME_OPERATOR_NUMERIC. It makes some abnormal state when the
CDMA_HOME_OPERATOR_NUMERIC has a wrong value or empty.
This change is skipping the overwriting ICC operator numeric when UICC
card has a SIM/USIM application because the application has its own
operator numeric.

Bug: 10774885
Change-Id: I0171000ef38fad23858f7266ab0cae3bd314b6b1
nternal/telephony/cdma/CDMAPhone.java
13fa971b6c6eab1578f4732c8de6fa2ba3b57ce6 29-Aug-2013 Sungmin Choi <sungmin.choi@lge.com> wappush: Use valid index for pdu including garbages

For some operators, pdu has garbages. As a result, device does not receive
MMS or operator some requests.
To fix it, re-index pdu to use valid index for operators.

Bug: 10492745
Change-Id: Ic7262f7369403bd060d94c5da0e09f18c96ff3db
nternal/telephony/WapPushOverSms.java
df4716b3df68ea6015490b76969fca62b67a4129 25-Sep-2013 David Braun <dabraun@google.com> am d1b11a34: Merge "Update the requirements for being an SMS app in KLP" into klp-dev

* commit 'd1b11a349bb6310fb7902280856daf09cac20647':
Update the requirements for being an SMS app in KLP
d1b11a349bb6310fb7902280856daf09cac20647 25-Sep-2013 David Braun <dabraun@google.com> Merge "Update the requirements for being an SMS app in KLP" into klp-dev
041cfe21bd66c8cb002435e7dc54177db2e927aa 25-Sep-2013 David Braun <dabraun@google.com> Update the requirements for being an SMS app in KLP

SMS applications need to handle repsond-via-message (for rejecting a phone
call with an SMS message) and SENDTO with the smsto Uri scheme so that
contact applications can direct the user to the right app. This change also
adds permission requirements for the existing intents that SMS apps
implement.

Bug: 10870624 System should direct "SENDTO" intent with "sms" and "mms" schemes to the default SMS app
Bug: 10818880 Telephony needs to direct RESPOND_VIA_MESSAGE intent only to the default SMS app
Change-Id: I373268bb694f155fb08e2864ae86af345a85c4ff
nternal/telephony/SmsApplication.java
6eecb29d2af7d54e63a0136f97b6badad2120d23 06-Jun-2013 Sungmin Choi <sungmin.choi@lge.com> telephony: Add Explicit Call Transfer (ECT) feature

Use ECT as "4 + Send".

Bug: 9745857
Change-Id: If94d7ad33eb72dede86030c26e8a8c1b5b8125e3
nternal/telephony/CallManager.java
nternal/telephony/gsm/GsmCallTracker.java
536eeeb053efe3f1f60e61ff24bf1a8093d3c879 11-Jul-2013 duho.ro <duho.ro@lge.com> UICC : fix read EF Image Instance

The EFs(4Fxx) path under DF Graphics are not distinguish with
the EFs(4Fxx) path under DF Phonebook. So, getEFPath(EF_IIDF)
is not able to return correct path. Because getEFPath(EF_IMG)
is correct path, DF graphics, getEFPath(EF_IMG) is used instead of getEFPath(EF_IIDF),

EF_IMG is a linear fixed EF. The result of loading EF_IMG should be
processed as a LoadLinearFixedContext. So, it is needed to calculate the
number of EF_IMG records. If those changes are added, the changes are
duplicated with the codes of EVENT_GET_RECORD_SIZE_DONE. The codes
of EVENT_GET_RECORD_SIZE_IMG_DONE are removed and the event is treated
by the logic of the EVENT_GET_RECORD_SIZE_DONE. And then remove incorrect handler
events(EVENT_READ_IMG_DONE and EVENT_READ_ICON_DONE) are moved to the handler
events which have the procedure for loading same type EFs (EVENT_READ_RECORD_DONE
and the EVENT_READ_BINARY_DONE).

Bug: 9767739

Change-Id: I754ec5c40cff99adef11a9dfdc31b8e0446befbb
nternal/telephony/uicc/IccFileHandler.java
nternal/telephony/uicc/RuimFileHandler.java
4685be23d96831a123b8f430ccb51b4c8ef1e189 24-Sep-2013 Wink Saville <wink@google.com> am d4f9c583: Merge "telephony: Add Explicit Call Transfer (ECT) feature"

* commit 'd4f9c58351b8d1cb84dea6be807385fa7622099b':
telephony: Add Explicit Call Transfer (ECT) feature
d4f9c58351b8d1cb84dea6be807385fa7622099b 24-Sep-2013 Wink Saville <wink@google.com> Merge "telephony: Add Explicit Call Transfer (ECT) feature"
a6be2135c3459a9cf88271d1885afd0e8afd8128 24-Sep-2013 Wink Saville <wink@google.com> am d1b7def8: Merge "UICC : fix read EF Image Instance"

* commit 'd1b7def8287cda2978c06b36e31f8dd8b7cc6834':
UICC : fix read EF Image Instance
d1b7def8287cda2978c06b36e31f8dd8b7cc6834 24-Sep-2013 Wink Saville <wink@google.com> Merge "UICC : fix read EF Image Instance"
3f8a05ab9b2a1bec46f7ada2b13834361d371020 24-Sep-2013 Wink Saville <wink@google.com> am 79d07f7e: Move RIL_REQUEST_SET_INITIAL_ATTACH_APN to RILConstants.java

* commit '79d07f7e6df0b91f3042e412a3d538ebff34a680':
Move RIL_REQUEST_SET_INITIAL_ATTACH_APN to RILConstants.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
nternal/telephony/RIL.java
148c34006cd9553fb36cf1a2a5fe01a59bf872c5 20-Sep-2013 David Braun <dabraun@google.com> am 9c9341ec: Add config setting for default sms app.

* commit '9c9341ecba5312a4a5be5f9fee3ffe1b582b65ce':
Add config setting for default sms app.
9c9341ecba5312a4a5be5f9fee3ffe1b582b65ce 20-Sep-2013 David Braun <dabraun@google.com> Add config setting for default sms app.

Different devices can have different default SMS apps.

Bug: 10818725 Allow OEM to specify or override a default SMS app (package)
Change-Id: I11c9832d2246677231e6a54cb03eb76650c85c98
nternal/telephony/SmsApplication.java
f66d184979d6a2c4b6a9757a300a7d17109d73d7 19-Sep-2013 Wink Saville <wink@google.com> am a316d77b: Merge "Fix potential NPE in ApnContext.isProvisioningApn" into klp-dev

* commit 'a316d77b726f6d210169c9c6079ac08312a0bd75':
Fix potential NPE in ApnContext.isProvisioningApn
a316d77b726f6d210169c9c6079ac08312a0bd75 19-Sep-2013 Wink Saville <wink@google.com> Merge "Fix potential NPE in ApnContext.isProvisioningApn" into klp-dev
4af1aac6e5faab7197d11126bdf46f8d3bf4cc4b 19-Sep-2013 David Braun <dabraun@google.com> am 33ab7bad: Ensure that a default SMS app is configured at boot

* commit '33ab7bad1f2ccb5dea26d0def6e43a4f2d1b9cb9':
Ensure that a default SMS app is configured at boot
33ab7bad1f2ccb5dea26d0def6e43a4f2d1b9cb9 19-Sep-2013 David Braun <dabraun@google.com> Ensure that a default SMS app is configured at boot

Make sure that two things are true on boot so that SMS/MMS will work
properly:
1) We have selected a default SMS/MMS app that will have write permission
to the SMS database
2) The Phone app always has permission to the database because it needs
to write to the raw tables when delivering MMS messages.

Note: If you change the default app explicitly the problems sending SMS
and MMS messages in Messaging will still happen. Preventing this requires
a larger change to prevent Mms from trying to send when it is not the
default app.

Bug: 10819150 Messaging App crashes while sending MMS
Bug: 10837862 Unable to send messages in Messaging app
Change-Id: Ie920e308b9b4067f0bbe1b6b2184c22aaf663065
nternal/telephony/PhoneFactory.java
9f332c9a4f464b36bac30555c5cfa6431e7211f8 19-Sep-2013 Wink Saville <wink@google.com> Fix potential NPE in ApnContext.isProvisioningApn

Bug: 10839016
Change-Id: Ifa0f974c0df69928a5d1e29c215b5bcf8c4a5fb1
nternal/telephony/dataconnection/ApnContext.java
1673c1ee9497b7d3fdbe519ee5c96aa9080c9a2f 19-Sep-2013 Jake Hamby <jhamby@google.com> am 15f6090f: Merge "Fix permission check for reading SMS on UICC." into klp-dev

* commit '15f6090f860dd50c6de051a2af62f1672108eb5e':
Fix permission check for reading SMS on UICC.
15f6090f860dd50c6de051a2af62f1672108eb5e 19-Sep-2013 Jake Hamby <jhamby@google.com> Merge "Fix permission check for reading SMS on UICC." into klp-dev
4c7516b1681059dc82f9f11867e0b3ce731e9bb8 18-Sep-2013 Wink Saville <wink@google.com> am 31ae682f: Telephony: Update CF number in EF_CFIS.

* commit '31ae682ff511ddde4073c3f94eff15da2f7fade6':
Telephony: Update CF number in EF_CFIS.
31ae682ff511ddde4073c3f94eff15da2f7fade6 18-Sep-2013 Wink Saville <wink@google.com> Telephony: Update CF number in EF_CFIS.

When call forwarding is enabled, only status is updated in EF_CFIS.
CF number is not updated. Added support to update CF number as well.

Bug: 10642929
Change-Id: Ia764b872b7837d71ffad206e37e9b261e4db7a83
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/SIMRecords.java
e5d7a8d946bf9496ffbe7533bffdeb83963489c3 18-Sep-2013 Jake Hamby <jhamby@google.com> Fix permission check for reading SMS on UICC.

When accessing SMS stored on UICC via TelephonyProvider, we need to
use the com.android.phone UID for the call to IccSmsInterfaceManager
to avoid a UID mismatch failure in the app ops check. Change the
permission check method call from enforceCallingPermission() to
enforceCallingOrSelfPermission() so the check doesn't fail.

Bug: 10131077
Change-Id: I0d7e0925be1fc69a95298865a1632a1fd953add0
nternal/telephony/IccSmsInterfaceManager.java
74c533d1ef7b1a456361ef0ca0fa82e5a5838467 18-Sep-2013 Wink Saville <wink@google.com> Merge "Telephony: Handle RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE" into klp-dev
b4f2aa64da4665b76bf23d43da2c584e6cce5e87 18-Sep-2013 David Braun <dabraun@google.com> am a96465da: Merge "Implement new method for handling SMS/MMS on the platform" into klp-dev

* commit 'a96465da72a526be749137c9d8aa3e0e19525690':
Implement new method for handling SMS/MMS on the platform
a96465da72a526be749137c9d8aa3e0e19525690 18-Sep-2013 David Braun <dabraun@google.com> Merge "Implement new method for handling SMS/MMS on the platform" into klp-dev
0d70750e8f09a9e643266ced3c070e3bdbce056d 17-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> am d62a7cec: telephony: Increase the MAX_CONNECTIONS to 8

* commit 'd62a7cecd0451592222d73995dd53074aa6f98a5':
telephony: Increase the MAX_CONNECTIONS to 8
d62a7cecd0451592222d73995dd53074aa6f98a5 15-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> telephony: Increase the MAX_CONNECTIONS to 8

The problem is that Telephony does not handle call id 2 for CDMA.
When back to back calls are made, RIL stores the previous call information
for some time as it needs to give failure reason for the last call
that failed when telephony asks for it.
So for the next call it assigns a call ID of 2.

Bug: 10355466
Change-Id: I9a4a188780bde9e66aacc7a43d54df1118b10dfb
nternal/telephony/cdma/CdmaCallTracker.java
5c3b6658d82f3af57161d5a34385dd95ea0f1abb 16-Sep-2013 David Braun <dabraun@google.com> Implement new method for handling SMS/MMS on the platform

Multi project change:
The changes in this project implement the actual change in the SMS related
intent behavior (defining and using the new events).

Bug: 10449618
Change-Id: Ia707ed561d89428db78203a2ed54504d867a3e43
nternal/telephony/InboundSmsHandler.java
nternal/telephony/SmsApplication.java
nternal/telephony/WapPushOverSms.java
fba544106298510dc3edf110ab2be92270f08c13 22-Nov-2011 Anshul Jain <anshulj@codeaurora.org> Telephony: Handle RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE

Handle RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE as a way to exit from
Emergency Callback Mode

Bug: 10749583
Change-Id: Ia572ac5a4d5ab38166453dcdf26fb0a667bba74e
nternal/telephony/cdma/CDMAPhone.java
6b6e1c055a58d1f5248ffaf5c9231726f00d9a8c 14-Sep-2013 Wink Saville <wink@google.com> am ef57a331: Merge "Telephony: Handle RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE"

* commit 'ef57a331cca922b4fd8e5d1742bd583e4553db02':
Telephony: Handle RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE
1da7dc27fb9a73c20f702e08561b81cceb071eaf 22-Nov-2011 Anshul Jain <anshulj@codeaurora.org> Telephony: Handle RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE

Handle RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE as a way to exit from
Emergency Callback Mode

Bug: 10749583
Change-Id: Ia572ac5a4d5ab38166453dcdf26fb0a667bba74e
nternal/telephony/cdma/CDMAPhone.java
23ab767b729e3b7f15a19d702f3bb9d5f53fda09 13-Sep-2013 Wink Saville <wink@google.com> am 7edea181: Merge "In Cdma Lte SST use CssIndicator for concurrent Voice & Data." into klp-dev

* commit '7edea1816641fbc6471e7cd49a60ac2aac2fde3a':
In Cdma Lte SST use CssIndicator for concurrent Voice & Data.
ed62533780677b3695304373a4dd661cec7a6a61 13-Sep-2013 Wink Saville <wink@google.com> am c4dc2a98: Merge "Add code to handle voice radio technology of LTE." into klp-dev

* commit 'c4dc2a98dc57f501c6d9b829ef1bf6d1ade613ef':
Add code to handle voice radio technology of LTE.
bdf0b91387978f2473ad812bb29c7eb2b750a11e 13-Sep-2013 Jake Hamby <jhamby@google.com> am 05b2bd6d: Merge "Fix voicemail notification for Sprint." into klp-dev

* commit '05b2bd6d8fb038e35c51e5eab36c7dd9886b1da5':
Fix voicemail notification for Sprint.
7edea1816641fbc6471e7cd49a60ac2aac2fde3a 13-Sep-2013 Wink Saville <wink@google.com> Merge "In Cdma Lte SST use CssIndicator for concurrent Voice & Data." into klp-dev
c4dc2a98dc57f501c6d9b829ef1bf6d1ade613ef 13-Sep-2013 Wink Saville <wink@google.com> Merge "Add code to handle voice radio technology of LTE." into klp-dev
05b2bd6d8fb038e35c51e5eab36c7dd9886b1da5 13-Sep-2013 Jake Hamby <jhamby@google.com> Merge "Fix voicemail notification for Sprint." into klp-dev
df53e221838a87a2d5d5175c1b8372e8515a822c 12-Sep-2013 Jake Hamby <jhamby@google.com> Fix voicemail notification for Sprint.

Sprint voicemail notification wasn't showing up because we were
looking for a CSIM application on the UICC and couldn't find it.
Added code to CDMAPhone.onUpdateIccAvailability() to load the USIM
application if we fail to get the CSIM application.

Bug: 9908333
Change-Id: I5c69c9eea6972e377b10a4057492f9ecc8233028
nternal/telephony/cdma/CDMAPhone.java
8901c5df610882430d42e5c544aa254c564ed472 12-Sep-2013 Wink Saville <wink@google.com> am dcd9876d: Merge "Telephony: Fix incorrect status display on UI in airplane mode"

* commit 'dcd9876df5a6b97daf1928bd368a45750f59be24':
Telephony: Fix incorrect status display on UI in airplane mode
dcd9876df5a6b97daf1928bd368a45750f59be24 12-Sep-2013 Wink Saville <wink@google.com> Merge "Telephony: Fix incorrect status display on UI in airplane mode"
e4ab1fe53bfdd218f752d01311e6785ebe2ea295 12-Sep-2013 Wink Saville <wink@google.com> Merge "Telephony: Ignore events on a destroyed phone" into klp-dev
d141a9fff6ee0955d11efddf055ba7e8736993e0 04-Jun-2013 Sandeep Kunta <skunta@codeaurora.org> Telephony: Fix incorrect status display on UI in airplane mode

UI should display "No Service" instead of "Searching for Service"
in airplane mode.
Changes done to set ERI text to "Searching for Service" only when
radio is on.

Change-Id: Ia60900cb014c4669d05d3cf0a2d2309899440106
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
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
nternal/telephony/PhoneBase.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
1785c21bf40489845fa70d8771858c1bfc124dd5 12-Sep-2013 Wink Saville <wink@google.com> In Cdma Lte SST use CssIndicator for concurrent Voice & Data.

This will break concurrent voice and data on mysid, but because
mysid is EOL and to keep this change simple we're not trying to
mitigate that using config variables.

Bug: 10100317
Change-Id: I7960a8d68258621de1fd9c140c3fefcdfcea8804
nternal/telephony/cdma/CdmaLteServiceStateTracker.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
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
8316a9897794e4b608e7917af701fafc34c9276e 09-May-2013 Sandeep Kunta <skunta@codeaurora.org> Set RESULT tag properly when sending TR

While encoding terminal response, result tag is
always encoded with CR flag, although spec is not
clear on when to set CR flag, setting it always leads to
issues with some cards, hence set CR flag based on
CR flag in command details tag received from card.

Change-Id: I34956a018ec56767c49175add8ce71d5821f059c
nternal/telephony/cat/CatService.java
150b65fc3b52beab23f0d714e4c3166f90d3985e 11-Sep-2013 Robert Greenwalt <rgreenwalt@google.com> Remove special code for fake CDMA APN

revert of https://android-review.googlesource.com/#/c/62943/2

Solved the need for sprint using bearer-specific APNs instead
as the phone type is not a reliable trigger.

bug: 9315957
Change-Id: I0e5545ab4706df2c5917c7534291644c5d8797b3
nternal/telephony/dataconnection/DcTracker.java
cfc20537a6442471fe27037e62380b29214f0f24 11-Sep-2013 Wink Saville <wink@google.com> Merge "CatService: OPEN_CHANNEL p-cmd to send event confirmation and not T.R" into klp-dev
c5a252768220b1caa01e5b62b42fd323d1f92702 21-Aug-2012 Shriram Ganesh <sganesh@codeaurora.org> CatService: OPEN_CHANNEL p-cmd to send event confirmation and not T.R

Upon handling OPEN_CHANNEL command, send User confirmation instead of
terminal response as lower layers expect confirmation information.

Bug: 10602211
Change-Id: I99ee5210ff345660559d1656e80c6ab8b0991d8e
nternal/telephony/cat/CatService.java
1b0331d1901d63ac65efb200b0e19d7aa4eb2b8b 11-Jul-2013 duho.ro <duho.ro@lge.com> UICC : fix read EF Image Instance

The EFs(4Fxx) path under DF Graphics are not distinguish with
the EFs(4Fxx) path under DF Phonebook. So, getEFPath(EF_IIDF)
is not able to return correct path. Because getEFPath(EF_IMG)
is correct path, DF graphics, getEFPath(EF_IMG) is used instead of getEFPath(EF_IIDF),

EF_IMG is a linear fixed EF. The result of loading EF_IMG should be
processed as a LoadLinearFixedContext. So, it is needed to calculate the
number of EF_IMG records. If those changes are added, the changes are
duplicated with the codes of EVENT_GET_RECORD_SIZE_DONE. The codes
of EVENT_GET_RECORD_SIZE_IMG_DONE are removed and the event is treated
by the logic of the EVENT_GET_RECORD_SIZE_DONE. And then remove incorrect handler
events(EVENT_READ_IMG_DONE and EVENT_READ_ICON_DONE) are moved to the handler
events which have the procedure for loading same type EFs (EVENT_READ_RECORD_DONE
and the EVENT_READ_BINARY_DONE).

Bug : 9767739

Change-Id: I754ec5c40cff99adef11a9dfdc31b8e0446befbb
nternal/telephony/uicc/IccFileHandler.java
nternal/telephony/uicc/RuimFileHandler.java
8b61e10b480d3a7bae41025a97f3bd27ee5ed610 11-Sep-2013 Jake Hamby <jhamby@google.com> Fix receiving multi-part CDMA WAP messages.

Fix ArrayIndexOutOfBoundsException in CDMA WAP message handling.
Add a new flag to raw DB table to indicate 3GPP2 WAP PDU messages.
Use the new flag to return the correct value for getIndexOffset()
in InboundSmsTracker.

Previously this only worked correctly for single-segment WAP PDUs
of type WAP push.

Bug: 10595053
Change-Id: I8820da124e8fa4707cbee0398690a475d26ff702
nternal/telephony/InboundSmsHandler.java
nternal/telephony/InboundSmsTracker.java
nternal/telephony/cdma/CdmaInboundSmsHandler.java
90271d9ef1377b25b78359039fb2e87f32aba25b 04-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> sms: Add exception code instead of low memory status

Add exceptoin code, after receiving Duplicated SMS.

Bug: 10484923
Change-Id: Ic9465adeb8a09d11fdd2e5b35108410baf56a2fc
Signed-off-by: daehun.ju <daehun.ju@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
nternal/telephony/InboundSmsHandler.java
8e416432ae310dd451f1360dfd4f70d8ef9b3903 06-Sep-2013 duho.ro <duho.ro@lge.com> UICC: get ICCID from SIM for CDMAPhone state

If the phone state is CDMAPhone and the UICC does not have a CDMA application,
getIccSerialNumber() can not read the ICCID from SIM.
This changes are changing the reference of the card application object
from RUIMRecords to SIMRecords. So, this method is able to get the ICCID
from SIMRecords, if the UICC has a SIM/USIM.

Bug: 10564873
Change-Id: Id55f794828f1f1a89905298776500df90088b17e
nternal/telephony/cdma/CDMAPhone.java
a23d86f400fe029aa05592b963b2c10988545a55 05-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> telephony: Fix roaming icon setting

Currently, if data roaming is true and gsm roaming is true,
roaming icon is always true.
But, in this case, roamin icon shoould depends on other condition,
i.e., same named operators or operator considered non-roaming.

Bug: 10642211
Change-Id: Ia98ffeec5dc013cf045b15c9a7c53c4a24f2eeb5
nternal/telephony/gsm/GsmServiceStateTracker.java
419f297bfb0cc21566d1d1110573dd9205e8f713 21-Aug-2012 Shriram Ganesh <sganesh@codeaurora.org> CatService: OPEN_CHANNEL p-cmd to send event confirmation and not T.R

Upon handling OPEN_CHANNEL command, send User confirmation instead of
terminal response as lower layers expect confirmation information.

Bug: 10602211
Change-Id: I99ee5210ff345660559d1656e80c6ab8b0991d8e
nternal/telephony/cat/CatService.java
2d973cc97744549277b1c433c092dcb15efd694b 05-Sep-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "UICC : Add MCC MNC codes having 3 digits MNC" into klp-dev
91ce060652d7f9be48ee2eeb771455c9d741564b 06-Jun-2013 Sungmin Choi <sungmin.choi@lge.com> telephony: Add Explicit Call Transfer (ECT) feature

Use ECT as "4 + Send".

Bug: 9745857
Change-Id: If94d7ad33eb72dede86030c26e8a8c1b5b8125e3
nternal/telephony/CallManager.java
nternal/telephony/gsm/GsmCallTracker.java
79391c0b55b4dbff55c2963bf7c56af0351dd274 05-Sep-2013 Wink Saville <wink@google.com> Merge commit 'ebca826a' into manualmerge

* commit 'ebca826a':
Add provisioning apn timeout.

Conflicts:
src/java/com/android/internal/telephony/dataconnection/DcTrackerBase.java

Change-Id: Ic89a22167b91e05068160a6ef0a194215913bfe7
ebca826a2b78a8542146ad1600df1cb4275a0823 05-Sep-2013 Wink Saville <wink@google.com> am e9063f69: Add provisioning apn timeout.

* commit 'e9063f6973039d66e12d0d930af03906d377969e':
Add provisioning apn timeout.
e9063f6973039d66e12d0d930af03906d377969e 05-Sep-2013 Wink Saville <wink@google.com> Add provisioning apn timeout.

Bug: 10609993
Change-Id: I2dd4fe23fa2b22ef8f4849c161c630d1a85cdb4b
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DcTrackerBase.java
0530f592d89c1eceea7ee5bccb2359061a04f968 03-Sep-2013 duho.ro <duho.ro@lge.com> UICC : Add MCC MNC codes having 3 digits MNC

Old Rogers, Fido, TMUS and Malaysia cards having incorrect MNC length.

Bug: 9892341

Change-Id: I4bc24bd929e3822732e88282d0a64f59623a4c41
nternal/telephony/uicc/SIMRecords.java
a0d02d50aa0fd7cf1c2d9f4d811efd2e4bfb7d4a 05-Sep-2013 Jake Hamby <jhamby@google.com> Fix receiving class 2 SMS messages.

SIMRecords class was creating the wrong type of SmsMessage object
for class 2 messages, causing a ClassCastException error. Verified
that this change fixes the bug using MD8475A call box.

Bug: 9578184
Change-Id: Ia325c6b1594d625237dc0966c05f56f586bb4baf
nternal/telephony/uicc/SIMRecords.java
dd6e67fb45fa3ce0d43f8d874cd7ffaeddf0926f 04-Sep-2013 Lorenzo Colitti <lorenzo@google.com> Don't prefer APNs with no type for initial attach.

When choosing an APN for initial attach, we currently treat an
APN with no type the same as an APN that explicitly sets a type
of "ia". Such an APN will take priority over the preferred APN,
and will even take priority over APNs with the type explicitly
set to "ia".

This breaks attach on networks where there are multiple
MVNOs with the same MCC/MNC and one or more of them has an APN
with no type.

This seems to be unintentional, because the comments say that
APNs with a type of "ia" are preferred over default APNs. Fix it
by only considering an APN to be an initial attach APN if it
explicitly specifies a type of "ia".

Bug: 10614153
Change-Id: I8ed81ab3b58ae2aab2c76b644b653bb2c08da163
nternal/telephony/dataconnection/DcTrackerBase.java
7cc3a309e6833d854fc41f0e53f32f5a6cbbe08b 30-Aug-2013 Ed Tam <etam@google.com> am c55cf066: Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev

* commit 'c55cf0666ebbd4c00fb8092f40dc26e77c56273e':
Telephony: SMS over IMS, DO NOT MERGE
c55cf0666ebbd4c00fb8092f40dc26e77c56273e 30-Aug-2013 Ed Tam <etam@google.com> Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev
614b3bb0238f025664c792fd8a0b69a0cc166eed 30-Aug-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Don't show roaming icon for specific operators" into klp-dev
a08decf911ab55f06a0972a2ecb1995c46d9ac1e 30-Aug-2013 Wink Saville <wink@google.com> Merge "Add support for a provisioning apn." into klp-dev
c9b81a0c05128694c617fcdd67e73821895822fe 29-Aug-2013 Wink Saville <wink@google.com> Add support for a provisioning apn.

When there is a provisioning apn, such as lwaactivate from AT&T it is
not necessary nor desireble to try to make network connections as
they will be no TCP ACK's to SYN messages, except for a limited set
of operator white listed addresses.

This is implemented by adding two commands CMD_IS_PRVISIONING_APN
and CMD_ENABLE_MOBILE_PROVISIONING. These are used by ConnectivityService
CheckMp and to know when we are connected to a provisioning apn and to
turn actually bring up the connection when the user needs to provision.

Also, incorporate the sEnableFailFastRefCounter change from klp to make
a singleton and remove the RuntimeException.

Bug: 10328264
Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
b48c51eb1e895ec899b53f1847ad0a5b9a45a085 29-Aug-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "UICC : add support empty alpha id for BIP" into klp-dev
7ed57239eb9eff4a4afa722948db93ea288f0505 19-Jul-2013 Sungmin Choi <sungmin.choi@lge.com> Don't show roaming icon for specific operators

Bug: 9896815
Bug: 10100304
Bug: 10097969
Bug: 10101601
Change-Id: I81b988376dd61a30bc92bb9666510abbcc47788e
nternal/telephony/gsm/GsmServiceStateTracker.java
25cebe4f95bfee61477d4048219a6644aa0aa03b 29-Aug-2013 Wink Saville <wink@google.com> Merge commit '43c93591' into manualmerge

* commit '43c93591':
Add support for a provisioning apn.

Conflicts:
src/java/com/android/internal/telephony/dataconnection/DcTracker.java

Change-Id: If78b4af0c466c6ca6939ef475726ad7a9688386a
9894b3fb2f35e21d9cfd45f233ed093589e14c26 24-Aug-2013 sy.yun <sy.yun@lge.com> fix trysetupdata when mAutoAttachOnCreation true

mAutoAttachOnCreation=true means that device can attach PS network
automatically. To do this, DCT should setup data call even PS is detached.
but when mAttached is false (PS detached) It blocks to setup data call
regardless of mAutoAttachOnCreation value. So changed to allow setup
data call when mAutoAttachOnCreation is true and mAttached is false.

Bug: 10196651
Change-Id: Ia121eb75cbbe932b94efe4c09eb3cb26f1ca1c52
nternal/telephony/dataconnection/DcTracker.java
d7e83ff0591580603e6d6adfca085140d1d53bd2 02-Jul-2013 duho.ro <duho.ro@lge.com> UICC : add support empty alpha id for BIP

"If the alpha identifier is provided by the UICC and is a null data
object (i.e. length = '00' and no value part), this is an indication
that the terminal should not give any information to the user
or ask for user confirmation;"
- 6.4.27.2 OPEN CHANNEL related to packet data service bearer, ETSI TS 102.223

Bug: 9671401
Change-Id: Iece01f3775baf2c6438776f899ed53b1f1fb942f
nternal/telephony/cat/CatService.java
nternal/telephony/cat/ValueParser.java
43c93591d6261be6dad375979e98b0f6ad2771fd 29-Aug-2013 Wink Saville <wink@google.com> Add support for a provisioning apn.

When there is a provisioning apn, such as lwaactivate from AT&T it is
not necessary nor desireble to try to make network connections as
they will be no TCP ACK's to SYN messages, except for a limited set
of operator white listed addresses.

This is implemented by adding two commands CMD_IS_PRVISIONING_APN
and CMD_ENABLE_MOBILE_PROVISIONING. These are used by ConnectivityService
CheckMp and to know when we are connected to a provisioning apn and to
turn actually bring up the connection when the user needs to provision.

Also, incorporate the sEnableFailFastRefCounter change from klp to make
a singleton and remove the RuntimeException.

Bug: 10328264
Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
850665a367489cce0b83431fa0e6e543b24062e0 21-Dec-2010 Rika Brooks <rbrooks@codeaurora.org> Telephony: SMS over IMS, DO NOT MERGE

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: I87ca9841b4ace931c55e2d379fe6d7589b2dc8a5
nternal/telephony/BaseCommands.java
nternal/telephony/CommandsInterface.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccSmsInterfaceManagerProxy.java
nternal/telephony/ImsSMSDispatcher.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/RIL.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/test/SimulatedCommands.java
a6855ef9a8cfcbe9ee01a437d5b35804c29fa5b5 26-Aug-2013 Wink Saville <wink@google.com> am 876763e9: Make EnableFailFastRefCounter a singleton.

* commit '876763e93ad0fa8006d290cc122f12d5e614efa2':
Make EnableFailFastRefCounter a singleton.
876763e93ad0fa8006d290cc122f12d5e614efa2 26-Aug-2013 Wink Saville <wink@google.com> Make EnableFailFastRefCounter a singleton.

Since there is only one DCT the mEnableFailFastRefCounter can be a
static/singleton and thus properly refcount the
CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA. There is still one problem
and that is if the PhoneApp crashes the singleton will be reinstantiated
and we'll have the same problem, but the frequency of this is small.
Also, the consequence of this is the DCT will be behaving "normally"
in that it will be attempting to do data-stall recovery although we
might like it not to it is the "normal" behavior.

Bug: 10304904
Change-Id: I4197c4236a402aa247f775e480e747620fd189bd
nternal/telephony/dataconnection/DcTrackerBase.java
13578cfe145396ff14fb76456dc860acfb532fad 23-Aug-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix mvnoMatches function but keep case-insensitive"
b256cf8dcb3a478bd0b47a74a5e355c6f4c03d85 23-Aug-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "fix mvno_match_data OutOfBounds Exception" into klp-dev
b4121161911b014ff2a3c75cdd94280683d0d8dc 23-Aug-2013 Wink Saville <wink@google.com> Merge "Properly notify of precise call state change after connection hangup." into klp-dev
368e873b65e60268521b3c74110a9b2abe8086ac 02-Aug-2013 Danny Baumann <dannybaumann@web.de> Properly notify of precise call state change after connection hangup.

When disconnecting connections via Connection.hangup(), previously no
precise call state notification was sent out.

Change-Id: I4439d7d8ed47e72da9d061b885ec9a0e6e1b784d
nternal/telephony/cdma/CdmaCall.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/gsm/GsmCall.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
1220a4e283def0598468376cf112d3b904026fb8 02-Aug-2013 Danny Baumann <dannybaumann@web.de> Properly notify of precise call state change after connection hangup.

When disconnecting connections via Connection.hangup(), previously no
precise call state notification was sent out.

Change-Id: I4439d7d8ed47e72da9d061b885ec9a0e6e1b784d
nternal/telephony/cdma/CdmaCall.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/gsm/GsmCall.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
59a71354e0169c7877ffd56d476ddd65ecf5a88d 19-Aug-2013 Robert Greenwalt <rgreenwalt@google.com> fix mvno_match_data OutOfBounds Exception

When the length of mvno_match_data is greater than GID from IccRecord,
it will generate StringIndexOutOfBoundsException.
Threrefore, codes are changed to use startsWith() instead of subString().

Bug: 10171336
Change-Id: I827b1d3b861d74e736875bbec1ba5bd28c6c3941
nternal/telephony/dataconnection/DcTracker.java
63fe4e2b84473bbd61030abd0a4b7c2ba34ce977 20-Aug-2013 Robert Greenwalt <rgreenwalt@google.com> Fix mvnoMatches function but keep case-insensitive

Redo previous fix in a way that's still case insensitive.

bug:10171336
Change-Id: I65e29b72ace2a41ed7a19e3bfb5d23bf3773d41c
nternal/telephony/dataconnection/DcTracker.java
7ab10e4710bdb54c6d9a5ee01cd443a42a2689f5 14-Aug-2013 Sungmin Choi <sungmin.choi@lge.com> Change set position of mAttached

When re-attach network after detaching, mAttached.get() is always false.
Although network is attached in modem side and state is connected,
phone cannot know whether connection state or not.
Because nobody notifies to phone.
So before notifyDataConnection(Phone.REASON_DATA_ATTACHED), set mAttached true

Bug: 10070685
Change-Id: Id1356e1c7e188bd484d892dc4255c3aefc81a032
nternal/telephony/dataconnection/DcTracker.java
16a01fe85457587ad5fd02ea06aa2882baf3535b 14-Aug-2013 Wink Saville <wink@google.com> Make EnableFailFastRefCounter a singleton.

Since there is only one DCT the mEnableFailFastRefCounter can be a
static/singleton and thus properly refcount the
CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA. There is still one problem
and that is if the PhoneApp crashes the singleton will be reinstantiated
and we'll have the same problem, but the frequency of this is small.
Also, the consequence of this is the DCT will be behaving "normally"
in that it will be attempting to do data-stall recovery although we
might like it not to it is the "normal" behavior.

Bug: 10304904
Change-Id: I38ff37445788ec952ca26be45b0374bc0a7ae34d
nternal/telephony/dataconnection/DcTrackerBase.java
353600dc6d6ea26b40e436e866e8c4372edaafd3 02-Aug-2013 sy.yun <sy.yun@lge.com> fix mvno_match_data OutOfBounds Exception in substring check routine.

When the length of mvno_match_data is greater than GID from IccRecord,
It will generate StringIndexOutOfBoundsException.
Therefore, codes are changed to use startsWith() insteads of subString().

Change-Id: I04c5c5039edb2cfa757bf2f5a4b9f124afb69b06
Bugs: 10171336
nternal/telephony/dataconnection/DcTracker.java
5016947ebeeb99d2f9cc2d902b46e9850b8b747b 09-Aug-2013 Wink Saville <wink@google.com> am d1eb383d: am a76fa595: Merge "Add mEnableFailFastRefCounter." into jb-mr2-dev

* commit 'd1eb383d9bd58140607f212e46db64559f408780':
Add mEnableFailFastRefCounter.
4dbcf752298487d3af0ab778bfa804462ea24271 09-Aug-2013 Wink Saville <wink@google.com> am bc42667e: am 97978662: Restart, cleanup or retry inactve connections.

* commit 'bc42667e465b7dfacfe4592390b14c5518a05e41':
Restart, cleanup or retry inactve connections.
d1eb383d9bd58140607f212e46db64559f408780 09-Aug-2013 Wink Saville <wink@google.com> am a76fa595: Merge "Add mEnableFailFastRefCounter." into jb-mr2-dev

* commit 'a76fa59574734cd1528dff2937231b78ea96e8f3':
Add mEnableFailFastRefCounter.
bc42667e465b7dfacfe4592390b14c5518a05e41 09-Aug-2013 Wink Saville <wink@google.com> am 97978662: Restart, cleanup or retry inactve connections.

* commit '979786625e7ceacf4a545a25704ef8a15338a854':
Restart, cleanup or retry inactve connections.
585e96097525e593c2ae7edb9fcf62526ab958ae 09-Aug-2013 Wink Saville <wink@google.com> am 2ae42257: DataConnection should not retry permanent errors.

* commit '2ae42257ebafdbb0470cedeab41c2f1b418b285c':
DataConnection should not retry permanent errors.
a76fa59574734cd1528dff2937231b78ea96e8f3 09-Aug-2013 Wink Saville <wink@google.com> Merge "Add mEnableFailFastRefCounter." into jb-mr2-dev
28cb5ee3ff4fe6b57039732a9268a385ad5db3d7 07-Aug-2013 William Luh <williamluh@google.com> Merge "Change the SMS event logging to "packages" aggregation, which requires the app uid."
d54f9906ce6218a0a9e7a274342082901e7d5d18 07-Aug-2013 Wink Saville <wink@google.com> Add mEnableFailFastRefCounter.

Use a reference counter to control enabling fail fast
as there are now two entities which control failing fast:
ConnectifityService.checkProvisioningUrl and
MobileDataStateTracker.captivePortalCheckComplete.

Bug: 9462512
Change-Id: I0dea0eee519f8ee7f94e79d40e82c18f30d7fe2e
nternal/telephony/dataconnection/DcTrackerBase.java
57da4aa945252ebed6b505387145f99be8ad5d72 07-Aug-2013 Wink Saville <wink@google.com> Unregistering a null receiver is now fatal.

This causes user builds to break, so only unregister
if we are actually registered.

Bug: 9657468
Change-Id: Ie801e6db37962e9de7559c8451806de1972cf430
nternal/telephony/TelephonyTester.java
nternal/telephony/dataconnection/DcTesterDeactivateAll.java
nternal/telephony/dataconnection/DcTesterFailBringUpAll.java
979786625e7ceacf4a545a25704ef8a15338a854 06-Aug-2013 Wink Saville <wink@google.com> Restart, cleanup or retry inactve connections.

Instead of retrying all inactive connections, restart radio on very bad
errors, clean those that are permanent failures and retry
the others.

Bug: 10131736
Change-Id: I2527b18d6cda52c55fb94be58fbb1a7a86818ef9
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcController.java
nternal/telephony/dataconnection/DcFailCause.java
nternal/telephony/dataconnection/DcTrackerBase.java
b9f8b35a79580692c7c2c2d143389ad38aee719b 06-Aug-2013 Wink Saville <wink@google.com> Merge "Initialize RIL with the correct CDMA subscription mode setting"
16d259bfedada60d6b772ee0c640df58830527df 06-Aug-2013 Wink Saville <wink@google.com> When disposing only unbind if actually bound.

Change-Id: Icef7f050088d648fdf60f9a1ed690af46deb36e0
nternal/telephony/WapPushOverSms.java
5ceae6074e0729fbbc422db2f263bf7cf453bf1a 29-Aug-2012 Naveen Kalla <nkalla@codeaurora.org> Initialize RIL with the correct CDMA subscription mode setting

Users choice of CDMA Subscription Source is stored in CDMA_SUBSCRIPTION_MODE
setting in database.
If telephony restarts after a crash, use CDMA_SUBSCRIPTION_MODE instead
of PREFERRED_CDMA_SUBSCRIPTION in PhoneFactory to prevent
mismatch with the value in the settings database chosen by the user.

Also, remove the Setting PREFERRED_CDMA_SUBSCRIPTION from the database.
With this change the special treatment for LTE on CDMA will not be needed.
The correct value can be set in the database for CDMA_SUBSCRIPTION_MODE
and that will be taken on power-up by this code.

Change-Id: I11fff596a5fe721c64f192c889672326517dc43d
nternal/telephony/PhoneFactory.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
7982f3e57aaa53699ff3a00071280a88a5ac0c82 06-Aug-2013 Wink Saville <wink@google.com> Merge "Initialize RIL with the correct CDMA subscription mode setting"
d5fc65e2ca1ed72a936b497681784146449fe20b 06-Aug-2013 Ying Wang <wangying@google.com> Fix build.

Reference:
https://android-review.googlesource.com/#/c/61723/5

Change-Id: I327733be1c2ab3cda933b9f0c7c0a63332223ae8
nternal/telephony/PhoneFactory.java
7400cfc039e6982134ee852d01f1ff4939601f8b 06-Aug-2013 Dianne Hackborn <hackbod@google.com> Merge "Stop using implicit intents with bindService()."
ec125af4306f1be2c829c3a1d7adbf9b8cd7e659 06-Aug-2013 William Luh <williamluh@google.com> Change the SMS event logging to "packages" aggregation, which requires the app uid.

Change-Id: Ic3927b5764909b4ec8dc64fc41118f9057814656
nternal/telephony/SMSDispatcher.java
dbb49dd094fbf33730830bab02eeb6250d8ae893 05-Aug-2013 Wink Saville <wink@google.com> am f6dced1a: Merge "Telephony: Fix issue in handling null alpha identifier"

* commit 'f6dced1ac15dc219bb87658a242d74abb9fb5ae2':
Telephony: Fix issue in handling null alpha identifier
f6dced1ac15dc219bb87658a242d74abb9fb5ae2 05-Aug-2013 Wink Saville <wink@google.com> Merge "Telephony: Fix issue in handling null alpha identifier"
7d3118aa708e4d02bf65514ab3feda10cd05a619 05-Aug-2013 Dianne Hackborn <hackbod@google.com> Stop using implicit intents with bindService().

The behavior of this case is not defined.

Change-Id: I6e858190d7b0c3b8976a1657de81a682cd989eee
nternal/telephony/WapPushOverSms.java
2ae42257ebafdbb0470cedeab41c2f1b418b285c 21-May-2013 Wink Saville <wink@google.com> DataConnection should not retry permanent errors.

Update DcFailCause with the "no retry" info from ril.h

Bug: 9040015
Change-Id: Ib94af9996c79800322251a45349b117e1f913269
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcFailCause.java
78cc92ec740934603a9bda2de5a4745c049cfde1 02-Aug-2013 Elliott Hughes <enh@google.com> am a1915f28: Merge "If telephony wants ASCII casing, it needs to ask for it."

* commit 'a1915f289fbada7f7c716eed0078098bbb40adc1':
If telephony wants ASCII casing, it needs to ask for it.
11a8314b443c1f1fefa0636f40127f98449846d7 02-Aug-2013 Wink Saville <wink@google.com> am 4ce0e815: Merge "Create ApnSetting if none are found in database."

* commit '4ce0e815f8b0a796685fbc931cd6760c27172a0f':
Create ApnSetting if none are found in database.
a1915f289fbada7f7c716eed0078098bbb40adc1 02-Aug-2013 Elliott Hughes <enh@google.com> Merge "If telephony wants ASCII casing, it needs to ask for it."
b3537f8ffac71d6c4c263ae6e68d2722febf4622 02-Aug-2013 Elliott Hughes <enh@google.com> If telephony wants ASCII casing, it needs to ask for it.

http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html

Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: I5c2721f36861694928101c771ec6699424cf9aa3
nternal/telephony/MccTable.java
f46817da20f9628b7e55d1bb6ff0493f82dd9d85 18-Jun-2013 Alex Yakavenka <ayakav@codeaurora.org> Create ApnSetting if none are found in database.

Bug: 9315957
Change-Id: I0cf0debb703f6a4cad35300315922a5566871f85
nternal/telephony/dataconnection/DcTracker.java
1584a5054fb2a66ee05703b395172c73f784bb27 29-Aug-2012 Naveen Kalla <nkalla@codeaurora.org> Initialize RIL with the correct CDMA subscription mode setting

Users choice of CDMA Subscription Source is stored in CDMA_SUBSCRIPTION_MODE
setting in database.
If telephony restarts after a crash, use CDMA_SUBSCRIPTION_MODE instead
of PREFERRED_CDMA_SUBSCRIPTION in PhoneFactory to prevent
mismatch with the value in the settings database chosen by the user.

Also, remove the Setting PREFERRED_CDMA_SUBSCRIPTION from the database.
With this change the special treatment for LTE on CDMA will not be needed.
The correct value can be set in the database for CDMA_SUBSCRIPTION_MODE
and that will be taken on power-up by this code.

Change-Id: I11fff596a5fe721c64f192c889672326517dc43d
nternal/telephony/PhoneFactory.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
e356d9a99d41a9350aee7d52ad20fa979463d42c 31-Jul-2013 Robert Greenwalt <rgreenwalt@google.com> am 06f093f7: Merge "Mobile network type is not updated when the network mode is switched."

* commit '06f093f728861837c54a96666ece5dc1853787c1':
Mobile network type is not updated when the network mode is switched.
c4161078eff3305894f1f9f1b2f00952ea0e83d8 18-Mar-2013 Kazuya Ohshiro <kazuya.x.ohshiro@sonymobile.com> Mobile network type is not updated when the network mode is switched.

Because ServiceStateTracker doesn't handle the change of ServiceState
after switching of Telephony FW, SystemProperty used for displaying
the mobile network type does not become to Unknown. To fix this issue,
when the network mode is switched, the SystemProperty should be
initialized to Unknown in the constructor of ServiceStateTracker.

Change-Id: I903ba855b9fe22530db8494a9d2615959970c5a4
nternal/telephony/ServiceStateTracker.java
f219f2f4bc9de14787e1b3e3dc3cbfcb0f101a50 30-Jul-2013 Wink Saville <wink@google.com> am 793fb83c: Merge "Add support for MNC=00"

* commit '793fb83c41d26c84f4430885aafc7a8daeffffeb':
Add support for MNC=00
1b5fe200e47f40f82f0e28502a5f40bce64a82e6 27-Jul-2013 Wink Saville <wink@google.com> Add support for an initial APN

Add PhoneConstants.APN_TYPE_IA, DctConstants.APN_IA_ID and enhance
setInitialAttachApn to use the new Initial Attach apn.

Bug: 8733613
Change-Id: Ia627ac0cf5715660b6d02bb13a83d46ec1727b87
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
e64327265b40cbc52e6c07381bc0a80d7e031018 07-Oct-2011 Mattias Petersson <mattias.petersson@sonyericsson.com> Add support for MNC=00

This adds support for operators with MNC (Mobile Network Code) zero
to add customized resources. For example, it makes it possible to
add a folder called "/res/values-mnc00/" in an application. This will
cause resources in that folder to be used when MNC is zero.
(There is a total of 14 countries that have an operator with MNC
zero.)

Without this fix, the resource framework gets confused, because MNC 0
is normally used when the MNC is undefined (not set).

Bug: 7170488
Change-Id: Icfd39fd0c739216e89446252ea0e7ceba6f002c6
nternal/telephony/MccTable.java
e238e8d7cb48961817c993dc83f7aaaf84cf2d1c 26-Jul-2013 Jake Hamby <jhamby@google.com> Merge "Add prefix to SMS event tag"
bbcd0e4257ad545a6466697088fc4ddec3464547 23-Jul-2013 Wink Saville <wink@google.com> Hipri should not be enabled when we initialize.

Without this fix hipri starts at boot mobile data won't be shutdown
as refCount won't go to zero.

Bug: 9475300
Change-Id: If9587fa5360d777328fda59bbea61a2cbd9fe804
nternal/telephony/dataconnection/DcTracker.java
634a24f56f54b5d2911649288147c750b67c7ae4 23-Jul-2013 William Luh <williamluh@google.com> Add prefix to SMS event tag

Legal requires user consent for logging these in production (non-dogfood).
We will be filtering based on the specific tag prefix of exp_det_.

Change-Id: Id3d869c1b31716cee3e6ae98d3b840ef7f948e42
nternal/telephony/EventLogTags.logtags
nternal/telephony/SMSDispatcher.java
e7b819f9c02355115840cab47c9ba0896a4476d3 19-Jul-2013 Wink Saville <wink@google.com> am b8127144: Merge commit \'3f4415e3\' into fix-merge-conflict

* commit 'b8127144de8d55c590ed537bdcb7a1afe5666b28':
telephony: Fix typo
b8127144de8d55c590ed537bdcb7a1afe5666b28 19-Jul-2013 Wink Saville <wink@google.com> Merge commit '3f4415e3' into fix-merge-conflict

* commit '3f4415e3':
telephony: Fix typo
3f4415e31c8c407e0397511fdc2d5906361295fa 19-Jul-2013 Wink Saville <wink@google.com> Merge "telephony: Fix typo"
9a4619dbca4b2c8836ea71eb794366bcccef5e56 09-Jul-2013 Wink Saville <wink@google.com> am 0c432e05: am 9c430a4d: Only show "Emergency calls only" if a GSM device is voice capable.

* commit '0c432e0512f69df06282741af23839db54e5d585':
Only show "Emergency calls only" if a GSM device is voice capable.
0c432e0512f69df06282741af23839db54e5d585 09-Jul-2013 Wink Saville <wink@google.com> am 9c430a4d: Only show "Emergency calls only" if a GSM device is voice capable.

* commit '9c430a4d72c8c962caefb916e82a4c82eca7068c':
Only show "Emergency calls only" if a GSM device is voice capable.
9c430a4d72c8c962caefb916e82a4c82eca7068c 09-Jul-2013 Wink Saville <wink@google.com> Only show "Emergency calls only" if a GSM device is voice capable.

This fix uses the config_voice_capable compile time switch to be
sure GsmServiceStateTracker.mEmergencyOnly is false if the device
isn't voice capable. Thus GsmServiceStateTracker.updateSpnDisplay
will not send the SPN_STRINGS_UPDATED_ACTION intent with
emergency_calls_only as the PLMN. Instead, it will aways be the
string defined by the lockscreen_carrier_default, typically
"No service".

Bug: 9422921
Change-Id: I74e89c4a29d0d8e3d5cc1726adedb0c2634cf257
nternal/telephony/gsm/GsmServiceStateTracker.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.
299f07852601bb735296646c9587bf72169d1476 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 4b361fe2: am d254ff60: Merge "Telephony: remove the useless variable."

* commit '4b361fe2f0597aae6a50012bc4fe048acd41ebbf':
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.
13347e89869fe1d71a75dfec3d7307d62f61796e 04-Jul-2013 Wink Saville <wink@google.com> am c8865f1d: am 0c5a2697: Allow GSMPhone#getCellLocation to report LTE location information

* commit 'c8865f1dfc810e20908f45d3eef431a81544e9f6':
Allow GSMPhone#getCellLocation to report LTE location information
c8865f1dfc810e20908f45d3eef431a81544e9f6 04-Jul-2013 Wink Saville <wink@google.com> am 0c5a2697: Allow GSMPhone#getCellLocation to report LTE location information

* commit '0c5a2697697b49228bd2e23dc8d8217877a0fd7b':
Allow GSMPhone#getCellLocation to report LTE location information
0c5a2697697b49228bd2e23dc8d8217877a0fd7b 04-Jul-2013 Wink Saville <wink@google.com> Allow GSMPhone#getCellLocation to report LTE location information

Bug: 9228974
Change-Id: I7e9b190aa67968f1f2b2b567614c35c5dd5d78fa
nternal/telephony/ServiceStateTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmServiceStateTracker.java
e056c8263473f67dc78630f5535c3664fabacd23 02-Jul-2013 Wink Saville <wink@google.com> Merge commit '1f95c96e' into fix-merge-conflict

* commit '1f95c96e':
Add CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA to DcTracker.

Conflicts:
src/java/com/android/internal/telephony/dataconnection/DcTracker.java

Change-Id: I7c7234d1b13647a0534a77937ea51d4051043a55
1f95c96e704254857e9c2dde016b06a7d849666b 02-Jul-2013 Wink Saville <wink@google.com> am 28b99e3f: Merge "Add CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA to DcTracker." into jb-mr2-dev

* commit '28b99e3f85fa5357d536d0ae80fb70a3cd59c09a':
Add CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA to DcTracker.
28b99e3f85fa5357d536d0ae80fb70a3cd59c09a 02-Jul-2013 Wink Saville <wink@google.com> Merge "Add CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA to DcTracker." into jb-mr2-dev
6c620b6b0b1d6f1ce0a575e014a82324cbe48661 01-Jul-2013 Wink Saville <wink@google.com> am 16f8ca73: am e9070e6d: Don\'t set gsm.sim.operator.numeric to null

* commit '16f8ca73c18d2e584b6a57dc66491c1c0d40727c':
Don't set gsm.sim.operator.numeric to null
16f8ca73c18d2e584b6a57dc66491c1c0d40727c 01-Jul-2013 Wink Saville <wink@google.com> am e9070e6d: Don\'t set gsm.sim.operator.numeric to null

* commit 'e9070e6d48d1389987650fa2c3e1f90aab860684':
Don't set gsm.sim.operator.numeric to null
e9070e6d48d1389987650fa2c3e1f90aab860684 29-Jun-2013 Wink Saville <wink@google.com> Don't set gsm.sim.operator.numeric to null

Bug: 9628781
Change-Id: I80c00584535a327f9e93c8bd0980178781cae6ff
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
ec107cb8a36181fa26e61ab51f423ba862deb0fa 28-Jun-2013 Wink Saville <wink@google.com> Add CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA to DcTracker.

To fail fast we turn off data stall detection and do no retires.

Bug: 9279964
Change-Id: I42c326a21e05aa301e9d974ed9ac1d59472780ec
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
d084fb51297c446d4adb072089822a41820bd188 28-Jun-2013 Gao Rong <gaorong.dawn@gmail.com> Telephony: remove the useless variable.
nternal/telephony/RIL.java
46f190903e93c653b90b970c1a21159bb957575b 18-Jun-2013 Wink Saville <wink@google.com> Fix NPE when exiting DcDefaultState.

Bug: 9263045
Change-Id: I62069114d5e9f2b0e90f892d2333b27fe693294d
nternal/telephony/dataconnection/DataConnection.java
017166876a51eda9ae6b3254119023604e249bc5 12-Jun-2013 Wink Saville <wink@google.com> Merge commit '6aebe10f' into fix-merge

* commit '6aebe10f':
Fail on permanent errors in DcTracker.

Conflicts:
src/java/com/android/internal/telephony/dataconnection/DcTracker.java

Change-Id: Icbee3d7c73fa170813e0683fb7c22dd78e08d6e8
6aebe10f9841bb3bff35d1c9912d48f742e82f91 12-Jun-2013 Wink Saville <wink@google.com> am 4a65a2c9: Fail on permanent errors in DcTracker.

* commit '4a65a2c9c5d5a46453064e7047582d9045e8addc':
Fail on permanent errors in DcTracker.
4a65a2c9c5d5a46453064e7047582d9045e8addc 11-Jun-2013 Wink Saville <wink@google.com> Fail on permanent errors in DcTracker.

This reverts the retry added when fixing bug 9240744:

https://googleplex-android-review.git.corp.google.com/#/c/315817/2


Bug: 9373372
Change-Id: I15d8dcc2c04174d54dd33f8a34813fd72764fc77
nternal/telephony/dataconnection/DcTracker.java
185370a905597ab107a8f2b0455440017e661321 04-Jun-2013 Wink Saville <wink@google.com> Merge commit 'c93dfda4' into fix-mergeconflict

* commit 'c93dfda4':
Do not retry forever in DataConnection.

Change-Id: I58bed4576638a459537d6b5a4c217e1f2fdb3826
c93dfda4916f67efd91e9a83b67128c192ca51f0 04-Jun-2013 Wink Saville <wink@google.com> am fcc57e87: Do not retry forever in DataConnection.

* commit 'fcc57e87d1620ab7dc877d65e7e85dca77132054':
Do not retry forever in DataConnection.
fcc57e87d1620ab7dc877d65e7e85dca77132054 03-Jun-2013 Wink Saville <wink@google.com> Do not retry forever in DataConnection.

When we are initially to connect we limit the the number of
retries so as to go through the list of waiting apns. But if retry
forever is enabled, as it is with Verizon devices, we can burn the
battery down quickly because we're retrying with short initial
timeouts.

In this change I also increase the timeout between apn retries from
5 seconds to 20 seconds to further reduce battery drain when retrying.
And added a retry with a longer timeout if to keep the contract with
ConnectivityService that when enabled we will continue to retry.

Bug: 9240744
Change-Id: I45b9ec5300d602d838dbdeacdbd1fca0c4d65ee3
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
203e588e3c42a81aa8a56f595119c181a63b12ca 31-May-2013 Wink Saville <wink@google.com> Handling data registration and radio technology changing.

When the DataRegistrationState (aka DRS) or RilDataRadioTechnology changes
aka Radio Access Technology or RAT) while retrying the DataConnection
StateMachine will return the connection as lost immediately. This allows
the connection to be retried with the correct handling of the changed
DRS or RAT quickly, rather than having to wait until retires are exhausted.

Changes:

- Pass RAT in bringUp
- Add the capability to register for DRS/RAT changes with SST
- When DRS/RAT changes in DcRetryState return LOST_CONNECTION to DcTracker

Bug: 9069568
Change-Id: Id4f29a63421af65ce153d24d646c09f7a1e8269b
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
187a39f896f88eb6c5e4306d9595546654825976 29-May-2013 Wink Saville <wink@google.com> Change DcTracker to not connect or retry if detached.

If we're detached than there is no possibility of connecting
so fail early. Upon attaching enabled connections will be retried.

Bug: 9024828
Change-Id: I363cd4580aeea68d88eff0b48ce579d2f27a13f3
nternal/telephony/dataconnection/DcTracker.java
4a9b3afeb2ec4d573eca335a3706392ecf9f281e 28-May-2013 Wink Saville <wink@google.com> Change DcTracker construction so only initialization is preformed.

In initApnContexts applyNewState and onSetDependency met could cause
calls to trySetupData which can send notifications or even try to
bring up a connection. This can cause problems as not all objects are
initialized. In particular when I tried to change ApnContext#isReady
to be false it caused a call to mPhone.notifyDataConnection but mPhone
wasn't completely initialized and an NPE occurred.

Bug: 9022095
Change-Id: I6d1bf350f2803aa62fa21b6a6759685456bef6eb
nternal/telephony/dataconnection/DcTracker.java
8f184cf35fa7fbc8e5ed887beaec0d090000939b 24-May-2013 Wink Saville <wink@google.com> Merge "DataConnection should not retry permanent errors."
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>
nternal/telephony/CommandsInterface.java
nternal/telephony/RIL.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
943b5090958bd8a2c0877218b1c8dbc72c4f8758 21-May-2013 Wink Saville <wink@google.com> DataConnection should not retry permanent errors.

Update DcFailCause with the "no retry" info from ril.h

Bug: 9040015
Change-Id: Ib94af9996c79800322251a45349b117e1f913269
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcFailCause.java
ee3555b687ef096490644cea009a1f4653d7df1d 21-May-2013 Wink Saville <wink@google.com> Merge "Retry even on permanent failures."
da1dd2e1bccb6141109a65d4e40253f39c405537 21-May-2013 Wink Saville <wink@google.com> Retry even on permanent failures.

The contract with ConnectivityService is that we should continue
to try to connect as long as we're ready. With this change we continue
but length the delay if there were permanent failures.

Change-Id: I83acfd2b07740d3650756aa20dad67b3c53e40d6
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
ab78c66a40cf1de4c4640601024d934dfa9c7d20 21-May-2013 Robert Greenwalt <rgreenwalt@google.com> am aba24c0e: am 6613a961: resolved conflicts for merge of d678053c to stage-aosp-master

* commit 'aba24c0e411839115840ae35caa52cd72fdf98ae':
Using a single counter for outstanding requests.
aba24c0e411839115840ae35caa52cd72fdf98ae 21-May-2013 Robert Greenwalt <rgreenwalt@google.com> am 6613a961: resolved conflicts for merge of d678053c to stage-aosp-master

* commit '6613a961473a72c218ec505e384dad6b19049aa0':
Using a single counter for outstanding requests.
6613a961473a72c218ec505e384dad6b19049aa0 21-May-2013 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of d678053c to stage-aosp-master

Change-Id: I17029e11f1a17d1446a06f716ab40b5a7f723258
1db7da14111228a5079d2970d7d0ce34173000b5 20-May-2013 Wink Saville <wink@google.com> Remap NONE to UNKNOWN on GENERIC_FAILURES for SETUP_DATA_CALL.

Bug: 9040003
Change-Id: I49340b88fe8cfe2c7895c7950e7b9ba0f947b145
(cherry picked from commit 912a45a1c0740a33938ec9c081d9f5baa984d376)
nternal/telephony/dataconnection/DataConnection.java
e1a4f80a7dac4bb4439a40811d7f53c2a3a17da1 20-May-2013 Wink Saville <wink@google.com> am 748ec9f1: am 74672e8e: Fix setup of retry filters.

* commit '748ec9f1d8fdefb122216e1ff6368072c0ddf736':
Fix setup of retry filters.
748ec9f1d8fdefb122216e1ff6368072c0ddf736 20-May-2013 Wink Saville <wink@google.com> am 74672e8e: Fix setup of retry filters.

* commit '74672e8ee972f12406b72551261b4cc7e0651933':
Fix setup of retry filters.
7cabec78b4c9ad40f23d8f9fd756722d33b4a639 10-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Using a single counter for outstanding requests.

Change-Id: Ie99239fbe02f4ee1528c0dc6e1a1750cad404b2c
nternal/telephony/RIL.java
74672e8ee972f12406b72551261b4cc7e0651933 18-May-2013 Wink Saville <wink@google.com> Fix setup of retry filters.

There were multiple registered filters for INTENT_RESTART_TRYSETUP_ALARM
this caused a retry not to fire and contributing to not recovering from
a RAT change error in identified by Samsung in post #22 of 8849653.

Bug: 8849653
Change-Id: I9c5cdb740d87a05dd69d72f8bc5596230b75d6f2
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
3befce9c55a0c247ad3d2168d36c5a67fe72c894 15-May-2013 Wink Saville <wink@google.com> am 14c47d88: am 9bce8bee: Merge "Fix a typo bug."

* commit '14c47d88b23fc035bed3d8625065a9157e470c36':
Fix a typo bug.
14c47d88b23fc035bed3d8625065a9157e470c36 15-May-2013 Wink Saville <wink@google.com> am 9bce8bee: Merge "Fix a typo bug."

* commit '9bce8beeeb2d55ba7f4bec67b1a174e16bdd3b53':
Fix a typo bug.
9bce8beeeb2d55ba7f4bec67b1a174e16bdd3b53 15-May-2013 Wink Saville <wink@google.com> Merge "Fix a typo bug."
64ec418c6bbf031a69f4948a115261bd1c5663ec 15-May-2013 Gao Rong <gaorong.dawn@gmail.com> Fix a typo bug.

Card state log should be correctly dispalyed as cdma_id instead of cmda_id.
nternal/telephony/uicc/IccCardStatus.java
c86f2407bce6575b63caf25d23316aebd5351ac3 14-May-2013 Wink Saville <wink@google.com> am daffa125: am 24286939: Do a disconnect if ApnContext is ready but retrying or failed.

* commit 'daffa12593f4fc2fe3cb8ab527ad2e836229e414':
Do a disconnect if ApnContext is ready but retrying or failed.
daffa12593f4fc2fe3cb8ab527ad2e836229e414 14-May-2013 Wink Saville <wink@google.com> am 24286939: Do a disconnect if ApnContext is ready but retrying or failed.

* commit '2428693913ae731d4ace3414429f5e91af24ea36':
Do a disconnect if ApnContext is ready but retrying or failed.
2428693913ae731d4ace3414429f5e91af24ea36 14-May-2013 Wink Saville <wink@google.com> Do a disconnect if ApnContext is ready but retrying or failed.

This change allows enabling of a ready ApnContext to reconnect if the
ApnContext is IDLE, FAILED or RETRYING. Without this change toggling
wifi or otherwise enabling the connection would not cause the connection
to be retried. Instead, toggling airplane mode would be required.

Bug: 8849653
Change-Id: I83f44dbfd412f4b0122a2108e22f36db94c59d18
nternal/telephony/dataconnection/DcTracker.java
0ebea55f1ac175f5752f10797c4b6bf87e42afb1 11-May-2013 Wink Saville <wink@google.com> Merge commit '08c0ce75' into fix-merge-conflict

* commit '08c0ce75':
Send notifyDataConnection on changes to data connection.

Conflicts:
src/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java

Change-Id: I0513bea92137b27d1c070c45f231c1391c503b88
08c0ce75f8affbfffcb46fbf039795023521aea2 10-May-2013 Wink Saville <wink@google.com> am a0f04ae3: Send notifyDataConnection on changes to data connection.

* commit 'a0f04ae3f07c686ddbc4d83edf0f1b7d8d1b4a0a':
Send notifyDataConnection on changes to data connection.
a0f04ae3f07c686ddbc4d83edf0f1b7d8d1b4a0a 10-May-2013 Wink Saville <wink@google.com> Send notifyDataConnection on changes to data connection.

Previously notification was sent only when voice radio technology
changed, but it needs to be when data RAT changed. Also send it with
there is a data registration changes.

Bug: 8786016
Change-Id: I5a53e13821efde4ebd3dbe5f062e7729f321497b
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
dae8162ec0b4b93f0d75d3b6c7ccffd0936e9caa 09-May-2013 Jake Hamby <jhamby@google.com> am 2fb61f2c: am f9c0a042: Merge "4373 & 4374 part of Severe Alerts"

* commit '2fb61f2cc25e78c9705ce5131561859382d124fb':
4373 & 4374 part of Severe Alerts
2fb61f2cc25e78c9705ce5131561859382d124fb 08-May-2013 Jake Hamby <jhamby@google.com> am f9c0a042: Merge "4373 & 4374 part of Severe Alerts"

* commit 'f9c0a042694635033704e0170d6bbc8214bd78e4':
4373 & 4374 part of Severe Alerts
030b39849e81d1b5de8ca33a718be4feea38a820 08-May-2013 Jake Hamby <jhamby@google.com> Merge "Log the correct radio states for GSM_RAT_SWITCHED."
f9c0a042694635033704e0170d6bbc8214bd78e4 08-May-2013 Jake Hamby <jhamby@google.com> Merge "4373 & 4374 part of Severe Alerts"
a71fe5191a367d376704cd642468a145ff802074 29-Apr-2013 Anju Mathapati <anjucm@codeaurora.org> 4373 & 4374 part of Severe Alerts

As per specification change 23.041 V9.6.0,
4373 & 4374 have been moved from Extreme
Alerts to Severe Alerts.

Bug: 8847901
Change-Id: I98f443dfc799da259d942f62ce66006058e5ffb1
nternal/telephony/gsm/SmsCbHeader.java
2ed9b7b8bd0d962acbd72b86a4296868aba285c8 06-May-2013 Wink Saville <wink@google.com> am 6d336fec: am 9a480819: On EVENT_CONNECT in DcRetryingState do not go inactive.

* commit '6d336feccb3f412c6623c90be2144f19838eee44':
On EVENT_CONNECT in DcRetryingState do not go inactive.
9a480819c79acf31f328d254b1bb9fe6cfac2c34 03-May-2013 Wink Saville <wink@google.com> On EVENT_CONNECT in DcRetryingState do not go inactive.

Going to DcInactiveState from DcRetryingState on EVENT_CONNECT causes
us to forget we are retrying the original connection and if this is
a different connection we can disconnect completely when we shouldn't.

For example, when we're retrying the default connection and we get a
request to connect to supl or mms which are short lived connections
we'll become completely disconnected.

Bug: 8770139
Change-Id: Id271bc7f88d12e6d9fe9451b09f9c9412e6959f4
nternal/telephony/dataconnection/DataConnection.java
385051afecde7a16a08b2aebb2025c3a2bbac279 02-May-2013 Jake Hamby <jhamby@google.com> Log the correct radio states for GSM_RAT_SWITCHED.

In GsmServiceStateTracker.pollStateDone(), we were recording the
incorrect radio states when logging GSM_RAT_SWITCHED. Specifically,
we were using the new voice radio technology for "network_from" and
STATE_OUT_OF_SERVICE for "network_to".

To avoid confusion when analyzing logs from different devices,
add a new event log tag, GSM_RAT_SWITCHED_NEW, to use for logging
the correct radio states, and add comments to indicate that
GSM_RAT_SWITCHED should be considered obsolete.

Bug: 8781951
Change-Id: I858d3f5044d7fb2560a4e21b8a5b4b14b4689a61
nternal/telephony/EventLogTags.logtags
nternal/telephony/gsm/GsmServiceStateTracker.java
55032f7787e2bc447249d3f2cdf4998dfb6e26cc 01-May-2013 Wink Saville <wink@google.com> am f6f1abbe: am 0f94d3ae: Add synchronized to toString.

* commit 'f6f1abbe04cf92da5412d20f194e5a023c61f42d':
Add synchronized to toString.
0f94d3aebcf0daf154bf0876164844d09067f904 30-Apr-2013 Wink Saville <wink@google.com> Add synchronized to toString.

If toString is called at the same time removeWaitingApn we can
get a ConncurrentModificationException.

Bug: 8727610
Change-Id: I95c2181a1a5abc1a28a9e4eb337b674e49847103
nternal/telephony/dataconnection/ApnContext.java
0e57bf12b5f4ea53427d7a7f1f875ec744dd1828 24-Apr-2013 Wink Saville <wink@google.com> am 26830d76: am 815af95f: Support WiFi only device at runtime.

* commit '26830d76df08a9830decdb758845ba67f5bac044':
Support WiFi only device at runtime.
3c9d82364525c955bf6501775f90026090c160e9 24-Apr-2013 Jake Hamby <jhamby@google.com> Merge "Refactor inbound (MT) SMS handling into new handler classes."
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
nternal/telephony/RIL.java
0d4bcdf379842af4b6304809156971e926f374f0 18-Mar-2013 Jake Hamby <jhamby@google.com> Refactor inbound (MT) SMS handling into new handler classes.

Moved all MT SMS handling to separate StateMachine classes, which
save all incoming PDUs in the SmsProvider "raw" table, previously
used only for storing PDUs of concatenated messages. Then we ACK the
message, before starting the ordered broadcast as usual. If a receiver
of the broadcast sets the status to failure, we ignore it, but in the
future we could provide a mechanism to redeliver the broadcast.

New classes are (without com.android.internal.telephony prefix):
- CellBroadcastHandler
- InboundSmsHandler
- InboundSmsTracker
- SmsBroadcastUndelivered
- WakeLockStateMachine
- cdma.CdmaInboundSmsHandler
- cdma.CdmaServiceCategoryProgramHandler
- gsm.GsmCellBroadcastHandler
- gsm.GsmInboundSmsHandler

This fixes a bug in the SMS dispatcher. Previously we delivered
incoming SM's as ordered broadcasts and then sent an acknowledgment
to the SMSC after the broadcast completed. It was possible for the
ordered broadcast to take over 20 seconds to complete, causing SMS
retransmissions because we didn't ACK quickly enough. Also, a
broadcast receiver could set the result code to failure (the AOSP
MMS app never does this), causing us to negatively acknowledge the
SMS, potentially leading to many retries and a backlog on the SMSC.

The reason for saving all PDUs in the raw table before ACKing is so
InboundSmsHandler can handle the failure case of a device crash or
power failure in between ACKing the message and the delivery of the
ordered broadcast to receivers. This is handled when the Phone class
starts, creating a new thread to run SmsBroadcastUndelivered.
This Runnable scans the raw table once, finding all complete
PDUs and sending IncomingSmsTrackers to the state machine to
broadcast them again to receivers. In the worst case, a message might
be added twice to the MMS inbox, but it won't be lost.

However, due to the current MMS app implementation, which immediately
acknowledges the ordered broadcast before starting a new Service to
process the message, there is a very short window of time when a
message could potentially be lost, if the MMS app or device crashed
after the ordered broadcast returns and the message is deleted from
the raw table, but before the MMS service has added the message to
its own tables. To fix this will probably require API changes.

Another improvement from this change: SmsBroadcastUndelivered also
deletes PDUs for incomplete multipart messages that are older than
30 days. We've never garbage collected this table in the past, so
it's possible for a phone to accumulate a number of old PDUs in the
raw table if not all components arrived successfully.

The wake lock handling is also improved in this version, as we now
acquire a wakelock when the state machine leaves the Idle state,
releasing it 3 seconds after returning to the idle state, instead
of the previous 5-second timeout. If a new SMS arrives while a
broadcast is being delivered, we add it to the raw table and ACK the
new PDU immediately, then send the InboundSmsTracker as a message to
handle when the previous broadcast completes.

In order to keep track of whether a PDU is in 3GPP or 3GPP2 format,
the destination port column of the raw table is extended with three
flags: 3GPP format, 3GPP2 format, and no destination port present.
Because the destination port is a 16-bit value in both 3GPP and
3GPP2, the upper bits of the destination port can be used for flags.
This saves us from having to modify the SMS provider to update the
DB version and to add extra columns to keep track of these flags.

Bug: 7099232
Change-Id: Ibbc01ccb83320f4b6112fe3dd31355eb6f570b67
nternal/telephony/CellBroadcastHandler.java
nternal/telephony/InboundSmsHandler.java
nternal/telephony/InboundSmsTracker.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/SmsBroadcastUndelivered.java
nternal/telephony/SmsStorageMonitor.java
nternal/telephony/WakeLockStateMachine.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaInboundSmsHandler.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/CdmaServiceCategoryProgramHandler.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCellBroadcastHandler.java
nternal/telephony/gsm/GsmInboundSmsHandler.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/UsimDataDownloadHandler.java
30961e36e424641b8cd0496888112d3ac748e306 22-Apr-2013 Wink Saville <wink@google.com> Merge "On data only devices use data registration state." into jb-mr2-dev
f1317a4b3492218ac2e449ee990948bac0295b65 20-Apr-2013 Wink Saville <wink@google.com> On data only devices use data registration state.

Some operators may report that the voice registration state is
not in service on a data only device. So use the Data registration
state for data only devices.

Bug: 8213254
Change-Id: Ieb6eef65fa5afb3d2c1a39b32a5bc5825ccc7f1c
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
e17fb5a149610484b4bcda31cde04abfd4e5d4ec 18-Apr-2013 Jake Hamby <jhamby@google.com> Load call forwarding flag from EF_CFF_CPHS when EF_CFIS is missing.

After loading EF_CFF_CPHS, use it to set mCallForwardingEnabled flag
if EF_CFIS record is missing or invalid.

Also fixes a few typos and updates an incorrect Javadoc comment.

Bug: 8554894
Change-Id: I3dfe3c915ad15b65781cd4e4d65cfa5c71a46ad6
nternal/telephony/uicc/SIMRecords.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
nternal/telephony/RIL.java
5fce53ac6610d7b301cb70a6433307b822c41c30 11-Apr-2013 Wink Saville <wink@google.com> Merge "Telephony: Return 'null' as per TelephonyManager need"
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
nternal/telephony/PhoneBase.java
nternal/telephony/gsm/GSMPhone.java
94354e82d1e0cc5fa21dec803d089dd066689174 10-Apr-2013 Wink Saville <wink@google.com> Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev
807686598ce4da5d1cb05eaaad4c71f867fe2131 22-Jul-2012 Shriram Ganesh <sganesh@codeaurora.org> Telephony: Send complete path for EF-IMG(4F20) for RUIM cards.

When retrieving the EF_IMG from an RUIM the icon load fails
because the path to the EF is incorrectly specified as "img"

Bug: 8443193
Change-Id: I76f981d5334274b34e2e1a752fd0a550458e4e86
nternal/telephony/uicc/RuimFileHandler.java
c76db118626ef47a8deee6fbd9c20dff1473d896 09-Apr-2013 Wink Saville <wink@google.com> Merge "Telephony: Send complete path for EF-IMG(4F20) for RUIM cards."
5fb811ff076aa6b4a9ceca6edaf504a4c6d9ad20 09-Apr-2013 Wink Saville <wink@google.com> Add FW support for CellInfo RIL commands.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
nternal/telephony/BaseCommands.java
nternal/telephony/CommandsInterface.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/RIL.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.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
nternal/telephony/RIL.java
f50b1bea2553ccd7b528f225bb7edc1504959db7 03-Apr-2013 Wink Saville <wink@google.com> Merge "IccCardApplicatonStatus should not throw exceptions." into jb-mr2-dev
c99e7c34aaca14bb1d8f9962f79d9465ccc04575 03-Apr-2013 Wink Saville <wink@google.com> IccCardApplicatonStatus should not throw exceptions.

Change from throwing exception to logging an error and mapping
to an XXXX_UKNOWN value.

Bug: 7449696
Change-Id: Iebed1c7893d120fb02821017643ee070d634bb19
nternal/telephony/uicc/IccCardApplicationStatus.java
6651da75a59ee54f154b2a82c76392a3385108bb 02-Apr-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "make new API to retrieve group identifier level1" into jb-mr2-dev
4750c8c11836338b024e159f04f0cbd13c7444b9 29-Mar-2013 Wink Saville <wink@google.com> Fix TODO in ApnContext#setDataConnectionAc.

Callers that really need to tearDown should call it directly
rather than as a side effect of setDataConnectionAc. The fixes
a "DcActiveState ERROR no such apnContext=" message caused by
an unnecssary tearDown when disconnecting.

Change-Id: I11321d098444659d99dec97b59041cefebb3285e
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
1f8e6cacec886736414f3b7d750ad1fa973ab20d 29-Mar-2013 Wink Saville <wink@google.com> Merge "Add fix and add some debugging." into jb-mr2-dev
c3b7c73fd6a494483e941adddcb3c0c23f4f0a70 28-Mar-2013 Wink Saville <wink@google.com> Add fix and add some debugging.

Bug: 8492574
Change-Id: I9cb1ab4ec3efb8186a4dd83736781835e1847720
nternal/telephony/dataconnection/DataConnection.java
c6bbea82bf74ebb492508199b6f3e172b7ce860a 28-Mar-2013 Wink Saville <wink@google.com> Map DcConstants.RETRYING to PhoneConstants.State.DISCONNECTED.

Previously RETRYING was mapped to CONNECTING this means that
ConnectivityService will not remove the route and a subsequent
change in IP addresses won't work because an old route has not
been removed.

By mapping to DISCONNECTED ConnectivityService will remove the
route. Another alternative would be to add PhoneConstants.State.RETRYING
but this is a simpler change so we'll try it first.

Bug: 8486114
Change-Id: I1c9946a1e441feda83f13730e835445624a87218
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/gsm/GSMPhone.java
1f2a2323572b2f3ab18234726cc1b048c670fbab 21-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Use new mechanism to get messenger to StateTracker

bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
f16c95f5e7e34e7e3a51a012d172902365a3682e 27-Mar-2013 Alex Yakavenka <ayakav@codeaurora.org> Merge commit '903be2fc' into fix-merge-conflict

* commit '903be2fc':
Telephony: Null check for adncache before search/update.

Change-Id: I1e498b4783e6c3381c14309019420142f3b8b15d
0e4abef0d7e978d4c3dea5199f451a1c69158d03 21-Mar-2013 Sungmin Choi <sungmin.choi@lge.com> make new API to retrieve group identifier level1

For mvno, user can add or edit mvno data field. To pre-provide
the mvno data of the edited apn when the user selects one of
the mvno types, need to support IMSI, SPN, and GID1 data.
To support GID1, make API to retrieve group identifier level1.

bug:6445254
Change-Id: I1bc280054cc7cd37e78a279866cefd62872a19fb
nternal/telephony/Phone.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/PhoneSubInfoProxy.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/sip/SipPhoneBase.java
ead6ee84aa6275062b64a05dafd14a0c17da8ea3 27-Mar-2013 Wink Saville <wink@google.com> Merge "Telephony: Null check for adncache before search/update."
f8768537438ef0517f6b11f449f9cabbea2f99ba 27-Mar-2013 Lorenzo Colitti <lorenzo@google.com> Merge "Allow 0.0.0.0 and :: as default gateways" into jb-mr2-dev
652fe674a597e221274a3746118f15cf40c7dbb9 27-Mar-2013 Wink Saville <wink@google.com> Merge commit '310b322d' into fix-merge-conflict

* commit '310b322d':
Telephony: Delay SIM IO until SIM_READY

Change-Id: I50618a1fb06a7eb465f7a0d9b4b8d6fb53ad1339
f57fcc91426dfa4c3efe2f8ee64a6a39bf708a97 26-Mar-2013 Wink Saville <wink@google.com> Merge "Telephony: Delay SIM IO until SIM_READY"
64bfd98578babdd437f1a83d2d5e1fc92c76e729 21-Mar-2013 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Delay SIM IO until SIM_READY

When SIM_REFRESH with SIM_INIT is received we need to
reread EFs but only if and when app is ready.

Bug: 8445450
Change-Id: I066a1e6547cfdcba91230f5fbfa8050864327c5d
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
ebc8af719102a64a2ae17cc2a836e23e2dbc3838 25-Mar-2013 Lorenzo Colitti <lorenzo@google.com> Allow 0.0.0.0 and :: as default gateways

On point-to-point interfaces, some RILs return the unspecified
address (0.0.0.0 or ::) as the gateway. This is correct, as
routes pointing at point-to-point interfaces don't need
gateways. Currently, telephony ignores these routes, causing
loss of connectivity (for example, when using an IPv6 APN on
Galaxy Nexus). Allow these routes to be set.

Bug: 8475171
Bug: 8276725
Change-Id: I3a770628c9717bb6e451a523417401b56ba55763
nternal/telephony/dataconnection/DataCallResponse.java
4e9ed0410d72180872d59b14cb375c1c2ed94788 26-Mar-2013 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 4eede890 to jb-mr2-dev

Change-Id: I7ee1d93d832275ad04d4e6bbae68d22ae86322ac
3ab6a16ab4d9c6fd842a46ed02aee25391e1b8fa 25-Mar-2013 Jake Hamby <jhamby@google.com> Merge "Telephony: Fix IntRangeManager"
1b21c4e9ebaba1af72ae6fa18e98d6863c888aca 25-Mar-2013 Wink Saville <wink@google.com> Merge "Use Build.IS_DEBUGGABLE" into jb-mr2-dev
2cc8c148fa4cb6cba5deac6b011268b4174a0b02 25-Mar-2013 Wink Saville <wink@google.com> Use Build.IS_DEBUGGABLE

Change-Id: I8d4a2e83b8cdcf86cafb622013868f117d0701ef
nternal/telephony/PhoneBase.java
nternal/telephony/TelephonyTester.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DcController.java
nternal/telephony/dataconnection/DcRetryAlarmController.java
nternal/telephony/dataconnection/DcTesterDeactivateAll.java
nternal/telephony/dataconnection/DcTesterFailBringUpAll.java
b37b072231c579844c21e5120eb7c200ac872de1 25-Mar-2013 Jeff Sharkey <jsharkey@android.com> Merge "Testing property to verify roaming behavior." into jb-mr2-dev
60ced166cb63c35a0ebbee1fc356cddcb76b956f 25-Mar-2013 Jeff Sharkey <jsharkey@android.com> Testing property to verify roaming behavior.

Bug: 6777372
Change-Id: Ia698f0eca6f05a6327f6c8b36cfe14f51f01e6e3
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.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
nternal/telephony/PhoneBase.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IsimUiccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
454b1dfd508844b42eb775e4ab2359be74d3672b 23-Mar-2013 Wink Saville <wink@google.com> Rename a few files and variables.

Change-Id: I4e90dbf57797b9485920f943e24fa7a4c29d070b
nternal/telephony/DebugService.java
nternal/telephony/PhoneBase.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DataConnectionAc.java
nternal/telephony/dataconnection/DataConnectionTracker.java
nternal/telephony/dataconnection/DataConnectionTrackerBase.java
nternal/telephony/dataconnection/DcAsyncChannel.java
nternal/telephony/dataconnection/DcController.java
nternal/telephony/dataconnection/DcTracker.java
nternal/telephony/dataconnection/DcTrackerBase.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmServiceStateTracker.java
fce638d1cc4c30c69b5cb6b0511f93c874f34f41 22-Jul-2012 Shriram Ganesh <sganesh@codeaurora.org> Telephony: Send complete path for EF-IMG(4F20) for RUIM cards.

When retrieving the EF_IMG from an RUIM the icon load fails
because the path to the EF is incorrectly specified as "img"

Bug: 8443193
Change-Id: I76f981d5334274b34e2e1a752fd0a550458e4e86
nternal/telephony/uicc/RuimFileHandler.java
4bf323c3a37e910dd6b3eb1ffabe508e0dff5b2a 30-Aug-2012 Venkat Ram Prakash Kotni <vkotni@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
nternal/telephony/PhoneBase.java
nternal/telephony/gsm/GSMPhone.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
nternal/telephony/CommandsInterface.java
nternal/telephony/DataCallState.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/RIL.java
nternal/telephony/RetryManager.java
nternal/telephony/TelephonyTester.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/DataCallResponse.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DataConnectionAc.java
nternal/telephony/dataconnection/DataConnectionBase.java
nternal/telephony/dataconnection/DataConnectionTracker.java
nternal/telephony/dataconnection/DataConnectionTrackerBase.java
nternal/telephony/dataconnection/DcController.java
nternal/telephony/dataconnection/DcFailBringUp.java
nternal/telephony/dataconnection/DcFailCause.java
nternal/telephony/dataconnection/DcRetryAlarmController.java
nternal/telephony/dataconnection/DcTesterDeactivateAll.java
nternal/telephony/dataconnection/DcTesterFailBringUpAll.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/test/SimulatedCommands.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
nternal/telephony/RIL.java
2c74d79cab4eee87acf0e74c0d8bf76be8f0f4aa 16-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> am f7bf2056: am 63152045: Merge "add MVNO check routine"

* commit 'f7bf205684ca101326e57921d81963da7541e3c6':
add MVNO check routine
fd5de4dae153c57e13bf8979d6f7a8aa86e3dede 07-Feb-2013 Sungmin Choi <sungmin.choi@lge.com> add MVNO check routine

modify createApnList() API as the followings:

1.1 mvno != null (already matched mvno info)
1.2 mvno == cur_mvno_info
1.2.1 result.add
2.1 mvno == null (not yet)
2.2 mvnoMatch check
2.2.1 clear prev results.
2.2.2 result add (mvno)
2.3 mvno_type is null
2.3.1 result add (normal)

match mvno as the followings:
1. if mvno_type is spn, compare spn of SIM
2. if mvno_type is imsi, compare imsi of SIM
3. if mvno_type is gid, compare gid of SIM

Bug: 8143480
Change-Id: Idf0aa1ddf139f80c7d33b1e3315493d32dbf433a
nternal/telephony/gsm/GsmDataConnectionTracker.java
620c8855bcaa3fe8d492e93811b0ed6e8b4f59fc 16-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Merge commit 'b21b57c0' into manualmerge

Conflicts:
src/java/com/android/internal/telephony/uicc/SIMRecords.java

Change-Id: Ic998e70207851e7e00f56d6e8591e53834987358
c13624a4a0b63c492fa8b336ae737f831bde50eb 15-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "get group identifier level1 (Gid1)"
01fdbd3285be1a8ba2143a4bc11a0f5065bb68d0 10-May-2012 Rika Brooks <rbrooks@codeaurora.org> Telephony: Fix IntRangeManager

-Fix to populate SmsBroadcastConfigInfo list with all the possible
range lists upon enable and disable to match previous implementation.
-Fix ClientRange to be ordered by start id, then by end id.
-Fix enableRange to handle missing cases:
-enable exact same range, i.e. new [x, y], existing [x, y]
-enable range that is already enclosed in existing range i.e.
adding [3, 3] to existing range [1,3]
-enable (startId -1) == range.endId, i.e. new [3, y] existing [1, 2]
-Fix where range.endId is not updated correctly
-Fix disableRange to first update mRange then call updateRange.
-Add more unit test cases.

Bug: 8355035
Change-Id: I83308c76ed28c6f753326aeaac6bec1d88c01b39
nternal/telephony/IntRangeManager.java
5a176f73dbb2bff2ca8b8f86af86a17be6863b87 11-Mar-2013 Wink Saville <wink@google.com> Merge commit '958e7316' into fix-merge-conflict

* commit '958e7316':
Telephony: Set TP-RD to 1 in case of retry

Change-Id: I298e588b1076686e2c7c4b3714b46d2637b04079
454c5783e7695feec276325920550b2d4dcc3e16 07-Jun-2012 Rika Brooks <rbrooks@codeaurora.org> Telephony: Set TP-RD to 1 in case of retry

per TS 23.040 Section 9.2.3.6: In the case where no response or an
RP-ERROR with an appropriate cause value (see 3GPP TS 24.011 [13]) is
received in response to an SMS-SUBMIT, then the MS shall automatically
repeat the SMS-SUBMIT but must use the same TP-MR value
and set the TP-RD bit to 1 (see 9.2.3.25)

Bug: 8323645
Change-Id: I1c7ebc67f80a6eeba456ab0dc5f6331a038d7ab2
nternal/telephony/SMSDispatcher.java
nternal/telephony/gsm/GsmSMSDispatcher.java
6c5e8c9ef98f3ef8f87e4a5c06f730cf7d0c1536 06-Mar-2013 Wink Saville <wink@google.com> am 5779b57f: Merge "Send user confirmation instead of Terminal Response"

* commit '5779b57fe7530dfca8d814be0cbd13c7bad5d643':
Send user confirmation instead of Terminal Response
a6aedcd548ee25f4df9d86ae94eec8b2a0b61f5a 06-Mar-2013 Wink Saville <wink@google.com> Merge commit '63a6a12c' into fix-merge-conflict

* commit '63a6a12c':
Telephony: Fix for first pause DTMF digit

Change-Id: I345e0e32d8230c16c28c953de5848cd095438e34
5779b57fe7530dfca8d814be0cbd13c7bad5d643 06-Mar-2013 Wink Saville <wink@google.com> Merge "Send user confirmation instead of Terminal Response"
37d3599e3fd89987da444ba971df98516d2ea3f5 21-Dec-2010 Shruthi Krishnan <shruthink@codeaurora.org> Telephony: Fix for first pause DTMF digit

As per 3GPP requirement first pause sequence also should maintain 3 sec
delay. Added fix to wait for 3 sec time before sending DTMF digits to
RIL.

Change-Id: I6041614b544cc9c24521bee9ad505439b810ff86
nternal/telephony/gsm/GsmConnection.java
14957f5b0b202fc80782944c962d282ed1866837 15-Jan-2013 Abhishek Adappa <aadappa@codeaurora.org> Send user confirmation instead of Terminal Response

On certain proactive commands like Setup Call/Open Channel,
a confirmation dialog is displayed to the user to confirm or reject the
call. If the user hits the back key to dismiss the dialog or the user
hits 'No', consider that as the user rejecting the call, instead
of sending a Terminal Response.

Bug: 8302972
Change-Id: I23d57f726018a6805ef455f6069dbab8e6dd14f0
nternal/telephony/cat/CatService.java
f1b97fcff40f829cafd2fa643e8e4b788e504614 05-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Send Power-off notifications

If we update the state of the old servicestate and the new before calling done
nothing will get sent out (no change). Instead, just put the new state
in the mNewSS and call done - it'll copy it to mSS and note the diff and
notify everyone.

bug:8304092
Change-Id: I5fee4805245c547175bbd8b0e18f407edfc8c3d8
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
2f837b8058eba0bc59e983c67efbc00cd9a80eee 07-Feb-2013 Hyejin Kim <hyejin.kim@lge.com> get group identifier level1 (Gid1)

To recognize MVNO(Mobile Virtual Network Operator), need some filters,
Service Provider Name(SPN), International Mobile Subscriber ID(IMSI),
and Group Identifier Level1(Gid1).
The GID1 elementary files on the SIM are specified in GSM 11.11 (ETS 300 977)

To get Gid1, implement it.

Bug: 8143480
Change-Id: I44f9d622240a73c42ea6418d2d55e1dae23f3b81
nternal/telephony/uicc/IccConstants.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/SIMFileHandler.java
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/UsimFileHandler.java
cbd0db26545a7c83896b976f21d20a30bdd6438e 28-Feb-2013 Wink Saville <wink@google.com> am a6577f4b: Merge "Telephony: Return \'null\' when SubscriberId and Line1Number are unavailable"

* commit 'a6577f4b162c9f6d8084e19a6cc5792cf52e4872':
Telephony: Return 'null' when SubscriberId and Line1Number are unavailable
a6577f4b162c9f6d8084e19a6cc5792cf52e4872 28-Feb-2013 Wink Saville <wink@google.com> Merge "Telephony: Return 'null' when SubscriberId and Line1Number are unavailable"
4b048b326272496b8bd6932173041280bc22c8dc 25-Jul-2012 Abhishek Adappa <aadappa@codeaurora.org> Telephony: Return 'null' when SubscriberId and Line1Number are unavailable

Return 'null' instead of "" (empty string) when Subscriber Id and
Line1Number are unavailable. This confirms to the definition of the
public API.

Bug: 8284793
Change-Id: Ie6395623cf413d51f6e10316aded71e2eaf5592c
nternal/telephony/gsm/GSMPhone.java
e452cb2aa9236ebecb090e03a469fa68aef8d497 27-Feb-2013 Elliott Hughes <enh@google.com> Fix build.

TimeZones was renamed to the more accurate TimeZoneNames.

(cherry-pick of 96c87e2f014207dc5c55f7c8fafd1e666080d784.)

Change-Id: I52f8b3eb6e5183ba486a68820c7c3af3863ffdb5
nternal/telephony/MccTable.java
22c3bbde1128029c4d4e6fe34ee0b56f530629ac 27-Feb-2013 Elliott Hughes <enh@google.com> Merge "Fix build."
96c87e2f014207dc5c55f7c8fafd1e666080d784 27-Feb-2013 Elliott Hughes <enh@google.com> Fix build.

TimeZones was renamed to the more accurate TimeZoneNames.

Change-Id: Ia44bc852cd7f65466a97e815e3289a61ee22cb0f
nternal/telephony/MccTable.java
cfbca8ec2141b4c16d4f39d6452bac98ffd0bd03 26-Feb-2013 Wink Saville <wink@google.com> Merge commit 'b575731e' into fix-merge-conflict

* commit 'b575731e':
Update PS state when radio off or unavailable

Change-Id: I87d25d297ef455763d20b2f9b6cad920514a4f05
f1911ab88b20323cd0e4d005d7913f2df992f158 06-Sep-2012 Ye Jingjing <jingjing.ye@sonymobile.com> Update PS state when radio off or unavailable

When radio off or unavailable, CS state has been reset,
but PS state has not updated, in fact both CS and PS
state should be out of service. So SMS will try to be
sent out when sending sms, the result is "could not send"
rather than sms being queued for sending.
This fix will reset PS state to power off or out of
service when radio off or unavailable accordingly.

Bug: 8265430
Change-Id: I46e962c30021ff1273dcc559579bdedc7f432a64
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
22d85a8e3a575a6d01d2c788587971657dfe20c6 23-Feb-2013 Wink Saville <wink@google.com> Clean up member variables.

Change-Id: Ib60f350131ade626aca682407ea0b4377b16f6c6
nternal/telephony/ATResponseParser.java
nternal/telephony/Call.java
nternal/telephony/CallManager.java
nternal/telephony/CallTracker.java
nternal/telephony/CommandException.java
nternal/telephony/Connection.java
nternal/telephony/DebugService.java
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccPhoneBookInterfaceManagerProxy.java
nternal/telephony/IccSmsInterfaceManagerProxy.java
nternal/telephony/IntRangeManager.java
nternal/telephony/MccTable.java
nternal/telephony/OperatorInfo.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneSubInfoProxy.java
nternal/telephony/RIL.java
nternal/telephony/RetryManager.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/SmsMessageBase.java
nternal/telephony/SmsResponse.java
nternal/telephony/SmsStorageMonitor.java
nternal/telephony/UUSInfo.java
nternal/telephony/WspTypeDecoder.java
nternal/telephony/cat/CatCmdMessage.java
nternal/telephony/cat/CatResponseMessage.java
nternal/telephony/cat/CatService.java
nternal/telephony/cat/CommandParams.java
nternal/telephony/cat/CommandParamsFactory.java
nternal/telephony/cat/IconLoader.java
nternal/telephony/cat/ImageDescriptor.java
nternal/telephony/cat/ResponseData.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaCall.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
nternal/telephony/cdma/EriInfo.java
nternal/telephony/cdma/EriManager.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/cdma/SignalToneUtil.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/dataconnection/ApnSetting.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DataConnectionBase.java
nternal/telephony/dataconnection/DataConnectionTracker.java
nternal/telephony/dataconnection/DataConnectionTrackerBase.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCall.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/gsm/SimTlv.java
nternal/telephony/gsm/SmsBroadcastConfigInfo.java
nternal/telephony/gsm/SmsCbHeader.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/gsm/UsimDataDownloadHandler.java
nternal/telephony/sip/SipCallBase.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/test/ModelInterpreter.java
nternal/telephony/test/SimulatedCommands.java
nternal/telephony/test/SimulatedGsmCallState.java
nternal/telephony/uicc/AdnRecord.java
nternal/telephony/uicc/AdnRecordCache.java
nternal/telephony/uicc/AdnRecordLoader.java
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/IccFileHandler.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IsimUiccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/SpnOverride.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
nternal/telephony/BaseCommands.java
nternal/telephony/Call.java
nternal/telephony/CallForwardInfo.java
nternal/telephony/CallManager.java
nternal/telephony/CallTracker.java
nternal/telephony/CommandsInterface.java
nternal/telephony/Connection.java
nternal/telephony/DataCallState.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/DriverCall.java
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccPhoneBookInterfaceManagerProxy.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccSmsInterfaceManagerProxy.java
nternal/telephony/IccUtils.java
nternal/telephony/MccTable.java
nternal/telephony/OperatorInfo.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneStateIntentReceiver.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/PhoneSubInfoProxy.java
nternal/telephony/RIL.java
nternal/telephony/RestrictedState.java
nternal/telephony/RetryManager.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/SmsMessageBase.java
nternal/telephony/SmsResponse.java
nternal/telephony/SmsUsageMonitor.java
nternal/telephony/TelephonyCapabilities.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cat/CatCmdMessage.java
nternal/telephony/cat/CatService.java
nternal/telephony/cat/CommandDetails.java
nternal/telephony/cat/CommandParams.java
nternal/telephony/cat/CommandParamsFactory.java
nternal/telephony/cat/Duration.java
nternal/telephony/cat/IconLoader.java
nternal/telephony/cat/Input.java
nternal/telephony/cat/Item.java
nternal/telephony/cat/Menu.java
nternal/telephony/cat/ResultCode.java
nternal/telephony/cat/ResultException.java
nternal/telephony/cat/TextMessage.java
nternal/telephony/cat/Tone.java
nternal/telephony/cat/ToneSettings.java
nternal/telephony/cat/ValueParser.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaCall.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaCallWaitingNotification.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaInformationRecords.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
nternal/telephony/cdma/EriManager.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/cdma/SignalToneUtil.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/cdma/TtyIntent.java
nternal/telephony/cdma/sms/BearerData.java
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/ApnSetting.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DataConnectionAc.java
nternal/telephony/dataconnection/DataConnectionBase.java
nternal/telephony/dataconnection/DataConnectionTracker.java
nternal/telephony/dataconnection/DataConnectionTrackerBase.java
nternal/telephony/dataconnection/GsmDataConnection.java
nternal/telephony/dataconnection/GsmDataConnectionTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCall.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/GsmSmsAddress.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/gsm/SuppServiceNotification.java
nternal/telephony/gsm/UsimPhoneBookManager.java
nternal/telephony/sip/SipCallBase.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/test/ModelInterpreter.java
nternal/telephony/test/SimulatedCommands.java
nternal/telephony/test/SimulatedGsmCallState.java
nternal/telephony/uicc/AdnRecord.java
nternal/telephony/uicc/AdnRecordCache.java
nternal/telephony/uicc/AdnRecordLoader.java
nternal/telephony/uicc/CsimFileHandler.java
nternal/telephony/uicc/IccCardApplicationStatus.java
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/IccCardStatus.java
nternal/telephony/uicc/IccFileHandler.java
nternal/telephony/uicc/IccIoResult.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IccServiceTable.java
nternal/telephony/uicc/IccUtils.java
nternal/telephony/uicc/IsimFileHandler.java
nternal/telephony/uicc/IsimUiccRecords.java
nternal/telephony/uicc/RuimFileHandler.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMFileHandler.java
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/SpnOverride.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCardApplication.java
nternal/telephony/uicc/UiccController.java
nternal/telephony/uicc/UsimFileHandler.java
nternal/telephony/uicc/VoiceMailConstants.java
4918296afe1c667e9523cdfc799f558f7ebc2bfb 21-Feb-2013 Wink Saville <wink@google.com> Move DataConnection related classes to their own package.

Change-Id: I34ee9e87545e6b15ebf4d3ec101d4ed3d322f7b2
nternal/telephony/ApnContext.java
nternal/telephony/ApnSetting.java
nternal/telephony/DataCallState.java
nternal/telephony/DataConnection.java
nternal/telephony/DataConnectionAc.java
nternal/telephony/DataConnectionTracker.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/RIL.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/dataconnection/ApnContext.java
nternal/telephony/dataconnection/ApnSetting.java
nternal/telephony/dataconnection/DataConnection.java
nternal/telephony/dataconnection/DataConnectionAc.java
nternal/telephony/dataconnection/DataConnectionTracker.java
nternal/telephony/dataconnection/GsmDataConnection.java
nternal/telephony/dataconnection/GsmDataConnectionTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/sip/SipPhoneBase.java
9f88c3516ba5e76d1fe55c2acd2bd5714b136b34 20-Feb-2013 Wink Saville <wink@google.com> am de707749: Merge "Telephony: Update Permanent Fail and Event Loggable Types"

* commit 'de70774912571d7e2d9de627a91df933b2d5f3c1':
Telephony: Update Permanent Fail and Event Loggable Types
de70774912571d7e2d9de627a91df933b2d5f3c1 20-Feb-2013 Wink Saville <wink@google.com> Merge "Telephony: Update Permanent Fail and Event Loggable Types"
0c5d5ba2a162f605a1381cca9fc21ac315ad77ec 05-Sep-2012 Chris Lei <chrislei@codeaurora.org> Telephony: Update Permanent Fail and Event Loggable Types

- Updating isPermanentFail() and isEventLoggable() to better
comply with "no retry" requirements in ril.h

Change-Id: I377eba7ec0203e41ae7689192a41f6b260a8775a
nternal/telephony/DataConnection.java
5aea02dbc2d1e743bd181a7db96625b5055ce633 13-Feb-2013 Wink Saville <wink@google.com> Merge "Partial fix for b8022095"
ce28277047b055d8420384f018ff4517c41ea1df 13-Feb-2013 Jake Hamby <jhamby@google.com> am 64f509b2: Merge "Fix for storing CPHS MWI messages with store type"

# By Björn Ekberg
# Via Gerrit Code Review (1) and Zoran Jovanovic (1)
* commit '64f509b256eccf899910a449857b095aa2cbc714':
Fix for storing CPHS MWI messages with store type
64f509b256eccf899910a449857b095aa2cbc714 12-Feb-2013 Jake Hamby <jhamby@google.com> Merge "Fix for storing CPHS MWI messages with store type"
e65a7cd00bf0022cfe24537371be78e4492636b8 12-Feb-2013 Wink Saville <wink@google.com> Partial fix for b8022095

With the changes to the DC the list of ApnContexts is cleared when
a DC disconnects. So the connectionId is invalid, instead send the
APN type information which fixes this retry problem.

A larger fix is coming where retries are done in DC but this will help
for now.

Bug: 8022095
Change-Id: I7364d1108c4be853a9d711eb8771d05a7640fe19
nternal/telephony/gsm/GsmDataConnectionTracker.java
945e169166e9fd4bcb145d23dffb7c7b68cd6208 15-Aug-2012 Björn Ekberg <bjorn.ekberg.x@sonymobile.com> Fix for storing CPHS MWI messages with store type

CPHS MWI messages of store type were treated as discard type.
This resulted in that no CPHS MWI messages with text was ever
shown to the user.

Change-Id: I42f80a084c35a813933052d4a676e16b2c4e2d9d
nternal/telephony/gsm/SmsMessage.java
8d3dfb1ac5e12b2c0a0ec50db956c8b47fcc102f 12-Feb-2013 Wink Saville <wink@google.com> Tweak LogRecord logging.

Change-Id: If948c1cdf4701c09550bd57212b9936fca6cb664
nternal/telephony/DataConnection.java
a2ccc4f16ec2f3e26b308d6f25cd4aa6a394a008 09-Feb-2013 Jake Hamby <jhamby@google.com> Add bounds checking for decoding CDMA SMS using Shift-JIS.

The test case testRandomUserData() in CdmaSmsCbTest fails since we
added support for decoding Shift-JIS messages. Change decodeShiftJis()
to call the helper method decodeCharset(), which checks the array
bounds and tries to decode as much as possible if the length extends
past the end of the PDU, instead of throwing
StringIndexOutOfBoundsException.

Bug: 8107987
Change-Id: I180e8360e391cd8276752a44a58a9c3a635dc284
nternal/telephony/cdma/sms/BearerData.java
1c81e1353dc3ccc8347f65c424a993b7648b2808 08-Feb-2013 Wink Saville <wink@google.com> Merge "Move a few files from frameworks/opt/telephony to frameworks/base."
a78a6aaffa5e3e13ca617bb1f114e1c31ff7c7af 08-Feb-2013 Wink Saville <wink@google.com> Move a few files from frameworks/opt/telephony to frameworks/base.

Because ISms.aidl imports PendingIntent we couldn't easily
make opt/telephony part of the PDK. So this change moves
ISms.aidl and SmsRawData.*, which ISms.aidl also imports,
back to frameworks/base.

Change-Id: Ia64c6e771d5a292d9bfebb413a43f3745df55c85
nternal/telephony/ISms.aidl
nternal/telephony/SmsRawData.aidl
nternal/telephony/SmsRawData.java
e4dbb0bdbbfc3155171c0ca9fbbb8d1177fa2886 07-Feb-2013 Jeff Sharkey <jsharkey@android.com> Merge "Use TCP interface statistics for data stall."
a869bfaecddd0a5772cdcd84c992be315f45eb69 06-Feb-2013 Wink Saville <wink@google.com> am c95d086f: am fc354419: Merge "Telephony: Fix NPE in CdmaConnection"

# By Alex Yakavenka
# Via Alex Yakavenka (1) and others
* commit 'c95d086fdaac610430b69b4b19914cb24e49f308':
Telephony: Fix NPE in CdmaConnection
c95d086fdaac610430b69b4b19914cb24e49f308 06-Feb-2013 Wink Saville <wink@google.com> am fc354419: Merge "Telephony: Fix NPE in CdmaConnection"

# By Alex Yakavenka
# Via Alex Yakavenka (1) and Gerrit Code Review (1)
* commit 'fc354419d48b1ded8ce951670c4069780f22e273':
Telephony: Fix NPE in CdmaConnection
a914a2429cb352f1f294e15dc236b3721e81a823 06-Feb-2013 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Fix NPE in CdmaConnection

When card is removed and call gets terminated
getUiccCardApplication will return null

Change-Id: Ic861e5b5ee8515de431c33152fd11d2c45a2a353
nternal/telephony/cdma/CdmaConnection.java
db9c8ee5f0c88306063fcbbbc430cb5e2e894e21 06-Feb-2013 Jeff Sharkey <jsharkey@android.com> Use TCP interface statistics for data stall.

Bug: 7903145
Change-Id: Ia90ba964a26ded119ac0394b719b567fb9971caf
nternal/telephony/DataConnectionTracker.java
7fce994eb223105829becb6c26e3af7a9739752c 05-Feb-2013 Dianne Hackborn <hackbod@google.com> Add new app ops for sending/receiving SMS messages.

There are a variety of new app ops for various kind of
SMS operations: reading, writing, sending, receiving, on
ICC card, MMS, etc. These are instrumented in the telephony
framework; the controls for access to these features are
rolled up to either sending or receiving SMS.

Change-Id: Ie18b09d77fac555aaa169eb6fdfba44dd8078976
nternal/telephony/ISms.aidl
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccSmsInterfaceManagerProxy.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/gsm/SimSmsInterfaceManager.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
9eef81ce80e72d68a8349fd84797276cb9cbe957 05-Feb-2013 Jake Hamby <jhamby@google.com> am 89558696: Merge "Telephony: Define enable/disable APIs for Cdma CMAS"

# By Rika Brooks
# Via Gerrit Code Review (1) and Rika Brooks (1)
* commit '895586961de9992a4feefc57b648e01d158a382c':
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
nternal/telephony/CommandsInterface.java
nternal/telephony/ISms.aidl
nternal/telephony/RIL.java
nternal/telephony/cdma/CdmaSmsBroadcastConfigInfo.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/test/SimulatedCommands.java
17382a60400f4a067d15bf3fbd98bd865b73c8e5 01-Feb-2013 Wink Saville <wink@google.com> Move SmsRawData.aidl to opt/telephony.

Change-Id: I31810a667cb2c987d4a7687a825ae6da06d8e59a
nternal/telephony/SmsRawData.aidl
a98defd468473ca430b298df0fc9bbe845088bc1 28-Jan-2013 Wink Saville <wink@google.com> Merge "Add protected log methods to StateMachine"
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.
30f92450d53443505ac1fa70138ddd55c91032bc 28-Jan-2013 Wink Saville <wink@google.com> am 69c5b8c7: Merge "Send correct screen state when radio available."

# By Bin Li
# Via Bin Li (1) and Gerrit Code Review (1)
* commit '69c5b8c7c41614d0d5fc131a9f26c403a9d30de0':
Send correct screen state when radio available.
69c5b8c7c41614d0d5fc131a9f26c403a9d30de0 28-Jan-2013 Wink Saville <wink@google.com> Merge "Send correct screen state when radio available."
c51e5b85def45b8214c522152fb43c409b940a02 28-Jan-2013 Wink Saville <wink@google.com> Add protected log methods to StateMachine

This allow child classes to Override the logging and
have consistent behavior across StateMachines.

Change-Id: I7e23a44d08ca304ade2d7830fd0e307f63f1879e
nternal/telephony/DataConnection.java
nternal/telephony/gsm/GsmDataConnection.java
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
6fd7b2c812a09d8bb4ffd7cfa48c570129cf4ca6 26-Jan-2013 Wink Saville <wink@google.com> am 7b3c1c39: am 44c9723a: Merge "Telephony: Mark SIM SMS as read after importing it"

# By Rika Brooks
# Via Android Git Automerger (1) and others
* commit '7b3c1c394ebb53ab6861dfc66f4326eccbcda133':
Telephony: Mark SIM SMS as read after importing it
9af361639d89aa20748ce9e8e3d55c97e7f6b632 25-Jan-2013 Wink Saville <wink@google.com> am 5b5a06f5: Merge "Telephony: Don\'t start RilReceiver when not needed"

# By Alex Yakavenka
# Via Alex Yakavenka (1) and Gerrit Code Review (1)
* commit '5b5a06f5d63561411d04d70900b55af23c44ef10':
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
nternal/telephony/RIL.java
98437235fc30d809992c32410f02d22cc89fac8c 19-Nov-2011 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Null check for adncache before search/update.

Sometimes adncache is uninitialized leading to exceptions.
Add checking against null before using it for searching or updating
records.

Change-Id: I5b6787ce917db921d1ee35753acf890dfaf169b7
nternal/telephony/IccPhoneBookInterfaceManager.java
7b3c1c394ebb53ab6861dfc66f4326eccbcda133 24-Jan-2013 Wink Saville <wink@google.com> am 44c9723a: Merge "Telephony: Mark SIM SMS as read after importing it"

# By Rika Brooks
# Via Gerrit Code Review (1) and Rika Brooks (1)
* commit '44c9723a49d352a8bcf3051eeb1885c80fb20e44':
Telephony: Mark SIM SMS as read after importing it
44c9723a49d352a8bcf3051eeb1885c80fb20e44 24-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Mark SIM SMS as read after importing it"
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>
nternal/telephony/RIL.java
4a001e3bc9735735f33fe8d05f7abd3b3a567680 24-Jan-2013 Wink Saville <wink@google.com> am 0a4672f6: am c09d9845: Merge "Fixes Binder Buffer leak after crashing com.android.smspush process"

# By Maunik Shah
# Via Android Git Automerger (1) and others
* commit '0a4672f6a60f5485dea4f8fd365afad113ef4c93':
Fixes Binder Buffer leak after crashing com.android.smspush process
5a8b17dc4ae580d78b048c5e4ce434a1bdb38f10 24-Jan-2013 Wink Saville <wink@google.com> am 581e4fbe: am 36001ade: Merge "Reset data stall watch dog after doing recovery"

# By Bin Li
# Via Android Git Automerger (1) and others
* commit '581e4fbefde83b2deaa9f2cb555d6bed8153209e':
Reset data stall watch dog after doing recovery
0a4672f6a60f5485dea4f8fd365afad113ef4c93 24-Jan-2013 Wink Saville <wink@google.com> am c09d9845: Merge "Fixes Binder Buffer leak after crashing com.android.smspush process"

# By Maunik Shah
# Via Gerrit Code Review (1) and Maunik Shah (1)
* commit 'c09d9845ab719c8224d3f2c610a612bf9489bc6e':
Fixes Binder Buffer leak after crashing com.android.smspush process
581e4fbefde83b2deaa9f2cb555d6bed8153209e 24-Jan-2013 Wink Saville <wink@google.com> am 36001ade: Merge "Reset data stall watch dog after doing recovery"

# By Bin Li
# Via Bin Li (1) and Gerrit Code Review (1)
* commit '36001adedf90a3a0077d36b869822643ae01ad1b':
Reset data stall watch dog after doing recovery
c09d9845ab719c8224d3f2c610a612bf9489bc6e 24-Jan-2013 Wink Saville <wink@google.com> Merge "Fixes Binder Buffer leak after crashing com.android.smspush process"
36001adedf90a3a0077d36b869822643ae01ad1b 24-Jan-2013 Wink Saville <wink@google.com> Merge "Reset data stall watch dog after doing recovery"
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
5eee6bd8b452dcb328d3121d6f7fa8a819a5bc7a 24-Jan-2013 Wink Saville <wink@google.com> am 57516407: Merge "Telephony: Correct the typo in RIL.java"

# By Jiju Kinattingal
# Via Gerrit Code Review (1) and Jiju Kinattingal (1)
* commit '575164076e184002a8545dffa5056d38f07639c2':
Telephony: Correct the typo in RIL.java
575164076e184002a8545dffa5056d38f07639c2 23-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Correct the typo in RIL.java"
e0c9d5eb0a21b1ddd0560cfb358288c029031969 23-Jan-2013 Wink Saville <wink@google.com> am 4fd4011e: am ef5afe19: Merge "Interprete mmi code *21*num# as registration."

* commit '4fd4011e9fd3903f76a0ddcc35798d435aa345aa':
Interprete mmi code *21*num# as registration.
4fd4011e9fd3903f76a0ddcc35798d435aa345aa 23-Jan-2013 Wink Saville <wink@google.com> am ef5afe19: Merge "Interprete mmi code *21*num# as registration."

* commit 'ef5afe19131035ef5b359096f1ef64f9a55795d9':
Interprete mmi code *21*num# as registration.
5f6b9345f8fe5545f576d29fb7ff9f3405d9dc05 23-Jan-2013 Bin Li <libin@marvell.com> Interprete mmi code *21*num# as registration.

Per 3GPP TS 22.030 6.5.2

A call forwarding request with a singel * would
be interpreted as registration if containing a
forwarded-to number, or an activation if not.

Change-Id: Iaf5754e49454819892fe054938ef8819f759d6bd
Signed-off-by: Bin Li <libin@marvell.com>
nternal/telephony/gsm/GsmMmiCode.java
2d01df4311974279d0967846f850c693f72eca72 23-Jan-2013 Bin Li <libin@marvell.com> Reset data stall watch dog after doing recovery

Without resetting data stall watch dog, one data
stall will lead to radio reset if there is no
data traffic after doing recovery.

Change-Id: Icc7b1e7f160cd0c8910f7132d7c2fea0d29803e5
Signed-off-by: Bin Li <libin@marvell.com>
nternal/telephony/DataConnectionTracker.java
f1ac06f0498ec7cb7489c835bcd2eed568b5f6a6 23-Jan-2013 Wink Saville <wink@google.com> Add debug and some cleanup

Change-Id: I866676a1ec4a338dcfe089cbf0483e5e546ded85
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
b08797967cd0f314d8df940ecbee13ddeb3f15c4 22-Jan-2013 Wink Saville <wink@google.com> Merge "Add some debug."
072d5d580041046968dbc335c5d4418f344d2b39 22-Nov-2012 Maunik Shah <mshah@codeaurora.org> Fixes Binder Buffer leak after crashing com.android.smspush process

After many crashes of com.android.smspush process under low memory
condition, binder buffer used to get overflow as there is a leak
in buffer.
This fix restricts the leak in binder buffer by unbinding it upon
com.android.smspush process crash.

Change-Id: I0b5cd4ef282ec9f12693337001c084ce60db4555
nternal/telephony/WapPushOverSms.java
ebc3f0565ad0f9b8b7d3531afd8744843d96aadb 23-Aug-2012 Rika Brooks <rbrooks@codeaurora.org> Telephony: Mark SIM SMS as read after importing it

The GCF test case 8.2.2 checks if the status byte of the SMS is marked as read
after reading the SMS from SIM. The status byte is marked as read after the
SMS is imported from the SIM if it is not already marked.
Fix to check for null IccFilehandler which can happen if card is not present.

Extract common functions from Sim/RuimSmsInterfaceManager to their parent
class IccSmsInterfaceManager.

Change-Id: I4f226bc873786904527d7d822a67dfc14f05a327
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
d04a0db0a9363d0a3681d39511f0e8efd1e8b172 17-Jan-2013 Wink Saville <wink@google.com> am 2f418724: am 135bf68d: Merge "Wrong terminal response for proactive command length errors"

* commit '2f41872415627ef35399a1f502dbfab01af89d64':
Wrong terminal response for proactive command length errors
2f41872415627ef35399a1f502dbfab01af89d64 17-Jan-2013 Wink Saville <wink@google.com> am 135bf68d: Merge "Wrong terminal response for proactive command length errors"

* commit '135bf68d7638dc5d8524ba84db80e35452772aa1':
Wrong terminal response for proactive command length errors
135bf68d7638dc5d8524ba84db80e35452772aa1 17-Jan-2013 Wink Saville <wink@google.com> Merge "Wrong terminal response for proactive command length errors"
c4d170ec2abcdf94b6242f09734d34a8dd6c5e3c 17-Jan-2013 Wink Saville <wink@google.com> Add some debug.

Bug: 8022095
Change-Id: Ic3f69389b66e6a2ecfa5fe3ae1ce32732355462b
nternal/telephony/gsm/GsmDataConnectionTracker.java
9edadf11a7ac700a529f49e46822e2983ed551e4 16-Jan-2013 Sanny Shang <sanny.shang@sonymobile.com> Wrong terminal response for proactive command length errors

This fix is at least reported by an internal test suite
written with the 3gpp specification as base, can not
guarantee that it exists "in the wild" however the
specification is clear.

According to 3gpp11.14, chapter 6.10.6 "Length errors",

If the total lengths of the SIMPLE-TLV data objects are not
consistent with the length given in the BER-TLV data object,
then the whole BER-TLV data object shall be rejected. The
result field in the TERMINAL RESPONSE shall have the error
condition "Command data not understood by ME".

Change-Id: I128442ea4755679b0e5524a31c01b3c690e45ab0
nternal/telephony/cat/BerTlv.java
nternal/telephony/cat/CommandParamsFactory.java
e48f50193e1f621e02c1193118511e6eb2cbd662 15-Jan-2013 Wink Saville <wink@google.com> am 4594790b: am 58eafee3: Merge "Telephony: Unregister from UiccController when disposed"

* commit '4594790b7cfc5edb9052622f6f93a4e8b4e50e99':
Telephony: Unregister from UiccController when disposed
4594790b7cfc5edb9052622f6f93a4e8b4e50e99 15-Jan-2013 Wink Saville <wink@google.com> am 58eafee3: Merge "Telephony: Unregister from UiccController when disposed"

* commit '58eafee3bd34563621378d49d8879538c411a7c8':
Telephony: Unregister from UiccController when disposed
c26fb77c4e637466cf0483a4995fe82e6f68b8d3 28-Sep-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Unregister from UiccController when disposed

Change-Id: I296d3f292a72d2f8181f866bd1de7637c8333c63
nternal/telephony/ServiceStateTracker.java
86087b20a50303c5db59e1f80128f3cf77fb8ffb 14-Jan-2013 Jake Hamby <jhamby@google.com> am ad628b3d: am 367c5f28: Merge "Telephony: Support ShiftJIS encoding and Skip unsupported bearer data subparam"

* commit 'ad628b3df8858f9e867ce3ff3214db0983189774':
Telephony: Support ShiftJIS encoding and Skip unsupported bearer data subparam
ad628b3df8858f9e867ce3ff3214db0983189774 14-Jan-2013 Jake Hamby <jhamby@google.com> am 367c5f28: Merge "Telephony: Support ShiftJIS encoding and Skip unsupported bearer data subparam"

* commit '367c5f28da409e05f1c853893512bdf53472c41e':
Telephony: Support ShiftJIS encoding and Skip unsupported bearer data subparam
3de1a7e5535f36e86d82da12df2b17aeeafabdc6 30-Jun-2012 Rika Brooks <rbrooks@codeaurora.org> Telephony: Support ShiftJIS encoding and Skip unsupported bearer data subparam

Support Shift-JIS CHARi encoding type per 3GPP2 C.R1001 section 9.1.

3GPP2 C.S0015-B, v2.0, table 4.5-1 shows bearer data subparam ID
above 0x17 is reserved. Fix to skip reserved bearer data subparams
instead of throwing CodingException.

Change-Id: Ib83e7e72189a267421ba5fd77695b8f684ef00e2
nternal/telephony/cdma/sms/BearerData.java
2f48cebb0f3169da9d9325f7b4884872280599e5 28-Nov-2012 Nizar Haouati <nizar.haouati@intel.com> telephony: Fix typo

This patch fixes the typo in CatService.

Change-Id: Iff69df0ab0309e36f0a886c483f280febe5ad84e
Author: Nizar Haouati <nizar.haouati@intel.com>
Signed-off-by: Nizar Haouati <nizar.haouati@intel.com>
Signed-off-by: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 71115
nternal/telephony/cat/CatService.java
aff4b040b66a3273ede04519d4ab678eecd3eb83 11-Jan-2013 Wink Saville <wink@google.com> am a4e80a44: am 392afa32: Merge "Parameters length is able to be over 127 bytes."

* commit 'a4e80a44f6239926824ea7d50f845d7b74d21710':
Parameters length is able to be over 127 bytes.
5869098e0c615369340bcd1dba2a552f77326a64 11-Jan-2013 Jake Hamby <jhamby@google.com> am a6c35afc: am eabfd15c: Merge "Telephony: Don\'t ack CB messages"

* commit 'a6c35afcc0f346f3be4f1f095351c2859a0d2099':
Telephony: Don't ack CB messages
98cd16eb902d714d6eb981528408d2a5b779e353 11-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of 6125afc3 to master

Change-Id: I40f57858d775b91c409532d19ea5c98ec51afb22
a4e80a44f6239926824ea7d50f845d7b74d21710 11-Jan-2013 Wink Saville <wink@google.com> am 392afa32: Merge "Parameters length is able to be over 127 bytes."

* commit '392afa3290831e856edfe16155638879c8218be6':
Parameters length is able to be over 127 bytes.
392afa3290831e856edfe16155638879c8218be6 11-Jan-2013 Wink Saville <wink@google.com> Merge "Parameters length is able to be over 127 bytes."
e72ec3f4031a24982d402bb35a7d17dc1868958d 16-Aug-2012 kyunga1.kim <kyunga1.kim@lge.com> Parameters length is able to be over 127 bytes.

When the received message has user data over 127 bytes,
occur the parse error exception because using readByte().
Therefore we use readUnsignedByte() for reading parameters length.
Signed-off-by: kyunga kim <kyunga1.kim@lge.com>
Change-Id: I195807ee59a0d9117e0d835a4b3c355635337be0
(cherry picked from commit 700e7df9a0ac480e688d37786c0c146d5d1e406d)
nternal/telephony/cdma/SmsMessage.java
8750dac3bd5f9d1a6f5222f3dc9e46ee154843eb 11-Jan-2013 Jake Hamby <jhamby@google.com> am 4fd88fb1: am ac57a399: Merge "Telephony: Check SmsTracker\'s mSentIntent for null"

* commit '4fd88fb1daca0336657cf8a40d1c4e573f60f35b':
Telephony: Check SmsTracker's mSentIntent for null
922cbbe2a11ea0a3f92fcc5c22256713c853790b 11-Jan-2013 Jake Hamby <jhamby@google.com> am 2ac296a8: am 713f8792: Merge "Telephony: Fix decodeCallbackNumber for Cdma CMAS"

* commit '2ac296a87949c75cdc7768cbb25e7bcf8f9d3e5e':
Telephony: Fix decodeCallbackNumber for Cdma CMAS
a6c35afcc0f346f3be4f1f095351c2859a0d2099 10-Jan-2013 Jake Hamby <jhamby@google.com> am eabfd15c: Merge "Telephony: Don\'t ack CB messages"

* commit 'eabfd15c321499201e9d150fe16288c2d43b7787':
Telephony: Don't ack CB messages
6125afc391426c25d6321a31635cf1909aefb3bd 10-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> am dc446013: Merge "Fix mRequestsLists -> mRequestList"

* commit 'dc4460132214aeb1b4767c0225b4595a7ae4a4d4':
Fix mRequestsLists -> mRequestList
eabfd15c321499201e9d150fe16288c2d43b7787 10-Jan-2013 Jake Hamby <jhamby@google.com> Merge "Telephony: Don't ack CB messages"
dc4460132214aeb1b4767c0225b4595a7ae4a4d4 09-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix mRequestsLists -> mRequestList"
4fd88fb1daca0336657cf8a40d1c4e573f60f35b 09-Jan-2013 Jake Hamby <jhamby@google.com> am ac57a399: Merge "Telephony: Check SmsTracker\'s mSentIntent for null"

* commit 'ac57a399534677ebfcfef530f1529d5d7f3d3c49':
Telephony: Check SmsTracker's mSentIntent for null
ac57a399534677ebfcfef530f1529d5d7f3d3c49 09-Jan-2013 Jake Hamby <jhamby@google.com> Merge "Telephony: Check SmsTracker's mSentIntent for null"
892e1fecf3c3736c4c04cf219d01034f71307065 09-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Fix mRequestsLists -> mRequestList

first of several fixes.

Change-Id: I362fbfd446aed6714e6c89204ee095d03474c26f
nternal/telephony/RIL.java
2ac296a87949c75cdc7768cbb25e7bcf8f9d3e5e 09-Jan-2013 Jake Hamby <jhamby@google.com> am 713f8792: Merge "Telephony: Fix decodeCallbackNumber for Cdma CMAS"

* commit '713f879213955e734d7b092033797c0f756fd95c':
Telephony: Fix decodeCallbackNumber for Cdma CMAS
5a5f85ce9bffeded7891fd1d480d1f56b0d91041 09-Jan-2013 Wink Saville <wink@google.com> am 08b0eb5c: am cd17a8e5: Merge "Telephony: Update call timer for phantom call"

* commit '08b0eb5c29c54164c8daf7f3eebddc2a8fb6bec7':
Telephony: Update call timer for phantom call
713f879213955e734d7b092033797c0f756fd95c 09-Jan-2013 Jake Hamby <jhamby@google.com> Merge "Telephony: Fix decodeCallbackNumber for Cdma CMAS"
1997a5ea7fc70748366e20cf8d5f27dd7600c4d2 19-Nov-2012 Fabien Hubert <fabien.hubert@intel.com> Telephony: Handling of supplimentary services in Call

When there are active calls, the candial() returns false
and if the user supplied an MMI code for supplementary
service it will not be accepted.

The codes for supplementary services such as hold, reflect
transfer etc are now handled with this patch, even when
dial cannot be done.

Change-Id: Ic90d71112ca9fd3250b82660a2929590491e41ba
Author: Fabien Hubert <fabien.hubert@intel.com>
Signed-off-by: Fabien Hubert <fabien.hubert@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 577
nternal/telephony/CallManager.java
81b046d348dd3d3cba81fcb073b9cdc04fcb6b5c 27-Nov-2012 Jeevaka Badrappan <jeevaka.badrappan@intel.com> Telephony: Fix issue in handling null alpha identifier

When alpha identifier is a provided by the SIM and
is a null data object, UE should not display
anything about the Sending but UE is showing
"Sending...".

As per 3GPP 11.14, if the alpha identifier is provided
by the SIM and is a null data object(i.e.length = '00'
and no value part), this is an indication that the ME
should not give any information to the user on the fact
that the ME is sending an Send SS/Send USSD/ Send DTMF.

Instead of returning null, retrieveAlphaId returns the
default message resulting in "Sending..." shown to the
user when it is not supposed to display anything.

This patch fixes the issue by returning null when alpha
identifier is provided and is a null data object.

Change-Id: Ia7bd690b8862a5df052a84bd6e7c94f4035baca7
Author: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 60370
nternal/telephony/cat/ValueParser.java
08b0eb5c29c54164c8daf7f3eebddc2a8fb6bec7 08-Jan-2013 Wink Saville <wink@google.com> am cd17a8e5: Merge "Telephony: Update call timer for phantom call"

* commit 'cd17a8e56bf5fa1af49d4447e65dc69e4741e7bf':
Telephony: Update call timer for phantom call
cd17a8e56bf5fa1af49d4447e65dc69e4741e7bf 08-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Update call timer for phantom call"
9b41acc443e068fa3c3e547e820f710c6e2297ba 01-Dec-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Telephony: Update call timer for phantom call

For phantom call, update connectTimeReal via onConnectedInOrOut().
connectTimeReal is used to calculate the call duration per
getDurationMillis().
If phantom call is in HOLDING state, update holdingStartTime via
onStartedHolding(). holdingStartTime is used to calculate hold time
per getHoldDurationMillis().

Change-Id: I716f75b7565b5e869403c48de3dd190e2b425626
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
417929d16da5a403ddd041f9e606a9885e2388c4 04-Jan-2013 Wink Saville <wink@google.com> am c00f8242: am bf358b36: Merge "Telephony: Support for LTE network modes"

* commit 'c00f8242fbb04bd2a0679dfb6284e79f14acfd39':
Telephony: Support for LTE network modes
c00f8242fbb04bd2a0679dfb6284e79f14acfd39 04-Jan-2013 Wink Saville <wink@google.com> am bf358b36: Merge "Telephony: Support for LTE network modes"

* commit 'bf358b3605c3380b7b597506d09ea129e849e1da':
Telephony: Support for LTE network modes
bf358b3605c3380b7b597506d09ea129e849e1da 04-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Support for LTE network modes"
42dee02cee627d94b4b061e5182b07fd85a18de4 04-Jan-2013 Wink Saville <wink@google.com> am 615f8baa: am e1500d9d: Merge "Telephony: Add support for SMS-SUBMIT."

* commit '615f8baa4203f82574e3c9f9bf49ae37d7b07ed9':
Telephony: Add support for SMS-SUBMIT.
615f8baa4203f82574e3c9f9bf49ae37d7b07ed9 04-Jan-2013 Wink Saville <wink@google.com> am e1500d9d: Merge "Telephony: Add support for SMS-SUBMIT."

* commit 'e1500d9d6042ca9e6f4503e82c31bd17997d70a6':
Telephony: Add support for SMS-SUBMIT.
e1500d9d6042ca9e6f4503e82c31bd17997d70a6 04-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Add support for SMS-SUBMIT."
2cbcc15677797f5879cf8c907876b366b034d433 27-Dec-2012 Bin Li <libin@marvell.com> Telephony: Add support for SMS-SUBMIT.

Change-Id: I2b0887ae6b28decb38576cac60f1314ff8b73e1d
Signed-off-by: Bin Li <libin@marvell.com>
nternal/telephony/gsm/SmsMessage.java
3ed5b1db90314cdd57ce1a4e9727ef2cd72aa0d0 03-Jan-2013 Wink Saville <wink@google.com> am e99de8eb: am c06ff6ba: Merge "Telephony: add support for additional information"

* commit 'e99de8eba9deaef089e1dd2f838132bd6dd6d3bb':
Telephony: add support for additional information
e99de8eba9deaef089e1dd2f838132bd6dd6d3bb 03-Jan-2013 Wink Saville <wink@google.com> am c06ff6ba: Merge "Telephony: add support for additional information"

* commit 'c06ff6babf825f7215b0c17ddf4edc12a7346698':
Telephony: add support for additional information
c17767c8bd034abdfdebb880077673270c2901dc 02-Jan-2013 Wink Saville <wink@google.com> Merge commit 'eaffd605' into fix-merge-conflict

* commit 'eaffd605':
Telephony: Look for CSS indicator for voice+data

Change-Id: I612effcc253c2c9e07a3b6c82e2832dcd42bda7c
c06ff6babf825f7215b0c17ddf4edc12a7346698 03-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: add support for additional information"
1343b7ae763b3163d03bd9c4756ab4857c4658b2 10-Jul-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Telephony: Support for LTE network modes

Change-Id: I8833fe3e56c94303f05111a94433b1b9e6568d2f
Depends-On: I93c102f92ff2d10856d91108bb50fe5c0f06ad66
nternal/telephony/Phone.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
eaffd6052a556b22cbc84fe54710125ff225370a 02-Jan-2013 Wink Saville <wink@google.com> am ac2f6291: Merge "Telephony: Look for CSS indicator for voice+data"

* commit 'ac2f6291229c09b4e362ec42370544d9e471226e':
Telephony: Look for CSS indicator for voice+data
48a768d6cff6e13d138cabe7f19d3dc1bf46ec79 02-Jan-2013 Wink Saville <wink@google.com> am aa54f8e0: Merge "Telephony: Add uicc debug info to DebugService"

* commit 'aa54f8e0f58fad29d358693e32baa2d1e52f9b70':
Telephony: Add uicc debug info to DebugService
ac2f6291229c09b4e362ec42370544d9e471226e 02-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Look for CSS indicator for voice+data"
05ef3b65972826780859b9acbd1fa9580d099832 28-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Add uicc debug info to DebugService

Change-Id: I03be52f97ea84808d608c48b4e6ffa2454e2a67c
nternal/telephony/DebugService.java
nternal/telephony/RIL.java
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IsimUiccRecords.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCardApplication.java
nternal/telephony/uicc/UiccController.java
f481e3ec351b28a41b1cd7f870d10e34648d24ac 20-Dec-2012 Wink Saville <wink@google.com> am df89e605: am f4fa4789: Merge "telephony: Fix issue in short code ussd detection"

* commit 'df89e605a668a5eeb5d1391909456602dece16a5':
telephony: Fix issue in short code ussd detection
df89e605a668a5eeb5d1391909456602dece16a5 20-Dec-2012 Wink Saville <wink@google.com> am f4fa4789: Merge "telephony: Fix issue in short code ussd detection"

* commit 'f4fa4789ba7ac74c157da46bc597f75739f6c44d':
telephony: Fix issue in short code ussd detection
f4fa4789ba7ac74c157da46bc597f75739f6c44d 20-Dec-2012 Wink Saville <wink@google.com> Merge "telephony: Fix issue in short code ussd detection"
3bf7b83854f70011c426e5f59259781e53e505f0 19-Dec-2012 Jean-Baptiste Queru <jbq@google.com> am f441dde1: Merge from AOSP staging branch

* commit 'f441dde145451cdc7ea90fc030086db32eb4c309':
Telephony: Start DataStallAlarm only on Data CONNECTED state
CatService: Add support for GET_CHANNEL_STATUS p-cmd.
Telephony: Fix issue with fdn deletion
f441dde145451cdc7ea90fc030086db32eb4c309 19-Dec-2012 Jean-Baptiste Queru <jbq@google.com> Merge from AOSP staging branch

Change-Id: I757d7389ccc8912dff89a76e038bab9c03d7af1a
10e574acd0992d22abce257b420d333f5a49e71d 14-Aug-2012 Jeevaka Badrappan <jeevaka.badrappan@intel.com> telephony: Fix issue in short code ussd detection

According to the 3PGG TS 22.030 specification
Figure 3.5.3.2: A 1 or 2 digit "short code" is
treated as USSD if it is entered while on a call or
does not satisfy the condition (exactly 2 digits
&& starts with '1').

Following rule is already addressed in function
GsmMmiCode::newFromDialString.

If the user of the device enters one digit followed
by the #-key, phone shall initiate a USSD/SS command

Change-Id: I70795da1fb5144d1c91059f6200b74b5fd33de22
Author: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Author-tracking-BZ: 28800
nternal/telephony/gsm/GsmMmiCode.java
9aaa228cbb37657d12a87b5058676e449866f2ac 05-Dec-2012 Jeevaka Badrappan <jeevaka.badrappan@intel.com> Telephony: Start DataStallAlarm only on Data CONNECTED state

Telephony framework uses AlarmManager for recovery mechanism of data
stalled issue.
Framework configures the ELAPSED_REALTIME_WAKEUP alarm for every
6minutes irrespective of the data state. Due to this,quiet a few
wakeups are seen even when the device is not connected to Mobile
Data network.

Fix is to check the Data connection state before starting
this alarm.

Change-Id: I219bff9199e5ce70bbcd05c95d65731886215fe9
Author: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 28494
nternal/telephony/DataConnectionTracker.java
0815970067d8c8c34b30a6ec0acd44396f2f95ac 18-Dec-2012 Wink Saville <wink@google.com> Merge "CatService: Add support for GET_CHANNEL_STATUS p-cmd."
86968438e444728053137c764cc37cf9c0a15d16 09-Aug-2012 Siddartha Pothapragada <spotha@codeaurora.org> CatService: Add support for GET_CHANNEL_STATUS p-cmd.

Change-Id: Ib0782748fdbdc94e5c13cffadb40556e3f324eff
nternal/telephony/cat/AppInterface.java
nternal/telephony/cat/CatCmdMessage.java
nternal/telephony/cat/CommandParamsFactory.java
43198cf78f564c631ef08dddb7a183d4ba5b137d 26-Nov-2012 Jeevaka Badrappan <jeevaka.badrappan@intel.com> Telephony: Fix issue with fdn deletion

Deletion of FDN contact with name having the "=" character
fails.

If there is a contact with "=" as part of the name, then split
will result in 3strings instead of 2(key and value).

For eg: Contact name: "="

Result with current code: [string.split("=")]
string[0] = tag
string[1] = '
string[2] = '.

Expected result:
string[0] = tag (key)
string[1] = '=' (value)

If split function with 2 arguments variation is used,
this issue will be solved. Example: string.split("=", 2)

Change-Id: I6c2d6152f9b034cae9739cd96c2fe799784dc5be
Author: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 10805
nternal/telephony/IccProvider.java
2d7aad7791b92186dabc779b3ab43794aceebcda 29-Nov-2012 Guillaume Lucas <guillaume.lucas@intel.com> Telephony: add support for additional information

As per ETSI 102 223 section 8.12, for some general results, it is
mandatory for the terminal to provide a specific cause value as
additional information.

This patch adds this support to the framework.

Change-Id: Ie22e60412d674e24f9ebf13d02da4b39cb2dd253
Author: Guillaume Lucas <guillaume.lucas@intel.com>
Signed-off-by: Guillaume Lucas <guillaume.lucas@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 29915
nternal/telephony/cat/CatResponseMessage.java
nternal/telephony/cat/CatService.java
6c02409c6ddf15bf1c11d222b6a2a1fa5245aaff 13-Dec-2012 Wink Saville <wink@google.com> am 75a5b803: am c93d3b14: am f08c4c89: Turn auto attach on/off when we attach/detach.

* commit '75a5b8030e08f6424ff4a3495c7623121f23b6a6':
Turn auto attach on/off when we attach/detach.
75a5b8030e08f6424ff4a3495c7623121f23b6a6 13-Dec-2012 Wink Saville <wink@google.com> am c93d3b14: am f08c4c89: Turn auto attach on/off when we attach/detach.

* commit 'c93d3b14259cd00a9d7f92e3e2dd4d9992fca94e':
Turn auto attach on/off when we attach/detach.
c93d3b14259cd00a9d7f92e3e2dd4d9992fca94e 13-Dec-2012 Wink Saville <wink@google.com> am f08c4c89: Turn auto attach on/off when we attach/detach.

* commit 'f08c4c89622ddcbc4ed9315fe6b399941dad4939':
Turn auto attach on/off when we attach/detach.
f08c4c89622ddcbc4ed9315fe6b399941dad4939 12-Dec-2012 Wink Saville <wink@google.com> Turn auto attach on/off when we attach/detach.

Some network operators will detach after a timeout period, isDataAllowed()
will not allow a data connection because mAutoAttachOnCreation is false
and gprsState is not STATE_IN_SERVICE. This change toggles
mAutoAttachOnCreation based on attach/detach events and data will be
allowed if gprsState == STATE_IN_SERVICE or mAutoAttachOnCreation.

Bug: 7491805
Change-Id: If41c2514ebdb9cd2fba88eef692f2c7160c04b0f
nternal/telephony/gsm/GsmDataConnectionTracker.java
1d272b4f018e5d7a0f70b70d76398c20d33e234b 12-Dec-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Remove unused INITING state."
a208912485c9931d004ee0e76a45a86259447c2f 11-Dec-2012 Wink Saville <wink@google.com> am 08a4f30f: resolved conflicts for merge of 106de004 to jb-mr1-dev-plus-aosp

* commit '08a4f30f925440641561f5be7ada1992856f9979':
Set audio mode after accepting the call
08a4f30f925440641561f5be7ada1992856f9979 11-Dec-2012 Wink Saville <wink@google.com> resolved conflicts for merge of 106de004 to jb-mr1-dev-plus-aosp

Change-Id: I069420f6eb3dc40779622e929acbc368d4b7aa55
a020758235911bddc552d5d38f20375e5a1fd05d 11-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> am d0e3cf71: am 75589efa: am f2a22db8: Set audio mode after accepting the call

* commit 'd0e3cf71d7033285b2d158c719ebf7400352227c':
Set audio mode after accepting the call
d0e3cf71d7033285b2d158c719ebf7400352227c 11-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> am 75589efa: am f2a22db8: Set audio mode after accepting the call

* commit '75589efab4375a4463c1c617be227e9bbd047aad':
Set audio mode after accepting the call
75589efab4375a4463c1c617be227e9bbd047aad 11-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> am f2a22db8: Set audio mode after accepting the call

* commit 'f2a22db80d9921fae213c763f08f2800d30b5cd3':
Set audio mode after accepting the call
f2a22db80d9921fae213c763f08f2800d30b5cd3 08-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> Set audio mode after accepting the call

Set the audio mode to incall immediately after accepting the call and not wait
till call is reported as ACTIVE by RIL. This is done to speed up time taken for audio
to set up the voice path

Bug: 7612431
Change-Id: I8008edc64928016ab94aa6d770de248b5d85dc93
nternal/telephony/CallManager.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
7e4b734af72aa456b4a4a4bb217c1ca2c0f15ca7 10-Dec-2012 Wink Saville <wink@google.com> am 77b3e5a8: Merge "Telephony: Move uicc classes into uicc package"

* commit '77b3e5a85a230f8b1b384b931d830220332937b5':
Telephony: Move uicc classes into uicc package
a5d65ff9d36808aec38d60ebe30f2109fcfcb8bc 08-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> Set audio mode after accepting the call

Set the audio mode to incall immediately after accepting the call and not wait
till call is reported as ACTIVE by RIL. This is done to speed up time taken for audio
to set up the voice path

Bug: 7612431
Change-Id: I8008edc64928016ab94aa6d770de248b5d85dc93
nternal/telephony/CallManager.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
nternal/telephony/AdnRecord.aidl
nternal/telephony/AdnRecord.java
nternal/telephony/AdnRecordCache.java
nternal/telephony/AdnRecordLoader.java
nternal/telephony/CommandsInterface.java
nternal/telephony/CsimFileHandler.java
nternal/telephony/DataConnectionTracker.java
nternal/telephony/IIccPhoneBook.aidl
nternal/telephony/IccCard.java
nternal/telephony/IccCardApplicationStatus.java
nternal/telephony/IccCardProxy.java
nternal/telephony/IccCardStatus.java
nternal/telephony/IccConstants.java
nternal/telephony/IccException.java
nternal/telephony/IccFileHandler.java
nternal/telephony/IccFileNotFound.java
nternal/telephony/IccFileTypeMismatch.java
nternal/telephony/IccIoResult.java
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccPhoneBookInterfaceManagerProxy.java
nternal/telephony/IccProvider.java
nternal/telephony/IccRecords.java
nternal/telephony/IccRefreshResponse.java
nternal/telephony/IccServiceTable.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccVmFixedException.java
nternal/telephony/IccVmNotSupportedException.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/RIL.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/UiccCard.java
nternal/telephony/UiccCardApplication.java
nternal/telephony/UsimFileHandler.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cat/CatService.java
nternal/telephony/cat/CommandParamsFactory.java
nternal/telephony/cat/IconLoader.java
nternal/telephony/cat/RilMessageDecoder.java
nternal/telephony/cat/ValueParser.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/RuimFileHandler.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/cdma/sms/BearerData.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMFileHandler.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/gsm/SpnOverride.java
nternal/telephony/gsm/UsimDataDownloadHandler.java
nternal/telephony/gsm/UsimPhoneBookManager.java
nternal/telephony/gsm/UsimServiceTable.java
nternal/telephony/gsm/VoiceMailConstants.java
nternal/telephony/ims/IsimFileHandler.java
nternal/telephony/ims/IsimRecords.java
nternal/telephony/ims/IsimUiccRecords.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/uicc/AdnRecord.aidl
nternal/telephony/uicc/AdnRecord.java
nternal/telephony/uicc/AdnRecordCache.java
nternal/telephony/uicc/AdnRecordLoader.java
nternal/telephony/uicc/CsimFileHandler.java
nternal/telephony/uicc/IccCardApplicationStatus.java
nternal/telephony/uicc/IccCardProxy.java
nternal/telephony/uicc/IccCardStatus.java
nternal/telephony/uicc/IccConstants.java
nternal/telephony/uicc/IccException.java
nternal/telephony/uicc/IccFileHandler.java
nternal/telephony/uicc/IccFileNotFound.java
nternal/telephony/uicc/IccFileTypeMismatch.java
nternal/telephony/uicc/IccIoResult.java
nternal/telephony/uicc/IccRecords.java
nternal/telephony/uicc/IccRefreshResponse.java
nternal/telephony/uicc/IccServiceTable.java
nternal/telephony/uicc/IccUtils.java
nternal/telephony/uicc/IccVmFixedException.java
nternal/telephony/uicc/IccVmNotSupportedException.java
nternal/telephony/uicc/IsimFileHandler.java
nternal/telephony/uicc/IsimRecords.java
nternal/telephony/uicc/IsimUiccRecords.java
nternal/telephony/uicc/RuimFileHandler.java
nternal/telephony/uicc/RuimRecords.java
nternal/telephony/uicc/SIMFileHandler.java
nternal/telephony/uicc/SIMRecords.java
nternal/telephony/uicc/SpnOverride.java
nternal/telephony/uicc/UiccCard.java
nternal/telephony/uicc/UiccCardApplication.java
nternal/telephony/uicc/UiccController.java
nternal/telephony/uicc/UsimFileHandler.java
nternal/telephony/uicc/UsimServiceTable.java
nternal/telephony/uicc/VoiceMailConstants.java
5b415773990b638e2f906b5e881b52cd56ce4c36 09-Dec-2012 Wink Saville <wink@google.com> am d1591969: Merge "Use Rlog"

* commit 'd159196940a62b597a69d735ecb25a3c285d8625':
Use Rlog
ded9c0af7fa49504c047275ed34c2d3b22bf0c3a 07-Dec-2012 Wink Saville <wink@google.com> Use Rlog

Change-Id: Ie013f51215de8380b8de74161b6056b010711cfd
nternal/telephony/AdnRecord.java
nternal/telephony/AdnRecordCache.java
nternal/telephony/AdnRecordLoader.java
nternal/telephony/ApnContext.java
nternal/telephony/BaseCommands.java
nternal/telephony/Call.java
nternal/telephony/CallManager.java
nternal/telephony/CallTracker.java
nternal/telephony/CommandException.java
nternal/telephony/CommandsInterface.java
nternal/telephony/Connection.java
nternal/telephony/CsimFileHandler.java
nternal/telephony/DataCallState.java
nternal/telephony/DataConnectionAc.java
nternal/telephony/DataConnectionTracker.java
nternal/telephony/DebugService.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/DriverCall.java
nternal/telephony/IccCardProxy.java
nternal/telephony/IccFileHandler.java
nternal/telephony/IccPhoneBookInterfaceManagerProxy.java
nternal/telephony/IccProvider.java
nternal/telephony/IccServiceTable.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccUtils.java
nternal/telephony/MccTable.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneStateIntentReceiver.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/RIL.java
nternal/telephony/RetryManager.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/SmsStorageMonitor.java
nternal/telephony/SmsUsageMonitor.java
nternal/telephony/TelephonyCapabilities.java
nternal/telephony/UiccCard.java
nternal/telephony/UiccCardApplication.java
nternal/telephony/UsimFileHandler.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cat/CatLog.java
nternal/telephony/cat/ComprehensionTlv.java
nternal/telephony/cat/IconLoader.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaCallWaitingNotification.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaDataConnection.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
nternal/telephony/cdma/EriManager.java
nternal/telephony/cdma/RuimFileHandler.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/cdma/SignalToneUtil.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/cdma/sms/BearerData.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMFileHandler.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/gsm/SpnOverride.java
nternal/telephony/gsm/UsimDataDownloadHandler.java
nternal/telephony/gsm/UsimPhoneBookManager.java
nternal/telephony/gsm/VoiceMailConstants.java
nternal/telephony/ims/IsimFileHandler.java
nternal/telephony/ims/IsimUiccRecords.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/sip/SipPhoneFactory.java
nternal/telephony/test/ModelInterpreter.java
nternal/telephony/test/SimulatedCommands.java
nternal/telephony/test/SimulatedGsmCallState.java
nternal/telephony/uicc/UiccController.java
13cf7e43f92022a7bb71950b388805c60726589f 06-Dec-2012 Robert Greenwalt <rgreenwalt@google.com> Remove unused INITING state.

Change-Id: I56dd80988a064836f9171021f57a7bbf367090c8
nternal/telephony/DataConnectionTracker.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmDataConnectionTracker.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
051b44e1e1c9b974b5541c74b2a24b8443940a44 06-Dec-2012 Nick Kralevich <nnk@google.com> am 7f65cbad: Merge "Remove sent USSD log"

* commit '7f65cbadb856891c4075d4205b464f8dc4490f08':
Remove sent USSD log
7f65cbadb856891c4075d4205b464f8dc4490f08 06-Dec-2012 Nick Kralevich <nnk@google.com> Merge "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
nternal/telephony/RIL.java
2e75ed7a0a37b28a2b1e7ee78f1883ecc129e0ec 05-Dec-2012 jangeon.kim <jangeon.kim@lge.com> am cf702990: am 70c6547e: am 3e028681: simcard: With Kazakh Beeline SIM card, there isn\'t STK menu

* commit 'cf7029906ceac5d2d15138d94adfb9f9bad51b62':
simcard: With Kazakh Beeline SIM card, there isn't STK menu
cf7029906ceac5d2d15138d94adfb9f9bad51b62 05-Dec-2012 jangeon.kim <jangeon.kim@lge.com> am 70c6547e: am 3e028681: simcard: With Kazakh Beeline SIM card, there isn\'t STK menu

* commit '70c6547e8223767411a2fca0601951a5fb27ed47':
simcard: With Kazakh Beeline SIM card, there isn't STK menu
70c6547e8223767411a2fca0601951a5fb27ed47 05-Dec-2012 jangeon.kim <jangeon.kim@lge.com> am 3e028681: simcard: With Kazakh Beeline SIM card, there isn\'t STK menu

* commit '3e02868153369ab32d3ecc7b01f6e48750d6356d':
simcard: With Kazakh Beeline SIM card, there isn't STK menu
3e02868153369ab32d3ecc7b01f6e48750d6356d 28-Nov-2012 jangeon.kim <jangeon.kim@lge.com> simcard: With Kazakh Beeline SIM card, there isn't STK menu

IccFileHandler.java is modified to fix an erroneous EF_IMG file path
information. The other is CommandParamsFactory.java file, which is modified
to ignore the result of reading EF_IMG file.

This Beeline SIM card returned an error status word when the mobile device
accessed the EF_IMG file in this SIM card.
(I think this Beeline SIM card does not support EF_IMG file.)
As a result, This error result stoped processing the setup menu proactive
command, and there was no STK menu.

So, I modified the CommandParamsFactory.java file to ignore the result of
EF_IMG file read operation.
After applying this modification, The STK menu was successfully displayed.
(This issue was resolved by these modified files.)

I think there will be no critical problem even if the EF_IMG(Icon image) file
is ignored.

Bug: 7585989

Change-Id: I16e3c077779811e3d4c46cd6e003771f3e1efde2
nternal/telephony/IccFileHandler.java
nternal/telephony/cat/CommandParamsFactory.java
265fa2bedf7f279b2cabab99a189096b5bd16733 04-Dec-2012 Wink Saville <wink@google.com> Merge "Remove mRefCount"
2563e7e1ec513121b980045571a245aa5390f1c5 04-Dec-2012 Wink Saville <wink@google.com> Remove mRefCount

In DataConnection we had a list of connections and ref counting, with
this change we'll only use the list of connections only.

Change-Id: I64e3aff0980de845c14ee602632aa5f3cd740366
nternal/telephony/ApnContext.java
nternal/telephony/DataConnection.java
nternal/telephony/DataConnectionAc.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
deb8ccd0fbeae2b2f21f8a4ccc1139a79cccc71e 28-Nov-2012 jangeon.kim <jangeon.kim@lge.com> simcard: With Kazakh Beeline SIM card, there isn't STK menu

IccFileHandler.java is modified to fix an erroneous EF_IMG file path
information. The other is CommandParamsFactory.java file, which is modified
to ignore the result of reading EF_IMG file.

This Beeline SIM card returned an error status word when the mobile device
accessed the EF_IMG file in this SIM card.
(I think this Beeline SIM card does not support EF_IMG file.)
As a result, This error result stoped processing the setup menu proactive
command, and there was no STK menu.

So, I modified the CommandParamsFactory.java file to ignore the result of
EF_IMG file read operation.
After applying this modification, The STK menu was successfully displayed.
(This issue was resolved by these modified files.)

I think there will be no critical problem even if the EF_IMG(Icon image) file
is ignored.

Bug: 7585989

Change-Id: I16e3c077779811e3d4c46cd6e003771f3e1efde2
nternal/telephony/IccFileHandler.java
nternal/telephony/cat/CommandParamsFactory.java
9eb33c38c0597e358fdf41003584e1f2a05d69f8 04-Dec-2012 Wink Saville <wink@google.com> am 4c95838a: am 7c7a5b41: am 859f7a91: Assume LTE location info is base 10 but allow 16 or 8.

* commit '4c95838add2cb8f48c9ea41e2ae37e20daea4d60':
Assume LTE location info is base 10 but allow 16 or 8.
4c95838add2cb8f48c9ea41e2ae37e20daea4d60 04-Dec-2012 Wink Saville <wink@google.com> am 7c7a5b41: am 859f7a91: Assume LTE location info is base 10 but allow 16 or 8.

* commit '7c7a5b41dfee9a5834a6da0842ad2878e262eca7':
Assume LTE location info is base 10 but allow 16 or 8.
7c7a5b41dfee9a5834a6da0842ad2878e262eca7 04-Dec-2012 Wink Saville <wink@google.com> am 859f7a91: Assume LTE location info is base 10 but allow 16 or 8.

* commit '859f7a917b27e64fc03ee614152ac37c688307a8':
Assume LTE location info is base 10 but allow 16 or 8.
859f7a917b27e64fc03ee614152ac37c688307a8 04-Dec-2012 Wink Saville <wink@google.com> Assume LTE location info is base 10 but allow 16 or 8.

Previously it was base 16 but somewhere along the line it changed
to base 10. The code is now changed to use the decode method which
assumes base 10 but also accepts base 16 (prefix 0x, 0X, #) or
base 8 (prefix 0).

Bug: 7651566
Change-Id: Icae05dcbee9c1092fce2f594a1e179bbd3e1426a
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
5109e89a509a890573849dfacf33d955f12a2021 30-Nov-2012 Jake Hamby <jhamby@google.com> am 7a48d5f4: am fd70b976: am e7fd4f72: Raise threshold for detecting excessive SMS usage.

* commit '7a48d5f494bd1ac8047adda1e3a691ec4ef7e89b':
Raise threshold for detecting excessive SMS usage.
7a48d5f494bd1ac8047adda1e3a691ec4ef7e89b 30-Nov-2012 Jake Hamby <jhamby@google.com> am fd70b976: am e7fd4f72: Raise threshold for detecting excessive SMS usage.

* commit 'fd70b97666c46f3a5672fd1aefa28df76296769d':
Raise threshold for detecting excessive SMS usage.
fd70b97666c46f3a5672fd1aefa28df76296769d 30-Nov-2012 Jake Hamby <jhamby@google.com> am e7fd4f72: Raise threshold for detecting excessive SMS usage.

* commit 'e7fd4f7253d22528de63bb3f0fa1f9f9ca879a86':
Raise threshold for detecting excessive SMS usage.
e7fd4f7253d22528de63bb3f0fa1f9f9ca879a86 29-Nov-2012 Jake Hamby <jhamby@google.com> Raise threshold for detecting excessive SMS usage.

Raise threshold for detecting excessive SMS usage so that the user
is warned when an app tries to send 30 or more messages in 1 minute,
rather than 30 messages in 30 minutes. This will be much less likely
to trigger for legitimate SMS usage, while still protecting against
buggy or malicious SMS apps that try to send SMS's continuously.

Bug: 7212322
Change-Id: I97078f96fdb8584cdb3ccc830000de9a534044c0
nternal/telephony/SmsUsageMonitor.java
99c2e1d6749cfad2a8ca94a47857d8c3bfc09454 27-Nov-2012 Wink Saville <wink@google.com> Use Rlog instead of Log.

Change-Id: I2f44193b294513e743526e5c163e7d9a45308b28
nternal/telephony/AdnRecord.java
nternal/telephony/AdnRecordCache.java
nternal/telephony/AdnRecordLoader.java
nternal/telephony/ApnContext.java
nternal/telephony/BaseCommands.java
nternal/telephony/Call.java
nternal/telephony/CallManager.java
nternal/telephony/CallTracker.java
nternal/telephony/CommandException.java
nternal/telephony/CommandsInterface.java
nternal/telephony/Connection.java
nternal/telephony/CsimFileHandler.java
nternal/telephony/DataCallState.java
nternal/telephony/DataConnection.java
nternal/telephony/DataConnectionAc.java
nternal/telephony/DataConnectionTracker.java
nternal/telephony/DebugService.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/DriverCall.java
nternal/telephony/IccCardProxy.java
nternal/telephony/IccFileHandler.java
nternal/telephony/IccPhoneBookInterfaceManagerProxy.java
nternal/telephony/IccProvider.java
nternal/telephony/IccServiceTable.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccUtils.java
nternal/telephony/MccTable.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneStateIntentReceiver.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/RetryManager.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/SmsStorageMonitor.java
nternal/telephony/SmsUsageMonitor.java
nternal/telephony/TelephonyCapabilities.java
nternal/telephony/UiccCard.java
nternal/telephony/UiccCardApplication.java
nternal/telephony/UsimFileHandler.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/cat/CatLog.java
nternal/telephony/cat/ComprehensionTlv.java
nternal/telephony/cat/IconLoader.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaCallWaitingNotification.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
nternal/telephony/cdma/EriManager.java
nternal/telephony/cdma/RuimFileHandler.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/cdma/SignalToneUtil.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/cdma/sms/BearerData.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMFileHandler.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/gsm/SpnOverride.java
nternal/telephony/gsm/UsimDataDownloadHandler.java
nternal/telephony/gsm/UsimPhoneBookManager.java
nternal/telephony/gsm/VoiceMailConstants.java
nternal/telephony/ims/IsimFileHandler.java
nternal/telephony/ims/IsimUiccRecords.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/sip/SipPhoneFactory.java
nternal/telephony/test/ModelInterpreter.java
nternal/telephony/test/SimulatedCommands.java
nternal/telephony/test/SimulatedGsmCallState.java
nternal/telephony/uicc/UiccController.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
nternal/telephony/RIL.java
f92cb4bd5519427a0db673709d94683a8baf203a 16-Nov-2012 Wink Saville <wink@google.com> Remove CdmaDCT and CdmaDC.

Change-Id: Ifa251706326dae6b1676c79fa591f056a853953d
nternal/telephony/DataConnection.java
nternal/telephony/IccRecords.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaDataConnection.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/ims/IsimUiccRecords.java
2e648e5c481ac90f64d71e1643c83bc67f8c0e7f 16-Nov-2012 Wink Saville <wink@google.com> Revert "Remove CdmaDCT and CdmaDC."

This reverts commit 88f9756a023639f48e85680b8bf2cd1469a5471a

Change-Id: I9b4f140b06acfc9d5f0856f380313a097171437a
nternal/telephony/DataConnection.java
nternal/telephony/IccRecords.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaDataConnection.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/ims/IsimUiccRecords.java
88f9756a023639f48e85680b8bf2cd1469a5471a 15-Nov-2012 Wink Saville <wink@google.com> Remove CdmaDCT and CdmaDC.

Change-Id: I11ead478231bdd5f0b67bc2354e161eab3d4fd87
nternal/telephony/DataConnection.java
nternal/telephony/IccRecords.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaDataConnection.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/ims/IsimUiccRecords.java
26bd5cfd9604dcafe4a9b4e915c4594b5258fa0e 08-Nov-2012 Anju Mathapati <anjucm@codeaurora.org> am 4f80dc44: am c82ab021: am 6af3665b: am 2bc7f2e1: Use proper check for spn for operator name display

* commit '4f80dc446e2d01705fda4fac4ed9c557b98730aa':
Use proper check for spn for operator name display
4f80dc446e2d01705fda4fac4ed9c557b98730aa 08-Nov-2012 Anju Mathapati <anjucm@codeaurora.org> am c82ab021: am 6af3665b: am 2bc7f2e1: Use proper check for spn for operator name display

* commit 'c82ab0216264ca82a62ed4cdda387b23c0d8c1c7':
Use proper check for spn for operator name display
c82ab0216264ca82a62ed4cdda387b23c0d8c1c7 07-Nov-2012 Anju Mathapati <anjucm@codeaurora.org> am 6af3665b: am 2bc7f2e1: Use proper check for spn for operator name display

* commit '6af3665bbfeade59948947f7f503345d04cf0a94':
Use proper check for spn for operator name display
2bc7f2e1da139e183519af01f50940327ca9765e 06-Nov-2012 Anju Mathapati <anjucm@codeaurora.org> Use proper check for spn for operator name display

Change null check to null or empty string check.

bug:7389730
Change-Id: I593429b8668b49978ad38b28062b8b2031464813
nternal/telephony/gsm/SIMRecords.java
069488059d9619a2b8bd070e85d6d657bddcf65a 06-Nov-2012 Christopher Tate <ctate@google.com> Use the correct new namespace for AUTO_TIME and AIRPLANE_MODE_ON settings

These moved to the global namespace; update the points of usage here in the
telephony stack so the reads no longer have to be forwarded etc.

Change-Id: I06434b78bc42ac125ec114dc68381cf906ab3085
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
c9aeb50a136db19f788da2dac022325d4f4ce458 30-Oct-2012 Rika Brooks <rbrooks@codeaurora.org> am 2d092d1d: am edde032a: am 44be3fc4: Telephony: Distinguish GSM vs ETWS bc by message id

* commit '2d092d1d1b6fdaa33040ecf6f50dd868785f9a2c':
Telephony: Distinguish GSM vs ETWS bc by message id
2d092d1d1b6fdaa33040ecf6f50dd868785f9a2c 30-Oct-2012 Rika Brooks <rbrooks@codeaurora.org> am edde032a: am 44be3fc4: Telephony: Distinguish GSM vs ETWS bc by message id

* commit 'edde032ab1181fdce43551660bf675c8b8bb62be':
Telephony: Distinguish GSM vs ETWS bc by message id
edde032ab1181fdce43551660bf675c8b8bb62be 30-Oct-2012 Rika Brooks <rbrooks@codeaurora.org> am 44be3fc4: Telephony: Distinguish GSM vs ETWS bc by message id

* commit '44be3fc486c049bbfea331b0fc2cff0552326f4b':
Telephony: Distinguish GSM vs ETWS bc by message id
44be3fc486c049bbfea331b0fc2cff0552326f4b 06-Feb-2012 Rika Brooks <rbrooks@codeaurora.org> Telephony: Distinguish GSM vs ETWS bc by message id

Per 3GPP TS 24.012 3.1 GSM CB can be less than 88 byes.
Fix to distinguish GSM vs ETWS broadcast format by checking message id field
rather than length of pdu.

Bug: 7417676
Change-Id: I6aeedcd531a89ded7901db33d89ed45baaabbaa7
nternal/telephony/gsm/SmsCbHeader.java
aa2908dd54304e252be68ba1ed82181e6ea27c5d 29-Oct-2012 Junichi Monma <monma@google.com> am 4adaff35: am 3eb13f88: am 708cb897: Allowing to change the poll state even if only PS is avairable on the network.

* commit '4adaff35f8b52aa68edd31e05052e923344b18a8':
Allowing to change the poll state even if only PS is avairable on the network.
4adaff35f8b52aa68edd31e05052e923344b18a8 29-Oct-2012 Junichi Monma <monma@google.com> am 3eb13f88: am 708cb897: Allowing to change the poll state even if only PS is avairable on the network.

* commit '3eb13f8805e784f4257dd77537fde7b7fdcbf0e3':
Allowing to change the poll state even if only PS is avairable on the network.
3eb13f8805e784f4257dd77537fde7b7fdcbf0e3 29-Oct-2012 Junichi Monma <monma@google.com> am 708cb897: Allowing to change the poll state even if only PS is avairable on the network.

* commit '708cb897813b5239e1d732d08ee2d04f577d09f1':
Allowing to change the poll state even if only PS is avairable on the network.
708cb897813b5239e1d732d08ee2d04f577d09f1 26-Oct-2012 Junichi Monma <monma@google.com> Allowing to change the poll state even if only PS is avairable on the network.

There are some MVNO operators are shipping the data only SIM. It isn't
connectable with CS, but wroks for PS. If the poll is not shown on the
system bar when network registration returns STATE_OUT_OF_SERVICE for
CS, user doesn't notice whether or not they can use PS. In addition,
PS might works while CS restriction.

Bug: 3339315
Change-Id: I6c2b508a181afed6dc9356b99ad9ef09f8c7ea4f
nternal/telephony/gsm/GsmServiceStateTracker.java
19364aaa786b2311a65aeefd33f0667ee7efd870 24-Oct-2012 Wink Saville <wink@google.com> am a19f2492: am 628da84b: am a2985af1: Validate call forwarding indicator status from SIM.

* commit 'a19f2492f65afd54e9ab2f5b6c787fda7bdda711':
Validate call forwarding indicator status from SIM.
a19f2492f65afd54e9ab2f5b6c787fda7bdda711 24-Oct-2012 Wink Saville <wink@google.com> am 628da84b: am a2985af1: Validate call forwarding indicator status from SIM.

* commit '628da84bfeb1bd9de02bed2fb0cc186ac4bb0567':
Validate call forwarding indicator status from SIM.
628da84bfeb1bd9de02bed2fb0cc186ac4bb0567 24-Oct-2012 Wink Saville <wink@google.com> am a2985af1: Validate call forwarding indicator status from SIM.

* commit 'a2985af1d00f7db8cb11da3874dc74e0c7ff7088':
Validate call forwarding indicator status from SIM.
a2985af1d00f7db8cb11da3874dc74e0c7ff7088 23-Oct-2012 Wink Saville <wink@google.com> Validate call forwarding indicator status from SIM.

The expected value for the MSP is 1 to 4, if not ignore.

Bug: 7387797
Change-Id: Ib35700c927fcc06eb5fb533097cb25a0de13db77
nternal/telephony/gsm/SIMRecords.java
1de1d3c6da7aa16d1a1b4a3f85484803788d2f8b 19-Oct-2012 Wink Saville <wink@google.com> Fake errors in DataConnection.

Errors can be faked for all DC's or just a particular DC,
use tools/tdi to issue the broadcast intent.


Change-Id: I4ba661e765d32931421bb62bc5e740c9652370a5
nternal/telephony/BaseCommands.java
nternal/telephony/CommandsInterface.java
nternal/telephony/DataConnection.java
nternal/telephony/gsm/GsmDataConnection.java
b9f33f437348b38a1c0422cd844b267894661d9f 18-Oct-2012 Wink Saville <wink@google.com> Add additional debug logging.

Change-Id: I8ea0ff57faabfdd1dedb97bfa46706fd0fb93b5b
nternal/telephony/ApnContext.java
nternal/telephony/DataConnection.java
nternal/telephony/DataConnectionTracker.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
be0930109ef5f2e044cb8cde5dce10bec64383d0 17-Oct-2012 Wink Saville <wink@google.com> Remove fake data setup counter, didn't work correctly.

There will be a change for DataConnection which allows it to be
configured to return errors when bringUp is called.

Change-Id: Ie5d8209ab9f78894027a1cf7bcea7507d29d9ed4
nternal/telephony/DataConnectionTracker.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
b3b3dd5e0d8e3d05a5d1baa683b6b275d7427247 17-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am 99a846e1: am 20659cc7: Retry connections that are in SCANNING.

* commit '99a846e14233977d46ec1a67a000872fbc34af00':
Retry connections that are in SCANNING.
99a846e14233977d46ec1a67a000872fbc34af00 17-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am 20659cc7: Retry connections that are in SCANNING.

* commit '20659cc78b898b553a54bb6d9d7728f326b77bd1':
Retry connections that are in SCANNING.
20659cc78b898b553a54bb6d9d7728f326b77bd1 16-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Retry connections that are in SCANNING.

Old code would retry all connections except those in the SCANNING state
when we reattach to the network. We're seeing this from people coming out
of subways as well as emerging from their house.

bug:7353277
Change-Id: Ic1fdd745f52ef33dd94b1d85b0dcc57a00c04d62
nternal/telephony/gsm/GsmDataConnectionTracker.java
5e1bc7508bd2f6cbe52ce1d7cb13194a0d265406 17-Oct-2012 Jiju Kinattingal <jijuk@codeaurora.org> Telephony: Correct the typo in RIL.java

Change-Id: Ic4bcd054f14d7e4b702b924f799e4d1619b666e0
nternal/telephony/RIL.java
c2a24b8d9bc3cdcc89650494cd6011201d75bdee 16-Oct-2012 Wink Saville <wink@google.com> am 0bc0fc92: am 27814a2e: When retrying disassociate an ApnContext from a DC only when failed or idle.

* commit '0bc0fc923b4e5e811987c4c641252b2fe01fa9b1':
When retrying disassociate an ApnContext from a DC only when failed or idle.
0bc0fc923b4e5e811987c4c641252b2fe01fa9b1 16-Oct-2012 Wink Saville <wink@google.com> am 27814a2e: When retrying disassociate an ApnContext from a DC only when failed or idle.

* commit '27814a2e735c0221935d46654fb00ff3ec2c45ea':
When retrying disassociate an ApnContext from a DC only when failed or idle.
27814a2e735c0221935d46654fb00ff3ec2c45ea 16-Oct-2012 Wink Saville <wink@google.com> When retrying disassociate an ApnContext from a DC only when failed or idle.

Disassociating, is setting an ApnContext DataConnection to null. When its
null the DataConnectionTracker will not find the DataConnection when the
next RIL_UNSOL_DATA_CALL_LIST_CHANGED arrives and it sends a notification
that the connection has been disconnected. When the notification is
received by the ConnectivityService it will reset the connection and now
there will truly be no connection.

Typically, when the DataConnectionTracker sees that the default connection
is been removed, it will automatically retry the connection. But this won't
happen in this case, because there was no error to cause the retry.

Bug: 6884995
Bug: 7343098
Change-Id: Ia36316151bc5ae9a0ef9b48b1841816198862127
nternal/telephony/gsm/GsmDataConnectionTracker.java
8f732e354be617e5978529d9e129c6b188777f95 13-Oct-2012 Wink Saville <wink@google.com> am 727b32f8: am f7a81331: Handle no IccRecords in updateSpnDisplay differently.

* commit '727b32f8fc527d23e8cd9f92a165198b5dff03c6':
Handle no IccRecords in updateSpnDisplay differently.
727b32f8fc527d23e8cd9f92a165198b5dff03c6 13-Oct-2012 Wink Saville <wink@google.com> am f7a81331: Handle no IccRecords in updateSpnDisplay differently.

* commit 'f7a8133113daddcc48a41e451193afd3fcb35e16':
Handle no IccRecords in updateSpnDisplay differently.
f7a8133113daddcc48a41e451193afd3fcb35e16 13-Oct-2012 Wink Saville <wink@google.com> Handle no IccRecords in updateSpnDisplay differently.

Rather than doing nothing in GsmServiceStateTracker#updateSpnDisplay
if mIccRecords is null, use a rule of 0 and an empty spn. And then keep the
remaining logic the same.

This allows "Emergency Only Calls" to be displayed in the lock and
notification screens if there is no SIM card.

Bug: 7276760
Change-Id: I0f969c8f5cad204e80c63d2e1a8e896cb7f4c02a
nternal/telephony/gsm/GsmServiceStateTracker.java
a90fe2bc14a1e29c484f8022e09ee833ff08160a 10-Oct-2012 Baligh Uddin <baligh@google.com> am 674c0b56: am 175442fc: Revert "Revert "Act on no-prefered-apn-on-connect config option.""

* commit '674c0b56e52d7e223be6fa3e84aacd4b61fff153':
Revert "Revert "Act on no-prefered-apn-on-connect config option.""
674c0b56e52d7e223be6fa3e84aacd4b61fff153 10-Oct-2012 Baligh Uddin <baligh@google.com> am 175442fc: Revert "Revert "Act on no-prefered-apn-on-connect config option.""

* commit '175442fc1d7ed440e4c2a7aaffe38521446dec8c':
Revert "Revert "Act on no-prefered-apn-on-connect config option.""
175442fc1d7ed440e4c2a7aaffe38521446dec8c 10-Oct-2012 Baligh Uddin <baligh@google.com> Revert "Revert "Act on no-prefered-apn-on-connect config option.""

Revert the revert - change is good.

This reverts commit 859e774e4309c24efafb157a894c2f94f8c544f2

Change-Id: Icb71779f30f5fe1ee7ed73c88e547507cbc0c31f
nternal/telephony/gsm/GsmDataConnectionTracker.java
25dbe645c6b16dee0e0bf41bbd26e9cacc66baad 10-Oct-2012 Baligh Uddin <baligh@google.com> am a35580d7: am 859e774e: Revert "Act on no-prefered-apn-on-connect config option."

* commit 'a35580d76caf1cfedbded2c640f989583b4374e3':
Revert "Act on no-prefered-apn-on-connect config option."
a35580d76caf1cfedbded2c640f989583b4374e3 10-Oct-2012 Baligh Uddin <baligh@google.com> am 859e774e: Revert "Act on no-prefered-apn-on-connect config option."

* commit '859e774e4309c24efafb157a894c2f94f8c544f2':
Revert "Act on no-prefered-apn-on-connect config option."
859e774e4309c24efafb157a894c2f94f8c544f2 10-Oct-2012 Baligh Uddin <baligh@google.com> Revert "Act on no-prefered-apn-on-connect config option."

breaking jb-mr1-release

This reverts commit 3ff47ff70406e6973226ac966d157a97fa8e9279

Change-Id: I897cc6eecaa0b4a3d248abda0431cd70742ad2df
nternal/telephony/gsm/GsmDataConnectionTracker.java
4eac40beef0c2988f3a76609776e6fd665fa190f 09-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am 4f4042f1: am 3ff47ff7: Act on no-prefered-apn-on-connect config option.

* commit '4f4042f1895f817e23ce3c821504053423232fc7':
Act on no-prefered-apn-on-connect config option.
4f4042f1895f817e23ce3c821504053423232fc7 09-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am 3ff47ff7: Act on no-prefered-apn-on-connect config option.

* commit '3ff47ff70406e6973226ac966d157a97fa8e9279':
Act on no-prefered-apn-on-connect config option.
3ff47ff70406e6973226ac966d157a97fa8e9279 08-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Act on no-prefered-apn-on-connect config option.

bug:7306353
Change-Id: Icf1c21cc8997821a7d50d114c8985728d9bdb02e
nternal/telephony/gsm/GsmDataConnectionTracker.java
a21458b7e268f39b4995c9501d1084a580676087 07-Oct-2012 Wink Saville <wink@google.com> am e55abcae: am 682428cb: Merge "Fake sim status changed appropriately" into jb-mr1-dev

* commit 'e55abcae66ffde0739cdcc7a57783c22bae1f2df':
Fake sim status changed appropriately
e55abcae66ffde0739cdcc7a57783c22bae1f2df 07-Oct-2012 Wink Saville <wink@google.com> am 682428cb: Merge "Fake sim status changed appropriately" into jb-mr1-dev

* commit '682428cb5e85d8bcc85685808b3f0e88716712a2':
Fake sim status changed appropriately
682428cb5e85d8bcc85685808b3f0e88716712a2 07-Oct-2012 Wink Saville <wink@google.com> Merge "Fake sim status changed appropriately" into jb-mr1-dev
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
nternal/telephony/RIL.java
c69c6cc00e4031162b7ba91edf0ffb8b566e4f57 04-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am 4e9b8c2d: am 205e3cb5: Merge "Change the dir used for the sms policy." into jb-mr1-dev

* commit '4e9b8c2d3b556a4a1b588dd2eef606c9b5ecbed3':
Change the dir used for the sms policy.
4e9b8c2d3b556a4a1b588dd2eef606c9b5ecbed3 04-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am 205e3cb5: Merge "Change the dir used for the sms policy." into jb-mr1-dev

* commit '205e3cb53a164c6d06b61dee9c2973038ae522e2':
Change the dir used for the sms policy.
205e3cb53a164c6d06b61dee9c2973038ae522e2 04-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Change the dir used for the sms policy." into jb-mr1-dev
58c8356d4b119d4e9c0b6fe73526f4daca1112ec 04-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Change the dir used for the sms policy.

The dir being used didn't exist (at least on mako) so changed to /data/misc/sms
which is used for other sms-y purposes (sms short code data) and exists.

bug:7287473
Change-Id: Idd952fabc2ee40c5d25db2da79c03ad302defa72
nternal/telephony/SmsUsageMonitor.java
e298a991476a0b48503713bd31dca3ed82a4c4e0 04-Oct-2012 Wink Saville <wink@google.com> am 31ff8674: am be3dc4b0: Fix 7255789

* commit '31ff8674da1d7570909d893e149581ddb88285f5':
Fix 7255789
31ff8674da1d7570909d893e149581ddb88285f5 04-Oct-2012 Wink Saville <wink@google.com> am be3dc4b0: Fix 7255789

* commit 'be3dc4b04cd65e576d250cf68f310d47637167ff':
Fix 7255789
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
nternal/telephony/IccCardProxy.java
nternal/telephony/Phone.java
nternal/telephony/RIL.java
e681dffc954ae2c2e7e48deb68ec8f21cb2aac11 03-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am ea779b73: am d070d1c9: Merge "Fix bug in subsequent premium-sms detections." into jb-mr1-dev

* commit 'ea779b7385612a334596fd4f09c105cf0d5fa5c2':
Fix bug in subsequent premium-sms detections.
ea779b7385612a334596fd4f09c105cf0d5fa5c2 03-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am d070d1c9: Merge "Fix bug in subsequent premium-sms detections." into jb-mr1-dev

* commit 'd070d1c9318cf1b33ab901e3741acfa81262eeb7':
Fix bug in subsequent premium-sms detections.
d070d1c9318cf1b33ab901e3741acfa81262eeb7 03-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix bug in subsequent premium-sms detections." into jb-mr1-dev
b7ca3296aeec1c103b027548e78a4eaf96b560f5 03-Oct-2012 Dianne Hackborn <hackbod@google.com> am bbab7683: am ac1e58bf: Merge "Fix issue #7274813: A few sticky broadcasts aren\'t being sent to all users" into jb-mr1-dev

* commit 'bbab768308c37fae48a4ae17a11e7d304ffae1aa':
Fix issue #7274813: A few sticky broadcasts aren't being sent to all users
bbab768308c37fae48a4ae17a11e7d304ffae1aa 03-Oct-2012 Dianne Hackborn <hackbod@google.com> am ac1e58bf: Merge "Fix issue #7274813: A few sticky broadcasts aren\'t being sent to all users" into jb-mr1-dev

* commit 'ac1e58bf04e394a9d051c6a3c3099bda0ec409e9':
Fix issue #7274813: A few sticky broadcasts aren't being sent to all users
ac1e58bf04e394a9d051c6a3c3099bda0ec409e9 03-Oct-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #7274813: A few sticky broadcasts aren't being sent to all users" into jb-mr1-dev
10270d2586e2d940dea23b19f6ad733f702609be 03-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Fix bug in subsequent premium-sms detections.

bug:fix_7273572
Change-Id: Ia51989fb417f5394b9a86d0dd8109671b2ee73ab
nternal/telephony/SmsUsageMonitor.java
7eff443d1f090abdbbd93eef9f265c74890920bc 03-Oct-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7274813: A few sticky broadcasts aren't being sent to all users

Change-Id: Ief63aa4be067618b2431c2c0fcd1d6820a348715
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.java
cf4d12430566850fbbeeef77eb1d5de17aa94327 03-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am 7fe56ac2: am 78e1a45d: Merge "fallback to res-based premium-sms detection info" into jb-mr1-dev

* commit '7fe56ac20fdee1cd270b7707bfcf60ba2d15cf85':
fallback to res-based premium-sms detection info
7fe56ac20fdee1cd270b7707bfcf60ba2d15cf85 03-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> am 78e1a45d: Merge "fallback to res-based premium-sms detection info" into jb-mr1-dev

* commit '78e1a45d183e2564139372b5a828f056db4beb23':
fallback to res-based premium-sms detection info
78e1a45d183e2564139372b5a828f056db4beb23 03-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "fallback to res-based premium-sms detection info" into jb-mr1-dev
7b9187707ed429b57ee7b6f293da1ac87f7219fd 02-Oct-2012 Jeff Sharkey <jsharkey@android.com> am b24d4a60: am 6ce6af46: Migrate telephony settings to Global.

* commit 'b24d4a60d972feea197f0d1776bc3ac1fb8dcda4':
Migrate telephony settings to Global.
b24d4a60d972feea197f0d1776bc3ac1fb8dcda4 02-Oct-2012 Jeff Sharkey <jsharkey@android.com> am 6ce6af46: Migrate telephony settings to Global.

* commit '6ce6af4664de8d12c238f00b1f566db010d52a44':
Migrate telephony settings to Global.
6ce6af4664de8d12c238f00b1f566db010d52a44 01-Oct-2012 Jeff Sharkey <jsharkey@android.com> Migrate telephony settings to Global.

Bug: 7231764
Change-Id: I2e1c23ed930bb9499c8bca53ac68c38da85085b5
nternal/telephony/PhoneFactory.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
81ddb888952763b5eb7a4a38fb293fc86b897968 01-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> fallback to res-based premium-sms detection info

If a device doesn't yet have or will never have the gservices-based
updatable premium-sms data, we should have a reasonable fallback.
Prepopulate with an xml resource.

bug:7254595
Change-Id: I065832bfffb46faba35054a7cdf05000ed14eb4a
nternal/telephony/SmsUsageMonitor.java
f3f73a585e3254d67b3e78ab4817f3eff2293748 29-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> am f5aea702: Merge "Fix the premium-SMS UI." into jb-mr1-dev

* commit 'f5aea70215c993c3ddcf1455ef9405f4a729240d':
Fix the premium-SMS UI.
d1816faeedf2c7e9ca6dda6d3c7e39106fe6f415 29-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> am a7700794: Use a gservices provided file for premium-sms data

* commit 'a7700794b7fbe667e87d72d3117ae3a4d2501313':
Use a gservices provided file for premium-sms data
f5aea70215c993c3ddcf1455ef9405f4a729240d 29-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix the premium-SMS UI." into jb-mr1-dev
a7700794b7fbe667e87d72d3117ae3a4d2501313 25-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Use a gservices provided file for premium-sms data

Allows simple full-file replacement of the data rather than trying to send
country specific data to different devices.
bug:7221402

Change-Id: Ibdac97b39b66e01e62c845fb9c6732fafd99f1c9
nternal/telephony/SmsUsageMonitor.java
9ebea45a36838f0547a9c30f7cd9c60b03aab3b4 19-Sep-2011 Siddartha Pothapragada <spotha@codeaurora.org> Telephony: Add 'ServiceCategory' to SMS finger print

In case of certain broadcast messages sent back to back, say if,
service category 0x0002 Administrative and service category
0x0003 Maintenance are sent in sequence,
one after the other, service category 0x0003 fails to be displayed
on the UI although modem sends it to telephony
layer. This is because telephony rejects/discards the new
incoming message - 0x0003 as its finger-print matches exactly
with the previously sent message 0x0002.

Bug: 7238888
Change-Id: Id48169924605f423ee97a0866e754462f8c4c30d
nternal/telephony/cdma/SmsMessage.java
0b01e3541d611ae0b48683acdee5ea2a8f45d4c4 26-Sep-2012 Jeff Brown <jeffbrown@google.com> am 04160ae3: Merge "Update references to migrated global settings." into jb-mr1-dev

* commit '04160ae3ea77ea98d07cc55efbb6370973dd0d22':
Update references to migrated global settings.
04160ae3ea77ea98d07cc55efbb6370973dd0d22 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Merge "Update references to migrated global settings." into jb-mr1-dev
b8d0e5993929ca9ecd29f406ae5f39a3e450e89b 25-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Bug: 7231172
Change-Id: Id18cce843899452bd171d5eeff99b48ca65dfb1e
nternal/telephony/PhoneBase.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
78df2f47241a498bbd919c4c19a44b824e5dc2d6 25-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Fix the premium-SMS UI.

Add instructions to undo permanent selections.
bug:7205024

Change-Id: I970e41019c66ef77ed62c9cd017571e308744380
nternal/telephony/SMSDispatcher.java
c90b7d250dae1931a603cc052bd90bc34c070f1b 25-Sep-2012 Wink Saville <wink@google.com> Telephony: Fix npe when making a call after ejecting card (DO NOT MERGE)

This is already in AOSP and Master, back porting to JB-MR1.

Bug: 6983013
Change-Id: Ibda258e632ecff79f22eebe093df0061ed4cdf4d
nternal/telephony/gsm/GsmConnection.java
f0b6e3ed7881f0a92281684e70c6249d0898338c 25-Sep-2012 Wink Saville <wink@google.com> am 5607e47c: Merge "Telephony: Fix npe when making a call after ejecting card"

* commit '5607e47cac5ac23459539bbb6f75e2507d4e03b7':
Telephony: Fix npe when making a call after ejecting card
f4bfdd2941bdee6927a5300556a5c1d490bbff33 25-Sep-2012 John Wang <johnwang@google.com> Merge "Handle mmi dialing number ending with #." into jb-mr1-dev
9225578f29e449d30380fcf71defb1ac7e8a59db 25-Sep-2012 John Wang <johnwang@google.com> Handle mmi dialing number ending with #.

According to TS 22.030 6.5.2 "Structure of the MMI", the dialing
number should not ending with #. But it is okay to have # in the
middle of dialing number.

bug:6410387
Change-Id: I1838d7012a132f27a3a879e1d34a9c3b04844def
nternal/telephony/gsm/GsmMmiCode.java
1b5c213b68a9d7ab4af0263161ba9eb91668dedf 25-Sep-2012 John Wang <johnwang@google.com> Merge "Make updateSpnDisplay cover out various scenarios." into jb-mr1-dev
60e7f68c5f73b06fd5b603c331fc24b9d329de6b 24-Sep-2012 John Wang <johnwang@google.com> Make updateSpnDisplay cover out various scenarios.

Set showPlmn and plmn to correct values in emergency mode,
out of service, and airplane mode.

bug:7134445
Change-Id: Ic95e352dbfad3c6e2b62119ce288ce69dc83b856
nternal/telephony/gsm/GsmServiceStateTracker.java
a2da94751bbf8718bbaa4e181eb7d0633c1ab0f7 24-Sep-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Fix npe when making a call after ejecting card

Bug: 6983013
Change-Id: Ibda258e632ecff79f22eebe093df0061ed4cdf4d
nternal/telephony/gsm/GsmConnection.java
ee7b6094d4f3d4c641e54246aec8f61349d6e9d0 22-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Add gservices-controllable rules policy.

Allows using SIM country, network country or the most restrictive of both.
bug:7205426

Change-Id: I4f7ec6ef884d8cc3665fe60290c167740f17d9e7
nternal/telephony/SMSDispatcher.java
nternal/telephony/SmsUsageMonitor.java
5d875796122cdd8a7004e8e3964b20b5c65a31a1 20-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Fix string in sms_short_code confirm dialog.

Typo used the wrong string giving "allow, allow" options after toggling
the remember-my-choice checkbox.

bug:7198380
Change-Id: Ia9bf3da44a1153838c618bd8c6b722235629e853
nternal/telephony/SMSDispatcher.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
ed6a91f6b4fb5e33406034f13d21897de70b506b 20-Sep-2012 Wink Saville <wink@google.com> am 7b5e41b5: am 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"

* commit '7b5e41b5aca925ef476bf670a1f65f1cb51bac83':
Telephony: Fix npe in IccPhoneBookInterfaceManager
7b5e41b5aca925ef476bf670a1f65f1cb51bac83 20-Sep-2012 Wink Saville <wink@google.com> am 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"

* commit '54cadb79d3d2ef5be670d2fbd6e566f0a5f7f428':
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
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/PhoneBase.java
4a6e52f2f5db93fdf339de7e92e0a23659985019 18-Sep-2012 Wink Saville <wink@google.com> am 38953327: am 5d9a7e45: am f667af23: Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"

* commit '38953327bdab42c3975528ed416a6af0d4273a7f':
Telephony: Add null pointer checks in UiccCardApplicaton.update
38953327bdab42c3975528ed416a6af0d4273a7f 18-Sep-2012 Wink Saville <wink@google.com> am 5d9a7e45: am f667af23: Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"

* commit '5d9a7e454c5c71ef15527f06278b18996d0cc191':
Telephony: Add null pointer checks in UiccCardApplicaton.update
5d9a7e454c5c71ef15527f06278b18996d0cc191 18-Sep-2012 Wink Saville <wink@google.com> am f667af23: Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"

* commit 'f667af23e53602cf0b7f1400ea0b7564764bf5ca':
Telephony: Add null pointer checks in UiccCardApplicaton.update
f48d70f5336408e7910c4868b8ede5db8354727a 17-Sep-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Add null pointer checks in UiccCardApplicaton.update

Bug: 7174617
Change-Id: Iad5ef2352ea5e6ef4ede87214036ef27cc6a95ef
nternal/telephony/UiccCardApplication.java
4658a1a8c23111d5cc89feb040ce547a7b65dfb0 06-Sep-2012 Jake Hamby <jhamby@google.com> Add support for per-package policy for sending premium SMS.

The default behavior for sending a message to a premium SMS
short code (or suspected premium SMS number) is to ask the user for
confirmation. Enable the user to set a default policy ("remember this
choice" checkbox) to always/never allow the app to send SMS to
premium short codes in the future. The policy can be changed by
the Settings app in the app info screen.

Bug: 5513975
Change-Id: I82731bbc6631ac79b1b5d1d9b1f96c7100ab20cf
nternal/telephony/ISms.aidl
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccSmsInterfaceManagerProxy.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/SmsUsageMonitor.java
a72f94510f726ba8692bfbf11b7c489c80da9a08 14-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Use the same logic in isDataPossible as GSM." into jb-mr1-dev
aa810543a4084d2aa80e7f671483bc390e74c1a8 14-Sep-2012 Wink Saville <wink@google.com> am f5082fd1: am 38a7ed0d: am 4a844050: Merge "Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED"

* commit 'f5082fd198921c62a17ce10f9fb503af944949a9':
Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED
f5082fd198921c62a17ce10f9fb503af944949a9 14-Sep-2012 Wink Saville <wink@google.com> am 38a7ed0d: am 4a844050: Merge "Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED"

* commit '38a7ed0d3d355373ae7709e8292c636e48882124':
Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED
38a7ed0d3d355373ae7709e8292c636e48882124 14-Sep-2012 Wink Saville <wink@google.com> am 4a844050: Merge "Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED"

* commit '4a8440506c9e31a3d65ba64664af3b2ad18b2fa1':
Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED
22e3d13998dd36f78d14b3c5b8508ad6be689629 14-Sep-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED

Some radios/rils lose initial UNSOL_SIM_STATUS_CHANGED indication
(because Telephony wasn't connected to rild when the event happened).
Query for sim_status on power_on.

Bug: 7116148
Change-Id: I448f1b939837a61b7b060068ea1062947a5f6138
nternal/telephony/uicc/UiccController.java
71592446731992ac8bd61fe5804455d1b17335b9 14-Sep-2012 Geremy Condra <gcondra@google.com> Merge "Add event logging for SMS" into jb-mr1-dev
2029d86b5aebd03f7acbd249a4e2e4f65ec37d47 08-Sep-2012 Geremy Condra <gcondra@google.com> Add event logging for SMS

This allows us to gather metrics about unwanted SMS use on
dogfood devices.

Change-Id: I00820b12219dde918d6d7adee3ccf03c576424c9
nternal/telephony/EventLogTags.logtags
nternal/telephony/SMSDispatcher.java
f022afffe951c56fd2c1fda40b0e276fd21edb20 13-Sep-2012 John Wang <johnwang@google.com> am 29b5d8e4: resolved conflicts for merge of f5cbd762 to jb-dev-plus-aosp

* commit '29b5d8e48cd4c6563d49cb227b5a9e03c5791d0b':
resolved conflicts for merge of f5cbd762 to jb-dev-plus-aosp
abd59738ceb9d21b8bf159d4625ea9b0ade873ee 13-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Use the same logic in isDataPossible as GSM.

Could not reproduce the problem, but this does seem like a potential problem.
bug:5870919

Change-Id: Iabee1ef20b56ec00dae8acbce32a876d51125a66
nternal/telephony/cdma/CdmaDataConnectionTracker.java
29b5d8e48cd4c6563d49cb227b5a9e03c5791d0b 13-Sep-2012 John Wang <johnwang@google.com> resolved conflicts for merge of f5cbd762 to jb-dev-plus-aosp

Change-Id: I2ee98d03fb1e6e3f5c2325d59d54621fa97eb6ff
nternal/telephony/gsm/GsmServiceStateTracker.java
b840987a39e7149c1364739696977089cd53814d 13-Sep-2012 Wink Saville <wink@google.com> Use Settings.Global instead of Settings.Secure in a few places.

There are more but the PDP_WATCHDOG_POLL_INTERVAL_MS is causing
excessive logging so changing it and others in the DCT as well as
in GsmSST.

The uses in PhoneFactory, SmsUsageMonitor, PhoneBase,
CdmaLteServiceStateTracker, CdmaSubscriptionSourceManager and
CdmaServiceStateTracker need to be looked at also, will fix
those next.

Change-Id: I8c29e7ce5ad6aecc824d3c0d71fa6cfca0eac777
nternal/telephony/DataConnectionTracker.java
nternal/telephony/gsm/GsmServiceStateTracker.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.
511d4b684ccaa6a2b572c331e4bc5c76a919e4a7 08-Sep-2012 Wink Saville <wink@google.com> am 713a658e: Merge "Telephony: Log parameters for facility lock operations."

* commit '713a658e9d60a94c96b98d94424a61c708525c04':
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
nternal/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
db1b0c54ffa990afeac24cc54d8b1992f1aa3a85 08-Sep-2012 Wink Saville <wink@google.com> am 1d40e34c: Merge "Telephony: Remove CdmaLteUicc objects"

* commit '1d40e34c74e2874114855db681aafba5676ae25c':
Telephony: Remove CdmaLteUicc objects
1d40e34c74e2874114855db681aafba5676ae25c 08-Sep-2012 Wink Saville <wink@google.com> Merge "Telephony: Remove CdmaLteUicc objects"
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
nternal/telephony/CsimFileHandler.java
nternal/telephony/IccCard.java
nternal/telephony/IccCardApplication.java
nternal/telephony/IccCardApplicationStatus.java
nternal/telephony/IccCardProxy.java
nternal/telephony/IccCardStatus.java
nternal/telephony/IccConstants.java
nternal/telephony/IccFileHandler.java
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccRecords.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneProxy.java
nternal/telephony/RIL.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/UiccCard.java
nternal/telephony/UiccCardApplication.java
nternal/telephony/UsimFileHandler.java
nternal/telephony/cat/CatService.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaLteUiccFileHandler.java
nternal/telephony/cdma/CdmaLteUiccRecords.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/RuimFileHandler.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMFileHandler.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/ims/IsimFileHandler.java
nternal/telephony/ims/IsimUiccRecords.java
nternal/telephony/uicc/README
nternal/telephony/uicc/UiccController.java
2f81ec63398ad4b0af33e5233411a4a1e3680bd7 06-Sep-2012 Wink Saville <wink@google.com> am 3d5e9bd1: am 8566fabf: am e9260aec: Merge "Omitting Big Endian caused corrupt characters"

* commit '3d5e9bd1a4ea294ebb85e87ef5a8aed687ba9ade':
Omitting Big Endian caused corrupt characters
8566fabf80997b1effde2fdaad3ff06223a5f326 06-Sep-2012 Wink Saville <wink@google.com> am e9260aec: Merge "Omitting Big Endian caused corrupt characters"

* commit 'e9260aec3d196e9c9b94962289f177ae39283eb4':
Omitting Big Endian caused corrupt characters
e9260aec3d196e9c9b94962289f177ae39283eb4 06-Sep-2012 Wink Saville <wink@google.com> Merge "Omitting Big Endian caused corrupt characters"
9f1860d5596f79d74fa4ecf78c0dd1d8253fc5f9 18-Jul-2012 Pierre Fröjd <pierre.frojd.x@sonyericsson.com> Omitting Big Endian caused corrupt characters

When sending a terminal reponse to SIM containing unicode
characters, big endian must be explicitly stated to
avoid corrupt characters.

Change-Id: Iac4dcadfd860b5de15ad2a65c4ccdf3fae9292d4
nternal/telephony/cat/ResponseData.java
dec905e7465287f21b191889da07f331890f43c9 05-Sep-2012 Wink Saville <wink@google.com> am b66683d8: am 5af6cdd6: am 7ac8d802: Merge "Telephony: Fixed problem with short operator name"

* commit 'b66683d899c3e58f84d8369ced23e3c4f6e5fd99':
Telephony: Fixed problem with short operator name
5af6cdd62a9c88371ef5defafa7fd49780cf8ef3 05-Sep-2012 Wink Saville <wink@google.com> am 7ac8d802: Merge "Telephony: Fixed problem with short operator name"

* commit '7ac8d8026b997141d106762574478eb9daaf3f38':
Telephony: Fixed problem with short operator name
7ac8d8026b997141d106762574478eb9daaf3f38 05-Sep-2012 Wink Saville <wink@google.com> Merge "Telephony: Fixed problem with short operator name"
b142fa0d4ec00ebb7df1b6657f56a57f0fbfd7fa 05-Sep-2012 Wink Saville <wink@google.com> am ad10642b: am 380be4a4: am 6fe2a8a4: Merge "Handle the case when TP-PI reserved bits are set"

* commit 'ad10642b1f79079148211dade13dce276f9dd93f':
Handle the case when TP-PI reserved bits are set
380be4a4fa0290f4b86309b22778839fab8c1b5e 05-Sep-2012 Wink Saville <wink@google.com> am 6fe2a8a4: Merge "Handle the case when TP-PI reserved bits are set"

* commit '6fe2a8a4ab453dd72daf24798ef1bc460840b136':
Handle the case when TP-PI reserved bits are set
56c949ded0e352444806dd04bbca1895a2c75a9b 04-Sep-2012 Huanze Lan <huanze.lan@sonyericsson.com> Handle the case when TP-PI reserved bits are set

Discard settings according to 3GPP TS 23.040,
9.2.3.27 TP-Parameter-Indicator (TP-PI).

Usually operators will set this byte to 0 to indicate
there is no more data, but a few operators sets a
reserved bit to 1 to indicate there is no more data instead,
so we need to handle this case also.

Change-Id: I58abc2473c79b65795be186182927c603b35305e
nternal/telephony/gsm/SmsMessage.java
9386a53046f7cb9137b958c8d255306248c881cd 18-Jul-2012 Johan Redestig <johan.redestig@sonymobile.com> Telephony: Fixed problem with short operator name

This patch solves the problem with erroneous service
provider name that is visible in status row. The name
of the service provider is one character short. This
happen when loading the service provider name from
EF_SPN_CPHS or EF_SPN_SHORT_CPHS.

Change-Id: I54df69b9d46bc90028581d16df72f1fd4757c913
nternal/telephony/gsm/SIMRecords.java
08a57a4c23056b2abbf6c86c1e3fa6fee8d20e67 01-Sep-2012 Jake Hamby <jhamby@google.com> am 5b7a88ea: Merge "Fix CDMA decoding of multipart UTF-16 SMS messages."

* commit '5b7a88ea46ba6d02369ca6ec030df7f2df31b644':
Fix CDMA decoding of multipart UTF-16 SMS messages.
b2deb7e4c88a4000d66c3a8f711084515b9e0f57 31-Aug-2012 Jake Hamby <jhamby@google.com> Fix CDMA decoding of multipart UTF-16 SMS messages.

Recent changes to support CMAS over CDMA introduced a bug causing
an exception to be thrown when decoding multipart UTF-16 encoded
messages. This change fixes the exception by correctly subtracting
the header size from the number of bytes to decode. It also adds
more robust error handling to try to decode the maximum length
possible instead of throwing an exception if the length is still
larger than the user data length after subtracting the header.

This also fixes a bug in the encoder, which was padding the
UTF-16 user data to 16-bit alignment, which is incorrect (should
be padded to an 8-bit boundary). The code happened to work because
we always generated a UDH that was an even number of bytes
(including length) so the padding was a no-op. The decoder works
correctly.

Bug: 6939151
Change-Id: I4000fa2f4703b39e5ed7e5bd8490828303ef8979
nternal/telephony/cdma/sms/BearerData.java
ac1701bae6a076fe92b05875aa94b6bef45838c1 31-Aug-2012 Jake Hamby <jhamby@google.com> am 115632cc: Fix CDMA decoding of multipart UTF-16 SMS messages.

* commit '115632cc56f813bd21543f8532c763d7d2968046':
Fix CDMA decoding of multipart UTF-16 SMS messages.
115632cc56f813bd21543f8532c763d7d2968046 31-Aug-2012 Jake Hamby <jhamby@google.com> Fix CDMA decoding of multipart UTF-16 SMS messages.

Recent changes to support CMAS over CDMA introduced a bug causing
an exception to be thrown when decoding multipart UTF-16 encoded
messages. This change fixes the exception by correctly subtracting
the header size from the number of bytes to decode. It also adds
more robust error handling to try to decode the maximum length
possible instead of throwing an exception if the length is still
larger than the user data length after subtracting the header.

This also fixes a bug in the encoder, which was padding the
UTF-16 user data to 16-bit alignment, which is incorrect (should
be padded to an 8-bit boundary). The code happened to work because
we always generated a UDH that was an even number of bytes
(including length) so the padding was a no-op. The decoder works
correctly.

Bug: 6939151
Change-Id: I4000fa2f4703b39e5ed7e5bd8490828303ef8979
nternal/telephony/cdma/sms/BearerData.java
7f7d82aac56022880f613772ed4a90738075c843 31-Aug-2012 Wink Saville <wink@google.com> am 50b1206d: am cc0e5450: Merge "WspTypeDecoder: fixed decoding of content parameters"

* commit '50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5':
WspTypeDecoder: fixed decoding of content parameters
50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5 31-Aug-2012 Wink Saville <wink@google.com> am cc0e5450: Merge "WspTypeDecoder: fixed decoding of content parameters"

* commit 'cc0e54506132e42f5e0ca2cfee0c399ba49ba149':
WspTypeDecoder: fixed decoding of content parameters
cbbf6deee30d702e398939f4bb464f5e821f5e6c 30-Aug-2012 Dianne Hackborn <hackbod@google.com> Update to send sticky broadcasts to all users.

Change-Id: I66312f142348282b90fb63f8f20361446d56fb03
nternal/telephony/IccCard.java
nternal/telephony/PhoneProxy.java
nternal/telephony/cdma/CDMAPhone.java
0fcf2097e7e217319b625d5dfc24aded06c02227 30-Aug-2012 Johan Redestig <johan.redestig@sonymobile.com> WspTypeDecoder: fixed decoding of content parameters

The removed condition prevented any parameter to have
0 as integer value.

Change-Id: Iaa8e106e49a51322c07f647f2f66bb7bd6055c89
nternal/telephony/WspTypeDecoder.java
25a229f871862521d0b15d9d042b36bd382a4a64 28-Aug-2012 Wink Saville <wink@google.com> am 15e83e03: am 935f0c7a: Merge "Pull up Stats polling and Data Stall Alarm handling to DCT"

* commit '15e83e031027a1b161c4ee4f046e3cc1bdf0f92b':
Pull up Stats polling and Data Stall Alarm handling to DCT
15e83e031027a1b161c4ee4f046e3cc1bdf0f92b 28-Aug-2012 Wink Saville <wink@google.com> am 935f0c7a: Merge "Pull up Stats polling and Data Stall Alarm handling to DCT"

* commit '935f0c7abbf49e71478c79ca32eae972fcca574d':
Pull up Stats polling and Data Stall Alarm handling to DCT
935f0c7abbf49e71478c79ca32eae972fcca574d 28-Aug-2012 Wink Saville <wink@google.com> Merge "Pull up Stats polling and Data Stall Alarm handling to DCT"
8739ce83da5d9e8887f7ec414614af3682c12c7a 28-Aug-2012 Wink Saville <wink@google.com> am 162971e5: am 820e9643: Merge "Plug a fd leak."

* commit '162971e54aa22f23b193ae5eb44ba12092fc0303':
Plug a fd leak.
162971e54aa22f23b193ae5eb44ba12092fc0303 28-Aug-2012 Wink Saville <wink@google.com> am 820e9643: Merge "Plug a fd leak."

* commit '820e964351b4d58c69ce40b64928911eb07efeeb':
Plug a fd leak.
820e964351b4d58c69ce40b64928911eb07efeeb 28-Aug-2012 Wink Saville <wink@google.com> Merge "Plug a fd leak."
cebb2cc576c652dd642d7f419532ec04e0f59d7d 31-Jul-2012 Naveen Kalla <nkalla@codeaurora.org> Pull up Stats polling and Data Stall Alarm handling to DCT

Code in GsmDataConnectionTracker and CdmaDataConnectionTracker is
very similar for maintaining data activity statistics and detecting
data stalls. So it can be moved up to the parent class.

Change-Id: I3ec63f6bbfe369e0006d3aa6d6b92abf451657f4
nternal/telephony/DataConnectionTracker.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
dd8b840a59aafaac5325985fb35fb1db3f7dd9d8 25-Aug-2012 Wink Saville <wink@google.com> am 4b24797a: am fb4c7e43: Merge "Telephony: Send disconnect when disposing DCTs"

* commit '4b24797a3bf90b95fd46a3acf4ec6bcc4f32530b':
Telephony: Send disconnect when disposing DCTs
4b24797a3bf90b95fd46a3acf4ec6bcc4f32530b 25-Aug-2012 Wink Saville <wink@google.com> am fb4c7e43: Merge "Telephony: Send disconnect when disposing DCTs"

* commit 'fb4c7e43721fe51e2f749c70f36c0f6be18e8580':
Telephony: Send disconnect when disposing DCTs
fb4c7e43721fe51e2f749c70f36c0f6be18e8580 25-Aug-2012 Wink Saville <wink@google.com> Merge "Telephony: Send disconnect when disposing DCTs"
eca324b92d4cd136f728c14dbb92a1d55674645e 24-Aug-2012 Wink Saville <wink@google.com> am ffcb548f: Empty DC\'s apnList when the DC is free.

* commit 'ffcb548fa2fdcc170ef4bbbe50f0348959cac8f1':
Empty DC's apnList when the DC is free.
ffcb548fa2fdcc170ef4bbbe50f0348959cac8f1 23-Aug-2012 Wink Saville <wink@google.com> Empty DC's apnList when the DC is free.

Not doing this causes DC.apnList's to have multiple entries in the
apnlist which causes DC's to look like its connected to both IMS and
INTERNET. And when selecting CDMA only mode on a Xoom we will not bring
up the connection thus no data connectivity.

A "cherry-pick" from frameworks/base/ b44b13a3f5967a7ce80f7124dc7b9c486f49c275

Bug: 6939338
Change-Id: I49881adb2710d7fe5d88c3aef748618bda7d65f1
nternal/telephony/gsm/GsmDataConnectionTracker.java
0ef38e23406aeed28e95dbc4e5022822508349e7 20-Aug-2012 Jake Hamby <jhamby@google.com> am 6df4d0f3: am 026b1a18: Merge "Telephony: Fix MT SMS with invalid TOA field causing crash issue"

* commit '6df4d0f3d49769e733045b3efcda9060aaae1bfe':
Telephony: Fix MT SMS with invalid TOA field causing crash issue
2ab323871c8a16e039df1ff916da57df7bd34763 20-Aug-2012 Jake Hamby <jhamby@google.com> am 4eedbd9a: am f0414167: Merge "Telephony: Fix LTE CB Sms for dual-mode devices"

* commit '4eedbd9a3fa0bafb4be05522113a5f6498923b4e':
Telephony: Fix LTE CB Sms for dual-mode devices
6df4d0f3d49769e733045b3efcda9060aaae1bfe 20-Aug-2012 Jake Hamby <jhamby@google.com> am 026b1a18: Merge "Telephony: Fix MT SMS with invalid TOA field causing crash issue"

* commit '026b1a184c918c9e0ddd028073084e443e5ae0fc':
Telephony: Fix MT SMS with invalid TOA field causing crash issue
4eedbd9a3fa0bafb4be05522113a5f6498923b4e 20-Aug-2012 Jake Hamby <jhamby@google.com> am f0414167: Merge "Telephony: Fix LTE CB Sms for dual-mode devices"

* commit 'f0414167059ea8ac7daae752e0ce7bd858df7f92':
Telephony: Fix LTE CB Sms for dual-mode devices
026b1a184c918c9e0ddd028073084e443e5ae0fc 20-Aug-2012 Jake Hamby <jhamby@google.com> Merge "Telephony: Fix MT SMS with invalid TOA field causing crash issue"
f0414167059ea8ac7daae752e0ce7bd858df7f92 20-Aug-2012 Jake Hamby <jhamby@google.com> Merge "Telephony: Fix LTE CB Sms for dual-mode devices"
0fd49b6b31960a768702d202a066b1088ec489a1 15-Aug-2012 Alex Yakavenka <ayakaven@codeaurora.org> Telephony: Fix LTE CB Sms for dual-mode devices

Ignore 3gpp location information when it is not available.
This is required to support dual-mode devices such as CDMA/LTE devices
that require support for both 3GPP and 3GPP2 format messages.

Change-Id: Ie5d6372ef7e8da6893800e05a83ba840b7fd31f6
nternal/telephony/gsm/GsmSMSDispatcher.java
5ad6947b2d955a4e972d556090922d77aa6a2641 09-Aug-2011 Rekha Kumar <rekhak@codeaurora.org> Telephony: Fix MT SMS with invalid TOA field causing crash issue

Throw FormatException when type of number is incorrect and handle it

Change-Id: I305ea1c9e4fee29c84caefec7d7564d46228851d
nternal/telephony/gsm/GsmSmsAddress.java
nternal/telephony/gsm/SmsMessage.java
4a558a7b6494361fb0b3ac5ebb4f40f8e778ac5f 16-Aug-2012 Wink Saville <wink@google.com> am 3a7fdcb7: am 640ac806: Merge "Telephony: Ignore SipPhone"

* commit '3a7fdcb7918fd4e68814952b545c89fb971e5356':
Telephony: Ignore SipPhone
3a7fdcb7918fd4e68814952b545c89fb971e5356 16-Aug-2012 Wink Saville <wink@google.com> am 640ac806: Merge "Telephony: Ignore SipPhone"

* commit '640ac8068f3941dcf79c0496285758d4b8180847':
Telephony: Ignore SipPhone
073ffbd395b7c3942c75a0880cafd1ddb84b4b07 15-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Ignore SipPhone

UiccController's code isn't ready to handle having multiple
different PhoneBase objects working at the same time

Bug: 6975696
Change-Id: I8f83174cc7db478743445c09fb8f03c66cf1e41e
nternal/telephony/uicc/UiccController.java
208f334f85a5e5182a98aefb56066443a2de5261 15-Aug-2012 Wink Saville <wink@google.com> Merge commit 'd9d3f48c' into fix-merge-conflict



* commit 'd9d3f48c':
Telephony: Unregister broadcast receiver

Change-Id: I57a974e92592efa8a662f083dd1bfc613c1a945a
81a055a7b9e3049413a503fa61c09f3f43648d78 15-Aug-2012 Wink Saville <wink@google.com> am aa8bd6e9: am 91cccaaf: Merge "Telephony: Always create IccCard"

* commit 'aa8bd6e9add9bf3604e2faf1f36faefcbbda7b76':
Telephony: Always create IccCard
d9d3f48c49050e54b5fbbcd660a1cda940559a70 15-Aug-2012 Wink Saville <wink@google.com> am 4a306f66: Merge "Telephony: Unregister broadcast receiver"

* commit '4a306f66962aabf843ce883a8f96450389db5f7a':
Telephony: Unregister broadcast receiver
aa8bd6e9add9bf3604e2faf1f36faefcbbda7b76 15-Aug-2012 Wink Saville <wink@google.com> am 91cccaaf: Merge "Telephony: Always create IccCard"

* commit '91cccaaf575d6faf4e57bcb8a7e78538f28c75cd':
Telephony: Always create IccCard
4a306f66962aabf843ce883a8f96450389db5f7a 15-Aug-2012 Wink Saville <wink@google.com> Merge "Telephony: Unregister broadcast receiver"
91cccaaf575d6faf4e57bcb8a7e78538f28c75cd 15-Aug-2012 Wink Saville <wink@google.com> Merge "Telephony: Always create IccCard"
a5fc984c8b0696c187e14bfa75962b6e46c40d02 15-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Unregister broadcast receiver

Telephony code registers a BroadcastReceiver but does not
unregister it. This is causing Broadcast Register Receivers list
to grow large enough to cause situation with excessive JNI refs.

Change-Id: I8d2531849fd2b1282aaf5c20516b043b3bf0a2fa
nternal/telephony/gsm/GsmServiceStateTracker.java
dbb088ab146d2fcb435e75e4ca70f2ff7d00d2c7 15-Aug-2012 Alex Yakavenka <ayakaven@codeaurora.org> Telephony: Fix decodeCallbackNumber for Cdma CMAS

Fix exception in decodeCallbackNumber for Cdma CMAS by
verifying expected param size.

Change-Id: I687a0ad424b6c1d73c0320b3a776cadf7e8ba180
nternal/telephony/cdma/sms/BearerData.java
bb8277c9c32f77d71dcc393b9baa19a3ffbeb0a6 15-Aug-2012 Alex Yakavenka <ayakaven@codeaurora.org> Telephony: Don't ack CB messages

SmsDispatcher receives its own broadcast to ack messages.
CB message needs to be excluded from the acking code since
it should not be acked.

Change-Id: I3f1496bb0c81a8edcc4173661e2ca75b03a9c6fb
nternal/telephony/SMSDispatcher.java
f92aefb45aa708772779a1ea10622b38f965fab5 13-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Always create IccCard

There is some bug in master branch which is not in AOSP code
that prevents KeyGuard from showing up unless IccCard broadcasts
its status

Force creation of IccCard (even if it really is absent) so that
it broadcasts its state and KeyGuard gets displayed

Fix NullPointerException in case card was removed by checking
return value of phone.getIccCard()

bug: 6983013
Change-Id: I95de1cc8a70a9e3d66d3e5d6059e82626057c5d4
nternal/telephony/IccCard.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/uicc/UiccController.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
616b281b5a644d599bcc6b4bd75545b600eff45e 13-Aug-2012 Wink Saville <wink@google.com> am 15e350db: Merge "Telephony: Signal Strength cleanup"

* commit '15e350dbdedb12c36c4432375e8c58a633b1e492':
Telephony: Signal Strength cleanup
15e350dbdedb12c36c4432375e8c58a633b1e492 13-Aug-2012 Wink Saville <wink@google.com> Merge "Telephony: Signal Strength cleanup"
59a96dd369b5c275b5e40105d71ed4c76d46f8b1 11-Aug-2012 Wink Saville <wink@google.com> am 193becaf: Merge commit \'33f24931ad25942ed8abb142df2edc2c1811350e\' into fix-merge-conflict

* commit '193becaf222c8b426f46afad87391ae3e70415c8':
Telephony: Fix npe due to mIccCard not being created
193becaf222c8b426f46afad87391ae3e70415c8 11-Aug-2012 Wink Saville <wink@google.com> Merge commit '33f24931ad25942ed8abb142df2edc2c1811350e' into fix-merge-conflict

* commit '33f24931ad25942ed8abb142df2edc2c1811350e':
Telephony: Fix npe due to mIccCard not being created
54007c8258ed3ea20c1a00c9385cf11129218efb 11-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Fix npe due to mIccCard not being created

Change-Id: I668bfb97ea7f047182fdcb92ebfec7cc4e73d2f5
nternal/telephony/gsm/GsmServiceStateTracker.java
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
nternal/telephony/DataConnectionTracker.java
nternal/telephony/IccCard.java
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccRecords.java
nternal/telephony/PhoneBase.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/uicc/UiccController.java
a13eb8b86f22b0efcfb888e2491b007d3424dddd 08-Nov-2011 Rekha Kumar <rekhak@codeaurora.org> Telephony: Check SmsTracker's mSentIntent for null

When SmsManager's sendMultipartTextMessage is invoked with null sentIntents,
the SmsTracker object is initialized with mSentIntent as null.
This causes NullPointerException.

Change-Id: I545c4a23676ba67f6a5523f15564993f001e48ca
nternal/telephony/SMSDispatcher.java
bb36adde615d3d85fa0fc23935197c6bc6a799ed 27-Jul-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Dynamically instantiate IccCard

Instantiate when get_sim_status request returns

Change-Id: I9c9333d23f1e0b23256731b245577d1a25721647
nternal/telephony/DataConnectionTracker.java
nternal/telephony/IccCard.java
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccRecords.java
nternal/telephony/PhoneBase.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/uicc/UiccController.java
b754042d27e77f6e800b2e9a16d9b3ee9f91f154 04-Aug-2012 Wink Saville <wink@google.com> Merge "Fix a logging NPE problem" into jb-mr1-dev
b89bb0f88d5e1042a5fa56b6b1dd4baeec07f58f 04-Aug-2012 Wink Saville <wink@google.com> am f7c060b9: am 99dec9eb: Merge "Telephony: Move AdnRecord.aidl into opt/telephony"

* commit 'f7c060b9ded0613109c1cec05c537c4e846fecd4':
Telephony: Move AdnRecord.aidl into opt/telephony
28af7786dc807b6647221bfd2c0edd4fdbffef3c 04-Aug-2012 Wink Saville <wink@google.com> am 073517d3: am d016bfd4: Merge "fixes buffer overflow for data"

* commit '073517d3e1529f2a6007de5c6fbed5412dcfe59e':
fixes buffer overflow for data
06e85d3327fcdd6b2a8e7b83c9f84f0ae348a12e 04-Aug-2012 Wink Saville <wink@google.com> am 8342d163: am f8f82e08: Merge "Add DORMANT state to GSM data link activity"

* commit '8342d1630c433559835563eded2dacdbf35d9db4':
Add DORMANT state to GSM data link activity
f7c060b9ded0613109c1cec05c537c4e846fecd4 04-Aug-2012 Wink Saville <wink@google.com> am 99dec9eb: Merge "Telephony: Move AdnRecord.aidl into opt/telephony"

* commit '99dec9ebdfb31432e7fdac5c42b7e7e21f29e287':
Telephony: Move AdnRecord.aidl into opt/telephony
073517d3e1529f2a6007de5c6fbed5412dcfe59e 04-Aug-2012 Wink Saville <wink@google.com> am d016bfd4: Merge "fixes buffer overflow for data"

* commit 'd016bfd42fcfc230d0104fd16fa807bfd7ceb7e6':
fixes buffer overflow for data
8342d1630c433559835563eded2dacdbf35d9db4 04-Aug-2012 Wink Saville <wink@google.com> am f8f82e08: Merge "Add DORMANT state to GSM data link activity"

* commit 'f8f82e088e109049cb888a75af0686afd118ea85':
Add DORMANT state to GSM data link activity
99dec9ebdfb31432e7fdac5c42b7e7e21f29e287 04-Aug-2012 Wink Saville <wink@google.com> Merge "Telephony: Move AdnRecord.aidl into opt/telephony"
d016bfd42fcfc230d0104fd16fa807bfd7ceb7e6 04-Aug-2012 Wink Saville <wink@google.com> Merge "fixes buffer overflow for data"
f8f82e088e109049cb888a75af0686afd118ea85 04-Aug-2012 Wink Saville <wink@google.com> Merge "Add DORMANT state to GSM data link activity"
cd4ae4aa265885ea754df9c9909d232563454187 03-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Move AdnRecord.aidl into opt/telephony

Change-Id: I827343c758dd2aac9014c4f98b247e3784606516
nternal/telephony/AdnRecord.aidl
11b9bd95ff8d436ffb5e01998870102f5a412cf9 04-Aug-2012 Robert Greenwalt <rgreenwalt@google.com> Fix a logging NPE problem

Manually ported from jb-dev due to telephony relocation.

bug:6864064
Change-Id: Ic461256654f99e8c6c13251777972cc3e799e179
nternal/telephony/cdma/CdmaServiceStateTracker.java
b3a03455be44a2a0ffbeb757b193d860c1878599 19-Jul-2012 Naveen Kalla <nkalla@codeaurora.org> Add DORMANT state to GSM data link activity

GsmDataConnectionTracker sets its activity flag to DORMANT and notifies
LinkActivity when RIL indicates that all its data calls are in
dormant state (i.e. active is set to 1 in UNSOL_DATA_CALL_LIST_CHANGED
message for all data calls)

This indication is needed so that the Android public API getDataActivity()
can return DATA_ACTIVITY_DORMANT when Android applications invoke this
API while the phone is on a WCDMA data call.

Change-Id: I81b9db36375fea4f9fb946ddd5ddf0e1d16cbbab
nternal/telephony/DataConnectionTracker.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
c1e1c4722539812750c2d22dd9cf5f8df0ed7da0 03-Aug-2012 Madan Ankapura <mankapur@sta.samsung.com> fixes buffer overflow for data

Change-Id: Ia1fc89b2fe0fc84ca540fef2783b95f8f9952d6f
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
nternal/telephony/cdma/CdmaLteUiccRecords.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
nternal/telephony/PhoneBase.java
nternal/telephony/RIL.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmServiceStateTracker.java
c62df086696fc7cb42c51e086ea2aab076cff24b 01-Aug-2012 Ajay Nambi <anambi@codeaurora.org> Telephony: Send disconnect when disposing DCTs

Send disconnect when disposing DCTs. This is invoked multiple times
during Inter-RAT (IRAT) handovers and sending disconnect to lower layers
keeps things in-sync and avoid race conditions as seen in field tests.

Change-Id: I7c0c32a0448934981f0ebbeb9ee2702b87f9b5d9
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
3965c152887e506f5b5df486185820510290363e 28-Jul-2012 Ajay Nambi <anambi@codeaurora.org> Telephony: Look for CSS indicator for voice+data

For non-LTE, use the CSS field of VOICE_REGISTRATION_STATE to determine
if the modem supports simultaneous voice+data.

Change-Id: I546c939f325a6e3b09d563e32d45412910401422
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
a6b55dcb21ebc8e781d3031ff2de74e23427abb1 26-Jul-2012 Jake Hamby <jhamby@google.com> am 324dd8d1: am b8a13d30: Implement CMAS service category program results.

* commit '324dd8d12e3c3df713e981119d8e88c6afefa962':
Implement CMAS service category program results.
067196df27214e8203369b013023887919a10aff 26-Jul-2012 Jake Hamby <jhamby@google.com> am 522ff6be: am 34661b1e: Fix detection of CDMA cell broadcast messages.

* commit '522ff6be0e89476101687c6865f98d925448c8ac':
Fix detection of CDMA cell broadcast messages.
64159c6230faabfee86bbb9597a04d202034882b 26-Jul-2012 Wink Saville <wink@google.com> am f71db0a5: am 08bf1a57: am 801aa9f3: Merge "Fix PhoneApp crash while decoding operatorNumeric to find mcc"

* commit 'f71db0a58eeec26998288ed65b0516ca1043c66a':
Fix PhoneApp crash while decoding operatorNumeric to find mcc
a2aa7a99068ce4cb7d7a72450aa05d10884ad307 26-Jul-2012 Wink Saville <wink@google.com> am 89ab794f: am 9fdeecb4: Fix build

* commit '89ab794fbe239de1cc63a02132572677133bcc18':
Fix build
d4ed2bdefb663ee7cb78c25edba4f8a70fe31c29 26-Jul-2012 John Wang <johnwang@google.com> am eca0fe06: am 1e5f46c0: Don\'t send terminal response without cmd details.

* commit 'eca0fe063adf22665ab5a83fc4e5ab11610641d0':
Don't send terminal response without cmd details.
b8a13d300b245e0080aa01275e232f54d5d0e09c 25-Jul-2012 Jake Hamby <jhamby@google.com> Implement CMAS service category program results.

Correctly handle CDMA Service Category Program Data requests,
and send the SCPT response to the message center. Parcel SCPD
operations as an ArrayList instead of an array (current version
will throw ClassCastException when the array is cast).

Bug: 6853691
Change-Id: I949ea68891c78306059248832e59a593ab606e11
nternal/telephony/SMSDispatcher.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/cdma/sms/BearerData.java
3c93767bab0040818e0f530c0d0102654a87e0c0 25-Jul-2012 Wink Saville <wink@google.com> Merge "Revise CellInfo API's"
34661b1e9381d56b168777e3f18f6f9f2ad305c1 23-Jul-2012 Jake Hamby <jhamby@google.com> Fix detection of CDMA cell broadcast messages.

The bIsServicePresent field of an incoming CDMA SMS RIL message
is not a reliable way to distinguish broadcast from point-to-point
messages on some RILs. Change CDMA SmsMessage.getMessageType() to
return MESSAGE_TYPE_BROADCAST when the service category is not 0,
and MESSAGE_TYPE_POINT_TO_POINT when the service category is 0.

Bug: 6853691
Change-Id: I0d44a8ce0bb295da5125271db90652570d655bc1
nternal/telephony/cdma/SmsMessage.java
08bf1a57eb310c99b9994ef23b944441ae33aa2b 25-Jul-2012 Wink Saville <wink@google.com> am 801aa9f3: Merge "Fix PhoneApp crash while decoding operatorNumeric to find mcc"

* commit '801aa9f327730327132aafbae7e0c55bb6e7ea71':
Fix PhoneApp crash while decoding operatorNumeric to find mcc
9fdeecb4aa06552efcc535f21718cae45cc604e2 25-Jul-2012 Wink Saville <wink@google.com> Fix build

mCurrentCmd should have been mCurrntCmd.

Change-Id: Ibd8faf0f6fec2285045f6f498730ff7882217cb1
nternal/telephony/cat/CatService.java
1e5f46c0477703b0eef40278cfa101d20b53091a 25-Jul-2012 John Wang <johnwang@google.com> Don't send terminal response without cmd details.

bug:6481578
Change-Id: I1ccd8b4599cff8df6806e39d53f86e265647bae7
nternal/telephony/cat/CatService.java
7c491bb3d140e2579c2c01edca94305701664db5 25-Jul-2012 Rekha Kumar <rekhak@codeaurora.org> Fix PhoneApp crash while decoding operatorNumeric to find mcc

Handle StringIndexOutOfBoundsException when mcc is found using
substring operation.

Bug: 6872958
Change-Id: I9e89a791e6efb3f9daacc33ac3aef05d9218af41
nternal/telephony/gsm/GsmServiceStateTracker.java
ef1d4bff9bbf7d967dbcace73f08910e14e367d0 17-Jul-2012 Wink Saville <wink@google.com> Revise CellInfo API's

Change-Id: I35bc22caf4a6a2255f2ce122690823f8d602b359
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneNotifier.java
nternal/telephony/PhoneProxy.java
nternal/telephony/RIL.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/sip/SipPhoneBase.java
a63bf4237dfc3c9b81f7d5eff57c5500b8b8215d 18-Jul-2012 Johan Redestig <johan.redestig@sonymobile.com> Plug a fd leak.

Change-Id: Ia7189e67e8a03eceaa81e13cac98f20a82a44276
nternal/telephony/gsm/VoiceMailConstants.java
62b20cd5b7ce5d7809ff1fe2b5796b2e605165e5 18-Jul-2012 Robert Greenwalt <rgreenwalt@google.com> Fix our interpretation of apn setting's bearer.

Between ICS and JB we changed it to use TelephonyManager's network type
enumeration. This changes it back to represent the RIL's radio
technology. The only diff between the two is 13 and 14 are swapped,
so the change was causing problems with LTE and eHRPD.

bug:6830908
Change-Id: I25f3e30b08ebcdf99bb70a41e01e3fbf38bf2de7
nternal/telephony/gsm/GsmDataConnectionTracker.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
nternal/telephony/ATParseEx.java
nternal/telephony/ATResponseParser.java
nternal/telephony/AdnRecord.java
nternal/telephony/AdnRecordCache.java
nternal/telephony/AdnRecordLoader.java
nternal/telephony/ApnContext.java
nternal/telephony/ApnSetting.java
nternal/telephony/BaseCommands.java
nternal/telephony/Call.java
nternal/telephony/CallForwardInfo.java
nternal/telephony/CallManager.java
nternal/telephony/CallStateException.java
nternal/telephony/CallTracker.java
nternal/telephony/CommandException.java
nternal/telephony/CommandsInterface.java
nternal/telephony/Connection.java
nternal/telephony/DataCallState.java
nternal/telephony/DataConnection.java
nternal/telephony/DataConnectionAc.java
nternal/telephony/DataConnectionTracker.java
nternal/telephony/DebugService.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/DriverCall.java
nternal/telephony/EventLogTags.logtags
nternal/telephony/IIccPhoneBook.aidl
nternal/telephony/ISms.aidl
nternal/telephony/IccCard.java
nternal/telephony/IccCardApplication.java
nternal/telephony/IccCardStatus.java
nternal/telephony/IccConstants.java
nternal/telephony/IccException.java
nternal/telephony/IccFileHandler.java
nternal/telephony/IccFileNotFound.java
nternal/telephony/IccFileTypeMismatch.java
nternal/telephony/IccIoResult.java
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccPhoneBookInterfaceManagerProxy.java
nternal/telephony/IccProvider.java
nternal/telephony/IccRecords.java
nternal/telephony/IccRefreshResponse.java
nternal/telephony/IccServiceTable.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccSmsInterfaceManagerProxy.java
nternal/telephony/IccUtils.java
nternal/telephony/IccVmFixedException.java
nternal/telephony/IccVmNotSupportedException.java
nternal/telephony/IntRangeManager.java
nternal/telephony/MccTable.java
nternal/telephony/MmiCode.java
nternal/telephony/OperatorInfo.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneNotifier.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneStateIntentReceiver.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/PhoneSubInfoProxy.java
nternal/telephony/RIL.java
nternal/telephony/RestrictedState.java
nternal/telephony/RetryManager.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/SmsAddress.java
nternal/telephony/SmsHeader.java
nternal/telephony/SmsMessageBase.java
nternal/telephony/SmsRawData.java
nternal/telephony/SmsResponse.java
nternal/telephony/SmsStorageMonitor.java
nternal/telephony/SmsUsageMonitor.java
nternal/telephony/TelephonyCapabilities.java
nternal/telephony/UUSInfo.java
nternal/telephony/WapPushManagerParams.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/WspTypeDecoder.java
nternal/telephony/cat/AppInterface.java
nternal/telephony/cat/BerTlv.java
nternal/telephony/cat/CatCmdMessage.java
nternal/telephony/cat/CatException.java
nternal/telephony/cat/CatLog.java
nternal/telephony/cat/CatResponseMessage.java
nternal/telephony/cat/CatService.java
nternal/telephony/cat/CommandDetails.java
nternal/telephony/cat/CommandParams.java
nternal/telephony/cat/CommandParamsFactory.java
nternal/telephony/cat/ComprehensionTlv.java
nternal/telephony/cat/ComprehensionTlvTag.java
nternal/telephony/cat/Duration.java
nternal/telephony/cat/FontSize.java
nternal/telephony/cat/IconLoader.java
nternal/telephony/cat/ImageDescriptor.java
nternal/telephony/cat/Input.java
nternal/telephony/cat/Item.java
nternal/telephony/cat/LaunchBrowserMode.java
nternal/telephony/cat/Menu.java
nternal/telephony/cat/PresentationType.java
nternal/telephony/cat/ResponseData.java
nternal/telephony/cat/ResultCode.java
nternal/telephony/cat/ResultException.java
nternal/telephony/cat/RilMessageDecoder.java
nternal/telephony/cat/TextAlignment.java
nternal/telephony/cat/TextAttribute.java
nternal/telephony/cat/TextColor.java
nternal/telephony/cat/TextMessage.java
nternal/telephony/cat/Tone.java
nternal/telephony/cat/ToneSettings.java
nternal/telephony/cat/ValueParser.java
nternal/telephony/cat/package.html
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CallFailCause.java
nternal/telephony/cdma/CdmaCall.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaCallWaitingNotification.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaDataConnection.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaInformationRecords.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaLteUiccFileHandler.java
nternal/telephony/cdma/CdmaLteUiccRecords.java
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
nternal/telephony/cdma/EriInfo.java
nternal/telephony/cdma/EriManager.java
nternal/telephony/cdma/RuimFileHandler.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/cdma/SignalToneUtil.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/cdma/TtyIntent.java
nternal/telephony/cdma/package.html
nternal/telephony/cdma/sms/BearerData.java
nternal/telephony/cdma/sms/CdmaSmsAddress.java
nternal/telephony/cdma/sms/CdmaSmsSubaddress.java
nternal/telephony/cdma/sms/SmsEnvelope.java
nternal/telephony/cdma/sms/UserData.java
nternal/telephony/cdma/sms/package.html
nternal/telephony/gsm/CallFailCause.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCall.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/GsmSmsAddress.java
nternal/telephony/gsm/GsmSmsCbMessage.java
nternal/telephony/gsm/SIMFileHandler.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/gsm/SimTlv.java
nternal/telephony/gsm/SmsBroadcastConfigInfo.java
nternal/telephony/gsm/SmsCbConstants.java
nternal/telephony/gsm/SmsCbHeader.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/gsm/SpnOverride.java
nternal/telephony/gsm/SuppServiceNotification.java
nternal/telephony/gsm/UsimDataDownloadHandler.java
nternal/telephony/gsm/UsimPhoneBookManager.java
nternal/telephony/gsm/UsimServiceTable.java
nternal/telephony/gsm/VoiceMailConstants.java
nternal/telephony/gsm/package.html
nternal/telephony/ims/IsimRecords.java
nternal/telephony/ims/IsimUiccRecords.java
nternal/telephony/package.html
nternal/telephony/sip/SipCallBase.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/sip/SipPhoneFactory.java
nternal/telephony/test/ModelInterpreter.java
nternal/telephony/test/SimulatedCommands.java
nternal/telephony/test/SimulatedGsmCallState.java
nternal/telephony/test/SimulatedRadioControl.java
nternal/telephony/test/package.html
nternal/telephony/uicc/UiccController.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
nternal/telephony/ATParseEx.java
nternal/telephony/ATResponseParser.java
nternal/telephony/AdnRecord.java
nternal/telephony/AdnRecordCache.java
nternal/telephony/AdnRecordLoader.java
nternal/telephony/ApnContext.java
nternal/telephony/ApnSetting.java
nternal/telephony/BaseCommands.java
nternal/telephony/Call.java
nternal/telephony/CallForwardInfo.java
nternal/telephony/CallManager.java
nternal/telephony/CallStateException.java
nternal/telephony/CallTracker.java
nternal/telephony/CommandException.java
nternal/telephony/CommandsInterface.java
nternal/telephony/Connection.java
nternal/telephony/DataCallState.java
nternal/telephony/DataConnection.java
nternal/telephony/DataConnectionAc.java
nternal/telephony/DataConnectionTracker.java
nternal/telephony/DebugService.java
nternal/telephony/DefaultPhoneNotifier.java
nternal/telephony/DriverCall.java
nternal/telephony/EventLogTags.logtags
nternal/telephony/IIccPhoneBook.aidl
nternal/telephony/ISms.aidl
nternal/telephony/IccCard.java
nternal/telephony/IccCardApplication.java
nternal/telephony/IccCardStatus.java
nternal/telephony/IccConstants.java
nternal/telephony/IccException.java
nternal/telephony/IccFileHandler.java
nternal/telephony/IccFileNotFound.java
nternal/telephony/IccFileTypeMismatch.java
nternal/telephony/IccIoResult.java
nternal/telephony/IccPhoneBookInterfaceManager.java
nternal/telephony/IccPhoneBookInterfaceManagerProxy.java
nternal/telephony/IccProvider.java
nternal/telephony/IccRecords.java
nternal/telephony/IccRefreshResponse.java
nternal/telephony/IccServiceTable.java
nternal/telephony/IccSmsInterfaceManager.java
nternal/telephony/IccSmsInterfaceManagerProxy.java
nternal/telephony/IccUtils.java
nternal/telephony/IccVmFixedException.java
nternal/telephony/IccVmNotSupportedException.java
nternal/telephony/IntRangeManager.java
nternal/telephony/MccTable.java
nternal/telephony/MmiCode.java
nternal/telephony/OperatorInfo.java
nternal/telephony/Phone.java
nternal/telephony/PhoneBase.java
nternal/telephony/PhoneFactory.java
nternal/telephony/PhoneNotifier.java
nternal/telephony/PhoneProxy.java
nternal/telephony/PhoneStateIntentReceiver.java
nternal/telephony/PhoneSubInfo.java
nternal/telephony/PhoneSubInfoProxy.java
nternal/telephony/RIL.java
nternal/telephony/RestrictedState.java
nternal/telephony/RetryManager.java
nternal/telephony/SMSDispatcher.java
nternal/telephony/ServiceStateTracker.java
nternal/telephony/SmsAddress.java
nternal/telephony/SmsHeader.java
nternal/telephony/SmsMessageBase.java
nternal/telephony/SmsRawData.java
nternal/telephony/SmsResponse.java
nternal/telephony/SmsStorageMonitor.java
nternal/telephony/SmsUsageMonitor.java
nternal/telephony/TelephonyCapabilities.java
nternal/telephony/UUSInfo.java
nternal/telephony/WapPushManagerParams.java
nternal/telephony/WapPushOverSms.java
nternal/telephony/WspTypeDecoder.java
nternal/telephony/cat/AppInterface.java
nternal/telephony/cat/BerTlv.java
nternal/telephony/cat/CatCmdMessage.java
nternal/telephony/cat/CatException.java
nternal/telephony/cat/CatLog.java
nternal/telephony/cat/CatResponseMessage.java
nternal/telephony/cat/CatService.java
nternal/telephony/cat/CommandDetails.java
nternal/telephony/cat/CommandParams.java
nternal/telephony/cat/CommandParamsFactory.java
nternal/telephony/cat/ComprehensionTlv.java
nternal/telephony/cat/ComprehensionTlvTag.java
nternal/telephony/cat/Duration.java
nternal/telephony/cat/FontSize.java
nternal/telephony/cat/IconLoader.java
nternal/telephony/cat/ImageDescriptor.java
nternal/telephony/cat/Input.java
nternal/telephony/cat/Item.java
nternal/telephony/cat/LaunchBrowserMode.java
nternal/telephony/cat/Menu.java
nternal/telephony/cat/PresentationType.java
nternal/telephony/cat/ResponseData.java
nternal/telephony/cat/ResultCode.java
nternal/telephony/cat/ResultException.java
nternal/telephony/cat/RilMessageDecoder.java
nternal/telephony/cat/TextAlignment.java
nternal/telephony/cat/TextAttribute.java
nternal/telephony/cat/TextColor.java
nternal/telephony/cat/TextMessage.java
nternal/telephony/cat/Tone.java
nternal/telephony/cat/ToneSettings.java
nternal/telephony/cat/ValueParser.java
nternal/telephony/cat/package.html
nternal/telephony/cdma/CDMALTEPhone.java
nternal/telephony/cdma/CDMAPhone.java
nternal/telephony/cdma/CallFailCause.java
nternal/telephony/cdma/CdmaCall.java
nternal/telephony/cdma/CdmaCallTracker.java
nternal/telephony/cdma/CdmaCallWaitingNotification.java
nternal/telephony/cdma/CdmaConnection.java
nternal/telephony/cdma/CdmaDataConnection.java
nternal/telephony/cdma/CdmaDataConnectionTracker.java
nternal/telephony/cdma/CdmaInformationRecords.java
nternal/telephony/cdma/CdmaLteServiceStateTracker.java
nternal/telephony/cdma/CdmaLteUiccFileHandler.java
nternal/telephony/cdma/CdmaLteUiccRecords.java
nternal/telephony/cdma/CdmaMmiCode.java
nternal/telephony/cdma/CdmaSMSDispatcher.java
nternal/telephony/cdma/CdmaServiceStateTracker.java
nternal/telephony/cdma/CdmaSubscriptionSourceManager.java
nternal/telephony/cdma/EriInfo.java
nternal/telephony/cdma/EriManager.java
nternal/telephony/cdma/RuimFileHandler.java
nternal/telephony/cdma/RuimPhoneBookInterfaceManager.java
nternal/telephony/cdma/RuimRecords.java
nternal/telephony/cdma/RuimSmsInterfaceManager.java
nternal/telephony/cdma/SignalToneUtil.java
nternal/telephony/cdma/SmsMessage.java
nternal/telephony/cdma/TtyIntent.java
nternal/telephony/cdma/package.html
nternal/telephony/cdma/sms/BearerData.java
nternal/telephony/cdma/sms/CdmaSmsAddress.java
nternal/telephony/cdma/sms/CdmaSmsSubaddress.java
nternal/telephony/cdma/sms/SmsEnvelope.java
nternal/telephony/cdma/sms/UserData.java
nternal/telephony/cdma/sms/package.html
nternal/telephony/gsm/CallFailCause.java
nternal/telephony/gsm/GSMPhone.java
nternal/telephony/gsm/GsmCall.java
nternal/telephony/gsm/GsmCallTracker.java
nternal/telephony/gsm/GsmConnection.java
nternal/telephony/gsm/GsmDataConnection.java
nternal/telephony/gsm/GsmDataConnectionTracker.java
nternal/telephony/gsm/GsmMmiCode.java
nternal/telephony/gsm/GsmSMSDispatcher.java
nternal/telephony/gsm/GsmServiceStateTracker.java
nternal/telephony/gsm/GsmSmsAddress.java
nternal/telephony/gsm/GsmSmsCbMessage.java
nternal/telephony/gsm/SIMFileHandler.java
nternal/telephony/gsm/SIMRecords.java
nternal/telephony/gsm/SimPhoneBookInterfaceManager.java
nternal/telephony/gsm/SimSmsInterfaceManager.java
nternal/telephony/gsm/SimTlv.java
nternal/telephony/gsm/SmsBroadcastConfigInfo.java
nternal/telephony/gsm/SmsCbConstants.java
nternal/telephony/gsm/SmsCbHeader.java
nternal/telephony/gsm/SmsMessage.java
nternal/telephony/gsm/SpnOverride.java
nternal/telephony/gsm/SuppServiceNotification.java
nternal/telephony/gsm/UsimDataDownloadHandler.java
nternal/telephony/gsm/UsimPhoneBookManager.java
nternal/telephony/gsm/UsimServiceTable.java
nternal/telephony/gsm/VoiceMailConstants.java
nternal/telephony/gsm/package.html
nternal/telephony/ims/IsimRecords.java
nternal/telephony/ims/IsimUiccRecords.java
nternal/telephony/package.html
nternal/telephony/sip/SipCallBase.java
nternal/telephony/sip/SipCommandInterface.java
nternal/telephony/sip/SipConnectionBase.java
nternal/telephony/sip/SipPhone.java
nternal/telephony/sip/SipPhoneBase.java
nternal/telephony/sip/SipPhoneFactory.java
nternal/telephony/test/ModelInterpreter.java
nternal/telephony/test/SimulatedCommands.java
nternal/telephony/test/SimulatedGsmCallState.java
nternal/telephony/test/SimulatedRadioControl.java
nternal/telephony/test/package.html
nternal/telephony/uicc/UiccController.java