History log of /hardware/ril/libril/ril_service.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
982ba7ab0767df77b0cda7f592bfde7e8b6cb53d 08-May-2018 Sooraj Sasindran <sasindran@google.com> Add scan error to Network Scan result

Add scan error to Network Scan result

Bug: 79377435
Test: Verified that SCAN is always responding fine
Change-Id: If0232826aa14fb35fc7a5324bdc95368c88994f5
/hardware/ril/libril/ril_service.cpp
456df1bf437a38bd1931da18b1322db9e792eb6a 04-May-2018 terrycrhuang <terrycrhuang@google.com> ril: Change rild initial sequence to guarantee non-null function pointer before rild register its hidl service

Test: Build and local test
Bug: 78886552
Change-Id: I1137cc0f4f09f0304662a2227b84c2b5b228d45d
/hardware/ril/libril/ril_service.cpp
6cc40048adeca5b30ce0ab419f94ddf8ac2f4a9e 20-Mar-2018 Steven Moreland <smoreland@google.com> Add DISABLE_RILD_OEM_HOOK.

OEM hook is deprecated, so adding a way to disable it to
this radio implementation.

Bug: 75322118
Test: boot device w/ DISABLE_RILD_OEM_HOOK works, lshal
Change-Id: Ie7ade48476d2c330df608e9cc8dab805f84dd81d
/hardware/ril/libril/ril_service.cpp
e9a10e65d732bcd9dfb5d2a2a8d695129131c779 24-Feb-2018 Amit Mahajan <amitmahajan@google.com> Store the system time when NITZ is received.

If cached value for NITZ is used, the time at which it was
received needs to be cached too.

Test: Basic telephony sanity
Bug: 72283604
Change-Id: I8f443171c4583e3eab9be7973d7714ae6c7ab6af
/hardware/ril/libril/ril_service.cpp
e6f16f2ae4387a4cc098f41615bddb95b25d3bed 03-Dec-2017 Youngrak Lee <youngrak@codeaurora.org> Add carrierKeyLength parameter in RIL_CarrierInfoForImsiEncryption structure

Bug: 69477444
CRs-Fixed: 2145759
Test: Manual

Change-Id: I10b4ebee981b8b74be75aa2237294db64bdfc5de
/hardware/ril/libril/ril_service.cpp
7c37381c93c54cf4ce64e345a87b5fa0c28bb077 23-Mar-2017 Ruthwar Kumar Ambeer <ruthwar@codeaurora.org> Sending empty strings instead of NULL for some RIL requests

Some vendor RILs expect empty string instead of NULL pointer
for certain RIL requets. For 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_ENTER_NETWORK_DEPERSONALIZATION
RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_INITIAL_ATTACH_APN, RIL_REQUEST_SET_DATA_PROFILE,
RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION,
RIL_REQUEST_SET_FACILITY_LOCK,
RIL_REQUEST_CHANGE_BARRING_PASSWORD, sending empty string instead
of NULL.

Test: Manual
Bug: 37782683, 65653485
Change-Id: I6627c8a12e096b9ac8ebe08e734782cfa951c488
/hardware/ril/libril/ril_service.cpp
398177045ef80ebdd69b64c6b463c1c42213b1bd 10-Oct-2017 Pankaj Kanwar <pkanwar@google.com> Merge "Fix rild crash"
am: 3e8f2c80f4

Change-Id: Ic5cce3964d5d0a9282b39d81b416bc9a67afd4ea
83e7acd605373167f08578175b9cfa7e0c3d2d42 05-Sep-2017 Ajay Nambi <anambi@codeaurora.org> Fix rild crash

Initialize ussInfo in getCurrentCallsResponse.

Bug: 65396967
Change-Id: I585176ccad494a648bd6869d5adbef583659c321
/hardware/ril/libril/ril_service.cpp
4bb8e509c2da68bad4840957099e461c76d4fe6f 09-Jun-2017 Amit Mahajan <amitmahajan@google.com> Better handling for hal version 1.1

Test: Basic telephony sanity
Bug: 62459058
Change-Id: I451d8e1c8cd07ce8a05d44e0e27cc30eab6bf7db
/hardware/ril/libril/ril_service.cpp
6a8809d861dd257e1a69db19998b8844a4abcbe0 08-Jul-2017 Nathan Harold <nharold@google.com> NATT Keepalive RIL Implementation

RIL support for startKeepalive and stopKeepalive

Bug: 63942305
Test: vts
Merged-In: Ie4ad70b0120d234fc976a9e24e244c8bd9b08bfb
Change-Id: Ie4ad70b0120d234fc976a9e24e244c8bd9b08bfb
/hardware/ril/libril/ril_service.cpp
35afd645373ee61324101f3a43dcaa0992fea95d 08-Jul-2017 Nathan Harold <nharold@google.com> Fix the RIL-to-HIDL conversion for Cell Lat and Long

The legacy RIL interface received Lat and Long in that order.
The HIDL interface structure uses Long and Lat. This fixes
a swaparoo in the compatibility layer.

* RIL_REQUEST_VOICE_REGISTRATION_STATE
*
* ... skipping a bunch of stuff
*
* ((const char **)response)[5] is Base Station latitude if registered on a
* CDMA system or NULL if not. Base Station
* latitude is a decimal number as specified in
* 3GPP2 C.S0005-A v6.0. It is represented in
* units of 0.25 seconds and ranges from -1296000
* to 1296000, both values inclusive (corresponding
* to a range of -90 to +90 degrees).
* ((const char **)response)[6] is Base Station longitude if registered on a
* CDMA system or NULL if not. Base Station
* longitude is a decimal number as specified in
* 3GPP2 C.S0005-A v6.0. It is represented in
* units of 0.25 seconds and ranges from -2592000
* to 2592000, both values inclusive (corresponding
* to a range of -180 to +180 degrees).

Bug: 63274800
Test: manual
Change-Id: If2de7f5d0e0d0f470f824aa4f2329de4ad98eb6c
/hardware/ril/libril/ril_service.cpp
799ca6b5d3858b365aeb6a1c780fc3a6174308aa 10-Jul-2017 nharold <nharold@google.com> Merge "Fix the RIL-to-HIDL conversion for Cell Lat and Long"
am: 988cd1f5d3

Change-Id: I1bdf739541040288ece81d20de889f172e3ae28d
988cd1f5d3e163972fadf7bdb8e7b37d956da224 10-Jul-2017 nharold <nharold@google.com> Merge "Fix the RIL-to-HIDL conversion for Cell Lat and Long"
714e19cfca1361274aebe29653affd9c7648c54d 08-Jul-2017 Nathan Harold <nharold@google.com> Fix the RIL-to-HIDL conversion for Cell Lat and Long

The legacy RIL interface received Lat and Long in that order.
The HIDL interface structure uses Long and Lat. This fixes
a swaparoo in the compatibility layer.

