History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fde4aeebff219a68968477644fd1392e51080614 17-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix setCdmaBroadcastConfig in RIL.java to include all categories." into oc-dev
152ec067149afef2e05216fe7137bd21c1584ff0 16-May-2017 Amit Mahajan <amitmahajan@google.com> Convert unsigned uint8 fields in RIL interface to unsigned int.

Conversion is via byte which loses the unsigned-ness by default.

Test: basic telephony sanity
Bug: 37911659
Change-Id: I39312e8c280450d68aff016d9c582e24ecc43a0c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
cb192e90e2692e094b8d9cef4e52c36af5777681 15-May-2017 Amit Mahajan <amitmahajan@google.com> Fix setCdmaBroadcastConfig in RIL.java to include all categories.

Also disable some flaky tests.

Test: manual
Bug: 38109424
Merged-in: I15a26a8f5134e34cc00e57161faca5924ab82a80
Change-Id: I15a26a8f5134e34cc00e57161faca5924ab82a80
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9c0e1cfdb52c323d7aaf6a5de65c6c7d1a94cd7d 10-May-2017 Jayachandran Chinnakkannu <jayachandranc@google.com> Merge "Convert NV reset type into ResetNvType defined in types.hal" into oc-dev
e16769120c06f1ea7e4e22d85b39d7c33c925697 10-May-2017 Jayachandran C <jayachandranc@google.com> Convert NV reset type into ResetNvType defined in types.hal

Test: 1. Sprint OMADM execution and verified device camps on service
2. FDR on Marlin and verified vendor code receives resetType 3

Bug: 37849113
Bug: 38169447
Change-Id: Iaf66c6f29a09d83f3f8bef73b65a589ea4c5df03
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
44ae5a46185f96ece6251126ee5eb4e0c266207a 10-May-2017 Nathan Harold <nharold@google.com> Merge "Force BSIC value to only one byte" into oc-dev
0489acf31803a449ff75cd089ec25fe5dca5345b 06-May-2017 Sanket Padawe <sanketpadawe@google.com> Merge "Fix hidl conversion bug for setCallForward()" into oc-dev
8489fba4bf4086d89973231cd627ce5898f34b5c 05-May-2017 Sanket Padawe <sanketpadawe@google.com> Fix hidl conversion bug for setCallForward()

Test: manual
Change-Id: Iad9d1f219956470c9217fbee91637ec2f7e6460a
Fix: 37991478
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
920b42160e170581c29fe50ed9b3adef1582b6bd 02-May-2017 Nathan Harold <nharold@google.com> Force BSIC value to only one byte

BSIC is being sign-extended when copied to a java integer.
Truncate the length keeping the magnitude of the lowest byte.

Bug: 37787893
Test: compilation
Change-Id: I7807be3321e9c90f23351549c86ebe03dc239d80
(cherry picked from commit b808a31b9b0b5104b4ff32860c7ff9d52c12a7c8)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
231379c494dc7274ff97037c593c7e7b88d320d6 28-Apr-2017 Sooraj Sasindran <sasindran@google.com> Do not log pin and puk

Do not log pin and puk

Bug=37707781

Test: verified logs are not coming
Change-Id: I7ef94b4ad809db4eb679ee2a022379bd779cf6ef
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
a5b70e4dc179942acc958d650bab1017be443e14 13-Apr-2017 Sooraj Sasindran <sasindran@google.com> Convert null string to ""

Convert null string to "" for call forward API

Bug=36634641
Test: verified that call fording can be disabled
Change-Id: I2ad7d3cd74765377d20936b34da177b17aedb231
(cherry picked from commit 01f650b0c580c22a42651e08bdd042c0d5b6c0fd)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
96a2614e0c1c28b2cbcface64bf26e7daf406873 13-Apr-2017 Amit Mahajan <amitmahajan@google.com> Merge "Add p2 option in OpenLogicalChannel" into oc-dev
c6676c9a97efb78950c8f71ca7330d0bb4b24efd 03-Dec-2015 Ajay Nambi <anambi@codeaurora.org> Add p2 option in OpenLogicalChannel

- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
by SIM Alliance

Test: Basic telephony sanity
Bug: 27360148
Change-Id: I51ab0821f84dca8fff90c912ebbfc9f1129dcbe5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
447f1b35d518ab3049c22956b66fa76019e0bba2 11-Apr-2017 fionaxu <fionaxu@google.com> fix CTS failure for getNeighboringCellInfo

Some telephony APIs will hungs without sending result back
to the callers on Wifi-only devices. fix is returning the
asyncresult back to callers.

Test: run cts -c android.telephony.cts.CtsTelephonyTestCases
Bug:36369978
Change-Id: I729ad3c2e5a03c627d1261f4963887babca31fd7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
606cb716e62998ea9813deeb858c45dd4ac5470e 28-Mar-2017 Amit Mahajan <amitmahajan@google.com> Change radio related service names to slot1, slot2, slot3...

Test: Basic telephony sanity
Bug: 36570718
Merged-in: I425a78717fdd30d837ea7d8459192574afc75969
Change-Id: I425a78717fdd30d837ea7d8459192574afc75969
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9691e6c87facfff6ffcbfdea9fe0fe4bff53f75c 25-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Increment radio proxy cookie when service is dead." am: fe88f5e66c am: c46c6c5379
am: fc7362b75e

Change-Id: I0fc0c65d48bb7ecb4a7f9156ae6fccc7db7db2e1
c46c6c53795dd298546f101205dfe436943b9f1c 25-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Increment radio proxy cookie when service is dead."
am: fe88f5e66c

Change-Id: I2b5657570590afe9e7e09bf214c92b3981606338
c9c763417554f30c4fa51d3285a9a19893ecd399 24-Mar-2017 Amit Mahajan <amitmahajan@google.com> Increment radio proxy cookie when service is dead.

This is to avoid trying to get service constantly and have
delays between attempts as intended.

Test: Basic telephony sanity
Bug: 36599399
Change-Id: I6926c67ba9ae84f9841ef7b0b88d5e340201dc20
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2c47a73b1e191593ec03cc5d5569584d735c8f00 22-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Remove rild sockets."
am: 4f6584f665

Change-Id: Ice9ddee78663683b25f7adffd75ea90f0275020f
a37dfbea8d3bfd483c2b5aac6c25cc519a186b49 15-Mar-2017 Amit Mahajan <amitmahajan@google.com> Remove rild sockets.

Test: Basic telephony sanity
Bug: 32020264
Merged-in: I80407542719bfdba91f5a74329c76491d41fbe04
Change-Id: I80407542719bfdba91f5a74329c76491d41fbe04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
0d9b3d744534df7ee3792fdd84454176536590e6 15-Mar-2017 Amit Mahajan <amitmahajan@google.com> Remove rild sockets.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I80407542719bfdba91f5a74329c76491d41fbe04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
facd4fc3a41e020459107d10f694f910bc575d1d 13-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Change to not send error response twice." am: 10a430b59c am: f3983ed4f9
am: e4257b591a

Change-Id: I312632bd84e3219e91c3baed9159be794f261096
f3983ed4f92299f110696868e537340698319a60 13-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Change to not send error response twice."
am: 10a430b59c

Change-Id: Ie365b5d6a75443d496e2ee302bceb0edc5af7da4
10a430b59c66785e9abd12697c933a38ad62cdea 13-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Change to not send error response twice."
b1438f640c98e884f47109e9c9fc4a52fb0aa4ef 10-Mar-2017 Amit Mahajan <amitmahajan@google.com> Change to not send error response twice.

resetProxyAndRequestList() sends the error response.
Also includes fixes for OemHookProxy handling when service dies.

Test: Basic telephony sanity
Bug: 35910123
Change-Id: I23d4b3495523ba0a5bc5fe619b525a2d1fbba5f4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
b84f81fc061a131de05815a7b35d3e17adfc785a 09-Mar-2017 Adrian Salido <salidoa@google.com> Merge "Revert "Get rid of RIL version."" am: 6514905475 am: cd7b721ab6
am: c39906967f

Change-Id: I55dac4d7ee85fb890d8b08c22ffe6bf7c8835cb3
cd7b721ab6d4631fc899add2b64da08bcbccc080 09-Mar-2017 Adrian Salido <salidoa@google.com> Merge "Revert "Get rid of RIL version.""
am: 6514905475

Change-Id: I14f1c448e55cedfb09f7af2e73daffd8d5ca1e5d
6514905475910fe5bbabc98e237b0ee61377a0f2 09-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Revert "Get rid of RIL version.""
a56f405d3006b1d8378b5f7757a5613b75fa8fb4 09-Mar-2017 Adrian Salido <salidoa@google.com> Revert "Get rid of RIL version."

This reverts commit 81ea341d2deb767cbd1de2f356296ad92e951c52.

Bug: 36018228
Change-Id: Iee0410f197c2869e2bdefcaaae51e7ef215cdff1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
88af2faa587867c0525338e60352fdb5a462bd61 07-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Delete unused code." am: 223446daad am: b13048d245
am: a628440ba2

Change-Id: Ib4a08493df401d99bdb70dc712bb176bafa5b9bb
b13048d2456808b46abb770fa16c502a96c00682 07-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Delete unused code."
am: 223446daad

Change-Id: I225ff7c59f08c93259816f2595ed58b96cb5b305
d71af3fb18a6bf51e6aa346849c968fad511d610 04-Mar-2017 Amit Mahajan <amitmahajan@google.com> Delete unused code.

Also merged RILSender and RilHandler into a single Handler.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: Ibe00dc25a5c6370ac6f25c9d140545b51e5f1c9d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
091c17e62f5f0fbdfd3e564a23b237ffffe26bbb 04-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge changes I61f19621,I70faef33 am: ef4062e157 am: 26c10b1d02
am: b33edcb0e0

Change-Id: I7d8cac4e04a8546e95bb2d19521ffb63b5bd2c06
26c10b1d02ae46c0bd255ab1962100bafee21498 04-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge changes I61f19621,I70faef33
am: ef4062e157

Change-Id: Iea4856878a41d2cd2489a49c8d08251d06130aa8
75a34bca6e996289e3ad200ab545aa154d2fba58 03-Mar-2017 Amit Mahajan <amitmahajan@google.com> Set radio state to unavailable when rild crashes.

This is to match earlier implementation.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I70faef332fd2df2bd2354b9d9ed5d120089e9399
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
81ea341d2deb767cbd1de2f356296ad92e951c52 03-Mar-2017 Amit Mahajan <amitmahajan@google.com> Get rid of RIL version.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I61f19621dd86622faecca77c4dadf3ced81e9c21
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
4db5becf54dd7b3c9068f5579940c02db949303b 03-Mar-2017 Amit Mahajan <amitmahajan@google.com> Set radio state to unavailable when rild crashes.

This is to match earlier implementation.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I70faef332fd2df2bd2354b9d9ed5d120089e9399
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6a9915465544d6a4ccbd9fcae3c0049c1d176a02 02-Mar-2017 Jack Yu <jackyu@google.com> Merge "Added device state monitor"
am: 442a1aa29c

Change-Id: Ib89768a88380cfc4d33bbaa81acdea509e647f2a
50b941e59787a21dd2d4f3d25d700538efb9abc5 18-Feb-2017 Jack Yu <jackyu@google.com> Added device state monitor

