4 years agoFix enabling of FailFast mechanism.
Robert Greenwalt [Fri, 10 Oct 2014 04:38:55 +0000]
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

4 years agoMerge "Add SubscriptionController dump." into lmp-dev
Wink Saville [Wed, 8 Oct 2014 15:32:38 +0000]
Merge "Add SubscriptionController dump." into lmp-dev

4 years agoMerge "Send SMS over 1x when on eHRPD/LTE and active voice call" into lmp-dev
Amit Mahajan [Wed, 8 Oct 2014 00:27:19 +0000]
Merge "Send SMS over 1x when on eHRPD/LTE and active voice call" into lmp-dev

4 years agoMerge "PLMN10 PWS test fails for Taiwan region certification" into lmp-dev
Amit Mahajan [Wed, 8 Oct 2014 00:24:35 +0000]
Merge "PLMN10 PWS test fails for Taiwan region certification" into lmp-dev

4 years agoPLMN10 PWS test fails for Taiwan region certification
bansalv [Fri, 12 Sep 2014 08:58:30 +0000]
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

4 years agoSend SMS over 1x when on eHRPD/LTE and active voice call
Xia Ying [Tue, 26 Aug 2014 20:08:48 +0000]
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

4 years agoMerge "Notify modem about screen on/off states more precisely." into lmp-dev
Jeff Brown [Tue, 7 Oct 2014 23:57:10 +0000]
Merge "Notify modem about screen on/off states more precisely." into lmp-dev

4 years agoAdd SubscriptionController dump.
Wink Saville [Tue, 7 Oct 2014 22:23:24 +0000]
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

4 years agoMerge "dispose uicc card if modem is not available." into lmp-dev
Junda Liu [Tue, 7 Oct 2014 17:14:34 +0000]
Merge "dispose uicc card if modem is not available." into lmp-dev

4 years agodispose uicc card if modem is not available.
Steven Liu [Thu, 11 Sep 2014 16:50:37 +0000]
dispose uicc card if modem is not available.

Bug: 17786992
Change-Id: Idd36a2afe696789340e0b6cba1d30eeadc378036

4 years agoMerge "[ADR] TS51.010-1 34.2.9.1 failed to send concatenated segments SMS to short...
Amit Mahajan [Tue, 7 Oct 2014 01:22:27 +0000]
Merge "[ADR] TS51.010-1 34.2.9.1 failed to send concatenated segments SMS to short  code" into lmp-dev

4 years agoMerge "Sms7BitEncodingTranslator" into lmp-dev
Amit Mahajan [Tue, 7 Oct 2014 01:20:40 +0000]
Merge "Sms7BitEncodingTranslator" into lmp-dev

4 years agoSms7BitEncodingTranslator
Xia Ying [Tue, 29 Jul 2014 20:33:44 +0000]
Sms7BitEncodingTranslator

Bug: 16197894
Change-Id: I389248343c4ee621a1e8980481987742623bcbe7

4 years agoMerge "Add ability to add sim-initiated MO call to UI (4/4)" into lmp-dev
Yorke Lee [Tue, 7 Oct 2014 00:55:19 +0000]
Merge "Add ability to add sim-initiated MO call to UI (4/4)" into lmp-dev

