GitHub/LineageOS/android_hardware_samsung.git
7 years agodtbhtool: Add LOCAL_MODULE_TAGS := optional
Paul Keith [Mon, 16 Jan 2017 16:48:08 +0000 (10:48 -0600)]
dtbhtool: Add LOCAL_MODULE_TAGS := optional

* This breaks building on devices that
  don't require the need of dtbhtool
* Also remove LOCAL_MODULE_TAGS := eng, to
  avoid requiring this on an eng build

Change-Id: Iad9296f46dd78c778ce1ce48d6722ed98bc27cd3
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
7 years agoexynos4: allow using SLSI stack
Simon Shields [Mon, 5 Dec 2016 07:18:09 +0000 (18:18 +1100)]
exynos4: allow using SLSI stack

Change-Id: I6201fb7b513f0b0d771460be133a7f32691b5070

7 years agoAllow targets to build dtbhtool
Christopher N. Hesse [Wed, 4 Jan 2017 00:17:53 +0000 (01:17 +0100)]
Allow targets to build dtbhtool

Change-Id: Id31337de6acff43798a05acacaa0672c5737911f

7 years agodtbhtool: Rename unpackbootimg to avoid conflicts
Christopher N. Hesse [Wed, 4 Jan 2017 00:27:48 +0000 (01:27 +0100)]
dtbhtool: Rename unpackbootimg to avoid conflicts

Change-Id: Iee1146dc6eca01dc50ac3e41e0b12a41a33064c1

7 years agodtbhtool: Split out dtimg components
Christopher N. Hesse [Thu, 29 Dec 2016 23:11:33 +0000 (00:11 +0100)]
dtbhtool: Split out dtimg components

Factor out DT image creation code into a small host
library.

Create a new host binary which allows us to create
device tree blob (DTB) images.

Change-Id: I5424684ad467b952df8b2ccf3afbacdec03e88c9

7 years agodtbhtool: Move target defs to header
Christopher N. Hesse [Thu, 29 Dec 2016 19:32:22 +0000 (20:32 +0100)]
dtbhtool: Move target defs to header

Change-Id: Id1dcebe1abee087bb74d263c7537bc32d98f2380

7 years agodtbhtool: Fix missing PATH_MAX macro from limits.h
Christopher N. Hesse [Thu, 29 Dec 2016 20:24:37 +0000 (21:24 +0100)]
dtbhtool: Fix missing PATH_MAX macro from limits.h

Change-Id: Ie9cc147d6f4511d1fd696de7f8c58e01afdd079e

7 years agoSamsung Exynos DTBH device tree support
Ketut Putu Kumajaya [Tue, 24 Jun 2014 09:18:20 +0000 (16:18 +0700)]
Samsung Exynos DTBH device tree support

Change-Id: If5bee99b10c2b0fe55cc6eaf9143126be0cf70dd

7 years agoAdd signature support
Ketut Putu Kumajaya [Mon, 23 Jun 2014 13:18:46 +0000 (20:18 +0700)]
Add signature support

Change-Id: Idf5b6144b78e156e6c77e656cfe14097750259e5

7 years agoInitial commit, from CM's system/core
Ketut Putu Kumajaya [Mon, 23 Jun 2014 13:05:33 +0000 (20:05 +0700)]
Initial commit, from CM's system/core

Change-Id: I9bcf09859a7171e4fbb869b1d2818b31b2677207

7 years agoliblights: Check for hardware support on HAL open
Christopher N. Hesse [Sat, 31 Dec 2016 16:14:47 +0000 (17:14 +0100)]
liblights: Check for hardware support on HAL open

Change-Id: I601a987914e1774c9d1d12574f143f19f22b12e9

7 years agoAutomatic translation import
clyde@build01 [Thu, 22 Dec 2016 02:29:19 +0000 (18:29 -0800)]
Automatic translation import

Change-Id: Iac10e6e1a960cb5c54d7155e7142c61cc6233112
Ticket: -

7 years agopower: Get panel backlight brightness from lights helper
Christopher N. Hesse [Wed, 7 Dec 2016 11:18:20 +0000 (12:18 +0100)]
power: Get panel backlight brightness from lights helper

Change-Id: I3f28fc4abac947cc4a30d95ba74f45bf24c12c20

7 years agoliblights: Expose panel brightness in helper lib
Christopher N. Hesse [Wed, 7 Dec 2016 11:12:23 +0000 (12:12 +0100)]
liblights: Expose panel brightness in helper lib

Change-Id: I810166818eac84466dfe2c4b88dff47e83a181c0

7 years agoAutomatic translation import
blinky@build01 [Wed, 21 Dec 2016 02:05:31 +0000 (18:05 -0800)]
Automatic translation import

