History log of /packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ce02f3a2f1bb13c7d0c4db523e6b4408ce2a8446 19-Sep-2013 Santos Cordon <santoscordon@google.com> Adding redialing support in CDMA

Add new REDIALING state when CallNotifier identifies the current call
as a redial attempt.

bug:10824223
Change-Id: I906a3add0bc7b9d6309434fc9e19bf12d5ccb748
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
3e0f0414daa2266dc51b77198fe433797f7d610a 19-Sep-2013 Christine Chen <christinech@google.com> Adds support for DISCONNECTING state

Bug: 10808537
Change-Id: I012c05baa04c4d5fa6691e2f89d724dad57373c7
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
ad1ed6d23c4a999a41bb73b8243009e32f96d7df 16-Sep-2013 Santos Cordon <santoscordon@google.com> Cdma Outgoing 3way call support.

Cdma outgoing calls when a call already exists are special because
like normal cdma calls there is no "dialing" state. There is also
no indication that the caller answered the phone so we have to make
guesses as to the state of the world.

This changes leverages code that already established these assumptions
can have those places call directly into CallModeler so that it can
translate those assumptions into Call objects that the UI can
understand.

Changes:
- Add concept of a generic conference call to be used for cdma
conference calls which are very limited in nature.
- Notify CallModeler when we see an outgoing 3way call so that it
can fake it as a "dialing" call until we are notified that it
has "connected". This gives used the impression of a dialing state
on cdma devices which do not have this state.
- fix CallModeler.getFullList() which previously changes model state.

bug:10769004
Change-Id: Iec5fb47fdcd1574c86120ec0fbb38911d54c7b0e
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
af2fd0ad9669ce110dfcf13bb7bf996e8a387a91 14-Sep-2013 Christine Chen <christinech@google.com> Adds more phone states and rules on changing them.

Bug: 10733320
Change-Id: I8176b99777a00b88135e2c954fc5e576bc657ade
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
12a03aa7bf49224d531f7469cdcd019e1b0f155e 13-Sep-2013 Santos Cordon <santoscordon@google.com> Update TeleService callback and reduce update frequency.

1. Changed name of the initial callback on the binder interface.
2. Made it so that we dont issue updates for Incoming and Disconnected
calls. Incoming calls dont change until their state changes and
disconnected calls dont change at all. What was happening is that the
redundant calls to onUpdate were executing before onDisconnect and
onIncoming effectively changing the state of the call before the
functions that were meant to change them to those states.
Additionally, with disconnected calls, we start tearing down the system
once the last call ends, which would happen twice: one with onUpdate and
once with onDisconnect. This caused additional binder activity after we
already started tearing things down.

bug:10682538
Change-Id: I47161c12429455f5f4fbca9113e6b06438028eb1
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
814da309b66d32f159a48ceb767e196cdc0cc2fc 31-Aug-2013 Yorke Lee <yorkelee@google.com> Add reject via text capability to calls

* Add REJECT_VIA_TEXT capability to calls
* Move allowRespondViaSmsForCall to RejectWithTextManager

Bug: 10424370

Change-Id: I059550d82e3b44cc4cc42d5eb06e40551497f063
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
2c2e9800fd1823800135d83ccb33e8bace6a031e 29-Aug-2013 Santos Cordon <santoscordon@google.com> Stop overwriting CALL_WAITING with INCOMING

Code too ambitious about setting INCOMING state caused CALL_WAITING
state to be overwritten.
Also fixed unnecessary setting of DISCONNECT. In both cases the method
updateCallFromConnection() was already setting the states...and in the
call waiting case...a more accurate state.

bug:10396126
Change-Id: Ib0bb7ab2ed87858c441ef0c1bd38820a1c09baa6
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
6c6b27265806a053193b8ccbc57f66b1feb8e5ab 23-Aug-2013 Chiao Cheng <chiaocheng@google.com> Fix incoming callback and binding issues.

- Created queues to handle cases where callbacks were getting dropped while
the service was connecting.
- Fixed DeadObjectExceptions when the in-call ui was being re-installed.
- Change to a single connection object to fix connection leak where every
re-bind caused connection to double.
- Split caller information from Call into CallIdentification object.

Bug: 10468815
Bug: 10457750

Change-Id: Icaef130db2f6893df3175eed07d0d483a3c4c455
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
69a691914e9b013a7ff52c129d8466c152ed7239 22-Aug-2013 Santos Cordon <santoscordon@google.com> Fixing Google Voice to work with new incallui

We were not previously storing and sending the gateway information to
the UI. This change consolidates Call gateway functionality from
InCallUiState and PhoneUtils into a new class CallGatewayManager. It is
responsible for storing a mapping from the call's connection to the
gateway used to make that connection. It also adds gateway packagename
and number to the Call object sent to the UI so that it can show UI
appropriately.

bug: 10393622
Change-Id: Ic5a0b068475bcab60e8cc96470273e36005ccc2e
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
4ad64cd167e942b1dd132106750f4c221e3bf1a9 15-Aug-2013 Santos Cordon <santoscordon@google.com> Adding support for manage conference UI (Part 1 of 4)

This the the first part of the work to enable manage conference UI in
the in-call screen.

