History log of /hardware/ril/libril/ril.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
626099ec9b53f7480d2f2ab5522eeb40c99de549 08-Jun-2016 Sanket Padawe <sanketpadawe@google.com> Fix build failure which occurs after setting macro RILC_LOG.

Bug: 29214796
Change-Id: I5f74981a59344078f900ecf769cc962b1416d5fd
/hardware/ril/libril/ril.cpp
405313f9227ceec23196c72d0f49d40175a4f992 07-May-2016 Sooraj Sasindran <ssasin@codeaurora.org> RIL: release unsol wakelock

Make sure to release unsol wakelock

BUG=28635279
Change-Id: I4bdf0e7b35df4e6aa077b062ab359c6938ce8292
/hardware/ril/libril/ril.cpp
fb4ed9165428379823f1d1b423af49b3e71cce34 21-Mar-2016 Ajay Nambi <anambi@codeaurora.org> Ril Error codes: Voice related messages
am: 1034589

* commit '1034589c37aa83c97f1dcb660209bc6dccb6160a':
Ril Error codes: Voice related messages
1034589c37aa83c97f1dcb660209bc6dccb6160a 19-Mar-2016 Ajay Nambi <anambi@codeaurora.org> Ril Error codes: Voice related messages

This change adds new error codes for messages
related to voice

Bug: 27038563
Change-Id: I61bcc853f8046e6baf6c8000029f7af0f3f894f0
/hardware/ril/libril/ril.cpp
7daec4a73ab7357fa0e2b79c51f419d987aa77eb 14-Mar-2016 Ajay Nambi <anambi@codeaurora.org> New error codes for SMS/other messages
am: 68900f5a8e

* commit '68900f5a8eda71d962961ccab56ed3fc99cfd124':
New error codes for SMS/other messages
68900f5a8eda71d962961ccab56ed3fc99cfd124 11-Mar-2016 Ajay Nambi <anambi@codeaurora.org> New error codes for SMS/other messages

This gerrit adds error codes for messages related
to SMS and set_mute, get_mute requests

Bug: 27038563
Change-Id: I4991e4a38c81501c39e91cfd5df90d8288f542ad
/hardware/ril/libril/ril.cpp
0f9f7b28444813edf721c930c2012642ca7feb1e 11-Mar-2016 twen.chang <twen.chang@mediatek.com> Merge "Add RIL Error code list" into mm-wireless-dev
am: 8dc7f4d003

* commit '8dc7f4d00303f74cbca2d784eaa32e103555f0b5':
Add RIL Error code list
8dc7f4d00303f74cbca2d784eaa32e103555f0b5 11-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Add RIL Error code list" into mm-wireless-dev
df7add01de4abb99c6a7af42b45b7cd0aacf974c 04-Mar-2016 twen.chang <twen.chang@mediatek.com> Add RIL Error code list

BUG: 27589497

Change-Id: I9cc8c12364676c3c56dbee57fdc01cf055460816
/hardware/ril/libril/ril.cpp
72ed18bf61117e3d39048dcbe7ce604ab769e289 08-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Fix security vulnerabilities in ril.cpp
am: 0cfc553547

* commit '0cfc553547bb5b0897e0de0c3a38771bed0bf8f9':
Fix security vulnerabilities in ril.cpp
0cfc553547bb5b0897e0de0c3a38771bed0bf8f9 08-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Fix security vulnerabilities in ril.cpp

Bug: 26522805
Change-Id: I0e29b59a67d571468673b7362ff5adae0f927d7f
/hardware/ril/libril/ril.cpp
6809754e8b5ad971f199ee35b4a4bd38da89ceaa 05-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Remove log spam in responseCellInfoList in ril.cpp
am: e52a6c9c37

* commit 'e52a6c9c37328aea57d140ddbb0888d92f3ea874':
Remove log spam in responseCellInfoList in ril.cpp
e52a6c9c37328aea57d140ddbb0888d92f3ea874 05-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Remove log spam in responseCellInfoList in ril.cpp

Bug: 27481301
Change-Id: I3a55620d728d579ac50a9c178876e7901340b7af
/hardware/ril/libril/ril.cpp
1e26e815a9f4d37c3532dd29284e70d6af145876 04-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Fixing security vulnerabilities in ril.cpp
am: 55227b5d7b

* commit '55227b5d7bcd618884b61a5555bd4c2b5dae786c':
Fixing security vulnerabilities in ril.cpp
55227b5d7bcd618884b61a5555bd4c2b5dae786c 29-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Fixing security vulnerabilities in ril.cpp

Bug: 26522805
Change-Id: I8fa19a202b3ebe13dc617b417218b4f40fa8a702
/hardware/ril/libril/ril.cpp
e7cc3718deab6497b078c576e4efecb30d69075f 18-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Use different response type for unsolicited mesg requiring wakelock." into mm-wireless-dev
am: 719d649b12

* commit '719d649b121c4d138651c8286ff57e9ae830d975':
Use different response type for unsolicited mesg requiring wakelock.
719d649b121c4d138651c8286ff57e9ae830d975 17-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Use different response type for unsolicited mesg requiring wakelock." into mm-wireless-dev
6d3c2f92ff89578871bf159e169cf1d9308a17b9 11-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Add OEM specific error code space which can by used to replace Generic errors.
am: 0106aedb55

* commit '0106aedb55be31e6197515d0e968584b0a168bef':
Add OEM specific error code space which can by used to replace Generic errors.
0106aedb55be31e6197515d0e968584b0a168bef 09-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Add OEM specific error code space which can by used to replace Generic errors.

Bug: 27038563
Change-Id: I4052505ed684067cb9145d165f0e335ad52ed404
/hardware/ril/libril/ril.cpp
5050bda531eb90e51fc92cbcf6c82ddac14867ae 08-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Convert newly added error code to string values in ril.cpp.
am: b39e5c9c98

* commit 'b39e5c9c98890fa34ff5b8fd591fc16ece1e56a5':
Convert newly added error code to string values in ril.cpp.
b39e5c9c98890fa34ff5b8fd591fc16ece1e56a5 08-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Convert newly added error code to string values in ril.cpp.

Bug: 23216719
Change-Id: Ie2202124cb460872a9f5c406e8f1ae94465d9d0b
/hardware/ril/libril/ril.cpp
d8c0b461f270700e9be4a9f11058e51267435eb2 03-Feb-2016 Sanket Padawe <sanketpadawe@google.com> Use different response type for unsolicited mesg requiring wakelock.

+ New type is added as ack from RIL java should be sent only for unsolicited mesgs
which hold wakelock in ril.cpp.

Bug: 22127517

Change-Id: Ib7e920d168ab92665283f80476bad3f5ede033e4
/hardware/ril/libril/ril.cpp
ab71e3fd4864e501c0cbfd200b1e44b5e0476e40 29-Jan-2016 Sukanya Rajkhowa <srajkh@codeaurora.org> Add support for cdma dynamic address length.
am: 605c78444b

* commit '605c78444bacdb328105f14d55ecc8c046bd96cb':
Add support for cdma dynamic address length.
605c78444bacdb328105f14d55ecc8c046bd96cb 29-Oct-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> Add support for cdma dynamic address length.

Get the address,sub address,Bearer with dynamic length in the data parcel,
to avoid the OutOfBoundsException with the MAX macro.

BUG=26856156

Change-Id: I1d7437143c1369d77791136b68e06088acd72937
/hardware/ril/libril/ril.cpp
5bdcfe2d104b8dc9aa6d91176b70139b01047d18 28-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Improve wakelock symantics in RIL.
am: 6ff9a87b25

* commit '6ff9a87b250598ea9e383f06a4257512bd0c8046':
Improve wakelock symantics in RIL.
6ff9a87b250598ea9e383f06a4257512bd0c8046 28-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Improve wakelock symantics in RIL.

Bug: 22127517
Change-Id: I13fce25c8c6b27987e576b29a2ca5cd813f5b06f
/hardware/ril/libril/ril.cpp
f53c5fa96381915e20353cfedc798c0e3c52289b 27-Jan-2016 Sanket Padawe <sanketpadawe@google.com> [DO NOT MERGE] Added fields to CELL_INFO_LIST.
Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn

Bug: 23528586
Change-Id: I435dd9e945bd8d0553491184ae2919bb5a126a32
/hardware/ril/libril/ril.cpp
0090961eda84af6b09d814653598b656227be6e9 27-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Added fields to CELL_INFO_LIST.
Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn

Bug: 23528586
Change-Id: Iaf7bfaac96bda92d980c566878b9fe481a6d2c21
/hardware/ril/libril/ril.cpp
66701c5e73f3619285d1141b6e52bbc57c2a5840 27-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Use SimRefreshResponse struct in RIL Versions greater than 7

Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.

BUG=21075857

Change-Id: Ic9e91e91e295216b3b933589b234732fcf02f3f9
/hardware/ril/libril/ril.cpp
0eb4fbac4a56513349dc8392a4c42b005f281bfb 27-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION

Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in
requestToString method.

Change-Id: Ibf61b9c2c9a5ddffba2f4683468178eb8ec2cdc9
/hardware/ril/libril/ril.cpp
4c05f35eeada47f8a50da1b26c8d9c11d4be1813 27-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Improve RIL versioning.

+ Added documentation for new RIL versioning format.
+ Changes associated to new RIl versioning format.

Bug: 25779475
Change-Id: I59362b521263e01c4ac6fc8e68ecdc527696786a
/hardware/ril/libril/ril.cpp
2e8e6690338706a8d937e1e32af4554f0c7b74dd 26-Jan-2016 Narayan Kamath <narayan@google.com> Revert "Added fields to CELL_INFO_LIST. Gsm: ta, arfcn, bsic Wcdma: uarfcn Lte: earfcn"

This reverts commit af0a0ebb9bb1d8fee11af052eefa3c131094386a.

Change-Id: Ifad087e11c46d31f9649ae318249e72836ecdd58
/hardware/ril/libril/ril.cpp
af0a0ebb9bb1d8fee11af052eefa3c131094386a 25-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Added fields to CELL_INFO_LIST.
Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn

Bug: 23528586

Change-Id: I4ff31ae27cbc3b9bc8a215e80453bab94c824dd8
/hardware/ril/libril/ril.cpp
c92e03d7c1e77e5f2aad28ca4267cb5a05cfd4ea 22-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Merge "Use SimRefreshResponse struct in RIL Versions greater than 7" into mm-wireless-dev
41c94d08ded7fdd884433bdf3fc8e3a083286bde 22-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Use SimRefreshResponse struct in RIL Versions greater than 7

Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.

BUG=21075857

Change-Id: Ifde00434bfcaecf3b4c32392fc4964fe3b43f6b5
/hardware/ril/libril/ril.cpp
0574698c39f7c87c4566a463334399fed9f4c6ad 21-Jan-2016 Robert Greenwalt <rgreenwalt@google.com> Merge "Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION" into mm-wireless-dev
c27945d74dc3bcb791be5cd4094888cb7a9bfd8f 15-Nov-2011 Ajay Nambi <anambi@codeaurora.org> Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION

Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in
requestToString method.

Change-Id: I323f276d4048b168b27669a0aebb58cd9decf9bd
/hardware/ril/libril/ril.cpp
88cf6a50bc8f1f3f0d7034b02a3154402992483a 11-Jan-2016 Sanket Padawe <sanketpadawe@google.com> Improve RIL versioning.

+ Added documentation for new RIL versioning format.
+ Changes associated to new RIl versioning format.

Bug: 25779475
Change-Id: I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8
/hardware/ril/libril/ril.cpp
606dd67e48b9221c518d6c150eda167381d632b9 15-Sep-2015 Hyejin <hyejin.kim@lge.com> Fix build error with RILC_LOG on

Change-Id: Ib724e6db3c7fb4e46e7d62706cf53cc944faf797
/hardware/ril/libril/ril.cpp
fa49a7f7fa01f352f4d5c196939a1e92a6cd692e 05-Aug-2015 Ajay Nambi <anambi@codeaurora.org> Fix for rild crash becasue of buffer overflow

There is a buffer overflow which causing rild crash. For
appendPrintBuf, "sprintf" is replaced with "snprintf" for
the safe copy operation.

Bug:23289936
Change-Id: I25430a5c6f2a8b19a3271235323499b6ee802746
/hardware/ril/libril/ril.cpp
c06e3c6d08d90e585c75f91ccf2a5d135b26f784 02-Oct-2015 Robert Greenwalt <rgreenwalt@google.com> am 7436ac31: Merge "libril: fix a syntax error"

* commit '7436ac31914fcf010d039c725d8810a04e5d6440':
libril: fix a syntax error
8593f268943d3c2a36d7fffc439e72077c325bbc 02-Oct-2015 Chih-Wei Huang <cwhuang@linux.org.tw> libril: fix a syntax error

The trivial error was hidden since RILC_LOG is disabled.

Change-Id: Ie25fecedb2e8f27da7f19d35ccc4dd1f250cfd9c
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
/hardware/ril/libril/ril.cpp
a015339ee4484ad46ae8c60138f6e478cc0e3002 28-Jul-2015 Nathan Harold <nharold@google.com> Modify RIL Unsol Message Wakelock to 200ms

bug: 22456054

Change-Id: Id41e001f98b455bec5f004438f5d8498b17aaf2d
/hardware/ril/libril/ril.cpp
a408c25e93fba444995af1ec8070802fb7662495 01-Jul-2015 Sungmin Choi <sungmin.choi@lge.com> Support backward compatibility of new LAST_CALL_FAIL_CAUSE

Previous fail cause returns integer array. New fail cuase returns integer and
string. RIL framework uses just integer as causeCode.
To support backward compatibility, returns integer instead of integer array
as causeCode.

Bug: 22204818
Change-Id: I77ca55d99a44d129cf401743c34c03754f38dde2
/hardware/ril/libril/ril.cpp
548a81ee5d5d2cb58925ce62564ac9dfbb90431c 15-May-2015 Chao Liu <yjl@google.com> Add an optional vendor_cause string to
RIL_REQUEST_LAST_CALL_FAIL_CAUSE's response.
This vendor cause string will be passed to Telecom's DisconnectCause,
which could help us figure out why we are seeing so many ERROR_UNSPECIFIED.
bug:17701976

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

Change-Id: I0c54733a03b2fe2bd48b3d3b21efc5e3ebd9ef66
/hardware/ril/libril/ril.cpp
7315749476fdfcdbdcba4763b45d0b28bbca6e2d 28-May-2015 Prerepa Viswanadham <dham@google.com> Modem activity info

Change-Id: Iab8fbdeae0867c6e9cb9027b08317b1b5a2c9dfc
/hardware/ril/libril/ril.cpp
191e4dc982754d2f4662bc80bf1a76c5d933565a 30-Apr-2015 Robert Greenwalt <rgreenwalt@google.com> Remove verbose logs

Several things are redundent except for the fact
messages are reaching rilc. Left in in case we need to debug
the layer, but blocked out with #if VDBG

Reduces startup logging to radio buffer by 20%

Change-Id: I95099457ea365ee108e7da8e1f81434531b6b9f0
/hardware/ril/libril/ril.cpp
f740829e28c7c1596c61eb4d974905e42d969ca4 14-Apr-2015 fenglu <fenglu@google.com> Link Capacity Estimation - RIL support

Change-Id: I9c4d4901d823d719be2b8bdec64f08eda342de53
/hardware/ril/libril/ril.cpp
1b1ec2dc592aa12d4bb5a3755658f1bbfcd1b171 15-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix build issues after the merge

Change-Id: Ia856311187a0b2168cb859bd8b2300ff59df6569
/hardware/ril/libril/ril.cpp
fd08733077d63c6e50e913cdf33714ba08940cbc 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am 27976c4..27976c4 from mirror-m-wireless-internal-release

27976c4 Introduction of the new SAP-UIM socket

Change-Id: I9ab9d65f230edd83037e2d1779b3bdd3b32a0aa7
dba256190fcea06421d2a78a4ef921d3baee1ba8 09-Apr-2015 Mark Salyzyn <salyzyn@google.com> libril: tag RILC messages to radio log

Change-Id: Ia3234aa933249eb9f383c7e45c3f67b3c0c50634
/hardware/ril/libril/ril.cpp
27976c479473bb772703fe4caa100e535e635e84 02-Jul-2014 Dheeraj Shetty <dshetty@codeaurora.org> Introduction of the new SAP-UIM socket

