OSDN Git Service

android-x86/hardware-ril.git
7 years agoMerge "Service side HAL changes for RIL solicited responses - 2" am: cf2c38113c
Amit Mahajan [Mon, 13 Feb 2017 19:06:55 +0000 (19:06 +0000)]
Merge "Service side HAL changes for RIL solicited responses - 2" am: cf2c38113c
am: 8f1d04b805

Change-Id: Ib3a775e168d96d844fd7d4f7936260ed1a056245

7 years agoMerge "Service side HAL changes for RIL solicited responses - 2"
Amit Mahajan [Mon, 13 Feb 2017 19:04:27 +0000 (19:04 +0000)]
Merge "Service side HAL changes for RIL solicited responses - 2"
am: cf2c38113c

Change-Id: I6c270cfb72893c4f0ed82c22a7ef2a4ea0d0a767

7 years agoMerge "Service side HAL changes for RIL solicited responses - 2"
Amit Mahajan [Mon, 13 Feb 2017 19:00:19 +0000 (19:00 +0000)]
Merge "Service side HAL changes for RIL solicited responses - 2"

7 years agoMerge "Service side HAL changes for RIL solicited responses." am: b44f60f1bc
Amit Mahajan [Mon, 13 Feb 2017 18:59:24 +0000 (18:59 +0000)]
Merge "Service side HAL changes for RIL solicited responses." am: b44f60f1bc
am: ef0e552f70

Change-Id: I3f8212210ff0519dd88306a5a1073cd933807172

7 years agoMerge "Service side HAL changes for RIL solicited responses."
Amit Mahajan [Mon, 13 Feb 2017 18:57:21 +0000 (18:57 +0000)]
Merge "Service side HAL changes for RIL solicited responses."
am: b44f60f1bc

Change-Id: I34cc779372ca113fbd174154ee5b5fd91be45807

7 years agoMerge "Service side HAL changes for RIL solicited responses."
Amit Mahajan [Mon, 13 Feb 2017 18:54:21 +0000 (18:54 +0000)]
Merge "Service side HAL changes for RIL solicited responses."

7 years agoService side HAL changes for RIL solicited responses - 2
Amit Mahajan [Wed, 1 Feb 2017 01:14:42 +0000 (17:14 -0800)]
Service side HAL changes for RIL solicited responses - 2

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I7fda74cfb926752adc00f2b84af9c1e761e3433e

7 years agoService side HAL changes for RIL solicited responses.
Amit Mahajan [Fri, 10 Feb 2017 01:35:55 +0000 (01:35 +0000)]
Service side HAL changes for RIL solicited responses.

Bug: 32020264
Merged-in: I8bbbf650770b5da13085ed85a760af6b45d6d3db
Change-Id: I8bbbf650770b5da13085ed85a760af6b45d6d3db

7 years agoMerge "Fix build warnings in libril" am: ab512e0c84
Wei Wang [Sat, 11 Feb 2017 00:37:14 +0000 (00:37 +0000)]
Merge "Fix build warnings in libril" am: ab512e0c84
am: 0abd5a5865

Change-Id: Ia8d55ce8ac11084be528ea78d0463b16271d5f61

7 years agoMerge "Fix build warnings in libril"
Wei Wang [Sat, 11 Feb 2017 00:35:14 +0000 (00:35 +0000)]
Merge "Fix build warnings in libril"
am: ab512e0c84

Change-Id: I5ddb8a8a4b57a269480e6cc37039a56e5b59fea0

7 years agoMerge "Fix build warnings in libril"
Treehugger Robot [Sat, 11 Feb 2017 00:32:29 +0000 (00:32 +0000)]
Merge "Fix build warnings in libril"

7 years agoMerge "Fix bug for Cellbroadcast activation Radio hal commands." am: 22d674b6f6
Sanket Padawe [Sat, 11 Feb 2017 00:14:13 +0000 (00:14 +0000)]
Merge "Fix bug for Cellbroadcast activation Radio hal commands." am: 22d674b6f6
am: a2100c9dfd

Change-Id: I9a0e8324b4d3587c5401ebb5db42bf7288a8443b

7 years agoMerge "Fix bug for Cellbroadcast activation Radio hal commands."
Sanket Padawe [Sat, 11 Feb 2017 00:12:12 +0000 (00:12 +0000)]
Merge "Fix bug for Cellbroadcast activation Radio hal commands."
am: 22d674b6f6