Added DeviceStateMonitor to replace the legacy screen state RIL
API. Instead of sending the screen state to the modem, the new
device state monitor can explicitly turn on/off the unsolicited
response from the modem based on difference scenarios (e.g.
tethering, charging, screen state). It also sends more device
state to the modem including charging state, power saving state,
and low data expected state.

Note that in order to support the old vendor RIL, framework will
still invoke the legacy screen state API to ensure the best
user experience on those devices.

Test: Manual. Unit tests.
bug: 32223897, 20125037, 28294587

Merged-In: I76ce307bde1d3160af2ac44a57f101e4cafc7ae4
Change-Id: I76ce307bde1d3160af2ac44a57f101e4cafc7ae4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
baecdb610b30a5d4b35345f8fc63fcbc2133c149 18-Feb-2017 Jack Yu <jackyu@google.com> Added device state monitor

Added DeviceStateMonitor to replace the legacy screen state RIL
API. Instead of sending the screen state to the modem, the new
device state monitor can explicitly turn on/off the unsolicited
response from the modem based on difference scenarios (e.g.
tethering, charging, screen state). It also sends more device
state to the modem including charging state, power saving state,
and low data expected state.

Note that in order to support the old vendor RIL, framework will
still invoke the legacy screen state API to ensure the best
user experience on those devices.

Test: Manual. Unit tests.
bug: 32223897, 20125037, 28294587
Change-Id: I76ce307bde1d3160af2ac44a57f101e4cafc7ae4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c8a47f0c3169a5d2e274603f67bd643233ba5692 28-Feb-2017 Jack Yu <jackyu@google.com> resolve merge conflicts of d565da4e5 to stage-aosp-master

Test: Telephony sanity tests
Change-Id: I677bdc469d4440a68e9b51ab2329c6606cdb206f
d565da4e5832bf84ba5de5a9a06e04e6f13c4529 28-Feb-2017 Jack Yu <jackyu@google.com> Merge "Data call refactoring and hidlization"
3543fcced1bb54bee2e07480dd7f9846f3af526f 28-Feb-2017 Jack Yu <jackyu@google.com> Merge "Data call refactoring and hidlization"
caecd75617c11d33e000c4d90f8a6557c5b2de7e 13-Feb-2017 Jack Yu <jackyu@google.com> Data call refactoring and hidlization

Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address
some issues we had earlier.

bug: 32224135, 30173958, 33561503, 30282096, 32020264
Test: Telephony sanity tests, unit tests

Merged-In: I239baa144bcee413f67e77c6b79b4ae5278077e8
Change-Id: I239baa144bcee413f67e77c6b79b4ae5278077e8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8e9d1e601dce62cd0328701d7054e03db24727c7 13-Feb-2017 Jack Yu <jackyu@google.com> Data call refactoring and hidlization

Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address some
issues we had earlier.

bug: 32224135, 30173958, 33561503, 30282096, 32020264
Test: Telephony sanity tests, unit tests

Change-Id: I239baa144bcee413f67e77c6b79b4ae5278077e8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f227e48ac97c3f9fc037b1fb5f29aded3adac752 27-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Use empty string instead of null in setAllowedCarriers" am: fe403e0ca0 am: a072f7c311
am: fbd822979d

Change-Id: Ib77cae396dbe58fac9d2c70a393ddd3e43f1947f
a072f7c31186e0572e0ee4c19940134426870dce 27-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Use empty string instead of null in setAllowedCarriers"
am: fe403e0ca0

Change-Id: I782275868d499b6919e1b4b573e8e8b5ad7b9819
9f18938b5f973c5f6bb4409bf8941e0801c565ea 27-Feb-2017 Amit Mahajan <amitmahajan@google.com> Use empty string instead of null in setAllowedCarriers

Test: Basic telephony sanity
Bug: 35374455
Change-Id: I59360e17836da540499aabdc9eee0401569aa726
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6be70ef71d977023a8188b1811c3ec47fae4f998 23-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "OemHook client implementation."
am: 4a9210e94a

Change-Id: I4cd489ad9915baf5a09624ab0ccbf33de001d835
72c0d812e2e53b35c09ee9bfffe04779636678a3 14-Feb-2017 Amit Mahajan <amitmahajan@google.com> OemHook client implementation.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Merged-in: I7383da9245cc68d80eaebf27ebd26404d2d29f9f
Change-Id: I7383da9245cc68d80eaebf27ebd26404d2d29f9f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f5865983b0be60ad2ab177ec37e57ffedfd20ac7 14-Feb-2017 Amit Mahajan <amitmahajan@google.com> OemHook client implementation.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Change-Id: I7383da9245cc68d80eaebf27ebd26404d2d29f9f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9e6c4eda9fbce36f7edf8b5fc0aff9ac7d220d46 17-Feb-2017 Sanket Padawe <sanketpadawe@google.com> Merge "Add missed check for setAllowedCarriers api." am: 43dd2bb743 am: da551843c3
am: 446f57f939

Change-Id: I5385a6e068c79602ab66590919d74c4e2adfeb73
da551843c3498444991a434c854566f8079ba0c7 17-Feb-2017 Sanket Padawe <sanketpadawe@google.com> Merge "Add missed check for setAllowedCarriers api."
am: 43dd2bb743

Change-Id: I0372c9d7cca3c4d3699e6076b72b896a7336a450
3953d6e1205524261e887cea2b283d05213e61c1 17-Feb-2017 Sanket Padawe <sanketpadawe@google.com> Add missed check for setAllowedCarriers api.

Test: Checked passing null carriers list.
Bug: 35468257
Change-Id: I9861e9ee4360dc2f37995211dba88ea83e1ed86b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5277a26052554dd3aaba466eed4881502c266dd5 17-Feb-2017 Jack Yu <jackyu@google.com> Merge "Added the new RIL request to set SIM power state" am: 93c4fc94b3 am: 39419415ba
am: 7434a63d74

Change-Id: I5e1cd785303bd40681fcf7886892351859a9a423
93c4fc94b3850d0f1ed5cb4ff64d904f8d624ee8 17-Feb-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Added the new RIL request to set SIM power state"
df97820b2db85a96b3d87e9968c1898ece1e6736 16-Feb-2017 Jack Yu <jackyu@google.com> Added the new RIL request to set SIM power state

The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Merged-In: I71d07e39a07ee4c1ea877adf188955aeb5a70793
Change-Id: I71d07e39a07ee4c1ea877adf188955aeb5a70793
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
99607db1bc0f46e73f39d5379c590b8bcb4bf947 16-Feb-2017 Jack Yu <jackyu@google.com> Added the new RIL request to set SIM power state

The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Change-Id: I71d07e39a07ee4c1ea877adf188955aeb5a70793
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fbd8d9ed705a9de6aca60c0e70357859a8e0ccc3 16-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Do not call getService() on wifi-only device." am: 48a17d6b56 am: 030b3bfa9f am: 245cd7bf5a
am: 6843698e83

Change-Id: Idb2c1caa0687aeaff413b1e5c57926690ec11449
6843698e835e7844bbe91ff7fbbe9bc87329efdf 16-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Do not call getService() on wifi-only device." am: 48a17d6b56 am: 030b3bfa9f
am: 245cd7bf5a

Change-Id: Ic334546bf9e2a15a67e7f95333b7309e369937fe
0ef065b1f452063d6f5ad717d8d90f059ffcd6ec 15-Feb-2017 Amit Mahajan <amitmahajan@google.com> Do not call getService() on wifi-only device.

Test: none
Bug: 35355251
Change-Id: If5b0cf2c04c21103849bf24b21ad71a79214e986
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8731e19d9241b13b4ec081cc45483f14cbd21d56 13-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Client (framework) side HAL changes for RIL solicited responses - 2" am: a929fd2527 am: ac8e9ddade
am: ff31314219

Change-Id: Ia39fd7a27d579bdfcdaa79284aaecdb82455176d
b9eb17185ff4a547c23628423cb43cef1fdcd453 13-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Client (framework) side HAL changes for RIL solicited responses." am: b3fa27360b am: 18da34f372
am: 76bbecef7a

Change-Id: Idca01fcbd85c687fc44cd8b323cbc11de1f74c70
9be7c26f29b4ba23409a197220063595cc80664d 01-Feb-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL solicited responses - 2

Test: Basic telephony sanity
Bug: 32020264
Change-Id: Ib2e70b94b401b8ab3e8968134e4dd20ec29ab989
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
d8fe3ba2e6fbc96e80609f694cb0031ef40371e4 10-Feb-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL solicited responses.

Bug: 32020264
Merged-in: Ib72f2443fb0580092e0f8560a40d3fb9b182887e
Change-Id: Ib72f2443fb0580092e0f8560a40d3fb9b182887e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6211ab1faf3ef7c845193831887cb4a31207f0f8 10-Feb-2017 Sanket Padawe <sanketpadawe@google.com> Merge commit '6411f5f988c0c7342e39438c90e490e2c188914c' into manual_merge_6411f5f98

Resolve Conflicts.

Change-Id: I6eb2fd4b2d70c333a620b9737a234943e8143d3e
3b51aec7f0eca9a2b7af7fdf605ae7bf9d9c5f4a 10-Feb-2017 Sanket Padawe <sanketpadawe@google.com> Convert ril java to HIDL client (patch 2).

Test: Basic telephony sanity. Phone calls/sms/data. FI sanity.
Bug: 32020264
Change-Id: Ied031180a8fab9a2b7062dfcf38ebf5cb90a990e
Merged-in: Ied031180a8fab9a2b7062dfcf38ebf5cb90a990e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
522fc0602d60895881b33243030dd40d5778e4a9 01-Feb-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL solicited responses - 2

Test: Basic telephony sanity
Bug: 32020264
Change-Id: Ib2e70b94b401b8ab3e8968134e4dd20ec29ab989
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
81edb1b04bb44a18ddb5927db672b62105db2239 10-Feb-2017 Sooraj Sasindran <sasindran@google.com> Correct the wakelock count while attributing for a request
am: 655f0dcca6

Change-Id: I0a5efd31d4a0dc986051f70f2c627d29d81133e7
0b0cc77567c31c3bc3691d001b18f79300e1a4f3 10-Feb-2017 Sooraj Sasindran <sasindran@google.com> Expose api to retrieve wakelock information per client
am: 4a39e21efe

Change-Id: I9dbf0b2355887edee8e48c713a25c1c3eed96a5a
2212954fda22dbf372d64c292ee0e02c5800fdb0 10-Feb-2017 Naveen Kalla <mrnaveen@google.com> Attribute wakelocks held by RIL to clients
am: 0b1f9e9741

Change-Id: I8b18f531ab3c7acc864c694c52f47902f90dd10c
a46dc426a10a9d3c95cca80a80d9c0759459cb4f 10-Feb-2017 Amit Mahajan <amitmahajan@google.com> Revert "Revert "Client (framework) side HAL changes for RIL solicited responses.""

This reverts commit 71173a876ff48d65e013f0a92e920d90fa7a26c7.

Bug: 32020264
Change-Id: Ib72f2443fb0580092e0f8560a40d3fb9b182887e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
655f0dcca67e481dfb61b7988408b9734594c852 29-Sep-2016 Sooraj Sasindran <sasindran@google.com> Correct the wakelock count while attributing for a request

Correct the wakelock count when a request response is received and
corresponding wakelock count is decremented.

Account for wakelock timeout during which wakelock is released and
all corresponding clients are released from the clientTracker.

Test: Through logs confirmed that the wakelock decrement is happening
correctly