Change-Id: I3bd03e41b7e44f3a261464a31c36b9c10474e4ee
Ticket: -

7 years agoexynos4: Fix libfimc build
Dominggoes Isakh [Sat, 17 Dec 2016 16:44:32 +0000 (17:44 +0100)]
exynos4: Fix libfimc build

* Expected return type is an address, not a boolean.

Change-Id: I454c23b66388fe06fc6d630b7b510ae85bd94c4a

7 years agoconsumerir: Move CLEAR_VARS below LOCAL_PATH
Paul Keith [Wed, 14 Dec 2016 20:04:33 +0000 (14:04 -0600)]
consumerir: Move CLEAR_VARS below LOCAL_PATH

* For those keeping count, this is the second time
  my consumerir patches broke consumerir compile...

Change-Id: I343ec51d547bf616c1da3779457b0cace505c689
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
7 years agoconsumerir: Allow devices to override default configs
Paul Keith [Sat, 10 Dec 2016 15:30:32 +0000 (09:30 -0600)]
consumerir: Allow devices to override default configs

* This is cleaner than hacking up makefiles
* This brings us closer to what other hals
  in this repo are doing (e.g. lights, power)
  and this is done following their example
* As a note, haggertk suggested this when we
  added the inital unified hal, but I never
  got around to doing it

Change-Id: I7c911c5afc2b67308d7135b50a4863a6a9480035
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
7 years agomacloader : add n5120 murata MAC address
RGIB [Sun, 11 Dec 2016 14:08:09 +0000 (15:08 +0100)]
macloader : add n5120 murata MAC address

Change-Id: I617eba4abfe9ad2088aaeb740e4deccce439c569

7 years agomacloader : add n5110 murata MAC address
RGIB [Sat, 10 Dec 2016 10:37:34 +0000 (11:37 +0100)]
macloader : add n5110 murata MAC address

Change-Id: Ie7f71f4e678eb69b7d1942f5ee31127b2091715a

7 years agopower: Allow devices to override node paths
Christopher N. Hesse [Wed, 7 Dec 2016 11:21:44 +0000 (12:21 +0100)]
power: Allow devices to override node paths

Change-Id: Ida7f41ddce2ef458cc77348c0b44ec0a7a86df72

7 years agoliblights: Scale brightness if necessary
Christopher N. Hesse [Mon, 5 Dec 2016 21:11:55 +0000 (22:11 +0100)]
liblights: Scale brightness if necessary

Change-Id: Ia9fdbe0c0f709e8e2e16f9cd2fb757c6f53e7c50

7 years agoliblights: Allow devices to override node paths
Christopher N. Hesse [Thu, 1 Dec 2016 14:51:12 +0000 (15:51 +0100)]
liblights: Allow devices to override node paths

 * Update the copyrights while we're at it.

Change-Id: Ie1bbf1f5150428a47baf6615f32d703d578efb82

7 years agomacloader: Yet another SEMCO3RD OUI
Kevin F. Haggerty [Wed, 30 Nov 2016 12:38:41 +0000 (05:38 -0700)]
macloader: Yet another SEMCO3RD OUI

* OUI types verified by comparing dump of CIS against VID table
  in kernel source

Change-Id: I3bf4d778c88445da6e47854b8bd90d1d7433d337

7 years agoconsumerir: move consumerir_get_num_carrier_freqs before first use
Kevin F. Haggerty [Sat, 26 Nov 2016 20:12:31 +0000 (13:12 -0700)]
consumerir: move consumerir_get_num_carrier_freqs before first use

* Implicit declaration results in static/non-static mismatch

Change-Id: I1ff2682697a45e37c28f71f580480296306704e8

7 years agoInitial consumer IR HAL commit
Christopher N. Hesse [Tue, 15 Mar 2016 01:31:38 +0000 (02:31 +0100)]
Initial consumer IR HAL commit

* Initially written by crpalmer
* Changes and improvements made by:
 - zwliew: Cleaned up styling
 - javelinanddart: Added configs
   to make hal more universal

Change-Id: I98eefdde67ad7ed930532a82533a5c91f20abd83
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
8 years agopower: Update DT2W_PATH
ishantvivek [Mon, 21 Nov 2016 06:05:47 +0000 (06:05 +0000)]
power: Update DT2W_PATH

* TARGET_TAP_TO_WAKE_NODE is defined in if condition. But in DT2W_PATH, TARGET_DT2W_PATH is defined. Why?
* Use same flag for both, otherwise we need to define two flags for the dt2w path.
* Use TARGET_TAP_TO_WAKE_NODE instead of TARGET_DT2W_PATH, for similarity with qcom powerHAL.

