History log of /frameworks/base/telephony/java/android/telephony/ims/feature/ImsFeature.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
13a64f078ad4a034b4f851391ed759c8f3ae6a16 06-May-2017 Brad Ebinger <breadley@google.com> Notify ImsService Status Correctly

Modifies ImsService to allow multiple status callbacks in
for one ImsFeature. This better handles one ImsFeature
for normal/emergency calling.

Bug: 38001858
Test: Unit Testing
Change-Id: I70ae6f5349aef75aa86d54fe37a3c32459ea3afa
/frameworks/base/telephony/java/android/telephony/ims/feature/ImsFeature.java
004177815f0d5cec22a43efa56887741003eb934 18-Apr-2017 Brad Ebinger <breadley@google.com> Better handle MSIM DDS changed event

On DSDS MSIM devices, when Default Data Subscription event
is received, the ImsService may choose to switch which
Slot ID is active.

This change better handles that switch and removes a
crash that was happening due to
ImsServiceProxy#getFeatureStatus getting called
circularly.

Bug: 37361882
Test: Run Telephony unit tests
Change-Id: Iaa29bba25f82e699c96b951b3b110568163e12d8
/frameworks/base/telephony/java/android/telephony/ims/feature/ImsFeature.java
e0a7345c6a353411c73f7f45875478684472a91c 27-Feb-2017 Brad Ebinger <breadley@google.com> Send the IMS_SERVICE_UP intent when it is STATE_READY

The ImsService must send the IMS_SERVICE_UP intent when it
signals that it is in the STATE_READY state and
IMS_SERVICE_DOWN when it is STATE_INITIALIZING or
STATE_NOT_AVAILABLE.

Also, add READ_PRIVILEGED_PHONE_STATE check

Bug: 35736451
Test: Unit tests added in frameworks/opt/telephony
Change-Id: I03d4398cf7008cf8c51b78d99eb029aa99c63f62
/frameworks/base/telephony/java/android/telephony/ims/feature/ImsFeature.java
1639c21be6e7cd7699db4080fcf2ccc5cb2006e6 25-Jan-2017 Brad Ebinger <breadley@google.com> Adds @hide ImsService APIs

Adds @hide ImsService API implementations to be used for the new
dynamic ImsResolver.

1) ImsService - The main class that all vendor ImsServices will implement.
ImsServices that implement this method must return their implementations
of MMTelFeature when onCreateMMTelFeature is called. The base ImsService
class also relays all method calls through itself as a proxy. So, when
Telephony calls a method, the ImsService figures out which MMTelFeature
should be called (by slot) and then calls that feature's method
implementation.

2) MMTelFeature/RcsFeature - Implements the I*Feature interfaces, which
are used on both sides of the interface. The vendor implemented ImsService
must implement all methods provided in the I*Feature interface in their
implementation of *Feature that they return to the ImsService.

3) ImsServiceProxy[Compat] - The Proxy interface in telephony that will be
called in ImsManager. When a method in this class is called, it will call
the respective AIDL function: Telephony -> IImsServiceController AIDL ->
vendor ImsService -> vendor ImsFeature implementation.
ImsServiceProxyCompat is there to provide backwards compatibility with
older ImsServices that do not use the new ImsService implementations.
It implements all of the methods that are defined in the new I*Feature
interfaces and translates them to the old ImsService AIDL calls.

Test: Adds Unit Tests (see frameworks/opt/telephony)
Merged-In: Id3466c178384158c788ab1d708ab108bb95866fc
Change-Id: Id3466c178384158c788ab1d708ab108bb95866fc
/frameworks/base/telephony/java/android/telephony/ims/feature/ImsFeature.java
024aaf23881c142ba92194a001ac038253ae708e 24-Jan-2017 Brad Ebinger <breadley@google.com> Adding Dynamic ImsService Binding (1/3)

Adds support for dynamic ImsService Binding (change 1/3). Included
in this change:
- AIDLs for ImsServiceController
- ImsFeature/ImsServiceBase definitions
- KEY_CONFIG_IMS_PACKAGE_OVERRIDE CarrierConfig option

Test: Unit Tests in opt/telephony
Bug: 30290416
Change-Id: Ic4cb1d85a29681b08a6a525c588a72209862dcc3
/frameworks/base/telephony/java/android/telephony/ims/feature/ImsFeature.java