OSDN Git Service

android-x86/hardware-ril.git
7 years agoMerge "Use cid and lac to update ci and tac for LTE"
Sooraj Sasindran [Fri, 10 Mar 2017 03:10:19 +0000 (03:10 +0000)]
Merge "Use cid and lac to update ci and tac for LTE"
am: 010cb31cb9

Change-Id: I699fb50370c1d0b226305a64f92dc776a1f6bbab

7 years agoMerge "Use cid and lac to update ci and tac for LTE"
Sooraj Sasindran [Fri, 10 Mar 2017 03:05:18 +0000 (03:05 +0000)]
Merge "Use cid and lac to update ci and tac for LTE"

7 years agoMerge "Fix bug in getCallWaiting api."
Sanket Padawe [Wed, 8 Mar 2017 21:22:18 +0000 (21:22 +0000)]
Merge "Fix bug in getCallWaiting api."
am: eb4e5318f2

Change-Id: I4f58581d06f4aab34a92fc026b913b71df3bf191

7 years agoMerge "Fix bug in getCallWaiting api."
Sanket Padawe [Wed, 8 Mar 2017 21:16:20 +0000 (21:16 +0000)]
Merge "Fix bug in getCallWaiting api."

7 years agoFix bug in getCallWaiting api.
Sanket Padawe [Wed, 8 Mar 2017 01:21:05 +0000 (17:21 -0800)]
Fix bug in getCallWaiting api.

Test: Build and local VTS.
Bug: 32020264
Change-Id: I9933b2d45a124e4f0704b987af49bab3bdcb3418

7 years agoMerge "Fix signed-unsigned comparison"
Nathan Harold [Wed, 8 Mar 2017 00:07:46 +0000 (00:07 +0000)]
Merge "Fix signed-unsigned comparison"
am: 65ca78d761

Change-Id: I08a44c8eab98ea633e6cab6cda287178fcc0ff3c

7 years agoMerge "Fix signed-unsigned comparison"
Treehugger Robot [Wed, 8 Mar 2017 00:02:16 +0000 (00:02 +0000)]
Merge "Fix signed-unsigned comparison"

7 years agoMerge "Delete Parcel references and other unused code."
Amit Mahajan [Tue, 7 Mar 2017 18:59:35 +0000 (18:59 +0000)]
Merge "Delete Parcel references and other unused code."
am: 3f82483b46

Change-Id: Ib1251078a87525d13824fbe79399c8fcf9b1a5a5

7 years agoMerge "Delete Parcel references and other unused code."
Amit Mahajan [Tue, 7 Mar 2017 18:55:17 +0000 (18:55 +0000)]
Merge "Delete Parcel references and other unused code."

7 years agoUse cid and lac to update ci and tac for LTE
Sooraj Sasindran [Tue, 7 Mar 2017 07:07:22 +0000 (23:07 -0800)]
Use cid and lac to update ci and tac for LTE

As per older RIL interface LTE cid and lac were filled
using ci and tac. Hence use the same while converting
voice registration state.

Test: ran unit testing
      verified on device that registration state is
      reported correctly
Bug: 32223344
Change-Id: I74ea670ff51ceaf0387cdf3b9cafc5601ab54d98

7 years agoMerge "Removed the deprecated screen state API"
Jack Yu [Tue, 7 Mar 2017 02:43:35 +0000 (02:43 +0000)]
Merge "Removed the deprecated screen state API"
am: c10809781f

Change-Id: Ibb832b779b8f417552bd131085e46d5039d168bc

7 years agoMerge "Removed the deprecated screen state API"
Jack Yu [Tue, 7 Mar 2017 00:30:11 +0000 (00:30 +0000)]
Merge "Removed the deprecated screen state API"

7 years agoDelete Parcel references and other unused code.
Amit Mahajan [Sat, 4 Mar 2017 01:35:47 +0000 (17:35 -0800)]
Delete Parcel references and other unused code.

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

7 years agoMerge "Remove unnecessary prefix from log lines since LOG_TAG is added."
Amit Mahajan [Fri, 3 Mar 2017 21:47:08 +0000 (21:47 +0000)]
Merge "Remove unnecessary prefix from log lines since LOG_TAG is added."
am: f658608533

Change-Id: I524a87ca2b633ded4200ca6b0b7f7555df75789f

7 years agoMerge "Remove unnecessary prefix from log lines since LOG_TAG is added."
Treehugger Robot [Fri, 3 Mar 2017 21:41:07 +0000 (21:41 +0000)]
Merge "Remove unnecessary prefix from log lines since LOG_TAG is added."