Change-Id: I87cbdc3f2aa1a3f9f6509580f2c1f001129a0fda

8 years agoexynos4: hwc: GLES/gl.h is needed regardless of HWC_HWOVERLAY
Simon Shields [Sun, 20 Nov 2016 10:25:30 +0000 (21:25 +1100)]
exynos4: hwc: GLES/gl.h is needed regardless of HWC_HWOVERLAY

Change-Id: I83108ba3d2442fbc0a252bd98c988235bafe7dc8

8 years agoAutomatic translation import
clyde@build01 [Sun, 20 Nov 2016 22:27:14 +0000 (14:27 -0800)]
Automatic translation import

Change-Id: Ifa838521e480ba5c3565d48711702f4a23f038f7
Ticket: -

8 years agopower: Fix unused argument
Christopher N. Hesse [Fri, 18 Nov 2016 17:59:06 +0000 (18:59 +0100)]
power: Fix unused argument

Change-Id: Ia4048aa48b32ea344c303ca24289ade1b7dfae7a

8 years agopower: Simplify read_panel_brightness()
Christopher N. Hesse [Fri, 18 Nov 2016 17:56:17 +0000 (18:56 +0100)]
power: Simplify read_panel_brightness()

Overengineering.

Change-Id: Ifef79a7e8f2249fdd22099a043303f9686ac014b

8 years agomacloader: Add even more OUIs
Kevin F. Haggerty [Sat, 29 Oct 2016 16:28:23 +0000 (10:28 -0600)]
macloader: Add even more OUIs

* OUI types verified by comparing dump of CIS against VID table
  in kernel source
* Added: 84:38:38, fc:db:b3

Change-Id: I2909d03be8cf7227ce008e981106705866571898

8 years agoexynos: multimedia: N/clang fixes
Simon Shields [Sat, 27 Aug 2016 17:49:01 +0000 (03:49 +1000)]
exynos: multimedia: N/clang fixes

Change-Id: I1891f793a44465c28219cb19455dbc29c09d4868

8 years agomacloader: Add additional OUIs
Kevin F. Haggerty [Sat, 22 Oct 2016 15:59:15 +0000 (09:59 -0600)]
macloader: Add additional OUIs

* Fix c0:bd:d1 while we are at it
* All OUI types verified by comparing dump of CIS against VID table
  in kernel source

Change-Id: I7858d8c03a176b9b37798bf0112f4b460ff2c9de

8 years agoFix RIL_CardStatus_v5 Parceling.
Kyle Repinski [Wed, 31 Aug 2016 06:04:02 +0000 (01:04 -0500)]
Fix RIL_CardStatus_v5 Parceling.

The difference between a v5 and v6 CardStatus response is the addition
of ims_subscription_app_index. In previous releases libril added a -1
to the Parcel in its place for transparent handling of GET_SIM_STATUS
everywhere else regardless of v5 or v6 responses, but it was erroneously
removed in change I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8

Change-Id: I078b61d2f6dc28f738e8eb87f51193fa0bd94c7d

8 years agoAdd support for cdma dynamic address length.
Sukanya Rajkhowa [Tue, 29 Oct 2013 06:55:30 +0000 (14:55 +0800)]
Add support for cdma dynamic address length.

Get the address,sub address,Bearer with dynamic length in the data parcel,
to avoid the OutOfBoundsException with the MAX macro.

BUG=26856156

Change-Id: I1d7437143c1369d77791136b68e06088acd72937

8 years agomacloader: add another semco3rd OUI for klte (SM-G900F)
Cal Archer [Fri, 14 Oct 2016 19:17:23 +0000 (21:17 +0200)]
macloader: add another semco3rd OUI for klte (SM-G900F)

Change-Id: I669a4cab0fba92c4ac5d4bd1c496634d06aa4a40
(cherry picked from commit c2104657697740a9bee31dc03bf0c5134ff93e6c)

8 years agoFix build failure which occurs after setting macro RILC_LOG.
Sanket Padawe [Wed, 8 Jun 2016 21:09:26 +0000 (14:09 -0700)]
Fix build failure which occurs after setting macro RILC_LOG.

Bug: 29214796
Change-Id: I5f74981a59344078f900ecf769cc962b1416d5fd

8 years agoRIL: release unsol wakelock
Sooraj Sasindran [Fri, 6 May 2016 23:19:56 +0000 (16:19 -0700)]
RIL: release unsol wakelock

Make sure to release unsol wakelock

BUG=28635279
Change-Id: I4bdf0e7b35df4e6aa077b062ab359c6938ce8292