* RIL_REQUEST_VOICE_REGISTRATION_STATE
*
* ... skipping a bunch of stuff
*
* ((const char **)response)[5] is Base Station latitude if registered on a
* CDMA system or NULL if not. Base Station
* latitude is a decimal number as specified in
* 3GPP2 C.S0005-A v6.0. It is represented in
* units of 0.25 seconds and ranges from -1296000
* to 1296000, both values inclusive (corresponding
* to a range of -90 to +90 degrees).
* ((const char **)response)[6] is Base Station longitude if registered on a
* CDMA system or NULL if not. Base Station
* longitude is a decimal number as specified in
* 3GPP2 C.S0005-A v6.0. It is represented in
* units of 0.25 seconds and ranges from -2592000
* to 2592000, both values inclusive (corresponding
* to a range of -180 to +180 degrees).

Bug: 63274800
Test: manual
Change-Id: If2de7f5d0e0d0f470f824aa4f2329de4ad98eb6c
/hardware/ril/libril/ril_service.cpp
b4d732b0464ef94878dbaba7479809ca9c1fe751 29-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add cross-validation to IccCardStatusResponse" into oc-dr1-dev
ee7a68c226696a59e8b67c779bca4054147baf6a 28-Jun-2017 Sanket Padawe <sanketpadawe@google.com> Merge "Fix memory alignment for dispatchImsCdmSms while sending data to vendor code." into oc-dr1-dev
fb9166e2e36900b60a2494590b5ba6ba3508f4a6 21-May-2017 pkanwar <pkanwar@google.com> Radio Interface changes to allow the modem to query the framework
for the key.

We will now pass the ImsiEncryptionInfo object which includes mnc/mcc.
BUG: 35606429
Test: manual

(cherry picked from commit d99e9284e93d2c687b17d733e3e0570bca9a23c8)
Merged-In: I670465878e01e382b074a6434fbaf1bcb0fecc65
Change-Id: I670465878e01e382b074a6434fbaf1bcb0fecc65
/hardware/ril/libril/ril_service.cpp
c41958066a5d97f12ffab8deae3058aa19af5a41 27-Jun-2017 Sanket Padawe <sanketpadawe@google.com> Fix memory alignment for dispatchImsCdmSms while sending data to vendor code.

Test: manually sending sms
Change-Id: I04baeace404cbe354745e8e253d18780ef7eacc4
Fix: 62811291
/hardware/ril/libril/ril_service.cpp
4c23d0acaebb81b32ca576193b1e2ee777e08f33 27-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Keepalive RIL Interface" into oc-dr1-dev
7da5dd66ee57c4f080d530ab73bb51f5ca4dc851 09-Jun-2017 Nathan Harold <nharold@google.com> Add cross-validation to IccCardStatusResponse

Verify that the card app indices are within the range
of the number of provided apps.

Bug: 62459080
Test: none

Change-Id: I07a89b440ebfbe5a00a1b493527506a573b7d09a
(cherry picked from commit 402dc021f7d80212fb7c3f9cb7349252e4ce4312)
/hardware/ril/libril/ril_service.cpp
9c7ad93840f7e21adf9fbcf0d23b1d4c69ee9fab 23-Jun-2017 yinxu <yinxu@google.com> Use direct assignment to replace memcpy

memcpy does not work here.

Test: Telephony sanity tests
Bug: 30954762

Cherry-picked cleanly from:
https://android-review.git.corp.google.com/#/c/421181/

Merged-in: I1e1048fc358bd57df2b230caef16ebf84e255c0a
Change-Id: I1e1048fc358bd57df2b230caef16ebf84e255c0a
(cherry picked from commit dab316622f7459b94f1b4730a3f1266d88f29236)
/hardware/ril/libril/ril_service.cpp
a2140daceeb355950dd146c29abc4a4ae6b9f665 23-Jun-2017 Ying Xu <yinxu@google.com> Merge "Use direct assignment to replace memcpy" am: d5461a4f08
am: 97abdd412e

Change-Id: I1065dc001b864b63e9841986078db208d2813943
d5461a4f08750fbaa1be66d7db9068f6fa064953 23-Jun-2017 Ying Xu <yinxu@google.com> Merge "Use direct assignment to replace memcpy"
dab316622f7459b94f1b4730a3f1266d88f29236 23-Jun-2017 yinxu <yinxu@google.com> Use direct assignment to replace memcpy

memcpy does not work here.

Test: Telephony sanity tests
Bug: 30954762
Change-Id: I1e1048fc358bd57df2b230caef16ebf84e255c0a
/hardware/ril/libril/ril_service.cpp
ec94b828fe29a51c5fc4afa542e3f4430d2e238b 26-May-2017 Nathan Harold <nharold@google.com> Keepalive RIL Interface

Interface definition for requesting and managing
keepalive packet offload to the modem.

Bug: 33277538
Test: tbd
Change-Id: Id42b8802750ca376d1d50431dec670f25c607174
(cherry picked from commit 6942b212a92d9d05a8100306acf9ea855818eb8d)
/hardware/ril/libril/ril_service.cpp
e492ca64cc81bf0959a11a1d536cf21987eb8827 21-Jun-2017 Sanket Padawe <sanketpadawe@google.com> Handle empty apn string in setInitialAttachApn HIDL API.
am: 46e9ee36b6

Change-Id: Ie83142b6e724ce34f7ae3cddee35bbeba592fe04
c4766a04fcc912b19df6553e373b6078e9826062 21-Jun-2017 Sanket Padawe <sanketpadawe@google.com> Handle empty apn string in setInitialAttachApn HIDL API.
am: 46e9ee36b6

Change-Id: I2b066c9874b0e1c42808739ad378905fec69ee6d
46e9ee36b69c86df6d9227a1a95bce1835905a23 20-Jun-2017 Sanket Padawe <sanketpadawe@google.com> Handle empty apn string in setInitialAttachApn HIDL API.

Do not convert empty str to null in ril_service.cpp hidl conversion
as apn cannot be passed as null. QC expects empty apn string.

Change-Id: If9810f2d7741491e4ed440d20c95230e09a4b5d3
Fix: 62066962
Test: manual
/hardware/ril/libril/ril_service.cpp
f9f24bb52c50dd8dd39f5293eeb92f97caf7c10b 17-Jun-2017 nharold <nharold@google.com> Merge "Keepalive RIL Interface" am: b507005da6
am: 6f664a9b21

Change-Id: I298c15b19403f5917de86632207bd3e3dda794ef
b507005da6d0115e1874216a0e2eefde5ec193a5 17-Jun-2017 nharold <nharold@google.com> Merge "Keepalive RIL Interface"
425fb9aa5eb6ed8c478d15fb8f4cf2d8c42ccb48 16-Jun-2017 nharold <nharold@google.com> Merge "Add cross-validation to IccCardStatusResponse" am: 476758da94
am: c96af497ed

Change-Id: I28df78c22ad3696f697652850e22d9235e13ed88
476758da94a7dafbfc90956e94dda7cb7c5be8cb 16-Jun-2017 nharold <nharold@google.com> Merge "Add cross-validation to IccCardStatusResponse"
6942b212a92d9d05a8100306acf9ea855818eb8d 26-May-2017 Nathan Harold <nharold@google.com> Keepalive RIL Interface

Interface definition for requesting and managing
keepalive packet offload to the modem.