BUG=31798717

Merged-In: Iec6ba6d8060620915c704b5086d18a776073b10c
Change-Id: Iec6ba6d8060620915c704b5086d18a776073b10c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
4a39e21efe21028b97aa0545702f5c405cc44cf4 18-Jul-2016 Sooraj Sasindran <sasindran@google.com> Expose api to retrieve wakelock information per client

Expose api to retrieve wakelock information per client
Provide calling package name in cell info apis

Test: Through logs confirmed that the wakelock decrement is happening
correctly
BUG=31041780
Merged-In: Id8ca0006478212c006a103b83fb720532e9c0fab
Change-Id: Id8ca0006478212c006a103b83fb720532e9c0fab
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
0b1f9e9741e7a006c0e79a28e32d59ac90e570e4 11-Jul-2016 Naveen Kalla <mrnaveen@google.com> Attribute wakelocks held by RIL to clients

Telephony services are requested by applications and other
services in the Android framework. Attribute the wakelock
held time to the applications and services that requested
the particular operation.

If multiple clients are requesting for a service at the same
time, divide the time equally between all the requests

Test: Through logs confirmed that the wakelock decrement is happening
correctly
BUG=31041780
Merged-In: Id5521809d5a4324c1bd9dc229a743033886b35a3
Change-Id: Id5521809d5a4324c1bd9dc229a743033886b35a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
1d48bb69f2c9b1aac7b1c8d77b460b1b7a3efb7f 29-Sep-2016 Sooraj Sasindran <sasindran@google.com> Correct the wakelock count while attributing for a request

Correct the wakelock count when a request response is received and
corresponding wakelock count is decremented.

Account for wakelock timeout during which wakelock is released and
all corresponding clients are released from the clientTracker.

Test: Through logs confirmed that the wakelock decrement is happening
correctly

BUG=31798717

Merged-In: Iec6ba6d8060620915c704b5086d18a776073b10c
Change-Id: Iec6ba6d8060620915c704b5086d18a776073b10c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8b38cd985149b459969dd2ac9e8013d852dc6760 18-Jul-2016 Sooraj Sasindran <sasindran@google.com> Expose api to retrieve wakelock information per client

Expose api to retrieve wakelock information per client
Provide calling package name in cell info apis

Test: Through logs confirmed that the wakelock decrement is happening
correctly
BUG=31041780
Merged-In: Id8ca0006478212c006a103b83fb720532e9c0fab
Change-Id: Id8ca0006478212c006a103b83fb720532e9c0fab
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
75af4b9279ca2582d16f69586d5cc09cfc91e746 11-Jul-2016 Naveen Kalla <mrnaveen@google.com> Attribute wakelocks held by RIL to clients

Telephony services are requested by applications and other
services in the Android framework. Attribute the wakelock
held time to the applications and services that requested
the particular operation.

If multiple clients are requesting for a service at the same
time, divide the time equally between all the requests

Test: Through logs confirmed that the wakelock decrement is happening
correctly
BUG=31041780
Merged-In: Id5521809d5a4324c1bd9dc229a743033886b35a3
Change-Id: Id5521809d5a4324c1bd9dc229a743033886b35a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
71173a876ff48d65e013f0a92e920d90fa7a26c7 08-Feb-2017 Sanket Padawe <sanketpadawe@google.com> Revert "Client (framework) side HAL changes for RIL solicited responses."

This reverts commit 58ebf98e4f31ee719973bbd1b8797b2a78fa1438.

Bug: 35104859
Change-Id: I69957985048e2dd45ffa6d413f579cb06405baa9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
58ebf98e4f31ee719973bbd1b8797b2a78fa1438 31-Jan-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL solicited responses.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I6c830fb5dcf43676d00a6a8e52aa7b4b8562eebe
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
85895f093a0901ee8b8abc722c74e4736bc57c31 07-Feb-2017 Jack Yu <jackyu@google.com> Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged" am: e78ea42459 am: e29cc8fd5f
am: d0d5b29f03

Change-Id: I3fc134ad6e3d37f2482fc1055525f4f703713f27
6509576d8eb86664d1b5383a1b637e00748e807e 24-Jan-2017 Jack Yu <jackyu@google.com> Renamed voiceNetworkStateChanged and dataNetworkStateChanged

The misleading voiceNetworkStateChanged should be renamed
to networkStateChanged to reflect either voice or data
network changes will trigger this indication.
And dataNetworkStateChanged should be renamed to
dataCallListChanged as well.

Test: telephony sanity test
Merged-In: I5839efc3bdaf137310238790221c8ba93794bde3
Change-Id: I5839efc3bdaf137310238790221c8ba93794bde3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5fbc7580aaf80e31de81ed1dde4437451d822102 30-Dec-2016 Sanket Padawe <sanketpadawe@google.com> Convert ril java to HIDL client (patch 2).

Test: Basic telephony sanity. Phone calls/sms/data
Bug: 32020264
Change-Id: Ied031180a8fab9a2b7062dfcf38ebf5cb90a990e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6049c20e119c40e7eb2ef848562290366e6bb87a 03-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Exception and death notification handling for IRadio." am: dcb00ab854 am: 3e2e7d0f94
am: 796704cfdb

Change-Id: I3c8f517dfb3391e1098627881a9157b754c659a9
fa42b5c3abd29a327e2b4f122ecb4e10c4e2a82c 03-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Client (framework) side HAL changes for RIL unsolicited responses - 3" am: b80f5a097a am: 0f86052bca
am: edc6b766cb

Change-Id: I1643af0ee923265d0c42251256509230fe2b322d
263a2d422e10b6d0584ed68df2462b9bd7a937b3 20-Jan-2017 Amit Mahajan <amitmahajan@google.com> Exception and death notification handling for IRadio.

Test: Basic telephony sanity
Bug: 32020264
Merged-in: Id0ea4ca839cf67d3810bdec91814199005e03794
Change-Id: Id0ea4ca839cf67d3810bdec91814199005e03794
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fefc3e3357cc9c18aa83757690c18d0ae7852c46 03-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Client (framework) side HAL changes for RIL unsolicited responses - 2" am: 0fccef72e7 am: e7deddef94
am: ab8807ebbd

Change-Id: I08abba3ff8eade0c51c0d1f6cc4dcd94b6b8b50a
bbd09384056d7761e09e9ccaded65bdaeb769ebb 05-Jan-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL unsolicited responses - 3

Test: Basic telephony sanity (voice call, sms, data, APM)
Bug: 32020264
Merged-in: I0e29c592c56b4ca2937fe54ac61bbc7057253ad8
Change-Id: I0e29c592c56b4ca2937fe54ac61bbc7057253ad8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
4258279ca0832ea497bdf613559c98282e73b03a 03-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix build breakage. writeRilDial() does not need to be called." into nyc-mr2-dev-plus-aosp
fcba278e62ca918cc95e946e1da1706ed4ef7ffd 03-Feb-2017 Amit Mahajan <amitmahajan@google.com> Fix build breakage. writeRilDial() does not need to be called.

Change-Id: I39c8039804bbc810adfe5fa5026e70f4414aa49b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
29827f46aeefe96af9abe0eae06ab5c31ffdf716 02-Feb-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL unsolicited responses. am: 7c9f625c8b am: 001971111b
am: 68d5937623

Change-Id: I615864809de427609c9130dfe4601ea9803e4235
d7d2e3d3b0fb917fb70a3ac3ad0cd361a4be8868 02-Feb-2017 Amit Mahajan <amitmahajan@google.com> resolve merge conflicts of cab8ee3f8 to nyc-mr2-dev-plus-aosp

Change-Id: I2db7f196a4e13cf3ac7635e84e1bdd6bc86b6650
37a3e51d244774ba156a88cf101432b62c8a42a3 24-Jan-2017 Jack Yu <jackyu@google.com> Renamed voiceNetworkStateChanged and dataNetworkStateChanged

The misleading voiceNetworkStateChanged should be renamed
to networkStateChanged to reflect either voice or data
network changes will trigger this indication.
And dataNetworkStateChanged should be renamed to
dataCallListChanged as well.

Test: Build
Change-Id: I5839efc3bdaf137310238790221c8ba93794bde3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5f853dbfcb3bf57d1fedddebf2c12caf1abc298a 29-Dec-2016 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL unsolicited responses - 2

Test: Basic telephony sanity (voice call, sms, data, APM)
Bug: 32020264
Merged-in: Id58f2b24ca035a81695382210ea54656509afb00
Change-Id: Id58f2b24ca035a81695382210ea54656509afb00
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
7c9f625c8bb16eb6917b239152dbfd508bebd80b 19-Dec-2016 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL unsolicited responses.

Test: Basic telephony sanity (voice call, sms, data, APM)
Bug: 32020264
Merged-in: I94300f56cd46bdad81271cb44113bcc72591394f
Change-Id: I94300f56cd46bdad81271cb44113bcc72591394f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
13b2867e7d74a0234735502c4f922a281c8b0438 16-Dec-2016 Sanket Padawe <sanketpadawe@google.com> Convert RIL java side to HIDL client.

Test: Basic telephony sanity tests (voice calls, data, sms, APM).
Bug: 32020264
Merged-in: I62aac69193563250107c55ced74bc5aa4ea0b5d4
Change-Id: I62aac69193563250107c55ced74bc5aa4ea0b5d4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fb68b65a88cef22254c84353bcb4b260cedaffa1 02-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Adding simple radio service and callbacks." am: 0fa386c527 am: 1960c84a8b
am: 6525c6f46d

Change-Id: I168a05d766af5776ab2890ac542ec713553c91df
246295a9ce6d2ae2613ff95b3e85ea1c0406d164 25-Aug-2016 Amit Mahajan <amitmahajan@google.com> Adding simple radio service and callbacks.

Test: Sanity tests by telephony test team.
Bug: 32020264
Change-Id: I70552a681006ec46c901bdafb9d346c559ba5ec9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fd7ad6fa6ed0e7dc6bf185e6a16bf684695f9d59 24-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixed typos"
830fd512e13552f2077fed57bc726412a691e9fc 24-Jan-2017 Amit Mahajan <amitmahajan@google.com> Merge "Exception and death notification handling for IRadio."
b83528485c4fc93aa5dbaf557bb81a5bdcd0564c 21-Jan-2017 Jack Yu <jackyu@google.com> Fixed typos

Just fixed some typos

Test: Build
Change-Id: I1ea1f43dae44fcece5805d3e15d650cfd2fdbf8b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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/RIL.java
0012abc0db410ba41a198fc5bbcaae77b60ace51 20-Jan-2017 Amit Mahajan <amitmahajan@google.com> Exception and death notification handling for IRadio.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: Id0ea4ca839cf67d3810bdec91814199005e03794
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
d48adf544475a1d20c0a349aa97664b71de0318b 20-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "resolve merge conflicts of e8bc7318a to nyc-mr2-dev-plus-aosp" into nyc-mr2-dev-plus-aosp
5c108985d4207a21a615b8e5bd07473e4fc2e543 20-Jan-2017 Naveen Kalla <mrnaveen@google.com> resolve merge conflicts of e8bc7318a to nyc-mr2-dev-plus-aosp

Test: Build verification

Change-Id: I47c872a999652597345ca63bfcce0dd1c7a9c412
710bbef96c22f919186c66cea26da81c4d927e90 19-Jan-2017 Polina Bondarenko <pbond@google.com> ril: add a checkNotNull for setAllowedCarriers params.