8 years agoRil Error codes: Voice related messages
Ajay Nambi [Sat, 19 Mar 2016 16:02:28 +0000 (09:02 -0700)]
Ril Error codes: Voice related messages

This change adds new error codes for messages
related to voice

Bug: 27038563
Change-Id: I61bcc853f8046e6baf6c8000029f7af0f3f894f0

8 years agoNew error codes for SMS/other messages
Ajay Nambi [Fri, 11 Mar 2016 20:02:55 +0000 (12:02 -0800)]
New error codes for SMS/other messages

This gerrit adds error codes for messages related
to SMS and set_mute, get_mute requests

Bug: 27038563
Change-Id: I4991e4a38c81501c39e91cfd5df90d8288f542ad

8 years agoAdd RIL Error code list
twen.chang [Fri, 4 Mar 2016 10:27:48 +0000 (18:27 +0800)]
Add RIL Error code list

BUG: 27589497

Change-Id: I9cc8c12364676c3c56dbee57fdc01cf055460816

8 years agoEnable integer sanitization in libril.
Sanket Padawe [Tue, 8 Mar 2016 02:09:55 +0000 (18:09 -0800)]
Enable integer sanitization in libril.

Bug: 27486276
Change-Id: I5d440099120567f1ecedb898039b5627346c7089

8 years agoFixing security vulnerabilities in ril.cpp
Sanket Padawe [Mon, 29 Feb 2016 18:09:26 +0000 (10:09 -0800)]
Fixing security vulnerabilities in ril.cpp

Bug: 26522805
Change-Id: I8fa19a202b3ebe13dc617b417218b4f40fa8a702

8 years agoAdd OEM specific error code space which can by used to
Sanket Padawe [Tue, 9 Feb 2016 17:56:31 +0000 (09:56 -0800)]
Add OEM specific error code space which can by used to
 replace Generic errors.

Bug: 27038563
Change-Id: I4052505ed684067cb9145d165f0e335ad52ed404

8 years agoConvert newly added error code to string values in ril.cpp.
Sanket Padawe [Mon, 8 Feb 2016 22:28:59 +0000 (14:28 -0800)]
Convert newly added error code to string values in ril.cpp.

Bug: 23216719
Change-Id: Ie2202124cb460872a9f5c406e8f1ae94465d9d0b

8 years agoUse different response type for unsolicited mesg requiring
Sanket Padawe [Wed, 3 Feb 2016 19:46:02 +0000 (11:46 -0800)]
Use different response type for unsolicited mesg requiring
 wakelock.

+ New type is added as ack from RIL java should be sent only for unsolicited mesgs
which hold wakelock in ril.cpp.

Bug: 22127517

Change-Id: Ib7e920d168ab92665283f80476bad3f5ede033e4

8 years agoImprove wakelock symantics in RIL.
Sanket Padawe [Wed, 27 Jan 2016 23:09:12 +0000 (15:09 -0800)]
Improve wakelock symantics in RIL.

Bug: 22127517
Change-Id: I13fce25c8c6b27987e576b29a2ca5cd813f5b06f

8 years agoAdded fields to CELL_INFO_LIST.
Sanket Padawe [Wed, 27 Jan 2016 02:44:01 +0000 (18:44 -0800)]
Added fields to CELL_INFO_LIST.

Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn

Bug: 23528586
Change-Id: Iaf7bfaac96bda92d980c566878b9fe481a6d2c21

8 years agoUse SimRefreshResponse struct in RIL Versions greater than 7
Sanket Padawe [Thu, 21 Jan 2016 23:49:33 +0000 (15:49 -0800)]
Use SimRefreshResponse struct in RIL Versions greater than 7

Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.

BUG=21075857

Change-Id: Ifde00434bfcaecf3b4c32392fc4964fe3b43f6b5

8 years agoAdd WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION
Ajay Nambi [Tue, 15 Nov 2011 19:19:30 +0000 (11:19 -0800)]
Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION

Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in
requestToString method.

Change-Id: I323f276d4048b168b27669a0aebb58cd9decf9bd

8 years agoImprove RIL versioning.
Sanket Padawe [Mon, 11 Jan 2016 20:45:43 +0000 (12:45 -0800)]
Improve RIL versioning.

+ Added documentation for new RIL versioning format.
+ Changes associated to new RIl versioning format.

Bug: 25779475
Change-Id: I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8

8 years agolibril: revert network operator string handling
Dheeraj CVR [Tue, 4 Oct 2016 07:10:55 +0000 (11:10 +0400)]
libril: revert network operator string handling