7 years agoMerge "Remove unused response and dispatch functions."
Amit Mahajan [Fri, 3 Mar 2017 21:20:07 +0000 (21:20 +0000)]
Merge "Remove unused response and dispatch functions."
am: bc4d7998f8

Change-Id: I273917ee176aa9ab0ac754fefb8a859bf4b85043

7 years agoMerge "Remove unused response and dispatch functions."
Treehugger Robot [Fri, 3 Mar 2017 21:16:26 +0000 (21:16 +0000)]
Merge "Remove unused response and dispatch functions."

7 years agoRemove unnecessary prefix from log lines since LOG_TAG is added.
Amit Mahajan [Fri, 3 Mar 2017 20:05:13 +0000 (12:05 -0800)]
Remove unnecessary prefix from log lines since LOG_TAG is added.

Test: Basic telephony sanity
Bug: 35869745
Change-Id: I38aafc9a699e6a21fa5b2dbf52c405b524ec0d3a

7 years agoRemove unused response and dispatch functions.
Amit Mahajan [Thu, 2 Mar 2017 00:20:17 +0000 (16:20 -0800)]
Remove unused response and dispatch functions.

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

7 years agoMerge "Cleanup for radioStateChanged."
Amit Mahajan [Thu, 2 Mar 2017 22:16:22 +0000 (22:16 +0000)]
Merge "Cleanup for radioStateChanged."
am: 996dce23cb

Change-Id: Icbaffb5747b1012f3c0c88496b1e039c8258e65b

7 years agoMerge "Cleanup for radioStateChanged."
Treehugger Robot [Thu, 2 Mar 2017 22:13:05 +0000 (22:13 +0000)]
Merge "Cleanup for radioStateChanged."

7 years agoCleanup for radioStateChanged.
Amit Mahajan [Wed, 1 Mar 2017 20:08:46 +0000 (12:08 -0800)]
Cleanup for radioStateChanged.

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

7 years agoMerge "Fix in getAvailableNetworksResponse() to use correct index"
Jayachandran Chinnakkannu [Thu, 2 Mar 2017 20:06:00 +0000 (20:06 +0000)]
Merge "Fix in getAvailableNetworksResponse() to use correct index"
am: 7d07f2d0ef

Change-Id: Ib42abd8746f2711d2a0ed2a8df4a114bcb5c8b96

7 years agoMerge "Fix in getAvailableNetworksResponse() to use correct index"
Jayachandran Chinnakkannu [Thu, 2 Mar 2017 20:01:40 +0000 (20:01 +0000)]
Merge "Fix in getAvailableNetworksResponse() to use correct index"

7 years agoMerge "DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe"
Bo Hu [Thu, 2 Mar 2017 18:09:31 +0000 (18:09 +0000)]
Merge "DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe"
am: 0e4680d46f  -s ours

Change-Id: I68237f3c5d5f248aa290dd541baae9ac4d6dc063

7 years agoMerge "DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe"
Bo Hu [Thu, 2 Mar 2017 18:03:30 +0000 (18:03 +0000)]
Merge "DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe"

7 years agoRemoved the deprecated screen state API
Jack Yu [Thu, 2 Mar 2017 07:22:33 +0000 (23:22 -0800)]
Removed the deprecated screen state API

The screen state API was deprecated on O and should
not be added into the radio interace.

Test: Telephony sanity tests
bug: 32223897
Change-Id: I587cb104cdfd17d8f3c0e0d6e354b051d3892eaa

7 years agoMerge "Added two new RIL commands support"
Jack Yu [Thu, 2 Mar 2017 06:11:32 +0000 (06:11 +0000)]
Merge "Added two new RIL commands support"
am: 4430f1924d

Change-Id: Ibc1df32f72dc77a08aff727d54a102095193e4be

7 years agoMerge "Added two new RIL commands support"
Treehugger Robot [Thu, 2 Mar 2017 06:02:19 +0000 (06:02 +0000)]
Merge "Added two new RIL commands support"

7 years agoAdded two new RIL commands support
Jack Yu [Wed, 22 Feb 2017 01:08:01 +0000 (17:08 -0800)]
Added two new RIL commands support

Added RIL_REQUEST_SEND_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER RIL requests support.

Test: telephony sanity tests
bug: 322238972012503728294587