Bug: 33277538
Test: tbd
Change-Id: Id42b8802750ca376d1d50431dec670f25c607174
/hardware/ril/libril/ril_service.cpp
f917c657de4aa183594790f76cad37066ce4e79b 13-Jun-2017 Pankaj Kanwar <pkanwar@google.com> Merge "Radio Interface changes to allow the modem to query the framework for the key." am: 9d64842e19
am: 06be9ba8d7

Change-Id: Ie7c31abeac3675a840779f262ba364461351fc98
b10761ea89d38a705b3ffb539e9550777b2b5d56 21-May-2017 pkanwar <pkanwar@google.com> Radio Interface changes to allow the modem to query the framework
for the key.

We will now pass the ImsiEncryptionInfo object which includes mnc/mcc.
BUG: 35606429
Test: manual

Change-Id: I670465878e01e382b074a6434fbaf1bcb0fecc65
/hardware/ril/libril/ril_service.cpp
ccb6d7fbf4581578cb67b046e556ba15381b764e 09-Jun-2017 Amit Mahajan <amitmahajan@google.com> Better handling for hal version 1.1

Test: Basic telephony sanity
Bug: 62459058
Change-Id: I451d8e1c8cd07ce8a05d44e0e27cc30eab6bf7db
/hardware/ril/libril/ril_service.cpp
87d7f199127d1db0faf860c8ffbd50a086558603 09-Jun-2017 Amit Mahajan <amitmahajan@google.com> Merge "Treat NULL payload in RIL messages as valid where applicable." into oc-dev
am: 65d3486b2f

Change-Id: Ied5c1c63ba848ae88870be135a88de9a9baf5375
6fe9ed5215a7ea58866350ff1ea52f52768fea4e 09-Jun-2017 Amit Mahajan <amitmahajan@google.com> Merge "Treat NULL payload in RIL messages as valid where applicable." into oc-dev
am: 65d3486b2f

Change-Id: I604a461ba6d9d43730405ba5617afb6dcb871b39
65d3486b2fd5dcff52dae8697ec471ab1ad577b8 09-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Treat NULL payload in RIL messages as valid where applicable." into oc-dev
01fe6b31f8685bd0dbf1257f723eb1825f229063 09-Jun-2017 Sooraj Sasindran <sasindran@google.com> Use Hex conversion for cid and lac
am: 758ee46f08

Change-Id: Id3be1295f70bff4560554effe7684e48bd7b7f39
aacc2e78d85f50af8256d16455a21dc2221ce0a2 09-Jun-2017 Sooraj Sasindran <sasindran@google.com> Use Hex conversion for cid and lac
am: 758ee46f08

Change-Id: I1de11843062178ecf5b5978e7d4292c5d338bba5
402dc021f7d80212fb7c3f9cb7349252e4ce4312 09-Jun-2017 Nathan Harold <nharold@google.com> Add cross-validation to IccCardStatusResponse

Verify that the card app indices are within the range
of the number of provided apps.

Bug: 62459080
Test: none

Change-Id: I07a89b440ebfbe5a00a1b493527506a573b7d09a
/hardware/ril/libril/ril_service.cpp
13058cb71f03066fb81d1652f3dc3ffa050f3c7b 08-Jun-2017 Amit Mahajan <amitmahajan@google.com> Treat NULL payload in RIL messages as valid where applicable.

Test: basic telephony sanity
Bug: 62262047
Change-Id: Icdd199025b8890e8be66a18d47dff0f991ff4308
/hardware/ril/libril/ril_service.cpp
758ee46f08d307e4b6750889cf49105a82525bec 08-Jun-2017 Sooraj Sasindran <sasindran@google.com> Use Hex conversion for cid and lac

Use Hex conversion for cid and lac

Bug=37056478
Test: verified that cid and lacs given to applications
are same as what modem sent
Change-Id: I0ec8544f9c0425e97663cc24079be3d50b8a2aca
/hardware/ril/libril/ril_service.cpp
f65b2c949ee3da2b502e610aff2b11dce34dad8c 05-Jun-2017 Mathieu Chartier <mathieuc@google.com> Use CALL_ONREQUEST in RadioImpl::startNetworkScan

Use CALL_ONREQUEST instead of calling s_vendorFunctions->onRequest. This
fixes the gobo build.

Test: make
Bug: 62373887

Change-Id: Icd1c751efc25dbce15d374a08d0a025aaa4317fc
/hardware/ril/libril/ril_service.cpp
de2223dfbe80ea10dbf9ac517d34142f50d205e9 02-Jun-2017 Ying Xu <yinxu@google.com> Merge "Implement the new network scan RIL API." am: c2a8f44f11 am: b377793c42 am: 4cb7768820
am: 72eab07f24

Change-Id: If7f2f612fe0bd968325bc5c4dde58162e6a3b0fb
72eab07f24c334dbae7821f94872c10abb446477 02-Jun-2017 Ying Xu <yinxu@google.com> Merge "Implement the new network scan RIL API." am: c2a8f44f11 am: b377793c42
am: 4cb7768820

Change-Id: Iad9b146efd346f6afb8a79c79724a11209c978a1
8688abd15e76c8c8adbd6b2136a813536bb1de8d 22-May-2017 yinxu <yinxu@google.com> Implement the new network scan RIL API.

Test: Telephony sanity tests
Bug: 30954762
Change-Id: I3a4b7f7b642b266fb2c6f75bc3c7fd947dfe6ad0
/hardware/ril/libril/ril_service.cpp
379aca33ad1e56a7ba45d1fc6a1d00a5de8cc801 24-May-2017 Sanket Padawe <sanketpadawe@google.com> Fix VTS test for setBarringPassword RIL api. am: 75e42a55ef
am: 1382f81732

Change-Id: If8a29c8e486f30be12ef8406dd9a029ccd9fc89a
1382f81732a643f4e9e87d975eaf87c8693498ce 24-May-2017 Sanket Padawe <sanketpadawe@google.com> Fix VTS test for setBarringPassword RIL api.
am: 75e42a55ef

Change-Id: I0100586fab946e7660570270bc356c0f985ace64
75e42a55efe9bd706b5c2876e4f91fa251e5bcd5 24-May-2017 Sanket Padawe <sanketpadawe@google.com> Fix VTS test for setBarringPassword RIL api.

Bug: 62054964
Test: manual
Change-Id: I05200a966badc3a67dec4c708b053464d943cd85
/hardware/ril/libril/ril_service.cpp
b863304d017298262f32b5737e983e4f0bc80518 18-May-2017 Amit Mahajan <amitmahajan@google.com> Fix multi sim support and warnings in new hal code.
am: 93f603c4e1

Change-Id: I140b9892eb75cafd84784bdfe1c1ab969f2ec799
b3a11bbb523b9b2191b784e34678ddeb8a476c66 16-May-2017 Amit Mahajan <amitmahajan@google.com> Fix multi sim support and warnings in new hal code.

