History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d75e17258586c090493385f18c5be895a2fc8783 13-Feb-2015 Sanket Padawe <sanketpadawe@google.com> Pass new connection object to telecomm layer after a phone switch.

+ Connection object is passed to telecomm layer when phone switch happens
during emergency call.

Bug: 19363089
Change-Id: I4b86cc13491afe2768678c5bb03c1ca480924d19
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
e70617d81dcd42350a737b11c25532e1d43df4ff 22-Jan-2015 Legler Wu <legler.wu@mediatek.com> [DS] Correct the access method for telephony system property

Revise the method to access telephony system property.
Add several PROPERTY_XXX_XXX_MSIM for MSIM type system properties. If
caller use the old one, it will be dispatched to new one and get by
default phone id.
Ex. PROPERTY_ICC_OPERATOR_NUMERIC

Bug: 18675498
Change-Id: I68b4de1817bb5a34d4a54685332f856e79a39d60
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
69e989aceb5660b39932049daad2299f75f07201 20-Jan-2015 Libin.Tang@motorola.com <w16529@motorola.com> IMS:silent redial/srvcc call cleanup.

When silent redial or srvcc occurs. the IMSPhone call state is not set to idle
even after the call is ended. Also, the mConnection in mHandoverCall is not
cleaned up. This CL is to fix these 2 issues.

Bug: 19035679
Change-Id: I6bee704e2d7d8bf05ca1a910d25af4a02347328b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
b79f845a0451895b0f0b8a926a8571511d476ce8 20-Jan-2015 Libin.Tang@motorola.com <w16529@motorola.com> Add an API to access the CDMAPhone/GSMPhone call tracker state for DCTracker to check

As concurrent voice/data is not supported for all RATs, the DCTracker checks
the default phone's call state through getState API as one of the conditions
to set up data call.
For device supports VOLTE, the default phone's getState reflects the
default phone(CDMAPhone/GSMPhone) and IMS phone call state.
So the data call can't set up if the VOLTE call is in progress.
As IMSPhone call state should not impact the data call setup, this CL is
to add an API to access the CDMAPhone/GSMPhone call tracker state for
DCTracker to check.

Bug: 19090488
Change-Id: I96bb29f80d81fa6b39e2e05f1d7f47a72244ed9b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
de2242679c927ed9c46fa42f40162b113e337112 10-Dec-2014 Omkar Kolangade <omkark@codeaurora.org> IMS: Detach disconnected connections from its parent

Detach disconnected connections from its parent once
the call is ended

----------------------------------------------------

IMS: After SRVCC handover, disconnect the dropped IMS calls

After a successful SRVCC handover, disconnect the handover pending
or dropped IMS calls, if any

Bug: 18777284
Change-Id: If4899c70c587c70b8202559b3fe0027ecd166f21
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
4be56374921b52d54b80889540d982f39d26e3ab 09-Dec-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> IMS: SRVCC related changes.

1. Telephony: Multiparty srvcc

Change-Id: Ie689f31d7970ecf3a5008cf1dad450045d0b34db

2. SRVCC: Add support for incoming call SRVCC

Transfer connections from ringing call to handover call on getting
Handover Complete notification. This allows for accept to be done
on the default phone instead of IMS phone after SRVCC. Set the
state of ImsPhoneCall object to Idle after the transfer.

Change-Id: I09cfcc9fc99b3ea4b3a4bd332af546bcfae4b679

3. Add support for SRVCC conference call

Add support for updating the parent of handover connections to
point to handover call.
Update status of the handover call object based on the status of
foreground, background or ringing call.

Change-Id: Iacd7daa929d0da9a0e020491669165aa42bed144

4. Add support for SRVCC connection clean up in Ims Service

Added support for SRVCC connections to be cleaned up in the IMS
Service by calling close opertion on the call session and
subsequently removing the call session from list of tracked call
sessions

Change-Id: I850ab111c884bbe7698810b15d0e9c8bdb10e8c9

