OSDN Git Service

android-x86/hardware-ril.git
7 years agoMerge "RIL header update for O"
Jack Yu [Mon, 6 Feb 2017 22:47:11 +0000 (22:47 +0000)]
Merge "RIL header update for O"
am: 4d232c5c75

Change-Id: I010af82b7984dcac5a1a238dc7c2a438fdac7f66

7 years agoMerge "RIL header update for O"
Treehugger Robot [Mon, 6 Feb 2017 22:41:10 +0000 (22:41 +0000)]
Merge "RIL header update for O"

7 years agoRIL header update for O
Jack Yu [Tue, 10 Jan 2017 20:10:41 +0000 (12:10 -0800)]
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: 201250373222413532223897322499263028209630173958,
33653220

Test: Build
Merged-In: I2e9a8a3a6cdc7fbd12489e476d2043440e72260a
Change-Id: I999f2ac9fed4cea17f2fad282503ba5e5f00c5b9

7 years agoMerge "Add synchronization between IRadio callbacks and service creation."
Amit Mahajan [Fri, 3 Feb 2017 19:38:38 +0000 (19:38 +0000)]
Merge "Add synchronization between IRadio callbacks and service creation."
am: 9df6c76c9b

Change-Id: I8e78941dc27297d80aaf041482ebc4f71d649189

7 years agoMerge "Add synchronization between IRadio callbacks and service creation."
Treehugger Robot [Fri, 3 Feb 2017 19:34:22 +0000 (19:34 +0000)]
Merge "Add synchronization between IRadio callbacks and service creation."

7 years agoAdd synchronization between IRadio callbacks and service creation.
Amit Mahajan [Tue, 24 Jan 2017 13:45:02 +0000 (05:45 -0800)]
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

7 years agoMerge "Check return status for response and indication callbacks."
Amit Mahajan [Fri, 3 Feb 2017 03:16:01 +0000 (03:16 +0000)]
Merge "Check return status for response and indication callbacks."
am: 53a5b229d4

Change-Id: I7132da7957ec2ba875132fc8ea5e0cb0bf195820

7 years agoMerge "Service side HAL changes for RIL unsolicited responses - 3"
Amit Mahajan [Fri, 3 Feb 2017 03:15:36 +0000 (03:15 +0000)]
Merge "Service side HAL changes for RIL unsolicited responses - 3"
am: f986f6cc4c

Change-Id: If06b045a92401ae0c8338079c53bca50e06bbab3

7 years agoMerge "Check return status for response and indication callbacks."
Treehugger Robot [Fri, 3 Feb 2017 03:14:15 +0000 (03:14 +0000)]
Merge "Check return status for response and indication callbacks."

7 years agoMerge "Service side HAL changes for RIL unsolicited responses - 3"
Treehugger Robot [Fri, 3 Feb 2017 03:10:44 +0000 (03:10 +0000)]
Merge "Service side HAL changes for RIL unsolicited responses - 3"

7 years agoCheck return status for response and indication callbacks.
Amit Mahajan [Thu, 19 Jan 2017 23:05:45 +0000 (15:05 -0800)]
Check return status for response and indication callbacks.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34472671
Merged-in: Ie74972845ee0a8d60a8887f8daff164a3abcb255
Change-Id: Ie74972845ee0a8d60a8887f8daff164a3abcb255

7 years agoService side HAL changes for RIL unsolicited responses - 3
Amit Mahajan [Sat, 7 Jan 2017 00:55:33 +0000 (16:55 -0800)]
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

7 years agoMerge "Service side HAL changes for RIL unsolicited responses - 2"
Amit Mahajan [Fri, 3 Feb 2017 01:09:47 +0000 (01:09 +0000)]
Merge "Service side HAL changes for RIL unsolicited responses - 2"
am: b8e09da7d6

Change-Id: I1433b131ac93a8ee560b9faf2d58adbef054b1e6

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'
Amit Mahajan [Thu, 2 Feb 2017 20:32:59 +0000 (20:32 +0000)]
Merge changes from topics 'RADIO HAL 4', 'RADIO HAL 3'
am: 39583c4634

Change-Id: Ide5b2262e0ff48e988b8f5eec2871cde75a83ec6

7 years agoService side HAL changes for RIL unsolicited responses.
Amit Mahajan [Thu, 2 Feb 2017 20:32:21 +0000 (20:32 +0000)]
Service side HAL changes for RIL unsolicited responses.
am: 5829a472e0

Change-Id: I4b9b8b01da2cdfb6484b4bc227da8e36e4f1fafc

7 years agoConvert ril cpp to HIDL service.
Sanket Padawe [Thu, 2 Feb 2017 20:32:20 +0000 (20:32 +0000)]
Convert ril cpp to HIDL service.
am: f220dc5793

Change-Id: Ic94a8b721a31104338716a82c460108ed3ba3b78

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."
Amit Mahajan [Thu, 2 Feb 2017 17:37:41 +0000 (17:37 +0000)]
Merge "Converting SAP from protobuf to hidl."
am: c7d0f2b7eb

Change-Id: I73ab73014879ca270d73199b1b1e8954cd5425e5

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

Change-Id: Id0419dc331103988117f32da68d0e2afa8a9183f

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:26:20 +0000 (01:26 +0000)]
Merge "Add deprecation warning to IMS_REGISTRATION RIL Calls"
am: c8610f8945

Change-Id: I00589c7370b13b04b29e9b748c30929b215368a7

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:09:38 +0000 (06:09 +0000)]
Merge "telephony: add input data information in ril.h"
am: b873d46732

Change-Id: Ib055757365cec96e14c4548b73a0844f398f4f1f

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:46:03 +0000 (21:46 +0000)]
Merge "ril: Regenerate RIL response strings"
am: 7fa00b0954

Change-Id: I44a5242fc00517f42385c1c4a5e8f3995ad5240c

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