* These workarounds were introduced before http://review.cyanogenmod.org/#/c/159520/
  and are no longer needed because the framework now has dynamic QAN element support.
  Setting the ro.ril.telephony.mqanelements to a proper value should fix the operator
  search on all the devices and these workarounds are no longer required.

* http://review.cyanogenmod.org/#/c/100398/ discards every 5th QAN element which breaks
  devices with libsec-ril that returns more than 5 QAN elements. zeroflte and noblelte
  return 6 QAN elements and the 5th element was being discarded instead of 6th.

* The code assumes 5 QAN elements per operator which doesn't hold true for all devices.

* In case of devices with 6 QAN elements, the size of the string array was a multiple
  of 6, but since we are discarding the 5th element, the contents of the string pertaining
  to each operator is a multiple of 5 following by trailing null strings in the array,
  which caused issues in the framework while trying to read the strings, since we are
  expecting 6 strings per operator and with a discarded string, we only receive 5.

Thanks to Javi Ferrer for diagnosing the issue on zeroflte

Change-Id: I2e99291f3438998a253755a19a063d15a19d63e0

8 years agoProperly export ril_ex.h
Colin Cross [Wed, 16 Dec 2015 22:15:42 +0000 (14:15 -0800)]
Properly export ril_ex.h

Copying headers makes fixing compile errors hard, and breaks dependency
restrictions.  Move ril_ex.h to an exported include directory instead of
copying it.

Bug: 18903857
Change-Id: I4b59a01e442db0d3198def69a5a5ff17b2a41c66

8 years agoFix build error with RILC_LOG on
Hyejin [Mon, 14 Sep 2015 23:27:28 +0000 (16:27 -0700)]
Fix build error with RILC_LOG on

Change-Id: Ib724e6db3c7fb4e46e7d62706cf53cc944faf797

8 years agoFix for rild crash becasue of buffer overflow
Ajay Nambi [Wed, 5 Aug 2015 09:23:50 +0000 (14:53 +0530)]
Fix for rild crash becasue of buffer overflow

There is a buffer overflow which causing rild crash. For
appendPrintBuf, "sprintf" is replaced with "snprintf" for
the safe copy operation.

Bug:23289936
Change-Id: I25430a5c6f2a8b19a3271235323499b6ee802746

8 years agolibril: Export headers
Christopher N. Hesse [Sun, 28 Aug 2016 13:37:48 +0000 (15:37 +0200)]
libril: Export headers

Change-Id: Ie61d8eb47f19fd825713357a538754f05b89d11a

8 years agolibril: Remove unused include stable/cm-13.0-ZNH5Y
Christopher N. Hesse [Sat, 30 Jul 2016 17:47:13 +0000 (19:47 +0200)]
libril: Remove unused include

If someone needs this, it has to be fixed to read
TARGET_OUT_HEADERS (notice the extra 's').
We are only getting away with it right now because M ignores empty
include paths, but N will barf on this.

Change-Id: I7f010398a40ebaf6811a58a121590944445fbcba

8 years agoDisplayModeControl: Add null check to setMode()
Kevin F. Haggerty [Tue, 19 Jul 2016 04:21:29 +0000 (22:21 -0600)]
DisplayModeControl: Add null check to setMode()

* getCurrentMode() can return null. Don't let setMode() try set a
  null mode because bad things happen.
* Let's make cmhw safe again (groan, I know that one was bad)

Change-Id: I20bdee4a0e8cbb0598f35770d71902332db51ddb

8 years agoUnbreak AdvancedDisplay
Luca Stefani [Fri, 15 Jul 2016 15:55:11 +0000 (08:55 -0700)]
Unbreak AdvancedDisplay

Change-Id: I546ad32983d9f6250319cf36a8ea528ee8473763

8 years agoAutomatic translation import
blinky@build01 [Thu, 14 Jul 2016 16:38:55 +0000 (09:38 -0700)]
Automatic translation import

Change-Id: I45a29ea2169735036b2fc2dbaeab822f4e6a68ce
Ticket: -

8 years agoAutomatic translation import
pinky@build01 [Wed, 13 Jul 2016 17:01:49 +0000 (10:01 -0700)]
Automatic translation import

Change-Id: I65fff5aaeb44f5b5e2a26c99b8a179660e0509ea
Ticket: -

8 years agopower: Add double tap to wake support
Christopher N. Hesse [Wed, 22 Jun 2016 21:04:39 +0000 (23:04 +0200)]
power: Add double tap to wake support

Change-Id: Icb0b6d442544b39576ec74e70e97751d6bc70590

8 years agoAdvancedDisplay: Fix build error
Arne Coucheron [Wed, 13 Jul 2016 05:05:45 +0000 (07:05 +0200)]
AdvancedDisplay: Fix build error

