summaryrefslogtreecommitdiff
path: root/telephony/java/com
AgeCommit message (Collapse)Author
2020-11-02Merge "Add HAL for pdu session id support"Daniel Bright
2020-10-31Rename setDataEnabledWithReasonSooraj Sasindran
1. Rename setDataEnabledWithReason to setDataEnabledForReasn 2. Allow isDataConnectionAllowed to be accessed by same apps as isDataEnabledForReason 3. Make these apis public Bug: 156332911 Test: cts and build Change-Id: I8672ab8861fdec1854427ee9ce5ad8eec8774608 Merged-In: I8672ab8861fdec1854427ee9ce5ad8eec8774608
2020-10-31Support api to control data by thermal serviceSooraj Sasindran
Support api to control data by thermal service Restructure data enablement API to have single API with reason as an input to stop adding new apis for new usecases. Bug: 151342791 Test: added new CTS tests and verified Change-Id: I763c422ba54907984977d19b2774c31337e5ffe5 Merged-In: I763c422ba54907984977d19b2774c31337e5ffe5
2020-10-29Add HAL for pdu session id supportDaniel Bright
* Add in HAL support for AOSP allocating pdu session ids from modem * Add in HAL support that notifies modem when a handover has begun and was cannceled (clean cherry pick) Test: N/A Bug: 161572859 Merged-In: I1637fe48c785eae28f04e55cdb6fcabd606d744f Change-Id: I58f6803a7e3eeccd3077dca888e2a4021f47b57f
2020-10-28Allows APN to be unthrottled through an indicationDaniel Bright
* Exposed new radio indication that can unthrottle an APN Test: N/a Bug: 167434852 Change-Id: Id9ffbd80c5d7f9bcd46caee7cfe5435f15b91fd9
2020-10-22Merge changes from topic "expose-call-forward"Hall Liu
* changes: Move some of the call-forwarding related constants Expose and update the call forward/waiting APIs
2020-10-22Expose and update the call forward/waiting APIsHall Liu
Expose the call forwarding and call waiting APIs, update their documentation, and convert them to async APIs due to their dependence on network communication. Fixes: 168655869 Test: atest android.telephony.cts.TelephonyManagerTest Change-Id: Ic20bc99314c8538a3f75f6af9c37bc4d30781825 Merged-In: Ic20bc99314c8538a3f75f6af9c37bc4d30781825
2020-10-22Remove old methods for mobile dataHall Liu
Bug: 169367013 Test: builds Change-Id: I9aa69c9bd8d31e6bbdd9a237b0aa2c3922431227 Merged-In: I9aa69c9bd8d31e6bbdd9a237b0aa2c3922431227
2020-10-21Add new methods for setting mobile data policyHall Liu
Add isMobileDataPolicyEnabled and setMobileDataPolicyEnabledStatus in TelephonyManager. These are intended to replace the mms-always-allowed and data-during-voice-call setters/getters. Old methods will be removed in a follow up commit. Fixes: 169367013 Test: atest TelephonyManagerTest Change-Id: I6033a84f0a0163e460343ebf603d66078455fe38 Merged-In: I6033a84f0a0163e460343ebf603d66078455fe38
2020-10-21Pipe through new SipTransport IInterface to listenersBrad Ebinger
Create base SipTransport implementation and make it available to listeners. Expose new SipDelegate creation capability to the framework from the ImsService. The next CL will start the integration of the SipDelegateManager with the framework and SipTransport. Bug: 154763999 Test: atest FrameworksTelephonyTests TeleServiceTests Merged-In: I9a51b850f370a865c9d9109f238e8ed2eea4b6f6 Change-Id: I9a51b850f370a865c9d9109f238e8ed2eea4b6f6
2020-10-07Merge changes from topic "redo_ims_poll"Brad Ebinger
* changes: Remove "one shot" type of FeatureCallback Clean up IMS based interfaces to use a push model instead of poll
2020-10-05Remove "one shot" type of FeatureCallbackBrad Ebinger
Instead of having a special case for ImsManager#getInstance, implement it properly. Test: atest CtsTelephonyTestCases Merged-In: I2e986fb2a1086043a25b11c71c005481cea74196 Change-Id: I2e986fb2a1086043a25b11c71c005481cea74196
2020-10-05Clean up IMS based interfaces to use a push model instead of pollBrad Ebinger
[RESUBMISSION AFTER REVERT aosp/1443078] Instead of requiring that listeners poll for an ImsFeature binder when they go down, modify interfaces to notify listeners when a new instance of a Binder is available. Test: atest CtsTelephonyTestCases FrameworksTelephonyTests ImsCommonTests Test: manual E2E tests of IMS functionality (call, SMS, settings...) Merged-In: I0bb48f82ecf7a1283be8fd441a787dff587d6d61 Change-Id: I0bb48f82ecf7a1283be8fd441a787dff587d6d61
2020-10-01Merge "Added getEquivalentHomePlmns API"Jack Yu
2020-09-30Added getEquivalentHomePlmns APIJack Yu
Added a new API to retrieve EF_EHPLMN from the SIM. Fix: 155843989 Test: CtsTelephonyTestCases Change-Id: I2797dc466e12f9aa64b830b93446ee1d0532c760
2020-09-30Revert "Clean up IMS based interfaces to use a push model instea..."Brad Ebinger
Revert "Move IMS to a listener type model instead of a poll model" Revert "Push Binder updates when ImsFeatures change" Revert submission 1425374-ims_poll Reason for revert: b/169729036, ANR in phone process Reverted Changes: I1d6dd2dfd:Move to a push model of querying ImsFeature Binder... Ie3982c245:Move IMS to a listener type model instead of a pol... I8b9ded0f4:Push Binder updates when ImsFeatures change Ia9f7ae3db:Clean up IMS based interfaces to use a push model ... Merged-In: I7ef3c07021a79e809d2c8b30ed2422372eae962d Change-Id: I7ef3c07021a79e809d2c8b30ed2422372eae962d
2020-09-28Clean up IMS based interfaces to use a push model instead of pollBrad Ebinger
Instead of requiring that listeners poll for an ImsFeature binder when they go down, modify interfaces to notify listeners when a new instance of a Binder is available. Test: atest CtsTelephonyTestCases FrameworksTelephonyTests ImsCommonTests Test: manual E2E tests of IMS functionality (call, SMS, settings...) Change-Id: Ia9f7ae3db193b1c4b3f6693a45cdcf9a4aaefe1d
2020-09-15Decouple the ImsFeature status listener from creating the featureBrad Ebinger
Add the listener after the ImsFeature has been created to ensure that listeners do not miss the state update due to the feature not being tracked internally yet. (This is part 1 of a two part process to clean up ImsFeature connecting). Test: atest CtsTelephonyTestCases FrameworksTelephonyTests ImsCommonTests Change-Id: I6a0cf4a4dfae2593ea77d3b098cd7a93325ea740
2020-08-31Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li
Bug: 166295507 Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27 Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-08-27[TelephonyMainline] Make getMergedSubscriberIdsFromGroup as System API and ↵zoey chen
rename it Bug: 145584030 Test: make Merged-In: I6c077f3bee6bfd4d5b215aca4e9b19b719772b29 Change-Id: I6c077f3bee6bfd4d5b215aca4e9b19b719772b29
2020-08-18Add KEY_VOICE_OVER_WIFI_ENTITLEMENT_IDMeng Wang
Bug: 164250692 Test: make Change-Id: I917085cf6f962c7f5cc7088e2e5298597f661514 Merged-In: I917085cf6f962c7f5cc7088e2e5298597f661514
2020-07-30Merge "Update language to comply with Android's inclusive language guidance"Tyler Gunn
2020-07-29Update language to comply with Android's inclusive language guidanceTyler Gunn
See https://source.android.com/setup/contribute/respectful-code for reference Test: Presubmit Bug: 161896447 Change-Id: I4142f4819f5ed3e2ffddf471b90923985e72523a
2020-07-14Merge "Fix some style issues" am: 1b87c970c8 am: 9a155b957aTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1313803 Change-Id: I0269a40f6984fa61522b0fb48aa1a66f1906683b
2020-07-14Merge "Suppress showing "Invalid Validity Period-1" for sending messages" ↵Treehugger Robot
am: 8daa4a1389 am: ee59d3306a Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1313804 Change-Id: Ic7c6ffe1943ccbe7d79633fc6d2f29ef6f4e75a1
2020-07-14Merge "Fix some style issues"Treehugger Robot
2020-07-14Suppress showing "Invalid Validity Period-1" for sending messagesTaesu Lee
Show the error log when only wrong value is set actually for sending instead. And it includes some cleanup. Bug: 161156510 Test: MO SMS and check log Signed-off-by: Taesu Lee <taesu82.lee@samsung.com> Change-Id: I2b58b431c59c52dd05cfa54ac34551550cd614d2
2020-07-14Fix some style issuesTaesu Lee
Test: build Signed-off-by: Taesu Lee <taesu82.lee@samsung.com> Change-Id: I119d6351057d91a11c9bb58ea6b469807f469c38
2020-07-13Merge "Ignore invalid time stamp in SMS PDUs" am: a19cd20f01 am: 43887910a2Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1354342 Change-Id: I74bcc259c8764f969a7328ff97bec20aeeabf036
2020-07-13Merge "Ignore invalid time stamp in SMS PDUs"Treehugger Robot
2020-07-13Merge "Fix a Sms7BitEncodingTranslator threading issue, since translate() ↵Shuo Qian
method can easily race when called by multiple threads." am: 02b664649a am: 1609733fae Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1360883 Change-Id: Ia8d0608b3ef8291030a8131b732dee2eff2c8745
2020-07-10Fix a Sms7BitEncodingTranslator threading issue, since translate() method ↵Jeff Sharkey
can easily race when called by multiple threads. Bug: 160733170 Test: Sanity; Telephony unit tests; hard to reproduce Change-Id: If8347a27a79351e84060c9a35e1cc9efd468f7a0 Merged-In: If8347a27a79351e84060c9a35e1cc9efd468f7a0 (cherry picked from commit 131781145dbd7a6f65a759f932abb48aca652ace)
2020-07-10Merge "Delete newFromCMT() and newFromCDS() from SmsMessage" am: b599edc541 ↵Treehugger Robot
am: b403b0877d Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1359205 Change-Id: I05e4806aca68c0b42912834a6da1976443846c56
2020-07-10Merge "Delete newFromCMT() and newFromCDS() from SmsMessage"Treehugger Robot
2020-07-09Merge "Add hidden API to support allowed networks reason"Sooraj Sasindran
2020-07-09Merge changes from topic "servicelocation" am: 63ced6b508 am: 0b41b930a8Nathan Harold
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355808 Change-Id: I1992b4e1c9d7c2cf442515b4c397a9975478df85
2020-07-09Add Location Checks on CellLocation#requestLocationUpdate am: 32deda2df3 am: ↵Nathan Harold
3b7647b8d6 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355807 Change-Id: I44159f46bb114dcc181e4974fabcc22c881b5395
2020-07-09Delete newFromCMT() and newFromCDS() from SmsMessageTaesu Lee
Bug: 160847655 Test: build Signed-off-by: Taesu Lee <taesu82.lee@samsung.com> Change-Id: Ie451a24ef6b6c03ee8668fb055d83c7cc4175cdb
2020-07-08Add hidden API to support allowed networks reasonSooraj Sasindran
Add hidden API to support allowed networks type for specific reason like power. Bug: 156709797 Test: system test Merged-In: If4424d7d94ac26ad31725a1658dad5751d0d2629 Change-Id: If4424d7d94ac26ad31725a1658dad5751d0d2629
2020-07-06Remove Support for Deprecated Location UpdatingNathan Harold
Remove support for location update control that impacts the services state tracker. This functionality hasn't been needed in many years, and it has the ability to: -consume additional battery -cause ServiceState to be reported incorrectly -cause the phone to not know about changes to the service state (current cell, technology, etc). Bug: 152648516 Test: compilation - code removal only Change-Id: I1bf880c037b5c005bdd61a0ff6f5c4000ec2f9be
2020-07-06Add Location Checks on CellLocation#requestLocationUpdateNathan Harold
Update CellLocation#requestLocationUpdate to pass the necessary information to do soft location permission checks and bill modem battery usage against the caller of the API. Bug: 152648516 Test: atest CellLocationTest Change-Id: Id9e354538953ef93193a937a834e5890e62ecebd
2020-07-02Ignore invalid time stamp in SMS PDUsTaesu Lee
Catch a DateTimeException so that we don't lose SMS PDUs even if they have invalid time stamp caused by SMSC problems. Bug: 160200121 Test: Received SMS having invalid time stamp Signed-off-by: Taesu Lee <taesu82.lee@samsung.com> Change-Id: I80ef1c134f49d6a23e87a77125f54f4f66d62023
2020-06-19Reset cell broadcast config before enabling all channelsJack Yu
Before cell broadcast config service enabling all channels, it reset all channels that were previously enabled. This will make sure the full channel config can be pushed down to modem. This also solved the issue that channel config not sending to modem when SIM is swapped. Note that a hidden API is added and will be unhide in the next Android release. Fix: 155027085 Test: Manual Merged-In: Id571b990f4e45aea5bbab0dbadce48dda7b2bc56 Change-Id: Id571b990f4e45aea5bbab0dbadce48dda7b2bc56
2020-06-19Fix MmTelFeatureConnection Memory LeakBrad Ebinger
In FeatureConnection, we never cleaned up the ImsFeatureStatusCallback after it was destroyed, leaving zombie FeatureConnections around. Bug: 156893040 Fixes: 157948894 Test: atest FrameworksTelephonyTests Merged-In: Idcf8b558c3807a3f9f5094afee532e76ea6f02cb Change-Id: Idcf8b558c3807a3f9f5094afee532e76ea6f02cb
2020-06-13Merge "Add hidden API to support allowed networks reason" into rvc-dev am: ↵Sooraj Sasindran
06e61f7cd5 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712805 Change-Id: Ia5e38013db7a64afc03b3564c1f336622e834e7c
2020-06-12Add hidden API to support allowed networks reasonSooraj Sasindran
Add hidden API to support allowed networks type for specific reason like power. Bug: 156709797 Test: system test Change-Id: If4424d7d94ac26ad31725a1658dad5751d0d2629
2020-05-20Merge "Fix MmTelFeatureConnection Memory Leak" into rvc-dev am: 0b35eb55a8Brad Ebinger
Change-Id: Id06fda9d0a3f3995c9497410e79ccb72c4862a43
2020-05-20Merge "Fix MmTelFeatureConnection Memory Leak" into rvc-devBrad Ebinger
2020-05-18Fix MmTelFeatureConnection Memory LeakBrad Ebinger
In FeatureConnection, we never cleaned up the ImsFeatureStatusCallback after it was destroyed, leaving zombie FeatureConnections around. Bug: 156893040 Test: atest FrameworksTelephonyTests Change-Id: Idcf8b558c3807a3f9f5094afee532e76ea6f02cb
2020-05-19Merge "DUT fail to unlock SIM after selecting Home IMSI from STK When unlock ↵Amit Mahajan
SIM pin,SIM begin refresh, and the UiccCardApp was disposed." am: 62120dcc8c am: 67bec2d79b Change-Id: I2395255c3da76bb1da99fe243a280c65ba9baf95