GitHub/LineageOS/android_hardware_samsung.git
7 years agoRevert "audio: Remove unused screen_state parameter"
Andreas Schneider [Thu, 9 Feb 2017 09:45:21 +0000 (10:45 +0100)]
Revert "audio: Remove unused screen_state parameter"

We want that to avoid an error message in the log, so revert the
revomal.

This reverts commit cdad20da45269c9c5d7308f7d63de1350e04d94d.

Change-Id: Ic90cd6b02e5b3e8aae73d824153c3084643a8acc

7 years agoaudio: Improve error message for RILD connection
Andreas Schneider [Wed, 8 Feb 2017 18:27:46 +0000 (19:27 +0100)]
audio: Improve error message for RILD connection

We need to make it more prominent so people recognize it and fix their
connection.

Change-Id: I36218ac130351b053f7fda2319d797885ac0930e

7 years agoaudio: Initialize the radio voice session
Christopher N. Hesse [Thu, 2 Feb 2017 19:48:56 +0000 (20:48 +0100)]
audio: Initialize the radio voice session

This just allocates the structre and creates the RIL connection. This is
per audio_device structure to make sure we to not run into issues with
audioserver threading.

Change-Id: I42e1b7ae57579f39c5f76566ef5b67d4e2c13e3f

7 years agoaudio: Add ril_interface to talk to radio
Christopher N. Hesse [Fri, 10 Feb 2017 20:20:30 +0000 (21:20 +0100)]
audio: Add ril_interface to talk to radio

This is based on previous work for tuna, i9300,
i9500 and many other devices.

Change-Id: Ie94f12ee7940ffae84aec5e409a2a831b34d616f

7 years agoaudio: Create a structure for voice to group values
Andreas Schneider [Thu, 2 Feb 2017 17:29:12 +0000 (18:29 +0100)]
audio: Create a structure for voice to group values

Change-Id: I184d39460aa8a9a3ee5efc5fe3aa63e99a2e9d12

7 years agomacloader: Rework mac address half classification
Christopher N. Hesse [Thu, 9 Feb 2017 18:17:06 +0000 (19:17 +0100)]
macloader: Rework mac address half classification

 * Don't return in the middle of a function, set the
   return code and jump to the exit point instead.
 * Close file pointers properly.
 * Unify error code returns (macloader will always exit
   with -1 on error now).

Change-Id: I32ac8ea85fcbabed45550a4d176ac999eff9f9e9

7 years agoaudio: Add a delay for DSP firmware loading
Andreas Schneider [Thu, 2 Feb 2017 15:11:14 +0000 (16:11 +0100)]
audio: Add a delay for DSP firmware loading

This is turned off by default.

Change-Id: Idf764933c67e6666cb2cc0043fa7a7e86935488d

7 years agopower: Add support for POWER_HINT_CPU_BOOST
Christopher N. Hesse [Mon, 16 Jan 2017 22:39:48 +0000 (23:39 +0100)]
power: Add support for POWER_HINT_CPU_BOOST

Change-Id: I75030eb2dabfed518e961d71efb9d55670d2808a

7 years agomacloader: Add another SEMCO mac address half
Christopher N. Hesse [Thu, 9 Feb 2017 17:00:32 +0000 (18:00 +0100)]
macloader: Add another SEMCO mac address half

http://hwaddress.com/?q=d8%3Ac4%3Ae9

Change-Id: I80c7be6cb61d8eea1be72118104b1cd2397d48a1

7 years agomacloader: Add default NVRAM calibration path
Paul Keith [Wed, 8 Feb 2017 03:06:56 +0000 (21:06 -0600)]
macloader: Add default NVRAM calibration path

* This also causes NVMRAM calibration to be on by default
* Most devices should be using this, so don't make them override

Change-Id: Ied6e8f4ebd131ae992814bf83c9e7bb379ca9d79
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
7 years agomacloader: Allow overriding non-standard paths
Paul Keith [Tue, 7 Feb 2017 18:30:45 +0000 (12:30 -0600)]
macloader: Allow overriding non-standard paths

* Follow the rest of the hals

Change-Id: Ib3bf92b3e975d96586802a1473c589fc9536ad40
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
7 years agofingerprint: bauth: convert % completed to remaining
Jesse Chan [Sun, 5 Feb 2017 10:53:42 +0000 (18:53 +0800)]
fingerprint: bauth: convert % completed to remaining

* Samsung uses fingerprint enrollment % completed
  while AOSP uses fingerprint sample remaining.

* This patch converts this data to AOSP-friendly one via (x = 100 - x).