Test: Basic telephony sanity for single sim
Bug: 38228839
Change-Id: I7df7ed41354b50f335a6f5fba7dffde03127b4f1
/hardware/ril/libril/ril_service.cpp
93f603c4e168c30fbc1366c1b6c6ac0f0a4b4b6e 16-May-2017 Amit Mahajan <amitmahajan@google.com> Fix multi sim support and warnings in new hal code.

Test: Basic telephony sanity for single sim
Bug: 38228839
Merged-in: I7df7ed41354b50f335a6f5fba7dffde03127b4f1
Change-Id: I7df7ed41354b50f335a6f5fba7dffde03127b4f1
/hardware/ril/libril/ril_service.cpp
7317bd48d40ea42af94814f74f5e4d36a91e6752 04-May-2017 yinxu <yinxu@google.com> Define new network scan RIL API

This CL defines the RIL API for network scan and also includes dummy
stubs for the new API.

Test: Telephony Sanity Test
Bug: 30954762

Merged-in: Id276ca35d399c6860dc5f6413991ddf0ab3fd5e5
Change-Id: Id276ca35d399c6860dc5f6413991ddf0ab3fd5e5
(cherry picked from commit 3abe7c7b5ce788c112c5893734a5e0372a07991e)
(cherry picked from commit 584379e4cbfbfbaffd1a7be6d20ae6c685c925c5)
/hardware/ril/libril/ril_service.cpp
584379e4cbfbfbaffd1a7be6d20ae6c685c925c5 04-May-2017 yinxu <yinxu@google.com> Define new network scan RIL API

This CL defines the RIL API for network scan and also includes dummy
stubs for the new API.

Test: Telephony Sanity Test
Bug: 30954762
Change-Id: Id276ca35d399c6860dc5f6413991ddf0ab3fd5e5
(cherry picked from commit 3abe7c7b5ce788c112c5893734a5e0372a07991e)
/hardware/ril/libril/ril_service.cpp
797c1c2b6cb1b90ba43453659403ba8651d85187 24-Mar-2017 Grace Chen <chengrace@google.com> Support different SIM power states

Test: Verify SIM power states
Bug: 35844036
Merged-In: Iabdbcba2572a481537c47da536b66a4b99365511
Change-Id: Iabdbcba2572a481537c47da536b66a4b99365511
/hardware/ril/libril/ril_service.cpp
3abe7c7b5ce788c112c5893734a5e0372a07991e 04-May-2017 yinxu <yinxu@google.com> Define new network scan RIL API

This CL defines the RIL API for network scan and also includes dummy
stubs for the new API.

Test: Telephony Sanity Test
Bug: 30954762
Change-Id: Id276ca35d399c6860dc5f6413991ddf0ab3fd5e5
/hardware/ril/libril/ril_service.cpp
08eb654a6f9114adbd6788a327762f619446b1d2 24-Mar-2017 Grace Chen <chengrace@google.com> Support different SIM power states

Test: Verify SIM power states
Bug: 35844036
Change-Id: Iabdbcba2572a481537c47da536b66a4b99365511
/hardware/ril/libril/ril_service.cpp
350bc81a8e6a9c53b7935cae7cf160d9c42e36d0 01-May-2017 Jayachandran Chinnakkannu <jayachandranc@google.com> Merge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG" into oc-dev
4709430fbe71b58be022d777774ece150b36a5a8 28-Apr-2017 Jayachandran C <jayachandranc@google.com> Do not treat NULL response as error for getAllowedCarriers

NULL is a valid response in RIL_REQUEST_GET_CARRIER_RESTRICTIONS
as per RIL.h. NULL implies all carriers are allowed. This fix skips
setting error if response is NULL to fix VTS failure.

Test: VTS
Bug: 37849113
Bug: 37157801
Change-Id: Ida3d2d0f10693ed396b236ac9512afb277ce2ddb
/hardware/ril/libril/ril_service.cpp
cff624914795645a078c2052a819763c44fec640 01-May-2017 Jayachandran Chinnakkannu <jayachandranc@google.com> Merge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG" am: cea6432601 am: 41fb22dcb4 am: 1eb054537d
am: 934d417a3c

Change-Id: I07390214a501fcf27ca881e52f49212759ef7ff5
587713a628597a9132bba9a0f5293c58fbc4a32a 30-Apr-2017 Jayachandran C <jayachandranc@google.com> Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG

Test: VTS
Bug: 37849113
Bug: 37157801
Change-Id: I6e2f384751973457775ab8c084189bddd59d0dd3
/hardware/ril/libril/ril_service.cpp
cea643260186fd22e9b803bba9079fe473ac6861 01-May-2017 Jayachandran Chinnakkannu <jayachandranc@google.com> Merge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG"
32763f0409cb5fc798fb81f7081570250c69d617 30-Apr-2017 Jayachandran C <jayachandranc@google.com> Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG

Test: VTS
Bug: 37157801
Change-Id: I6e2f384751973457775ab8c084189bddd59d0dd3
/hardware/ril/libril/ril_service.cpp
915777fedbad32ece9cb399a16db07c0374d3444 29-Apr-2017 Meng Wang <mewan@google.com> Merge "Do not treat NULL response as error for getAllowedCarriers" am: e1bdb3ff16 am: 2579380c88 am: cbfb65f7cc
am: 0688f9eb03

Change-Id: Ic95696a8a0af8bb71c3ed2d33d92ab3ccbeff838
e1bdb3ff16b9dce7045ce8e7566b2a975a094286 29-Apr-2017 Meng Wang <mewan@google.com> Merge "Do not treat NULL response as error for getAllowedCarriers"
70f7d2eba846b788827d8953291888e9512f4907 28-Apr-2017 Jayachandran C <jayachandranc@google.com> Do not treat NULL response as error for getAllowedCarriers

NULL is a valid response in RIL_REQUEST_GET_CARRIER_RESTRICTIONS
as per RIL.h. NULL implies all carriers are allowed. This fix skips
setting error if response is NULL to fix VTS failure.

Test: VTS
Bug: 37157801
Change-Id: Ida3d2d0f10693ed396b236ac9512afb277ce2ddb
/hardware/ril/libril/ril_service.cpp
71460d3e6a693c1932e36c014acf55c36084db35 27-Apr-2017 Pankaj Kanwar <pkanwar@google.com> Merge "Radio Interface changes to allow the modem to query the framework for the key."
c61837ecc3551dc84f7649e0a4030365d273a7af 17-Mar-2017 pkanwar <pkanwar@google.com> Radio Interface changes to allow the modem to query the framework
for the key.

This CL adds the 1.1 version of the HAL interface. It also introduces
support for 2 new messags:

1. setCarrierInfoForImsiEncryption
2. carrierInfoForImsiEncryption

BUG: 35606429
Test: manual
Change-Id: Iad02a20081e8bd1b8daaac396d20d888f8567252
Merged-In: I1d953914c23f8a1d94cc85e023ead3fd3c036ec5
/hardware/ril/libril/ril_service.cpp
db8e09406bb54affcf50ed75e983727cba894f5b 17-Mar-2017 pkanwar <pkanwar@google.com> Radio Interface to query for the public key.

This CL adds the 1.1 version of the HAL interface. It also introduces
support for 2 new messags:

1. setCarrierInfoForImsiEncryption
2. carrierInfoForImsiEncryption

BUG: 35606429
Test: manual
Change-Id: I1d953914c23f8a1d94cc85e023ead3fd3c036ec5
/hardware/ril/libril/ril_service.cpp
c22b3de9b6727194818af29cd3addb0c7824e2ea 14-Apr-2017 Jack Yu <jackyu@google.com> Fixed several memory related issues.

1. Fixed memory leaks in set initial attach apn error conditions.
2. Used consistent way to initialize structures.

Test: Telephony sanity tests
bug: 37347693
Merged-In: I19fe8dfef718e617d9c60914b6eb74f9b84a6544
Change-Id: I19fe8dfef718e617d9c60914b6eb74f9b84a6544
/hardware/ril/libril/ril_service.cpp
7180c037d15e80054542e0eda0db444065bf383a 17-Apr-2017 Jack Yu <jackyu@google.com> Merge "Fixed several memory related issues." am: 0318efe4cc am: 98cbc54424 am: 39c6b6757e
am: d1486717ac

Change-Id: I80a1bf7332cd4c207dae9dd7d8f51d70cc312853
0318efe4ccaa5e802b6bc91b14ecf93befa1f03e 17-Apr-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fixed several memory related issues."
c5daf02951359012ef7891b1f4a4a0ff37b3724c 15-Apr-2017 Jack Yu <jackyu@google.com> Merge "Fixed compilation error when MEMSET_FREED is turned on" am: 27d62c6e87 am: 3070799d05 am: fc5c7ee4c8
am: fa85ebe1bc

Change-Id: Iac80c15da0261f06d10687557d1a0408f4536096
8e732d4862e3fb53acd226050b4570bf1608bee7 14-Apr-2017 Jack Yu <jackyu@google.com> Fixed several memory related issues.

1. Fixed memory leaks in set initial attach apn error conditions.
2. Used consistent way to initialize structures.

Test: Telephony sanity tests
bug: 37347693
Change-Id: I19fe8dfef718e617d9c60914b6eb74f9b84a6544
/hardware/ril/libril/ril_service.cpp
b4295a46e217e4c99eadf262257e564b2d2bec8e 14-Apr-2017 Jack Yu <jackyu@google.com> Fixed compilation error when MEMSET_FREED is turned on

Currently MEMSET_FREED is off so no compilation error. But
in case this is on, we need to fix the compilation error.

Test: build
bug: 37347693
Change-Id: I5d95a58f39ee5ff12dabbad457747d3468d70f28
/hardware/ril/libril/ril_service.cpp
91d7f81ee889f57ac71553315283c125624effa8 14-Apr-2017 Jack Yu <jackyu@google.com> Merge "Fixed incorrect parameter handling for setup data call" am: a6c7475cfa am: 0d8966fef4 am: b55081d2ca
am: e53e1cc3de

Change-Id: I4ebc33159b11744f77f46b26b51ffe0274fe70f4
8b48914dc35216bd3735bb767cda57fb6a00f8db 14-Apr-2017 Jack Yu <jackyu@google.com> Fixed incorrect parameter handling for setup data call

Integers were incorrectly passed into dispatchStrings
and treated as string pointers. Also did not correctly
handle MVNO type NONE case.

bug: 36690591
Test: Telephony sanity tests
Merged-In: I1a4e0ef93ba8a1b63519d59b18f55af195ddbea2
Change-Id: I1a4e0ef93ba8a1b63519d59b18f55af195ddbea2
/hardware/ril/libril/ril_service.cpp
c13645e156c9e36a2316a7b2cd7d2751b869ded5 14-Apr-2017 Jack Yu <jackyu@google.com> Fixed incorrect parameter handling for setup data call

Integers were incorrectly passed into dispatchStrings
and treated as string pointers. Also did not correctly
handle MVNO type NONE case.

bug: 36690591
Test: Telephony sanity tests
Change-Id: I1a4e0ef93ba8a1b63519d59b18f55af195ddbea2
/hardware/ril/libril/ril_service.cpp
88961c2a2feb543bc6f63b42eeaa112ddca5d6e3 11-Apr-2017 Tomasz Wasilczyk <twasilczyk@google.com> Fix warnings and set Werror flags to not let them happen again.

Test: it builds.
Bug: b/37159108
Change-Id: I3b0d6376d81615774b60e71a6eebf6f38224df88
/hardware/ril/libril/ril_service.cpp
d6222e0158607e21e406b7875fe6b7d0eb0cae65 23-Nov-2015 Wileen Chiu <wileenc@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: I9679178e2a6f0decd48f30e358685106b91163b8
/hardware/ril/libril/ril_service.cpp
410b7562d0c7e50d3d0d7907aae890a8ded45f6b 23-Nov-2015 Wileen Chiu <wileenc@codeaurora.org> Add p2 option in openLogicalChannel

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

Bug: 27360148
Change-Id: I9679178e2a6f0decd48f30e358685106b91163b8
/hardware/ril/libril/ril_service.cpp
457428f6dd7b8d939d5415c8232cc3e1053b6a31 06-Apr-2017 Scott Randolph <randolphs@google.com> Merge "Use explicit .c_str() for hidl_string" into oc-dev
c72133144db1c24b7a4a02b52daaac80deb47f95 03-Apr-2017 Scott Randolph <randolphs@google.com> Use explicit .c_str() for hidl_string

hidl_string no longer will provide an implicit cast to const char* as it
interfers with other expected behaviors of the class. It now emulated
std::string in requiring a call to .c_str() to get the same behavior.

Bug: 36532780
Test: Build the tree
Change-Id: I5d672f4a215f4272b7d5d87772667352cf2fb317
(cherry picked from commit 8a7c3b823805bad874f6a3303e40a1e21dd752da)
/hardware/ril/libril/ril_service.cpp
35e9310a95df4fad4457d3cc91638bcae64fa415 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: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
Change-Id: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
/hardware/ril/libril/ril_service.cpp
7955c43727b86f559ade21de682035b9f9c4cc4b 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: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
Change-Id: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
/hardware/ril/libril/ril_service.cpp
8a7c3b823805bad874f6a3303e40a1e21dd752da 03-Apr-2017 Scott Randolph <randolphs@google.com> Use explicit .c_str() for hidl_string

hidl_string no longer will provide an implicit cast to const char* as it
interfers with other expected behaviors of the class. It now emulated
std::string in requiring a call to .c_str() to get the same behavior.

Bug: 36532780
Test: Build the tree
Change-Id: I5d672f4a215f4272b7d5d87772667352cf2fb317
/hardware/ril/libril/ril_service.cpp
572f2f4ae86acb4bb34051613ca2813e168476a5 25-Mar-2017 Jayachandran C <jayachandranc@google.com> Move RILC logs under verbose flag to reduce the RILC log spam

This change moves most of RLOGD prints under VDGB flag

Test: Verified that the RILC log spam is reduced
Bug: 36613198
Change-Id: Ife7042b523a445605b297ed244d0f884d0b39179
/hardware/ril/libril/ril_service.cpp
60482fdefb33005d7b07413869c0e774a7be3b13 15-Mar-2017 Amit Mahajan <amitmahajan@google.com> Remove rild sockets.