5. add null check when add all srvcConnection

add null check when add all srvcConnection

Change-Id: I3bc93a301584e7fc16ef5aabf474bd1577402d22

6. IMS/911: Do not clear handover connections on SRVCC COMPLETE

Even though SRVCC or silent redial is successful, the handover connection
objects are cleared before migrated to CS domain. Proper checks are added
NOT to clear the handover connection objects as they are removed as and
when a new driver call via CS pipe is received and processed.

Change-Id: I061fa81e651b4c6b6bdea1f1cf0b09dde39fdb4a

7. Add fix for picking correct Handover connection

A single handover call cannot track both the foreground and
background call state after handover.

Added support to go through all the handover connections and
pick the first match based on the number and if there is no
match check the state.

Added support for tracking the state of call associated with
the connection before handover. This is used to retrieve the
correct connection based on state.

Change-Id: Iec87c09523d459998d0880252a71f98eb8e296a2

Bug: 18559588
Change-Id: I0c428b33e09684fc7f33f0abd7f9c0471961ad1f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
4a00d523459470e604728784d36a3dd2a0f6c331 10-Oct-2014 Yorke Lee <yorkelee@google.com> Pass in connection to CDMAPhone.notifyUnknownConnection

An equivalent change has already been made in GSMPhone.

Bug: 17939852
Change-Id: I546618b3d56b2c855e33d8a5604478262f21514c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
2d265969ca301ba3720458ea9da2ec8d6a18bb8d 22-Sep-2014 Xia Ying <yingxia@motorola.com> Handling service number convert while roaming.

When roaming in GSM/UMTS and internal CDMA network,
(1)change VZW custumer service numeber *611 to +19085594899.
(2)change VZW voice mail number *86 to +1MDN.

Change-Id: I69f69fb698f059b7a2365d2906fe0f7cc41636d7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
bb097a7ba08252c516e578ce30cdb658b63d7c9b 30-Aug-2014 Jing Zhao <zhaojing@motorola.com> Send empty flash for some CDMA carriers for 3way call

Some carrier need a empty flash before the normal one to connect the 3way call

Bug: 17331584
Change-Id: Ie8f774de909056e398972ea460029d903f059fec
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
121eaf87527829acc2a909e4a0515cada28a674e 04-Sep-2014 Etan Cohen <etancohen@google.com> Fix CDMA missing call notification

Mis-coding: left a derived class mIsIncoming member when moving functionality to base class -
i.e. derived class variable aliasing base class. Introduced in CL 179998 (partner repo).

Bug: 17142654
Change-Id: I88d8f649c1b5abaabae333854b203d4ecf182ba5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
e64a413b850aae224e2f56e7dfc6e0bcd667643e 29-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Add support for Silent Redial and SRVCC

1. Silent Redial uses the same notifications as SRVCC.
Add support to handle the notifications in CDMA mode.
2. Frameworks and UI support for connection handover.

Bug: 17307064, 17288974
Change-Id: Icc1f9ad50a1dcb53a2af1aae8d296af7101676aa
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
cb104a615d1e44cf39d837c3dbcf9475a5be57eb 26-Jun-2014 Shriram Ganesh <sganesh@quicinc.com> Do not disconnect voice calls during phone object switch.

In cases like emergency call attempted in oos or IMS SRVCC
there is possibility that the phone object switch due to
RAT change can happen while a voice call is in progress.
To avoid call disconnect in such cases, do not hangup connections
while disposing CallTracker objects.

Change-Id: I890d6bcea958288eab8f557073f871820ddd3b52

Conflicts:
src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
src/java/com/android/internal/telephony/gsm/GsmCallTracker.java
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
f4f5308a309d43fcfca8d0d5fbb54bc38c82ca3f 05-Jun-2014 Yorke Lee <yorkelee@google.com> Follow API change in PhoneNumberUtils