Change-Id: I168719545d10092aa548790758e7fffb3c34539c

7 years agoMerge "Fix bug for Cellbroadcast activation Radio hal commands."
Sanket Padawe [Sat, 11 Feb 2017 00:09:33 +0000 (00:09 +0000)]
Merge "Fix bug for Cellbroadcast activation Radio hal commands."

7 years agoMerge "Replaced strcpy, strlen, strncpy with safer string functions" am: e843639298
Jack Yu [Fri, 10 Feb 2017 22:50:37 +0000 (22:50 +0000)]
Merge "Replaced strcpy, strlen, strncpy with safer string functions" am: e843639298
am: 87cb22e1c5

Change-Id: I37ca75bde645936709de1575c20a726b024d3538

7 years agoMerge "Replaced strcpy, strlen, strncpy with safer string functions"
Jack Yu [Fri, 10 Feb 2017 22:48:38 +0000 (22:48 +0000)]
Merge "Replaced strcpy, strlen, strncpy with safer string functions"
am: e843639298

Change-Id: I9046a04e359e73fe4ba55eeca4af45848237fd9c

7 years agoMerge "Replaced strcpy, strlen, strncpy with safer string functions"
Treehugger Robot [Fri, 10 Feb 2017 22:44:49 +0000 (22:44 +0000)]
Merge "Replaced strcpy, strlen, strncpy with safer string functions"

7 years agoFix bug for Cellbroadcast activation Radio hal commands.
Sanket Padawe [Fri, 10 Feb 2017 21:19:47 +0000 (13:19 -0800)]
Fix bug for Cellbroadcast activation Radio hal commands.

+ Vendor expects activate ? 0 : 1

Test: Manual test run. Command succeeds.
Bug: 32020264
Change-Id: Ic1e8faeaa8dce1b5956117dcae3c23e9abe7c8b7

7 years agoMerge "Provide HIDL support for RIL commands in ril.cpp (patch 2)." am: 5e93ad2cce
Sanket Padawe [Fri, 10 Feb 2017 20:28:07 +0000 (20:28 +0000)]
Merge "Provide HIDL support for RIL commands in ril.cpp (patch 2)." am: 5e93ad2cce
am: 83717840bd

Change-Id: I586e23bd064dbb6ac92a8b89bf934d131bcd424b

7 years agoReplaced strcpy, strlen, strncpy with safer string functions
Jack Yu [Tue, 7 Feb 2017 22:53:09 +0000 (14:53 -0800)]
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

7 years agoMerge "Provide HIDL support for RIL commands in ril.cpp (patch 2)."
Sanket Padawe [Fri, 10 Feb 2017 20:25:07 +0000 (20:25 +0000)]
Merge "Provide HIDL support for RIL commands in ril.cpp (patch 2)."
am: 5e93ad2cce

Change-Id: I4a09d26970129befcea6b89457dca69471ca3435

7 years agoMerge "Provide HIDL support for RIL commands in ril.cpp (patch 2)."
Sanket Padawe [Fri, 10 Feb 2017 20:21:55 +0000 (20:21 +0000)]
Merge "Provide HIDL support for RIL commands in ril.cpp (patch 2)."

7 years agoFix build warnings in libril
Wei Wang [Fri, 3 Feb 2017 22:18:07 +0000 (14:18 -0800)]
Fix build warnings in libril

Bug:none
Test: on marlin
Change-Id: I561f68b00732b2e0bda22a769198e13a53698908

7 years agoProvide HIDL support for RIL commands in ril.cpp (patch 2).
Sanket Padawe [Tue, 24 Jan 2017 22:11:12 +0000 (14:11 -0800)]
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

7 years agoMerge "Resend NITZ when the upstream client is not ready" am: 0e4644614a
Weilun Du [Fri, 10 Feb 2017 01:03:07 +0000 (01:03 +0000)]
Merge "Resend NITZ when the upstream client is not ready" am: 0e4644614a
am: 92e70e7e8a

Change-Id: I82259b544d32eb54cb0a7b90adc158fa6b62093e

7 years agoMerge "Resend NITZ when the upstream client is not ready"
Weilun Du [Fri, 10 Feb 2017 00:59:08 +0000 (00:59 +0000)]
Merge "Resend NITZ when the upstream client is not ready"
am: 0e4644614a