Added new socket connection for communication between the SAP module
in Telephony and User Identity Module with DSDA support.

New classes added are:

RilSocket
---------
Base class(virtual) for any type of socket. Has listen
and commands callbacks similar to that of the existing
telephony->rild socket.

RilSapSocket
------------
Derived class for socket for communication between BT SAP
and the sim module in the modem. It initialises
socket, calls Sap_Uim_Init to get the handles and
starts the socket thread.

rilSocketQueue
--------------
Queue for managing socket requests.

Change-Id: I8828173941d6ae76f1f9cc0d567efaf41a77d175
/hardware/ril/libril/ril.cpp
3147559c6b0ee3f59bc2bbba246581972b7889f7 10-Feb-2015 Nick Kralevich <nnk@google.com> am cb6cd1fb: Merge "ril.cpp: fix misuse of strncat"

* commit 'cb6cd1fba71fc8f12907b3c66cc7f5fa4de99589':
ril.cpp: fix misuse of strncat
c52e45ed972c6935605d59fc428a513d9cb1ac24 08-Feb-2015 Nick Kralevich <nnk@google.com> ril.cpp: fix misuse of strncat

strncat(dest,src,size) appends size+1 bytes to the end of
dest, so sizeof(dest) must be greater than
strlen(dest) + size + 1. Passing the buffer size to strncat
instead of sizeof(dest) - strlen(dest) - 1 is a common
strncat bug. Use strlcat instead, as it has more intuitive
behavior and ensures the buffer is properly null terminated.

Addresses the following compiler warning:

In file included from system/core/include/cutils/sockets.h:22:0,
from hardware/ril/libril/ril.cpp:24:
In function 'char* strncat(char*, const char*, size_t)',
inlined from 'void android::RIL_register(const RIL_RadioFunctions*)' at hardware/ril/libril/ril.cpp:4258:62:
bionic/libc/include/string.h:199:61: warning: call to char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int) might overflow destination buffer
return __builtin___strncat_chk(dest, src, n, __bos(dest));
^

(line numbers are from internal master and do not match AOSP)

Even with this change, this code feels weird.
MAX_DEBUG_SOCKET_NAME_LENGTH is 12, and rildebug is initialized to be
SOCKET_NAME_RIL_DEBUG ("rild-debug"), which is 11 bytes including null
terminator. The strlcat call here can append a maximum of 1 byte before
the buffer is full. I don't know if this is intended or not.

Change-Id: I49801ad1ea3aa6173bbc9fd7cf00f3d308693253
/hardware/ril/libril/ril.cpp
9f2a02409b99254f1080223dfc0a8ca03c1adcbb 08-Feb-2015 Nick Kralevich <nnk@google.com> am d8dcd06e: Merge "Removal of dead code and adding log messages to make it easier for debugging"

* commit 'd8dcd06e4703dae1927020cbcbafd85226492946':
Removal of dead code and adding log messages to make it easier for debugging
4bd5eb59b4c1db8a7b81539c57862f210c756e8d 02-Feb-2015 Nanik Tolaram <nanikjava@gmail.com> Removal of dead code and adding log messages to make it easier
for debugging

- Add more logging using ALOGD(..) for function dispatchSmsWrite,
dispatchDial, dispatchSIM_IO, dispatchSIM_APDU, dispatchCallForward,
dispatchRaw and dispatchCdmaSmsAck. To make it easier for debugging.

- Remove commented log message inside wakeTimeoutCallback () function
and remove the else clause as it's dead not used for anything.

- Modify log message inside removeFromList and removeWatch using +
and - to make it consistent with the other log message.

Change-Id: Ife0212e6a4724d8b06a1dd767484bfdf98b8e1a6
Signed-off-by: Nanik Tolaram <nanikjava@gmail.com>
/hardware/ril/libril/ril.cpp
42da271205576972c21c2f75fef4f7261bcd6c4f 09-Dec-2014 Robert Greenwalt <rgreenwalt@google.com> am 257ba4e3: Merge "Modify RIL_Data_Call_Response to include MTU" into lmp-mr1-dev

* commit '257ba4e389b21e0b56510017d60e90753cb074c1':
Modify RIL_Data_Call_Response to include MTU
257ba4e389b21e0b56510017d60e90753cb074c1 09-Dec-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Modify RIL_Data_Call_Response to include MTU" into lmp-mr1-dev
b44dda3ea5bbbadb910479019f967b52cf9d69c7 02-Jun-2014 Sukanya Rajkhowa <srajkh@codeaurora.org> Modify RIL_Data_Call_Response to include MTU

Include MTU as part of RIL Data Call Response so that the
framework uses the dynamic MTU value provided by network
and updates LinkProperties accordingly.

Upping RIL version to 11.

bug:18391670
Change-Id: I8a85d7f58c99d73278646cdcb2aa466b85ae9a81
/hardware/ril/libril/ril.cpp
5b12e6593e98991d440fd6ce676b80f724afe495 24-Nov-2014 Amit Mahajan <amitmahajan@google.com> am 496a71cf: Merge "Revert "Revert "STK Call Control feature implementation.""" into lmp-mr1-dev

* commit '496a71cfd58fb10b621a6e1b3205929908bcd86d':
Revert "Revert "STK Call Control feature implementation.""
496a71cfd58fb10b621a6e1b3205929908bcd86d 24-Nov-2014 Amit Mahajan <amitmahajan@google.com> Merge "Revert "Revert "STK Call Control feature implementation.""" into lmp-mr1-dev
e2c1d2c12c8d70f88c14a3593c2ebd202e15a6d3 22-Nov-2014 xinhe <xinhe@google.com> am 5526d659: Merge "Turn off RILC REQUEST logging" into lmp-mr1-dev

* commit '5526d659ed3fe69d57317044d04438b28286e3b2':
Turn off RILC REQUEST logging
54563d3ca74cd544a8462be9a620dc9c463cb524 22-Nov-2014 Amit Mahajan <amitmahajan@google.com> Revert "Revert "STK Call Control feature implementation.""

This reverts commit 6bfaf64c427b4d48a4fb1931eb8b5c0f79ce20f1.

Change-Id: Ib408f7ef0db0e0fd6a6d501d565726733440b156
/hardware/ril/libril/ril.cpp
7f96c505734aa24ffad0ae15387aad6135c90c5f 21-Nov-2014 xinhe <xinhe@google.com> Turn off RILC REQUEST logging

remove the log

Bug:18481571
Change-Id: I8cc27ab3528904113fc4678f2f6c96f702c55ce2
/hardware/ril/libril/ril.cpp
001fa428215f7c63b6b8321acfcb4740f97274b4 19-Nov-2014 Amit Mahajan <amitmahajan@google.com> am 6bfaf64c: Revert "STK Call Control feature implementation."

* commit '6bfaf64c427b4d48a4fb1931eb8b5c0f79ce20f1':
Revert "STK Call Control feature implementation."
6bfaf64c427b4d48a4fb1931eb8b5c0f79ce20f1 19-Nov-2014 Amit Mahajan <amitmahajan@google.com> Revert "STK Call Control feature implementation."

This reverts commit 61bedcf4f339fb2eecb2e50bbd5637d0b70a9004.

Change-Id: I257968ecc3c5e18f3b9cd6371e76846676c82447
/hardware/ril/libril/ril.cpp
76f15476b8d9f5d7e58b6d7e4b6f40d9029af26d 18-Nov-2014 Preeti Ahuja <preetia@codeaurora.org> am 61bedcf4: STK Call Control feature implementation.

* commit '61bedcf4f339fb2eecb2e50bbd5637d0b70a9004':
STK Call Control feature implementation.
48a5576acc90b2c2c4dc446467c8a7dc9ca80fe8 18-Nov-2014 Chih-hung Hsieh <chh@google.com> am f34ed01f: Merge "Make the implementations of RIL_onUnsolicitedResponse match the prototypes"

* commit 'f34ed01f1e1935c67e153916ea27dddae4d067dc':
Make the implementations of RIL_onUnsolicitedResponse match the prototypes
d613b961988813660a07ff78a3295781f9a49f06 17-Nov-2014 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Make the implementations of RIL_onUnsolicitedResponse match the prototypes