Change-Id: I27034cb148e0f33f7d3efae9c75123715452f178
Signed-off-by: Jesse Chan <jc@linux.com>
7 years agoadd Samsung BAUTH Fingerprint HAL
Jesse Chan [Sun, 5 Feb 2017 13:18:09 +0000 (21:18 +0800)]
add Samsung BAUTH Fingerprint HAL

Change-Id: I3c0d3e2a0f9b77f0202cbdb0a75a00b760afcd8c

7 years agoril: Align to AOSP libril
Christopher N. Hesse [Tue, 7 Feb 2017 21:21:27 +0000 (22:21 +0100)]
ril: Align to AOSP libril

 * Adjusted whitespace to minimize diffs
 * Plugged memory leaks
 * Fix use-after-free
 * Use calloc instead of alloca
 * Reworked the Samsung request/response code to be
   more readable

Change-Id: Ifd07b525fc84e8a3fca584d4d412785974ca3482

7 years agolibsecril-client: Fix logging
Andreas Schneider [Wed, 8 Feb 2017 15:52:54 +0000 (16:52 +0100)]
libsecril-client: Fix logging

Change-Id: I370e70ebfb8fca3d610cdf58c8ac793844d23cb8

7 years agoaudio: Allow playback on earpiece too
Fevax [Wed, 8 Feb 2017 08:52:12 +0000 (09:52 +0100)]
audio: Allow playback on earpiece too

For VoIP we need to have output on the earpiece.

Change-Id: I5c5488a184b3efe4f95a2d0602ad286b1eba7780

7 years agomacloader: Decapitalize wisol MAC addresses
Paul Keith [Tue, 7 Feb 2017 20:27:33 +0000 (14:27 -0600)]
macloader: Decapitalize wisol MAC addresses

* These should be lowercase, otherwise detection will fail

Change-Id: Ibdc446a8f9c58bc9b17b8e9c6cfd5f4894f7ecff
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
7 years agoaudio: in_call is a bool type
Andreas Schneider [Thu, 2 Feb 2017 17:33:40 +0000 (18:33 +0100)]
audio: in_call is a bool type

Change-Id: Ie8db6ddac7f3cb64acd4bf95be00744754a2907d

7 years agoaudio: Remove unused audio routes
Andreas Schneider [Wed, 1 Feb 2017 15:34:00 +0000 (16:34 +0100)]
audio: Remove unused audio routes

Change-Id: Ia3670f075369eb721e12588c5c6f0b3525a51e67

7 years agolibsecril-client: Turn off logging by default
Andreas Schneider [Mon, 6 Feb 2017 17:23:19 +0000 (18:23 +0100)]
libsecril-client: Turn off logging by default

Change-Id: I4fabfafbf593c9a08e33698adbe488998c610610

7 years agolibsecril-client: Use RLOG
Andreas Schneider [Mon, 6 Feb 2017 17:19:39 +0000 (18:19 +0100)]
libsecril-client: Use RLOG

The radio log prints use-Rlog/RLOG-RILClient as the prefix, so we should
use RLOG and not ALOG.

Change-Id: I5c217cca9510948871b4157f69361c869dea2a01

7 years agolibril: Use RLOG
Andreas Schneider [Mon, 6 Feb 2017 17:18:25 +0000 (18:18 +0100)]
libril: Use RLOG

Change-Id: I6b7ed9fc11b03669c3cb4405c25509c6b00401e3

7 years agoexynos4x12: use common samsung liblights
Simon Shields [Tue, 31 Jan 2017 13:17:21 +0000 (00:17 +1100)]
exynos4x12: use common samsung liblights

Change-Id: I5615413d5427177af0d161cfac24e98e18bf017b

7 years agoAutomatic translation import
Abhisek Devkota [Sun, 5 Feb 2017 00:22:02 +0000 (16:22 -0800)]
Automatic translation import

Change-Id: I3bb868755965b072319ff5a4ddaebb32c2f3c4ac

7 years agoadd a common mkbootimg.mk to quiet "KERNEL IS NOT SEANDROID ENFORCING" warning
Jesse Chan [Wed, 1 Feb 2017 16:22:09 +0000 (00:22 +0800)]
add a common mkbootimg.mk to quiet "KERNEL IS NOT SEANDROID ENFORCING" warning

* dtimage part is taken from vendor/cm

Change-Id: I243af7a0158ea64fe4c524e98f084b073944f5bb

7 years agoaudio: Disable support for IRQ affinity by default
Andreas Schneider [Tue, 31 Jan 2017 10:48:22 +0000 (11:48 +0100)]
audio: Disable support for IRQ affinity by default

Change-Id: I410f0037747149471a1d5fe7cf38720121938822

7 years agoaudio: Correctly handle out of memory conditions
Andreas Schneider [Tue, 31 Jan 2017 07:17:32 +0000 (08:17 +0100)]
audio: Correctly handle out of memory conditions

