OSDN Git Service

android-x86/hardware-ril.git
7 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

7 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

7 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."

7 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

7 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

7 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."

7 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

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

7 years agoMerge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG" am: cea6432601
Jayachandran Chinnakkannu [Mon, 1 May 2017 16:40:55 +0000 (16:40 +0000)]
Merge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG" am: cea6432601
am: 41fb22dcb4

Change-Id: If18665bef8b157bfb58d3380ce4ddef7d36b723b

7 years agoMerge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG"
Jayachandran Chinnakkannu [Mon, 1 May 2017 16:38:25 +0000 (16:38 +0000)]
Merge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG"
am: cea6432601

Change-Id: I2ce1574fc0fa12db61441c0f245183e9b09b2bae

7 years agoMerge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG"
Jayachandran Chinnakkannu [Mon, 1 May 2017 16:33:28 +0000 (16:33 +0000)]
Merge "Convert ResetNvType to RIL.h values of RIL_REQUEST_NV_RESET_CONFIG"

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: 37157801
Change-Id: I6e2f384751973457775ab8c084189bddd59d0dd3

7 years agoMerge "Do not treat NULL response as error for getAllowedCarriers" am: e1bdb3ff16
Meng Wang [Fri, 28 Apr 2017 22:37:38 +0000 (22:37 +0000)]
Merge "Do not treat NULL response as error for getAllowedCarriers" am: e1bdb3ff16
am: 2579380c88

Change-Id: I90ec89ab5fb4d781e05cfcdfc4293b993333fcf3

7 years agoMerge "Do not treat NULL response as error for getAllowedCarriers"
Meng Wang [Fri, 28 Apr 2017 22:30:53 +0000 (22:30 +0000)]
Merge "Do not treat NULL response as error for getAllowedCarriers"
am: e1bdb3ff16

Change-Id: If32eef2b16e89b4a3a6c308588597e8f415ad2db

7 years agoMerge "Do not treat NULL response as error for getAllowedCarriers"
Meng Wang [Fri, 28 Apr 2017 22:25:51 +0000 (22:25 +0000)]
Merge "Do not treat NULL response as error for getAllowedCarriers"

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: 37157801
Change-Id: Ida3d2d0f10693ed396b236ac9512afb277ce2ddb

7 years agoMerge "Radio Interface changes to allow the modem to query the framework for the...
Pankaj Kanwar [Thu, 27 Apr 2017 17:58:55 +0000 (17:58 +0000)]
Merge "Radio Interface changes to allow the modem to query the framework for the key." am: 71460d3e6a
am: 5e428e83a1

Change-Id: I66a58266858ae9211ec7b03f6df3f8d5b3bdd017

7 years agoMerge "Radio Interface changes to allow the modem to query the framework for the...
Pankaj Kanwar [Thu, 27 Apr 2017 17:49:49 +0000 (17:49 +0000)]
Merge "Radio Interface changes to allow the modem to query the framework for the key."
am: 71460d3e6a

Change-Id: I51277fc92b964ac8e0c0df62d186af674a0cf0e9

7 years agoMerge "Radio Interface changes to allow the modem to query the framework for the...
Pankaj Kanwar [Thu, 27 Apr 2017 17:41:56 +0000 (17:41 +0000)]
Merge "Radio Interface changes to allow the modem to query the framework for the key."

7 years agoRadio Interface changes to allow the modem to query the framework
pkanwar [Fri, 17 Mar 2017 19:49:34 +0000 (12:49 -0700)]
Radio Interface changes to allow the modem to query the framework
for the key.

This CL adds the 1.1 version of the HAL interface. It also introduces
support for 2 new messags:

1. setCarrierInfoForImsiEncryption
2. carrierInfoForImsiEncryption

BUG: 35606429
Test: manual
Change-Id: Iad02a20081e8bd1b8daaac396d20d888f8567252
Merged-In: I1d953914c23f8a1d94cc85e023ead3fd3c036ec5

7 years agoMerge changes from topic 'system-vendor-internal-pick' am: 0ce4693d8f
Steven Moreland [Thu, 20 Apr 2017 01:59:27 +0000 (01:59 +0000)]
Merge changes from topic 'system-vendor-internal-pick' am: 0ce4693d8f
am: d92a0e60d2

Change-Id: I0c96476ca98301f839ec0b2cf7a84e00b24985e2

7 years agoMove libril to the vendor partition. am: f9185eebbb
Steven Moreland [Thu, 20 Apr 2017 01:59:24 +0000 (01:59 +0000)]
Move libril to the vendor partition. am: f9185eebbb
am: 8c6e560755

Change-Id: Ic52897cc2252fad71bd9fdd7e818906bc358f1a0

7 years agoMerge changes from topic 'system-vendor-internal-pick'
Steven Moreland [Thu, 20 Apr 2017 01:48:20 +0000 (01:48 +0000)]
Merge changes from topic 'system-vendor-internal-pick'
am: 0ce4693d8f