Test: Basic telephony sanity
Bug: 32020264
Merged-in: Icff46cadab085ca7882ed32ee0c6f9247a028817
Change-Id: Icff46cadab085ca7882ed32ee0c6f9247a028817
/hardware/ril/libril/ril_service.cpp
346bbc0d2b30c37e80dcaf4baffe0f81a7cb7e87 16-Mar-2017 Naveen Kalla <mrnaveen@google.com> Convert empty response to -1 for some SIM APIs

Earlier RILs did not send a response for some cases although the
interface expected an integer as response. Do not return error if
response is empty. Instead Return -1 in those cases to maintain backward
compatibility.

Bug: 36209518
Test: Enable fixed dialing number and call barring by dialing *35*PASSWORD#.
Check logs to make sure RILC does not fail with invalid response
on devices where RIL doesn't send a response to these requests
on success.

Change-Id: I1d91bacd60bd19985710a111de57e86f03e6ce4a
/hardware/ril/libril/ril_service.cpp
b809efa3ad0b751140491b7ef54d2a26a4223efb 17-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Fix for race condition between radio and oemhook services."
d423d196d41d3904a286c033ff76a1a538e42792 17-Mar-2017 Amit Mahajan <amitmahajan@google.com> Fix for race condition between radio and oemhook services.

The race condition was this:
1. Phone process crashes and restarts
2. Phone process calls IRadio.setResponseFunctions()
3. oemHookInd is sent from vendor RIL. At this point oemHook
callbacks are stale, and due to that the callback fails and
sets callback objects to NULL, including the IRadio ones which is
not correct.

Test: Basic telephony sanity. The condition was easily reproducible
on angler; verified that it works fine now.
Bug: 32020264

Change-Id: I33bbdf01b19d009530c78baae90188acb4986d15
/hardware/ril/libril/ril_service.cpp
a602f7f9eb0571dec2f3c457345d957cddf71ae4 16-Mar-2017 Steven Moreland <smoreland@google.com> Remove unused using statement.

Test: pass
Bug: 36099713
Change-Id: Iaacfa2d2ce8555e191850a620f75111cb2d108a5
/hardware/ril/libril/ril_service.cpp
010cb31cb99cca3820022d029b82952ffc28b03d 10-Mar-2017 Sooraj Sasindran <sasindran@google.com> Merge "Use cid and lac to update ci and tac for LTE"
eb4e5318f2e51cf2b322012281d49d60261c180f 08-Mar-2017 Sanket Padawe <sanketpadawe@google.com> Merge "Fix bug in getCallWaiting api."
5375bfae71d24f8f5d9d5ecfc3b7229d703c78b6 08-Mar-2017 Sanket Padawe <sanketpadawe@google.com> Fix bug in getCallWaiting api.

Test: Build and local VTS.
Bug: 32020264
Change-Id: I9933b2d45a124e4f0704b987af49bab3bdcb3418
/hardware/ril/libril/ril_service.cpp
65ca78d761dd318e2180ff472b35aafdd09fe9af 08-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fix signed-unsigned comparison"
3f82483b4623efd3d8bcbbe56bbe62c08571c2bf 07-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Delete Parcel references and other unused code."
f28e42a26f10e2930b76c565cc13cfe365015fa8 07-Mar-2017 Sooraj Sasindran <sasindran@google.com> Use cid and lac to update ci and tac for LTE

As per older RIL interface LTE cid and lac were filled
using ci and tac. Hence use the same while converting
voice registration state.

Test: ran unit testing
verified on device that registration state is
reported correctly
Bug: 32223344
Change-Id: I74ea670ff51ceaf0387cdf3b9cafc5601ab54d98
/hardware/ril/libril/ril_service.cpp
c10809781fb4da099c1e72188ccb5ad1ad0f4862 07-Mar-2017 Jack Yu <jackyu@google.com> Merge "Removed the deprecated screen state API"
759786a0c4ea967cad897b9de61a62d64d88894b 04-Mar-2017 Amit Mahajan <amitmahajan@google.com> Delete Parcel references and other unused code.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I410988c7f347fcca2770d9b099f489bd6d625d0b
/hardware/ril/libril/ril_service.cpp
111ddcac8ad6a6b1fe3ff2e53bd87e80ed380d46 03-Mar-2017 Amit Mahajan <amitmahajan@google.com> Remove unnecessary prefix from log lines since LOG_TAG is added.

Test: Basic telephony sanity
Bug: 35869745
Change-Id: I38aafc9a699e6a21fa5b2dbf52c405b524ec0d3a
/hardware/ril/libril/ril_service.cpp
1f65269b436f3e878052f365f007a978710f193d 01-Mar-2017 Amit Mahajan <amitmahajan@google.com> Cleanup for radioStateChanged.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I7b7675406409dbb92c3559499665fbe59030573b
/hardware/ril/libril/ril_service.cpp
7d07f2d0ef90ad5bc21cf5e46b832fa36e77b1d6 02-Mar-2017 Jayachandran Chinnakkannu <jayachandranc@google.com> Merge "Fix in getAvailableNetworksResponse() to use correct index"
a3b8804eac36b31f06d57b57d3105a4c3939ee08 02-Mar-2017 Jack Yu <jackyu@google.com> Removed the deprecated screen state API

The screen state API was deprecated on O and should
not be added into the radio interace.

Test: Telephony sanity tests
bug: 32223897
Change-Id: I587cb104cdfd17d8f3c0e0d6e354b051d3892eaa
/hardware/ril/libril/ril_service.cpp
11ab40479ee68d200b26a8fed1733fbff4f222de 22-Feb-2017 Jack Yu <jackyu@google.com> Added two new RIL commands support

Added RIL_REQUEST_SEND_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER RIL requests support.

Test: telephony sanity tests
bug: 32223897, 20125037, 28294587

Merged-In: I55adc30b11eac269331c54ff08947dd5eefc463b
Change-Id: I55adc30b11eac269331c54ff08947dd5eefc463b
/hardware/ril/libril/ril_service.cpp
2593b013f4730912abc8b547816c2b3b9694db32 02-Mar-2017 Nathan Harold <nharold@google.com> Fix signed-unsigned comparison

Bug: 35901901
Test: compilation yields no warning
Change-Id: I74e60def5205782e291c7bc24846804be89097b3
/hardware/ril/libril/ril_service.cpp
e0d755c30b98b7eb37242b840b6c11b70bf43acd 02-Mar-2017 Jayachandran C <jayachandranc@google.com> Fix in getAvailableNetworksResponse() to use correct index

Test: Manual
Bug: 35787804
Change-Id: I03e17ee3e2de449c6b38c3dda39d2eb8b2ea7576
/hardware/ril/libril/ril_service.cpp
57ff322b4c26077cff4999b0badaa1790a4cb5c7 01-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Add log tag for IRadio and ISap services."
da232809c5bebbce15fc522d2557188d86917bc0 01-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fix in setAllowedCarriers() to use correct length for excludedCarriers"
34b33aa139eee45af60fc4d4e5b9731b1d12439f 01-Mar-2017 Amit Mahajan <amitmahajan@google.com> Add log tag for IRadio and ISap services.

