OSDN Git Service

android-x86/hardware-ril.git
7 years agoMerge "Service side HAL changes for RIL unsolicited responses - 2"
Treehugger Robot [Fri, 3 Feb 2017 01:04:01 +0000 (01:04 +0000)]
Merge "Service side HAL changes for RIL unsolicited responses - 2"

7 years agoMerge changes from topics 'RADIO HAL 4', 'RADIO HAL 3'
Treehugger Robot [Thu, 2 Feb 2017 20:26:53 +0000 (20:26 +0000)]
Merge changes from topics 'RADIO HAL 4', 'RADIO HAL 3'

* changes:
  Service side HAL changes for RIL unsolicited responses.
  Convert ril cpp to HIDL service.

7 years agoService side HAL changes for RIL unsolicited responses - 2
Amit Mahajan [Thu, 29 Dec 2016 15:07:54 +0000 (07:07 -0800)]
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

7 years agoService side HAL changes for RIL unsolicited responses.
Amit Mahajan [Thu, 29 Dec 2016 01:28:07 +0000 (17:28 -0800)]
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

7 years agoConvert ril cpp to HIDL service.
Sanket Padawe [Tue, 3 Jan 2017 07:46:00 +0000 (23:46 -0800)]
Convert ril cpp to HIDL service.

Bug: 32020264

Test: Basic telephony sanity tests (voice calls, data, sms, APM).
Merged-in: I1327e7b07ed001e7fbb8d69a2c871bdc500f1a9f
Change-Id: I1327e7b07ed001e7fbb8d69a2c871bdc500f1a9f

7 years agoMerge "Converting SAP from protobuf to hidl."
Treehugger Robot [Thu, 2 Feb 2017 17:35:21 +0000 (17:35 +0000)]
Merge "Converting SAP from protobuf to hidl."

7 years agoMerge "Adding simple radio service and callbacks."
Amit Mahajan [Thu, 2 Feb 2017 17:33:17 +0000 (17:33 +0000)]
Merge "Adding simple radio service and callbacks."

7 years agoConverting SAP from protobuf to hidl.
Amit Mahajan [Wed, 30 Nov 2016 00:48:54 +0000 (16:48 -0800)]
Converting SAP from protobuf to hidl.

Test: Basic SAP sanity.
Bug: 32020264
Change-Id: I87dd2bd320736d06e10733dd40743c83e548d3c9

7 years agoAdding simple radio service and callbacks.
Amit Mahajan [Thu, 25 Aug 2016 18:19:21 +0000 (11:19 -0700)]
Adding simple radio service and callbacks.

Test: Sanity tests by telephony test team.
Bug: 32020264
Change-Id: Ib2b3abb54084a1b48c5fd74042fe534e3d9fb69f

7 years agoMerge "Add deprecation warning to IMS_REGISTRATION RIL Calls"
nharold [Fri, 23 Dec 2016 01:18:33 +0000 (01:18 +0000)]
Merge "Add deprecation warning to IMS_REGISTRATION RIL Calls"

7 years agoMerge "telephony: add input data information in ril.h"
Amit Mahajan [Thu, 22 Dec 2016 06:00:09 +0000 (06:00 +0000)]
Merge "telephony: add input data information in ril.h"

7 years agoAdd deprecation warning to IMS_REGISTRATION RIL Calls
Nathan Harold [Mon, 19 Dec 2016 20:04:32 +0000 (12:04 -0800)]
Add deprecation warning to IMS_REGISTRATION RIL Calls

-Deprecation warning for RIL_REQUEST_IMS_REGISTRATION_STATE
-Deprecation warning for RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED

Bug: 33750436
Test: complation
Change-Id: Ieb7c2fc5061998e4d04a9d044cf3d883d01e995d

7 years agoMerge "ril: Regenerate RIL response strings"
Mark Salyzyn [Mon, 12 Dec 2016 21:39:55 +0000 (21:39 +0000)]
Merge "ril: Regenerate RIL response strings"

7 years agoril: Regenerate RIL response strings
Matt Mower [Thu, 9 Apr 2015 04:16:03 +0000 (23:16 -0500)]
ril: Regenerate RIL response strings

Cleanup the strings output to the radio log. This change is cosmetic,
adding and updating strings to the log, without affecting usage of
these RIL requests, responses, and unsols.