4 years ago[ADR] TS51.010-1 34.2.9.1 failed to send concatenated segments SMS to short
Xia Ying [Sat, 4 Oct 2014 20:35:40 +0000]
[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

4 years agoMerge "fix issues to set data profiles" into lmp-dev
Amit Mahajan [Mon, 6 Oct 2014 19:18:37 +0000]
Merge "fix issues to set data profiles" into lmp-dev

4 years agofix issues to set data profiles
Hui Wang [Wed, 1 Oct 2014 15:31:18 +0000]
fix issues to set data profiles

Bug: 17781567
Change-Id: I62fbe1179c3d71f50b50c70f493e0f86c66c2991

4 years agoAdd ability to add sim-initiated MO call to UI (4/4)
Yorke Lee [Sat, 4 Oct 2014 00:37:40 +0000]
Add ability to add sim-initiated MO call to UI (4/4)

Pass in connection when calling notifyUnknownConnection

Bug: 16852844
Change-Id: I52a0eb7ab8bc767db34ccee4d55a2c7b6bd363f5

4 years agoMerge "Merge similar APNs together when loading All Apns." into lmp-dev
Robert Greenwalt [Mon, 6 Oct 2014 16:20:25 +0000]
Merge "Merge similar APNs together when loading All Apns." into lmp-dev

4 years agoNotify modem about screen on/off states more precisely.
Jeff Brown [Fri, 3 Oct 2014 20:03:02 +0000]
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

4 years agoOptimize CDMA RATs TCP buffer sizes
Gordon Gao [Thu, 2 Oct 2014 21:21:42 +0000]
Optimize CDMA RATs TCP buffer sizes

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

Bug: 17786212
Change-Id: I31633829576ced088d2bcf563205bbe216c648dd

4 years agoMerge similar APNs together when loading All Apns.
Robert Greenwalt [Fri, 3 Oct 2014 03:43:46 +0000]
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

4 years agoMerge "Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE" into lmp-dev
Amit Mahajan [Thu, 2 Oct 2014 16:47:31 +0000]
Merge "Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE" into lmp-dev

4 years agoSend SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE
Chaitanya Saggurthi [Tue, 24 Sep 2013 10:43:14 +0000]
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

4 years agoMerge "Fix for CMAS is not turned on" into lmp-dev
xinhe [Wed, 1 Oct 2014 22:10:37 +0000]
Merge "Fix for CMAS is not turned on" into lmp-dev

4 years agoMerge "Treat SIGNAL_LOST error in dataCallResponse as permanent failure." into lmp-dev
Amit Mahajan [Wed, 1 Oct 2014 21:54:03 +0000]
Merge "Treat SIGNAL_LOST error in dataCallResponse as permanent failure." into lmp-dev

4 years agoMerge "Roaming blacklist" into lmp-dev
Amit Mahajan [Wed, 1 Oct 2014 00:44:20 +0000]
Merge "Roaming blacklist" into lmp-dev

4 years agoSTK: fixing to send intent when card status changed
duho.ro [Thu, 18 Sep 2014 22:52:55 +0000]
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

4 years agoFix for CMAS is not turned on
xinhe [Tue, 30 Sep 2014 22:05:05 +0000]
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

4 years agoMerge "Change to update SPN based on spn-conf.xml." into lmp-dev
Amit Mahajan [Tue, 30 Sep 2014 22:47:15 +0000]
Merge "Change to update SPN based on spn-conf.xml." into lmp-dev

4 years agoChange to update SPN based on spn-conf.xml.
Amit Mahajan [Tue, 30 Sep 2014 22:29:58 +0000]
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

4 years agoMerge "Support bearer-specific DUN APN on CDMA" into lmp-dev
Robert Greenwalt [Tue, 30 Sep 2014 22:44:26 +0000]
Merge "Support bearer-specific DUN APN on CDMA" into lmp-dev

4 years agoRoaming blacklist
w19976 [Fri, 26 Sep 2014 20:43:45 +0000]
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

4 years agoMerge "Fixes: SIM records loaded not firing on refresh reset." into lmp-dev
Junda Liu [Mon, 29 Sep 2014 22:48:55 +0000]
Merge "Fixes: SIM records loaded not firing on refresh reset." into lmp-dev

4 years agoMerge "Update mRecordsRequested on sending request instead of onLocked." into lmp-dev
Amit Mahajan [Mon, 29 Sep 2014 22:42:03 +0000]
Merge "Update mRecordsRequested on sending request instead of onLocked." into lmp-dev

4 years agoMerge "Create and track different Handler instances for each Phone." into lmp-dev
Anthony Lee [Mon, 29 Sep 2014 21:53:17 +0000]
Merge "Create and track different Handler instances for each Phone." into lmp-dev

4 years agoFixes: SIM records loaded not firing on refresh reset.
Shishir Agrawal [Thu, 25 Sep 2014 17:12:13 +0000]
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

4 years agoredirect RIL_UNSOL_OEM_HOOK_RAW to system app
New Author Steven Liu [Thu, 11 Sep 2014 15:27:55 +0000]
redirect RIL_UNSOL_OEM_HOOK_RAW to system app

add notifyOemHookRawEvent

Bug: 17298769
Change-Id: Iaea054d3cc2925eea1e11f8871faabc7bc9dfb2d

4 years agoCreate and track different Handler instances for each Phone.
Anthony Lee [Mon, 29 Sep 2014 17:19:31 +0000]
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

4 years agoTreat SIGNAL_LOST error in dataCallResponse as permanent failure.
Amit Mahajan [Mon, 29 Sep 2014 17:36:33 +0000]
Treat SIGNAL_LOST error in dataCallResponse as permanent failure.

Bug: 17632875
Change-Id: Ic2dfcf27039206f9eb4ed29b0a035920b14e2890

4 years agoUpdate mRecordsRequested on sending request instead of onLocked.
Amit Mahajan [Mon, 29 Sep 2014 17:20:27 +0000]
Update mRecordsRequested on sending request instead of onLocked.

Bug: 17668819
Change-Id: Ib982149c665258dba8fbb4b58a35449b40529913

4 years agoMerge "Move mobile provisioning APN support into telephony and rework." into lmp-dev
Paul Jensen [Mon, 29 Sep 2014 11:42:59 +0000]
Merge "Move mobile provisioning APN support into telephony and rework." into lmp-dev

4 years agoMerge "Notify registrant (phone) of Icc event on registration." into lmp-dev
Amit Mahajan [Sat, 27 Sep 2014 00:55:45 +0000]
Merge "Notify registrant (phone) of Icc event on registration." into lmp-dev

4 years agoNotify registrant (phone) of Icc event on registration.
Amit Mahajan [Fri, 26 Sep 2014 23:45:09 +0000]
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

4 years agoHandling service number convert while roaming.
Xia Ying [Mon, 22 Sep 2014 20:59:46 +0000]
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

4 years agoMerge "Change to show correct number of unheard voicemail in notification." into...
Amit Mahajan [Fri, 26 Sep 2014 22:42:02 +0000]
Merge "Change to show correct number of unheard voicemail in notification." into lmp-dev

4 years agoMerge "Bubble up CARD_IO_ERROR" into lmp-dev
Amit Mahajan [Fri, 26 Sep 2014 22:41:16 +0000]
Merge "Bubble up CARD_IO_ERROR" into lmp-dev

4 years agoBubble up CARD_IO_ERROR
Amit Mahajan [Thu, 25 Sep 2014 19:51:01 +0000]
Bubble up CARD_IO_ERROR

Bug: 16871406
Change-Id: I57d84640a03fc084b3c375b6ce76a12ef9387882

4 years agoChange to show correct number of unheard voicemail in notification.
Amit Mahajan [Fri, 26 Sep 2014 21:53:54 +0000]
Change to show correct number of unheard voicemail in notification.

Bug: 17299884
Change-Id: Ie26a61cbfc2254f95686b8031a0988b9cd58609d

4 years agoSupport bearer-specific DUN APN on CDMA
Robert Greenwalt [Mon, 22 Sep 2014 20:55:17 +0000]
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

4 years agoMove mobile provisioning APN support into telephony and rework.
Paul Jensen [Wed, 17 Sep 2014 17:49:13 +0000]
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

4 years agoThe countries HU and HR both have an obvious default language.
Elliott Hughes [Thu, 25 Sep 2014 17:41:19 +0000]
The countries HU and HR both have an obvious default language.

Bug: 17614834
Bug: 17633631
Change-Id: Iecd82e28299548aaf197c8b6a28fb47b1a225bf8

4 years agoHide carrier app intents in Telephony (2/2)
Ye Wen [Tue, 23 Sep 2014 17:25:58 +0000]
Hide carrier app intents in Telephony (2/2)

b/17608135

Change-Id: I312fc65477323e88972156e909e5a241056233a7

4 years agoMerge "Change type name of mobile from "Cellular" to "MOBILE"." into lmp-dev
Sreeram Ramachandran [Thu, 25 Sep 2014 15:07:54 +0000]
Merge "Change type name of mobile from "Cellular" to "MOBILE"." into lmp-dev

4 years agoMerge "Fix the locale matching logic in MccTable." into lmp-dev
Elliott Hughes [Thu, 25 Sep 2014 15:03:28 +0000]
Merge "Fix the locale matching logic in MccTable." into lmp-dev

4 years agoChange type name of mobile from "Cellular" to "MOBILE".
Sreeram Ramachandran [Thu, 25 Sep 2014 03:05:15 +0000]
Change type name of mobile from "Cellular" to "MOBILE".

Bug: 17609932
Change-Id: I22331426e04a5b45e73f9e768b7d88c1d4282c78

4 years agoMerge "add capability to initialize default locale from USIM EF_LI or EF_PL." into...
Amit Mahajan [Thu, 25 Sep 2014 00:26:55 +0000]
Merge "add capability to initialize default locale from USIM EF_LI or EF_PL." into lmp-dev

4 years agoTrigger phone switch based on config
Sukanya Rajkhowa [Mon, 15 Sep 2014 23:03:43 +0000]
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

4 years agoFix the locale matching logic in MccTable.
Elliott Hughes [Wed, 24 Sep 2014 22:10:36 +0000]
Fix the locale matching logic in MccTable.

Bug: 17614129
Change-Id: I4a058b252f9da9173e6bb248e212863e1fe6496f

4 years agoadd capability to initialize default locale from USIM EF_LI or EF_PL.
nfjb73 [Thu, 11 Apr 2013 18:34:25 +0000]
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

4 years agoMerge "Postpone otasp_not_neeeded until SIM_LOADED." into lmp-dev
Junda Liu [Wed, 24 Sep 2014 17:58:32 +0000]
Merge "Postpone otasp_not_neeeded until SIM_LOADED." into lmp-dev

4 years agoPostpone otasp_not_neeeded until SIM_LOADED.
Junda Liu [Wed, 24 Sep 2014 17:53:52 +0000]
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

4 years agoMerge "Reset OTASP state during initialization" into lmp-dev
Russell Brenner [Wed, 24 Sep 2014 00:43:07 +0000]
Merge "Reset OTASP state during initialization" into lmp-dev

4 years agoReset OTASP state during initialization
Russell Brenner [Tue, 23 Sep 2014 21:22:07 +0000]
Reset OTASP state during initialization

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

Bug: 17572929
Change-Id: I7a4274722c95036fc590a33201eadbf2ccd1880c

4 years agoMerge "Filter Settings-based DUN apn by bearer." into lmp-dev
Robert Greenwalt [Tue, 23 Sep 2014 20:59:10 +0000]
Merge "Filter Settings-based DUN apn by bearer." into lmp-dev

4 years agoUse overlay to determine phone type when Voice RAT is UNKNOWN.
Etan Cohen [Sat, 20 Sep 2014 01:02:27 +0000]
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

4 years agoMerge "Fixed missing size of incoming MMS messages" into lmp-dev
Matthew Xie [Tue, 23 Sep 2014 00:54:23 +0000]
Merge "Fixed missing size of incoming MMS messages" into lmp-dev

4 years agoMerge "Take care of invalid mcc first when updating time based on nitz." into lmp-dev
Amit Mahajan [Tue, 23 Sep 2014 00:17:34 +0000]
Merge "Take care of invalid mcc first when updating time based on nitz." into lmp-dev

4 years agoMerge "Don't disconnect data for some carrier" into lmp-dev
Amit Mahajan [Tue, 23 Sep 2014 00:15:36 +0000]
Merge "Don't disconnect data for some carrier" into lmp-dev

4 years agoMerge "Fix for empty RSSI triangle after boot" into lmp-dev
xinhe [Tue, 23 Sep 2014 00:13:38 +0000]
Merge "Fix for empty RSSI triangle after boot" into lmp-dev

4 years agoTake care of invalid mcc first when updating time based on nitz.
Jing Zhao [Tue, 9 Sep 2014 21:18:50 +0000]
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

4 years agoFilter Settings-based DUN apn by bearer.
Robert Greenwalt [Mon, 22 Sep 2014 23:45:37 +0000]
Filter Settings-based DUN apn by bearer.

bug:17330745
Change-Id: Icae2cbc6db10c9cebc20f445ca0d71ea4ed6be77

4 years agoDon't disconnect data for some carrier
Jing Zhao [Wed, 6 Aug 2014 21:41:11 +0000]
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

4 years agoFixed missing size of incoming MMS messages
kschulz [Thu, 28 Aug 2014 11:58:38 +0000]
Fixed missing size of incoming MMS messages

The message size was set to 0 for incoming mms messages.
This makes some BT MAP clients behave faulty when fething
a list of messags from the device.

BUG: 17389452, 17311194
Change-Id: I89b2f2cf5e2dbbc389edb2275ad21a0174a3115e

4 years agoMerge "Don't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore" into...
Yorke Lee [Sun, 21 Sep 2014 20:30:03 +0000]
Merge "Don't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore" into lmp-dev

4 years agoControl radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable
Hui Wang [Fri, 19 Sep 2014 21:36:52 +0000]
Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

Bug: 17567651, 16308209
Change-Id: I6bb1519a795dcb7e99a94d366afdfaec21c43d84

4 years agoMerge "Telephony: default subId updating on single slot device" into lmp-dev
Vineeta Srivastava [Fri, 19 Sep 2014 22:55:12 +0000]
Merge "Telephony: default subId updating on single slot device" into lmp-dev

4 years agoTelephony: default subId updating on single slot device
duho.ro [Fri, 19 Sep 2014 01:39:34 +0000]
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

4 years agoFix for empty RSSI triangle after boot
xinhe [Fri, 19 Sep 2014 01:12:26 +0000]
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

4 years agoHandling service number convert while roaming.
w19976 [Fri, 12 Sep 2014 22:50:34 +0000]
Handling service number convert while roaming.

Bug: 17202092
Change-Id: I57221b314cd9136a19216119911e3342d42cdfde

4 years agoDon't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore
Yorke Lee [Fri, 19 Sep 2014 01:07:59 +0000]
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

4 years agoMerge "Fix voice mail number to modify for some carrier card." into lmp-dev
Amit Mahajan [Fri, 19 Sep 2014 01:07:28 +0000]
Merge "Fix voice mail number to modify for some carrier card." into lmp-dev

4 years agoFix voice mail number to modify for some carrier card.
giseok.seo [Wed, 7 May 2014 03:19:24 +0000]
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

4 years agoMerge "telephony : Support for voicemail in TP-UDH of SMS" into lmp-dev
Amit Mahajan [Thu, 18 Sep 2014 23:28:03 +0000]
Merge "telephony : Support for voicemail in TP-UDH of SMS" into lmp-dev

4 years agotelephony : Support for voicemail in TP-UDH of SMS
Uma Maheswari Ramalingam [Tue, 10 Jul 2012 21:41:48 +0000]
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

4 years agoAdd new error result code for mms config loading failure (2/2)
Ye Wen [Thu, 18 Sep 2014 18:41:18 +0000]
Add new error result code for mms config loading failure (2/2)

b/17556258

Change-Id: Ie1d65f03efa5fdd38378e0223f387713bf14c855

4 years agoMerge "Change to timeout if cell_info_list is not received from modem for 5s." into...
Amit Mahajan [Thu, 18 Sep 2014 00:38:46 +0000]
Merge "Change to timeout if cell_info_list is not received from modem for 5s." into lmp-dev

4 years agoMerge "Fix null IMSI in CDMALTEPhone on bootup." into lmp-dev
Shishir Agrawal [Thu, 18 Sep 2014 00:03:45 +0000]
Merge "Fix null IMSI in CDMALTEPhone on bootup." into lmp-dev

4 years agoChange to timeout if cell_info_list is not received from modem for 5s.
Amit Mahajan [Wed, 17 Sep 2014 23:57:17 +0000]
Change to timeout if cell_info_list is not received from modem for 5s.

Bug: 17348559
Change-Id: I94c4a14ea6e88330082e79a7ba633ac7b18a1a2e

4 years agoFix null IMSI in CDMALTEPhone on bootup.
Shishir Agrawal [Wed, 17 Sep 2014 18:39:21 +0000]
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

4 years agoHandle unprovisioned ruim and update otasp as needed.
Junda Liu [Tue, 16 Sep 2014 19:22:37 +0000]
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

4 years agoMerge "PT:VZW:CV MMS not able to be sent with messenger app" into lmp-dev
Tom Taylor [Tue, 16 Sep 2014 17:24:23 +0000]
Merge "PT:VZW:CV MMS not able to be sent with messenger app" into lmp-dev

4 years agoMerge "IsimUiccRecords: Do not set radio power off if not required on REFRESH reset...
Shishir Agrawal [Mon, 15 Sep 2014 23:35:39 +0000]
Merge "IsimUiccRecords: Do not set radio power off if not required on REFRESH reset." into lmp-dev

4 years agoIsimUiccRecords: Do not set radio power off if not required on REFRESH reset.
Shishir Agrawal [Mon, 15 Sep 2014 22:41:07 +0000]
IsimUiccRecords: Do not set radio power off if not required on REFRESH reset.

Bug: 17154939
Change-Id: Ied4709ea8b61a8402211d11bb582feb830ab61d9

4 years agoUse VOLTE Replacement RAT from config if defined
Sukanya Rajkhowa [Thu, 11 Sep 2014 00:28:18 +0000]
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

4 years agoPT:VZW:CV MMS not able to be sent with messenger app
Tom Taylor [Mon, 15 Sep 2014 20:58:49 +0000]
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

4 years agoRenaming Telecomm to Telecom.
Tyler Gunn [Wed, 10 Sep 2014 22:19:34 +0000]
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

4 years agoIMS USSD Routing Over CS Pipe
Uma Maheswari Ramalingam [Fri, 12 Sep 2014 01:06:52 +0000]
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

4 years agoIMS: release the imsphoneconnection wakelock when handover occurs from volte to cs.
Libin.Tang@motorola.com [Fri, 12 Sep 2014 17:35:13 +0000]
IMS: release the imsphoneconnection wakelock when handover occurs from volte to cs.

Bug: 17469563
Change-Id: I3652de773da0398cb9d7455d0c82e6c9504171af

4 years agoMerge "Send and download MMS via content provider instead of PDU bytes." into lmp-dev
Cheuksan Wang [Fri, 12 Sep 2014 17:07:37 +0000]
Merge "Send and download MMS via content provider instead of PDU bytes." into lmp-dev