Test: verified logs
Bug: 35869745
Change-Id: I35c79c9d638e4328086def1b550f0aafcf9e9e5b
/hardware/ril/libril/ril_service.cpp
3f510f67ad19b3b642e19e2a9186525ae1983265 01-Mar-2017 Amit Mahajan <amitmahajan@google.com> Fix in setAllowedCarriers() to use correct length for excludedCarriers

Test: make -j64 gts
gts-tradefed run gts -m GtsGmscoreHostTestCases -t
com.google.android.gts.telephony.TelephonyHostTest
Bug: 35374455

Change-Id: I05ccc58e71f4b7aa645543fb3c9ffc71f9817435
/hardware/ril/libril/ril_service.cpp
d8db60cb3ded2643ea3e7faa5d8bc719e6e6d9d6 01-Dec-2016 Sooraj Sasindran <sasindran@google.com> Cleanup DATA_REG and VOICE_REG Location Info

The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. So cleaning up the same by using
the same cell location structure that is being used elsewhere
in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it. Note this also fixes subtle bugs
that existed due to the information previously being incomplete.

Bug: 32223344
Test: Tested updated qcril

Captured RILJ logs on different rats as follows

02-27 10:22:48.489 D/RILJ ( 1483): [4169]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .reasonDataDenied = -1, .maxDataCalls
= 20, .cellIdentity = {.cellInfoType = LTE, .cellIdentityGsm = [],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte =
[{.mcc = -1, .mnc = -1, .ci = 56, .pci = 135, .tac = 13826, .earfcn =
-1}], .cellIdentityTdscdma = []}} [SUB0]

02-27 10:22:48.463 D/RILJ ( 1483): [4166]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .cssSupported = true,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = LTE,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [{.mcc = -1, .mnc = -1, .ci = 56, .pci = -1, .tac =
-1, .earfcn = -1}], .cellIdentityTdscdma = []}} [SUB

02-27 11:13:16.138 D/RILJ ( 2110): [3992]< DATA_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 13, .reasonDataDenied = -1,
.maxDataCalls = 20, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = -1, .systemId = -1, .baseStationId = -1, .longitude = -1,
.latitude = -1}], .cellIdentityLte = [], .cellIdentityTdscdma = []}}
[SUB0]

02-27 11:13:16.136 D/RILJ ( 2110): [3993]< VOICE_REGISTRATION_STATE
{.regState = NOT_REG_MT_SEARCHING_OP, .rat = 0, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = 0x0,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]

02-27 11:23:21.875 D/RILJ ( 2104): [4058]< VOICE_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 6, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = 54, .systemId = 4, .baseStationId = 7155, .longitude =
2147483647, .latitude = 0}], .cellIdentityLte = [], .cellIdentityTdscdma
= []}} [SUB0]

02-27 11:29:36.774 D/RILJ ( 2157): [3925]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 16, .cssSupported = false,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = GSM,
.cellIdentityGsm = [{.mcc = -1, .mnc = -1, .lac = 8, .cid = 0, .arfcn =
-1, .bsic = -1}], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]

02-27 11:29:36.768 D/RILJ ( 2157): [3924]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 2, .reasonDataDenied = -1, .maxDataCalls =
20, .cellIdentity = {.cellInfoType = GSM, .cellIdentityGsm = [{.mcc =
-1, .mnc = -1, .lac = 8, .cid = 0, .arfcn = -1, .bsic = -1}],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte = [],
.cellIdentityTdscdma = []}} [SUB0]

Merged-In: I62243cd0497bc742abf2fb58a24087698b25769d
Change-Id: I62243cd0497bc742abf2fb58a24087698b25769d
/hardware/ril/libril/ril_service.cpp
5079e18d7f910c3498d2ffbc8cbbd421d8dcd17d 01-Mar-2017 Jack Yu <jackyu@google.com> Fixed that type of data call response status

Fixed the incorrect type for SetupDataCallResult.status.
Changed the type from int_32 to DataCallFailCause

Test: Telephony sanity tests
bug: 32224135
Change-Id: I55436f835318a0a60d2b53daabc493d8349af3b3
/hardware/ril/libril/ril_service.cpp
bde502eeae3a103af9a7c83c1950682351f8df80 28-Feb-2017 Jack Yu <jackyu@google.com> Merge "Data call refactoring and hidlization"
ffc064511abd4538256b8223958882ec8a8c7da3 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.

This is also backward compatible with the old vendor RIL.

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

Merged-In: I5ed76321ef52d6bc7a00bce918fde7bb316f8c93
Change-Id: I5ed76321ef52d6bc7a00bce918fde7bb316f8c93
/hardware/ril/libril/ril_service.cpp
1fbff085a149b197823975b1bb453af9ad832c4e 24-Feb-2017 Amit Mahajan <amitmahajan@google.com> Fix for RadioCapability.

sizeof was called on incorrect struct.

Test: verified from the logs that RadioCapability shows on error
Bug: 35754369
Change-Id: I42bcb1f15cb5600e940550e51e109f1b2bce37a8
/hardware/ril/libril/ril_service.cpp
439da36d8c44f805e7b73838c53d926ef60150d3 14-Feb-2017 Amit Mahajan <amitmahajan@google.com> OemHook service implementation.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Merged-in: Ie165921c02b301b378f8f05eeec24a2f273691f4
Change-Id: Ie165921c02b301b378f8f05eeec24a2f273691f4
/hardware/ril/libril/ril_service.cpp
718c0bf7b8e54c802d4cd6e469edc4010ed8de76 04-Jan-2017 Wileen Chiu <wileenc@codeaurora.org> 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: I43245ed8178235e45e592d06c2d1bcb71cd69225
/hardware/ril/libril/ril_service.cpp
3da9ac0051f30c7490ea28e8ea538ec7384ef2d9 13-Feb-2017 Amit Mahajan <amitmahajan@google.com> Fix to handle hidl_string correctly in error scenarios.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: If638839043923975b047cbd086146e64a8c73d99
/hardware/ril/libril/ril_service.cpp
cf2c38113cb985787e2cfb3e68b314cc5925001b 13-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Service side HAL changes for RIL solicited responses - 2"
b44f60f1bc97609d4dc48374b90347b6821b6213 13-Feb-2017 Amit Mahajan <amitmahajan@google.com> Merge "Service side HAL changes for RIL solicited responses."
5007ffa9673192cb064e40a1bef49bfadae7a0bb 01-Feb-2017 Amit Mahajan <amitmahajan@google.com> Service side HAL changes for RIL solicited responses - 2

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I7fda74cfb926752adc00f2b84af9c1e761e3433e
/hardware/ril/libril/ril_service.cpp
3df6291d913c4fdcbe3b2a3f8d476bab29307bb6 10-Feb-2017 Amit Mahajan <amitmahajan@google.com> Service side HAL changes for RIL solicited responses.

