History log of /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96a0be67619944378d95cdedc64b004aadb341e2 01-Dec-2016 Christine Hallstrom <hallstrom@google.com> Handle audio route restrictions set on calls

When a call restricts audio routes, it will move the audio route to a
supported route if available. The supported routes are determined initially
and re-evaluated when the call becomes the foreground call.

This is a cherry-pick of abandoned ag/1520954

Bug: 32958838
Change-Id: Ie30847c995839516507df0c70178a591c39f6cdd
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
d7fe686253f2135a948cafc776aa25db645ec27e 10-Sep-2016 Hall Liu <hallliu@google.com> Add connection properties to analytics

Adds a record of which android.telecom.Connection properties were set on
a call during its lifetime. Also adds a test to verify that this behaves
correctly.

Change-Id: I1a5bc61228cbd676b8de218d503b30e8a76bfce2
Fix: 31395995
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.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/ConnectionServiceFixture.java
a773b8d754aba8147f0b68d47ee459d58abd8f78 13-Jun-2016 Brad Ebinger <breadley@google.com> Merge "Propogate EVENT_CALL_MERGE_FAILED Connection Event" into nyc-mr1-dev
0d40255032680d3cce56a07f7eba8baefc5512cd 28-May-2016 Brad Ebinger <breadley@google.com> Propogate EVENT_CALL_MERGE_FAILED Connection Event

Propogate the EVENT_CALL_MERGE_FAILED Connection Event to the InCall UI
when setConferenceMergeFailed has been received from the Connection.

Also, a test was created to verify the Connection Event propogates to
the InCallService

Bug: 28847375
Change-Id: Id0bd9ca68528d442a658dfb4df8da20c1344e8da
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
84771f8f87f5f582bf848b621eed8c6cd99d41b0 19-May-2016 Brad Ebinger <breadley@google.com> Propogates the CDMA Voice Privacy Property to a Call

Allows the CDMA enhanced voice privacy connection property to be
propogated up as a Call Property.

Bug: 26931679
Change-Id: I2206d1e8091c39c8ceddb820f1c70671ed46a008
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
571d5e66b8cbee023702b4b0a2a1c28663c5a7f8 15-Mar-2016 Tyler Gunn <tgunn@google.com> Add connection properties to Connections.

- Per suggestion of API council, moving properties of a Connection from
CAPABILITIES_* to PROPERTIES_*.

Bug: 27458894
Change-Id: I484783727c840a56882bca79c35280a4a338256d
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
961694a9750626c067be960170bc95f10b5efcc2 22-Mar-2016 Tyler Gunn <tgunn@google.com> Support for enhanced call/connection extras.

Plumbing in support for InCall UIs to update the extras of a connection.
Adding in unit tests for connection and call extra set/get methods.

Bug: 27458894
Change-Id: I9ce526bf293c9f5dd03642391d459fcfa03c31ef
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
d45e6d973ea7460fb605a1eb7a66ba38c6f2467d 11-Mar-2016 Tyler Gunn <tgunn@google.com> Support for new multi-endpoint APIs.

- piping through "pullExternalCall" API from incall layer to connection
service.
- mapping of new capabilities/properties between connections/calls.
- basic unit tests for new pullExternalCall API (there will be some
follow-up work on these in the future).
- plumbing through of Connection and Call events.

Bug: 27458894
Change-Id: I421ebab28fada224bddca54ed4d3d9dff6f33bcf
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
c6e42ef0465fe01b35bb3aa94fbcbc081e3b45ed 20-Feb-2016 Abhijith Shastry <ashastry@google.com> Add unit tests for send to voicemail, and number blocking.

BUG: 26682702

Change-Id: Id5cd03d48ac5022e15039e420ea5daeb91f0c623
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
b7853c0b716f9cc9ae174d1ca4efaa118ef1740e 03-Feb-2016 Abhijith Shastry <ashastry@google.com> Fix Telecom unit tests for incoming calls.

1. Respond to CallerInfo lookups instead of always waiting for it to timeout (which adds 500ms to every test)
After this change, telecom unit tests take ~10s less to complete from around ~84s.

2. Do not explictly set handleCreateConnectionSuccess: ConnectionService already does this.
Explicitly setting results in multiple caller info lookups and unexpected behavior.

Change-Id: Ic0abaff6cd8751911733bbc764ac89530b3eb55b
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
b492f4c845e61fac17c0e523363607d2dd6ba987 15-Dec-2015 Tyler Gunn <tgunn@google.com> Add Video API unit tests, fix auto speakerphone logic.