Bug: 33480084
Test: compile

Change-Id: I7db463588b01f4ad3b377f4c1dcc9f63063121b1
Merged-In: I7db463588b01f4ad3b377f4c1dcc9f63063121b1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e8bc7318a99df70227294bfffadb883fe10f3225 02-Dec-2016 Naveen Kalla <mrnaveen@google.com> DO NOT MERGE: Collect telephony metrics for CS Calls.

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

Bug: 32885463
Change-Id: I0191f30a691bb0496600cba608387b06e7b3d6dd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5ecf50e3983045c077ed9e07af53cf7d42b6f8cd 19-Jan-2017 Polina Bondarenko <pbond@google.com> ril: add a checkNotNull for setAllowedCarriers params.

Bug: 33480084
Test: compile
Change-Id: I7db463588b01f4ad3b377f4c1dcc9f63063121b1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
a2dc503a98b1a399328994c9010683c33bcf6bca 18-Jan-2017 Tamas Berghammer <tberghammer@google.com> DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"

This reverts commit ac3e61c9cb50ea674704430c770389a61c7d19b6.

Change-Id: Iad4b8e7e9375d8f15fe091503045fee74330f806
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
21c9e33b0a3e19ee70ddf0301469f4c58b57d14c 05-Jan-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL unsolicited responses - 3

Test: Basic telephony sanity (voice call, sms, data, APM)
Bug: 32020264
Change-Id: I0e29c592c56b4ca2937fe54ac61bbc7057253ad8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8fef426fd45393631987dbf54ad5233fd7b9dfde 29-Dec-2016 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL unsolicited responses - 2

Test: Basic telephony sanity (voice call, sms, data, APM)
Bug: 32020264
Change-Id: Id58f2b24ca035a81695382210ea54656509afb00
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e7c29ee85e324289d247d6e28a8c1a216c3658c4 19-Dec-2016 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL unsolicited responses.

Test: WIP
Bug: 32020264
Change-Id: I94300f56cd46bdad81271cb44113bcc72591394f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
d60a877c59822d2157b8af86f2c3834b04011051 16-Dec-2016 Sanket Padawe <sanketpadawe@google.com> Convert RIL java side to HIDL client.

Test: Basic telephony sanity tests (voice calls, data, sms, APM).
Bug: 32020264
Change-Id: I62aac69193563250107c55ced74bc5aa4ea0b5d4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ac3e61c9cb50ea674704430c770389a61c7d19b6 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
(cherry picked from commit 9460a22f3c1ae70dde80e34557d7011be113b39a)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c3242d2257c479fed9288dad3103e7697d9c75c6 25-Aug-2016 Amit Mahajan <amitmahajan@google.com> Adding simple radio service and callbacks.

Test: Sanity tests by telephony test team.
Bug: 32020264
Change-Id: I70552a681006ec46c901bdafb9d346c559ba5ec9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9460a22f3c1ae70dde80e34557d7011be113b39a 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
1bb5864a6f2047b41da9ba6551ee4acfec4d7dd1 14-Sep-2016 Naveen Kalla <mrnaveen@google.com> Log Telephony Event on receiving RIL_UNSOL_MODEM_RESTART

RIL_UNSOL_MODEM_RESTART will be sent by vendor RILs when it detects
a modem restart along with the reason for restart which could be a
crash signature if the modem restarted due to a crash or a some
other string such as a user-initiated restart or AT command
initiated restart.

Test: Modified vendor RIL to send modem restart unsol message and
verified that the event is logged, added a test in TelephonyMetricsTest
and ensured all TelephonyMetricsTest tests pass

Change-Id: I6bc045341be59ac45cc2a8dd83bdbb3748352c0d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
10976fc57300bbebd3067ca1a6d5fe273390faf0 29-Sep-2016 Sooraj Sasindran <sasindran@google.com> Correct the wakelock count while attributing for a request

Correct the wakelock count when a request response is received and
corresponding wakelock count is decremented.

Account for wakelock timeout during which wakelock is released and
all corresponding clients are released from the clientTracker.

Test: Through logs confirmed that the wakelock decrement is happening
correctly

BUG=31798717

Change-Id: Iec6ba6d8060620915c704b5086d18a776073b10c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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
5a5f4877b963501bc89f0b7e2d82ee2f36fc23a3 30-Sep-2016 Jack Yu <jackyu@google.com> Combined TelephonyEventLog and part of the connectivity metrics app into the new TelephonyMetrics am: f2d0fa6486
am: dc16d0f315

Change-Id: I62673b8b7019cd7c7e921c46738d24f68973e423
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/RIL.java
8e2a1c76f67ebaeebd8401c4ebf7d0515b522d5e 18-Jul-2016 Sooraj Sasindran <sasindran@google.com> Expose api to retrieve wakelock information per client

Expose api to retrieve wakelock information per client
Provide calling package name in cell info apis

BUG=31041780
Change-Id: Id8ca0006478212c006a103b83fb720532e9c0fab
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
1b90799284785b26b0853ae367cac139ba37e18b 11-Jul-2016 Naveen Kalla <mrnaveen@google.com> Attribute wakelocks held by RIL to clients

Telephony services are requested by applications and other
services in the Android framework. Attribute the wakelock
held time to the applications and services that requested
the particular operation.

If multiple clients are requesting for a service at the same
time, divide the time equally between all the requests

BUG=31041780
Change-Id: Id5521809d5a4324c1bd9dc229a743033886b35a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c9bbc400f8e9c2482207a63854f3bcf6fd4614e2 08-Jun-2016 Sanket Padawe <sanketpadawe@google.com> Merge \"Move ACK_WAKE_LOCK_TIMEOUT log to verbose mode.\" into nyc-mr1-dev
am: 876e81e4eb

Change-Id: Id4e10a0d6e97ef318cf60502c7c4ecad23e98e2b
34dffd7066bcf421829e249f56288bc33735eaf4 04-Jun-2016 Sanket Padawe <sanketpadawe@google.com> Move ACK_WAKE_LOCK_TIMEOUT log to verbose mode.

Bug: 29127300
Change-Id: I4ed9d89c0c651a00fc6c37cb5e07043d30ebf20f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
7603f7f791a9fd90d009e6eb19b719a8d9a5b1a5 03-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Merge "Add support for UNSOL PCO Data." into nyc-mr1-dev
am: 3630d6b29d

* commit '3630d6b29d5bc73f3032127370d0ecc9c33c70ea':
Add support for UNSOL PCO Data.

Change-Id: I0539ff6d98752f23d552ae688e67bc366ac23013
4b4d80db8a8d447d3c1110831c2a821a2bd2a186 02-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Add support for UNSOL PCO Data.

PCO is a container in data-call responses with a range
of optional fields devoted to carrier-proprietary signalling.
This change includes a class to contain this opaque info on
its way to carrier apps.

bug:28961371
bug:28567303
Change-Id: I8ad4e8e56f71d29a7dce52074959459b3063e103
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8884f7791a88f0357729ec8f8572ec0fe9528073 26-May-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Fix race condition leading to crash in RIL.java." into nyc-mr1-dev
am: f198c12600

* commit 'f198c126005e2aa992af485d1c716c36b1b84dfc':
Fix race condition leading to crash in RIL.java.

Change-Id: I7426f57515a21fce68c1db884b1f88c2a8581304
f198c126005e2aa992af485d1c716c36b1b84dfc 25-May-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Fix race condition leading to crash in RIL.java." into nyc-mr1-dev
d0fdd8bd6ab1261ad474a3e7cddcc99090613931 25-May-2016 Sanket Padawe <sanketpadawe@google.com> Fix race condition leading to crash in RIL.java.

+ Crash occuring because of using RilRequest object after releasing it.

Bug: 28855244

Change-Id: Ieb337a2403ba76de37c4f06a99845709863f19b9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2595a568c9929e90b45674c0b116274afb745dae 21-May-2016 Meng Wang <mewan@google.com> Merge "Add setAllowedCarriers, getAllowedCarriers to Phone and RIL" into nyc-mr1-dev
am: c3425e3d02

* commit 'c3425e3d0296010427ac478a13b98245251b2c62':
Add setAllowedCarriers, getAllowedCarriers to Phone and RIL

Change-Id: I41f6feadbf39e32ce7b6485c7a2492944cf80f62
c3425e3d0296010427ac478a13b98245251b2c62 21-May-2016 Meng Wang <mewan@google.com> Merge "Add setAllowedCarriers, getAllowedCarriers to Phone and RIL" into nyc-mr1-dev
f0c5480a6429817b05f22a450c216399c1c1349a 20-May-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Collect telephony RIL commands metrics." into nyc-mr1-dev
am: 1a899ad469

* commit '1a899ad469618efe4e08362f99a1ab1aa03cffe3':
Collect telephony RIL commands metrics.

Change-Id: Ifce4c713f5e33da051bc3a6f36aacb9aef08f61d
40659286ac42ec77bbe7893830bd50c06f393ee8 11-May-2016 Meng Wang <mewan@google.com> Add setAllowedCarriers, getAllowedCarriers to Phone and RIL

Bug: 28564314
Change-Id: I52be8bc7b2f74af9af2a1e3364d4ea33bb806681
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
d506d3daaa7f7ec94fdffcf31cb906b385534127 17-May-2016 Sanket Padawe <sanketpadawe@google.com> Collect telephony RIL commands metrics.

Bug: 28717269
Change-Id: Ic1fb35fde03add6d3632738dcdc1e4112a39bf25
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fda1093ce83c430f30ed244b08111b95e789864f 16-May-2016 Yifan Bai <yifan.bai@spreadtrum.com> Merge "Screen state cannot be updated while modem was reset." am: 21fa6126f6
am: ff1d36bf9b

* commit 'ff1d36bf9b2993c8e528e566cea28a6b322f7f88':
Screen state cannot be updated while modem was reset.

Change-Id: Iddf73c0c28462e2a16aff3e6926e6ca7740f829c
6a39d8c99e6822ecb3dd447a993b68d5dc704ea4 02-Apr-2016 Yifan Bai <yifan.bai@spreadtrum.com> Screen state cannot be updated while modem was reset.

When modem was resetting by modem assert, and user turns off the screen
before RIL was reconnected, screen state cannot send to modem. This
could lead to the signal strength keep reporting and high power
consumption. Therefore, screen state needs to be checked again when RIL
is connected.

Change-Id: Ia3ede8670d0a962ca32a775ea79100d550be914f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6b2c435543ea191cf0148f8c76fcfed9f7ae2679 26-Apr-2016 Sanket Padawe <sanketpadawe@google.com> Fix NPE at TelephonyEvenLog in RIL.java

Bug: 27743675
Change-Id: I8974c217a36f8bb69e67cd1e2cfa383faa7a32e1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
d39109502855e8d81e45e21161d8bf0cfacf42e0 20-Apr-2016 Sanket Padawe <sanketpadawe@google.com> Dump NITZ time info contents in bugreport instead of printing array object.

Bug: 28266018
Change-Id: I0ec7b187523db095eb6d1af4ba4bbc7f23a9bbbb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
32c5d16886f6ae4f250e4597fe5e70583ea5d912 04-Apr-2016 Nathan Harold <nharold@google.com> Limit Blocking Time for TelephonyManager.getModemActivityInfo