Change-Id: Ic0bac704bcf0b9bbcc374765db7df8b339bd1d42

8 years agopower: Fix compilation failure
Ethan Chen [Wed, 13 Jul 2016 01:38:00 +0000 (18:38 -0700)]
power: Fix compilation failure

Change-Id: Ib0923ba5c0976e2d00e6f190b370936a14a9b6df

8 years agopower: Fix I/O business parameter setting
Christopher N. Hesse [Mon, 11 Jul 2016 13:49:49 +0000 (15:49 +0200)]
power: Fix I/O business parameter setting

This parameter should be set even if we bail out early.

Change-Id: Iae78a13db229538960f1c7ec4c1f95f530810d71

8 years agopower: Add support for auto power modes
Christopher N. Hesse [Mon, 11 Jul 2016 13:48:35 +0000 (15:48 +0200)]
power: Add support for auto power modes

Do not disable input devices in case of the screen still
being enabled.

Change-Id: Ide6bd7ca3d41ac64b472c5e68fdc545c8f851b2b

8 years agocmhw: Add DisplayModeControl support
Zhao Wei Liew [Thu, 30 Jun 2016 10:47:22 +0000 (18:47 +0800)]
cmhw: Add DisplayModeControl support

Make use of LiveDisplay's implementation of display modes.

Remove AdvancedDisplay's display mode support as it duplicates
functionality provided by the CMHW implementation.

Based on Sean hoyt's original work on klmintwifi.

Change-Id: I455a8c764118adbdb997b2ba9145e24fecb8199b

8 years agohardware: Clean up CMHW and AdvancedDisplay
Zhao Wei Liew [Wed, 29 Jun 2016 12:21:59 +0000 (20:21 +0800)]
hardware: Clean up CMHW and AdvancedDisplay

 - Use CMSDK FileUtils
 - Simplify, yet harden checks
 - Use static final Strings
 - Remove unnecessary imports
 - Remove unnecessary Strings
 - Update copyright

Change-Id: Id2f0f2fdf5be7e2b29a3910a6aa56a3aad10868f

8 years agoexynos: multimedia: implement proper EOS signalling for encoder
Dheeraj CVR [Sun, 27 Mar 2016 13:31:41 +0000 (17:31 +0400)]
exynos: multimedia: implement proper EOS signalling for encoder

Change-Id: Ib1e33f9c9c6ee2bfe0280f1b73d731e3191aa56d

8 years agoliblights: Add BLN support
Arnab Chaudhuri [Sat, 7 May 2016 09:14:00 +0000 (14:44 +0530)]
liblights: Add BLN support

Change-Id: I859416c484777fcf08b5bf8f72ba9f9838e4c1b3

8 years agoAutomatic translation import
Michael Bestas [Sat, 16 Apr 2016 14:52:54 +0000 (17:52 +0300)]
Automatic translation import

Change-Id: I7ef909edb8aef366d7b03c05b0b36e96df531888

8 years agoexynos4: gralloc: we have an ALIGN macro, use it
Simon Shields [Fri, 15 Apr 2016 12:44:30 +0000 (22:44 +1000)]
exynos4: gralloc: we have an ALIGN macro, use it

Change-Id: I1ef089b004d1d1e3f2ae525638954536ca881c7a

8 years agoril: Restore alphabetical order for modem barrier
Christopher N. Hesse [Fri, 15 Apr 2016 16:38:35 +0000 (18:38 +0200)]
ril: Restore alphabetical order for modem barrier

Change-Id: Iae8f7cb6500c16d5b88d8e60d4e7e97ee6539a19

8 years agolibril: add initial support for tss310 modem
messi2050 [Thu, 14 Apr 2016 16:42:26 +0000 (22:12 +0530)]
libril: add initial support for tss310 modem

 - j7elte use tss310

Change-Id: I9bea333de037d4d1c8a9bc2111a3455f56b61c9a
Signed-off-by: messi2050 <mino_forever@yahoo.com>
8 years agolibril: Use a board flag for video call field
Andreas Schneider [Fri, 1 Apr 2016 19:19:59 +0000 (21:19 +0200)]
libril: Use a board flag for video call field

xmm7260 on SLTE doesn't have this flag anymore. Devices which need it
should specify the flag.

Change-Id: I166f579274667919756d3bb90e0b182165525975
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
8 years agoAutomatic translation import
Michael Bestas [Tue, 5 Apr 2016 22:25:38 +0000 (01:25 +0300)]
Automatic translation import

Change-Id: Id8e0b97763e94e1c8108e75cd94de03d422748ec