Bug: 32020264
Merged-in: I8bbbf650770b5da13085ed85a760af6b45d6d3db
Change-Id: I8bbbf650770b5da13085ed85a760af6b45d6d3db
/hardware/ril/libril/ril_service.cpp
ab512e0c84a8ac6bca67e6cb656853759d42d948 11-Feb-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fix build warnings in libril"
22d674b6f60c07ea7ed238ea11287dd05d6bb3d6 11-Feb-2017 Sanket Padawe <sanketpadawe@google.com> Merge "Fix bug for Cellbroadcast activation Radio hal commands."
0de29d1a7525a2d60f31794d22b6737d44e690c0 10-Feb-2017 Sanket Padawe <sanketpadawe@google.com> Fix bug for Cellbroadcast activation Radio hal commands.

+ Vendor expects activate ? 0 : 1

Test: Manual test run. Command succeeds.
Bug: 32020264
Change-Id: Ic1e8faeaa8dce1b5956117dcae3c23e9abe7c8b7
/hardware/ril/libril/ril_service.cpp
f68e0da7c7359b11ba55eccb4e393db2c5563197 07-Feb-2017 Jack Yu <jackyu@google.com> Replaced strcpy, strlen, strncpy with safer string functions

Using strcpy() or strlen() followed by strncpy() could be dangerous.
We should replace them.

strcpy -> strncpy
strlen -> strnlen
strcmp -> strncmp

Also fixed uninitialized structure uses.

Test: Telephony sanity tests
bug: 35108861
Change-Id: I323e2947b153d9214cfc1827168346200916431f
/hardware/ril/libril/ril_service.cpp
100ac9b090cae05a95ef18afdb8aa602ae57c6d0 03-Feb-2017 Wei Wang <wvw@google.com> Fix build warnings in libril

Bug:none
Test: on marlin
Change-Id: I561f68b00732b2e0bda22a769198e13a53698908
/hardware/ril/libril/ril_service.cpp
378ccdde5a820bedd41669f17db82ea332dbe0f2 24-Jan-2017 Sanket Padawe <sanketpadawe@google.com> Provide HIDL support for RIL commands in ril.cpp (patch 2).

Also has revert of
https://googleplex-android-review.git.corp.google.com/#/c/1880364/

Bug: 32020264
Test: Basic telephony sanity. Phone calls/sms/data. No assert for FI sim.
Change-Id: I0617cdeca367962cc345a0d501e7754f40dc20e0
Merged-in: I0617cdeca367962cc345a0d501e7754f40dc20e0
/hardware/ril/libril/ril_service.cpp
d2c309371d00b8e2ccfc8a258aa8ded356d8db2e 09-Feb-2017 Weilun Du <wdu@google.com> Resend NITZ when the upstream client is not ready

When the upstream client android RILJ is not ready, NITZ time data
must be saved and resend when the connection is established.

b/34856813

Change-Id: I468918ac807674b3ae0cbfbb1757a65ac79b20e4
Signed-off-by: Weilun Du <wdu@google.com>
/hardware/ril/libril/ril_service.cpp
06181bbfcfc3acba7b543b81e1d3815e91915bfe 10-Jan-2017 Jack Yu <jackyu@google.com> RIL header update for O

RIL_REQUEST_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER were added to replace
RIL_REQUEST_SCREEN_STATE, which will not be invoked by Android O
or above.

Data call refactoring works including adding more APN parameters for
RIL_REQUEST_SETUP_DATA_CALL, RIL_REQUEST_SET_INITIAL_ATTACH_APN,
and RIL_REQUEST_SET_DATA_PROFILE

bug: 20125037, 32224135, 32223897, 32249926, 30282096, 30173958,
33653220

Test: Build
Merged-In: I2e9a8a3a6cdc7fbd12489e476d2043440e72260a
Change-Id: I999f2ac9fed4cea17f2fad282503ba5e5f00c5b9
/hardware/ril/libril/ril_service.cpp
932e08e033de1d2e2323cc67323f8ddfc56e97d4 24-Jan-2017 Amit Mahajan <amitmahajan@google.com> Add synchronization between IRadio callbacks and service creation.

Radio indications are sent by vendor ril on a separate thread and
can be received even before radio service is created and registered.
This is to avoid that race and make sure indication callbacks are
accessed only after service is created.

Test: Basic telephony sanity
Bug: 34363807
Merged-in: Iab11add5ca458476575c8b52d5e5878ff2b1d175
Change-Id: Iab11add5ca458476575c8b52d5e5878ff2b1d175
/hardware/ril/libril/ril_service.cpp
172498422d8aebd24ca8fd9998f98116be6bc190 20-Jan-2017 Amit Mahajan <amitmahajan@google.com> Check return status for response and indication callbacks.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34472671
Merged-in: Ie74972845ee0a8d60a8887f8daff164a3abcb255
Change-Id: Ie74972845ee0a8d60a8887f8daff164a3abcb255
/hardware/ril/libril/ril_service.cpp
2fa9e63a1f4d41924f590d901402d928a596a829 07-Jan-2017 Amit Mahajan <amitmahajan@google.com> Service side HAL changes for RIL unsolicited responses - 3

Test: Basic telephony sanity (voice call, sms, data, APM)
Bug: 32020264
Merged-in: I916e0d5bc8cff8e52b3f7b55390e146adccc43bf
Change-Id: I916e0d5bc8cff8e52b3f7b55390e146adccc43bf
/hardware/ril/libril/ril_service.cpp
1955c74570b93a7b1111d992e618f4d319ef0159 29-Dec-2016 Amit Mahajan <amitmahajan@google.com> Service side HAL changes for RIL unsolicited responses - 2

Test: Basic telephony sanity (voice call, sms, data, APM)
Bug: 32020264
Merged-in: I5d97084510adfa79d4911bd556cfd616526492c2
Change-Id: I5d97084510adfa79d4911bd556cfd616526492c2
/hardware/ril/libril/ril_service.cpp
5829a472e0e1596e85a5909a1fe3fbff4b7185bb 29-Dec-2016 Amit Mahajan <amitmahajan@google.com> Service side HAL changes for RIL unsolicited responses.

Test: Basic telephony sanity (voice call, sms, data, APM)
Bug: 32020264
Merged-in: I902500d589940e2af27be1d1961729dab409b4ae
Change-Id: I902500d589940e2af27be1d1961729dab409b4ae
/hardware/ril/libril/ril_service.cpp
f220dc57932cb9c6316d1dde6a8beb88b87848ce 03-Jan-2017 Sanket Padawe <sanketpadawe@google.com> Convert ril cpp to HIDL service.

Bug: 32020264

Test: Basic telephony sanity tests (voice calls, data, sms, APM).
Merged-in: I1327e7b07ed001e7fbb8d69a2c871bdc500f1a9f
Change-Id: I1327e7b07ed001e7fbb8d69a2c871bdc500f1a9f
/hardware/ril/libril/ril_service.cpp
cd77a5b914ec21e6914416af2adb19d76a2ebb76 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: Ib2b3abb54084a1b48c5fd74042fe534e3d9fb69f
/hardware/ril/libril/ril_service.cpp