- Move some of the single call Telecom system tests to a new BasicCallTests
class.
- Change visibility of some methods in TelecomSystemTest to faciliate the
creation of other system test classes.
- Added VideoProviderTest which exercises the Video APIs.
- Created Mock Video Provider.

Change-Id: Id314c18b77e8c635fbde0232a1ccfae851a3071c
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
abbb3af2c05c1e523308d67f556cd7dee13a8f6c 02-Dec-2015 Hall Liu <hallliu@google.com> Merge "End-to-end testing for conference calls"
6d96252436c34cbc2407767f67f2f397f390ad95 30-Nov-2015 Bryce Lee <brycelee@google.com> Notify connections when the ringer is silenced.

This is necessary for connected experiences (such as headset clients) where
another device must be notified of the ringer state.

Bug: 25644529
Change-Id: I89a98a4ad8ed4d94d7bf5eed07b57f353824e338
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
f7783fb45c262a36d813cb450062d0076490a530 24-Nov-2015 Hall Liu <hallliu@google.com> End-to-end testing for conference calls

Adds machinery in ConnectionServiceFixture to enable end-to-end testing
for conference calls. Also adds tests to TelecomSystemTests to test the
functionality of conference calls.

Change-Id: I8b8784728bd6077402056e5f88de4bbc2b813bdc
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
2c93c50e5be7d85b78c4af15aaa10e44f0bcdf3e 28-Oct-2015 Brad Ebinger <breadley@google.com> Revert "Move tests around to better organize Telecom"

This reverts commit f6655ee7f26e85aef274be7e8c95e317d9d4af7f.

Change-Id: Ia54fb6173de6425d5d9979b2498654764549ce19
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
f6655ee7f26e85aef274be7e8c95e317d9d4af7f 26-Oct-2015 Brad Ebinger <breadley@google.com> Move tests around to better organize Telecom

In order to better organize the Telecom system, the tests have been moved into the Telecom package instead of a separate .test package.

Change-Id: I762372acc47c9bc4e671d8c66227eb272e20d88a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
ddd966e7f6b947e345163c442f4c2f9c3d146024 29-Aug-2015 Bryce Lee <brycelee@google.com> Properly route rejection reply when capability is set.

The telephony stack can be present on devices that do not have a cellular
radio. For example, connections can be established over wifi. In these
scenarios, having the replies handled by the default sms app is not
sufficient.

This CL works in conjunction with a framework change to allow connections
to mark themselves as capable of handling reply messages. In this case,
the call should route the reply back to the connection rather than have it
handled through sms.

Change-Id: I26a13496e3cff596ba950bf9abed35c36b917721
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
084ab0835ea9879185d3e6aa7f9be48ae4067bed 15-Jul-2015 Roshan Pius <rpius@google.com> Maintain call time across SRVCC (1/3).

When an IMS conference call encounters an SRVCC event requiring a
fallback to GSM/CDMA, we need to maintain the call time for the
conference host across this fallback. So, adding a connectTime attribute
in the underlying conference host's connection object which can be used
to account for the call time from the now inactive conference call into
the new call created.

BUG: 21918593
Change-Id: I2d31761bd4af4a3ec199b998a0ce511001dcf632
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
0d5b6ee93d90a70f9b8fd0fa5ce0c407ae84cc68 29-May-2015 Santos Cordon <santoscordon@google.com> Merge "Add extras to Connections/Calls. (2/3)" into mnc-dev
b3907b3e79864a3a42d5e7105e5051f7e364fdba 28-May-2015 Santos Cordon <santoscordon@google.com> Add extras to Connections/Calls. (2/3)

Two major changes:
1) Add the notion of extras to a Connection. These extras will be
parceled through to InCallService as Call.getExtras()
2) The previously existing Call.getExtras() has been renamed to
getIntentExtras(). This name better describes the fact that these
particular extras are from the original CALL or INCOMING_CALL intents.

Change-Id: I4eed1e1bb47e83f8ba5c843cab7e7e492a297c71
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
32dd7c331c5b4dc475d96b113a052286973f78fc 28-May-2015 Ihab Awad <ihab@google.com> Update tests to test "hold" state

Update the tests to add simple testing for the connection "hold"
state, and add a simple helper function for assertion with a timeout.

Change-Id: I3fbc947dccdc4c39a632ea96ea6d355a15930230
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
1b5490ac8643a5969adaba6f68d872acd251d666 12-May-2015 Ihab Awad <ihab@google.com> Update tests

