History log of /packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cf32c07888455c8c74b20cb7626db9d3741cafe3 17-Mar-2017 Tyler Gunn <tgunn@google.com> Add call creation time property to API.

Test: CTS
Bug: 36124432
Merged-In: Id2e97c254dc17601f044da50105b84d8a0d7f144
Change-Id: Id2e97c254dc17601f044da50105b84d8a0d7f144
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.java
37e782b421f63a81bfae1efaa1eb01f0fbdd7abf 10-Feb-2017 Tyler Gunn <tgunn@google.com> Support for InCallServices receiving self-managed calls.

Also adding isInManagedCall telecomManager API.

Test: Manual, CTS
Bug: 34159263
Change-Id: I2e30cf2800b7febf56566755f7b97e4ad46ec1ad
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.java
dd68bc36a3278557b1c4d9183ed9e3dee077eb20 26-Jan-2017 Hall Liu <hallliu@google.com> Add support for RTT calls (part 1)

Adds logic for handling RTT call initiation and communication with the
InCallService and the ConnectionService and includes changes to the
testapps that exercise this functionality. This change handles RTT
initiation from the beginning of a call.

Change-Id: I3d713b662a100b2e0ad817b92005f044bcc60c62
Test: manual, through testapps
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.java
ffe558c570ae5736d47fded2caccc7da145e7d92 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/src/com/android/server/telecom/ParcelableCallUtils.java
b8d5a347ea1390c972d3ef1fc43cc119a27fa1e6 31-Aug-2016 Hall Liu <hallliu@google.com> Skip call filtering when in ECB mode
am: ddf3f9c445

Change-Id: Ifffed50873f9fae183092a0d4d02c1c7447cd3a3
ddf3f9c445699db2034da580db02dcaaddcdd322 30-Aug-2016 Hall Liu <hallliu@google.com> Skip call filtering when in ECB mode

When an incoming call is received in emergency callback mode, do not
perform any call filtering and just let the call through.

Change-Id: Ib459d9c88fe4b7fcb3fe7ab5b1bd968f0f513d7e
Fix: 30005987
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.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/src/com/android/server/telecom/ParcelableCallUtils.java
1e37be5dd86a51b90e461f09dc8a89effe4aee21 11-Jul-2016 Tyler Gunn <tgunn@google.com> Finalize multiendpoint functionality.

1) Handle the PULLING state throughout telecom.
2) When parcelling calls to send to InCallServices, remap PULLING state
to DIALING if an InCallService doesn't support external calls. This
ensures compatibility for things like Android Wear/Auto.
3) Ensure add call isn't disabled because of external calls.
4) Modify InCallController to handle changes to whether a call is external
or not. For IncallServices that do not support external calls, we will
add the call when an external call becomes a regular call, and we will
remove it when a regular call becomes external.

Change-Id: I1bf6c1f7e182834c3ab1ed34cd119467a4698993
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.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/src/com/android/server/telecom/ParcelableCallUtils.java
d9ec0ea4e4821b0ba4287df7c44c42ae77ca8a89 20-May-2016 Tony Mak <tonymak@google.com> Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review

Bug: 28842878
Change-Id: I52684f898137d7b07c4b9a7ac34081b3d5ec79da
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.java
6d4b66df3d918e3f17263ff40ca3ba0ec5a46719 02-Apr-2016 Hall Liu <hallliu@google.com> Incorporate parallel call blocking checks

Modify CallsManager to use the IncomingCallFilter class introduced in a
previous CL.
Modifies AsyncBlockCheckTask and CallScreening to implement CallFilter
and removes the logic in those classes that used to execute the filters
in series.
Added tests for block-check and call screening.
Added logging events to track how long each of the call filters take.

Change-Id: Iecd60463fe9ac6dbbd85d57ef6ae2bfccb94d967
Fix: 26883888
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.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/src/com/android/server/telecom/ParcelableCallUtils.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/src/com/android/server/telecom/ParcelableCallUtils.java
d29d93778fe288d87aef03e0a934099995b550bf 08-Feb-2016 Tony Mak <tonymak@google.com> Cleanup isWorkCall logic

Instead of laze initialization, configure the value of isWorkCall in
setTargetPhoneAccount.

Change-Id: Ibeec80cbdf0f41eb2d5d5082626bf3a872530856
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.java
ae92595c2f0f88a5bef8d2601f026b9d3ae2d7dd 25-Jan-2016 Sailesh Nepal <sail@google.com> Use CallScreningService to screen calls

This CL uses the new CallScreeningService to allow or disallow calls.
Similar to InCallService, the call screening service holds a wake lock.

We also implement a timeout on the telecom side. The timeout is a very
large value (5 seconds). The logic is that a flaky in-call can mess up
calls in many ways so there's no point in trying to be strict here.

Currently the service is invoked after the send to voicemail logic. We
should consider depreciating the old logic and insisting that the dialer
handle all call screening.

BUG: 22857261
Change-Id: I52b97be8e20c0f404839790e69a5f33588093daa
/packages/services/Telecomm/src/com/android/server/telecom/ParcelableCallUtils.java