History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5b58978562c11e704b42a745bda55d6319a9b0c8 22-May-2017 Tyler Gunn <tgunn@google.com> Add more logging for USSD codes.

Test: Manual
Bug: 37561464
Change-Id: I8bbb78865b4ca48977cb84a90d88b58920bb5643
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
eae666ec25a681683b572b2a16ff8b55c511c761 30-Mar-2016 chao.bi <chao.bi@intel.com> Fix bug in CallManager unregisterForPhoneStates()

In this function, it asserts the handler pointer by mistake,
so it should stop&release related resources but actually not.
Therefore, when the Phone instance is registerred again, it
will hit mess due to old resources are not cleared. One example
of issue is for IMS Phone: when enter/exit flight mode, IMS
Phone instance will be unregistered and registered again, but
IMS phone registration will fail due to this bug, thus blocks IMS
functions.

Fix: 28003885
Change-Id: I84ff4dcdddf6a8b0d52b5f3bec4ced008cc79fe3
Signed-off-by: chao.bi <chao.bi@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
4726c1e12514d9b76f351bede5f6a6373df5574e 16-Dec-2015 Amit Mahajan <amitmahajan@google.com> Added isPhoneTypeCdma() and isPhoneTypeCdmaLte()

Also includes:
- Removed unnecessary unreg/reg of phone with CallManager on
voice radio tech change. This is needed as otherwise Ims Phone may
get unreg but not reg again (on radio tech change).
- Allowing reg/unreg in GsmCdmaPhone regardless of phone type
- Removed unused Call.mIsGeneric

Bug: 25793157
Change-Id: Ie2093a50c1cf64918782076127decff90968fe72
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
772b718fd55ac6a13ab2f7a8b5997ab469bb7f65 14-Dec-2015 Amit Mahajan <amitmahajan@google.com> Code cleanup including removing direct references to IMS classes.

Bug: 25793157
Change-Id: I45ab1394d8585ae3d649f1bb8f67bcd16a946a85
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
e5468b6b0242c072d0b7eea7e6c75a536cb650df 24-Nov-2015 Amit Mahajan <amitmahajan@google.com> Adding initial tests for GsmCdmaCall and GsmCdmaPhone.

Also includes:
- Changes to fix/comment out failing tests
- Some cleanup in CallManager related to deletion of PhoneBase and
PhoneProxy
- ContextFixture containing mock Context for all telephony tests
- Phone test that exercises BroadcastReceiver support in the mock
Context
- Test showing how static function can be mocked

Bug: 25691379
Change-Id: Ia38423cef3cfb86389d044cac4e601983fae1192
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
6c806ef816f8ae0a1849ba05f3128a04577b32d0 25-Nov-2015 Amit Mahajan <amitmahajan@google.com> Phone refactor Phase II. Renamed PhoneBase to Phone.

Phone interface has been renamed to PhoneInternalInterface. For
outside world, Phone is now the only handle that should be used
for phone related classes (earlier there were Phone, PhoneBase,
GSMPhone, etc.). Some cleanup is still pending to make sure
technology specific phone is not used outside of telephony at all
(and even within telephony as much as possible).

Bug: 25793157
Change-Id: Ic19b286e6d2580e5537f4f6a8dc8afe39d80a803
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
3a96b0ee1d152549279c58ba24a0a035cc9a557b 03-Nov-2015 Amit Mahajan <amitmahajan@google.com> Phone refactor

This change is to replace deleteAndCreatePhone() with a simple switch
of RAT in GsmCdmaPhone. It also merges a number of other GSM and
CDMA files (Call, CallTracker, Connection, Phone,
PhoneBookIntefaceManager, CallFailCause), and gets rid of PhoneProxy.

Main pending items:
1. General cleanup of merged code
2. Sanity, regression testing by test team

Bug: 25793157
Change-Id: I08f55b325992fdc0f568d42433507b70b6ceb06d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
ab759cc92562162ceeb3d1a5b7592b704185433d 31-Dec-2014 Shriram Ganesh <sganesh@codeaurora.org> SRVCC Conference with Mid Call Enabled

1. Add support for SRVCC with more than 3 participants.

