History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4611e65ec532915b3a6968459d68e5a2dc3a08c8 28-Dec-2017 Pooja Jain <poojain@codeaurora.org> IMS: Add support for call deflection feature

Call deflection feature is useful to deflect MT call to another
number.

Test: Manual

Bug: 62170348
Change-Id: Ie31421b21dea6bf5514f1f137cf5a6c315fc1149
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
baada385c62af525169dee0ada8978adf48c05c6 01-Feb-2018 Treehugger Robot <treehugger-gerrit@google.com> Merge "Displaying HD audio indicator for GSM/CDMA calls"
47b078c27bfb57477a4ff1ce12abc4e9632c1dd5 30-Jan-2018 Tyler Gunn <tgunn@google.com> Add onDisconnect callback in root radio connection class.

From CDMA/GSM and IMS connections, notify listeners of the disconnects.
This is used as a replacement for the traditional phone.notifyDisconnect
method. This ensures that a more reliable direct path is used to notify
of disconnects in the underlying connections.

Test: Manual
Bug: 70389936
Change-Id: Id1809bc9deb7675e94341664dc08707dc81b304c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
4e5766109645e58abfb272261f3e6b18d584aab4 28-Nov-2017 Adrian Muzyka <adrian.muzyka@sonymobile.com> Displaying HD audio indicator for GSM/CDMA calls

Acquire audio quality information from RIL and set HD quality to
connection so that HD audio indicator can be displayed in in-call
screen. This feature is necessary to fulfill some carriers
requirement.

Test: manual - Checked that HD audio indicator is displayed on UI in
GSM/CDMA calls.
Bug: 30207043

Change-Id: I988e5f18ebff33a49189e11ae2a20bf4aa8005f4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
5d189431096e8e339507cff6414cf403116b9cc6 25-May-2016 Honggang <honggang.x.luo@sonymobile.com> Shows "no answer" when phone dials a non-answering number.

When call is failed with cause code 19, map it to
DisconnectCause.TIMED_OUT.

Test: manual
Bug: 32007762
Change-Id: Ib03b652293926a977599c449d8807771d7790165
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
0491b77344d79b48e13537f3a09d3fe34cca4a51 25-Oct-2017 Brad Ebinger <breadley@google.com> Merge "Fix dial emergency call redial issue by China Unicom."
ce55e28db34cb2c38649693b64cb0223d045febf 17-Oct-2017 qingbiao.meng <qingbiao.meng@spreadtrum.com> Fix dial emergency call redial issue by China Unicom.

Dial emergency call like 112 use China Unicom card, and if wait
remote server end the call, then disconnect code will be 31(NORMAL_UNSPECIFIED),
this code will be treat as DisconnectCause.ERROR in telecom-service at last,
and cause redial in telecom-service.

To fix, I change it to DisconnectCause.OTHER.

Test: Build pass
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
e5629078be7375db7d44aac1966c84aaa8f2b0b6 25-Aug-2017 Brad Ebinger <breadley@google.com> Merge "Emergency redial implementation"
am: 2341ae2e65

Change-Id: Ib0358222b3413a8b812438c41666268c1f19d287
577e4aef12257100f20b46a88ee3ae65e540fea3 04-May-2017 Srikanth Chintala <srikchin@codeaurora.org> Emergency redial implementation

Map EMERGENCY_TEMP_FAILURE and
EMERGENCY_PERM_FAILURE RIL fail cause
to telephony DisconnectCause.

Bug: 27059146
Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
fe215a7ee5ad268048410d545c0436b7d4a6bdd7 01-Aug-2017 Tyler Gunn <tgunn@google.com> Ignore phone number changes for outgoing calls.

Similar to b/63743426 (which was for IMS), ignoring phone number changes
reported by the modem for outgoing calls.

Test: Manual
Change-Id: Id050e9086f17530457f59b64b510116ede866393
Fixes: 64192519
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
edd41a1d624d30e23aad6f9a2f60dc1f137f5af1 28-Mar-2017 Brad Ebinger <breadley@google.com> Merge "Include subaddress information for connection address"
am: 005d0cc72f