ConnectionServiceFixture now does not use Mockito when() allowing
reset() at any time. Added tests for incoming calls.

Change-Id: Ic5f5fc7b910a97d2838090713439f703d80748c6
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
805917f7d6dfd87cad970cec9be55b24200db7b8 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '569b54e' into merge2
569b54e5dff12cc29aa253efb3c61bc4fc5d778e 16-Apr-2015 Andrew Lee <anwlee@google.com> Update ConnectionServiceFixture with StatusHints.

Change-Id: Ia19cbaa541cd8265e7de58f3f430eae1a2197421
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
7cc486c725e2ae9b8051b4f36fd0c41ff3a8aca3 16-Apr-2015 Jay Shrauner <shrauner@google.com> Remove connection substate

Bug:20300433
Change-Id: I4148ac2677598d4db60950712fda2a3be726d791
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
d240fe8e16205623eb6cb73c3d42448554690033 02-Apr-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Change parameter type of data usage
Change Data Usage methods to take parameters of type long
instead of int.

Change-Id: I6a277dedb5976261035084955ed8a90da256061a

IMS-VT: When TTY is ON, do not allow MO VT call
When TTY mode is ON, the user SHOULD NOT be allowed to make
a Mobile Originating (MO) VT call and an UI alert message will
be displayed explaining MO VT call cannot be initiated.

Propagate the call substate changed message to the UI

IMS-VT : Set the flag to start call with speaker on for incoming VT calls
- There seems to be a race condition between when InCallUI
enters the video mode and sets the speaker phone on and
when call state changes to active.
- As a result, the audio route gets reset to earpiece as we
are not setting speaker phone on flag for the incoming
case. This change fixes that issue.

IMS-VT: Set speaker phone to true only if bluetooth or headset is not connected

IMS-VT: Convert emergency video call to voice call.
Convert emergency video call to voice call.

Change-Id: I09b82dcb6308a1177716b77e87da68161000518b

IMS-VT: Enable Video conferencing.
Enable Video conferencing.

Change-Id: Ief145e0592e58de46c7a75d858effdd72fa8b476

IMS-VT: Check for property before enabling speaker for MT VT calls
Check persist.radio.ims.audio.output before enabling speaker
if property is set to disable speaker then MT VT calls should not
use the speaker.

Change-Id: I0c6288a8fd672c9b7a13edac11e29875d0df4eb7
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
aa383cca668afd8578a6e007c3ea360768dc52f6 23-Mar-2015 Ihab Awad <ihab@google.com> Further cleanup, and move functionality into TestFixture objects

Change-Id: I62b514ae8fe10f720a60c681968efd2340616eba
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
032f8e415661339bd1e9a2da5e295062a996a7f5 02-Apr-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Change parameter type of data usage
Change Data Usage methods to take parameters of type long
instead of int.

Change-Id: I6a277dedb5976261035084955ed8a90da256061a

IMS-VT: When TTY is ON, do not allow MO VT call
When TTY mode is ON, the user SHOULD NOT be allowed to make
a Mobile Originating (MO) VT call and an UI alert message will
be displayed explaining MO VT call cannot be initiated.

Propagate the call substate changed message to the UI

IMS-VT : Set the flag to start call with speaker on for incoming VT calls
- There seems to be a race condition between when InCallUI
enters the video mode and sets the speaker phone on and
when call state changes to active.
- As a result, the audio route gets reset to earpiece as we
are not setting speaker phone on flag for the incoming
case. This change fixes that issue.

IMS-VT: Set speaker phone to true only if bluetooth or headset is not connected

IMS-VT: Convert emergency video call to voice call.
Convert emergency video call to voice call.

Change-Id: I09b82dcb6308a1177716b77e87da68161000518b

IMS-VT: Enable Video conferencing.
Enable Video conferencing.

Change-Id: Ief145e0592e58de46c7a75d858effdd72fa8b476

IMS-VT: Check for property before enabling speaker for MT VT calls
Check persist.radio.ims.audio.output before enabling speaker
if property is set to disable speaker then MT VT calls should not
use the speaker.

Change-Id: I0c6288a8fd672c9b7a13edac11e29875d0df4eb7
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java
b63b57e2c35c4769e756f47131c7ebbc0af42c59 23-Mar-2015 Ihab Awad <ihab@google.com> Further cleanup, and move functionality into TestFixture objects

Change-Id: I62b514ae8fe10f720a60c681968efd2340616eba
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ConnectionServiceFixture.java