aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-7.1.2_r2' into cm-14.1staging/cm-14.1_android-7.1.2_r2Simon Shields2017-04-0441-369/+1629
|\ | | | | | | | | | | Android 7.1.2 Release 2 (N2G47E) Change-Id: Ic4e01f328b050179df40b25940ea48d8f63c1b03
| * Don't dial non-emergency CS voice call in airplane modeMeng Wang2017-02-162-0/+9
| | | | | | | | | | | | | | | | Added a new CallStateException error code ERROR_POWER_OFF Bug: 28709116 Change-Id: Ia63196d5e8c051a91da3e2a7e60ac605dccf8344 (cherry picked from commit 16ebf27f93b3c8c5aaf4aa6a169a63a2dae5f436)
| * Merge "Handle OPERATOR_DETERMINED_BARRING failure." into nyc-mr2-devTreeHugger Robot2017-02-152-0/+2
| |\
| | * Handle OPERATOR_DETERMINED_BARRING failure.Youhan Wang2017-02-142-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added CALL_FAIL_OPERATOR_DETERMINED_BARRING to CallFailCause. 2. Handle Mapping logic to regard CALL_FAIL_OPERATOR_DETERMINED_BARRING as same as CALL_BARRED. Bug:35184262 Change-Id: Iae68b94abfd3ec5800a50218623d092c743cc267
| * | Prevent phone process crashing on bad params to TelephonyTesterErik Wolsheimer2017-02-141-18/+24
| |\ \ | | |/ | |/| | | | | | | | | | am: e465c97904 Change-Id: I1ab377af76f41e187719081ff0829790d279e490
| | * Prevent phone process crashing on bad params to TelephonyTesterErik Wolsheimer2017-02-091-18/+24
| | | | | | | | | | | | | | | BUG: 35128562 Change-Id: I4231b2507cd6e2e98be53a5409f98417964648d3
| * | [DO NOT MERGE] Best-Effort Load of Potentially-Large SIM RecordsNathan Harold2017-02-031-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because we have at least one SIM in the field that has a massive OPLMNw/ACT Record of 700 entries (3.5kB), some messaging pipelines cannot handle these record sizes and the errors are preventing the SIM load procedure from being completed. To work around this, because these records are informational, they will now load as part of SIM refresh, but that procedure will be best-effort. Bug: 34095124 Test: Manually verified with TMO and CT SIMs Change-Id: I87eb84386a7e8094f3a0493f01ee8dc928864dc2 (cherry picked from commit f15ee16d1f9c325346a002a44b793a2a914ead9e)
| * | Properly route the SET_CALL_FORWARD_DONE messageHall Liu2017-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In ImsPhone, the message indicating that call forwarding was set was being directed straight to ImsPhoneMmiCode instead of routing through the handler in ImsPhone, which caused the call forwarding notification to never get set. This sends the proper message to ImsPhone first, which will put up the call forwarding notification. Change-Id: I5d06a0bad6e2bf368817ec623905f4a16e06d358 Fix: 34185152 Test: manual (to test on US carriers, force useImsForUt in GsmCdmaPhone)
| * | fix multi-part sms issuefionaxu2017-01-2710-44/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - sending multi-part SMS via Email was broken in NYC since we are using display originating address to group multi-part messages. - In a common case, only the fist SMS comes with the right email displaying address, thus fails to group sms together. - Fix is keep using originating_address to aggregate Multi-part SMS and introduce a new column: display_address in the raw table to check blocking addresses for both phone number and email address Bug: 34118154 Test: Manual & telephony unit tests Change-Id: Iaf8d1692f5e12b155578acd646cc244035dde774 Merged-In: CHANGE-ID Ibd902e5ccbad34c0e1e97d7c699258dc4d2c867a
| * | DO NOT MERGE: Collect telephony metrics for CS Calls.Naveen Kalla2017-01-206-41/+187
| | | | | | | | | | | | | | | | | | | | | Log Dial, Hangup and CS Call state changes in telephony. Bug: 32885463 Change-Id: I0191f30a691bb0496600cba608387b06e7b3d6dd
| * | DO NOT MERGE Fix : Reconnection not triggered when APN changedWei Huang2017-01-192-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When APN is changed, connections whose ApnSetting change will be cleaned up. However, as ApnSetting#equals doesn't check mmsPort, username and password, connection will not be cleaned up even if user changes them. To fix the issue, add logic to check them and also introduced test case to prevent same failure in the future. Bug: 30207789 31172711 Test: Telephony unit test Change-Id: I4ac75ebac1755a42c4e88da60b059874ea9f693c (cherry picked from commit dae587b5bb307972b71baa760799948219e3081b)
| * | Merge "Use video pause signaling when data limit reached." into nyc-mr2-devTyler Gunn2016-12-222-5/+107
| |\ \
| | * | Use video pause signaling when data limit reached.Tyler Gunn2016-12-212-5/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the data limit is reached and video is disabled, use the "pause" video signaling instead of disconnecting the call. Previously, ImsManager#updateImsServiceConfig would be called when data was disabled due to hitting the data limit. This would cause VT to be unprovisioned; as a result it was not possible pause or unpause the video. To solve this, when the data limit is reached and we're about to pause, we are now deferring the updateImsServiceConfig until the call terminates. Test: manual Bug: 30760683 Change-Id: Ia1d4247cb5a11da7694e9d197a506442c7f675f4
| * | | Merge "Adds logic to display UI if call forwarding is not enabled on 3gpp" ↵Brad Ebinger2016-12-192-1/+24
| |\ \ \ | | | | | | | | | | | | | | | into nyc-mr2-dev
| | * | | Adds logic to display UI if call forwarding is not enabled on 3gppBrad Ebinger2016-12-162-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If call forwarding is configured to not be allowed while roaming on a 3gpp network by a carrier, we will now display descriptive UI to the user indicating the problem if an MMI code fails. Test: Manual Bug: 30106345 Merged-In: I9626dea3546518bb81ea0ef9af647e37f6f2165d Change-Id: I9626dea3546518bb81ea0ef9af647e37f6f2165d
| * | | | Merge "Notify user when user fails to connect to the network." into nyc-mr2-devPankaj Kanwar2016-12-172-0/+242
| |\ \ \ \
| | * | | | Notify user when user fails to connect to the network.pkanwar2016-12-162-0/+242
| | | |/ / | | |/| | | | | | | | | | | | | | | | | Bug: 28572539 Change-Id: I3e7591c6210b7ab20b46a8d41b1ebdf13c411ecc
| * | | | DcTracker will use dun APN from database if carrier allows it.Junda Liu2016-12-161-28/+52
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If carrier config KEY_EDITABLE_TETHER_APN_BOOL is true, fetchDunApn will use APN with dun type in the database. The order to look for tether APN is: tether_dun_apn setting, database if config is true, config_tether_apndata resource. Bug: b/30622475 Change-Id: I4f69c9f73b83ec6678f302e0b8dc151df36b0a07
| * | | DO NOT MERGE If set data profile with roaming protocol, set back to home ↵Junda Liu2016-12-141-11/+27
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when roaming off. Data profile will be updated in O to support both home and roaming protocol. This is a MR2 only fix to minimize behavior change and fix data error when device move from roaming to home without airplane mode or power cycle. The sequence of events can be tricky, eg. set data profile may be called before device registers on network and will set home protocol even device is indeed roaming. It is intentional this behavior is unchanged. Same for not set roaming protocol in onRoamingOn. Test: manual, https://paste.googleplex.com/4566715396521984 Bug: b/32240817 Change-Id: I70598bb14c7cb499552b1b725cf5b464f8ec3b2c
| * | Merge "Hook the Phone.isUtEnabled() Function to ImsPhone.isUtEnabled()" into ↵Youhan Wang2016-12-091-0/+3
| |\ \ | | | | | | | | | | | | nyc-mr2-dev
| | * | Hook the Phone.isUtEnabled() Function to ImsPhone.isUtEnabled()Nathan Harold2016-12-061-0/+3
| | | | | | | | | | | | | | | | | | | | Bug: 32874442 Change-Id: Icb6cd44a3673b31e1579c6e39dab1264856c9ef1
| * | | Merge changes from topic 'dump-sim-plmn-records' into nyc-mr2-devNathan Harold2016-12-099-85/+532
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add PLMN Selection Info to SIM Records Add meaningful error strings to IccIoResult Cleanup of IccConstants and SIMRecords Constants
| | * | | Add PLMN Selection Info to SIM RecordsNathan Harold2016-12-057-1/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull new paramters from SIMs and add them to SIMRecords dumpsys for debugging purposes. -Add OPLMNw/ACT -Add HPLMNw/ACT -Add FPLMN -Add PLMNw/ACT Bug: 32277497 Test: none Change-Id: I28bd67e3667d5c6ba1046c43f24d8e02ce7b8313
| | * | | Add meaningful error strings to IccIoResultNathan Harold2016-12-051-2/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 32641276 Test: none Change-Id: I8c3e9068f7ece1fb90b73da556add060c9484f28
| | * | | Cleanup of IccConstants and SIMRecords ConstantsNathan Harold2016-12-054-82/+65
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Fix formatting of IccConstants -Remove Base implementation for setMsisdnNumber() -Organize SIMRecord Message events by category Bug: 32277497 Test: none Change-Id: I929ed70b562dc19dfc95f2f69454d5876f97cff4 (cherry picked from commit d6a0c111d4737b4bd233ae6d2efcbc0a0cd1d755)
| * | | DO NOT MERGE ANYWHERE Fix UE initiated detach Abnormal case am: fb041b51b2 ↵Chris Elliott2016-12-070-0/+0
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | | | | | | | -s ours am: 2c4afffc9a -s ours am: 41a51a9cde -s ours am: df9727cc7b -s ours am: f499611b2f -s ours am: a2db360ce7 -s ours Change-Id: I2869041cd4ecac3a31e538e9b59225eacd2c2213
| | * DO NOT MERGE ANYWHERE Fix UE initiated detach Abnormal case am: fb041b51b2 ↵Chris Elliott2016-12-070-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours am: 2c4afffc9a -s ours am: 41a51a9cde -s ours am: df9727cc7b -s ours am: f499611b2f -s ours Change-Id: I7dce34630a5621b6f4e033bdc3b8df89b92d266b
| | | * DO NOT MERGE ANYWHERE Fix UE initiated detach Abnormal case am: fb041b51b2 ↵Chris Elliott2016-12-070-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours am: 2c4afffc9a -s ours am: 41a51a9cde -s ours am: df9727cc7b -s ours Change-Id: I7a6e18013fb5af2dacc2046efa66835191533100
| | | | * DO NOT MERGE ANYWHERE Fix UE initiated detach Abnormal case am: fb041b51b2 ↵Chris Elliott2016-12-070-0/+0
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours am: 2c4afffc9a -s ours am: 41a51a9cde -s ours Change-Id: If58d4b9810b44e8bd3e1696f7aeb2e76b169a632
| | | | | * DO NOT MERGE ANYWHERE Fix UE initiated detach Abnormal case am: fb041b51b2 ↵Chris Elliott2016-12-070-0/+0
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours am: 2c4afffc9a -s ours Change-Id: Ie7c74a9cf501934e2e588239a0655b5431951af9
| | | | | | * DO NOT MERGE ANYWHERE Fix UE initiated detach Abnormal caseChris Elliott2016-12-070-0/+0
| | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: fb041b51b2 -s ours Change-Id: I10abffa645cd5343c98b4cb47fd91cdd9aa97782
| | | | | | | * DO NOT MERGE ANYWHERE Fix UE initiated detach Abnormal caseChris Elliott2016-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG=31487061 DCSwitch-state machine will not transition to AttachingState from AttachedState on receiving EVENT_DATA_DETACHED. Fix is provided by Qualcomm and has been extensively reviewed. Refer to the bug for additional details. Change-Id: Ie8e5948c390c7e68b4c39cfa3c821af95deb157e
| * | | | | | | Fixed that MMS incorrectly treated as metered data traffic.Jack Yu2016-12-022-61/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The metered APN types cache was built before carrier config is ready. Get rid of the cache because it doesn't buy us too much in terms of performance as carrier config already has its own cache. This will ensure we load the up to date configuration when we bring up the data call. Test: Manually sent mms on Vzw network. bug: 31233558 Change-Id: Id0c243a7a92bd6ab3e7a46053e173bf727041015
| * | | | | | | Merge "Re-evaluate Otasp state when reenable metered APNs" into nyc-mr2-devChen Xu2016-11-241-0/+4
| |\ \ \ \ \ \ \
| | * | | | | | | Re-evaluate Otasp state when reenable metered APNsfionaxu2016-11-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - when carrier action is set to re-enable metered APNs, framework should unset unprovisoned otasp state. trigger re-evaluation and notify all registrants instead. Bug: 32956839 Test: Telephony Unit Tests Change-Id: Id370b84e0abe72356d16096253e481280e76e1b4
| * | | | | | | | Add more logging to debug when radio power is turned off/on.Sanket Padawe2016-11-222-2/+14
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 32592409 Change-Id: Ie049143129ce13bc96ce4211509a605d2d24cd05
| * | | | | | | Added configuration for VT downgrade/tear down when data disabledJack Yu2016-11-171-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new flag that allows carriers to ignore data disabled (e.g. data reaches limit or user disables data) so VT calls will not be downgraded/torn down and VT service will not be disabled. bug: 32880745 Merged-In: I8852d1f636d7cc73802119666b902b7df6a39e72 Change-Id: I977f1aa511c59f32446b4a76de3c6da54500adc1
| * | | | | | | Merge "Retry data call on low priority APNs when high priority APN is ↵TreeHugger Robot2016-11-171-0/+10
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled." into nyc-mr2-dev
| | * | | | | | | Retry data call on low priority APNs when high priority APN is disabled.Naveen Kalla2016-11-161-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When only single data call is allowed, when higher priority APN is disabled, retry data call on lower priority connectable APNs Bug: 32814839 Test: Manual change network modes between LTE/CDMA/UMTS, CDMA only, CDMA (auto), CDMA (only) and LTE/CDMA/UMTS. And ensure that we can browse internet in all modes. Change-Id: If52a3ae3c1ca86c19c90e2bf1ad1b36458f47060
| * | | | | | | | Merge "Add method to check for ongoing video call or conference call." into ↵Tyler Gunn2016-11-161-11/+30
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nyc-mr2-dev
| | * | | | | | | | Add method to check for ongoing video call or conference call.Tyler Gunn2016-11-151-11/+30
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the isVideoCallPresent method on Phone (which is used only in the accessibility settings screen) with a version that determines if there are any ongoing video calls, downgraded video calls, or conference calls. Test: Manual testing. Bug: 28512893 Change-Id: If8b5db80aa0147234f6c4c0a8adf85f4643a2680
| * | | | | | | | Merge "Only get WiFi status based on RAT extras" into nyc-mr2-devBrad Ebinger2016-11-163-51/+1
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Only get WiFi status based on RAT extrasBrad Ebinger2016-11-153-51/+1
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to set the WiFi Connection property based on the the provisioning status of the phone until the RAT extra was set from the modem. This is an obsolete method of determining whether or not to set the WiFi property and was causing some calls to be improperly marked as WiFi. Test: Manual Testing Bug: 30964593 Change-Id: I9922ff17ffb704a09e9b2cebeb147a7463b9898b
| * / / / / / / / Add CellInfo to ServiceStateTracker's dumpNathan Harold2016-11-091-0/+17
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will print out the result of the most recent call to getAllCellInfo(). Bug: 32639866 Test: none Change-Id: I092d98de5f812f016ab7b4cba781f80dfe7da086 (cherry picked from commit 5a97f106d24a1eeafe4bbe422dfbbb9afc27b2c4)
| * | | | | | | Use preferred APN for IA if it'll work.Robert Greenwalt2016-10-273-7/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old behavior would prefer the first IA APN over the preferred APN even if the preferred APN listed IA. Crazy! Reworked ApnSetting.canHandleType to incorporate the "wildcard (*) doesn't work for IA - that has to be explicitly listed" idea and added tests for the function. Test: added ApnSettingTest.testCanHandleType unit test bug:31949444 Change-Id: I7d72dcbb3e068c2defcf4cfbc0c2a5a0f69f26b8
| * | | | | | | Launch the default SMS app for notification action. am: 12f0619383Ji Yang2016-10-262-3/+35
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d67fb40331 Change-Id: I72ae0977951c8d66c1d5098283f971f5cf8310a1
| | * | | | | | Launch the default SMS app for notification action.Ji Yang2016-10-262-3/+35
| |/| | | | | | | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 12f0619383 Change-Id: I00bcbe44adc1904acbab632b10b3db1216a8246b
| * | | | | | Update the proto and service state logging.Jack Yu2016-10-223-2/+25
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d009ecff13 Change-Id: I6a908bf180d46d34c50b802faace7c5b7440060a
| * \ \ \ \ \ \ Remove additional logic around broadcasting emergency call state changesAmit Mahajan2016-10-191-20/+5
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 722f9a0f02 Change-Id: If376f0b00aa2a6f6aebe4f5cd07bf4f766642302
| * \ \ \ \ \ \ \ ImsPhone: defer intial roaming state updateMeng Wang2016-10-061-2/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6b85911009 Change-Id: I346d2c8a19c0ab6d59dff2b089e257298c6c94a3