summaryrefslogtreecommitdiff
path: root/telephony/java/android/telephony/ims/stub/ImsEcbmImplBase.java
AgeCommit message (Collapse)Author
2021-02-24Move illegal state detection in stub classes to warningBrad Ebinger
In order to increase stability, move *ImplBase listeners to warning for now until we can find the source of the error. Fixes: 179217608 Test: manual; kill phone process Change-Id: If1813ed6c82b778018d61691018604b6891ff34e
2021-02-05Discard dead MmTelFeature Binder InstancesBrad Ebinger
When the phone process crashes and the IMS service is in a separate process, there is a condition where the ImsService may still stay unbound, but alive and not torn down. In this case, when the phone process comes back up and tries to register new binder callbacks, detect that the old binder callbacks are dead and discard instead of throwing an exception. Bug: 179217608 Test: kill phone process Change-Id: I4fc3b6d15fe19ebaf1fc52dab92a615a761222f8
2021-01-27Throw IllegalStateException to fail fast in IMSBrad Ebinger
Fail fast by throwing an IllegalStateException in IMS rather than creating potential subtle bugs where listeners overwrite each other. Bug: 175810194 Test: atest FrameworksTelephonyTests ImsCommonTests Change-Id: Ib1fc7d6120244df3649fa2afe5b3f738deea597c
2020-10-19Remove @TestApi from @SystemApi symbolsAnton Hansson
I ran these commands: cd frameworks/base grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@SystemApi[\s\n]+(\@\w+[\s\n]+)?\@TestApi/\@SystemApi\1/gs' grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@TestApi[\s\n]+(\@\w+[\s\n]+)?\@SystemApi/\1\@SystemApi/gs' Bug: 171179806 Test: m checkapi Change-Id: I772790b783b0a8730b8bf680c9e569a886b8d789 Merged-In: I772790b783b0a8730b8bf680c9e569a886b8d789
2019-11-13Move the ImsService tests to CTS, requiring @TestApiBrad Ebinger
Bug: 143822481 Test: atest CtsTelephonyTestCases Merged-In: Idbdec7790b036aef968d91533cbdb8f096d7717b Change-Id: Idbdec7790b036aef968d91533cbdb8f096d7717b
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
2017-02-22reates base implementation of ImsService AIDLsBrad Ebinger
This change introduces "base classes" of the AIDL interfaces that are implemented in vendor provided ImsServices. This allows for new APIs to be added to the AIDL files, along with stub implementation of those AIDLs in the base classes. By extending from the base class, older implementations of the AIDL interfaces will not need to be updated when the interface changes. This change also moves some of the com.android.ims classes from frameworks/opt/net/ims to frameworks/base. Any class that will be used in the new unbundled ImsService system will need to be in the framework, as opposed to the optional library that they are in now. Bug: 30290416 Test: Manual Change-Id: I4a186d8e910d6d4f711e983ec8d717fc5cbdefab