OSDN Git Service

android-x86/hardware-ril.git
6 years agoDO NOT MERGE Fix security vulnerability in pre-O rild code. am: bb6567cbaf am: 57170e...
Sanket Padawe [Thu, 10 Aug 2017 04:30:03 +0000 (04:30 +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
am: 20df21ecc7

Change-Id: I85053c3094d7cef9b85403e99b7564f3731a05cd

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: c4c7c551b1 -s ours...
Sanket Padawe [Thu, 10 Aug 2017 04:13:01 +0000 (04:13 +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
am: b42b9120ac

Change-Id: Ie6ef0941314a9fb6b37aeedc7895fb1d2650c9d5

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: 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: 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: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

6 years agoNATT Keepalive RIL Implementation
Nathan Harold [Sat, 8 Jul 2017 02:28:58 +0000 (19:28 -0700)]
NATT Keepalive RIL Implementation

RIL support for startKeepalive and stopKeepalive

Bug: 63942305
Test: vts
Merged-In: Ie4ad70b0120d234fc976a9e24e244c8bd9b08bfb
Change-Id: Ie4ad70b0120d234fc976a9e24e244c8bd9b08bfb

6 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

6 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

6 years agoChange mapping of QMI error
Naina Nalluri [Mon, 17 Jul 2017 18:44:37 +0000 (11:44 -0700)]
Change mapping of QMI error

Change mapping of QMI_ERR_OP_NETWORK_UNSUPPORTED
from MODE_NOT_SUPPORTED to OPERATION_NOT_ALLOWED.

Test: run vts
Bug: 62584347

Change-Id: Ie3fcb82a3a90c8a609fce45f35ef22f1cf21b222

6 years agoChange ISap version from 1.0 to 1.1
Amit Mahajan [Wed, 12 Jul 2017 18:00:22 +0000 (11:00 -0700)]
Change ISap version from 1.0 to 1.1

Test: build
Bug: 63598469
Change-Id: Ib64f4eae8cd0157fdef6274f233a5e470da04d54

6 years agoFix the RIL-to-HIDL conversion for Cell Lat and Long
Nathan Harold [Sat, 8 Jul 2017 00:12:04 +0000 (17:12 -0700)]
Fix the RIL-to-HIDL conversion for Cell Lat and Long

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

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

Bug: 63274800
Test: manual
Change-Id: If2de7f5d0e0d0f470f824aa4f2329de4ad98eb6c

6 years agoMerge "Add cross-validation to IccCardStatusResponse" into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 02:03:18 +0000 (02:03 +0000)]
Merge "Add cross-validation to IccCardStatusResponse" into oc-dr1-dev

6 years agoMerge "Fix memory alignment for dispatchImsCdmSms while sending data to vendor code...
Sanket Padawe [Wed, 28 Jun 2017 17:46:34 +0000 (17:46 +0000)]
Merge "Fix memory alignment for dispatchImsCdmSms while sending data to vendor code." into oc-dr1-dev

6 years agoRadio Interface changes to allow the modem to query the framework
pkanwar [Sun, 21 May 2017 17:24:30 +0000 (10:24 -0700)]
Radio Interface changes to allow the modem to query the framework
for the key.

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

(cherry picked from commit d99e9284e93d2c687b17d733e3e0570bca9a23c8)
Merged-In: I670465878e01e382b074a6434fbaf1bcb0fecc65
Change-Id: I670465878e01e382b074a6434fbaf1bcb0fecc65

6 years agoFix memory alignment for dispatchImsCdmSms while sending data to vendor code.
Sanket Padawe [Tue, 27 Jun 2017 21:53:22 +0000 (14:53 -0700)]
Fix memory alignment for dispatchImsCdmSms while sending data to vendor code.

Test: manually sending sms
Change-Id: I04baeace404cbe354745e8e253d18780ef7eacc4
Fix: 62811291

6 years agoMerge "Keepalive RIL Interface" into oc-dr1-dev
TreeHugger Robot [Tue, 27 Jun 2017 08:13:34 +0000 (08:13 +0000)]
Merge "Keepalive RIL Interface" into oc-dr1-dev

6 years agoAdd cross-validation to IccCardStatusResponse
Nathan Harold [Thu, 8 Jun 2017 23:41:52 +0000 (16:41 -0700)]
Add cross-validation to IccCardStatusResponse

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

Bug: 62459080
Test: none

Change-Id: I07a89b440ebfbe5a00a1b493527506a573b7d09a
(cherry picked from commit 402dc021f7d80212fb7c3f9cb7349252e4ce4312)

6 years agoUse direct assignment to replace memcpy
yinxu [Fri, 23 Jun 2017 00:10:59 +0000 (17:10 -0700)]
Use direct assignment to replace memcpy

memcpy does not work here.

Test: Telephony sanity tests
Bug: 30954762

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

Merged-in: I1e1048fc358bd57df2b230caef16ebf84e255c0a
Change-Id: I1e1048fc358bd57df2b230caef16ebf84e255c0a
(cherry picked from commit dab316622f7459b94f1b4730a3f1266d88f29236)

6 years agoKeepalive RIL Interface
Nathan Harold [Thu, 25 May 2017 23:10:35 +0000 (16:10 -0700)]
Keepalive RIL Interface

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

Bug: 33277538
Test: tbd
Change-Id: Id42b8802750ca376d1d50431dec670f25c607174
(cherry picked from commit 6942b212a92d9d05a8100306acf9ea855818eb8d)

6 years agoMerge "Update ril.h documentation for vts" into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 16:29:26 +0000 (16:29 +0000)]
Merge "Update ril.h documentation for vts" into oc-dr1-dev

6 years agoUpdate ril.h documentation for vts
sqian [Tue, 20 Jun 2017 18:54:31 +0000 (11:54 -0700)]
Update ril.h documentation for vts

Update ril.h documentation for errors found by VTS

copy of https://partner-android-review.googlesource.com/#/c/836670/
+ extra update for some missed error code
+ request_not_supported

Bug: 35671595
Test: Manual
Change-Id: Ib444c357830ff4533716dfe12c1189fd32715da9
Merged-In: Ib444c357830ff4533716dfe12c1189fd32715da9

6 years agoHandle empty apn string in setInitialAttachApn HIDL API.
Sanket Padawe [Wed, 21 Jun 2017 00:02:14 +0000 (00:02 +0000)]
Handle empty apn string in setInitialAttachApn HIDL API.
am: 46e9ee36b6

Change-Id: I2b066c9874b0e1c42808739ad378905fec69ee6d

6 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

6 years agoBetter handling for hal version 1.1
Amit Mahajan [Fri, 9 Jun 2017 17:44:54 +0000 (10:44 -0700)]
Better handling for hal version 1.1

Test: Basic telephony sanity
Bug: 62459058
Change-Id: I451d8e1c8cd07ce8a05d44e0e27cc30eab6bf7db

6 years agoMerge "Treat NULL payload in RIL messages as valid where applicable." into oc-dev
Amit Mahajan [Fri, 9 Jun 2017 07:27:29 +0000 (07:27 +0000)]
Merge "Treat NULL payload in RIL messages as valid where applicable." into oc-dev
am: 65d3486b2f

Change-Id: I604a461ba6d9d43730405ba5617afb6dcb871b39

6 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

6 years agoUse Hex conversion for cid and lac
Sooraj Sasindran [Thu, 8 Jun 2017 23:42:55 +0000 (23:42 +0000)]
Use Hex conversion for cid and lac
am: 758ee46f08

Change-Id: I1de11843062178ecf5b5978e7d4292c5d338bba5

6 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

6 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

6 years agoUse CALL_ONREQUEST in RadioImpl::startNetworkScan
Mathieu Chartier [Mon, 5 Jun 2017 20:59:25 +0000 (13:59 -0700)]
Use CALL_ONREQUEST in RadioImpl::startNetworkScan

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

Test: make
Bug: 62373887

Change-Id: Icd1c751efc25dbce15d374a08d0a025aaa4317fc

6 years agoMerge "Implement the new network scan RIL API." am: c2a8f44f11 am: b377793c42 am...
Ying Xu [Fri, 2 Jun 2017 00:34:54 +0000 (00:34 +0000)]
Merge "Implement the new network scan RIL API." am: c2a8f44f11 am: b377793c42 am: 4cb7768820
am: 72eab07f24

Change-Id: If7f2f612fe0bd968325bc5c4dde58162e6a3b0fb

6 years agoMerge "Implement the new network scan RIL API." am: c2a8f44f11 am: b377793c42
Ying Xu [Fri, 2 Jun 2017 00:12:43 +0000 (00:12 +0000)]
Merge "Implement the new network scan RIL API." am: c2a8f44f11 am: b377793c42
am: 4cb7768820

Change-Id: Iad9b146efd346f6afb8a79c79724a11209c978a1

6 years agoMerge "Implement the new network scan RIL API." am: c2a8f44f11
Ying Xu [Fri, 2 Jun 2017 00:10:09 +0000 (00:10 +0000)]
Merge "Implement the new network scan RIL API." am: c2a8f44f11
am: b377793c42

Change-Id: I557c7fefaaa508857d25725b1b959c3717ce29c9

6 years agoMerge "Implement the new network scan RIL API."
Ying Xu [Fri, 2 Jun 2017 00:07:10 +0000 (00:07 +0000)]
Merge "Implement the new network scan RIL API."
am: c2a8f44f11

Change-Id: Id566676da28e05aaa605b42dabc35140ea731779

6 years agoMerge "Implement the new network scan RIL API."
Ying Xu [Thu, 1 Jun 2017 23:59:51 +0000 (23:59 +0000)]
Merge "Implement the new network scan RIL API."

6 years agoMerge "Also setup IPv6 gateway for emulator." am: f75ebd7434 am: 9b42a8c2d1 am: a30b6...
Tao Wu [Thu, 1 Jun 2017 21:13:25 +0000 (21:13 +0000)]
Merge "Also setup IPv6 gateway for emulator." am: f75ebd7434 am: 9b42a8c2d1 am: a30b650899
am: 9ee260040c

Change-Id: Ice58078a225b1dbca0636a11d5973a081f4d8c64

6 years agoMerge "Also setup IPv6 gateway for emulator." am: f75ebd7434 am: 9b42a8c2d1
Tao Wu [Thu, 1 Jun 2017 21:10:25 +0000 (21:10 +0000)]
Merge "Also setup IPv6 gateway for emulator." am: f75ebd7434 am: 9b42a8c2d1
am: a30b650899

Change-Id: I5ba96bb910231ad261cb0d1620f852f00ddaf889

6 years agoMerge "Also setup IPv6 gateway for emulator." am: f75ebd7434
Tao Wu [Thu, 1 Jun 2017 21:07:25 +0000 (21:07 +0000)]
Merge "Also setup IPv6 gateway for emulator." am: f75ebd7434
am: 9b42a8c2d1

Change-Id: I62215b95dc99c255e347b3f32c68a2f057ba87d5

6 years agoMerge "Also setup IPv6 gateway for emulator."
Tao Wu [Thu, 1 Jun 2017 21:04:26 +0000 (21:04 +0000)]
Merge "Also setup IPv6 gateway for emulator."
am: f75ebd7434

Change-Id: Ie801c12aba0e1711851722c776927c9e38af658a

6 years agoMerge "Also setup IPv6 gateway for emulator."
Treehugger Robot [Thu, 1 Jun 2017 20:53:08 +0000 (20:53 +0000)]
Merge "Also setup IPv6 gateway for emulator."

6 years agoImplement the new network scan RIL API.
yinxu [Mon, 22 May 2017 18:26:45 +0000 (11:26 -0700)]
Implement the new network scan RIL API.

Test: Telephony sanity tests
Bug: 30954762
Change-Id: I3a4b7f7b642b266fb2c6f75bc3c7fd947dfe6ad0

6 years agoFix VTS test for setBarringPassword RIL api. am: 75e42a55ef
Sanket Padawe [Wed, 24 May 2017 21:43:08 +0000 (21:43 +0000)]
Fix VTS test for setBarringPassword RIL api. am: 75e42a55ef
am: 1382f81732

Change-Id: If8a29c8e486f30be12ef8406dd9a029ccd9fc89a

6 years agoFix VTS test for setBarringPassword RIL api.
Sanket Padawe [Wed, 24 May 2017 21:30:13 +0000 (21:30 +0000)]
Fix VTS test for setBarringPassword RIL api.
am: 75e42a55ef

Change-Id: I0100586fab946e7660570270bc356c0f985ace64

6 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

6 years agoAlso setup IPv6 gateway for emulator.
Tao Wu [Mon, 22 May 2017 21:06:06 +0000 (14:06 -0700)]
Also setup IPv6 gateway for emulator.

Without this, after switch on/off flight mode, emulator IPv6
network stops working.

Test: manual - switch of/off flight mode and then visit ipv6.google.com
Bug: 38496839
Change-Id: I3f33b0f8784a83ba99e25a0062f1829e9cfc0485
Signed-off-by: Tao Wu <lepton@google.com>
6 years agoFix multi sim support and warnings in new hal code. am: 93f603c4e1
Amit Mahajan [Thu, 18 May 2017 19:08:52 +0000 (19:08 +0000)]
Fix multi sim support and warnings in new hal code. am: 93f603c4e1
am: b863304d01  -s ours

Change-Id: Ib7d6bdd6af9c5d9b28c6b454365ebee73490574a

6 years agoFix multi sim support and warnings in new hal code.
Amit Mahajan [Thu, 18 May 2017 19:01:07 +0000 (19:01 +0000)]
Fix multi sim support and warnings in new hal code.
am: 93f603c4e1

Change-Id: I140b9892eb75cafd84784bdfe1c1ab969f2ec799

6 years agoMerge "Fix multi sim support and warnings in new hal code."
Amit Mahajan [Thu, 18 May 2017 16:55:33 +0000 (16:55 +0000)]
Merge "Fix multi sim support and warnings in new hal code."

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
Change-Id: I7df7ed41354b50f335a6f5fba7dffde03127b4f1

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 agoMerge "Remove GENERIC_FAILURE still in ril.h" am: ad3f119378 am: 6a3db1ad1e am: cb110...
sqian [Wed, 17 May 2017 21:52:07 +0000 (21:52 +0000)]
Merge "Remove GENERIC_FAILURE still in ril.h" am: ad3f119378 am: 6a3db1ad1e am: cb11038d87  -s ours
am: 991e200ed6

Change-Id: I21e509901ae238896ba936ff76ab6f227ea25bce

7 years agoMerge "Remove GENERIC_FAILURE still in ril.h" am: ad3f119378 am: 6a3db1ad1e
sqian [Wed, 17 May 2017 21:48:36 +0000 (21:48 +0000)]
Merge "Remove GENERIC_FAILURE still in ril.h" am: ad3f119378 am: 6a3db1ad1e
am: cb11038d87  -s ours

Change-Id: I14e0c2273b4b0a998abea112ee5c1608dea33c19

7 years agoMerge "Remove GENERIC_FAILURE still in ril.h" am: ad3f119378
sqian [Wed, 17 May 2017 21:26:34 +0000 (21:26 +0000)]
Merge "Remove GENERIC_FAILURE still in ril.h" am: ad3f119378
am: 6a3db1ad1e

Change-Id: I702352310892f5e88c0d28f0cf805c08f9c2a5af

7 years agoMerge "Remove GENERIC_FAILURE still in ril.h"
sqian [Wed, 17 May 2017 21:23:33 +0000 (21:23 +0000)]
Merge "Remove GENERIC_FAILURE still in ril.h"
am: ad3f119378

Change-Id: I64796efc91e47d6708796892671b1be0ff43f3fa

7 years agoMerge "Remove GENERIC_FAILURE still in ril.h"
Treehugger Robot [Wed, 17 May 2017 21:08:34 +0000 (21:08 +0000)]
Merge "Remove GENERIC_FAILURE still in ril.h"

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 "Define new network scan RIL API" am: e466af58ac am: 88fddbd7e3 am: bab9e8af9e
Ying Xu [Wed, 17 May 2017 18:20:48 +0000 (18:20 +0000)]
Merge "Define new network scan RIL API" am: e466af58ac am: 88fddbd7e3 am: bab9e8af9e
am: 4e71be6705

Change-Id: I50f657fb4770504491fac8afe51d863666727b9e

7 years agoDefine new network scan RIL API
yinxu [Wed, 17 May 2017 18:17:48 +0000 (18:17 +0000)]
Define new network scan RIL API
am: 7317bd48d4  -s ours

Change-Id: I81fe83eacc3af3db1c27898059df7e98c44509e6

7 years agoMerge "Define new network scan RIL API" am: e466af58ac am: 88fddbd7e3
Ying Xu [Wed, 17 May 2017 17:31:31 +0000 (17:31 +0000)]
Merge "Define new network scan RIL API" am: e466af58ac am: 88fddbd7e3
am: bab9e8af9e

Change-Id: I563cbfeab1d3220111066a73e591b8e4c6375c6d

7 years agoDefine new network scan RIL API
yinxu [Wed, 3 May 2017 22:15:19 +0000 (15:15 -0700)]
Define new network scan RIL API

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

Test: Telephony Sanity Test
Bug: 30954762

Merged-in: Id276ca35d399c6860dc5f6413991ddf0ab3fd5e5
Change-Id: Id276ca35d399c6860dc5f6413991ddf0ab3fd5e5
(cherry picked from commit 3abe7c7b5ce788c112c5893734a5e0372a07991e)
(cherry picked from commit 584379e4cbfbfbaffd1a7be6d20ae6c685c925c5)

7 years agoMerge "Define new network scan RIL API" am: e466af58ac
Ying Xu [Tue, 16 May 2017 23:21:47 +0000 (23:21 +0000)]
Merge "Define new network scan RIL API" am: e466af58ac
am: 88fddbd7e3

Change-Id: I2f62af3e1bd7ec6948ee5dd349ffedb65eaf5495

7 years agoMerge "Define new network scan RIL API"
Ying Xu [Tue, 16 May 2017 23:11:39 +0000 (23:11 +0000)]
Merge "Define new network scan RIL API"
am: e466af58ac

Change-Id: I62632065cea6e647a80def7915682bdf6bb68af9

7 years agoMerge "Define new network scan RIL API"
Ying Xu [Tue, 16 May 2017 23:04:39 +0000 (23:04 +0000)]
Merge "Define new network scan RIL API"

7 years agoDefine new network scan RIL API
yinxu [Wed, 3 May 2017 22:15:19 +0000 (15:15 -0700)]
Define new network scan RIL API

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

Test: Telephony Sanity Test
Bug: 30954762
Change-Id: Id276ca35d399c6860dc5f6413991ddf0ab3fd5e5
(cherry picked from commit 3abe7c7b5ce788c112c5893734a5e0372a07991e)

7 years agoMerge "Support different SIM power states" am: df82df8ff4 am: 0770994e46 am: eb0c18c9e0
Grace Chen [Tue, 16 May 2017 20:08:30 +0000 (20:08 +0000)]
Merge "Support different SIM power states" am: df82df8ff4 am: 0770994e46 am: eb0c18c9e0
am: 6eebee18a7  -s ours

Change-Id: Ib5303f2f4864ca49a7a0c099a5dc38aab5da0f4f

7 years agoMerge "Support different SIM power states" am: df82df8ff4 am: 0770994e46
Grace Chen [Tue, 16 May 2017 19:57:03 +0000 (19:57 +0000)]
Merge "Support different SIM power states" am: df82df8ff4 am: 0770994e46
am: eb0c18c9e0

Change-Id: Iab3b109cfb8973428b00b915fe062085f8522b11

7 years agoMerge "Support different SIM power states" am: df82df8ff4
Grace Chen [Tue, 16 May 2017 19:50:55 +0000 (19:50 +0000)]
Merge "Support different SIM power states" am: df82df8ff4
am: 0770994e46

Change-Id: I8a4c315f18dfc5fd918e503f49d6d6b0ecb655d2

7 years agoMerge "Support different SIM power states"
Grace Chen [Tue, 16 May 2017 19:42:50 +0000 (19:42 +0000)]
Merge "Support different SIM power states"
am: df82df8ff4

Change-Id: I62e054cfc05a0e74fb42655389e40b1c0d02812b

7 years agoMerge "Support different SIM power states"
Grace Chen [Tue, 16 May 2017 19:30:25 +0000 (19:30 +0000)]
Merge "Support different SIM power states"

7 years agoSupport different SIM power states
Grace Chen [Fri, 24 Mar 2017 01:39:48 +0000 (18:39 -0700)]
Support different SIM power states

Test: Verify SIM power states
Bug:  35844036
Merged-In: Iabdbcba2572a481537c47da536b66a4b99365511
Change-Id: Iabdbcba2572a481537c47da536b66a4b99365511

7 years agoMerge "Add RIL_UNSOL_MODEM_RESTART message" am: e6e95633a9 am: 45cba67df3 am: bcb71f3...
Naveen Kalla [Fri, 12 May 2017 22:52:24 +0000 (22:52 +0000)]
Merge "Add RIL_UNSOL_MODEM_RESTART message" am: e6e95633a9 am: 45cba67df3 am: bcb71f3324  -s ours
am: 007b92af66  -s ours

Change-Id: If4f81ea1e028002dce27cca00e15d7ec56ba8151

7 years agoMerge "Add RIL_UNSOL_MODEM_RESTART message" am: e6e95633a9 am: 45cba67df3
Naveen Kalla [Fri, 12 May 2017 22:46:03 +0000 (22:46 +0000)]
Merge "Add RIL_UNSOL_MODEM_RESTART message" am: e6e95633a9 am: 45cba67df3
am: bcb71f3324  -s ours

Change-Id: Iecd49e6762e8e35731b6b15afc4ac334f8ab63f8

7 years agoMerge "Add RIL_UNSOL_MODEM_RESTART message" am: e6e95633a9
Naveen Kalla [Fri, 12 May 2017 22:39:07 +0000 (22:39 +0000)]
Merge "Add RIL_UNSOL_MODEM_RESTART message" am: e6e95633a9
am: 45cba67df3

Change-Id: I68bfbc4b31534573f66f5ccace53332c67f89fd1

7 years agoMerge "Add RIL_UNSOL_MODEM_RESTART message"
Naveen Kalla [Fri, 12 May 2017 22:31:43 +0000 (22:31 +0000)]
Merge "Add RIL_UNSOL_MODEM_RESTART message"
am: e6e95633a9

Change-Id: I082cb6ccf49038da6891f7293083b7af0f5e078d

7 years agoMerge "Add RIL_UNSOL_MODEM_RESTART message"
Treehugger Robot [Fri, 12 May 2017 22:25:25 +0000 (22:25 +0000)]
Merge "Add RIL_UNSOL_MODEM_RESTART message"

7 years agoAdd RIL_UNSOL_MODEM_RESTART message
Naveen Kalla [Wed, 14 Sep 2016 20:41:04 +0000 (13:41 -0700)]
Add RIL_UNSOL_MODEM_RESTART message

RIL_UNSOL_MODEM_RESTART will be sent by vendor RILs when it detects
a modem restart along with the reason for restart which could be a
crash signature if the modem restarted due to a crash or a some
other string such as a user-initiated restart or AT command
initiated restart.

Test: Manual
Merged-In: I21310be011ec9df395cc1fc95c6c96dbfba86792
Change-Id: I21310be011ec9df395cc1fc95c6c96dbfba86792