Change-Id: Id0e53b2ab17df9adc81ceca8d75c798797c9d96c

7 years agoMove libril to the vendor partition.
Steven Moreland [Thu, 20 Apr 2017 01:48:11 +0000 (01:48 +0000)]
Move libril to the vendor partition.
am: f9185eebbb

Change-Id: I66dae7bf4d5d05e91e7fcb1cc7dc0fda44f3910f

7 years agoMerge changes from topic 'system-vendor-internal-pick'
Treehugger Robot [Thu, 20 Apr 2017 01:39:21 +0000 (01:39 +0000)]
Merge changes from topic 'system-vendor-internal-pick'

* changes:
  libril: include what you use
  Move libril to the vendor partition.

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
(cherry picked from commit 3eab89a5c5f6f6436cac39ef713fbd2474f61cb1)
Merged-In: I26f0bdb63ac98264bb11d5f7c68d68cf427988ec
Change-Id: I26f0bdb63ac98264bb11d5f7c68d68cf427988ec

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
(cherry picked from commit 8265b407a32f61569b47e4514dd3f07561785fad)
Merged-In: I27cbe60831c838a5d6fb75a5a9c32af0554fc5bb
Change-Id: I27cbe60831c838a5d6fb75a5a9c32af0554fc5bb

7 years agoMerge "Fixed several memory related issues." am: 0318efe4cc
Jack Yu [Sun, 16 Apr 2017 23:55:56 +0000 (23:55 +0000)]
Merge "Fixed several memory related issues." am: 0318efe4cc
am: 98cbc54424

Change-Id: I5f736311b6d300610ddf96d51bd711fac6bddfd5

7 years agoMerge "Fixed several memory related issues."
Jack Yu [Sun, 16 Apr 2017 23:51:26 +0000 (23:51 +0000)]
Merge "Fixed several memory related issues."
am: 0318efe4cc

Change-Id: Ib45916afe9c2fbe7cb86d4f247c68d14461fe301

7 years agoMerge "Fixed several memory related issues."
Treehugger Robot [Sun, 16 Apr 2017 23:46:20 +0000 (23:46 +0000)]
Merge "Fixed several memory related issues."

7 years agoMerge "Fixed compilation error when MEMSET_FREED is turned on" am: 27d62c6e87
Jack Yu [Fri, 14 Apr 2017 22:46:25 +0000 (22:46 +0000)]
Merge "Fixed compilation error when MEMSET_FREED is turned on" am: 27d62c6e87
am: 3070799d05

Change-Id: I96d4d88f2787cde4a72c605194c1675b1a3c55b9

7 years agoMerge "Fixed compilation error when MEMSET_FREED is turned on"
Jack Yu [Fri, 14 Apr 2017 22:43:55 +0000 (22:43 +0000)]
Merge "Fixed compilation error when MEMSET_FREED is turned on"
am: 27d62c6e87

Change-Id: I836e2aef95982262f1c9cbee004a008262ee38d8

7 years agoMerge "Fixed compilation error when MEMSET_FREED is turned on"
Treehugger Robot [Fri, 14 Apr 2017 22:39:24 +0000 (22:39 +0000)]
Merge "Fixed compilation error when MEMSET_FREED is turned on"

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

7 years agoFixed compilation error when MEMSET_FREED is turned on
Jack Yu [Fri, 14 Apr 2017 19:51:49 +0000 (12:51 -0700)]
Fixed compilation error when MEMSET_FREED is turned on

Currently MEMSET_FREED is off so no compilation error. But
in case this is on, we need to fix the compilation error.

Test: build
bug: 37347693
Change-Id: I5d95a58f39ee5ff12dabbad457747d3468d70f28

7 years agoMerge "Fixed incorrect parameter handling for setup data call" am: a6c7475cfa
Jack Yu [Fri, 14 Apr 2017 18:17:03 +0000 (18:17 +0000)]
Merge "Fixed incorrect parameter handling for setup data call" am: a6c7475cfa
am: 0d8966fef4

Change-Id: I8c2710ae98c79766691db47522c9583da3b1679e

7 years agoMerge "Fixed incorrect parameter handling for setup data call"
Jack Yu [Fri, 14 Apr 2017 18:15:02 +0000 (18:15 +0000)]
Merge "Fixed incorrect parameter handling for setup data call"
am: a6c7475cfa

Change-Id: I906fd00cc6b07928cc5d320339f8250f1c9946f9

7 years agoMerge "Fixed incorrect parameter handling for setup data call"
Treehugger Robot [Fri, 14 Apr 2017 18:12:47 +0000 (18:12 +0000)]
Merge "Fixed incorrect parameter handling for setup data call"

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