There is a max limit of 7 connections in GsmCallTracker. If RIL
reports call id greater than 7, it will be ignored while polling in
call tracker. Because of this, in case of SRVCC with more than 3
participants, call ids greater than 7 are getting dropped from UI.
Fix this by increasing the max connections limit to accomodate call
ids after SRVCC.

2. Add support for SRVCC Conference with greater than 3 participants

The phantom call mechanism that is used to notify the participants
of conference call during SRVCC, notifies only the last unknown
connection. During SRVCC conference call, all the participants
after the first are using the phantom call mechanism and hence
each unknown connection resulting should have a seperate notify
from frameworks.

3. Add support for using the CS connection address during SRVCC

Updated the values that are migrated from handover connection.
Some fields which have an updated value from the driver call list
are used directly instead of migrating their values from handover
Ims Connection.

4. IMS: Fix for duplicate registrants during SRVCC.

Currently CallManager registers for different phone states
with Gsm and Ims phone. But while handling the UNSOL SRVCC state
change the migrate function in PhoneBase, does no check for the
duplicate registrants and copies all the ImsPhone registrants to
GsmPhone.

Fix: Dont migrate the registrants from ImsPhone to GsmPhone if
CallManager has already registered with default phone for these
registrants.

Change-Id: I67ac7d7156e4d0dec8c66059263f0e29a6337c66
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
df0280231c51a24a0b66c24034827d7f73d6e1ac 13-Jun-2015 Santos Cordon <santoscordon@google.com> Plumb intent extras through to IMS Phone.

Bug: 21735451
Change-Id: I7c44a658b2585d272375c573bb31974109540bb4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
631ce4b47921fef7e38bb9736899e9ecf0ee0403 03-Jun-2015 Tyler Gunn <tgunn@google.com> API Cleanup: Remove references to VideoState class.

- Replace constants with VideoProfile equivalents.
- Call static methods in VideoProfile instead.

Bug: 21573551
Change-Id: Ic2561bffcee16e477b3c6c79f8adb034b4067f62
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
6d91e295add44a5b7e611cb51401a20b3caa6571 11-Dec-2014 Pavel Zhamaitsiak <pavelz@google.com> IMS: Notify about change of TTY mode of other call participants

Pass notification to Phone app

Bug: 18247323
Change-Id: I975a93909dc02cc211e956667f5efb2ca3f330bb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
4e47e27d1d2cbd8e533cdd2081c5bc8e51b79ad9 16-Nov-2014 Anthony Lee <anthonylee@google.com> Register for supplemental service failures in CallManager.

This is to enabled the plumbing for us to show the user an error
message when conference calls fail to merge.

Bug: 18080792
Change-Id: Ie301eac647967cbd38e66c7cdd1cb333b99adb45
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
b237a11044ed842d2865ff8c8716befb06b6ca25 25-Oct-2014 Wink Saville <wink@google.com> Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
573ba864406ec81dd3ff878760fa3317daddaa07 01-Oct-2014 Anthony Lee <anthonylee@google.com> resolved conflicts for merge of 8574e746 to lmp-sprout-dev

Change-Id: I6dd854c05e62317242c0236ea461236b6fdf7b5c
5a514e8e8193bbd09687cc1fb286122b79eca612 29-Sep-2014 Anthony Lee <anthonylee@google.com> Create and track different Handler instances for each Phone.

Phone objects used the same handler in CallManager to
register/unregister callbacks with RIL. This means that, if the
last operation was an unregister, the CallManager would not
be a listener for certain events from the RIL.

Bug: 17414427
Change-Id: I217fad94c64edf479141c1f28f0c1ec8a9e89032
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
4fecfb9e39b367b5eb2aaff090ad9ae8f6224859 13-Sep-2014 Tyler Gunn <tgunn@google.com> am dc2b5d1c: Renaming Telecomm to Telecom.

* commit 'dc2b5d1c32cad5269106d00fd106bd64097238f4':
Renaming Telecomm to Telecom.
dc2b5d1c32cad5269106d00fd106bd64097238f4 11-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I2fa094034f8a32ac887a6f653ba6d40d7a1761e2
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
6bc4098827f3070a44b5e51508b455d7c7be9c07 01-Sep-2014 Wink Saville <wink@google.com> ksd to lmp-sprout-dev

Change-Id: I94eb65c62231b5831570bb0cbbbd9c916bee0a37
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
d5c5a168b4f5806701a4d146309c996acca7183d 08-Aug-2014 Ihab Awad <ihab@google.com> Final structural tweaks to Telecomm API (6/8)