Merged-In: I55adc30b11eac269331c54ff08947dd5eefc463b
Change-Id: I55adc30b11eac269331c54ff08947dd5eefc463b

7 years agoFix signed-unsigned comparison
Nathan Harold [Thu, 2 Mar 2017 02:57:56 +0000 (18:57 -0800)]
Fix signed-unsigned comparison

Bug: 35901901
Test: compilation yields no warning
Change-Id: I74e60def5205782e291c7bc24846804be89097b3

7 years agoFix in getAvailableNetworksResponse() to use correct index
Jayachandran C [Thu, 2 Mar 2017 02:26:50 +0000 (18:26 -0800)]
Fix in getAvailableNetworksResponse() to use correct index

Test: Manual
Bug: 35787804
Change-Id: I03e17ee3e2de449c6b38c3dda39d2eb8b2ea7576

7 years agoDO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe
bohu [Tue, 28 Feb 2017 22:55:24 +0000 (14:55 -0800)]
DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe

qemu_pipe is refactored into a library in system/core/qemu_pipe,
and reference-ril needs to adjust accordingly.

Change-Id: I13160ce6a07a721501fd893dd9c5a9931927e767

7 years agoMerge "Add log tag for IRadio and ISap services."
Amit Mahajan [Wed, 1 Mar 2017 21:08:03 +0000 (21:08 +0000)]
Merge "Add log tag for IRadio and ISap services."
am: 57ff322b4c

Change-Id: I8f453b3bcbab2e588b94c3186bf016daaae52592

7 years agoMerge "Add log tag for IRadio and ISap services."
Treehugger Robot [Wed, 1 Mar 2017 20:53:04 +0000 (20:53 +0000)]
Merge "Add log tag for IRadio and ISap services."

7 years agoMerge "Fix in setAllowedCarriers() to use correct length for excludedCarriers"
Amit Mahajan [Wed, 1 Mar 2017 20:06:43 +0000 (20:06 +0000)]
Merge "Fix in setAllowedCarriers() to use correct length for excludedCarriers"
am: da232809c5

Change-Id: I68e1a369c44a15cd89ec65002ee9d8a8c7a3d6a1

7 years agoMerge "Fix in setAllowedCarriers() to use correct length for excludedCarriers"
Treehugger Robot [Wed, 1 Mar 2017 20:02:26 +0000 (20:02 +0000)]
Merge "Fix in setAllowedCarriers() to use correct length for excludedCarriers"

7 years agoAdd log tag for IRadio and ISap services.
Amit Mahajan [Wed, 1 Mar 2017 19:13:15 +0000 (11:13 -0800)]
Add log tag for IRadio and ISap services.

Test: verified logs
Bug: 35869745
Change-Id: I35c79c9d638e4328086def1b550f0aafcf9e9e5b

7 years agoFix in setAllowedCarriers() to use correct length for excludedCarriers
Amit Mahajan [Wed, 1 Mar 2017 18:26:58 +0000 (10:26 -0800)]
Fix in setAllowedCarriers() to use correct length for excludedCarriers

Test: make -j64 gts
gts-tradefed run gts -m GtsGmscoreHostTestCases -t
com.google.android.gts.telephony.TelephonyHostTest
Bug: 35374455

Change-Id: I05ccc58e71f4b7aa645543fb3c9ffc71f9817435

7 years agoMerge "Cleanup DATA_REG and VOICE_REG Location Info"
Sooraj Sasindran [Wed, 1 Mar 2017 18:08:20 +0000 (18:08 +0000)]
Merge "Cleanup DATA_REG and VOICE_REG Location Info"
am: a2f9629c29

Change-Id: I354972a155f9a244e57e1d9524b37b29ebda15fb

7 years agoMerge "Cleanup DATA_REG and VOICE_REG Location Info"
Sooraj Sasindran [Wed, 1 Mar 2017 18:06:17 +0000 (18:06 +0000)]
Merge "Cleanup DATA_REG and VOICE_REG Location Info"

7 years agoCleanup DATA_REG and VOICE_REG Location Info
Sooraj Sasindran [Thu, 1 Dec 2016 02:36:03 +0000 (18:36 -0800)]
Cleanup DATA_REG and VOICE_REG Location Info

The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation.  So cleaning up the same by using
the same cell location structure that is being used elsewhere
in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it. Note this also fixes subtle bugs
that existed due to the information previously being incomplete.

Bug: 32223344
Test: Tested updated qcril

Captured RILJ logs on different rats as follows