8 years agolibril: Remove RIL_REQUEST_DIAL_EMERGENCY
Christopher N. Hesse [Sun, 27 Mar 2016 19:31:04 +0000 (21:31 +0200)]
libril: Remove RIL_REQUEST_DIAL_EMERGENCY

This is not part of the standard API, so remove it.
Samsung devices almost always use the RIL_REQUEST_DIAL_EMERGENCY_CALL
hook, so devices should implement that in their specific RIL subclass.

Change-Id: I2cf9eee00a4b5b02e998d8efcbefa87a9ca7b7b4

8 years agoril: fix libril if we don't overwrite the header in our device tree
Andreas Blaesius [Mon, 28 Mar 2016 22:44:45 +0000 (00:44 +0200)]
ril: fix libril if we don't overwrite the header in our device tree

Change-Id: Ic580b80b28c738828f4c19aeb54421d9f98c7d40

8 years agolibril: Move vendor commands header
Christopher N. Hesse [Sun, 27 Mar 2016 19:04:38 +0000 (21:04 +0200)]
libril: Move vendor commands header

Devices can now override this header in the device tree.

Change-Id: I6e3814342ee22513e556ba92264b0c2651722af3

8 years agoAutomatic translation import
Michael Bestas [Sun, 27 Mar 2016 21:50:48 +0000 (00:50 +0300)]
Automatic translation import

Change-Id: I9f757393f0b772d813db58fe42bff9fbc1826ad1

8 years agoMove Advanced Display so exynos5/7 can use it
deadman96385 [Mon, 21 Mar 2016 19:21:38 +0000 (14:21 -0500)]
Move Advanced Display so exynos5/7 can use it

Change-Id: Idc255301f30cff6b41d04db6f14fa421ee9eddb5

8 years agoexynos4: squash opensource libUMP
Javi Ferrer [Thu, 20 Nov 2014 22:35:51 +0000 (04:05 +0530)]
exynos4: squash opensource libUMP

commit f40eeecbe44ee3ca5f4406e8881f6ffe1507d87c
Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date:   Sun Dec 14 16:41:30 2014 +0530

    exynos4: libUMP: fix headers for newer mali driver

    Change-Id: Ia81fa1949d04d809b4c5045269a70d7bab758f4a

commit 8c3792c590c0591647ab5ab59ff74d11e5f8afdd
Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date:   Sun Dec 14 16:38:51 2014 +0530

    exynos4: libUMP: use relative include paths

    Change-Id: If46c68512d0404df0d46734531a6160eb18b7ce5

commit feb6f2c45d4f87655a2f391114946933a128e60c
Author: Javi Ferrer <javi.f.o@gmail.com>
Date:   Fri Nov 21 04:05:51 2014 +0530

    exynos4: open source libUMP

    - Deleted unneeded include ion.h
    - Correct libsecion build
    - Correct gralloc build and bring back ump_ref_drv_ion_import

Change-Id: I1da602ec77d78e5056ea0c37f328c6c1b0e60e00

8 years agoexynos4: commonize AdvancedDisplay [1/3]
Simon Shields [Fri, 18 Mar 2016 12:12:15 +0000 (23:12 +1100)]
exynos4: commonize AdvancedDisplay [1/3]

* show in settings
* drop support lib
* drop unnecessary viewpager/tab bar
* drop unused strings/resources

Change-Id: I90c62d7b106ad744ae698044f6f17a759fcbf8a3

8 years agomodemloader: Use hw.revision instead of ro.revision
Christopher N. Hesse [Tue, 15 Mar 2016 18:43:04 +0000 (19:43 +0100)]
modemloader: Use hw.revision instead of ro.revision

This change requires you to hexedit your cbd binary,
but in turn frees us from having to ignore ro.revision
in init.

Change-Id: I9c43fbbf5895888ea4bceff2a08a5ed8de77b921

8 years agomacloader: add n5100 murata wifi address stable/cm-13.0-ZNH0E
RGIB [Fri, 11 Mar 2016 14:56:23 +0000 (15:56 +0100)]
macloader: add n5100 murata wifi address

Change-Id: I8296825f3d17bfdaccfa990d45598652ab40faaa

8 years agolibsecril-client: Use the correct incall audio paths
Christopher N. Hesse [Tue, 8 Mar 2016 14:50:23 +0000 (15:50 +0100)]
libsecril-client: Use the correct incall audio paths

The modems used in recent Samsung devices use different paths
than older devices apparently.

These values were extracted from hexdumps at the correct data
positions from the device specific libsecril-client.so blobs.

Change-Id: I0547cb1de40130843fee3f1310e1e6aed95195c7