Change-Id: I79a4626cea57291bf18ee4e7058aeab9807e8d16
005d0cc72ff800bc3ea66bf97b0c95acc0322e70 28-Mar-2017 Brad Ebinger <breadley@google.com> Merge "Include subaddress information for connection address"
74c8509aede6fe748904e75c156049b4f1ba5e28 17-May-2016 Hanada Masafumi <masafumi.x.hanada@sonymobile.com> Include subaddress information for connection address

In case of outgoing call with subaddress, subaddress information is
neither displayed in InCallUI nor stored in call log. This modifies
to include subaddress information in those cases.

- Override getOrigDialString to get number which can include subaddress

Bug: 29087454
Change-Id: I45884d98a3832542a6991df13de74b80c5806bd6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
079d18be2f2dff2f452c07f4da6381f3f4c29116 28-Mar-2017 Jack Yu <jackyu@google.com> Merge "Fixed failed unit tests"
am: 669f790a27

Change-Id: Ifbd785416e1fe650d629e32a411631404a358444
6bfad8034f8262da897f454fbe2ecc9f042a6090 25-Mar-2017 Jack Yu <jackyu@google.com> Fixed failed unit tests

Test: runtest --path frameworks/opt/telephony/tests/telephonytests/
bug: 29579544

Merged-In: Ib53a4e7fee5dee1f305303bfbd914e31cdd2ab71
Change-Id: Ib53a4e7fee5dee1f305303bfbd914e31cdd2ab71
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
da746841d8cc4f588156110313bf2e6a4766d5fe 15-Feb-2017 Youhan Wang <youhanw@google.com> Merge "Handle OPERATOR_DETERMINED_BARRING failure." into nyc-mr2-dev
am: 122fcb16b3

Change-Id: Ifa1c38979bee675caf1aab9681d676da4309f411
e9382711a69df42919f9cf301784be0651f9dc45 14-Feb-2017 Youhan Wang <youhanw@google.com> Handle OPERATOR_DETERMINED_BARRING failure.

1. Added CALL_FAIL_OPERATOR_DETERMINED_BARRING to CallFailCause.
2. Handle Mapping logic to regard CALL_FAIL_OPERATOR_DETERMINED_BARRING
as same as CALL_BARRED.

Bug:35184262
Change-Id: Iae68b94abfd3ec5800a50218623d092c743cc267
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
1d7bfb91683b3df05b4d437d79a82fec4ce04f79 11-Nov-2016 Johan Redestig <johan.redestig@sonymobile.com> Map IMEI_NOT_ACCEPTED fail cause

Bug: 33263903
Test: manual (simulated error code from the network)
Change-Id: I1f940de7934a64c175812b2927ca3214aa465581
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.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/GsmCdmaConnection.java
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/GsmCdmaConnection.java
86ab6968a950b56a682da335ff73243f35cb8485 22-Mar-2016 Amit Mahajan <amitmahajan@google.com> Change to make pause dialing same for GSM and CDMA.

Earlier this change was made only for CDMA. GSM should also have
those changes and this helps simplify the code too.

Bug: 27790907
Change-Id: I83bdb239813f93251a25d563d2a7129566e0a604
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
93c62c8a71821f46194e16ca3e84f95e101edb90 15-Mar-2016 Amit Mahajan <amitmahajan@google.com> More ImsPhone unit tests.

Bug: 25691379
Change-Id: I9d0c6c45def7cf60228ea86412cf38d55068a6ff
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
032d73c15281387a97cdb91c6f0c7c3a1b1b230e 04-Feb-2016 Amit Mahajan <amitmahajan@google.com> Change to move postDial related info up to parent Connection class.

This is so that it can be easily migrated between different phone
types.

Bug: 24146109
Change-Id: I14c8016426d86e655b9ed3ed1dbc3c1eba4ede8f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.java
5d65624eb9189b0369bf1d914a9fb7e141284226 28-Jan-2016 fionaxu <fionaxu@google.com> GsmCdmaConnection Unit Test

BUG=25691379
Change-Id: I66679fdf5a9bd591e240b320a9ec9c565a5b4f46
/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaConnection.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/GsmCdmaConnection.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/GsmCdmaConnection.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/GsmCdmaConnection.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/GsmCdmaConnection.java