02-27 10:22:48.489 D/RILJ    ( 1483): [4169]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .reasonDataDenied = -1, .maxDataCalls
= 20, .cellIdentity = {.cellInfoType = LTE, .cellIdentityGsm = [],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte =
[{.mcc = -1, .mnc = -1, .ci = 56, .pci = 135, .tac = 13826, .earfcn =
-1}], .cellIdentityTdscdma = []}} [SUB0]

02-27 10:22:48.463 D/RILJ    ( 1483): [4166]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .cssSupported = true,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = LTE,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [{.mcc = -1, .mnc = -1, .ci = 56, .pci = -1, .tac =
-1, .earfcn = -1}], .cellIdentityTdscdma = []}} [SUB

02-27 11:13:16.138 D/RILJ    ( 2110): [3992]< DATA_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 13, .reasonDataDenied = -1,
.maxDataCalls = 20, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = -1, .systemId = -1, .baseStationId = -1, .longitude = -1,
.latitude = -1}], .cellIdentityLte = [], .cellIdentityTdscdma = []}}
[SUB0]

02-27 11:13:16.136 D/RILJ    ( 2110): [3993]< VOICE_REGISTRATION_STATE
{.regState = NOT_REG_MT_SEARCHING_OP, .rat = 0, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = 0x0,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]

02-27 11:23:21.875 D/RILJ    ( 2104): [4058]< VOICE_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 6, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = 54, .systemId = 4, .baseStationId = 7155, .longitude =
2147483647, .latitude = 0}], .cellIdentityLte = [], .cellIdentityTdscdma
= []}} [SUB0]

02-27 11:29:36.774 D/RILJ    ( 2157): [3925]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 16, .cssSupported = false,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = GSM,
.cellIdentityGsm = [{.mcc = -1, .mnc = -1, .lac = 8, .cid = 0, .arfcn =
-1, .bsic = -1}], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]

02-27 11:29:36.768 D/RILJ    ( 2157): [3924]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 2, .reasonDataDenied = -1, .maxDataCalls =
20, .cellIdentity = {.cellInfoType = GSM, .cellIdentityGsm = [{.mcc =
-1, .mnc = -1, .lac = 8, .cid = 0, .arfcn = -1, .bsic = -1}],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte = [],
.cellIdentityTdscdma = []}} [SUB0]

Merged-In: I62243cd0497bc742abf2fb58a24087698b25769d
Change-Id: I62243cd0497bc742abf2fb58a24087698b25769d

7 years agoMerge "Fixed that type of data call response status"
Jack Yu [Wed, 1 Mar 2017 04:25:33 +0000 (04:25 +0000)]
Merge "Fixed that type of data call response status"
am: 461ada9c41

Change-Id: I33072a49106672cead62246e53086a7076728d81

7 years agoMerge "Fixed that type of data call response status"
Jack Yu [Wed, 1 Mar 2017 04:22:36 +0000 (04:22 +0000)]
Merge "Fixed that type of data call response status"

7 years agoFixed that type of data call response status
Jack Yu [Tue, 28 Feb 2017 23:21:18 +0000 (15:21 -0800)]
Fixed that type of data call response status

Fixed the incorrect type for SetupDataCallResult.status.
Changed the type from int_32 to DataCallFailCause

Test: Telephony sanity tests
bug: 32224135
Change-Id: I55436f835318a0a60d2b53daabc493d8349af3b3

7 years agoMerge "Data call refactoring and hidlization"
Jack Yu [Tue, 28 Feb 2017 21:46:38 +0000 (21:46 +0000)]
Merge "Data call refactoring and hidlization"
am: bde502eeae

Change-Id: I72326756089e31fda9773388d4850005d963f126

7 years agoMerge "Data call refactoring and hidlization"
Jack Yu [Tue, 28 Feb 2017 20:47:01 +0000 (20:47 +0000)]
Merge "Data call refactoring and hidlization"

7 years agoData call refactoring and hidlization
Jack Yu [Mon, 13 Feb 2017 19:21:00 +0000 (11:21 -0800)]
Data call refactoring and hidlization

Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address
some issues we had earlier.

This is also backward compatible with the old vendor RIL.

bug: 3222413530173958335615033028209632020264
Test: Telephony sanity tests, unit tests

Merged-In: I5ed76321ef52d6bc7a00bce918fde7bb316f8c93
Change-Id: I5ed76321ef52d6bc7a00bce918fde7bb316f8c93