Prototypes expect the data as a const void*, whereas the implementation
takes a void*.

This causes the build to break with clang and may also have other
unexpected side effects. (I'd expect to see unresolvable references in
some gcc builds.)

Change-Id: Ic34787da20abd2821730a18e49c0a435a82c2613
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/hardware/ril/libril/ril.cpp
61bedcf4f339fb2eecb2e50bbd5637d0b70a9004 15-Nov-2011 Preeti Ahuja <preetia@codeaurora.org> STK Call Control feature implementation.

Add support for unsols for Stk Call Control
feature.

Bug: 17646476
Change-Id: I65e8e65e514f00e171086496d86b0c825d3d3d3e
/hardware/ril/libril/ril.cpp
8caf06fd90e877e6c0a4cc1e63bb5b5222704abe 29-Oct-2014 Legler Wu <legler.wu@mediatek.com> [DS] Radio Capability Support. New design of capability switch for L.

Modify for changing ModemID from int to string.

Change-Id: Ic5ac096c6335658c5557dd94d659f910f42c8ffb
/hardware/ril/libril/ril.cpp
8b4e4f7e5ddcb8b7450bcded4d0395f02b340bbe 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
/hardware/ril/libril/ril.cpp
a65a16a2e81b11762fd9e4233e1a212effcfee82 01-Aug-2014 Naveen Kalla <nkalla@codeaurora.org> Add RIL_REQUEST_SHUTDOWN to notify RIL that device is shutting down

When device is in airplane mode, SIM card and modem may be powered on.
RIL can use RIL_REQUEST_SHUTDOWN to shutdown the modem and SIM card
gracefully.

Bug: 9773278
Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e
/hardware/ril/libril/ril.cpp
c796e22cf8402452b325ffbf9686a4c985a611e3 13-Aug-2014 Amit Mahajan <amitmahajan@google.com> Revert "Revert "add apn setting parameters, and set apn parameters to bp""

This reverts commit 87540b6318016540030421a5c2bc41b759bf33cd.

Change-Id: I7f6043ad55299ecc01cbcadc81c281b133755b86
/hardware/ril/libril/ril.cpp
87540b6318016540030421a5c2bc41b759bf33cd 12-Aug-2014 Amit Mahajan <amitmahajan@google.com> Revert "add apn setting parameters, and set apn parameters to bp"

This reverts commit 6be060de61b99ed29ad67ebfa19271bbe0a475fe.

Change-Id: Idc7d6cfc97ca6fadd93d85e96b12cb46e33f35c6
/hardware/ril/libril/ril.cpp
6be060de61b99ed29ad67ebfa19271bbe0a475fe 09-Aug-2014 Hui Wang <huiwang@motorola.com> add apn setting parameters, and set apn parameters to bp

Change-Id: I779b28996fafcacdefb63072b7dcc6bd90a532be
/hardware/ril/libril/ril.cpp
6c6075946589d61d3bc051dd1986d0bbf0c88da7 05-Aug-2014 Jayachandran C <jayc@motorola.com> Fix crash by checking for NULL token at the beginning of RIL_onRequestComplete

- RILD crashes when token is NULL because no NULL check at the beginning
/hardware/ril/libril/ril.cpp
52500160ca3efd2e7e90df27be0eaded16185642 30-Jul-2014 Amit Mahajan <amitmahajan@google.com> Change to parse DATA_CALL_LIST correctly based on version.

Bug: 16242255
Change-Id: I9c6dfb41f074da9558f721ca0432f40edc2d4d22
/hardware/ril/libril/ril.cpp
90530a6e86001facba8a34541d2f038f24562cc3 02-Jul-2014 Amit Mahajan <amitmahajan@google.com> Changes to correctly process EAP-SIM req parameters in ril

Change-Id: I393c18f878fe3e5efcd81543a9a38a4c353b6e03
/hardware/ril/libril/ril.cpp
c29360a92ad603fcec008c098cbbed47e3399dc8 13-Jul-2014 Wink Saville <wink@google.com> Add support for retrieving real time data connection information.

To be able to reduce power consumption caused by the mobile radio being
in a high power state, the radio will report its power state in real
time.

Bug: 8233234
Change-Id: Ia4195211c380efc04a65c6f1f6e4d29095a1bc35
/hardware/ril/libril/ril.cpp
2b77203b8c64e5bfa848303df7328d015069f8c7 26-Jun-2014 Amit Mahajan <amitmahajan@google.com> EAP-SIM RIL command name change.

Modified the name to match what was in QCRIL.
Added structures for req/resp in ril.h

Change-Id: I41abfacb7bacd4cfa0d4543100ac9960c97184f9
/hardware/ril/libril/ril.cpp
d365219a1873e42d2ff669e13a9fe6ce6973bd51 20-Jun-2014 Etan Cohen <etancohen@google.com> Merge kwd to master

Change-Id: Id33008507cbafc88288b6483c7691d6db34cc5c3
/hardware/ril/libril/ril.cpp
74f7e667381fae533f70843ea952db04bd2adc36 18-Apr-2014 Mohamad Ayyash <mkayyash@google.com> rild: Fix a sizeof bug.

Change-Id: Ic207f8b1567849051f24342e37f905a59b43dad2
/hardware/ril/libril/ril.cpp
ed9985c5531b38f4ebffdd6ee48cbcaf22702803 28-Feb-2014 Etan Cohen <etancohen@google.com> am 680bdfa7: am 458d8b7e: Merge "[RIL] Fix build-break when enabling RILC_LOG"

* commit '680bdfa726292c466f4cf68363b29f8781c3fb63':
[RIL] Fix build-break when enabling RILC_LOG
5d891b7991dd22c105e97180e0fb02d4b42911eb 28-Feb-2014 Etan Cohen <etancohen@google.com> [RIL] Fix build-break when enabling RILC_LOG

A couple of debug messages were using out-of-date struct
members causing the build to break when the RILC_LOG flag
was enabled.

Change-Id: I258a58744aa3c71ddbe09e598221c149be59b554
/hardware/ril/libril/ril.cpp
8a4a233bb9503eddee83569e647c25099a8e15b3 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,
including the CDMA Preferred Roaming List (PRL).

Used for device configuration by some CDMA operators.

Bug: 12864208
Change-Id: I792e272438b56bca725e6c034baac19244e5563f
/hardware/ril/libril/ril.cpp
fd81e7146b2e9253aa2ab131d970b9e300f1f97e 06-Jan-2014 Elliott Hughes <enh@google.com> Fix pthread_create error handling in ril harder.

The previous patch fixed the behavior _if_ something goes wrong...
...but didn't fix the check for whether something went wrong.
pthread_create isn't a regular Unix "return -1 and set errno" kind
of function; it returns 0 on success and an error number (without
setting errno) on failure.

Bug: https://code.google.com/p/android/issues/detail?id=64189
Change-Id: I335af890885d6a672d7bac746fdfea3ed3995360
/hardware/ril/libril/ril.cpp
c0d8dc63fa3a71f8731870d0e851eb47acf4f568 04-Jan-2014 Elliott Hughes <enh@google.com> Fix pthread_create error handling in ril.

Bug: https://code.google.com/p/android/issues/detail?id=64189
Change-Id: Ie6282dda582a574aaad5513c39f2d8d965f6dee3
/hardware/ril/libril/ril.cpp
6e7c1966c6a41b6e7c0431dcc6bf65678438c79e 12-Dec-2013 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Fix parameter mismatch between header and implementation

RIL_onUnsolicitedResponse's second parameter is
const void *data
according to include/telephony/ril.h and rild/rild.c, but
void *data
according to libril/ril.cpp

This mismatch causes a compile failure with clang (and I'm surprised
it compiles with gcc with the mismatch - probably gcc parses this as
function overloading even though it's extern "C", which wouldn't do
what is expected).

Change-Id: Ib437040aeca4be43cc2d327c3715ffa98c76878c
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/hardware/ril/libril/ril.cpp
2458d8d1e56faae7b00511ceeab19730572c22d9 27-Nov-2013 Shishir Agrawal <shishir@google.com> RIL changes for supporting generic SIM communication.

The RIL interface adds 4 new commands:
- 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)

The RIL version is also increased to 10 by this change.