Bug: 16416927
Bug: 16494880
Change-Id: I6cd739b0fe525038ace0f213b05732e0cd95902a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
19658b53263850aaeb414760559dff099c06f9ff 06-Aug-2014 Santos Cordon <santoscordon@google.com> Remove audio handling from telephony. (2/2)

Bug: 16175960
Change-Id: Id4ec9963f559b4cd1870c18b91521afca8d8f153
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
eb37adebf70275a8d8e5f2478637a66a44e71de8 28-Jul-2014 Andrew Lee <anwlee@google.com> Update VideoState references.

Bug: 16629892
Change-Id: I243b304d5b61ed530b965eab2abb9bfbd02893d5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
6d05f561549a66b597a5119665ccc3bf8a962d16 16-Jul-2014 Andrew Lee <anwlee@google.com> Include video state when accepting call on phone.

Bug: 16013878
Bug: 16015750
Change-Id: Iae14ea443394fe0c805cb0a9dfc01dcb600cff70
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
6bbcbfd62c9aa5787e7c33936e2246ff05b59d58 08-Jul-2014 Tyler Gunn <tgunn@google.com> Adding support for specifying videoState in dial methods in Phone.

In ImsPhoneCallTracker, wired up dial to start a call with
the correct IMS call type.

Bug: 16014224
Change-Id: If131529fee7eb03e63fa445d04e15246e51967be
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
888c60a7fe1c8f3612ab8e8ec5f2f7ca8f24e766 03-Jul-2014 Etan Cohen <etancohen@google.com> Remove VoicePhone interface

VoicePhone interface was not a generic voice phone. It was a partial
implementation of an ImsPhone (i.e. served no added-value purpose but
confused functionality). Removed.

Change-Id: Ida5d0fb2b09dcc6ec295ddd7a03f2cf6536b840b

Conflicts:
CleanSpec.mk
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
a8467dd0c524787104b1ccdddc5e8af10ba729ed 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
184ffb58812108624ea0be2732cdae511b99d09d 11-Jun-2013 Vidyakumar Athota <vathota@codeaurora.org> Do not set audioGroup ECHO SUPRESSION mode

when speaker enable, do not set AudioGroup EC mode
if EC already supported in hardware.

Change-Id: I3623b0c49011d6db5e0060999d17963a7e58f775
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
4a6446528c86eb723882d9eabd88bd39e7249dbd 18-Feb-2014 Wink Saville <wink@google.com> Merge "Telephony: Handling of supplimentary services in Call"
91ce060652d7f9be48ee2eeb771455c9d741564b 06-Jun-2013 Sungmin Choi <sungmin.choi@lge.com> telephony: Add Explicit Call Transfer (ECT) feature

Use ECT as "4 + Send".

Bug: 9745857
Change-Id: If94d7ad33eb72dede86030c26e8a8c1b5b8125e3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.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/CallManager.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/CallManager.java
1997a5ea7fc70748366e20cf8d5f27dd7600c4d2 19-Nov-2012 Fabien Hubert <fabien.hubert@intel.com> Telephony: Handling of supplimentary services in Call

When there are active calls, the candial() returns false
and if the user supplied an MMI code for supplementary
service it will not be accepted.

The codes for supplementary services such as hold, reflect
transfer etc are now handled with this patch, even when
dial cannot be done.

Change-Id: Ic90d71112ca9fd3250b82660a2929590491e41ba
Author: Fabien Hubert <fabien.hubert@intel.com>
Signed-off-by: Fabien Hubert <fabien.hubert@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 577
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
a5d65ff9d36808aec38d60ebe30f2109fcfcb8bc 08-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> Set audio mode after accepting the call

Set the audio mode to incall immediately after accepting the call and not wait
till call is reported as ACTIVE by RIL. This is done to speed up time taken for audio
to set up the voice path

Bug: 7612431
Change-Id: I8008edc64928016ab94aa6d770de248b5d85dc93
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java
ded9c0af7fa49504c047275ed34c2d3b22bf0c3a 07-Dec-2012 Wink Saville <wink@google.com> Use Rlog

Change-Id: Ie013f51215de8380b8de74161b6056b010711cfd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.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/CallManager.java