7 years agoMerge "Fix for RadioCapability."
Amit Mahajan [Sat, 25 Feb 2017 01:49:33 +0000 (01:49 +0000)]
Merge "Fix for RadioCapability."
am: 10978b02fc

Change-Id: I59afad858945bda7a9e116890e8f691b86bce8c2

7 years agoMerge "Fix for RadioCapability."
Treehugger Robot [Sat, 25 Feb 2017 01:43:00 +0000 (01:43 +0000)]
Merge "Fix for RadioCapability."

7 years agoFix for RadioCapability.
Amit Mahajan [Fri, 24 Feb 2017 19:24:39 +0000 (11:24 -0800)]
Fix for RadioCapability.

sizeof was called on incorrect struct.

Test: verified from the logs that RadioCapability shows on error
Bug: 35754369
Change-Id: I42bcb1f15cb5600e940550e51e109f1b2bce37a8

7 years agoMerge "Move rild to vendor partition."
Amit Mahajan [Fri, 24 Feb 2017 01:49:38 +0000 (01:49 +0000)]
Merge "Move rild to vendor partition."
am: 1d8bd8a581

Change-Id: If3687434476e8637d4f1cf5ed9b372165b54edde

7 years agoMerge "Move rild to vendor partition."
Treehugger Robot [Fri, 24 Feb 2017 01:47:14 +0000 (01:47 +0000)]
Merge "Move rild to vendor partition."

7 years agoMove rild to vendor partition.
Amit Mahajan [Thu, 23 Feb 2017 19:17:29 +0000 (11:17 -0800)]
Move rild to vendor partition.

Test: Basic telephony sanity
Bug: 35672432
Change-Id: I7aac54db10fe190596378cabbbc634b862d13acb

7 years agoMerge "OemHook service implementation."
Amit Mahajan [Thu, 23 Feb 2017 19:38:17 +0000 (19:38 +0000)]
Merge "OemHook service implementation."
am: 9ab67b53cb

Change-Id: I103b031b4acd001cbdcb1d324dbc19511c61093b

7 years agoMerge "OemHook service implementation."
Treehugger Robot [Thu, 23 Feb 2017 19:33:34 +0000 (19:33 +0000)]
Merge "OemHook service implementation."

7 years agoOemHook service implementation.
Amit Mahajan [Tue, 14 Feb 2017 01:43:04 +0000 (17:43 -0800)]
OemHook service implementation.

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

7 years agoMerge "Check return status for response callbacks."
Amit Mahajan [Thu, 23 Feb 2017 02:07:56 +0000 (02:07 +0000)]
Merge "Check return status for response callbacks."
am: a277451167

Change-Id: I9a9fb6e5ff8da2c41643b4fe28494ff0f90d026d

7 years agoMerge "Check return status for response callbacks."
Amit Mahajan [Thu, 23 Feb 2017 02:00:16 +0000 (02:00 +0000)]
Merge "Check return status for response callbacks."

7 years agoMerge "Added the new RIL request to set SIM power state" am: 823ac92df3 am: 7b1a7434b3
Wileen Chiu [Fri, 17 Feb 2017 01:41:03 +0000 (01:41 +0000)]
Merge "Added the new RIL request to set SIM power state" am: 823ac92df3 am: 7b1a7434b3
am: 19061c2cf2

Change-Id: I75f54dcc2e9a061c9a4a278c4be9108c832dc304

7 years agoMerge "Added the new RIL request to set SIM power state" am: 823ac92df3
Wileen Chiu [Fri, 17 Feb 2017 01:32:02 +0000 (01:32 +0000)]
Merge "Added the new RIL request to set SIM power state" am: 823ac92df3
am: 7b1a7434b3

Change-Id: Ib073a264fc478025e9f06fa346b201f63bd8d1da

7 years agoMerge "Added the new RIL request to set SIM power state"
Wileen Chiu [Fri, 17 Feb 2017 01:22:32 +0000 (01:22 +0000)]
Merge "Added the new RIL request to set SIM power state"
am: 823ac92df3

Change-Id: I527bd8ff67553eb663f24bbe38852ea4616fac53

7 years agoMerge "Added the new RIL request to set SIM power state"
Treehugger Robot [Fri, 17 Feb 2017 01:13:25 +0000 (01:13 +0000)]
Merge "Added the new RIL request to set SIM power state"

7 years agoAdded the new RIL request to set SIM power state
Wileen Chiu [Wed, 4 Jan 2017 19:37:19 +0000 (11:37 -0800)]
Added the new RIL request to set SIM power state