-Add new delayed message handler EVENT_BLOCKING_RESPONSE_TIMEOUT
that will ensure a specific REQUEST sent to RIL is no longer
pending for a response. If a response is pending, this timeout
will generate and return a default error response to unblock
blocking calls. If RIL subsequently returns a response for the
request, it will be discarded.

-Create a default blocking timeout of 2 seconds

Bug: 28007638
Bug: 26842468
Change-Id: I92e028476522f7604626f3670f2f63e5bb64deec
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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/RIL.java
3464cbb60f1bf1127fd9e10efb05925f6f911b37 07-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Timeout associated with ack wakelock should be 200ms instead of 20sec.

Bug: 22127517
Change-Id: I7384edb12fd11f5b44e2995589146db364143d0a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c629786a6945942c286e513e36dd6a7e44e37771 17-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Additions to ril wakelock symantics." into mm-wireless-dev
a05275d90833d2ff26a2571e2cc0f2ea91fd2b43 17-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Additions to ril wakelock symantics.

+ Add logs for ack
+ Use different wakelock instance for ack sent.
+ Send ack only for unsolicited messages which have taken wakelock in ril.cpp

Bug: 22127517

Change-Id: I74767ae788d7cba9aeedbfdf7e00746565c7fdc1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
4d3af373fc074bdde5e6ceb521b5e7e19bbbd8ae 10-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Set user callback message in setInitialAttachApn

Set user callback message in setInitialAttachApn instead of
setting null

Bug: 22849023

Change-Id: I576ac109ef8230e91b075770f3da97f08f1744d0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
874b62e43a2390c8b07cbbab40675a6c9a387398 30-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "Modify CommandsInterface.setupDataCall()" into mm-wireless-dev
5d5ec64fcd293928776aebe5c92278afb5bc019d 29-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Modify CommandsInterface.setupDataCall()

- Change numeric parameters from String to int
- Move inside conversion of radioTechnology from RIL_RADIO_TECHNOLOGY_*
constants to values expected in RIL_REQUEST_SETUP_DATA_CALL parameter

Change-Id: I12e98c59ef115ee8d2454560a7a787e74dc95f49
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
7d905156e7cd4262812c26b7199cc4f761032c9b 29-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Wakelock needs to be decremented for solicited response." into mm-wireless-dev
2af618a3becdcbbd49a1339d68e0ef8f35890a27 29-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Wakelock needs to be decremented for solicited response.

Bug: 26832978
Change-Id: I68e309745471132230ecbf2489b64d30f0770dca
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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/RIL.java
060a6f0ba56dde532a9b9b28d4302df86a556691 22-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Improve wakelock symantics

Bug: 22127517
Change-Id: I7c0c669bc133b7334becc454e6a80a1638ebae6f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5054dfa7fd9b0520d30a102ed5a2107af11590c8 12-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Use TelephonyEventLog to send events to TelephonyDebugService

Send following:
- RIL Data call events
- RIL Voice call events
- RIL SMS events
- Service State changes
- IMS call events

Change-Id: I865d8852982aca03b770e8712aac707afecb0f79
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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/RIL.java
bdbd98133976d44126008a745eda8c0309bce6f5 08-Oct-2015 Sungmin Choi <sungmin.choi@lge.com> Get display manager state after registering with DisplayManager

RSSI bar and Signal Strength are not changed when power up.
In booting time, RILJ does not receive any onDisplayChanged().
Thus ScreenState send false in updateScreenState() even if screen on.
So get display manager state after registering with DisplayManager.
As a result, mDefaultDisplayState set proper value.

Bug: 24748088
Change-Id: I8a56810a2a1e6b294d2ce2f3bc5837114312fc49
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f33aaa6aef82c4faa90f8f2f595e698c3db78290 13-Aug-2015 Junda Liu <junda@google.com> Don't set prefer network type on RIL connected.

Bug: b/23187758
Change-Id: Ie60893290665f0dc670571c6eccc07040cee1e37
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
10ac1062bbbab073205855fef38f6a1afb241002 13-Jul-2015 Nathan Harold <nharold@google.com> Fix NPE in Ril when RIL_REQUEST_SIM_AUTHENTICATION returns NULL

bug: 22457261
Change-Id: I5aad5ffd41527652c560e934eb0e154f0e0bfdca
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
33cfb500a7cf192adfc5ca06792fe3847073b6c1 15-May-2015 Chao Liu <yjl@google.com> Store the optional vendor cause string returned by RIL in telephony
Connection object. We'll pass it to Telecom, which could be used by
clients.

Original partner change:
https://partner-android-review.googlesource.com/#/c/215709/

Change-Id: Icc2efeb35fbbaa59c4ecec5c97e776fe7e414fd3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
27eef341b171f925ef43dd088cc559280fd7d2b9 28-May-2015 Prerepa Viswanadham <dham@google.com> Activity info and stats from modem

Change-Id: Ib00c317d8571a318491e91d79ba42577af5485a4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
186c297bf39700f4e6b9781a8cbdbe6b23db3768 02-May-2015 fenglu <fenglu@google.com> LCE feature enhancement

start LCE service when radio state changes from unavailable to available.
cherry pick from mwd to mnc-dev
capacityDownBps --> capacityDownKbps name nit fix

Bug: 21307951
Change-Id: I0a966440bbddff87417cbea12f46583657e0b1e7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
3ad0c75dac907e8490b78d6fd8c0278d28b96f84 08-May-2015 Robert Greenwalt <rgreenwalt@google.com> Add support for static RadioCapabilities.

Some RILs don't support RIL_REQUEST_GET_RADIO_CAPABILITY. Add
code to RIL.java to notice a REQUEST_NOT_SUPPORTED response and
check config.xml (config_radio_access_family) for a static answer.

Also catching GENERIC_FAILURE responses because Hammerhead modem
returns that. B 21079604 created for this.

If neither Modem nor config.xml provide data, uses RAF_UNKNOWN
so we don't lie about capabilities and also so we fail fast
(setPreferredNetwork won't work).

bug:20561357
Change-Id: I2ded369af9b38420b9f91d63a542ae08eb925d6d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e694c1d4e5fd58c5ee2eebcc057bd0586022bcd7 04-May-2015 Yao Chen <yaochen@google.com> Let RIL not tell baseband that screen is OFF if the device is plugged.

We want to keep radio signal updates on when the default display is OFF
but the device is plugged. This change allows Android Auto to continue
receiving radio updates and show true signal states on its
virtual display.

Change-Id: Ibacd4692a9913836b7e82c424f7b57b34f807a64
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
a5ea9112a448ee8a51df1a2317457ae560a191f2 07-Apr-2015 Robert Greenwalt <rgreenwalt@google.com> Clean up the switch state machine.

Handle inputs while in any state. This is made much easier by removing
the synchronous calls - any time you find a synchronous call into a state
machine you're doing something wrong.

Also rework the timeout system - it was bad in that it injected the
new session id whenever you start an new session so old timers were
always acted upon.

Also should eliminate/reduce the duplicate ALLOW_DATA RIL calls.

bug:20076867
Change-Id: Ibabd76fad0759dd9c403ac8ee017958e38df56a5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
0349fc63faa1e63848cba7718c5002d53e6b0451 20-Feb-2015 Stuart Scott <stuartscott@google.com> Set sub info to modem after capability switch.

bug:19301751
Change-Id: I9a99a36c02144c181aaa1e55798e10b53aab213a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
eb974b05e0ceae8d08b31ad9118872dd456694fe 22-Apr-2015 Robert Greenwalt <rgreenwalt@google.com> am fa308224: am a2f372ce: am e9b0fcbc: Merge "Telephony: Fix call forward info logging."

* commit 'fa3082245e856e65422980acba878df0aa12fc6e':
Telephony: Fix call forward info logging.
a2f372cecfd08d931a163e0558367ad39e0583d1 22-Apr-2015 Robert Greenwalt <rgreenwalt@google.com> am e9b0fcbc: Merge "Telephony: Fix call forward info logging."

* commit 'e9b0fcbc79c39445c0a270dd9dbd08146d05c404':
Telephony: Fix call forward info logging.
e20154713e46216e5033af2339490321dc9ca1bf 19-Jun-2013 Gao Rong <gaorong.dawn@gmail.com> Telephony: Fix call forward info logging.

Currently, QUERY_CALL_FORWARD_STATUS would use array to store call info
response, from BP side. So RILJ would just show the array hash code
instead of each field in the array, it would like this:
< QUERY_CALL_FORWARD_STATUS [Lcom.android.internal.telephony.CallForwardInfo;@41573f30]

This code change would parse the array field one-by-one, and show
each field in RILJ, like this:
< QUERY_CALL_FORWARD_STATUS { [not active reason:0 serviceClass:255 'null' 0seconds] }

This is very helpful for developer tracking call forward related issues.

Change-Id: I5485578c70f5344c75294d56583896a2d87d5d29
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
65bee39d7e417fb898c3948696d5d8a38046c449 20-Mar-2015 fenglu <fenglu@google.com> LCE service implementation - tele service side

-redesigned based on ConnectivityService/NetworkCapabilities

Change-Id: I54074234e1117b41eb6ff761ead9241928585fc6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
0e42864afb21261d6bd2e9b4aa97f6d01d039a25 23-Feb-2015 Yashdev Singh <yashdevs@codeaurora.org> Telephony: Implementation of IWLAN

- Allow registration polling in radio off state.
- Disable default APN if current RAT is IWLAN.
- Allow non-default PDP activation in radio off state provided
current RAT is IWLAN.

Set data registration state in APM for IWLAN RAT
- APM causes data registration state to be POWER_OFF. Set it
to IN_SERVICE for iwlan case
- In APM, UNSOL_VOICE_NETWORK_STATE_CHANGED resets data RAT and
registration state to POWER_OFF. Ensure that this is done only
when current RAT is not IWLAN or when iwlan feature is not
available.

Change-Id: I419f3df987ef90bb5f31b0e381257a81dcc57c3b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
4084e10843c7e643c13773b36be85fe59ea49992 16-Feb-2015 Sanket Padawe <sanketpadawe@google.com> Reverting change which uses spnoverride to set ONS.

Bug: 19386079
Change-Id: I1417d55415be88a90c350fbe2533889630117503
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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/RIL.java
7e7d2b34010bf24a70bbf40303c7a4606c438ada 04-Dec-2014 Stuart Scott <stuartscott@google.com> Default data should connect on user's preferred network type

bug:18416275
bug:18415493

Change-Id: I14bce5520af67f038f43920a4454275c5a7e8a9f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
4e7f34de0e226703fadd1f30f9976bb426c5166b 11-Nov-2014 Stuart Scott <stuartscott@google.com> SubscriptionController uses RAT families to control default data

bug: 18417009

Change-Id: I0c016db0c5adce6e28fc3ffb713d4a4c4d270b51
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
09b65da3b46e18c8acc146d722047ba2fb161bfe 19-Oct-2012 Preeti Ahuja <preetia@codeaurora.org> STK CC feature implementation

Support to display the current request is changed by STKCC.
Support to display alpha messgae from STKCC.
Support to display informatiom from new SS message.
Add FLAG_RECEIVER_FOREGROUND to alpha broadcast intent.

Bug: 17646476
Change-Id: I89671830eeef62a48e3133a2e3afbdeb096ecf3c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
952f6df569fd0dffdb0600c20ff383a02e64a038 13-Nov-2014 Amit Mahajan <amitmahajan@google.com> Maintain NITZ info in RILJ so that it can be used even after phone type is switched.

Bug: 18071327
Change-Id: Ib1aa4ab375219dc37e51e5cbe430de5cec5eadce
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
22f63e1953ccb581cb89585e4ab77eda185c1897 30-Oct-2014 xinhe <xinhe@google.com> add Cell broadcast Message debug log

Bug:18176874
Change-Id: Ibe17b2c7af89b2695a95d786bfcdde634b90f048
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fc93067f7ab07b39b4eb1cb4fb3ea4e0f769f023 23-Oct-2014 Legler Wu <legler.wu@mediatek.com> Radio Capability Support.

Add missing code.

Change-Id: Id23e36d606e55a80be865c2e9c091af896c08b58
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2b40e6226b4b71408964bca46f0a9f256cd4f523 18-Oct-2014 Wink Saville <wink@google.com> Radio Capability Support.

New design of capability switch for L.
Add new RIL requests:
RIL_REQUEST_GET_RADIO_CAPABILITY
RIL_REQUEST_SET_RADIO_CAPABILITY
RIL_UNSOL_RADIO_CAPABILITY

These commands allow the framework to communicate what the Radio
Capabilities for each logical modem has or should be using.

It can support 2/3/4G switch and has flexible architecture to support
future technology.

Change-Id: Iedf7f608d2ba3c06a883500f2d85abb98e69d9c1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
3122b0f0acdeb87a29907107efaa4ed7028269dd 17-Oct-2014 Mohamad Ayyash <mkayyash@google.com> am cbb9298b: Merge "ril: Fix update screen events." into lmp-dev

* commit 'cbb9298b084b89d794eca0aae4e6997076e68284':
ril: Fix update screen events.
cbb9298b084b89d794eca0aae4e6997076e68284 17-Oct-2014 Mohamad Ayyash <mkayyash@google.com> Merge "ril: Fix update screen events." into lmp-dev
b9597d030e970e13e1c399301e671542b52db3b5 16-Oct-2014 Mohamad Ayyash <mkayyash@google.com> ril: Fix update screen events.

- Handle invalid states in updateScreenState.
- Call updateScreenState in onRadioAvailalbe instead.

BUG: 17991196
Change-Id: I567aa74b1dd6b4bbadb273c05296fe82be575f7f
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2f5d7186151a4fbc39fa676e14366c73d023e02d 15-Oct-2014 Amit Mahajan <amitmahajan@google.com> am 7b960c8a: Hide sensitive payload from logging.

* commit '7b960c8adc35113c6eb3fad6cdfe32c2169d380b':
Hide sensitive payload from logging.
7b960c8adc35113c6eb3fad6cdfe32c2169d380b 14-Oct-2014 Amit Mahajan <amitmahajan@google.com> Hide sensitive payload from logging.

For:
RIL_REQUEST_SIM_OPEN_CHANNEL
RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL
UNSOL_STK_EVENT_NOTIFY
UNSOL_STK_PROACTIVE_COMMAND

Bug: 17984085
Change-Id: I8b83ae0d85792636bae0b7e0f57b0ea6e5cb33d9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2183de15ae39469ae20c8a3af6eca2589cdbddf5 08-Oct-2014 Jeff Brown <jeffbrown@google.com> am 63848d36: Merge "Notify modem about screen on/off states more precisely." into lmp-dev

* commit '63848d3691b01bb253989a5cacf4d2fa56883bb5':
Notify modem about screen on/off states more precisely.
80795c239d6281db5fbf0f5a23494bfa3fb938f5 03-Oct-2014 Jeff Brown <jeffbrown@google.com> Notify modem about screen on/off states more precisely.

The SCREEN_ON / SCREEN_OFF broadcasts are no longer adequate for
monitoring the screen state since they are not sent in cases
where the screen is turned off transiently such as due to the
proximity sensor.

This change uses the DisplayManager to watch for screen state
changes to tell the RIL that it can stop sending signal strength
updates.

It's worth pointing out that the RIL should *not* be watching for
screen state changes in the first place! We should create a
new API to more precisely specify the behavior to be controlled
and the signals which govern that behavior. But this change
should be good enough to save a little more power today when the
screen is off due to the proximity sensor.

Bug: 17821361
Change-Id: Ide77e04c3b2cadefc44ef5e51bd958f25a4a3d62
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
b98d8ea9fe653ab34824ed78498459bdfa6fc501 02-Oct-2014 Amit Mahajan <amitmahajan@google.com> am de9bf648: Merge "Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE" into lmp-dev

* commit 'de9bf648fb2dfc768ec73d207ea49379814dfdda':
Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE
6ad88a8a2caf739e78c8d5f7f50fc7fa84a07ca7 24-Sep-2013 Chaitanya Saggurthi <csaggurt@codeaurora.org> Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MORE

1) New commandinterface API sendSMSExpectMore to send sms using
ril request RIL_REQUEST_SEND_SMS_EXPECT_MORE.
2) sendSMSExpectMore API to send multisegment sms pdu's except
last pdu in GSM. In case of retry use sendSms even for
multi segment message, because don't know how many
segments are failed to send