Change-Id: Iee4d950d37a6097493cd945e611c914c40827215
/hardware/ril/libril/ril.cpp
a18b9d1e1a014290691d63a7f335085dadc83e46 10-Sep-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> RIL: Support SMS over IMS

RIL_REQUEST_IMS_REGISTRATION_STATE is used to aquire IMS registration state.
RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED is called when IMS registration
state has changed.
RIL_REQUEST_IMS_SEND_SMS is used to send MO SMS over IMS. However, if retry
field is set in case of 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.

Bug: 9626411

Change-Id: If0ecc9fa47661f6560171e472f3c464713e97968
/hardware/ril/libril/ril.cpp
6b0f914b499a9cc3482ca9919aab67ad4bd1b10b 23-May-2013 Dima Zavin <dima@android.com> Merge "ril: move record_stream_xxx to librilutils and export header"
622bf2bf79849127cbedd1f56631615bf58aaf78 22-May-2013 Dima Zavin <dima@android.com> ril: move record_stream_xxx to librilutils and export header

Change-Id: I9986c8c5fb1777bbd2b686769ecc726319a73100
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/ril/libril/ril.cpp
75697538e485ea2981960dcd4878bfdd032731ac 27-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>
/hardware/ril/libril/ril.cpp
f467af616bbbc479771184731132d68e213a4419 07-May-2013 Dima Zavin <dima@android.com> libril: move record_stream here as it is the sole client

Change-Id: I85b94c4c6d61dfaa964367a58c773b5550a47995
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/ril/libril/ril.cpp
e1d947602a932047a4c8112c256b5f7832d3f255 18-Apr-2013 Wink Saville <wink@google.com> am c57b3eb5: Add CellInfoWcdma.

* commit 'c57b3eb525db241bd3e6092453f48388bc880447':
Add CellInfoWcdma.
c57b3eb525db241bd3e6092453f48388bc880447 17-Apr-2013 Wink Saville <wink@google.com> Add CellInfoWcdma.

Update CellIdentityXxx docs to define unknown values as INT_MAX.

Bug: 8622081
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13
/hardware/ril/libril/ril.cpp
12b02b453f8c7ee1dcdc93eb9219e395cfc420bd 10-Apr-2013 Robert Greenwalt <rgreenwalt@google.com> am 6fde8b8d: Merge "Fixes typo in logging string."

* commit '6fde8b8d0b9fdcf7fb93aeafd17e7f52bd57e7db':
Fixes typo in logging string.
2126ab2f05c1033fdca7542f38372dffd1468e1c 09-Apr-2013 Robert Greenwalt <rgreenwalt@google.com> Fixes typo in logging string.

Pointed out by bodhisatwa in
https://code.google.com/p/android/issues/detail?id=54098

Change-Id: I4cb42627bb0858360d6f88dedf9412720e4b5cca
/hardware/ril/libril/ril.cpp
8a9e02161271505de274db0c3a88087056dd5dfc 09-Apr-2013 Wink Saville <wink@google.com> Add support for CellInfo RIL commands.

These commands allow for more precise location determination.

To support CellInfo I created librilutils which adds ril_nano_time
over time librilutils will be expanded to have other common methods
that would be used by ril implementations.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
/hardware/ril/libril/ril.cpp
18e4ab167c7d8549a360ab5ae1fadddcad8c0523 08-Apr-2013 Wink Saville <wink@google.com> Fix SignalStrength response.

Properly remap LTE values to appropriate values
for older code.

Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e
/hardware/ril/libril/ril.cpp
388849057a8cc91dbc3fff357d2df524ffec9a4d 05-Jul-2011 Banavathu, Srinivas Naik <snb@codeaurora.org> Rild: Ril should try to write again to the socket EAGAIN error

In case of EAGAIN error, the RIL should write to socket again after some
time.

Change-Id: Ia4c8d17b7c16040a49a4c607a1d1350ebbe7847c
CRs-Fixed: 285312
/hardware/ril/libril/ril.cpp
8eb2a12cb7b525e74736300962a5f3848427275a 20-Nov-2012 Wink Saville <wink@google.com> Add RLOGx

This will eventually allow us to remove the code in
logd_write.c#__android_log_write which uses the tag
to direct logs to the radio buffer.

Change-Id: I7a6a966bc12e59a3ec68a56a41dd681fb325dfd8
/hardware/ril/libril/ril.cpp
d5580e18a7a1ce1a227e98d5170ffd268b0a1e0a 29-Aug-2012 Wink Saville <wink@google.com> Merge "Fix logging for setup_data_call response"
56384157f32856066ee9c1b77cbcf96d4ee90a98 16-Nov-2011 Naveen Kalla <nkalla@codeaurora.org> Fix logging for setup_data_call response

Change-Id: I611d96e7653da4f14d73c6d6f9663365dd983628
/hardware/ril/libril/ril.cpp
96dcdbcfe5111346f1a1f4542a8533a0a6611c01 25-May-2012 Kevin Schoedel <kevin.p.schoedel@intel.com> Fixed goto into scope.

Two functions contained goto statements entering the scope of
automatic variables; added explicit blocks to limit these scopes.

Change-Id: Ib2d46bdc235089e208ac70bdaf405ea9e5b91ab1
Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
Author: Kevin Schoedel <kevin.p.schoedel@intel.com>
/hardware/ril/libril/ril.cpp
9efcac5782b93564d47c1687e67e85849c72afed 09-Aug-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Workaround for LTE RSRP -ve values in Signal

Ril version 6 and below sends negative values
for lte rsrp in signalstrength.
Workaround to maintain backward compatibility
and convert this to positive
values in compliance with ril.h

Support for processing all fields in
SignalStrength in reference-ril

Change-Id: I4d480aa2f607cd617b18681f722de246a7894348
/hardware/ril/libril/ril.cpp
45e740ef3c422bf75aadca21f98614fc120f49fb 31-Jan-2012 Alex Yakavenka <ayakaven@quicinc.com> Implement sim_refresh as per ril v6

Change-Id: Icc620fd191f8542f61bd38e365813753bfedefdf
/hardware/ril/libril/ril.cpp
f423cde8f901a72fd0cb811583a2cdabe62c64bd 08-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Id52de89149d4580873215fafc922ec4bd8d722ed
/hardware/ril/libril/ril.cpp
43b9c52fcaab343282243b6cbc3c5b2a56760f09 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: Id6f7d536955c731454f1063fd19a51da0c6713a1
/hardware/ril/libril/ril.cpp
9139bfbe5c2bf26dfac14fedd5b7defafbaecb7f 05-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I42dbe6812878b39c75babc1ba95737937f45fdcc
/hardware/ril/libril/ril.cpp
6464068a31ff890d42d3da9cdf580d07c9c630d8 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: Ib3eab0b780391f9a0ac9b53282616d66a0154ade
/hardware/ril/libril/ril.cpp
2bc78d614e349574426d198c37e51ccb7455b5bb 08-Dec-2011 Naveen Kalla <nkalla@quicinc.com> Separate SIM states from Radio States

A UICC can have multiple applications (USIM, CSIM). Both USIM and CSIM may be Ready.
So indicating modem state as SIM_READY/RUIM_READY will be incorrect. RADIO_ON is a more
appropriate Radio State. SIM status can be obtained from the RIL_REQUEST_GET_SIM_STATUS
and RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED messages.

The change does the following

- Remove SIM states from RIL_RadioState
- Add messages to indicate voice radio technology

Change-Id: Ic7b540eefb741169ec22499d0e00961feb22a456
/hardware/ril/libril/ril.cpp
eb902b80c2b46e59b12b2bded315e7f620f87c7e 26-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I9cb91455767731254a8d5bee140ea23474543f02
/hardware/ril/libril/ril.cpp
300105d1487f5238940c18792b879793826b61f4 26-Sep-2011 Jake Hamby <jhamby@google.com> Add new RIL requests to support SIM data download via SMS over IMS.

On an LTE device where incoming SMS messages over IMS are sent to
the framework via RIL_UNSOL_RESPONSE_NEW_SMS responses sent to
the RIL, it may be necessary to process USIM data download SM's
(message class 2). This requires the RIL to implement two new requests.

1) RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS:
send an ENVELOPE command to the UICC, receiving the SW1 and SW2
status bytes in addition to the command response.