The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug:32224755
Change-Id: I43245ed8178235e45e592d06c2d1bcb71cd69225

7 years agoMerge "Fix to handle hidl_string correctly in error scenarios." am: 640e1ddb6d am...
Amit Mahajan [Tue, 14 Feb 2017 03:55:02 +0000 (03:55 +0000)]
Merge "Fix to handle hidl_string correctly in error scenarios." am: 640e1ddb6d am: 7cf2559774
am: 5e039efd12

Change-Id: Iff770a77599c7686fb3e9114f81230b13fb7fdf5

7 years agoMerge "Fix to handle hidl_string correctly in error scenarios." am: 640e1ddb6d
Amit Mahajan [Tue, 14 Feb 2017 03:53:00 +0000 (03:53 +0000)]
Merge "Fix to handle hidl_string correctly in error scenarios." am: 640e1ddb6d
am: 7cf2559774

Change-Id: I358c13cd14b8021d6297e22cdde239a88b9e3439

7 years agoMerge "Fix to handle hidl_string correctly in error scenarios."
Amit Mahajan [Tue, 14 Feb 2017 03:51:02 +0000 (03:51 +0000)]
Merge "Fix to handle hidl_string correctly in error scenarios."
am: 640e1ddb6d

Change-Id: I91b324de543f332250ee61dd509a31b89f90236c

7 years agoMerge "Fix to handle hidl_string correctly in error scenarios."
Treehugger Robot [Tue, 14 Feb 2017 03:47:15 +0000 (03:47 +0000)]
Merge "Fix to handle hidl_string correctly in error scenarios."

7 years agoFix to handle hidl_string correctly in error scenarios.
Amit Mahajan [Mon, 13 Feb 2017 21:41:28 +0000 (13:41 -0800)]
Fix to handle hidl_string correctly in error scenarios.

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

7 years agoCheck return status for response callbacks.
Amit Mahajan [Mon, 13 Feb 2017 19:58:11 +0000 (11:58 -0800)]
Check return status for response callbacks.

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

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

Change-Id: I7bf967225eb86189bf945088e0ac4bbc51ba01e9

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

Change-Id: Ib3a775e168d96d844fd7d4f7936260ed1a056245

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

Change-Id: I6c270cfb72893c4f0ed82c22a7ef2a4ea0d0a767

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

Change-Id: I222c4f0e896a56ddf5c7feb6e7049e0551a8ff4b

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

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

Change-Id: I3f8212210ff0519dd88306a5a1073cd933807172

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

Change-Id: I34cc779372ca113fbd174154ee5b5fd91be45807

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

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

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

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

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

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

Change-Id: Ia1e0504ac746d8a59b43932d9eebbe96e5664cc7

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

Change-Id: Ia8d55ce8ac11084be528ea78d0463b16271d5f61

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

Change-Id: I5ddb8a8a4b57a269480e6cc37039a56e5b59fea0

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

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

Change-Id: I896b4a668bac17f0830da182ec58b12b489027a1

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

Change-Id: I9a0e8324b4d3587c5401ebb5db42bf7288a8443b

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

Change-Id: I168719545d10092aa548790758e7fffb3c34539c

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

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

Change-Id: I848ceb924b694c69606c0cb632135e950efbb88f

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

Change-Id: I37ca75bde645936709de1575c20a726b024d3538

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

Change-Id: I9046a04e359e73fe4ba55eeca4af45848237fd9c

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

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

Change-Id: I45f92b9e74aef5a9c7ea1ef412293b8e84026cfc

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

+ Vendor expects activate ? 0 : 1

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

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

Change-Id: I586e23bd064dbb6ac92a8b89bf934d131bcd424b

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

Using strcpy() or strlen() followed by strncpy() could be dangerous.
We should replace them.

strcpy -> strncpy
strlen -> strnlen
strcmp -> strncmp

Also fixed uninitialized structure uses.

Test: Telephony sanity tests
bug: 35108861
Change-Id: I323e2947b153d9214cfc1827168346200916431f

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

Change-Id: I4a09d26970129befcea6b89457dca69471ca3435

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

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

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

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

Also has revert of
https://googleplex-android-review.git.corp.google.com/#/c/1880364/

Bug: 32020264
Test: Basic telephony sanity. Phone calls/sms/data. No assert for FI sim.
Change-Id: I0617cdeca367962cc345a0d501e7754f40dc20e0
Merged-in: I0617cdeca367962cc345a0d501e7754f40dc20e0