3f54d497235aebd98d5b8e8e0e52da92f838d657 |
|
07-Sep-2016 |
Hall Liu <hallliu@google.com> |
Fix more broken tests Fix Analytics null pointer issue that was introduced by the InCallService analytics change. Mark flaky tests from CallLogManager so that they don't get run in presubmit Bug: 31041734 Change-Id: I974eaffaa938e37cf183bb551756b7bd2a9e7af1
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/InCallControllerTests.java
|
28b82f0fe9b55b3bd826ba3a4204329988447c57 |
|
27-Jul-2016 |
Hall Liu <hallliu@google.com> |
Fix broken test and in-call controller bug 1. testBindToService_DefaultDialer_FallBackToSystem was broken because InCallController#onConnected returned false due to an empty list of calls in the mock CallsManager. Added a return stub to prevent this. 2. If an incoming call disconnects remotely before onServiceConnected is called, no services will be bound to InCallController, but InCallController will also not attempt to bind to an InCallService for future calls. This is because the failure case in InCallServiceBindingConnection#onConnected calls disconnect() directly, not setting mInCallServiceConnection to null. This means that isBoundToServices will continue to return true, so bindToServices will never be called again until something else calls unbindFromServices. Fix was to not disconnect if no calls are found when onServiceConnected is called. 3. A test was added to test the fix in #2. Change-Id: I95caba2e3169be33d89424269a09b3ad292be3de Fix: 28743971
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/InCallControllerTests.java
|
6e8f3d70ac7397afb4cb5ab276d1cd385c92dd21 |
|
20-Jun-2016 |
Brad Ebinger <breadley@google.com> |
Rename Telecom Call Ids to include attempt Telecom Call Ids will now append an attempt id (in the form of an integer) that will be used by the CreateConnetionProcessor to name the Telecom Call Ids that are used during the creation of a Connection to the ConnectionService. This allows us to better identify which Connection is calling back to Telecom to update status, disconnect, etc. Previously, all of the attempted Connections in CreateConnectionProcessor would be given the same name, which could lead to multiple Connections trying to manage the same Call object in Telecom. Also, a supporting tests were added and a few Unit Tests were fixed. Bug: 28799824 Change-Id: I7e23497ab671712bc8d3cc9542537ae1c4829afc
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/InCallControllerTests.java
|
f15dc33f87f88e21ef745952a68af65c86e1bf1e |
|
08-Jun-2016 |
Tyler Gunn <tgunn@google.com> |
Filter external calls when InCallService doesn't support them. Use TelecomManager#METADATA_INCLUDE_EXTERNAL_CALLS metadata to check whether an InCallService supports external calls. Will only send external calls to an InCallService which has correct Metadata to indicate that it wants to be informed of external calls. This required some changes to how InCallController keeps track of the incallservices. I have added an InCallServiceInfo class which tracks the component name of an ICS as well as whether it supports external calls. The change to CallsManager#getFirstCallWithState and getNumCallsWithSate ensures that when TelecomServiceImpl checks to see if there are ongoing calls it doesn't consider external calls when checking if there is an ongoing call, and also when determining if room needs to be made for a call. Bug: 27458894 Change-Id: I69652877332be8527fb16a38c692b6f51a92e469
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/InCallControllerTests.java
|
501b9b3775232bb3033afd9f1fd608dd07d0b91e |
|
07-Mar-2016 |
Santos Cordon <santoscordon@google.com> |
Dynamic InCallService switching. Be able to switch between in-call services UIs. Created a tree data structure to handle switching between InCallServices depending on the state of the system. Tree looks like this: CarModeSwitchingConnection | | +------+ +-------+ | | CarModeConnection EmergencyConnection | | DefaultDialerConnection Bug: 24571147 Change-Id: I0999fad4185321d5211172aed2f1d60fe8f5fe3a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/InCallControllerTests.java
|
a3799ae6aafba8ccd6448a7c4337acd3460b49f2 |
|
16-Mar-2016 |
Hall Liu <hallliu@google.com> |
Add even more test annotations Bug: 26853070 Change-Id: I8c6a6cdf2164afe88cc1cca1b5ea402c304994b3
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/InCallControllerTests.java
|
f0f99f34fc993dc72c335133c6b04720c826c891 |
|
19-Feb-2016 |
Santos Cordon <santoscordon@google.com> |
Add *AsUser() calls where appropriate for multi-user support. Although telecom always runs as system user, it binds to apps in the user space and so needs to interact with apps with the current user explicitly. This change fixes areas that neglected to do that. Bug: 27161171 Change-Id: I55a4f612c9b38d4e448c346173845a79a926c695
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/InCallControllerTests.java
|