Change-Id: Id7e0ab1085d3e38c1eaa7905a17726e9d1a68cc9

7 years agoaudio: Make speaker swap on screen rotation optional
Andreas Schneider [Mon, 30 Jan 2017 21:36:25 +0000 (22:36 +0100)]
audio: Make speaker swap on screen rotation optional

Change-Id: I73623629c4418bff8178793d856d8da98b694283

7 years agoaudio: Remove unused screen_state parameter
Andreas Schneider [Mon, 30 Jan 2017 21:35:18 +0000 (22:35 +0100)]
audio: Remove unused screen_state parameter

Change-Id: I3359e5e6c0d49bc5067f3a78f2f5a1b087c7ae4b

7 years agoaudio: Remove tty_mode which we do not support
Andreas Schneider [Mon, 30 Jan 2017 21:33:56 +0000 (22:33 +0100)]
audio: Remove tty_mode which we do not support

Change-Id: Ifdde7e0ae6b6f1a293d6fa50625ab70ba1fc63a1

7 years agoaudio: s/handset/earpiece/g
Christopher N. Hesse [Tue, 31 Jan 2017 20:59:54 +0000 (21:59 +0100)]
audio: s/handset/earpiece/g

HANDSET is too similar to HEADSET.
Choose a better name instead and call it EARPIECE
like everyone else.

Change-Id: Ida986366e2ef16cb422cba6ecaeedbe8c1ae9908

7 years agoaudio: Implement get_capture_position()
Christopher N. Hesse [Thu, 12 Jan 2017 10:40:30 +0000 (11:40 +0100)]
audio: Implement get_capture_position()

Change-Id: Ib9f637d30774b2a9aa23e6958ce5465d90eae467

7 years agoaudio: improve read/write timing for streams
Christopher N. Hesse [Sat, 7 Jan 2017 23:03:23 +0000 (00:03 +0100)]
audio: improve read/write timing for streams

Change-Id: Ic4231c4b44369a9438c6c94622b90862047e9a32
Reference: https://github.com/LineageOS/android_hardware_libhardware/commit/0caeee8ac429dd8098e97b2cd8ad3751031a5b67

7 years agoaudio: Use C99 initializers in read_frames()
Andreas Schneider [Tue, 31 Jan 2017 07:18:34 +0000 (08:18 +0100)]
audio: Use C99 initializers in read_frames()

Change-Id: I69d9ac00dbd7126682c66087804c2b33cf6c86bc

7 years agoaudio: Fix memory leak when preprocessing is disabled
Andreas Schneider [Mon, 30 Jan 2017 09:57:06 +0000 (10:57 +0100)]
audio: Fix memory leak when preprocessing is disabled

Change-Id: Ia168de215200ae9e1f4740cf5623b39058b3797c

7 years agoaudio: Allow targets to override the deep buffer device
Christopher N. Hesse [Mon, 30 Jan 2017 17:57:20 +0000 (18:57 +0100)]
audio: Allow targets to override the deep buffer device

Change-Id: I539403661e40e5be7eb5cc130a4b8ad8331d2a4a

7 years agoaudio: Move card specfic defines to a header
Christopher N. Hesse [Sat, 28 Jan 2017 13:18:10 +0000 (14:18 +0100)]
audio: Move card specfic defines to a header

Change-Id: Iec74ee5c4c0cf93e3a7413901e128b76cf708dbb

7 years agoaudio: Factor out offload code
Christopher N. Hesse [Sat, 28 Jan 2017 13:42:48 +0000 (14:42 +0100)]
audio: Factor out offload code

Change-Id: I94a592262016d954318dab3d1339504e54f83681

7 years agoaudio: Rename header guard macro
Christopher N. Hesse [Sat, 28 Jan 2017 13:05:39 +0000 (14:05 +0100)]
audio: Rename header guard macro

Change-Id: I350616da3ba98965d2dcdd533e57d77b0ac7e41a

7 years agoaudio: Update module name/author
Christopher N. Hesse [Sat, 28 Jan 2017 13:02:15 +0000 (14:02 +0100)]
audio: Update module name/author

Change-Id: I744742d6be18a4b599e58f3c005154d5a944bd0f

7 years agoaudio: Remove dummybuf headphone GPIO code
Christopher N. Hesse [Sun, 29 Jan 2017 13:55:29 +0000 (14:55 +0100)]
audio: Remove dummybuf headphone GPIO code

Change-Id: I004ac324df61f37083858c6a5f01f093ad19f98b

7 years agoaudio: Remove HTC acoustic amplifier code
Christopher N. Hesse [Sat, 28 Jan 2017 11:46:15 +0000 (12:46 +0100)]
audio: Remove HTC acoustic amplifier code