Bug: 17570854
Change-Id: Icfc200a9c9c5940f0e10668b4385d1633a6c943b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e314d86692c56e60d7c42d8f0c7212c1e06ff628 05-Sep-2014 nfjb73 <nfjb73@motorola.com> am 004f7009: Fix incoming call name presentation

* commit '004f70095ae49451757f89dfafce2b26294a5f32':
Fix incoming call name presentation
004f70095ae49451757f89dfafce2b26294a5f32 14-May-2013 nfjb73 <nfjb73@motorola.com> Fix incoming call name presentation

According to ril.h, namePresention should be handled as
numberPresention as they are using same value scope. In RIL.java,
only numberPresention is matched to that definition in DriveCall,
but namePresention is not matched.

Bug: 17327806
Change-Id: Iba985cbef98318181f93a9eab740db3d23a49a10
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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/RIL.java
03586878fb3d870373f2fdf65afb81cc5ae97067 02-Aug-2014 Naveen Kalla <nkalla@codeaurora.org> Send Shutdown Request to RIL.

Send RIL_REQUEST_SHUTDOWN to RIL when device is shutting down.
RIL can use this request to shutdown the SIM card and modem gracefully.

Bug: 9773278
Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fb45e95982cccd51fe105b5df1942dabae5d7db6 16-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Configure MTU based on network PCO MTU parameter" into lmp-dev
e9701717e43cc5aacbcf624f77a53be92350662c 08-Aug-2014 w19976 <w19976@motorola.com> Configure MTU based on network PCO MTU parameter

Add logic to obtain the mtu from the network PCO parameter and set it to kernel
when the mobile data connection is established. When there is no PCO mtu configured
from the network, the mtu size defined in the corresponding APN will be used. In case
no mtu size is defined for an APN used for data connection, the MCC/MNC based MTU
defined in the framework overaly will be applied.

bug:17046179
Change-Id: I6465d4b8f2076aaa380ae3617fb3f24adbe136d4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c862ea7172855fa77cece249e90cbe9a7056e4d5 15-Aug-2014 Vinit Deshpande <vinitd@google.com> Merge "Enable EAP-SIM end-to-end" into lmp-dev
cf916cfb2b4d8282def13e4553abff2ea73aca2b 14-Aug-2014 Vinit Deshpande <vinitd@google.com> Enable EAP-SIM end-to-end

This change fixes encoding of messages and updates authContext choice
to enable EAP-SIM authentication.

getIccSimChallengeResponse() API needs more restructuring; opened
a bug (17033378) to track that change.


Change-Id: I303084f45d307897da81816b7d70d5257bd02e45
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9d4ec7d45061f1da05f16cd244eb0a798e7f36bb 13-Aug-2014 Amit Mahajan <amitmahajan@google.com> Revert "Revert "add apn setting parameters, and set apn parameters to bp""

This reverts commit 01f27d2c616797e5ba821159f8aca7b75aa54ae1.

Change-Id: Id9e7cf180092f320f635084f805b97f6409d0f03
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
01f27d2c616797e5ba821159f8aca7b75aa54ae1 12-Aug-2014 Amit Mahajan <amitmahajan@google.com> Revert "add apn setting parameters, and set apn parameters to bp"

This reverts commit f4b74430a8c22ab58c3fbbd6c9e7a594514a8615.

Change-Id: I1f300741d858ff39ae573e576479613b084e4616
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f4b74430a8c22ab58c3fbbd6c9e7a594514a8615 10-Aug-2014 Hui Wang <huiwang@motorola.com> add apn setting parameters, and set apn parameters to bp

Change-Id: I395b499eb0730894620614b3261bb6a784d53f46
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8f19c6d717bf0e00aeb33552a570a0f60af0ce3b 30-Jul-2014 Amit Mahajan <amitmahajan@google.com> Change to parse DataCallResponse correctly based on version.

Change-Id: I9c6dfb41f074da9558f721ca0432f40edc2d4d22
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ce083ae9d277bea9fbc1c143766adf1013f4a50e 02-Jul-2014 Amit Mahajan <amitmahajan@google.com> Changes to add new parameter for Sim Authenticate

Change-Id: I393c18f878fe3e5efcd81543a9a38a4c353b6e03
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
2fbca951019df69146cf472adadc05c5c2ef4a32 26-Jun-2014 Amit Mahajan <amitmahajan@google.com> EAP-SIM RIL command name change.

Modified the name to match what was in QCRIL.

Change-Id: I41abfacb7bacd4cfa0d4543100ac9960c97184f9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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/RIL.java
8a3cf2d80c0cdee7360404dd0ac08ca6f9a7e246 30-Apr-2014 Derek Tan <derektan@google.com> Correct the comment in queryAvailableBandMode.

The correction is based on RIL_REQUEST_QUERY_AVAILABLE_BAND_MODE defined
in ril.h and my experiment.

Change-Id: I1610bde07d9345c96c6962d2032130d36c5eecf8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
d17387e87e60773f98981e633fd9937e27444b16 24-Feb-2014 Jake Hamby <jhamby@google.com> Merge "Remove unneeded new RIL command."
b25da36f791607b5fc9a68ae01dd8c5ea1d5652c 19-Feb-2014 Shishir Agrawal <shishir@google.com> Setting the Preferred Network Type correctly on SIM restart.

Currently the GsmServiceStateTracker sets the preferred network type to the
last set network type which can cause issues during a SIM swap/reset if the
network type changes. The CdmaServiceStateTracker does not set this value at
all.

This change modifies this behavior to set the preferred network type in the
same manner it is set when a phone reboots.

Change-Id: I88d61a5d545bdbaa4e4400f5f9e4af8f99dc5d2e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f4016c89cdb71c75b63b73a9f6d5b84681307142 06-Feb-2014 Jake Hamby <jhamby@google.com> Remove unneeded new RIL command.

Remove the recently added RIL_REQUEST_SET_RADIO_MODE command and update
the definition of the RIL_REQUEST_NV_RESET_CONFIG parameter.
Also, space out the NV item enum values so we can add new items per category.

Bug: 12864208
Change-Id: I1201c92198a8cd7e169efe7055b58259d975309b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9e2cb6350e698eaefe393cd652e0d0e264682d6e 15-Jan-2014 Jake Hamby <jhamby@google.com> Fix sending int params to new RIL calls.

For the two new RIL calls that send ints, we need to parcel the number
of ints (1) before the actual integer param.