Auto-generated based on header files, which also reorders some cases
to match the presentation order in the headers.
* ril_unsol_commands.h:
  Find: ^\s+\{RIL_UNSOL_([^,\ ]+).+
  Replace: case RIL_UNSOL_$1: return "UNSOL_$1";
* ril_commands.h:
  Find: ^\s+\{RIL_REQUEST_([^,\ ]+).+
  Replace: case RIL_REQUEST_$1: return "$1";

RIL_RESPONSE_* has been reordered to sit (alphabetically) between
RIL_REQUEST_* and RIL_UNSOL_*. The string format has been updated to
remove "RIL_" and just report "RESPONSE_*".

Change file modes in libril by removing the execute bit from source
files.

Change-Id: Ie6f1b49ff0245212e64d4e563a26ea93191deb22

7 years agotelephony: add input data information in ril.h
Ankit N [Wed, 7 Dec 2016 15:35:43 +0000 (21:05 +0530)]
telephony: add input data information in ril.h

Add input data information for RIL_REQUEST_SET_INITIAL_ATTACH_APN.

7 years agoMerge "ril: fix a memory leak."
Yunlian Jiang [Wed, 23 Nov 2016 03:16:20 +0000 (03:16 +0000)]
Merge "ril: fix a memory leak."
am: 51f0cc93af

Change-Id: I5b7f6102bd7413fbe051613d6b8630a0f3276df2

7 years agoMerge "ril: fix a memory leak."
Treehugger Robot [Wed, 23 Nov 2016 03:13:41 +0000 (03:13 +0000)]
Merge "ril: fix a memory leak."

7 years agoril: fix a memory leak.
Yunlian Jiang [Wed, 9 Nov 2016 02:19:11 +0000 (18:19 -0800)]
ril: fix a memory leak.

This fixes 'Potential leak of memory pointed to by 'socket'

Bug: None
Test: The warning is gone.
Change-Id: I6afca2b4cf4a027c6fb30f1ad7c74083d70dfdb2

7 years agoMerge "Remove deprecated RADIO_STATES"
Naveen Kalla [Wed, 9 Nov 2016 01:32:11 +0000 (01:32 +0000)]
Merge "Remove deprecated RADIO_STATES"
am: b7f1226866

Change-Id: I15c5c754fdcb36391cbe6032fc11ca2dbf138005

7 years agoMerge "Remove deprecated RADIO_STATES"
Naveen Kalla [Wed, 9 Nov 2016 01:05:27 +0000 (01:05 +0000)]
Merge "Remove deprecated RADIO_STATES"

7 years agoRemove deprecated RADIO_STATES
Naveen Kalla [Tue, 11 Oct 2016 20:49:20 +0000 (13:49 -0700)]
Remove deprecated RADIO_STATES

Remove deprecated radio states which carried the SIM state
information. Vendor RILs are not expected to send one of the 3
RADIO states (ON, OFF or UNAVAILABLE) and support the RIL requests
RIL_REQUEST_VOICE_RADIO_TECH and RIL_REQUEST_CDMA_SUBSCRIPTION_SOURCE.

Bug: 32224323
Test: Ensure device boots and camps on network. Basic voice calls and
mobile data works

Change-Id: I2ae4a71c33c43263c64822c294d43363baeb5ad5

7 years agoMerge "Fix broken asserts."
Sanket Padawe [Tue, 1 Nov 2016 22:47:19 +0000 (22:47 +0000)]
Merge "Fix broken asserts."
am: b3897e1170

Change-Id: Ifb8e93f704b582f1c4ae7e90ae4e4cfb5a130bfe

7 years agoMerge "Fix broken asserts."
Sanket Padawe [Tue, 1 Nov 2016 22:43:41 +0000 (22:43 +0000)]
Merge "Fix broken asserts."

7 years agoFix broken asserts.
George Burgess IV [Fri, 28 Oct 2016 05:51:30 +0000 (22:51 -0700)]
Fix broken asserts.

When NDEBUG is forcibly undef'ed, these asserts wouldn't compile:
- p_info->fdCommand and p_info->fdListen are ints, not pointers.
- sapSocket->commandFd and sapSocket->listenFd are protected; you need
  to use their accessors.

This patch makes the asserts compile.

Bug: None.
Test: Building with NDEBUG undef'ed now succeeds.
Change-Id: I51418c955994541ba503e1ca6f601dce87e40b55

7 years agoMerge "Retire socket_loopback_client." am: ecc7336e5c am: 14f6f0c59c
Elliott Hughes [Thu, 13 Oct 2016 23:10:26 +0000 (23:10 +0000)]
Merge "Retire socket_loopback_client." am: ecc7336e5c am: 14f6f0c59c
am: c056e49a99

Change-Id: I862d1d234394ba6e5ef76993cb4a39454f76b478

7 years agoMerge "Retire socket_loopback_client." am: ecc7336e5c
Elliott Hughes [Thu, 13 Oct 2016 23:06:43 +0000 (23:06 +0000)]
Merge "Retire socket_loopback_client." am: ecc7336e5c
am: 14f6f0c59c

Change-Id: Ib3c6af1d582cb7a8c37a4803abb1a048bbeaf51c

7 years agoMerge "Retire socket_loopback_client."
Elliott Hughes [Thu, 13 Oct 2016 23:04:13 +0000 (23:04 +0000)]
Merge "Retire socket_loopback_client."
am: ecc7336e5c

Change-Id: I0c5abf53913be7dc16e6e38bc1f498e64664a489

7 years agoMerge "Retire socket_loopback_client."
Treehugger Robot [Thu, 13 Oct 2016 22:59:25 +0000 (22:59 +0000)]
Merge "Retire socket_loopback_client."

7 years agoMerge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO" am: 49794a48cb...
Pankaj Kanwar [Thu, 13 Oct 2016 02:35:28 +0000 (02:35 +0000)]
Merge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO" am: 49794a48cb am: 762c60c85a
am: b5a0cce85b

Change-Id: I33a92b0df1b95bcbbc2de6437fd0c6754ef012d0

7 years agoMerge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO" am: 49794a48cb
Pankaj Kanwar [Thu, 13 Oct 2016 02:28:27 +0000 (02:28 +0000)]
Merge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO" am: 49794a48cb
am: 762c60c85a

Change-Id: I50d3b93af310f781ee522cf44c19a1eee0249893

7 years agoMerge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO"
Pankaj Kanwar [Thu, 13 Oct 2016 02:21:20 +0000 (02:21 +0000)]
Merge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO"
am: 49794a48cb

Change-Id: I5e050678502d7b83c1a6870c5be33baabbfa4c4d

7 years agoUpdate documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO am: c863521147
Nathan Harold [Thu, 13 Oct 2016 02:14:48 +0000 (02:14 +0000)]
Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO am: c863521147
am: 500e1720eb

Change-Id: I87501c890b709dbaca71e941a1c751e9345db4f3

7 years agoMerge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO"
Pankaj Kanwar [Thu, 13 Oct 2016 02:13:30 +0000 (02:13 +0000)]
Merge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO"

7 years agoUpdate documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO
Nathan Harold [Thu, 13 Oct 2016 02:07:47 +0000 (02:07 +0000)]
Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO
am: c863521147

Change-Id: I01b10273285311173766966878d8174cda8e6bf8

7 years agoUpdate documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO
Nathan Harold [Mon, 10 Oct 2016 18:15:21 +0000 (11:15 -0700)]
Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO

The documentation for RIL_REQUEST_GET_ACTIVITY_INFO allowed for
critically disruptive behavior in the implementation of the API.
This is a documentation update to ensure that there will be
exactly one power state reported in each millisecond, which
is important for proper power accounting in FDD.

Bug: 32061813
Test: none
Change-Id: I2835d5ad298eaa8cfea2e1a90342f290183f698d

7 years agoRetire socket_loopback_client.
Elliott Hughes [Tue, 11 Oct 2016 20:50:06 +0000 (13:50 -0700)]
Retire socket_loopback_client.

Making the world safe for IPv6.

Bug: http://b/31537253
Test: builds
Change-Id: If8478aec17892f49e856d6220b72e4585ee9c078

7 years agoUpdate documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO
Nathan Harold [Mon, 10 Oct 2016 18:15:21 +0000 (11:15 -0700)]
Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO

The documentation for RIL_REQUEST_GET_ACTIVITY_INFO allowed for
critically disruptive behavior in the implementation of the API.
This is a documentation update to ensure that there will be
exactly one power state reported in each millisecond, which
is important for proper power accounting in FDD.

Bug: 32061813
Test: none
Change-Id: I2835d5ad298eaa8cfea2e1a90342f290183f698d

7 years agoMerge "Fix memory leak in requestSendSMS" am: 07b1732d84 am: 3fbcb63219
Sanket Padawe [Fri, 23 Sep 2016 17:32:54 +0000 (17:32 +0000)]
Merge "Fix memory leak in requestSendSMS" am: 07b1732d84 am: 3fbcb63219
am: 2ea3dd7197

Change-Id: Ief8d067872534de91c81248594d83386497b3f02

7 years agoMerge "Fix memory leak in requestSendSMS" am: 07b1732d84
Sanket Padawe [Fri, 23 Sep 2016 17:31:24 +0000 (17:31 +0000)]
Merge "Fix memory leak in requestSendSMS" am: 07b1732d84
am: 3fbcb63219

Change-Id: I791f6ec0ebcf85563559e5ad900c4ce512d03044

7 years agoMerge "Fix memory leak in requestSendSMS"
Sanket Padawe [Fri, 23 Sep 2016 17:28:56 +0000 (17:28 +0000)]
Merge "Fix memory leak in requestSendSMS"
am: 07b1732d84

Change-Id: I2f5fe58627d8e5a83fd54b9cb967ba7b39d13376

7 years agoMerge "Fix memory leak in requestSendSMS"
Sanket Padawe [Fri, 23 Sep 2016 17:26:03 +0000 (17:26 +0000)]
Merge "Fix memory leak in requestSendSMS"

7 years agoMerge "Fix RIL_CardStatus_v5 Parceling." am: 164a2c7ff1 am: c5d7058a68
Sanket Padawe [Thu, 1 Sep 2016 03:43:12 +0000 (03:43 +0000)]
Merge "Fix RIL_CardStatus_v5 Parceling." am: 164a2c7ff1 am: c5d7058a68
am: 4ffea6f651

Change-Id: Ied193468bd9133d7b9ed710af82c33b9fc3b7e01

7 years agoMerge "Fix RIL_CardStatus_v5 Parceling." am: 164a2c7ff1
Sanket Padawe [Thu, 1 Sep 2016 03:20:14 +0000 (03:20 +0000)]
Merge "Fix RIL_CardStatus_v5 Parceling." am: 164a2c7ff1
am: c5d7058a68

Change-Id: I00c834069a9b2be0629495bad6580984c8d0273d

7 years agoMerge "Fix RIL_CardStatus_v5 Parceling."
Sanket Padawe [Thu, 1 Sep 2016 03:17:45 +0000 (03:17 +0000)]
Merge "Fix RIL_CardStatus_v5 Parceling."
am: 164a2c7ff1

Change-Id: I27e70a5a97deb11ad3dea1bd49c0ac092c291950

7 years agoMerge "Fix RIL_CardStatus_v5 Parceling."
Sanket Padawe [Thu, 1 Sep 2016 02:57:56 +0000 (02:57 +0000)]
Merge "Fix RIL_CardStatus_v5 Parceling."

7 years agoFix RIL_CardStatus_v5 Parceling.
Kyle Repinski [Wed, 31 Aug 2016 06:04:02 +0000 (01:04 -0500)]
Fix RIL_CardStatus_v5 Parceling.

The difference between a v5 and v6 CardStatus response is the addition
of ims_subscription_app_index. In previous releases libril added a -1
to the Parcel in its place for transparent handling of GET_SIM_STATUS
everywhere else regardless of v5 or v6 responses, but it was erroneously
removed in change I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8

Change-Id: I078b61d2f6dc28f738e8eb87f51193fa0bd94c7d

7 years agoReplace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a...
Amit Mahajan [Wed, 17 Aug 2016 19:03:27 +0000 (19:03 +0000)]
Replace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a am: bf678da1fe am: 30be8a250b am: 9df4b4f002 am: 3731ea7548
am: 22b41817f8

Change-Id: Icec9b66c251619dd47a4302af058d3e76f019b09

7 years agoReplace variable-length arrays on stack with malloc. am: 49db26c574
Amit Mahajan [Wed, 17 Aug 2016 19:03:26 +0000 (19:03 +0000)]
Replace variable-length arrays on stack with malloc. am: 49db26c574
am: 914650eb02

Change-Id: I9b6439bc29d52871081ef836c1104e80644eb76b

7 years agoReplace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a...
Amit Mahajan [Wed, 17 Aug 2016 18:09:56 +0000 (18:09 +0000)]
Replace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a am: bf678da1fe am: 30be8a250b am: 9df4b4f002
am: 3731ea7548

Change-Id: I2979e5bcf5e46ead97bb0fa589431ad9e6f75618

7 years agoReplace variable-length arrays on stack with malloc.
Amit Mahajan [Wed, 17 Aug 2016 18:09:54 +0000 (18:09 +0000)]
Replace variable-length arrays on stack with malloc.
am: 49db26c574

Change-Id: I1932691bfdba50fd4d9ba77505d03866ff312372

7 years agoReplace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a...
Amit Mahajan [Tue, 16 Aug 2016 23:17:13 +0000 (23:17 +0000)]
Replace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a am: bf678da1fe am: 30be8a250b am: 9df4b4f002
am: 3f56be6062

Change-Id: I9d2d4f4fb1039fe505c9c2e76b9a57a8801242c3

7 years agoReplace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a...
Amit Mahajan [Tue, 16 Aug 2016 23:17:12 +0000 (23:17 +0000)]
Replace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a am: bf678da1fe am: 30be8a250b
am: 9df4b4f002

Change-Id: I42abe5d593acd1014b42a8f97273f706009b16d2

7 years agoReplace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a...
Amit Mahajan [Tue, 16 Aug 2016 23:14:44 +0000 (23:14 +0000)]
Replace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a am: bf678da1fe am: 30be8a250b
am: 9df4b4f002

Change-Id: I8e586e654727e3f87f1efc28edf5572b3f971e10

7 years agoReplace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a...
Amit Mahajan [Tue, 16 Aug 2016 23:12:41 +0000 (23:12 +0000)]
Replace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a am: bf678da1fe
am: 30be8a250b

Change-Id: I5cc0b7e45e5584d2938cf61da8526039911d374a

7 years agoReplace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a
Amit Mahajan [Tue, 16 Aug 2016 23:08:11 +0000 (23:08 +0000)]
Replace variable-length arrays on stack with malloc. am: 943905bb9f am: 837c8b680a
am: bf678da1fe

Change-Id: I3a574c790342b609ca86286140d4d6c7ed12e1aa

7 years agoReplace variable-length arrays on stack with malloc. am: 943905bb9f
Amit Mahajan [Tue, 16 Aug 2016 23:04:13 +0000 (23:04 +0000)]
Replace variable-length arrays on stack with malloc. am: 943905bb9f
am: 837c8b680a

Change-Id: Idfd58f5e20c81a5b67d9f581d932c1a3e3cd1fad

7 years agoReplace variable-length arrays on stack with malloc.
Amit Mahajan [Tue, 16 Aug 2016 23:01:39 +0000 (23:01 +0000)]
Replace variable-length arrays on stack with malloc.
am: 943905bb9f

Change-Id: Ie54e7e1a0e255e61b0c5182ec72b0cdb376efbd1

7 years agoReplace variable-length arrays on stack with malloc.
Amit Mahajan [Mon, 15 Aug 2016 16:06:34 +0000 (09:06 -0700)]
Replace variable-length arrays on stack with malloc.

Bug: 30202619
Change-Id: Ib95e08a1c009d88a4b4fd8d8fdba0641c6129008

7 years agoReplace variable-length arrays on stack with malloc.
Amit Mahajan [Mon, 15 Aug 2016 16:06:34 +0000 (09:06 -0700)]
Replace variable-length arrays on stack with malloc.

Bug: 30202619
Change-Id: Ib95e08a1c009d88a4b4fd8d8fdba0641c6129008

7 years agoFix documentation of RIL_Request in ril.h am: 05c2307a82
Sanket Padawe [Tue, 9 Aug 2016 00:53:01 +0000 (00:53 +0000)]
Fix documentation of RIL_Request in ril.h am: 05c2307a82
am: aee7a26ae5

Change-Id: Id8b2b55a292346df3bd719cf3515c3028a9505cd

7 years agoFix documentation of RIL_Request in ril.h
Sanket Padawe [Tue, 9 Aug 2016 00:45:10 +0000 (00:45 +0000)]
Fix documentation of RIL_Request in ril.h
am: 05c2307a82

Change-Id: I6f8f6ca3d2d0f023602110ad3840784d8caee42a

7 years agoFix documentation of RIL_Request in ril.h
Sanket Padawe [Mon, 8 Aug 2016 22:42:17 +0000 (15:42 -0700)]
Fix documentation of RIL_Request in ril.h

Bug: 30380273
Change-Id: If086f5ea6f986a0da0d6f0729c28d913103b01ed

8 years agoAdd comment for RIL_REQUEST_SET_CARRIER_RESTRICTIONS and RIL_REQUEST_GET_CARRIER_REST...
Meng Wang [Fri, 22 Jul 2016 20:44:08 +0000 (20:44 +0000)]
Add comment for RIL_REQUEST_SET_CARRIER_RESTRICTIONS and RIL_REQUEST_GET_CARRIER_RESTRICTIONS
am: d5c540fe09

Change-Id: Ifad313a7f5f1926091fd9f042eb8302c8a5bd595

8 years agoAdd comment for RIL_REQUEST_SET_CARRIER_RESTRICTIONS and RIL_REQUEST_GET_CARRIER_REST...
Meng Wang [Fri, 15 Jul 2016 22:41:19 +0000 (15:41 -0700)]
Add comment for RIL_REQUEST_SET_CARRIER_RESTRICTIONS and RIL_REQUEST_GET_CARRIER_RESTRICTIONS

Added modem behavior convention for vendor's reference

Bug: 29409395
Change-Id: Ic7bbf24ca8d62e14353ad4d7ea8f1e5fabaf96f9

8 years agoFix build warnings in ril.cpp.
Sanket Padawe [Fri, 8 Jul 2016 23:36:16 +0000 (23:36 +0000)]
Fix build warnings in ril.cpp.
am: 65879e8093

Change-Id: I929558165ff54c09fad8fbfe2b4fea1fc721c100

8 years agoFix build warnings in ril.cpp.
Sanket Padawe [Fri, 8 Jul 2016 21:51:03 +0000 (14:51 -0700)]
Fix build warnings in ril.cpp.

Bug: 29401612
Change-Id: Icba225928f1336785cc5cb9a81e1c5b7b2121353

8 years agoMerge commit 'f0c8ca7f09ed9a827e5c79e019526e8f2c77eeb4' into manual_merge_f0c8ca7
Sanket Padawe [Fri, 1 Jul 2016 00:08:41 +0000 (17:08 -0700)]
Merge commit 'f0c8ca7f09ed9a827e5c79e019526e8f2c77eeb4' into manual_merge_f0c8ca7

Change-Id: I670c9270d5d6fccd4b1a223de142d61e26541b7e

8 years agoFix build warnings in hardware/ril.
Sanket Padawe [Thu, 30 Jun 2016 22:01:08 +0000 (15:01 -0700)]
Fix build warnings in hardware/ril.

Bug: 29401612
Change-Id: I8473294655ad24ec001cedb84856004ab0ba22a7

8 years agoMerge \\\"Fix misc-macro-parentheses warnings in hardware/ril.\\\" am: 1648a3f50b...
Chih-Hung Hsieh [Wed, 29 Jun 2016 19:47:32 +0000 (19:47 +0000)]
Merge \\\"Fix misc-macro-parentheses warnings in hardware/ril.\\\" am: 1648a3f50b am: 929b0a7e35
am: d335e16728

Change-Id: I18bd42641b83ef439357c9211496aa11c19a2f41

8 years agoMerge \\"Fix misc-macro-parentheses warnings in hardware/ril.\\" am: 1648a3f50b
Chih-Hung Hsieh [Wed, 29 Jun 2016 19:44:50 +0000 (19:44 +0000)]
Merge \\"Fix misc-macro-parentheses warnings in hardware/ril.\\" am: 1648a3f50b
am: 929b0a7e35

Change-Id: Ifb4169b780d050fab31f0987dca810cada7307ce

8 years agoMerge \"Fix misc-macro-parentheses warnings in hardware/ril.\"
Chih-Hung Hsieh [Wed, 29 Jun 2016 19:42:26 +0000 (19:42 +0000)]
Merge \"Fix misc-macro-parentheses warnings in hardware/ril.\"
am: 1648a3f50b

Change-Id: Ib880298fc4001e0befe10582e9f6e5c792d1bd69

8 years agoMerge "Fix misc-macro-parentheses warnings in hardware/ril."
Treehugger Robot [Wed, 29 Jun 2016 19:31:52 +0000 (19:31 +0000)]
Merge "Fix misc-macro-parentheses warnings in hardware/ril."

8 years agoFix misc-macro-parentheses warnings in hardware/ril.
Chih-Hung Hsieh [Wed, 29 Jun 2016 18:22:36 +0000 (11:22 -0700)]
Fix misc-macro-parentheses warnings in hardware/ril.

Add parentheses around negative literals.
Bug: 28705665
Test: build with clang-tidy

Change-Id: I038c7cbf3728a4e9ccc20d8c7317ddae3fa9b571

8 years agoMerge \"Fix compile warning in libril.cpp\" into nyc-mr1-dev
Meng Wang [Mon, 27 Jun 2016 21:07:53 +0000 (21:07 +0000)]
Merge \"Fix compile warning in libril.cpp\" into nyc-mr1-dev
am: 4ada88aeb5

Change-Id: Ica2aaca0c7ba313ee3e97d627c10daa702896064

8 years agoMerge "Fix compile warning in libril.cpp" into nyc-mr1-dev
TreeHugger Robot [Mon, 27 Jun 2016 20:54:55 +0000 (20:54 +0000)]
Merge "Fix compile warning in libril.cpp" into nyc-mr1-dev

8 years agoAdd support for LTE CarrierAgregation
Ajay Nambi [Thu, 23 Jun 2016 18:53:10 +0000 (18:53 +0000)]
Add support for LTE CarrierAgregation
am: 6dbb43ca9a

Change-Id: I1f4ffab284b6952b2f196e5ecec74cb6b27a7b1b

8 years agoresolve merge conflicts of d027477 to nyc-mr1-dev-plus-aosp
David 'Digit' Turner [Thu, 23 Jun 2016 09:15:01 +0000 (11:15 +0200)]
resolve merge conflicts of d027477 to nyc-mr1-dev-plus-aosp

Change-Id: I7d0ddf2cf04ed35b3541b99955561203181367fb

8 years agoresolve merge conflicts of ccd27b0 to stage-aosp-master
David Turner [Thu, 23 Jun 2016 08:43:13 +0000 (08:43 +0000)]
resolve merge conflicts of ccd27b0 to stage-aosp-master
am: 25d580912d

Change-Id: I7afa0604b98b90256c47e806fbb8e11d9ac98594

8 years agoresolve merge conflicts of ccd27b0 to stage-aosp-master
David 'Digit' Turner [Thu, 23 Jun 2016 08:35:49 +0000 (10:35 +0200)]
resolve merge conflicts of ccd27b0 to stage-aosp-master

Change-Id: Ic5a6bb461c60646d7f9798cb1bf99110c6592f91

8 years agoMerge "Simplify emulator-specific logic."
David Turner [Thu, 23 Jun 2016 07:52:29 +0000 (07:52 +0000)]
Merge "Simplify emulator-specific logic."

8 years agoSimplify emulator-specific logic.
David 'Digit' Turner [Wed, 22 Jun 2016 10:10:01 +0000 (12:10 +0200)]
Simplify emulator-specific logic.

Remove any qemu-specific code from rild.c, this now handled
by setting rild.libpath properly in the init.<board>.rc files
for emulator-specific build products.

Also, only the qemu pipe method is really supported since ICS
so remove obsolete schemes.

BUG=25875346

Change-Id: I82296c127b90c230ca1446ee2431f06e78def617

8 years agoFix compile warning in libril.cpp
Meng Wang [Tue, 21 Jun 2016 00:38:18 +0000 (17:38 -0700)]
Fix compile warning in libril.cpp

Bug: 29401612
Change-Id: Ifb04928fce7f2e028c0f69d6cdbb1dce0befeadf

8 years agoMerge \\\"[qemu]: Use new <system/qemu_pipe.h> header.\\\" am: 47a81105da am: c963b671f3
David 'Digit' Turner [Tue, 21 Jun 2016 08:10:35 +0000 (08:10 +0000)]
Merge \\\"[qemu]: Use new <system/qemu_pipe.h> header.\\\" am: 47a81105da am: c963b671f3
am: 12db6c3cf4

Change-Id: Ie9eb87da94a47d90994294dd1ac2f743bf5cfe54

8 years agoMerge \\"[qemu]: Use new <system/qemu_pipe.h> header.\\" am: 47a81105da
David Turner [Tue, 21 Jun 2016 08:08:00 +0000 (08:08 +0000)]
Merge \\"[qemu]: Use new <system/qemu_pipe.h> header.\\" am: 47a81105da
am: c963b671f3

Change-Id: Id5a2b977a6867537a51f3f740a7df28aca441a4d

8 years agoMerge \"[qemu]: Use new <system/qemu_pipe.h> header.\"
David 'Digit' Turner [Tue, 21 Jun 2016 08:05:15 +0000 (08:05 +0000)]
Merge \"[qemu]: Use new <system/qemu_pipe.h> header.\"
am: 47a81105da

Change-Id: I3d5e17d7c9468321273bf9540548ef12d931c91d

8 years agoMerge "[qemu]: Use new <system/qemu_pipe.h> header."
David Turner [Tue, 21 Jun 2016 07:38:01 +0000 (07:38 +0000)]
Merge "[qemu]: Use new <system/qemu_pipe.h> header."

8 years agoAdd support for LTE CarrierAgregation
Ajay Nambi [Fri, 15 May 2015 01:50:20 +0000 (18:50 -0700)]
Add support for LTE CarrierAgregation

Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.

bug:27360321
Change-Id: I36a548b3229bf344ac2e4b714d8dc1dfa47af064

8 years ago[qemu]: Use new <system/qemu_pipe.h> header.
David 'Digit' Turner [Thu, 16 Jun 2016 17:00:05 +0000 (19:00 +0200)]
[qemu]: Use new <system/qemu_pipe.h> header.

BUG=25875346

Change-Id: Ie8649caa43a77a4ea1399df673cce2682773e4df

8 years agoMerge \"Move struct def out of an #ifdef\" into nyc-mr1-dev
Robert Greenwalt [Thu, 16 Jun 2016 00:15:19 +0000 (00:15 +0000)]
Merge \"Move struct def out of an #ifdef\" into nyc-mr1-dev
am: a976a8221f

Change-Id: I415eb2ea039d2c147ced33fa2c21d5bde1c09b82

8 years agoMerge "Move struct def out of an #ifdef" into nyc-mr1-dev
Robert Greenwalt [Thu, 16 Jun 2016 00:08:06 +0000 (00:08 +0000)]
Merge "Move struct def out of an #ifdef" into nyc-mr1-dev

8 years agoMove struct def out of an #ifdef
Robert Greenwalt [Wed, 15 Jun 2016 21:59:38 +0000 (14:59 -0700)]
Move struct def out of an #ifdef

It was only visible if the vendor used a particular
style (SHLIB).

bug:28961371
bug:28567303
Change-Id: I54256e17170a69bdb6fbb9b38924b42906b85896

8 years agoFix responseCarrierRestrictions string wrting to parcel
Meng Wang [Thu, 9 Jun 2016 22:59:07 +0000 (22:59 +0000)]
Fix responseCarrierRestrictions string wrting to parcel
am: b460ba8ecc

Change-Id: If4f661b2e6030d02fde3a7b83bf437ed1dc9691a

8 years agoFix responseCarrierRestrictions string wrting to parcel
Meng Wang [Thu, 9 Jun 2016 16:21:26 +0000 (09:21 -0700)]
Fix responseCarrierRestrictions string wrting to parcel

In Java land, string are read from parcel by readString16.
Hence writeString16 should be invoked in C land,
instead of writeCString

Bug: 28564314
Change-Id: I0ede376541b54d72867f07b96ae52c4a8ed3695f

8 years agoMerge \"Fix dispatchCarrierRestrictions string reading from parcel\" into nyc-mr1-dev
Meng Wang [Wed, 8 Jun 2016 22:23:53 +0000 (22:23 +0000)]
Merge \"Fix dispatchCarrierRestrictions string reading from parcel\" into nyc-mr1-dev
am: 6d445bb4a1

Change-Id: I1e37eff0f97583b7eeaab306157eb8fbded974fd

8 years agoMerge "Fix dispatchCarrierRestrictions string reading from parcel" into nyc-mr1-dev
Meng Wang [Wed, 8 Jun 2016 22:15:11 +0000 (22:15 +0000)]
Merge "Fix dispatchCarrierRestrictions string reading from parcel" into nyc-mr1-dev

8 years agoMerge "Fix build failure which occurs after setting macro RILC_LOG. am: 626099ec9b...
Android Build Merger (Role) [Wed, 8 Jun 2016 21:34:01 +0000 (21:34 +0000)]
Merge "Fix build failure which occurs after setting macro RILC_LOG. am: 626099ec9b am: 4d43056697" into nyc-mr1-dev-plus-aosp

8 years agoFix build failure which occurs after setting macro RILC_LOG. am: 626099ec9b
Sanket Padawe [Wed, 8 Jun 2016 21:33:51 +0000 (21:33 +0000)]
Fix build failure which occurs after setting macro RILC_LOG. am: 626099ec9b
am: 075aa9baca

Change-Id: I8623e9d123f7eb04022a1a7444d07de81faf1b5f

8 years agoFix build failure which occurs after setting macro RILC_LOG. am: 626099ec9b
Sanket Padawe [Wed, 8 Jun 2016 21:33:51 +0000 (21:33 +0000)]
Fix build failure which occurs after setting macro RILC_LOG. am: 626099ec9b
am: 4d43056697

Change-Id: I35fbf9b0ac7ddf7704df51b9adda65f82d022203

8 years agoFix build failure which occurs after setting macro RILC_LOG.
Sanket Padawe [Wed, 8 Jun 2016 21:31:20 +0000 (21:31 +0000)]
Fix build failure which occurs after setting macro RILC_LOG.
am: 626099ec9b

Change-Id: I193a57f676a81a5835d4506550f94278cbc127cc

8 years agoFix build failure which occurs after setting macro RILC_LOG.
Sanket Padawe [Wed, 8 Jun 2016 21:31:20 +0000 (21:31 +0000)]
Fix build failure which occurs after setting macro RILC_LOG.
am: 626099ec9b

Change-Id: Ib31836f36366246e3229635ceee3fa04e6a404f8