Bug: 15432083
Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
b7b7a62112b79571adf74372c5f5366fd62d0031 27-Feb-2014 Anders Kristensen <andersk@google.com> Remove duplicate call disconnect codes.

The Android code base defines call disconnect codes in three places:
- android.telephony.DisconnectCause
- android.internal.telephony.Connection.DisconnectCause
- com.android.services.telephony.common.Call.DisconnectCause

This CL consolidates the code to use the integer codes from
android.telephony.DisconnectCause everywhere.

Change-Id: I84a3fd5182a51d07fc7d81076e4b2c15ff26c61c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
d62a7cecd0451592222d73995dd53074aa6f98a5 15-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> telephony: Increase the MAX_CONNECTIONS to 8

The problem is that Telephony does not handle call id 2 for CDMA.
When back to back calls are made, RIL stores the previous call information
for some time as it needs to give failure reason for the last call
that failed when telephony asks for it.
So for the next call it assigns a call ID of 2.

Bug: 10355466
Change-Id: I9a4a188780bde9e66aacc7a43d54df1118b10dfb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
5e2000b856a7959609e8f15148a3584ec372f865 12-Sep-2013 Wink Saville <wink@google.com> Telephony: Ignore events on a destroyed phone

It is possible to receive responses from RIL after phone has released
it's references. Ignore events in such cases, since those events no
longer make sense, and some phone members have been de-initialized.

Make CallTrackers notify UI when ending calls in dispose, since
it has already unregistered, and won't receive the CALL_STATE_CHANGED

Change-Id: I5d8fd9ce3f74b9ae9b5b645565bd24d11be0aebc
CRs-Fixed: 228731, 228005, 415801, 350739
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
368e873b65e60268521b3c74110a9b2abe8086ac 02-Aug-2013 Danny Baumann <dannybaumann@web.de> Properly notify of precise call state change after connection hangup.

When disconnecting connections via Connection.hangup(), previously no
precise call state notification was sent out.

Change-Id: I4439d7d8ed47e72da9d061b885ec9a0e6e1b784d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
454b1dfd508844b42eb775e4ab2359be74d3672b 23-Mar-2013 Wink Saville <wink@google.com> Rename a few files and variables.

Change-Id: I4e90dbf57797b9485920f943e24fa7a4c29d070b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
22d85a8e3a575a6d01d2c788587971657dfe20c6 23-Feb-2013 Wink Saville <wink@google.com> Clean up member variables.

Change-Id: Ib60f350131ade626aca682407ea0b4377b16f6c6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
cbaa45bbf2cab852b6c9c3a887e9f803d4e857ea 23-Feb-2013 Wink Saville <wink@google.com> Clean up

- Add @Overrides where needed.
- Update javadoc comments
- Remove extra semi-colons
- Rename DataConnection.java to DataConnectionBase.java
- Rename GsmDataConnection.java to DataConnection.java
- Add defaults to switch statements
- Remove/fix most "if (false)" statements. Fixed by using a CONSTANT
- Fix hidden variables by hoisting to base class or renaming
- Tweak some debug output

Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
cd17a8e56bf5fa1af49d4447e65dc69e4741e7bf 08-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Update call timer for phantom call"
9b41acc443e068fa3c3e547e820f710c6e2297ba 01-Dec-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Telephony: Update call timer for phantom call

For phantom call, update connectTimeReal via onConnectedInOrOut().
connectTimeReal is used to calculate the call duration per
getDurationMillis().
If phantom call is in HOLDING state, update holdingStartTime via
onStartedHolding(). holdingStartTime is used to calculate hold time
per getHoldDurationMillis().

Change-Id: I716f75b7565b5e869403c48de3dd190e2b425626
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
ded9c0af7fa49504c047275ed34c2d3b22bf0c3a 07-Dec-2012 Wink Saville <wink@google.com> Use Rlog

Change-Id: Ie013f51215de8380b8de74161b6056b010711cfd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
0825495a331bb44df395a0cdb79fab85e68db5d5 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java