OSDN Git Service

android-x86/hardware-liblights.git
8 years agoinclude the header of malloc/free prototypes marshmallow-x86 nougat-x86 oreo-x86 pie-x86 q-x86 r-x86 s-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6 android-x86-9.0-r1 android-x86-9.0-r2
Chih-Wei Huang [Thu, 15 Oct 2015 16:16:50 +0000 (00:16 +0800)]
include the header of malloc/free prototypes

Fixes building errors of marshmallow-x86 for the 64-bit target.

Also fixes the warning of unused parameter 'dev'.

9 years agoenable multiarch builds lollipop-x86
Chih-Wei Huang [Thu, 6 Nov 2014 03:27:49 +0000 (11:27 +0800)]
enable multiarch builds

Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
to support 64-bit targets.

9 years agointel: panel max_brightness can be > 65536 kitkat-x86 android-x86-4.4-r1 android-x86-4.4-r2 android-x86-4.4-r3
Tanguy Pruvot [Sun, 8 Jun 2014 23:19:23 +0000 (01:19 +0200)]
intel: panel max_brightness can be > 65536

This can produce int divide by 0 on Acer 1425P.

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years agosearch some known directories under /sys/class/backlight
Chih-Wei Huang [Fri, 7 Feb 2014 15:20:00 +0000 (23:20 +0800)]
search some known directories under /sys/class/backlight

10 years agoenlarge the read buffer jb-x86
Chih-Wei Huang [Sun, 18 Aug 2013 14:58:46 +0000 (22:58 +0800)]
enlarge the read buffer

As Michael Cunningham suggested, intel_video has more digits.

11 years agosearch brightness under /sys/class/backlight automatically
Chih-Wei Huang [Wed, 27 Feb 2013 17:06:49 +0000 (01:06 +0800)]
search brightness under /sys/class/backlight automatically

11 years agofix compatibility issues of jb-x86
Chih-Wei Huang [Tue, 8 Jan 2013 10:53:38 +0000 (18:53 +0800)]
fix compatibility issues of jb-x86

* LOGx -> ALOGx
* Remove constness of struct hw_module_t

12 years agoset default values of backlight properties ics-x86
Chih-Wei Huang [Mon, 6 Feb 2012 13:18:37 +0000 (21:18 +0800)]
set default values of backlight properties

The default values should be suitable for most netbooks/tablets.

12 years agoupdate to new liblights by Stefan Seidel
Chih-Wei Huang [Mon, 6 Feb 2012 12:35:41 +0000 (20:35 +0800)]
update to new liblights by Stefan Seidel

12 years agoinitial import froyo-x86 android-x86-2.2-r2
Chih-Wei Huang [Sat, 30 Apr 2011 14:27:28 +0000 (22:27 +0800)]
initial import