summaryrefslogtreecommitdiff
path: root/telephony/api
AgeCommit message (Collapse)Author
2020-11-13Merge SP1A.201105.002Scott Lobdell
Change-Id: Iec83a0c1f6f286a1e51abfc4356633ca9d8aea5f
2020-10-28Get rid of telephony-stubs.Amit Mahajan
It was added for telephony mainline and is currently not needed. Test: basic telephony validity, TH Bug: 170906882 Change-Id: Idbd05aeef055291fc50008129c30c4ae272c1ac0
2020-10-27Merge SP1A.201015.001Scott Lobdell
Change-Id: Ie33f12a2f4c73443640c28ad128be96b3533fd8c
2020-10-26Ability to configure NR dual connectivitySooraj Sasindran
Provide ability to configure EUTRANR dual connectivity Bug: 162373679 Test: build Change-Id: I48f5ef0a5f84157de9feffa8c5aa85d226163068
2020-10-23Merge "Expose requestModemActivityInfo"Hall Liu
2020-10-21Merge "Make SignalStrength constructor public"Sarah Chin
2020-10-21Merge "Expose CDMA ERI API"Sarah Chin
2020-10-20Expose requestModemActivityInfoHall Liu
Expose requestModemActivityInfo in TelephonyManager using the Executor + Consumer pattern, and modify clients to use it. Test: atest TelephonyManagerTest#testRequestModemActivityInfo Fixes: 170427831 Change-Id: I7e8134c8058017b888c324a9f85d473fc3cdd8f5
2020-10-21Make SignalStrength constructor publicSarah Chin
Test: atest SignalStrengthTest Fix: 171315098 CTS-Coverage-Bug: 171078601 Change-Id: I5eb389d0540912718c60d98b99501826c9fbbcb7
2020-10-20Add isSupported implementation for SipTransportBrad Ebinger
Add implementation for SipDelegateManager#isSupported as well as CTS tests. Bug: 154763999 Test: atest CtsTelephonyTestCases Change-Id: I7fbd39a8ff17c4e947fdbcca148857684faa3252
2020-10-20Expose CDMA ERI APISarah Chin
Also remove CdmaEriInformation class, since it's not necessary to expose the entire class. Test: atest TelephonyManagerTest Bug: 170421676 Change-Id: I810a492330e82f47949826a4b127164a5b950702
2020-10-16Expose SignalStrength copy constructorSarah Chin
Test: atest SignalStrengthTest Bug: 171078601 Change-Id: I863f46dde78cf5e7ed9ed2f6bea149ab20daadbd
2020-10-14Update and expose ModemActivityInfoHall Liu
Update ModemActivityInfo to present a nicer API surface and expose it as a SystemApi. Also change clients in BatteryStats to match the new surface. This is part 1. Part 2 will modify the methods in TelephonyManager to use a more up-to-standards threading model. Bug: 170427831 Test: atest ModemActivityInfoTest Change-Id: I762ed949342861c75d94eafce88335e7bd8c9139
2020-10-13Merge "Moved from system API to public API" am: 0a281dd66e am: 5035d227c1 ↵Treehugger Robot
am: 141c011110 am: 31bdb532c7 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1455152 Change-Id: I4b3e88da3bcfd109a84d938356a3662de32f93ec
2020-10-13Merge "Moved from system API to public API"Treehugger Robot
2020-10-12Moved from system API to public APIJack Yu
Fix: 170226261 Test: Manual Change-Id: Icef3bd23dbd79d60c1d8edc5ce8df07e642d146c
2020-10-12Expose MmTelCapabilities#isCapable() as Public APINathan Harold
Expose the MmTelCapabilities#isCapable() API to complete a chain of APIs exposed for debuggability in Android RVC. Without this API, there is no (public) way for a caller that receives a capability callback to determine whether a particular MMTel feature is enabled for a particular IMS Connection. Bug: 156107100 Test: make update-api && make offline-sdk-docs && make Test: cts - ImsServiceTest#testCapabilityStatusCallback() Merged-In: I0a0d72897112460370e6981ae33cef4da6e3ce4b Change-Id: I0a0d72897112460370e6981ae33cef4da6e3ce4b (cherry picked from commit 21157d56a92672c4916a9d6877718b48f0e6ca0d)
2020-10-09Merge SP1A.200921.001Scott Lobdell
Change-Id: I6a8d7215f874fed05e9fec71b17c8a3d1e2c94e0
2020-10-09Merge changes from topic "telephonymanager-data-policy"Hall Liu
* changes: Remove old methods for mobile data Add new methods for setting mobile data policy
2020-10-05Expose getSmsCapacityOnIcc()Taesu Lee
Unhide getSmsCapacityOnIcc() and it requires READ_PHONE_STATE instead. Bug: 154878196 Test: Manual Signed-off-by: Taesu Lee <taesu82.lee@samsung.com> Change-Id: I86ba39d5073227ff55251fabc614fd3b9347285e (cherry picked from commit f5da96c49e9a28f24387c3e79355702f66736c38)
2020-10-01Merge "Added getEquivalentHomePlmns API" am: 6c541722ff am: ee052afb4f am: ↵Jack Yu
ed1d2560ff am: 73d3765e84 am: 6466dd02d9 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1441700 Change-Id: I8e3e77b32eadd59a9bdfec14e160bcd497ef9e0c
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-30Move some of the call-forwarding related constantsHall Liu
Move the call forwarding result constants into CallForwardingInfoCallback and rename them to RESULT_* Fixes: 169153246 Test: atest TelephonyManagerTest Change-Id: I14b4d527807e92fe977b8304f8dd95e7cd93e819
2020-09-25Add 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
2020-09-25Merge "Add Handover Failure Mode to Radio Hal"Daniel Bright
2020-09-24Support handover retryJack Yu
The data service now can control whether retry handover or not. Fix: 160105644 Test: FrameworksTelephonyTests Merged-In: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5 Change-Id: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5 (cherry picked from commit df75e3082ec8bac79a8e62266f1a06c58e78075f)
2020-09-24Added transport type and id in precise data connection stateJack Yu
Added the transport type in precise data connection state. This would be useful for IWLAN, MAPCON, and 5G development work. Also added id for listener to keep tracking the same data connection state. Bug: 161572838 Test: FrameworksTelephonyTests Merged-In: I5a14610bf072a64b534227fb715ebec58716bce0 Change-Id: I5a14610bf072a64b534227fb715ebec58716bce0 (cherry picked from commit ec5093d4d7ae6d736da24a4b67a808d1f26f3386)
2020-09-24Remove Deprecated-At-Birth APIs from PDCSNathan Harold
Two APIs were added as @SystemApi and then @Deprecated within the same API level (RVC). These methods were never exposed publicly, and instead were replaced with more-appropriate named methods that were added to the public API. As such they were not fully deleted in RVC but were never exposed and expected to be deleted following SDK finalization. This CL does precisely that - removes all traces of these methods, as per the will of the API Council. -Remove #getDataConnectionLinkProperties() -Remove #getDataConnectionNetworkType() Bug: 152787887 Test: make update-api && make Merged-In: I89463b0bd641e9316f90fe4f535d326f6e74a061 Change-Id: I89463b0bd641e9316f90fe4f535d326f6e74a061 (cherry picked from commit 3a47293cb4624c1dd1cceab49cfbe761349add05)
2020-09-22Merge "Expose and update the call forward/waiting APIs"Hall Liu
2020-09-21Expose 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
2020-09-15Add Handover Failure Mode to Radio HalDaniel Bright
On a handover request failure, the modem can now determine whether or not to fallback. There is also the option to revert to the legacy logic. Following the legacy logic is the default behavior. Test: FrameworkTelephonyTests Bug: 161572465 Change-Id: I194aca34131301a3507ad3ba99be278cbf6fa87b
2020-09-14Support handover retryJack Yu
The data service now can control whether retry handover or not. Fix: 160105644 Test: FrameworksTelephonyTests Change-Id: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5
2020-09-09Merge SP1A.200727.001Daniel Norman
Change-Id: Ibb86a528ed692cde325705779c7fa57e4b4de682
2020-09-03Merge "[5G] Implement Physical Channel Listener"Zoey Chen
2020-09-02[5G] Implement Physical Channel ListenerZoey Chen
To support the new listen event, use long instead of int for the new one then creat bitmask for old events. Bug: 162300897 Test: manual - 5g testing Change-Id: I002cb3579eb920ffc0b0a8dbf59e8d1153222411
2020-08-31Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li
Bug: 166295507 Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27 Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-08-20Merge "Rename setDataEnabledWithReason"TreeHugger Robot
2020-08-18Add KEY_VOICE_OVER_WIFI_ENTITLEMENT_IDMeng Wang
Bug: 164250692 Test: make Change-Id: I917085cf6f962c7f5cc7088e2e5298597f661514 Merged-In: I917085cf6f962c7f5cc7088e2e5298597f661514
2020-08-17Add KEY_VOICE_OVER_WIFI_ENTITLEMENT_IDMeng Wang
Bug: 164250692 CTS-Coverage-Bug: 164250692 Test: make Change-Id: I917085cf6f962c7f5cc7088e2e5298597f661514
2020-08-01Added transport type and id in precise data connection stateJack Yu
Added the transport type in precise data connection state. This would be useful for IWLAN, MAPCON, and 5G development work. Also added id for listener to keep tracking the same data connection state. Bug: 161572838 Test: FrameworksTelephonyTests Change-Id: I5a14610bf072a64b534227fb715ebec58716bce0
2020-07-17Rename 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
2020-07-10Expose MmTelCapabilities#isCapable() as Public APINathan Harold
Expose the MmTelCapabilities#isCapable() API to complete a chain of APIs exposed for debuggability in Android RVC. Without this API, there is no (public) way for a caller that receives a capability callback to determine whether a particular MMTel feature is enabled for a particular IMS Connection. Bug: 156107100 Test: make update-api && make offline-sdk-docs && make Test: cts - ImsServiceTest#testCapabilityStatusCallback() Change-Id: I0a0d72897112460370e6981ae33cef4da6e3ce4b
2020-07-09Remove Deprecated-At-Birth APIs from PDCSNathan Harold
Two APIs were added as @SystemApi and then @Deprecated within the same API level (RVC). These methods were never exposed publicly, and instead were replaced with more-appropriate named methods that were added to the public API. As such they were not fully deleted in RVC but were never exposed and expected to be deleted following SDK finalization. This CL does precisely that - removes all traces of these methods, as per the will of the API Council. -Remove #getDataConnectionLinkProperties() -Remove #getDataConnectionNetworkType() Bug: 152787887 Test: make update-api && make Change-Id: I89463b0bd641e9316f90fe4f535d326f6e74a061
2020-05-18Rename addServiceAnnouncement-related methodsHall Liu
Address feedback on the API Fixes: 155926142 Test: CTS Change-Id: I69e17faf4d09ab686fdd97975bc7f069597b87b3
2020-05-06Merge changes from topic "setDataEnabled"Sooraj Sasindran
* changes: Make sure to handle exceptions for setDataEnabled Revert^2 "Support api to control data by thermal service" ag/11382713 fixes exception issue with original change. 94b46ef784700ca3948a829ae32fc66df9cb8d59
2020-05-06Revert^2 "Support api to control data by thermal service"Sooraj Sasindran
ag/11382713 fixes exception issue with original change. 94b46ef784700ca3948a829ae32fc66df9cb8d59 Bug: 151342791 Change-Id: I5e38549a3050d582017fe8bbf193adc65eb12860
2020-05-05Merge "Revert "Support api to control data by thermal service""Greg Kaiser
2020-05-05Revert "Support api to control data by thermal service"Greg Kaiser
Revert "CTS test for api to control data by thermal service" Revert "Support api to control data by thermal service" Revert "Support api to control data by thermal service" Revert submission 11171206-setDataEnabled Bug: 155765311 Reason for revert: wembley gets into boot loop on reboot due to this code Reverted Changes: I3cdab9b04:Support api to control data by thermal service I716cf6c45:CTS test for api to control data by thermal servic... Ic5634e6f7:Support api to control data by thermal service I763c422ba:Support api to control data by thermal service Change-Id: If023dc8e106650b63706c0a5df24850c1260f785
2020-05-05Merge "Add the addServiceAnnouncement API for EMBMS"Hall Liu
2020-05-04Merge "Support api to control data by thermal service"Sooraj Sasindran