2) RIL_REQUEST_SMS_ACKNOWLEDGE_WITH_PDU:
send an RP-ACK or RP-ERROR acknowledgement to the incoming SM,
including an acknowledgement PDU containing the envelope response.

Change-Id: Id134dd90611b147fdc8aebc8ccdf0e989a6542a9
/hardware/ril/libril/ril.cpp
5cdc1354de1e1b98347fe67c5fefdb0be7e0f589 15-Oct-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> RIL occasionally stopps event loop on phone process crash

RIL occasionally exits from its event loop due to race condition
upon phone process crash. And there is no recovery mechanism
provided and causing permanent cellular data loss until reset.

The solution is simply to kill rild process to start over when
event loop exits for some reason.

Bug:5428218
Change-Id: I88a9b8e966158f0f943fe3d189d91b1352481d9b
/hardware/ril/libril/ril.cpp
fa8d584ca7984bf7d73ff37c7c2bc1e0dfa5fb71 20-Aug-2011 Jake Hamby <jhamby@google.com> Changes to RIL to support IMS features for LTE.

- There is a new RIL request, RIL_REQUEST_ISIM_AUTHENTICATION, which is
used to perform IMS AKA authentication using the algorithm on the ISIM
application of the UICC. The challenge nonce and response are both encoded
as Base64 strings.

Change-Id: I072b43d2b66b2013f8e58d3bd8251d75a453f167
/hardware/ril/libril/ril.cpp
beb25b58dcb48a2cfa2cfe10f5fb15908ff465f8 17-Jun-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Added a special retry back-off timer value for call retry

Added suggestedRetryTime value in v6 Data_Call_Response
structure so RIL can override retry back-off time
for some special cases.

Bug: 4723641
Change-Id: If5a683be6bcc1f530f0a5512ce3012a6102393d2
/hardware/ril/libril/ril.cpp
ee2745825fae9561c5f83fcf179bbbfa111e5224 17-Apr-2011 Wink Saville <wink@google.com> Fix debug output.

Previously I'd fixed the constant RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED
now I'm fixing the debug output.

Change-Id: I5115ce21141175140645a63d3937c7da21705f11
/hardware/ril/libril/ril.cpp
29487ef2685e5ee38f0348ab031cb96a608296ba 15-Apr-2011 Wink Saville <wink@google.com> Added additional comments to some commands for clarification.

Change RIL_UNSOL_CDMA_SUBSCRIPTION_CHANGED to
RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED.

Change-Id: Id946447c6ee9777696c3d7fa1a664ee7dc7deeba
/hardware/ril/libril/ril.cpp
a9c18d17769ee475cf4fd5e76e18ddfa4070c7cd 13-Apr-2011 Jake Hamby <jhamby@google.com> Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

The new RIL_UNSOL_RIL_CONNECTED call should return the version of
the vendor RIL library and not the version of rild. Fixes data
connectivity on Crespo.

Change-Id: Ib644216677e79b135214a546400372dd61c8d96d
/hardware/ril/libril/ril.cpp
5b9df33c53682addaebc0b6073901a8b441d82f9 07-Apr-2011 Wink Saville <wink@google.com> Add RIL_UNSOL_RIL_CONNECTED.

Change-Id: Id4cc2aff00ad0398f7a24e7f5a24626e5a63425a
/hardware/ril/libril/ril.cpp
2c1fb3a4e7aa8039bdefacceec98aa43cfe5784c 19-Mar-2011 Wink Saville <wink@google.com> Change mock-ril and reference-ril to use include/telephony/ril.h

I've done this by change the copy to a symbolic link, this allows
us to easily change from using the common include/telephony/ril.h
to a separate instance when ril.h is evolving.

Bug: 3457628
Bug: 4132203
Change-Id: Idd8029e57dd0b2afc16c2659dbbc3e587b438f0a
/hardware/ril/libril/ril.cpp
fd7293711394c422711ff07d15a357955ff2194f 23-Feb-2011 Wink Saville <wink@google.com> Fix bugs in responseSimStatus and update comments.

Change-Id: I4b4e6ab712d2a5da6f9102bf818628e9c3d05f3b
/hardware/ril/libril/ril.cpp
c0114b325877907fcdf7a5baa24e54a752e7e58b 18-Feb-2011 Wink Saville <wink@google.com> Changes for ril.h version 6.

- Changes to support LTE and EHRPD radio technology
- Support IPv6 in addition to IPv4 on the modems
- Detailed GPRS registration denied causes
- Access to multiple apps on UICC card
- Access to ISIM app on UICC
- Deprecate RIL_REQUEST_LAST_DATA_CALL_FAIL_CAUSE as it can
causes problems when several PDN contexts are active. Failure reason
should be returned when setup_data_call returns
- Added RIL_RadioTechnology
- Added RIL_PreferredNetworkType
- Added RIL_CdmaSubscriptionSource
- Added RIL_LTE_SignalStrength
- Added AID to SIM requests as an optional parameter
- Add new error codes for returning disconnect reasons
- RIL_Data_Call_Response_v3/v5
Added fields to support IPv6 and return status as it will
now be returned as part of RIL_REQUEST_SETUP_DATA_CALL
- Rename RIL_REQUEST_REGISTRATION_STATE
to RIL_REQUEST_VOICE_REGISTRATION_STATE
response[3] return RIL_RadioTechnology for voice calls
response[13] more error codes
- Rename RIL_REQUEST_GPRS_REGISTRATION_STATE
to RIL_REQUEST_DATA_REGISTRATION_STATE
Changed response[3] to be RIL_RadioTechnology for data calls
Added response[4] error codes for registration being denied
Added response[5] Max simultaneous data calls
- RIL_REQUEST_SETUP_DATA_CALL
Changed data[0] to be RIL_RadioTechnology
Response is now a RIL_Data_Call_Response_v5
- RIL_REQUEST_DATA_CALL_LIST
Response is now a RIL_Data_Call_Response_v5
- RIL_UNSOL_DATA_CALL_LIST_CHANGED
Response is now a RIL_Data_Call_Response_v5
- RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE
Changed data[0] to be RIL_PreferredNetworkType
- RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE
Changed response[0] to be RIL_PreferredNetworkType
- Rename RIL_REQUEST_SET_CDMA_SUBSCRIPTION
to RIL_REQUEST_SET_CDMA_SUBSCRIPTION_SOURCE
- Added RIL_REQUEST_GET_CDMA_SUBSCRIPTION_SOURCE
- Added support for AID to RIL_UNSOL_SIM_REFRESH
- Added RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED
- Added RIL_UNSOL_PRL_CHANGED
- Added RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE
- Rename RIL_UNSOL_RESPONSE_NETWORK_CHANGED
to RIL_UNSOL_RESPONSE_VOICE_NETWORK_CHANGED

Have refercence-ril and mock-ril use a private copy of
ril.h so the ril may evolve separately from them.

Change-Id: I1b952069f5406f5dc42480d019970d10f0120358
/hardware/ril/libril/ril.cpp
af1298d72fd6a8b2d5bed7db15f6d181240fce83 04-Feb-2011 David 'Digit' Turner <digit@google.com> ril: Fix telephony under emulation.

This patch fixes several regressions that were introduced in
a recent rewrite of the native RIL support code, and which
prevent networking from working under emulation.

- 'apn' and 'type' were incorrectly swapped in the
AT+CGDCONT= command string, so the command was
never executed properly by the emulated modem.

- The PDP context type was not properly written to the
parcel in responseDataCallList() in libril/ril.cpp.
Due to this the Java RIL code ignored the response.

- The dns list returned by requestOrSendDataCallList()
was an empty string, which caused the Java RIL code to
fail with a "unknown host" exception when trying to setup
net.dns1

Change-Id: I7f4e6f6f45d197960ecb20e7e8592272921fe694
Note: You also need to apply this emulator patch to verify
this one: http://review.source.android.com//#change,20965

The code in requestOrSendDataCallList() assumes that
AT+CGACT? and AT+CGDCONT? will have answers with exactly
the same number of lines (this wasn't the case before
the emulator fix).
/hardware/ril/libril/ril.cpp
4380897c6cdc99486a061b819943e3b290ebcf09 14-Jan-2011 Wink Saville <wink@google.com> RIL v5 RIL_REQUEST_SETUP_DATA_CALL.