8 years agolibril: Make ST-E Thor M7450 and Intel XMM7260 next gen modems as well
Christopher N. Hesse [Mon, 22 Feb 2016 20:57:39 +0000 (21:57 +0100)]
libril: Make ST-E Thor M7450 and Intel XMM7260 next gen modems as well

Change-Id: I7cacda8cdaf9e285688c06c42ccf6629efc2af9d

8 years agopowerhal: Add set_profile support
Andreas Schneider [Wed, 3 Feb 2016 09:43:47 +0000 (10:43 +0100)]
powerhal: Add set_profile support

Change-Id: I0d7fb8c5a7e5e06c300cbb4b78b6e1013d7bff6a
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
8 years agomacloader: Add another SEMCO mac address half
Christopher N. Hesse [Mon, 29 Feb 2016 16:55:11 +0000 (17:55 +0100)]
macloader: Add another SEMCO mac address half

Order existing SEMCO values while we're at it.

Change-Id: I2b5c8a3e458cbcf41ea78eb953117a6779db2cc0

8 years agoFix memory leaks and use of uninitialized pointers.
Pavel Zhamaitsiak [Tue, 18 Aug 2015 18:40:01 +0000 (11:40 -0700)]
Fix memory leaks and use of uninitialized pointers.

Bug: 23187886
Change-Id: Ic15a02a902b591362b5c52c20afabe511fb0bbb7

8 years agoril: fix $(filter ...) derp
Simon Shields [Wed, 17 Feb 2016 10:10:26 +0000 (21:10 +1100)]
ril: fix $(filter ...) derp

Change-Id: Ic2be936268701bd5f40056e5993ef35f5bd3969d

8 years agoril: Group next gen Samsung modem's in same CFLAG
Brandon McAnsh [Sun, 14 Feb 2016 02:01:05 +0000 (21:01 -0500)]
ril: Group next gen Samsung modem's in same CFLAG

* Sprint variant of zeroflte uses mdm9x35 instead of ss333

Change-Id: Ifa7c1ea51dd57ea4fbeb41560c3a7c4fa65a85c8
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
8 years agocmhw: add SunlightEnhancement/MDNIE Outdoor mode support
Simon Shields [Tue, 9 Feb 2016 07:18:07 +0000 (18:18 +1100)]
cmhw: add SunlightEnhancement/MDNIE Outdoor mode support

Change-Id: I86ea442992a945cf6dcad939aa95f04caa72834c

8 years agolibril: add initial support for ss333 modem
Say [Sun, 13 Dec 2015 08:25:01 +0000 (17:25 +0900)]
libril: add initial support for ss333 modem

zeroflte uses ss333

Change-Id: If3c9d34ea31c06ce23bd8d0236a9f2ddbab3ddc4
Signed-off-by: Say <sktjdgns1189@naver.com>
8 years agopower: Ensure node_path is a string literal
Christopher N. Hesse [Mon, 1 Feb 2016 11:36:54 +0000 (12:36 +0100)]
power: Ensure node_path is a string literal

Change-Id: I20a87b04789e7fe2ae5938331e9d2fcef8134035

8 years agoInitial unified Samsung lights HAL
Christopher N. Hesse [Tue, 26 Jan 2016 11:17:55 +0000 (12:17 +0100)]
Initial unified Samsung lights HAL

Originally written by Andreas Schneider for Slte.

Change-Id: Iccff1e4532bc460896940451093470ece9086fb9

8 years agomodemloader: Fix compilation warnings
Andreas Schneider [Mon, 4 Jan 2016 12:59:17 +0000 (13:59 +0100)]
modemloader: Fix compilation warnings

Change-Id: I2c52b329cfe27e2df2f13213036b533c53e39d42

8 years agoInitial unified Samsung power HAL
Christopher N. Hesse [Mon, 21 Dec 2015 20:28:23 +0000 (21:28 +0100)]
Initial unified Samsung power HAL

This is a power HAL for non-qcom Samsung devices.

It currently supports standard multi-core systems as well as
big.LITTLE configurations.

This HAL auto-detects your touchscreen and touchkey input switches
and handles the interactive state requests.

I also implemented a check to make sure your touchkeys won't turn
on when they're not supposed to (for example when a CMHW class disables
the capacitive buttons and activates a software navigation solution).
This previously needed a kernel hack to make sure the touchkeys wouldn't
be activated when resuming from suspend.

Change-Id: I22888c5ac490c85c417c5457ea4f457f78ed3521

8 years agolibsecril-client: spell AUDIO correctly
Android-Andi [Thu, 7 Jan 2016 10:51:38 +0000 (11:51 +0100)]
libsecril-client: spell AUDIO correctly

Change-Id: I10c3a4bdeb71685049f641018d7a5ef593f999a6