Change-Id: Id9ea8f1eb9403d171150fd5f15c7ec431c4a1504

7 years agoaudio: Import N HAL from flounder
Christopher N. Hesse [Sat, 28 Jan 2017 11:40:45 +0000 (12:40 +0100)]
audio: Import N HAL from flounder

HEAD:
Turn off excess logging
Change-Id: I77d6eaf4ac31d969fd42e9a96418203bc682476f

Change-Id: I1cbcbf16ab617b676defcce49335d6f4190e63a9

7 years agoRevert "allow override of cabc file via property"
Zhao Wei Liew [Tue, 24 Jan 2017 13:55:20 +0000 (21:55 +0800)]
Revert "allow override of cabc file via property"

A quick search reveals that only 1 device uses this - kona.

Instead of adding a system prop for this, that one device
can add its own AdaptiveBacklight class. This allows kona to
use AdaptiveBacklight without having to modify the common class.

This reverts commit c11396ecc6738126e84f6262fecbd6021ca20abd.

Change-Id: Id912091f64da39a10d30c9770f248cf6467e8760

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 25 Jan 2017 21:49:12 +0000 (13:49 -0800)]
Automatic translation import

Change-Id: I23653a0bd1d2e84ae0464b003f2b9391617c3907

7 years agopower: Make boostpulse_warned static
Christopher N. Hesse [Wed, 25 Jan 2017 21:41:05 +0000 (22:41 +0100)]
power: Make boostpulse_warned static

Change-Id: I8bd557c637402922702fcb75a1c0633947ded41a

7 years agopower: Add PROFILE_MAX to enum
Christopher N. Hesse [Mon, 16 Jan 2017 23:01:15 +0000 (00:01 +0100)]
power: Add PROFILE_MAX to enum

Change-Id: If7349c98598d346f5b03b32dceb5f797c8b02ce7

7 years agopower: Directly compare chars
Christopher N. Hesse [Mon, 16 Jan 2017 22:59:20 +0000 (23:59 +0100)]
power: Directly compare chars

Change-Id: I6da2d9cfcecd7177e2c1a74051e2ad46e2349f64

7 years agoAdded new murata, semco and wisol addresses
Fevax [Tue, 24 Jan 2017 22:32:17 +0000 (19:32 -0300)]
Added new murata, semco and wisol addresses

(needed by exynos8890 - bcm4359)

Change-Id: Ie890d8b1370650a81b52a6c1b2c5cf5cd896b500

7 years agocmhw: Add reading mode
Luca Stefani [Sun, 22 Jan 2017 13:27:41 +0000 (13:27 +0000)]
cmhw: Add reading mode

Change-Id: Id6c4ab0c081afb2f9fae6e6c5b776c093f377e97

7 years agopower: Remove unused local variables
Christopher N. Hesse [Mon, 16 Jan 2017 22:45:28 +0000 (23:45 +0100)]
power: Remove unused local variables

Change-Id: I8f45398eba884fee3c3833a67f37ffd28186cf24

7 years agopower: Consolidate verbose logging
Christopher N. Hesse [Mon, 16 Jan 2017 21:49:06 +0000 (22:49 +0100)]
power: Consolidate verbose logging

Change-Id: I8b2a5d9c625273220d43a3d39e6fd977bbc1247d

7 years agopower: Update module author
Christopher N. Hesse [Mon, 16 Jan 2017 21:47:59 +0000 (22:47 +0100)]
power: Update module author

Change-Id: I4ec64beb57729f5dd299ae04a68770e4f5943c61

7 years agopower: Remove outdated comments
Christopher N. Hesse [Mon, 16 Jan 2017 21:47:11 +0000 (22:47 +0100)]
power: Remove outdated comments

Always redirect to power.h for updated documentation.

Change-Id: I066f3b6f83483bdf3a0db315c1381c670df47b12

7 years agodtbhtool: Do not force utilities to be built
Christopher N. Hesse [Mon, 16 Jan 2017 21:18:43 +0000 (22:18 +0100)]
dtbhtool: Do not force utilities to be built

Change-Id: I8b7a8cffae296328bb557852b2d44ba406923a7e

7 years agoRevert "dtbhtool: Add LOCAL_MODULE_TAGS := optional"
Christopher N. Hesse [Mon, 16 Jan 2017 23:19:01 +0000 (00:19 +0100)]
Revert "dtbhtool: Add LOCAL_MODULE_TAGS := optional"

Superflous commit, see:
http://source.android.com/source/add-device.html.

This reverts commit 7598a16084a6aa1f708bea3c6448f824f73db851.

Change-Id: I75af8b68b8dc07a27d1bc2bf23550f3c1c8ddb77

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

8 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