7 years agoMerge "Add p2 option in openLogicalChannel" am: f3f567d540
Amit Mahajan [Tue, 11 Apr 2017 21:44:11 +0000 (21:44 +0000)]
Merge "Add p2 option in openLogicalChannel" am: f3f567d540
am: 2792b81933

Change-Id: I502ef11a9d67297ef220202743c3eedf97bac8a0

7 years agoMerge "Add p2 option in openLogicalChannel"
Amit Mahajan [Tue, 11 Apr 2017 21:35:01 +0000 (21:35 +0000)]
Merge "Add p2 option in openLogicalChannel"
am: f3f567d540

Change-Id: I7061c4427f35f127d8420d179b7c2be46e0446bd

7 years agoMerge "Add p2 option in openLogicalChannel"
Amit Mahajan [Tue, 11 Apr 2017 21:25:41 +0000 (21:25 +0000)]
Merge "Add p2 option in openLogicalChannel"

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

Bug: 27360148
Change-Id: I9679178e2a6f0decd48f30e358685106b91163b8

7 years agoMerge "Use explicit .c_str() for hidl_string" am: 74d2a33ad5
Scott Randolph [Thu, 6 Apr 2017 20:03:57 +0000 (20:03 +0000)]
Merge "Use explicit .c_str() for hidl_string" am: 74d2a33ad5
am: c1348d3483

Change-Id: I0b64dda03cbc1914e43c8e179516b0275f7c4109

7 years agoMerge "Use explicit .c_str() for hidl_string"
Scott Randolph [Thu, 6 Apr 2017 20:00:57 +0000 (20:00 +0000)]
Merge "Use explicit .c_str() for hidl_string"
am: 74d2a33ad5

Change-Id: I69f9686e2004dc1f1d40986cc5e4e79ba5b9bdce

7 years agoMerge "Use explicit .c_str() for hidl_string"
Treehugger Robot [Thu, 6 Apr 2017 19:47:44 +0000 (19:47 +0000)]
Merge "Use explicit .c_str() for hidl_string"

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
(cherry picked from commit 8a7c3b823805bad874f6a3303e40a1e21dd752da)

7 years agoMerge "Change radio related service names to slot1, slot2, slot3..." am: 25f66a9aa9
Amit Mahajan [Tue, 4 Apr 2017 22:10:03 +0000 (22:10 +0000)]
Merge "Change radio related service names to slot1, slot2, slot3..." am: 25f66a9aa9
am: bb37d407b8

Change-Id: Iec0c53a8b1d2363a531f29079c4d98dcb7ac9f62

7 years agoMerge "Change radio related service names to slot1, slot2, slot3..."
Amit Mahajan [Tue, 4 Apr 2017 22:07:33 +0000 (22:07 +0000)]
Merge "Change radio related service names to slot1, slot2, slot3..."
am: 25f66a9aa9

Change-Id: I643d505b3338e977abf6b7a8af07bfe609753d8a

7 years agoMerge "Change radio related service names to slot1, slot2, slot3..."
Treehugger Robot [Tue, 4 Apr 2017 22:01:37 +0000 (22:01 +0000)]
Merge "Change radio related service names to slot1, slot2, slot3..."

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 agoMerge "rild.c: Use log/log.h instead of utils/Log.h" am: 210d7d9059
Dan Willemsen [Tue, 4 Apr 2017 16:34:19 +0000 (16:34 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h" am: 210d7d9059
am: 35a9183f59

Change-Id: I74f36b5a112fb024efff6897354126fb784bb7d6

7 years agoMerge "rild.c: Use log/log.h instead of utils/Log.h"
Dan Willemsen [Tue, 4 Apr 2017 16:29:48 +0000 (16:29 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h"
am: 210d7d9059

Change-Id: Ie9ae3d51dda35dd29ac2a78b52e432811b111f9f

7 years agoMerge "rild.c: Use log/log.h instead of utils/Log.h"
Dan Willemsen [Tue, 4 Apr 2017 16:24:17 +0000 (16:24 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h"

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 agoMerge "SapImpl: log error description" am: b3e6a478ff
Steven Moreland [Wed, 29 Mar 2017 02:17:24 +0000 (02:17 +0000)]
Merge "SapImpl: log error description" am: b3e6a478ff
am: 8d0438cb9c

Change-Id: Ided83b9ace1ed50e500d6d0f05b93b6a7d271653

7 years agoMerge "SapImpl: log error description"
Steven Moreland [Wed, 29 Mar 2017 02:15:24 +0000 (02:15 +0000)]
Merge "SapImpl: log error description"
am: b3e6a478ff

Change-Id: Ibd4c8aa2c39e4c55e666392fc7d2bf98927cd461

7 years agoMerge "SapImpl: log error description"
Treehugger Robot [Wed, 29 Mar 2017 02:10:07 +0000 (02:10 +0000)]
Merge "SapImpl: log error description"

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

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