Change-Id: I30531e103416b1b817b9370304e3301a1c641cf5
/hardware/ril/libril/ril.cpp
57ce1f2709484ef8911cabe9b5629d0c21557bd4 13-Sep-2010 Lorenzo Colitti <lorenzo@google.com> Fix dispatchDataCall parcel length for v4 RILs.

Bug: 2995438
Change-Id: I31400ae2a79c3a6e7cb82158ab529dfddbb7144e
/hardware/ril/libril/ril.cpp
2640571b03bb2a95dbab65882bf7fce331d1e894 11-Sep-2010 Lorenzo Colitti <lorenzo@google.com> Properly handle version 3 vendor RILs.

Change-Id: I5a876aaebc17287a763eb243e2f2cdaff676c90b
/hardware/ril/libril/ril.cpp
4f81dcf2a9bc84cbfbb6d3d658c452c22e9b6e83 02-Sep-2010 Lorenzo Colitti <lorenzo@google.com> RIL changes for IPv6 / IPv4v6 data calls.

- Add a PDP type parameter to REQUEST_SETUP_DATA_CALL.
Make this backwards compatible: if we're called with a PDP type parameter and
the RIL doesn't support it, remove the parameter from the request so the RIL
never sees it.
- Change the description of the address field in the RIL_Data_Call_Response
structure and in the response to RIL_REQUEST_SETUP_DATA_CALL from an address
to a space-separated list of addresses. This preserves both source and binary
compatibility but allows new RILs to return both an IPv4 and an IPv6 address
for dual-stack data calls.

Change-Id: I0a77fc57c042bedfd18068c7faf7637a46f476d5
/hardware/ril/libril/ril.cpp
d855ef4370e1185d79ecb3fb3434c9b5f84d15bd 28-Jul-2010 Xia Wang <xiaw@google.com> Fix index error in the radiooptions enable/disable QXDM Log

Change-Id: I7eb2ac166ccee106751ba5cdb6400e37e8750063
/hardware/ril/libril/ril.cpp
0d9f0c0ea45a0239653e04f2c63ccecb1bc62c6b 26-Jun-2010 Dianne Hackborn <hackbod@google.com> Revert "am 9a2f5113: merge from open-source master"

This reverts commit bb1375f6bdc6cf7d8c3642367cf35565ddb094a8, reversing
changes made to ca5e347ce4b2b51385c4b7395d51c30498c41a6b.
/hardware/ril/libril/ril.cpp
bb1375f6bdc6cf7d8c3642367cf35565ddb094a8 25-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am 9a2f5113: merge from open-source master

Merge commit '9a2f5113fd1db1e1605daad47b16b6f960045582'

* commit '9a2f5113fd1db1e1605daad47b16b6f960045582':
Add timer delete support to rild
ca5e347ce4b2b51385c4b7395d51c30498c41a6b 24-Jun-2010 jsh <jsh@google.com> Support for fetching PSC of serving cell.

Instead of adding a new RIL command, just extend RIL_REQUEST_REGISTRATION_STATE.

Bug: 2465036
Change-Id: I36c3a7b730cace66621fc513773ec97c453ea619
/hardware/ril/libril/ril.cpp
563fd7207da27322bf3f3587ef6000a944a617b7 09-Jun-2010 jsh <jsh@google.com> New RIL command to fetch PSC of current serving cell.

Bug: 2465036
Change-Id: Iccd177747bb78e2cd5ec6d9d22e47aa0e7bfd64b
/hardware/ril/libril/ril.cpp
9a2f5113fd1db1e1605daad47b16b6f960045582 22-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I0628d21b4bf629896dad7b9b5b6a9357021e1278
7edd07c9184a3abfaa3f4a161b74b3da9d7bbd56 22-Jun-2010 Naveen Kalla <nkalla@codeaurora.org> Add timer delete support to rild

Change-Id: Ia862f4cac116bf1ee98788c004860cdb2c70f356
/hardware/ril/libril/ril.cpp
7553447d44bb3f494b00d573215d81398f61cfcd 21-Apr-2010 John Wang <johnwang@google.com> Add RIL_E_ILLEGAL_SIM_OR_ME error code.

It is for bug 2571583 to provide better failure information of network operator selection.

Basically, network selection should return RIL_E_ILLEGAL_SIM_OR_ME when the failure is
permanent and don't need retry, such as illegal SIM, ME, HRL config, etc.

Change-Id: Idd5337423a3772febfcfe68b4a87eb3cf5a4696e
/hardware/ril/libril/ril.cpp
3a4840bea36ce53bc0fb181811ebf9d1cd0aa261 07-Apr-2010 Wink Saville <wink@google.com> Remove STOP SHIP logs and comments from ril.cpp.

bug: 2577644
Change-Id: I7021a12950b4a562c88c393ae75ad2394df3d655
/hardware/ril/libril/ril.cpp
3475b8a74bf3d1e94688604326d5dd0f6d441852 30-Jan-2010 John Wang <johnwang@google.com> am 2a7411dc: am 5909cf83: Add RIL_UNSOL_RESEND_INCALL_MUTE.

Merge commit '2a7411dc92f15111e36f72214216f96aab2c51f9'

* commit '2a7411dc92f15111e36f72214216f96aab2c51f9':
Add RIL_UNSOL_RESEND_INCALL_MUTE.
5909cf831f0d687e93164daaecc43a2ff792cc3a 29-Jan-2010 John Wang <johnwang@google.com> Add RIL_UNSOL_RESEND_INCALL_MUTE.

For bug 2400052.

Notification requires user resend mute/unmute to get uplink audio in a call.
/hardware/ril/libril/ril.cpp
7bce082edcee07339ebb06a35970b4b218ab8288 09-Jan-2010 Wink Saville <wink@google.com> Fix bug 2353510 "Sholes can't make a call from device".

Some new code in ril.cpp to handle both old and new rils
needed some tweaking so the new and old size was used.

bug: 2353510
/hardware/ril/libril/ril.cpp
dac5d5a630907424a999459cbd2c93069cdcfe84 24-Dec-2009 Wink Saville <wink@google.com> Fix build.

Change-Id: I2b28f321e48865212c3b970e61a86b578d71e89f
/hardware/ril/libril/ril.cpp
74fa38884320698c1623764850e3131b9769dff0 23-Dec-2009 Wink Saville <wink@google.com> ril interface: Add support for User-User Signaling Information during call setup

Define the UUS data structures and add a pointer to it in RIL_Call for
MT Calls and RIL_Dial for MO calls. UUS information can be used to pass
the skypeId on some networks. Make the corresponding changes to
serialize and deserialize the data at the RIL interface.

Change-Id: Ibbd471cd062910fd4c365f76e809cfb224bd34a2
/hardware/ril/libril/ril.cpp
03c1edf23e76a83b95ac6847e333cb1329bbfa1d 23-Sep-2009 Naveen Kalla <nkalla@quicinc.com> ril.h: Add a failure cause for CDMA call failures, rename
RIL_REQUEST_CDMA_VALIDATE_AKEY and minor clarifications
in the interface definitions.

Add failure cause for CDMA call failures due to access blocked by the
network. Specify the fields in RIL_REQUEST_REGISTRATION_STATE response
that are applicable to EVDO. Rename RIL_REQUEST_CDMA_VALIDATE_AKEY to
RIL_REQUEST_VALIDATE_AND_WRITE_AKEY. Elaborate the meaning of Akey in the
RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY message.
/hardware/ril/libril/ril.cpp
5d621da539abea83309d77317ede40126f47d5f0 19-Sep-2009 John Wang <johnwang@google.com> Add UNSOL_CALL_RINGBACK_TONE to ril.

Some networks may not play ring back tone, RIL will send UNSOL ringback notification.

It indicates to play tone to user for receiving ALERTING message.
/hardware/ril/libril/ril.cpp
084f6708312265b501561a9c6d6e9cb38943985c 19-Aug-2009 Jaikumar Ganesh <jaikumar@google.com> Release mutex locks on error conditions.
/hardware/ril/libril/ril.cpp
ee1fadc192a63724e416b05666844a62d1e75d38 12-Aug-2009 Kenny <gongwuchun@gmail.com> fix return value check issue in sendResponseRaw function
/hardware/ril/libril/ril.cpp
b589a1171e6c4a9524c7bac473514954571b5da1 22-Jun-2009 jsh <jsh@google.com> am 09a68ba3: Add remaining retry count to response for PIN/PUK commands.

