History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
468e5725d5fcc44672c074e166e8ce05e8e9a151 13-Apr-2017 Shuo Qian <shuoq@google.com> ECBM SystemProperty cleanup

- add a 'set' method in phone.java, and use it to set ECBM system property
and mIsPhoneInEcmState variable
- use isInEcm() method in the phone.java to read mIsPhoneInEcmState

Change-Id: Ie3882d1e9285904a17def68993987ae0549941a7
Test: manual
Bug: 30361624
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
bdaed78d68d889a024c90ca5e48a2297074247bc 02-Dec-2016 Naveen Kalla <mrnaveen@google.com> Collect telephony metrics for CS Calls.

Log Dial, Hangup and CS Call state changes in telephony.

Bug: 32885463
Test: Make circuit-switched calls on the pixel device and
check the logs. Run telephony unit tests
Change-Id: I0191f30a691bb0496600cba608387b06e7b3d6dd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
35c77cd6f3fd5ace756896b1ef0d82486c9ce4bf 16-Dec-2016 Brad Ebinger <breadley@google.com> Fix In Conference MMI codes

According to the 3gpp spec, when in a GSM conference, one of the
participants can be disconnected when a specific MMI code is placed.
This code includes the index of the participant being disconnected.
When the participant is disconnected using this method, the GsmCdmaConnection
stays in the DISCONNECTED state in the GsmCdmaCall until all
GsmCdmaConnections in the conference are disconnected. This causes an
issue in GsmCdmaCallTracker#hangupConnectionByIndex because the
getGsmCdmaIndex() method will always return an Exception if the
connection is in the DISCONNECTED state.

We now explicitly check if the GsmCdmaConnection has been disconnected
before querying the connection index.

Test: Manual
Bug: 29588832
Change-Id: I5f71937fbaa75bb93aa2175791a01fa063cb12ac
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
3fe0578ea48570cd5d8c8dfd8b53b8984915330f 30-Sep-2016 Jack Yu <jackyu@google.com> resolve merge conflicts of 5a5f487 to master

Test: runtest -x frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics

Change-Id: Iea22620acd4efb0af845760544e00840014af4fb
f2d0fa64860a12423fb8709766d6af90fba5e6cf 27-Sep-2016 Jack Yu <jackyu@google.com> Combined TelephonyEventLog and part of the connectivity metrics
app into the new TelephonyMetrics

Added the new TelephonyMetrics to support metrics collection
through dumpsys.

bug: 31224848
Change-Id: If4b6032e98b6cc8b68e8459e0e799a3755b1f2f9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
e88efe6ce907e18ed7dfbff652aaf038f78ec6ec 07-Sep-2016 Jordan Liu <jminjie@google.com> Update reference to cdma_3waycall_flash_delay

For the switch to CarrierConfig, we update the method used to get the
value of what used to be called config_cdma_3waycall_flash_delay to the
new method provided by CarrierConfig.

Bug: 29873049
Change-Id: I045c610fbc60cee565cf1172833064b44ef076d4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
3746beeb1828ef27b2feca81ad57d7ceee61b7aa 08-Sep-2016 Amit Mahajan <amitmahajan@google.com> Dispose pendingMO connection on phone type switch.

Bug: 31288401
Change-Id: Ibc0157b655d10621e553130c7a2a24934ffe74b1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
cdcf059efaf8f413cecc88f3ef8e05ef811fa5e9 10-Aug-2016 Brad Ebinger <breadley@google.com> Stop OUT_OF_SERVICE message during Emergency Call

Currently, the radio can report an OUT_OF_SERVICE (but Emergency calls
are available) status from the radio during an emergency call if that
call is made when there is no SIM card available or the SIM card is
locked. If the remote party disconnects, we mistakenly show a "Cellular
Network not Available" dialog when a call ends successfully because the
disconnect cause is mapped to OUT_OF_SERVICE. We now check to see if the
call was an emergency call before mapping to that disconnect cause.

Bug: 30657253
Change-Id: I7bf16c502c12125506ed31a56278f68ea39737ac
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
9ed723c27069718e4ef3726696157cb392d20589 12-Jul-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Clean up calls in GsmCdmaCallTracker on GSM<->CDMA transitions." into nyc-mr1-dev
8dd4a1915f45460dfed9646470fbc0405bff934b 08-Jul-2016 Amit Mahajan <amitmahajan@google.com> Clean up calls in GsmCdmaCallTracker on GSM<->CDMA transitions.

Bug: 29972199
Change-Id: I2df4264a97239d6c87378ebae8e30abd8de6af0f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
d45e0852699f073cb67ef957eadffd4e8130aff5 22-Jun-2016 Shriram Ganesh <sganesh@codeaurora.org> Fix incorrect call radio type on UI during silent redial

When handover takes place, the ImsPhoneConnection objects
attached to the handover call are not cleaned up until the call
ends on the CS pipe after handover. As a result, the stale object
keeps updating UI on the IMS registration state. This causes the
call UI to show WiFi call when the call is on CS. The fix here is
to clean up the ImsPhoneConnection objects as soon as they are
mapped to CS connections upon handover.

Bug: 29551456
Change-Id: Iafa668c29c9501d6c3845327a9b19458dbfdd84e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
77eeade7a1391b045f8b2ce681efd49f27d3506f 30-Jun-2016 Amit Mahajan <amitmahajan@google.com> Get current calls on phone type switch.

There may be active calls from previous phone type.