The gist:
We added the notion of a conference call object. Where we would have
had 2 Calls before during a conference call, we now have 3. 2 originals
(which have the new state CONFERENCED) and a new Call object for the
conference call with a list of child Ids for it's children. The new
conference object maintains the State that the oldest child Call would
have if it wasn't CONFERENCED.

Changes:
- Added CONFERENCED state for Call objects which are part of a
conference call.
- Added ability to specify child calls in Call objects so that
conference calls can identify which calls are their children.
- Updated CallCommandService to allow CONFERENCED Calls to disconnect.
- Updated CallModeler to have a secondary updateConference() step which
does the following:
- Calls which are part of a conference call now get the CONFERENCED
state
- Creates a new Conference call objects for ever connection that is
part of a conference call and is the earliest connection. This
ensures that there is only one conference call created regardless of
the amount of child connections.
- New conference call objects are stored in a new mConfCallMap which
maps Connection to a conference Call
- Change the updateCallFromConnection() function so that it works for
new conference Call objects as well. Conference call objects inherit
the status from the earliest Connection (earliest child Call), such
as ACTIVE, ONHOLD, etc.
- Send Conference call objects to the UI with the rest of the calls.

bug: 10334739
Change-Id: I9c6fa067195a1e6c43a5635a4f27405b01c46f8e
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
bbe8ecf9f2f8733f6e0a7c8e88082bd98dea8b98 14-Aug-2013 Santos Cordon <santoscordon@google.com> Adding connect time support to call objects.

Change-Id: I4b39694720fcec5b6975a19361ec5d91d4d5062d
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
eead6ec450160d3c96be2ec77a48401ac67171aa 08-Aug-2013 Santos Cordon <santoscordon@google.com> Capability and UI support for merge/swap/addcall

Change-Id: I0d2a9b855028ba2e82e4ffd627389000e3cc1891
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
26e7b2492c46bb7287c3032d60bf29a5cc4009cc 08-Aug-2013 Santos Cordon <santoscordon@google.com> Adding HOLD capability and passing it through the Service.

Change-Id: Ia4906ab4eaa601b12e06d151fed6e3b5f63958a3
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
8b3538a19c78d13a4f775714d48177ba3f275a7a 08-Aug-2013 Santos Cordon <santoscordon@google.com> Adding capabilities to Call objects

Change-Id: I80687dd064bfb5b1aeea4e5d0b6c397c401a0b48
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
e38b1fff94c3e93e75c776fe2f5bb9a088588c39 07-Aug-2013 Santos Cordon <santoscordon@google.com> Adding disconnect cause and DISCONNECTED state to Calls

Used for allowing UI to display UI when a call disconnects

Change-Id: I352d0be5a7be3237328b310e1c3d2c587f488d22
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
b01deb52890e2c5cb97e708040e11f433048b451 07-Aug-2013 Santos Cordon <santoscordon@google.com> Add hangup support for OUTGOING/DIALING Calls.

Change-Id: I6c38df1c13986b4c34b1918353a8246c247becee
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
593ab38970a84a60ac39edba4306647c8b66436d 07-Aug-2013 Santos Cordon <santoscordon@google.com> Audio routing part 2

- Added WIRED_HEADSET and SPEAKER to AudioModes
- Added WiredHeadsetManager class
- AudioRouter now listens to WiredHeadsetManager and PhoneUtils for
speakerphone
- AudioRouter maintains state across earpiece,headset,bluetooth,speaker
- Most code copied from InCallScreen for speaker logic
- CallHandlerService listens to audioRouter for audio states
- Moved Wired headset logic from phoneglobals to wiredheadsetmanager
- Better toString for logging Call objects

Change-Id: Iebc8c83934ce5eff6f1918b0610804fadb163b43
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
c8f32e7cd96a678961865750d5c7ce75feb5a1e6 06-Aug-2013 Yorke Lee <yorkelee@google.com> Add CANP name and presentation related fields to call

Change-Id: Ie8283f3c9e8a503e91eacf74c7d485a5c18f1c3d
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
179907ffde3b1c48737992ef35eb19f6b0259065 31-Jul-2013 Santos Cordon <santoscordon@google.com> Setting number on the Call object.

Change-Id: I29180fdaed898e7a71b3989c0ffd46a69134b159
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
a3d0514c3480db25a813d8841c39e965f2925180 29-Jul-2013 Santos Cordon <santoscordon@google.com> Adds State to the Call Objects.

Also, updates the onUpdate method of ICallHandlerService to get called
when a call changes state.

Change-Id: I8fe830cdd8c7f4b92e985c518b5e1a60d6552284
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
995c816b6a596ccd48628c1da4199ea9e8a830b2 29-Jul-2013 Santos Cordon <santoscordon@google.com> Adding phone-style state

Change-Id: I8d8ed6249ccc52b4d67c4c7d6a7329ba381f6fb6
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java
f404688cbde8e73c68c3b285cdd144c0b8580f8f 26-Jul-2013 Santos Cordon <santoscordon@google.com> Add CallModel object to the API and onCallUpdate.

Change-Id: Ie892fbc1f5eebc33328a5cb506c8fe9b24d310be
/packages/services/Telephony/common/src/com/android/services/telephony/common/Call.java