Bug: 12864208
Change-Id: I7ddd0ed9d4278d1a23053cf9dbb05aded98127a0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f28ac81ec36df38307648d404cff4b2b11f46861 15-Jan-2014 Jake Hamby <jhamby@google.com> Add new RIL commands to read/write and reset NV items.

Add new RIL commands to read/write and reset NV items.
Used by some operators for CDMA band config and PRL update.

Note that this CL depends on a typo fix in the corresponding
frameworks/base change and packages/services/Telephony depends
on a typo fix in this CL.

Bug: 12864208
Change-Id: I3081619a82af698a3197ce23870bf4de248fb3e7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c6685a68c55405300c798c087d95a882de54b900 24-Dec-2013 Shishir Agrawal <shishir@google.com> Do not rely on channel id to determine basic vs logical sim channel commands.

For the RIL commands RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL, and
RIL_REQUEST_SIM_TRANSMIT_APDU_BASIC we should not assume that the channel id 0
implies a logical channel.

Change-Id: I4cb9f53936dcaed39d9f0097406c69df0ae6e04c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
dc0a7a65c806fd58baa5e189227f1d302d51c0a6 05-Dec-2013 John Huang <jsh@android.com> am 9e6a8351: Merge "RIL changes for supporting generic SIM communication."

* commit '9e6a8351f1ee21e7dd7d30583c7085fcbeb3a863':
RIL changes for supporting generic SIM communication.
40d1d394302d83eb56f66cf08daecc612c97cd28 28-Nov-2013 Shishir Agrawal <shishir@google.com> RIL changes for supporting generic SIM communication.

Exposes four new commands through RIL.java:
- RIL_REQUEST_SIM_TRANSMIT_BASIC (AT+CSIM - TS 27.007)
- RIL_REQUEST_SIM_OPEN_CHANNEL (AT+CCHO - TS 27.007)
- RIL_REQUEST_SIM_CLOSE_CHANNEL (AT+CCHC - TS 27.007)
- RIL_REQUEST_SIM_TRANSMIT_CHANNEL (AT+CGLA - TS 27.007)

Change-Id: Iee4d950d37a6097493cd945e611c914c40827215
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ace9a749c5a2a5e07527f728b7331423d16c36cd 30-Oct-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> SMS over IMS bug fixes

This change includes the following:
1) SMS over IMS remaining patches which address review comments

2) Fix for Bug:11378993
For MT SMS over IMS, if an application uses the createFromPdu(byte[] pdu) API
instead of createFromPdu(byte[] pdu,String format) API, we first try to create
SmsMessage from raw PDU with the format of active phone. That either returns a
valid SmsMessage object or throws a RuntimeException causing the correct format
to be used the next time. If GsmSmsAddress is not valid, we should throw
a RuntimeException which is handled by createFromPdu(byte[] pdu)

3) Fix for Bug:11424054
Register for ICC changes and handle new SMS on ICC

Bug: 11378993, 11424054
Change-Id: I94bcfcf93d8205c2916997091617899c6ebdd5e5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
3522c54a64f577f2b657a775dae9b4eb2d8003d5 25-Oct-2013 Wink Saville <wink@google.com> Few PIN/PUK fixes

Following changes have been made as part of this:
-> Changes done to display retry counter on wrong entry of
PIN1,and message to indicate Code accepted/PIN1 blocked
during PIN1 verification as per certain carrier requirements.
-> The current APIs that are used to verify the PIN and PUK only convey
whether the operation succeeded or failed. As a result on ANY failure
clients ask the user to re-enter the PIN.
Add 2 new APIs that report the actual error code and returns the
number of attempts remaing in case of failure.
-> FDN Service state was derived based on the state of PIN2. Update the
state of FDN service based on the FACILTY_LOCK messages instead.
-> Change the default value of function getIccLockEnabled to false.
When sim is deactivated/absent & user navigates to
Settings->Security->Set up SIM/RUIM card lock,
checkbox for "Lock Sim Card" option should be
unchecked by default.
-> PIN1 can be changed only after enabling SIM lock. RIL returns
REQUEST_NOT_SUPPORTED error if user tries to change PIN1 without
enabling SIM lock.
Handle the error and display appropriate message when trying to
change PIN1 using MMI code.
-> Added MMI support for change PIN1/PIN2 and unblocking PIN2

Bug: 9928717
Change-Id: I73718c9e6a8aa7244097e0dd4593a6226ff0ac08
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
1260f1c6c909f2940989b72afe1b91fd83845eaa 14-Sep-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> Support SMS over IMS

ImsSMSDispatcher is part of IccSmsInterfaceManager.
It always receives calls to send sms first and decides
whether to use ims call flow or gsm/cdma based on response
to REQUEST_IMS_REGISTRATION_STATE.

When ims is registered and sms is supported, the request also returns
sms format to use.

In case of sms over ims failure, RIL_REQUEST_IMS_SEND_SMS sets
messageRef from RIL_SMS_RESPONSE of corresponding failed MO SMS, and
sets retry field to non-zero. If voice is available, sends
RIL_REQUEST_IMS_SEND_SMS retries with data encoded based on voice tech
available. If voice is not available, sets retry counter to max and
skips retries and sends failure to client.

Bug: 9626411

Change-Id: I4c63c8fc0eb2191847b509e66772e3de27d491ed
Signed-off-by: Ed Tam <etam@google.com>

Conflicts:
src/java/com/android/internal/telephony/gsm/GSMPhone.java
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
79d07f7e6df0b91f3042e412a3d538ebff34a680 23-Sep-2013 Wink Saville <wink@google.com> Move RIL_REQUEST_SET_INITIAL_ATTACH_APN to RILConstants.java

Bug: 9626411
Change-Id: I0c278d9f4c6fd7e12c495c2411ab94ac87e1f316
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ae0ee2f04405f059a3c186ceab4ddfb789e6f641 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 299f0785: am 4b361fe2: am d254ff60: Merge "Telephony: remove the useless variable."

* commit '299f07852601bb735296646c9587bf72169d1476':
Telephony: remove the useless variable.
4b361fe2f0597aae6a50012bc4fe048acd41ebbf 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am d254ff60: Merge "Telephony: remove the useless variable."

* commit 'd254ff6031ad039e93964378d604a4950d828170':
Telephony: remove the useless variable.
d084fb51297c446d4adb072089822a41820bd188 28-Jun-2013 Gao Rong <gaorong.dawn@gmail.com> Telephony: remove the useless variable.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5d5eea6ed231163c225144316b0d1913d48678a4 26-Apr-2013 Sungmin Choi <sungmin.choi@lge.com> Set initial attach apn for LTE network

When mobile register LTE network, APN provided by operators is needed.
If mobile does not have apn information, it could not register LTE network.
To deliver APN information which is used during LTE attach to modem chipset,
setLteAttachProfile() and RIL_REQUEST_SET_LTE_ATTACH_PROFILE command is added.

When Telephony DB is loaded or Telephony DB is changed, follow steps.
1. If preferred default ApnContext exists, this is delivered to modem chipset.
2. If preferred default ApnContext is null, find other ApnContext which can
handle default type.
3. If other ApnContext which can handle default type does not exist, any other
ApnContext delivered to modem chipset.

Then modem register LTE network with APN information delivered from AP.

Bug: 8733613

Change-Id: If84c62cddccf96a531dae0527ed1a6592ae76201
Signed-off-by: Seonju Oh <seonju.oh@lge.com>
Signed-off-by: Hyejin Kim <hyejin.kim@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6613a961473a72c218ec505e384dad6b19049aa0 21-May-2013 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of d678053c to stage-aosp-master

Change-Id: I17029e11f1a17d1446a06f716ab40b5a7f723258
7cabec78b4c9ad40f23d8f9fd756722d33b4a639 10-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Using a single counter for outstanding requests.

Change-Id: Ie99239fbe02f4ee1528c0dc6e1a1750cad404b2c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
815af95fb1568fd7b1ab8e6a610189821de99c81 23-Apr-2013 Wink Saville <wink@google.com> Support WiFi only device at runtime.

Now that ConnectivityService determines if TYPE_MOBILE is supported at
runtime don't need the special code in RIL.java.

Bug: 8562845
Change-Id: I34de5c6accc718b199c13815537de1debfe3dc91
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
121c056d398b68e2bd2d35e6f5c2730fa7fb81c9 17-Apr-2013 Wink Saville <wink@google.com> Default CellInfoListRate to off, Integer.MAX_VALUE.

For now be sure CellInfoListRate is off.

Bug: 8621996
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5fb811ff076aa6b4a9ceca6edaf504a4c6d9ad20 09-Apr-2013 Wink Saville <wink@google.com> Add FW support for CellInfo RIL commands.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e3366ce305cf679bed0270db09938567d0e4d6d2 08-Apr-2013 Wink Saville <wink@google.com> Fix SignalStrength response.

Use the new SignalStrength constructor with gsmFlag.

Also, remove code in responseStrings which would cause
it to return an empty array if RILJ_LOGV was true.

Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ff4e317d24f0d23bdc0f306d53ddc51f2f1ecf6a 22-Mar-2013 Wink Saville <wink@google.com> Move retrying into DC.

This is the first step in refactoring for bug 4772191.

Bug: 4772191
Change-Id: Id54a20ab192783c63939158670faaf531a527640
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6ca911a976a277e69800249c924c8dbc8fc5d78f 21-Mar-2013 Wink Saville <wink@google.com> Merge commit 'f606e5cc' into fix-merge-conflict

* commit 'f606e5cc':
RIL: Correct the RIL_REQUEST_DIAL api missmatch

Conflicts:
src/java/com/android/internal/telephony/RIL.java

Change-Id: Ib2b477628e14ca221acad35f4a2cf9a44170a33e
9ae284ab5fc779da9b03f8fd5020edc658c4bf4e 10-Oct-2012 Bjorn Andersson <bjorn.andersson@sonymobile.com> RIL: Correct the RIL_REQUEST_DIAL api missmatch

The uusPresent is written twice in dial() so it will always be
marked as absent.

Change-Id: Id50a4dc8a3eefdaf2284e410382428c52e9b5ef1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.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/RIL.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/RIL.java
4918296afe1c667e9523cdfc799f558f7ebc2bfb 21-Feb-2013 Wink Saville <wink@google.com> Move DataConnection related classes to their own package.

Change-Id: I34ee9e87545e6b15ebf4d3ec101d4ed3d322f7b2
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
6387253f9b0eb8bec049115498ec1f2bfd6d991d 05-Feb-2013 Jake Hamby <jhamby@google.com> am 9eef81ce: am 89558696: Merge "Telephony: Define enable/disable APIs for Cdma CMAS"

# By Rika Brooks
# Via Android Git Automerger (1) and others
* commit '9eef81ce80e72d68a8349fd84797276cb9cbe957':
Telephony: Define enable/disable APIs for Cdma CMAS
895586961de9992a4feefc57b648e01d158a382c 04-Feb-2013 Jake Hamby <jhamby@google.com> Merge "Telephony: Define enable/disable APIs for Cdma CMAS"
a63f55cf17629426d976830429a7612387532195 24-Jul-2012 Rika Brooks <rbrooks@codeaurora.org> Telephony: Define enable/disable APIs for Cdma CMAS

- Define enableCellBroadcastRange, disableCellBroadcastRange,
enableCellBroadcast, disableCellBroadcast for Cdma broadcast.
Create CdmaBroadcastRangeManager extended from existing IntRangeManager.

