summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/ims
AgeCommit message (Collapse)Author
2020-11-09Merge "Add maxTargetSdk restriction to unused APIs."Mathew Inwood
2020-11-05Add support for DTMF and RTP header extension communications.Tyler Gunn
Add support for: - reporting of incoming DTMF tones from IMS stack. - incoming/outgoing RTP header extension data. Test: Added unit tests where possible. Test: Added test intents to inject test data into framework for platform testing. Bug: 163085177 Change-Id: If34faeba0461c677a1381c82ead4a79c607bcf13
2020-11-04Add maxTargetSdk restriction to unused APIs.Mathew Inwood
These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
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-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-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-18Add KEY_VOICE_OVER_WIFI_ENTITLEMENT_IDMeng Wang
Bug: 164250692 Test: make Change-Id: I917085cf6f962c7f5cc7088e2e5298597f661514 Merged-In: I917085cf6f962c7f5cc7088e2e5298597f661514
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-03-12API fix: Rename and clarify ProvisioningManager constantsBrad Ebinger
Fixes: 148515237 Fixes: 151173009 Test: atest CtsTelephonyTestCases; atest FrameworksTelephonyTests Merged-In: I633ad3270f8b7d047c3522a420746b668000d078 Change-Id: I633ad3270f8b7d047c3522a420746b668000d078
2020-02-14IMS: Add support for IMS Explicit call transferRavi Paluri
Test: Manual Bug: 62170207 Change-Id: I06a256adb0e1910d40809c91bcdd42c56a142842
2020-01-30Fix import of Rlog - generated by formatting toolMeng Wang
Test: make Merged-In: Ibe36c6d0fe8bfb6277d7b9034af8dbf45ce2f716 Change-Id: Ibe36c6d0fe8bfb6277d7b9034af8dbf45ce2f716
2020-01-23Merge "Add support to pass password in Call barring"Sarah Chin
2020-01-22Merge "Expose ImsConfig constants as part of API."Tyler Gunn
2020-01-22Add support to pass password in Call barringSuresh Koleti
- Adding password support for call barring over IMS Test: Manual Bug: 112248618 Change-Id: Ibdf159fbeb8eb5d80846db711fbff8979887733b
2020-01-22Expose ImsConfig constants as part of API.Tyler Gunn
Moving the config keys in ImsConfig to ProvisioningManager and defining appropriate allowed values for all. Old values are now deprecated. Bug: 147732815 Test: Created and ran new CTS test to verify get/set of the new parameter values. Change-Id: Ifa7e1b6bcd21b4dfac541c258e1c53ee1515fa3d
2020-01-16Add call barring constants to ImsUtImplBaseHall Liu
Add call barring constants to ImsUtImplBase in order to expose them in the system API surface. Fixes: 147733594 Bug: 146834818 Test: build Change-Id: Ieb701625b1ecf858d67648f5bb4c87f3e87c1f73
2020-01-14Merge changes Iec082f0c,I86a479afMeng Wang
* changes: telephony/common/* should use android.util.Log Use com.android.telephony.Rlog for mainline module.
2020-01-14Merge "Add new @SystemApis for RCS dependencies"Brad Ebinger
2020-01-13Add new @SystemApis for RCS dependenciesBrad Ebinger
As part of mainline, remove telephony dependencies from RcsService and PresencePolling apps. Bug: 147319232 Test: atest CtsTelephonyTestCases Merged-in: Id25bfffc1c40db8b183206dc598165272da7356c Change-Id: Id25bfffc1c40db8b183206dc598165272da7356c
2020-01-13Use com.android.telephony.Rlog for mainline module.Meng Wang
Bug: 144374158 Test: make Merged-In: I86a479affb8e0fa8e48734324a6a05c68230d910 Change-Id: I86a479affb8e0fa8e48734324a6a05c68230d910
2020-01-09Use new UnsupportedAppUsage annotation.Artur Satayev
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Change-Id: I547d7fb2e6bc2e9707bbc0d14dc1e8cd632c5a23 Merged-In: I547d7fb2e6bc2e9707bbc0d14dc1e8cd632c5a23
2020-01-07Do not use hidden HandlerExecutorSooraj Sasindran
Do not use hidden HandlerExecutor Bug: 140908357 Test: Build Change-Id: I998224991cb31d642435a23851aa18da3f00f159 Merged-In: I998224991cb31d642435a23851aa18da3f00f159
2019-12-13Move RCS UCE out of Telephony MainlineBrad Ebinger
Telephony Mainline does not interact with UCE, therefore it should not be included as mainline. Test: build taimen; build coral; manual test uce Change-Id: I743228939e648689ff9e73d9af2ffb7b90feb3b2
2019-11-08Add @UnsupportedAppUsage annotations for greylist.Artur Satayev
go/cleanup-greylist-txt These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code. Bug: 137350495 Test: m Change-Id: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09 Merged-In: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
2019-11-04Add new API for call line identification query responsesBrad Ebinger
The old API was not well documented and took a Bundle although all parameters are exposed in ImsSsInfo. Creates a new API that uses ImsSsInfo. Also add @Deprecated SystemApi definition for older implementations that still use the old method. Bug: 122098288 Test: atest FrameworksTelephonyTests Merged-In: I37c2e643296d82312c9d4ba6e196118260009233 Change-Id: I37c2e643296d82312c9d4ba6e196118260009233
2019-02-28Add @UnsupportedAppUsage annotationsAndrei Onea
For packages: com.android.ims com.android.ims.internal com.android.ims.internal.uce.options com.android.ims.internal.uce.presence com.android.ims.internal.uce.uceservice This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Merged-In: I13583455e85c78cfca5f4d67e4b982b58178104e Change-Id: I448267cfb48838115b1fa1b88a1d167aab81ce4e
2019-02-06Implementation of RcsMessageStore APIs [base]Sahin Caliskan
This change adds the implementation of RcsMessageStore. Please see the bug for the design and one-pager Test: Added unit tests Bug: 109759350 Change-Id: I6049dcf74ef9e19a38ce58148a89497992bc1c98
2019-01-31Merge "Add new ImsException to better handle ImsService errors"Brad Ebinger
2019-01-29Merge "uce: Updating UCE API to accept ICC-ID."Treehugger Robot
2019-01-26Add new ImsException to better handle ImsService errorsBrad Ebinger
The ImsService can crash unexpectantly or not be available for certain device configurations. Define a checked exception ImsException to handle these cases instead of using RuntimeExceptions. Bug: 122480210 Test: atest FrameworksTelephonyTests Merged-In: Ie3221d56a235c0e037d71e197f4972df31faa09b Change-Id: Ie3221d56a235c0e037d71e197f4972df31faa09b
2019-01-23Define a subset of provisioning integers as publicBrad Ebinger
There are a few non-OMADM specific configs that need to be exposed in ProvisioningManager to handle cases like turning on WFC "non-persistently" for provisioning on certain networks. These should be well defined for compatibility as well as ease of use. Test: atest FrameworksTelephonyTests, turn on WFC Change-Id: I79c9492664d4bf41b10639c0596d4f2697cd46f2
2019-01-16uce: Updating UCE API to accept ICC-ID.Gnaneshwar Gatla
Test: Manual Bug: 37437947 Change-Id: Idbf081f885f4f8c1b5dd7ac87893bd3bd08e12b0
2019-01-16Trigger PhoneStateListener onCallAttributesChangedJordan Liu
onCallAttributesChanged can trigger whenever the PreciseCallState or network type changes, or when the modem reports call quality changes. Bug: 122366240 Test: builds Change-Id: I9b13cbdd85c24c077e1a13df302bf60128c164e9
2019-01-11IMS: Propagate media profile changed messageWileen Chiu
- RTT Voice information will be passed to the UI via media profile changed message - The RTT voice information - SPEECH/SILENCE, will be conveyed via the ImsStreamMediaProfile.hasRttAudioSpeech - A connection event will be sent from frameworks to the UI - EVENT_RTT_AUDIO_INDICATION_CHANGED - Add listeners, connection event and extras to propagate media profile changed to the UI Test: Manual Bug: 110976450 Change-Id: I34d2dd612915d65f5047986dabece968c78f0abe
2018-11-13Expose ProvisioningManager API for IMS configurationsBrad Ebinger
Bug: 117648104 Test: Manual Change-Id: I71ef979cee6467fd3d70fe70e4b899dbee70e2ae
2018-08-03Merge "Add @UnsupportedAppUsage annotations"Mathew Inwood
am: f892a8ce9f Change-Id: I34b238c2105ea4f46c1cbdbc4b2e4375562398f1
2018-08-01Add @UnsupportedAppUsage annotationsMathew Inwood
For packages: com.android.ims.internal.uce.uceservice com.android.ims.internal.uce.presence com.android.ims.internal.uce.options com.android.ims.internal.uce.common com.android.ims.internal com.android.ims This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I9e39973bf43a80f17038f7e239a94ef2209e6e2a Merged-In: Ib1819d4d15e730c0f224b45fb72f3225b0dddf91
2018-06-11Clean up old Context references in ImsConfigBrad Ebinger
Bug: 77941698 Test: Manual Merged-In: I9d9b5ac97c710b1d742fc25730e3e28172ff75e3 Change-Id: Ieb24830ef60d1bc383639777f8e22d0dc994782a
2018-04-26Clean up old Context references in ImsConfigBrad Ebinger
Bug: 77941698 Test: Manual Change-Id: Ieb24830ef60d1bc383639777f8e22d0dc994782a
2018-02-08Merge "IMS: Add support in frameworks for call deflection feature" am: ↵Pooja Jain
ba0f9d2973 am: f39bef4801 am: ac48eed9c0 Change-Id: I4695aca7d886f37341672ea5815770e3ccdf7a51
2018-02-07IMS: Add support in frameworks for call deflection featurePooja Jain
Call deflection feature is useful to deflect MT call to another number. Test: Manual Bug: 62170348 Change-Id: Idfbcc175a856aa0bb9476f8c73d7a614a3af0700
2018-02-01Make ImsService API @SystemApiBrad Ebinger
Marks the ImsService API as @SystemAPI. Bug: 63987047 Test: Build, Telephony unit tests Merged-In: I10f8a09950be87cb166b718d1dcc2954fba872cb Change-Id: I10f8a09950be87cb166b718d1dcc2954fba872cb
2018-02-01Integrate new MMTel APIs into the frameworkBrad Ebinger
Performs the bulk of the work of: 1) Moving the old MMTel APIs to a hidden .compat namespace to support older vendor versions of the code. 2) Replace the compat MMTel APIs with the new ImsService APIs and integrate them into existing code. This is one of two CLs, this CL integrates the new APIs, the next CL creates the compat layer in telephony to translate the .compat APIs to the new APIs to allow Telephony to work with older versions of the API. Before commit, the corresponding vendor changes will have to be submitted as well. Bug: 63987047 Test: Telephony Unit tests Merged-In: Icc9ecfdad000f42399beeac142083e62962c12d3 Change-Id: Icc9ecfdad000f42399beeac142083e62962c12d3
2018-02-01Integrate ImsCallSessionListener API changesBrad Ebinger
Integrates the ImsCallSessionListener API changes. This involves: 1) Moving the ImsCallSessionListener to the android.telephony.ims namespace. 2) Creating a compat layer between the old IImsCallSessionListener AIDL and the new one for vendors using the old implementation. 3) Modify ImsCallSession to only use setListener to set ImsCallSessionListener (other method was never used in our code). Test: Telephony Unit Tests, Manual IMS Tests Bug: 63987047 Merged-In: I4378c0b1d68ff4f5f21815c81af52c03a66f81c5 Change-Id: Id0cc43e9c97abb6f2776d8ad1cf599353b71e4b7
2018-01-31Add and trigger onReady API for SMS over IMS.Mohamed Abdalkader
Test: manual test that normal code path is fine since this code path is not yet exercisable. BUG=69846044 Merged-In: Icb15ca4aa6606fba641f6270dca5e0e06fc4466a Change-Id: Icb15ca4aa6606fba641f6270dca5e0e06fc4466a
2018-01-31Move Sms API to proper MMTelFeature classMohamed Abdalkader
- while here remove unnecessary call to ackSms from SmsImplBase as this is handled by ImsSmsDispatcher Test: None, APIs not exercised yet. BUG=69846044 Merged-In: Iec4bbd07a67502dbbfb2142a7bc95f51be0cb377 Change-Id: Iec4bbd07a67502dbbfb2142a7bc95f51be0cb377
2018-01-25Make ImsService API @SystemApiBrad Ebinger
Marks the ImsService API as @SystemAPI. Bug: 63987047 Test: Build, Telephony unit tests Change-Id: I10f8a09950be87cb166b718d1dcc2954fba872cb
2018-01-25Integrate new MMTel APIs into the frameworkBrad Ebinger
Performs the bulk of the work of: 1) Moving the old MMTel APIs to a hidden .compat namespace to support older vendor versions of the code. 2) Replace the compat MMTel APIs with the new ImsService APIs and integrate them into existing code. This is one of two CLs, this CL integrates the new APIs, the next CL creates the compat layer in telephony to translate the .compat APIs to the new APIs to allow Telephony to work with older versions of the API. Before commit, the corresponding vendor changes will have to be submitted as well. Bug: 63987047 Test: Telephony Unit tests Change-Id: Icc9ecfdad000f42399beeac142083e62962c12d3
2018-01-25Integrate ImsCallSessionListener API changesBrad Ebinger
Integrates the ImsCallSessionListener API changes. This involves: 1) Moving the ImsCallSessionListener to the android.telephony.ims namespace. 2) Creating a compat layer between the old IImsCallSessionListener AIDL and the new one for vendors using the old implementation. 3) Modify ImsCallSession to only use setListener to set ImsCallSessionListener (other method was never used in our code). Test: Telephony Unit Tests, Manual IMS Tests Bug: 63987047 Change-Id: I4378c0b1d68ff4f5f21815c81af52c03a66f81c5
2018-01-24Add and trigger onReady API for SMS over IMS.Mohamed Abdalkader
Test: manual test that normal code path is fine since this code path is not yet exercisable. BUG=69846044 Change-Id: Icb15ca4aa6606fba641f6270dca5e0e06fc4466a