Change-Id: I800ea69cce55bb8734b0092040d03c1c4764703f

7 years agoMerge "Resend NITZ when the upstream client is not ready"
Treehugger Robot [Fri, 10 Feb 2017 00:50:32 +0000 (00:50 +0000)]
Merge "Resend NITZ when the upstream client is not ready"

7 years agoResend NITZ when the upstream client is not ready
Weilun Du [Thu, 9 Feb 2017 20:32:42 +0000 (12:32 -0800)]
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>
7 years agoMerge "RIL header update for O" am: 4d232c5c75
Jack Yu [Tue, 7 Feb 2017 00:00:26 +0000 (00:00 +0000)]
Merge "RIL header update for O" am: 4d232c5c75
am: dc403c7f34

Change-Id: Id40274c13b04feec87712b9875c4134b5879416f

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." am: 9df6c76c9b
Amit Mahajan [Fri, 3 Feb 2017 19:40:38 +0000 (19:40 +0000)]
Merge "Add synchronization between IRadio callbacks and service creation." am: 9df6c76c9b
am: 1fc202ba23

Change-Id: I2672f893cac035454e9abb709453f21b8ee6e6ef

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." am: 53a5b229d4
Amit Mahajan [Fri, 3 Feb 2017 03:18:27 +0000 (03:18 +0000)]
Merge "Check return status for response and indication callbacks." am: 53a5b229d4
am: 5658b91e7c

Change-Id: I54cd40177188d86f06020eddc9c047f8bcaba624

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

Change-Id: Ib3809a1f1133b8f3dd218b45952fb0b8b4e349fd

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" am: b8e09da7d6
Amit Mahajan [Fri, 3 Feb 2017 01:13:10 +0000 (01:13 +0000)]
Merge "Service side HAL changes for RIL unsolicited responses - 2" am: b8e09da7d6
am: c70f383e3e

Change-Id: If9f4264fa978581d1f35a5e750e49e85c532a995

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

Change-Id: I0075acc91f4eb53f6e4f129a0e47edfbfbef6911

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

Change-Id: I6debd5219cb80d46e47269f016cc24ae22ae1818

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

Change-Id: Idf6bb2c5cb0d0cb3b641402904b6ab9f9faaa79b

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

Change-Id: Ib8d82c541844b6c2903d4621e6729762faec35e5

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

Change-Id: Ie3953eecbf7d96678ac6d3abf378448060863ca3

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" am: c8610f8945
nharold [Fri, 23 Dec 2016 01:32:21 +0000 (01:32 +0000)]
Merge "Add deprecation warning to IMS_REGISTRATION RIL Calls" am: c8610f8945
am: 5fa4930e23

Change-Id: I5b1eec5fc074d5f0d956308fa08d9d26da70381a

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" am: b873d46732
Amit Mahajan [Thu, 22 Dec 2016 06:13:13 +0000 (06:13 +0000)]
Merge "telephony: add input data information in ril.h" am: b873d46732
am: 4e70d7972f

Change-Id: I82a61fdb3905d8d05c2839f77c9066d9f2f612ce

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" am: 7fa00b0954
Mark Salyzyn [Mon, 12 Dec 2016 21:51:38 +0000 (21:51 +0000)]
Merge "ril: Regenerate RIL response strings" am: 7fa00b0954
am: 1604c686e0

Change-Id: Iea58582195a978d5d27e53c086d46ba67cbd026b

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." am: 51f0cc93af
Yunlian Jiang [Wed, 23 Nov 2016 03:19:51 +0000 (03:19 +0000)]
Merge "ril: fix a memory leak." am: 51f0cc93af
am: b25f1e44e0

Change-Id: I536772f638a0c5307d235f5dea5e9e26c8495f7d

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" am: b7f1226866
Naveen Kalla [Wed, 9 Nov 2016 01:37:48 +0000 (01:37 +0000)]
Merge "Remove deprecated RADIO_STATES" am: b7f1226866
am: f936832891

Change-Id: Id191fbbbe877716a74c38e0fb105cf74e30e5e33

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." am: b3897e1170
Sanket Padawe [Tue, 1 Nov 2016 22:49:44 +0000 (22:49 +0000)]
Merge "Fix broken asserts." am: b3897e1170
am: 7d866fb63d

Change-Id: Id7202829aeddec32bb965891dcbeb9d27084bb44

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