Change-Id: I5d70175862547475f49e08328ab3dcc5560e9096
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
9e2a8da44a5fe14036950ad9a66b1b4c1ffdf344 28-Jan-2013 Wink Saville <wink@google.com> am 30f92450: am 69c5b8c7: Merge "Send correct screen state when radio available."

# By Bin Li
# Via Android Git Automerger (1) and others
* commit '30f92450d53443505ac1fa70138ddd55c91032bc':
Send correct screen state when radio available.
69c5b8c7c41614d0d5fc131a9f26c403a9d30de0 28-Jan-2013 Wink Saville <wink@google.com> Merge "Send correct screen state when radio available."
02a6fcee7a8e19904c53ce29c647383186b8285e 26-Jan-2013 Wink Saville <wink@google.com> am 9af36163: am 5b5a06f5: Merge "Telephony: Don\'t start RilReceiver when not needed"

# By Alex Yakavenka
# Via Alex Yakavenka (1) and others
* commit '9af361639d89aa20748ce9e8e3d55c97e7f6b632':
Telephony: Don't start RilReceiver when not needed
5b5a06f5d63561411d04d70900b55af23c44ef10 25-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Don't start RilReceiver when not needed"
c241cad754ecf27c96b09f1e585b8be341dfcb71 06-Jun-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Don't start RilReceiver when not needed

Basebandless targets don't need RilReceiver.

Change-Id: I510cc6f0100219af9479738fc4b48c7ab85ea666
CRs-Fixed: 367918
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
cf57b29a755b0249da687201bcc726941d37d42b 23-Jan-2013 Bin Li <libin@marvell.com> Send correct screen state when radio available.

Change-Id: I098ffd06916d9d37272ee3c8c57a4d7e21e564c6
Signed-off-by: Bin Li <libin@marvell.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
8cabd3092c961f4593e3f52796b118bbd353b99f 24-Jan-2013 Wink Saville <wink@google.com> am 5eee6bd8: am 57516407: Merge "Telephony: Correct the typo in RIL.java"

# By Jiju Kinattingal
# Via Android Git Automerger (1) and others
* commit '5eee6bd8b452dcb328d3121d6f7fa8a819a5bc7a':
Telephony: Correct the typo in RIL.java
575164076e184002a8545dffa5056d38f07639c2 23-Jan-2013 Wink Saville <wink@google.com> Merge "Telephony: Correct the typo in RIL.java"
98cd16eb902d714d6eb981528408d2a5b779e353 11-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of 6125afc3 to master

Change-Id: I40f57858d775b91c409532d19ea5c98ec51afb22
892e1fecf3c3736c4c04cf219d01034f71307065 09-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Fix mRequestsLists -> mRequestList

first of several fixes.

Change-Id: I362fbfd446aed6714e6c89204ee095d03474c26f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
dac8696ffd9adabba138a0156ac0e2a553070c23 02-Jan-2013 Wink Saville <wink@google.com> am 48a768d6: am aa54f8e0: Merge "Telephony: Add uicc debug info to DebugService"

* commit '48a768d6cff6e13d138cabe7f19d3dc1bf46ec79':
Telephony: Add uicc debug info to DebugService
05ef3b65972826780859b9acbd1fa9580d099832 28-Dec-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Add uicc debug info to DebugService

Change-Id: I03be52f97ea84808d608c48b4e6ffa2454e2a67c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
60dc9dc311361f9fb52155ea28d383d55afa90d8 11-Dec-2012 Wink Saville <wink@google.com> Merge commit '7e4b734a' into fix-merge-conflict

* commit '7e4b734a':
Telephony: Move uicc classes into uicc package

Change-Id: Iacc7f1805500bfe55299aaedbe0241ebba8e8b23
d720945f2be5ea5fe0faf67e67d9ea0e184eba67 01-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Move uicc classes into uicc package

Reduce constructor visibility to package where
possible

Dependent Changes:
I3b718b9aea1f21c7906c8243b4ca0db6af495a08
I80204a2f3dc57cac875abeab390bb9db7a636ff7
Ib9c19e8b157dc7ec74eb14baca5bd3b5caf08c47

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

Change-Id: Ie013f51215de8380b8de74161b6056b010711cfd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
15852c31a4c339bb618dc884a2462612f5829f1a 06-Dec-2012 Nick Kralevich <nnk@google.com> am 051b44e1: am 7f65cbad: Merge "Remove sent USSD log"

* commit '051b44e1e1c9b974b5541c74b2a24b8443940a44':
Remove sent USSD log
72000e2c06bbee97d5ce31c4f66befab8057cb71 04-Dec-2012 Cuihtlauac ALVARADO <cuihtlauac.alvarado@orange.com> Remove sent USSD log

Content of messages sent over USSD are copied in the radio logcat only if
debug level set to verbose. There are USSD services requiring highly
sensitive information to be sent by the user, we really don't want this
information to stay in the logcat by default.

Change-Id: Ieba37be0e346a6728dc7b139105a148577e0c0ff
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
fa4fd4721082689c4b276f67b845e7be249cb8da 16-Nov-2012 Wink Saville <wink@google.com> Add support for logging directly to RADIO LOG.

Eventually we will remove using the LOG_TAG in
system/core/liblog/logd_write.c to steer the log string
to the LOG_ID_RADIO buffer. This can't be done immediately
even if we changed all of the code in frameworks/opt/telephony
and frameworks/base/telephony because ril's and radio's are
relying on this behavior. But next year we will.

Change-Id: Ic36eaaca6f2a6302255e96a7646b687322d6997e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
5e1bc7508bd2f6cbe52ce1d7cb13194a0d265406 17-Oct-2012 Jiju Kinattingal <jijuk@codeaurora.org> Telephony: Correct the typo in RIL.java

Change-Id: Ic4bcd054f14d7e4b702b924f799e4d1619b666e0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
f860a3f42f87c9c8572623aff33349168d689477 06-Oct-2012 Wink Saville <wink@google.com> Fake sim status changed appropriately

On a VZW GN if we always do ENTER_SIM_PIN the GET_SIM_STATUS comes so
quickly that it causes the SIMRecords to return an operator.numeric of
666666 instead of 311480. To fix this we only fake sim status changed
when an error occurs on the CHANGE/ENTER SIM_PIN/PIN2. Also, faking on
RIL_REQUEST_SET_FACILITY_LOCK on errors so on a VZW GN we automatically
go to the main lock screen when the PUK is needed,

Finally, on VZN GN RIL_REQUEST_ENTER_SIM_PUK we need to always fake
RIL_RESPONSE_UNSOL_SIM_STATUS_CHANGED, otherwise we won't automatically
leave the main lock screen when we enter the correct PUK. I also do this
for RIL_REQUEST_ENTER_SIM_PUK2 for consistency.

Bug: 7255789
Change-Id: I712cc5020970317922f0c3d686c621a6abcd552c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
be3dc4b04cd65e576d250cf68f310d47637167ff 04-Oct-2012 Wink Saville <wink@google.com> Fix 7255789

Two problems were identified, first in IccCardProxy needs to assume a
the current app type is 3GPP because some rils are not managing the
sim status properly and return the csim as PINSTATE_UNKNOWN if the device
is gets PUK locked because the PIN was entered incorrectly 3 times. This
is fixed with the changes IccCardProxy.java and Phone.java.

The second problem is that some rils are not sending a
RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED when the PIN or PUK are changed.
This causes some devices to NOT automatically go to the lock screen
when a PUK is required. This is fixed by the change to RIL.java.

Bug: 7255789
Change-Id: I969585edf416e6b11f52470ee69d19f781bf29ca
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e08bcc948be9f8cb966da0814d7cf17109cfdb95 08-Sep-2012 Wink Saville <wink@google.com> am f8a1f90c: am 511d4b68: am 713a658e: Merge "Telephony: Log parameters for facility lock operations."

* commit 'f8a1f90c98b7252ca8fdc9df9166c6d62eb16e68':
Telephony: Log parameters for facility lock operations.
88e9c9700fbb6119c2564fb7173821c84b360d07 29-Aug-2012 Abhishek Adappa <aadappa@codeaurora.org> Telephony: Log parameters for facility lock operations.

Change-Id: Ib834928ffd76a0f0e4fa0552cc27a09ccb4cd987
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
565013a713156a0ddcc46dc3a0077e4c268ce272 08-Sep-2012 Wink Saville <wink@google.com> Merge commit '599f207f' into fix-merge-conflict

* commit '599f207f':
Telephony: Remove CdmaLteUicc objects

Change-Id: I5d63ea7edbcb1e7fe4010bcb3e5c9d6c961827d6
e287feac673ff68565b766e0e463d105fa9cef9d 10-Jul-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Remove CdmaLteUicc objects

-Pass IccCard object to GsmMmiCode
-Create IccCardProxy
-Make IccCard an interface and pass instance of IccCardProxy to
external applications (PhoneApp). IccCardProxy will use internal
UiccCard to map Icc requests to current active application on
UiccCard to maintain backwards compatibility for external
applications
-Add documentation to UiccController

The primary advantage of UiccController is that we can work with
multiple uicc applications at the same time. And that is a
requirement for modes like Cdma/Lte. The existing code supports
Cdma/Lte only partially and with guessing on modem side. However,
some things modem can guess, while others - it can't.

For instance, when a user tries to edit the fdn list the current
code will pass ef_id for fdn (0x6F3B). But the modem will have no
clue which fdn list the user wants to edit (csim or usim, both
have path 7FFF), and it's impossible for modem to guess correctly
all the time. All the modem can do is try to be consistent and
hope another device is doing same things. Imagine you bring your
card from another Cdma/Lte device to your new Cdma/Lte device:
if this modem uses different fdn file, it won't work as all
existing entries won't be there.

Another example is when the modem's guess is wrong for files like
csim/ef_li (7FFF 6F3A) versus usim/ef_adn (7FFF 6F3A). They have
same ef_ids so Android really should pass aid of the app it wants
to access. Without aids there is no way modem can know for sure
which file Android wants to read! However, in the current code
even Android doesn't know which aid it wants to read file from
since CdmaLteRecords has only 1 aid.

All of these problems cause more and more hacks, both in the modem
and in Android side. UiccController cleans up current code and
provides framework to work with multiple Uicc applications at the
same time.

Change-Id: I60216887b14140bdf833a8ed579ba16cad932bdc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
e0e2ceb1ae025e6dd2adda75c32dba93c6dfeea4 13-Aug-2012 Wink Saville <wink@google.com> Merge commit '616b281b' into merge-conflict-TelephonySignal-Strength-cleanup

* commit '616b281b':
Telephony: Signal Strength cleanup

Change-Id: I3c211a06c480169d90fb5bc2c1774bd509d91f87
5b81adc82a53b3064f4baa3acfeabef31586588a 10-Jul-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Telephony: Signal Strength cleanup

Make signal strength parsing common for all modes

Change-Id: I41bce658c536dc30558224c8ca76d6d70afb78ee
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
ef1d4bff9bbf7d967dbcace73f08910e14e367d0 17-Jul-2012 Wink Saville <wink@google.com> Revise CellInfo API's

Change-Id: I35bc22caf4a6a2255f2ce122690823f8d602b359
/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java
c38bb60d867c5d61d90b7179a9ed2b2d1848124f 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common - DO NOT MERGE

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/RIL.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/RIL.java