History log of /frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f6a521925b16e8c5f6dfdfa7dad928f65dfc362 23-Feb-2018 Brad Ebinger <breadley@google.com> Framework Integration of dynamic query for ImsService

1) Adds support for dynamic query of ImsService features.
When the ImsResolver is notified of a change to the ImsService
package (via PackageManager or CarrierConfig), we perform
an async query to the affected ImsService. The updated
feature configuration is then saved to the ImsServiceInfo
cache and features are recalculated. This will cause the
Service to create/remove features according to this
config. We currently keep the ability for "compat"
ImsServices and device default ImsServices to communicate
their feature configurations via manifest query, but
all carrier ImsServices will need to do a dynamic query
to relay feature configuration information.

2) Fixes issue where we were sometimes not unbinding
to ImsServices, even if there were no features assigned.

3) We now drop down to the device default ImsService
when the SIM card is removed.

Test: Telephony Unit Tests, Telephony Test ImsService
Bug: 72642524

Merged-In: If65f25eb6b0696b38bd55b96c1d5a64d2a112a6b
Change-Id: Ieafa99c1454606016c71e4d183adf445f4189dc2
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
0b49b9969d3e8923cc9b6a1add06ced2a8d245b4 14-Jan-2018 Brad Ebinger <breadley@google.com> Create ImsService API compat layer

Creates a new ImsService API compat layer,
which translates the "new" API to the
"old" API in the android.telephony.ims.compat
namespace to support older versions of
ImsService Implementation

Bug: 63987047
Test: Manual, Telephony unit tests
Change-Id: I7daafe2ac150c49ba4ad8f08ac175eb7e6044633
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
1d0af327f9d60dcdb010314bbdc4ab2492df11df 16-Jan-2018 Brad Ebinger <breadley@google.com> Integrate new MMTel APIs into the platform

Integrates the new ImsService APIs into telephony
and updates the Telephony unit tests to
test the new APIs as well.

Bug: 63987047
Test: Telephony unit tests; Telephony test ImsService
Change-Id: Iaf40fc2a14d2b8e99fb0d08284987c9cf9cd3b2c
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
81011e81d1f0dcf15f9271379294d0a55d074403 09-Nov-2017 Brad Ebinger <breadley@google.com> Refactor ImsService structure

Refactors the ImsService feature handling
in Telephony to use the AIDL backed
features instead of the ImsService proxy
methods.

Test: Manual, Telephony IMS Unit Tests
Change-Id: I70598e5302f998c775c9a5a6eee78461cfbd8858
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
7e4e11bced13bead3bbe5303ea3c5532f812b3ca 06-May-2017 Brad Ebinger <breadley@google.com> Notify ImsService Status Callbacks correctly

Adds support in the ImsServiceController for multiple
Feature listeners for one feature. Also adds support for
signaling the ImsFeature to remove the binder callback when
the feature is removed.

Stops Phone from listening to IMS_SERVUICE_UP/DOWN when
using the ImsResolver.

Bug: 38001858
Test: Unit Tests
Change-Id: I920605b32160fdce9fcd3b4c0100804d3590397f
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
b3144a56bcd8efea3d594ea93e843ce50f0cb8af 19-Apr-2017 Amit Mahajan <amitmahajan@google.com> Disable failing unit tests.

All tests pass locally now and should pass on treehugger and apct
as well.

Test: runtest --path frameworks/opt/telephony/tests/telephonytests
Bug: 29579544
Change-Id: I8a038f60e6bed490a2e969258b126f4dfa1f6cb9
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
6cfb61b24e0b63f006f9d417ddc9cf77e97516de 28-Mar-2017 Brad Ebinger <breadley@google.com> Merge "Fixes ImsService Unit Tests"
c33bd7aa69813a72d7abf6edf6700971834e423e 27-Mar-2017 Brad Ebinger <breadley@google.com> Fixes ImsService Unit Tests

Correctly mocks out the Context to test
ImsService permission checks correctly.

Test: ImsServiceTest unit tests
Change-Id: If770968441e4157f8696b9b51956d0a36977c976
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
37800d3cdb300fca83462d95221a05bbef21a951 21-Mar-2017 Amit Mahajan <amitmahajan@google.com> Unit test fixes. Most failures were due to new mockito.

Test: runtest --path frameworks/opt/telephony/tests/telephonytests/
Bug: 29579544
Merged-in: Ic228cd7dfc4d8913411a459520d7b7bf71a66d98
Change-Id: Ic228cd7dfc4d8913411a459520d7b7bf71a66d98
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
c386675f3560b33e7e8b097a4567cfa50bab1f0d 27-Feb-2017 Brad Ebinger <breadley@google.com> Adds tests to verify ImsService sends IMS_SERVICE_UP/_DOWN

Adds to verify that ImsService sends the IMS_SERVICE_UP/_DOWN
intents correctly for compatibility with the old ImsService
implementation.

Bug: 35736451
Test: Unit Tests
Change-Id: I92fca961388da14008cc10a47321c032f7e624d6
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
014a98a53ae59955940f96c4d17976d5abadf7b6 24-Feb-2017 Brad Ebinger <breadley@google.com> Initialize TestImsService with mock Context

Initialize the TestImsService with a mock Context
to accomodate calls to a context when performing
permissions checking.

Change-Id: I7f517af0b69fa9a619e348f659bd3b1f943e3023
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
d8c6d59607f963be65bb78f92c44194a78b66108 17-Feb-2017 Brad Ebinger <breadley@google.com> Remove Session ID from ImsService APIs that are not used

1) Remove session ID from ImsService APIs that do not need them.
2) Change logging in ImsResolver to be less verbose.

Test: Manual
Change-Id: Ifaa3daf6d78ef5dae873b3c5e48be60a5cf79836
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
4a424775eab77d5f9a805ef56eca2e526038f0a1 25-Jan-2017 Brad Ebinger <breadley@google.com> Modifications to support ImsResolver and adds Tests

1) Adds unit tests for ImsService and related classes.
2) Modifies the ImsPhoneCallTracker to support the new ImsResolver.
3) Modifies the ImsServiceController to relay ImsService status callbacks.

Test: Unit Tests added
Merged-In: Ibcb001ce13e0bcc21f02deede64f7ee8f1549e59
Change-Id: Ibcb001ce13e0bcc21f02deede64f7ee8f1549e59
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java