Merge commit '09a68ba315ca3d6b092fd8078cc42b93b7934a1a'

* commit '09a68ba315ca3d6b092fd8078cc42b93b7934a1a':
Add remaining retry count to response for PIN/PUK commands.
09a68ba315ca3d6b092fd8078cc42b93b7934a1a 10-Jun-2009 jsh <jsh@google.com> Add remaining retry count to response for PIN/PUK commands.

RIL_REQUEST_ENTER_SIM_PIN
RIL_REQUEST_ENTER_SIM_PUK
RIL_REQUEST_ENTER_SIM_PIN2
RIL_REQUEST_ENTER_SIM_PUK2
RIL_REQUEST_CHANGE_SIM_PIN
RIL_REQUEST_CHANGE_SIM_PIN2
RIL_REQUEST_SET_FACILITY_LOCK
RIL_ENTER_NETWORK_DEPERSONALIZATION

Also add requestToString entry for REPORT_SMS_MEMORY_STATUS.
/hardware/ril/libril/ril.cpp
40202d7a40a84cddf88957de6e042503ebfa1920 10-Jun-2009 Jaikumar Ganesh <jaikumar@google.com> am 920c78f1: Add authType to SETUP_DATA_CALL, errorCode to RIL_SMS_Response.

Merge commit '920c78f166e787dc799bf5df7d6be30034ac0e77'

* commit '920c78f166e787dc799bf5df7d6be30034ac0e77':
Add authType to SETUP_DATA_CALL, errorCode to RIL_SMS_Response.
920c78f166e787dc799bf5df7d6be30034ac0e77 04-Jun-2009 Jaikumar Ganesh <jaikumar@google.com> Add authType to SETUP_DATA_CALL, errorCode to RIL_SMS_Response.

1.Add an additional parameter to specify the
authType (PAP / CHAP) to SETUP_DATA_CALL.
2.Add errorCode to RIL_SMS_Response
/hardware/ril/libril/ril.cpp
a2f6c8a60f349acc9808a7406470d00b7ddc35b2 10-Jun-2009 Wink Saville <wink@google.com> am 7f856808: Cleanup whitespace.

Merge commit '7f8568086f2ea14885b0091c793e14c2656f0da2'

* commit '7f8568086f2ea14885b0091c793e14c2656f0da2':
Cleanup whitespace.
7f8568086f2ea14885b0091c793e14c2656f0da2 09-Jun-2009 Wink Saville <wink@google.com> Cleanup whitespace.
/hardware/ril/libril/ril.cpp
15d535048cf4acac97b24d025dac2162ac449bb0 03-Jun-2009 johnwang <johnwang@google.com> am b2a6184e: Allow response payload on RIL_REQUEST error

Merge commit 'b2a6184ec942c4c1728cbac723db90fbed4f85c5'

* commit 'b2a6184ec942c4c1728cbac723db90fbed4f85c5':
Allow response payload on RIL_REQUEST error
b2a6184ec942c4c1728cbac723db90fbed4f85c5 02-Jun-2009 johnwang <johnwang@google.com> Allow response payload on RIL_REQUEST error

Enable response payload while RIL_REQUEST returns error. RIL must explicitly pass NULL
for the response parameter if there is no response payload.

modified: ril.cpp
/hardware/ril/libril/ril.cpp
2a058e1ad9d1df198a161e40fced963e9f49ca03 29-May-2009 Wink Saville <wink@google.com> am a592eebc: Cleanup and changes of responseCdmaInformationReocrds, Broadcast SMS configuration and reponseRilSignalStrength.

Merge commit 'a592eebc476a3d234f47f93e58252f8c822fc772'

* commit 'a592eebc476a3d234f47f93e58252f8c822fc772':
Cleanup and changes of responseCdmaInformationReocrds, Broadcast SMS
a592eebc476a3d234f47f93e58252f8c822fc772 22-May-2009 Wink Saville <wink@google.com> Cleanup and changes of responseCdmaInformationReocrds, Broadcast SMS
configuration and reponseRilSignalStrength.

From Motorola, change reponseCdmaInformationRecords to use string for
marshalling and simplify by removing duplicate code.

Change Broadcast SMS configuration adding some some new fields
for Gsm Broadcast configuration and some name changes to be
more coherent.

Cleanup responseRilSignalStrength, includes some code refactoring
and removing the sending of the number of intergers. Now it is assumed
that a RIL_SignalStrength structure being sent so it is not necessary to
send the length. There is a corresponding change in
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java.
/hardware/ril/libril/ril.cpp
e5c30e1e3f5bed38915e3ddb7e9f6645031b7b1a 26-May-2009 johnwang <johnwang@google.com> am fdf825f9: Enable new libhtc_ril which supporting new CDMA ril interface.

Merge commit 'fdf825f9d0dc639787b8523638bb61874ed0b540'

* commit 'fdf825f9d0dc639787b8523638bb61874ed0b540':
Enable new libhtc_ril which supporting new CDMA ril interface.
fdf825f9d0dc639787b8523638bb61874ed0b540 23-May-2009 johnwang <johnwang@google.com> Enable new libhtc_ril which supporting new CDMA ril interface.

1) Enable new libhtc_ril and support new RIL_Call structure 2) Remove "#define NEWRIL".
/hardware/ril/libril/ril.cpp
8a3c48c4eac62f9c25ab3f0dbfd8f829a1e32778 20-May-2009 Mathias Agopian <mathias@google.com> move libbinder's header files under includes/binder
/hardware/ril/libril/ril.cpp
3d54e74bc450bb40977e3ae6fab6185fe687bdae 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes.
/hardware/ril/libril/ril.cpp
000a9fe96fdf9111387d2bc389d2f6bb3e627d0f 11-May-2009 jsh <jsh@google.com> Add get/set SMSC address to ril.h.
/hardware/ril/libril/ril.cpp
af6ecbf0fa03379818038459ee1b61ea393ffd4f 29-Apr-2009 Jaikumar Ganesh <jaikumar@google.com> Add RIL_UNSOL_OEM_HOOK_RAW

Add RIL_UNSOL_OEM_HOOK_RAW to send unsolicited OEM
commands from the baseband.

Tested using radiooptions tool.
/hardware/ril/libril/ril.cpp
f5903dfd25c2ef104b3e9267b53f6ee3e7588063 24-Apr-2009 Wink Saville <wink@google.com> Teleca 090414 & 090423 patches for CDMA to complete phase1 work.
/hardware/ril/libril/ril.cpp
1b5fd23e2bc82e5bed48125317cf2f9837cf6ae8 22-Apr-2009 Wink Saville <wink@google.com> New ril.h & changes to ril.cpp to support it.

There are NEWRIL:TODO's in the code to identify
additional changes needed when a new vendor ril
is delivered.

Also changes to some appendPrintBuf's, apparently
it's been a while since debug has been turn on
as there were quite a few compile time errors.
/hardware/ril/libril/ril.cpp
f4c4d36c410a3501d282dd7de1c7c3350734f27e 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/hardware/ril/libril/ril.cpp
ff36874070b246c40f2ecfcbd584a2d663fa493d 25-Mar-2009 John Wang <> Automated import from //branches/donutburger/...@140572,140572
/hardware/ril/libril/ril.cpp
34a5108969fbfc6cf8140513b7246da805902b7a 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/hardware/ril/libril/ril.cpp
00f06fc3fdb05d4276e76091cacb42b6f6862222 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/hardware/ril/libril/ril.cpp
c2efc51d848d68147320a5983954f9c76428885c 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/hardware/ril/libril/ril.cpp
31f41943663ccc71bef87d42585b04afb23f6754 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
/hardware/ril/libril/ril.cpp
80bb41e3445d96fb8508609e5bfcae6ea477da18 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/hardware/ril/libril/ril.cpp
154a2efc9b75de255cf9c3916d9d778c445df2ae 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/hardware/ril/libril/ril.cpp
a8657f8726ba81b72eb532c884545b4ad52ff471 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/hardware/ril/libril/ril.cpp
dbbb392e15b5ace6f19e76c49c80ea14292e8a4d 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/hardware/ril/libril/ril.cpp