Bug: 29738766
Change-Id: I16a57567fd72be35a7e15eccb6a65f540b51874d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
9e51994d8ccf00bf56f54d5875e77732c4558480 14-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Switch TelephonyEventLog from using ITelephonyDebug to ConnectivityMetricsLogger" into nyc-dev
a374c57705a7a9ff7ffa89f1d220fa4be3bc5897 29-Mar-2016 Shriram Ganesh <sganesh@codeaurora.org> IMS: Start connect time, if call is connected during SRVCC transfer.

For a dialing / alerting / incoming call, start the connect time
of the call only if the call is connected during SRVCC transfer
i.e. call state is indicated as active after SRVCC transfer

Bug: 27879470
Change-Id: I4519f32ed1ca45e2247f07c9f993287d75288192
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
7a1c1b02c8603c2bf2f3b401facb389528180eed 08-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Switch TelephonyEventLog from using ITelephonyDebug to ConnectivityMetricsLogger

Bug: 28026463
Change-Id: I3c4f14e8a6611f0cb5c52eb24573621d3a13c4cb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
3a8b5774b3e2110d8b7f92318f31f4e23a133668 29-Mar-2016 Amit Mahajan <amitmahajan@google.com> Merge "Change to dispose GsmCdmaConnection objects on GSM<->CDMA switches." into nyc-dev
ce86f3f624c6a8fd2c58e93a7b76989b3eaa8208 22-Mar-2016 Amit Mahajan <amitmahajan@google.com> Change to dispose GsmCdmaConnection objects on GSM<->CDMA switches.

Bug: 26760145
Change-Id: I745566eb239b62e464ab03dcbd09052c6ac54af9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
4a7398aa18dba870ebcf067333d2fc4405e9e800 22-Mar-2016 Tyler Gunn <tgunn@google.com> Merge "IMS: During SRVCC, mark dropped incoming call as missed call" into mm-wireless-dev
32b5fbb1a340fa16e2c37c276517ef10a4934500 03-Feb-2016 Amit Mahajan <amitmahajan@google.com> Unit tests for GsmCdmaPhone.

Also creating abstract class TelephonyTest that can be extended
by other unit tests.

Bug: 25691379
Change-Id: I9437642a0bab68c6b573954e587181ff7d04d217
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
e3b8bf78b63c45806f28812a66174aa8222c2973 01-Feb-2016 Chen Xu <fionaxu@google.com> Merge "Unit test for GsmCdmaCallTracker" into mm-wireless-dev
5755ef622fec6f3c592467c685503826862a7536 26-Jan-2016 fionaxu <fionaxu@google.com> Unit test for GsmCdmaCallTracker

BUG=25691379
Change-Id: Ic588ed4b78d645008698bff73a2995bdfd15e064
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
a8b33dee0bc27112a4c6cc9f8f733b03eb4ae3d0 29-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "TelephonyEventLog: Add some unit tests and missing log events" into mm-wireless-dev
9746fca2d7389f0fce6d5d031d87acd87b9de723 28-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> TelephonyEventLog: Add some unit tests and missing log events

Also some code cleanup and minor bug fixes.

Change-Id: I327566f8c3839bf64aebc4db0c6170ba2bd7de87
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
5c1251a7bd7dceba6203722f0bf0fb6062732da2 28-Jan-2016 Amit Mahajan <amitmahajan@google.com> Register broadcastReceiver listening to ECM changes only once.

Since phone object is not disposed now (after phone switch refactor),
CallTracker needs to register receiver only once and not deregister/
re-register.
This is needed to fix a crash seen on trying to deregister an
unregistered receiver.

Bug: 25871221
Change-Id: Id057030f827a9cfd44584ef095a1297f6f8c1fae
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
e12a56f2331dc49271b50c8ca12c0c17e324a187 22-Jan-2016 Shriram Ganesh <sganesh@codeaurora.org> IMS: During SRVCC, mark dropped incoming call as missed call

During SRVCC, if an incoming call is dropped / ended, then
identify that call as a missed call.

Bug: 26729809
Change-Id: Iaba4aee8e295dddaca8be7704fca63139cfdae9c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
5f6ea8a0105a163b801b82f1af22174f855086f4 19-Jan-2016 Amit Mahajan <amitmahajan@google.com> Unregister for CallWaitingInfo on switching from CDMA to GSM.

This is to avoid second registration which happens without this
change on switching back to CDMA.

Bug: 25871221
Change-Id: Ibd303efb1e5dd8969a7572200c18a63f2a776cf8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
a579e9c631d70bb6dbd39283438212d5ff8f19c0 14-Jan-2016 Amit Mahajan <amitmahajan@google.com> Send emergency call state change intent on emergency call start/end

Bug: 24147407
Change-Id: I2517daf2bde95a95c68b2c74225fad7004bd73c5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
dd4b0f4b5a2def03bd45637be5ceed3e86781f68 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/GsmCdmaCallTracker.java
c2b66d57e16623dffc2fe6d02ded4f24c014b6c8 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/GsmCdmaCallTracker.java
0a567c9ed954f295df83c753239646c6f6a04128 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/GsmCdmaCallTracker.java
1a87ab3d7170d618f048c4f5af8c7504a587aaa5 10-Dec-2015 Jack Yu <jackyu@google.com> Merge from master

Change-Id: Ifbd86600111d2c444031ff608fab62fb2ee4b236
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaCallTracker.java