OSDN Git Service

android-x86/hardware-ril.git
6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev...
Sanket Padawe [Thu, 10 Aug 2017 05:04:05 +0000 (05:04 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev am: e66a47c150 am: 957626f82d am: ddc6f6427e am: 0756964d91  -s ours am: b8484b0fe3 am: e9fe8f02c9 am: 71eb7902d3 am: 77142523ff
am: 009637231d  -s ours

Change-Id: I6f04c1d55bd55c1e46b9c320bb82ac798a6589d8

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev...
Sanket Padawe [Thu, 10 Aug 2017 05:01:06 +0000 (05:01 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev am: e66a47c150 am: 957626f82d am: ddc6f6427e am: 0756964d91  -s ours am: b8484b0fe3 am: e9fe8f02c9 am: 71eb7902d3
am: 77142523ff

Change-Id: I4da78b17838d2607aba3689d06cdad11be481b30

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev...
Sanket Padawe [Thu, 10 Aug 2017 04:58:04 +0000 (04:58 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev am: e66a47c150 am: 957626f82d am: ddc6f6427e am: 0756964d91  -s ours am: b8484b0fe3 am: e9fe8f02c9
am: 71eb7902d3

Change-Id: I8bb5d804cf7201759e248490425e9083590aaf1d

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev...
Sanket Padawe [Thu, 10 Aug 2017 04:55:34 +0000 (04:55 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev am: e66a47c150 am: 957626f82d am: ddc6f6427e am: 0756964d91  -s ours am: b8484b0fe3
am: e9fe8f02c9

Change-Id: Ia09c5fcf0a691ee77a9012aed1d0145242299b7d

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev...
Sanket Padawe [Thu, 10 Aug 2017 04:52:34 +0000 (04:52 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev am: e66a47c150 am: 957626f82d am: ddc6f6427e am: 0756964d91  -s ours
am: b8484b0fe3

Change-Id: I95424dcd22474782dd128c045d96416e4795c2f9

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev...
Sanket Padawe [Thu, 10 Aug 2017 04:48:04 +0000 (04:48 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev am: e66a47c150 am: 957626f82d am: ddc6f6427e
am: 0756964d91  -s ours

Change-Id: I418b3588da64780460df78423b181cc48e73dadb

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev...
Sanket Padawe [Thu, 10 Aug 2017 04:43:03 +0000 (04:43 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev am: e66a47c150 am: 957626f82d
am: ddc6f6427e

Change-Id: Ibd9999816b25453b3e7dd8a9588bb53830e1131b

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev...
Sanket Padawe [Thu, 10 Aug 2017 04:39:33 +0000 (04:39 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev am: e66a47c150
am: 957626f82d

Change-Id: Icf57631695a3fd622a939c05dc188901ad68db6f

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev
Sanket Padawe [Thu, 10 Aug 2017 04:36:03 +0000 (04:36 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev
am: e66a47c150

Change-Id: Ib4c2ec20ee3d6b130812c0b0cb3316541f669765

6 years agoMerge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev
Sanket Padawe [Thu, 10 Aug 2017 04:28:54 +0000 (04:28 +0000)]
Merge "DO NOT MERGE Fix security vulnerability in pre-O rild code." into mnc-dev

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:27:01 +0000 (04:27 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours am: 3a546ebf0a am: 8ad718398a am: 472cfd25ea am: 2a86c777ef  -s ours am: b916a4067b am: 21e26b21ee am: 52858488cd am: bd35fe83b0
am: 915b6f46e3  -s ours

Change-Id: I591fdf179dd755fa29ef491ff6dc13c65c9296fb

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:24:02 +0000 (04:24 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours am: 3a546ebf0a am: 8ad718398a am: 472cfd25ea am: 2a86c777ef  -s ours am: b916a4067b am: 21e26b21ee am: 52858488cd
am: bd35fe83b0

Change-Id: I109799fcfeb8c741fce7545fc0be5522498733fd

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:21:31 +0000 (04:21 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours am: 3a546ebf0a am: 8ad718398a am: 472cfd25ea am: 2a86c777ef  -s ours am: b916a4067b am: 21e26b21ee
am: 52858488cd

Change-Id: Ia4002fba5d314af541b5178d0f85461bed5f0610

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:18:32 +0000 (04:18 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours am: 3a546ebf0a am: 8ad718398a am: 472cfd25ea am: 2a86c777ef  -s ours am: b916a4067b
am: 21e26b21ee

Change-Id: Ic30458687c40417f294429ce5852a32541dfa05f

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:15:31 +0000 (04:15 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours am: 3a546ebf0a am: 8ad718398a am: 472cfd25ea am: 2a86c777ef  -s ours
am: b916a4067b

Change-Id: I28f5c8a73a20aa07708c2b6b8e0b42a46a6bdbda

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:13:00 +0000 (04:13 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours am: 3a546ebf0a am: 8ad718398a am: 472cfd25ea
am: 2a86c777ef  -s ours

Change-Id: I79a95786d633b780d52ee37a942d347b7dad4814

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:09:30 +0000 (04:09 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours am: 3a546ebf0a am: 8ad718398a
am: 472cfd25ea

Change-Id: I318eefa909101af05fbd0efa5654a9f0d709cdb1

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 04:09:30 +0000 (04:09 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours am: 36c0b38d8a am: 1e72c6b90f am: 8811f6efda am: 77bf25b40c  -s ours am: 6978db7a39 am: 7b7107854a am: efe7b8a122 am: d39a6f9846
am: c77f447c78  -s ours

Change-Id: I86ea4a6612af18a8592632808b6d7e91b9d81043

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 04:07:01 +0000 (04:07 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours am: 36c0b38d8a am: 1e72c6b90f am: 8811f6efda am: 77bf25b40c  -s ours am: 6978db7a39 am: 7b7107854a am: efe7b8a122
am: d39a6f9846

Change-Id: I1ddafae0c6ba21c59afe48a1ffe3f622df6329a6

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:07:00 +0000 (04:07 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours am: 3a546ebf0a
am: 8ad718398a

Change-Id: I270562130513e2db9efd19bc80706826fcc65123

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 04:04:00 +0000 (04:04 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours am: 36c0b38d8a am: 1e72c6b90f am: 8811f6efda am: 77bf25b40c  -s ours am: 6978db7a39 am: 7b7107854a
am: efe7b8a122

Change-Id: Icd7e4a14c8b4bc95beb5921161e63722827ae427

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:03:59 +0000 (04:03 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f am: 39840dc5e3  -s ours
am: 3a546ebf0a

Change-Id: I8e4e19dc7b965c36407f754f1fc8c170a606e3d7

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 04:01:30 +0000 (04:01 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours am: 36c0b38d8a am: 1e72c6b90f am: 8811f6efda am: 77bf25b40c  -s ours am: 6978db7a39
am: 7b7107854a

Change-Id: I0122cba5f4889e1b2455711c30bf4444f5ba45c2

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:01:29 +0000 (04:01 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours am: 774711be8f
am: 39840dc5e3  -s ours

Change-Id: Ifda69ab3844b40c901dfaa4d2d6aa01dbe7aca8d

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 03:59:29 +0000 (03:59 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours am: 023b8082b7  -s ours
am: 774711be8f

Change-Id: I6fab0f0b74a730c16241f385c5939accef8ba1c5

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 03:58:29 +0000 (03:58 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours am: 36c0b38d8a am: 1e72c6b90f am: 8811f6efda am: 77bf25b40c  -s ours
am: 6978db7a39

Change-Id: I14486ba6c3a41ba27383ba83889ac998e05c2c7e

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 03:56:29 +0000 (03:56 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours am: 36c0b38d8a am: 1e72c6b90f am: 8811f6efda
am: 77bf25b40c  -s ours

Change-Id: Id6c0cc872b6fd5f552974fa4a1cbcba637e82d35

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 03:56:29 +0000 (03:56 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964 am: 44fd51827a  -s ours
am: 023b8082b7  -s ours

Change-Id: I2cb3c47b6b20d4d956bb248b5989fcbc5f72156f

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 03:52:59 +0000 (03:52 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours am: 36c0b38d8a am: 1e72c6b90f
am: 8811f6efda

Change-Id: I55cf868e6a90c84766e0767d8381952f1b507206

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964
Sanket Padawe [Thu, 10 Aug 2017 03:52:58 +0000 (03:52 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e4964
am: 44fd51827a  -s ours

Change-Id: Ie22fe9ca948f5601839bb228ea91534ccba84dfe

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf
Sanket Padawe [Thu, 10 Aug 2017 03:49:29 +0000 (03:49 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf
am: 57170e4964

Change-Id: Icfc4d393a6d84d31bebcd67ef4338bd63dda9566

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 03:49:28 +0000 (03:49 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours am: 36c0b38d8a
am: 1e72c6b90f

Change-Id: Iaabecd18964f940c5cc6049e0472c9be54309734

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 03:46:59 +0000 (03:46 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730 am: e90cce1ae7  -s ours
am: 36c0b38d8a

Change-Id: Ib34748a84ef11da2b5a8ba400a16815e2f418827

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code.
Sanket Padawe [Thu, 10 Aug 2017 03:46:58 +0000 (03:46 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code.
am: bb6567cbaf

Change-Id: I17d71afc3d3b58e1e12d7844716439e9e83d418c

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 03:43:57 +0000 (03:43 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours am: 3a3c7ce730
am: e90cce1ae7  -s ours

Change-Id: Ibb3ea8590c4537fbae682956040e4a590e3616b8

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1 -s ours
Sanket Padawe [Thu, 10 Aug 2017 03:40:58 +0000 (03:40 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code. am: c4c7c551b1  -s ours
am: 3a3c7ce730

Change-Id: Iabe7bf88400c02561a0ef53b68566fdf34f6f5a5

6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code.
Sanket Padawe [Thu, 10 Aug 2017 03:38:27 +0000 (03:38 +0000)]
DO NOT MERGE Fix security vulnerability in pre-O rild code.
am: c4c7c551b1  -s ours

Change-Id: I9a86af65a991fc0d32e10cbb19151765b8646bb3

7 years agoDO NOT MERGE
Sanket Padawe [Thu, 13 Jul 2017 21:19:28 +0000 (14:19 -0700)]
DO NOT MERGE
Fix security vulnerability in pre-O rild code.

Remove wrong code for setup_data_call.
Add check for max address for RIL_DIAL.

Bug: 37896655
Test: Manual.
Change-Id: I05c027140ae828a2653794fcdd94e1b1a130941b

7 years agoDO NOT MERGE
Sanket Padawe [Thu, 13 Jul 2017 21:19:28 +0000 (14:19 -0700)]
DO NOT MERGE
Fix security vulnerability in pre-O rild code.

Remove wrong code for setup_data_call.
Add check for max address for RIL_DIAL.

Bug: 37896655
Test: Manual.
Change-Id: I05c027140ae828a2653794fcdd94e1b1a130941b

7 years agoDO NOT MERGE
Sanket Padawe [Thu, 13 Jul 2017 21:19:28 +0000 (14:19 -0700)]
DO NOT MERGE
Fix security vulnerability in pre-O rild code.

Remove wrong code for setup_data_call.
Add check for max address for RIL_DIAL.

Bug: 37896655
Test: Manual.
Change-Id: I05c027140ae828a2653794fcdd94e1b1a130941b

7 years agoHandle empty apn string in setInitialAttachApn HIDL API.
Sanket Padawe [Tue, 20 Jun 2017 19:40:19 +0000 (12:40 -0700)]
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

7 years agoMerge "Treat NULL payload in RIL messages as valid where applicable." into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 07:23:33 +0000 (07:23 +0000)]
Merge "Treat NULL payload in RIL messages as valid where applicable." into oc-dev

7 years agoTreat NULL payload in RIL messages as valid where applicable.
Amit Mahajan [Thu, 8 Jun 2017 06:10:27 +0000 (23:10 -0700)]
Treat NULL payload in RIL messages as valid where applicable.

Test: basic telephony sanity
Bug: 62262047
Change-Id: Icdd199025b8890e8be66a18d47dff0f991ff4308

7 years agoUse Hex conversion for cid and lac
Sooraj Sasindran [Wed, 7 Jun 2017 23:30:18 +0000 (16:30 -0700)]
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

7 years agoFix VTS test for setBarringPassword RIL api.
Sanket Padawe [Wed, 24 May 2017 17:03:55 +0000 (10:03 -0700)]
Fix VTS test for setBarringPassword RIL api.

Bug: 62054964
Test: manual
Change-Id: I05200a966badc3a67dec4c708b053464d943cd85

7 years agoFix multi sim support and warnings in new hal code.
Amit Mahajan [Mon, 15 May 2017 23:41:44 +0000 (16:41 -0700)]
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

7 years agoUpdate ril.h documentation
Naina Nalluri [Fri, 5 May 2017 00:40:04 +0000 (17:40 -0700)]
Update ril.h documentation

update ril.h documentation with
nas/data error codes

Bug: 35671595
Test: Only Doc update
Change-Id: I966db0db7051b6c76544ed9dae6edd10e5a3c5a0

7 years agoMerge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG" into oc-dev
Jayachandran Chinnakkannu [Mon, 1 May 2017 20:32:02 +0000 (20:32 +0000)]
Merge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG" into oc-dev

7 years agoDo not treat NULL response as error for getAllowedCarriers
Jayachandran C [Fri, 28 Apr 2017 07:57:13 +0000 (00:57 -0700)]
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

7 years agoConvert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG
Jayachandran C [Sun, 30 Apr 2017 17:21:14 +0000 (10:21 -0700)]
Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG

Test: VTS
Bug: 37849113
Bug: 37157801
Change-Id: I6e2f384751973457775ab8c084189bddd59d0dd3

7 years agoRemove GENERIC_FAILURE still in ril.h
sqian [Mon, 24 Apr 2017 18:48:06 +0000 (11:48 -0700)]
Remove GENERIC_FAILURE still in ril.h

Bug: 36385785
Test: No change to behavior
Change-Id: I1757219bb758b3af694395fbba229cde74614f00

7 years agoMerge "libril: include what you use" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 01:56:53 +0000 (01:56 +0000)]
Merge "libril: include what you use" into oc-dev

7 years agolibril: include what you use
Steven Moreland [Mon, 17 Apr 2017 23:36:32 +0000 (16:36 -0700)]
libril: include what you use

Unused binder header removal.

Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: I26f0bdb63ac98264bb11d5f7c68d68cf427988ec

7 years agoFixed several memory related issues.
Jack Yu [Fri, 14 Apr 2017 07:08:06 +0000 (00:08 -0700)]
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

7 years agoFixed incorrect parameter handling for setup data call
Jack Yu [Fri, 14 Apr 2017 03:55:03 +0000 (20:55 -0700)]
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

7 years agoMerge "Move libril to the vendor partition." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 04:33:47 +0000 (04:33 +0000)]
Merge "Move libril to the vendor partition." into oc-dev

7 years agoMove libril to the vendor partition.
Steven Moreland [Fri, 7 Apr 2017 20:39:55 +0000 (13:39 -0700)]
Move libril to the vendor partition.

This module should not be built on the system partition.

Test: old libril instances removed from out by CleanSpec.mk
Test: phone call on internal marlin
Bug: 33241851
Change-Id: I27cbe60831c838a5d6fb75a5a9c32af0554fc5bb

7 years agoMerge "Add p2 option in openLogicalChannel" into oc-dev
Amit Mahajan [Wed, 12 Apr 2017 22:02:34 +0000 (22:02 +0000)]
Merge "Add p2 option in openLogicalChannel" into oc-dev

7 years agoAdd p2 option in openLogicalChannel
Wileen Chiu [Mon, 23 Nov 2015 22:25:22 +0000 (14:25 -0800)]
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

7 years agoRemove obsolete target.
Steven Moreland [Fri, 7 Apr 2017 20:28:00 +0000 (13:28 -0700)]
Remove obsolete target.

This target was ifdef'd out and left laying around from the past.

Test: pass
Bug: 33241851
Change-Id: I19f6466836c055fd7555a56a123209dc80f8e704

7 years agoMerge "Use explicit .c_str() for hidl_string" into oc-dev
Scott Randolph [Thu, 6 Apr 2017 18:01:41 +0000 (18:01 +0000)]
Merge "Use explicit .c_str() for hidl_string" into oc-dev

7 years agoMerge "rild.c: Use log/log.h instead of utils/Log.h" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 22:42:16 +0000 (22:42 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h" into oc-dev

7 years agorild.c: Use log/log.h instead of utils/Log.h
Dan Willemsen [Tue, 4 Apr 2017 04:58:13 +0000 (21:58 -0700)]
rild.c: Use log/log.h instead of utils/Log.h

This doesn't use libutils, so it shouldn't be using the libutils
headers. It doesn't use anything unique to utils/Log.h anyways.

It also shouldn't be using any headers from TARGET_OUT_HEADERS (aka
LOCAL_COPY_HEADERS)

Test: m -j rild
Change-Id: I64ef29cdc17a32e013bccfa799cb9c125386cf50

7 years agoChange radio related service names to slot1, slot2, slot3...
Amit Mahajan [Tue, 28 Mar 2017 18:17:55 +0000 (11:17 -0700)]
Change radio related service names to slot1, slot2, slot3...

Test: Basic telephony sanity
Bug: 36570718
Merged-in: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
Change-Id: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4

7 years agoUse explicit .c_str() for hidl_string
Scott Randolph [Mon, 3 Apr 2017 21:06:40 +0000 (14:06 -0700)]
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

7 years agoSapImpl: log error description
Steven Moreland [Tue, 28 Mar 2017 15:55:58 +0000 (08:55 -0700)]
SapImpl: log error description

Test: pass
Bug: 35937742
Merged-In: I9784a15d8de5dc8a0bff849d5d3ef8c162bcb1a0
Change-Id: I9784a15d8de5dc8a0bff849d5d3ef8c162bcb1a0

7 years agoMerge "Remove SAP socket." am: 3ca9bd02b8 am: 8de5ac7bae
Amit Mahajan [Tue, 28 Mar 2017 05:22:24 +0000 (05:22 +0000)]
Merge "Remove SAP socket." am: 3ca9bd02b8 am: 8de5ac7bae
am: 94521c910a  -s ours

Change-Id: Idd5018862f6fbc1d19aee464692dd653dc92f10f

7 years agoMerge "Remove SAP socket." am: 3ca9bd02b8
Amit Mahajan [Tue, 28 Mar 2017 05:14:00 +0000 (05:14 +0000)]
Merge "Remove SAP socket." am: 3ca9bd02b8
am: 8de5ac7bae

Change-Id: I574d84aeba4c22fd58a84704da2f55c5307cf5e4

7 years agoMerge "Remove SAP socket."
Amit Mahajan [Tue, 28 Mar 2017 05:06:12 +0000 (05:06 +0000)]
Merge "Remove SAP socket."
am: 3ca9bd02b8

Change-Id: I602d5f3506c716445371dfa19ac6aa20c16f2386

7 years agoMerge "Remove SAP socket."
Amit Mahajan [Tue, 28 Mar 2017 04:56:37 +0000 (04:56 +0000)]
Merge "Remove SAP socket."

7 years agoRemove SAP socket.
Amit Mahajan [Wed, 22 Mar 2017 18:25:51 +0000 (11:25 -0700)]
Remove SAP socket.

Test: Basic SAP sanity
Bug: 32020264
Merged-in: Iece9d047db513e425e8a954e2ece2bba7e3e2535
Change-Id: Iece9d047db513e425e8a954e2ece2bba7e3e2535

7 years agoRemove SAP socket.
Amit Mahajan [Wed, 22 Mar 2017 18:25:51 +0000 (11:25 -0700)]
Remove SAP socket.

Test: Basic SAP sanity
Bug: 32020264
Change-Id: Iece9d047db513e425e8a954e2ece2bba7e3e2535

7 years agoMerge "Move RILC logs under verbose flag to reduce the RILC log spam" am: 13bbab0ddb...
Jayachandran Chinnakkannu [Sun, 26 Mar 2017 02:40:46 +0000 (02:40 +0000)]
Merge "Move RILC logs under verbose flag to reduce the RILC log spam" am: 13bbab0ddb am: 66f6695c0b
am: 5005c1be3a

Change-Id: I5fc323b460adc4dc3ce98fa6905679223a1490e9

7 years agoMerge "Move RILC logs under verbose flag to reduce the RILC log spam" am: 13bbab0ddb
Jayachandran Chinnakkannu [Sun, 26 Mar 2017 02:38:15 +0000 (02:38 +0000)]
Merge "Move RILC logs under verbose flag to reduce the RILC log spam" am: 13bbab0ddb
am: 66f6695c0b

Change-Id: I86f8faf313d4ad2da78825ed3e4395d4a70c5885

7 years agoMerge "Move RILC logs under verbose flag to reduce the RILC log spam"
Jayachandran Chinnakkannu [Sun, 26 Mar 2017 02:35:46 +0000 (02:35 +0000)]
Merge "Move RILC logs under verbose flag to reduce the RILC log spam"
am: 13bbab0ddb

Change-Id: I9630182957c8c4f4932573c936aca029919b5eb8

7 years agoMerge "Move RILC logs under verbose flag to reduce the RILC log spam"
Jayachandran Chinnakkannu [Sun, 26 Mar 2017 02:32:18 +0000 (02:32 +0000)]
Merge "Move RILC logs under verbose flag to reduce the RILC log spam"

7 years agoMove RILC logs under verbose flag to reduce the RILC log spam
Jayachandran C [Sat, 25 Mar 2017 21:30:13 +0000 (14:30 -0700)]
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

7 years agoMerge "Removing GENERIC_FAILURE from API documentation in ril.h" am: 6ea410309a am...
Shuo Qian [Fri, 24 Mar 2017 17:30:29 +0000 (17:30 +0000)]
Merge "Removing GENERIC_FAILURE from API documentation in ril.h" am: 6ea410309a am: d00910aad5
am: 3d696d8e42

Change-Id: Idcbb37672a64e933a2f78c7fc34c5f93f1eeab74

7 years agoMerge "Removing GENERIC_FAILURE from API documentation in ril.h" am: 6ea410309a
Shuo Qian [Fri, 24 Mar 2017 17:27:56 +0000 (17:27 +0000)]
Merge "Removing GENERIC_FAILURE from API documentation in ril.h" am: 6ea410309a
am: d00910aad5

Change-Id: Ic9729c06688b50f73be99a27d701cff3f25d8e47

7 years agoMerge "Removing GENERIC_FAILURE from API documentation in ril.h"
Shuo Qian [Fri, 24 Mar 2017 17:26:28 +0000 (17:26 +0000)]
Merge "Removing GENERIC_FAILURE from API documentation in ril.h"
am: 6ea410309a

Change-Id: I695aaa62900d55ad23b271860aa672fd9a3d0a6a

7 years agoMerge "Removing GENERIC_FAILURE from API documentation in ril.h"
Shuo Qian [Fri, 24 Mar 2017 17:21:17 +0000 (17:21 +0000)]
Merge "Removing GENERIC_FAILURE from API documentation in ril.h"

7 years agoRemoving GENERIC_FAILURE from API documentation in ril.h
Shuoq [Mon, 20 Mar 2017 23:31:23 +0000 (16:31 -0700)]
Removing GENERIC_FAILURE from API documentation in ril.h

GENERIC_FAILURE should not be returned in any case.

Bug: 36385785
Test: No change to behavior
Change-Id: I5d3da76aadf9f2643d1e2ca5ca1d8f741e7a25c5

7 years agoMerge "Remove rild sockets." am: 7c22062ff6 am: 7662321cbf
Amit Mahajan [Wed, 22 Mar 2017 17:03:11 +0000 (17:03 +0000)]
Merge "Remove rild sockets." am: 7c22062ff6 am: 7662321cbf
am: 82b7efe9e2  -s ours

Change-Id: I2c50eda23201bada91e89b1cf196ed19e62beae4

7 years agoMerge "Remove rild sockets." am: 7c22062ff6
Amit Mahajan [Wed, 22 Mar 2017 17:00:18 +0000 (17:00 +0000)]
Merge "Remove rild sockets." am: 7c22062ff6
am: 7662321cbf

Change-Id: I023a53e5d1aa535683bc409a1f99b972c5f7db74

7 years agoMerge "Remove rild sockets."
Amit Mahajan [Wed, 22 Mar 2017 16:58:39 +0000 (16:58 +0000)]
Merge "Remove rild sockets."
am: 7c22062ff6

Change-Id: I5d2833330cb606f6379d2af42806c97a8632312a

7 years agoMerge "Remove rild sockets."
Amit Mahajan [Wed, 22 Mar 2017 16:54:40 +0000 (16:54 +0000)]
Merge "Remove rild sockets."

7 years agoRemove rild sockets.
Amit Mahajan [Tue, 14 Mar 2017 23:39:27 +0000 (16:39 -0700)]
Remove rild sockets.

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

7 years agoRemove rild sockets.
Amit Mahajan [Tue, 14 Mar 2017 23:39:27 +0000 (16:39 -0700)]
Remove rild sockets.

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

7 years agoMerge "Convert empty response to -1 for some SIM APIs" am: 7e18f92330 am: 2c7bc41c4c
Naveen Kalla [Mon, 20 Mar 2017 04:39:20 +0000 (04:39 +0000)]
Merge "Convert empty response to -1 for some SIM APIs" am: 7e18f92330 am: 2c7bc41c4c
am: 6fc12e7833

Change-Id: I3dcf8ed7d7c68645986c61cafb8c92707708f6d2

7 years agoMerge "Convert empty response to -1 for some SIM APIs" am: 7e18f92330
Naveen Kalla [Mon, 20 Mar 2017 04:34:05 +0000 (04:34 +0000)]
Merge "Convert empty response to -1 for some SIM APIs" am: 7e18f92330
am: 2c7bc41c4c

Change-Id: I1ce70a847c0b3afd0728db95bcc917927188fb1a

7 years agoMerge "Convert empty response to -1 for some SIM APIs"
Naveen Kalla [Mon, 20 Mar 2017 04:31:04 +0000 (04:31 +0000)]
Merge "Convert empty response to -1 for some SIM APIs"
am: 7e18f92330

Change-Id: Id483483cce600cafa1c392e2027abd9ba140c863

7 years agoMerge "Convert empty response to -1 for some SIM APIs"
Naveen Kalla [Mon, 20 Mar 2017 04:24:45 +0000 (04:24 +0000)]
Merge "Convert empty response to -1 for some SIM APIs"

7 years agoConvert empty response to -1 for some SIM APIs
Naveen Kalla [Thu, 16 Mar 2017 19:55:55 +0000 (12:55 -0700)]
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

7 years agoMerge "Add new precise call fail causes and OEM causes" am: 8f1c83e068 am: f1c740adec
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:41:44 +0000 (22:41 +0000)]
Merge "Add new precise call fail causes and OEM causes" am: 8f1c83e068 am: f1c740adec
am: 166d45018d

Change-Id: Icd5f5acf344f6a97f5e9ec79e1b5ec0ff0a8a696

7 years agoMerge "Add new precise call fail causes and OEM causes" am: 8f1c83e068
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:34:09 +0000 (22:34 +0000)]
Merge "Add new precise call fail causes and OEM causes" am: 8f1c83e068
am: f1c740adec

Change-Id: Ib7bdc7f571ee6b8a9214c11a2fc24986d62bc134

7 years agoMerge "Add new precise call fail causes and OEM causes"
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:27:20 +0000 (22:27 +0000)]
Merge "Add new precise call fail causes and OEM causes"
am: 8f1c83e068

Change-Id: Ia52fb715455da05dc813e70807bf8f2304e3c9e1

7 years agoMerge "Add new precise call fail causes and OEM causes"
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:18:22 +0000 (22:18 +0000)]
Merge "Add new precise call fail causes and OEM causes"

7 years agoMerge "Fix for race condition between radio and oemhook services." am: b809efa3ad...
Amit Mahajan [Fri, 17 Mar 2017 21:19:08 +0000 (21:19 +0000)]
Merge "Fix for race condition between radio and oemhook services." am: b809efa3ad am: 79127b86a7
am: ac4dc62c1a

Change-Id: I2bafcfe18565ca88966bc718df5b99988c723712

7 years agoMerge "Fix for race condition between radio and oemhook services." am: b809efa3ad
Amit Mahajan [Fri, 17 Mar 2017 21:14:42 +0000 (21:14 +0000)]
Merge "Fix for race condition between radio and oemhook services." am: b809efa3ad
am: 79127b86a7

Change-Id: Ic1d0a7adfa4880ffc8a6dd52bb330b941a4897a4

7 years agoMerge "Fix for race condition between radio and oemhook services."
Amit Mahajan [Fri, 17 Mar 2017 21:11:33 +0000 (21:11 +0000)]
Merge "Fix for race condition between radio and oemhook services."
am: b809efa3ad

Change-Id: Iab8c04c954342377acfda76c48b5d2d7cf5cccc7