GitHub/LineageOS/android_hardware_samsung.git
6 years agoxmm6262: Fix security vulnerability in pre-O rild code.
Sanket Padawe [Thu, 13 Jul 2017 21:19:28 +0000 (14:19 -0700)]
xmm6262: Fix security vulnerability in pre-O rild code.

Remove wrong code for setup_data_call.
Add check for max address for RIL_DIAL.

Bug: 37896655
Test: Manual.
(cherry picked from commit dda24c6557911aa1f4708abbd6b2f20f0e205b9e)

Change-Id: Iea939a369e552ea5a109e7dcc1fa602ac37dc077

9 years agomacloader: Add support to set nvram calibration file. stable/cm-11.0-XNG3C
Andreas Schneider [Mon, 26 Jan 2015 21:56:30 +0000 (22:56 +0100)]
macloader: Add support to set nvram calibration file.

Change-Id: I0eb99ad6084eb8cd4452a91b13dd75384785f5a8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agomacloader: Fix log output and return value.
Andreas Schneider [Mon, 26 Jan 2015 21:49:49 +0000 (22:49 +0100)]
macloader: Fix log output and return value.

Change-Id: Ic306ffd3bffc274406b9c11513a7ae2794578d16
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agomacloader: Use a variable for device type.
Andreas Schneider [Mon, 26 Jan 2015 21:45:26 +0000 (22:45 +0100)]
macloader: Use a variable for device type.

Change-Id: Ice29862ad6aaa15b07d6341893b0b8f1c65152e6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agomacloader: Close file when we don't need it anymore.
Andreas Schneider [Mon, 26 Jan 2015 22:30:13 +0000 (23:30 +0100)]
macloader: Close file when we don't need it anymore.

Change-Id: Ib539b45ed45f1dcfc9eea0475adb9c50d17011b5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agomacloader: Use fchown() to change owner of the cidfile.
Andreas Schneider [Mon, 26 Jan 2015 22:29:18 +0000 (23:29 +0100)]
macloader: Use fchown() to change owner of the cidfile.

Change-Id: Ia99c0ae414366d91b6d0112f50b00630749ea570
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agomacloader: Use fchmod() to change permissions.
Andreas Schneider [Mon, 26 Jan 2015 22:19:03 +0000 (23:19 +0100)]
macloader: Use fchmod() to change permissions.

Change-Id: I18bca9b022dba24403867b022af9d858aad72bc4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agomacloader: Fix build warning with LOG defines.
Andreas Schneider [Mon, 26 Jan 2015 22:14:17 +0000 (23:14 +0100)]
macloader: Fix build warning with LOG defines.

They need to be set before log.h is included or we will get redefiniton
warnings.

Change-Id: I87e971d32139a807998468e6a781e1f39dd7a8e5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agomacloader: Make macloader a C file.
Andreas Schneider [Mon, 26 Jan 2015 21:58:30 +0000 (22:58 +0100)]
macloader: Make macloader a C file.

Change-Id: I6bd4a324cc5a596f2900027615b83f73736d12e0
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agolibrilsec-client: Add support for xmm7260 modem
Andreas Schneider [Fri, 23 Jan 2015 21:41:22 +0000 (22:41 +0100)]
librilsec-client: Add support for xmm7260 modem

Change-Id: If287527a26a1f5c79ec493ad2cd1cd7152ba27db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agoxmm6262: Fix responseCallList() with xmm7260.
Andreas Schneider [Sat, 17 Jan 2015 18:47:32 +0000 (19:47 +0100)]
xmm6262: Fix responseCallList() with xmm7260.

The CallDetails are part of the RIL_Call only the video call flag.

Change-Id: I9cd1d70bfba9cf33aea324a8a787e9521475ed40
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agoxmm6262: Fix bulding libril with debug enabled.
Andreas Schneider [Sat, 17 Jan 2015 17:08:58 +0000 (18:08 +0100)]
xmm6262: Fix bulding libril with debug enabled.

Change-Id: I109bbbf9632a6dda470b6a6efeaf757938cb294c
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years agoril: Add support for xmm7260 modem.
Andreas Schneider [Tue, 13 Jan 2015 07:30:20 +0000 (08:30 +0100)]
ril: Add support for xmm7260 modem.

Change-Id: I1e5ca29188b43c318204967db879010213d7b072

9 years agoBuild RIL for Galaxy Alpha (slte).
Andreas Schneider [Thu, 1 Jan 2015 18:00:04 +0000 (19:00 +0100)]
Build RIL for Galaxy Alpha (slte).

Change-Id: Ia3749bd4c43a2e233e722462dd6423fe8c692177

10 years agoXMM626x: fix Samsung RIL v9 update
Bjørn Mork [Mon, 24 Nov 2014 10:14:56 +0000 (11:14 +0100)]
XMM626x: fix Samsung RIL v9 update

The Samsung proprietary RIL commands are mapped using the
same array as the standard commands. This means that the
MAX and UNSOL_MAX macros must be updated whenever standard
commands are added, or the Samsung commands will noe be
correctly mapped.

Change-Id: Ic9dc6305bfb6d93763445b22cf24d9ee84db98c2
Signed-off-by: Bjørn Mork <bjorn@mork.no>
10 years agolights: Clean up light priorities and dedupe code
Ricardo Cerqueira [Tue, 2 Dec 2014 22:35:52 +0000 (22:35 +0000)]
lights: Clean up light priorities and dedupe code

Attention > Notification > Battery

Change-Id: I53119341182a0278c6c4b06bae52968f9e85e9b6

10 years agomacloader: Add SEMCO3RD and WISOL for BCM4354.
Andreas Schneider [Wed, 19 Nov 2014 10:37:09 +0000 (11:37 +0100)]
macloader: Add SEMCO3RD and WISOL for BCM4354.

Change-Id: I08f407297a974ec87ae51e4580d1c41a380a46d0

10 years agoXMM626x: Update RIL to V9 [1/2] stable/cm-11.0
Andrew Jiang [Sat, 18 Jan 2014 23:04:08 +0000 (18:04 -0500)]
XMM626x: Update RIL to V9 [1/2]

Patch Set 2: Whitespace

Change-Id: I8ed4c470bdaccdcbb116ad2a70e7a2b6bdaf6062

10 years agosamsung: Correct macloader values
JustArchi [Sun, 28 Sep 2014 21:55:36 +0000 (23:55 +0200)]
samsung: Correct macloader values

Detect is done on lower-case, so these records didn't work previously at all

Change-Id: I9a58e89679ed8aeeb194fde60cb90576aac79388

10 years agoomx_core: fix heap corruption when unregistering component
Dheeraj CVR [Thu, 31 Jul 2014 23:56:42 +0000 (05:26 +0530)]
omx_core: fix heap corruption when unregistering component

Change-Id: Ie5c20e48f376054b1fe468274128e4c19c2ef3d1

10 years agosamsung: hardware: Add HighTouchSensitivity class
Xiao-Long Chen [Thu, 11 Sep 2014 22:13:48 +0000 (15:13 -0700)]
samsung: hardware: Add HighTouchSensitivity class

Change-Id: I811f721dab1381d637086782a8fd850051981174

10 years agosamsung: hardware: Set correct file mode for Java files
Ethan Chen [Thu, 11 Sep 2014 21:45:31 +0000 (14:45 -0700)]
samsung: hardware: Set correct file mode for Java files

Change-Id: I8d7ae3cd0fcc9b785ebd0da8a8ba8029adeb20a3

10 years agoHardware: Samsung: simplify CMHW isSupported check
Dave Daynard [Tue, 19 Aug 2014 01:15:21 +0000 (21:15 -0400)]
Hardware: Samsung: simplify CMHW isSupported check

Change-Id: Ia07e20baf5c72dc33394ae48fbacd548592c207f

10 years agoWIP: exynos: SEC_OMX_H264dec.c solve dump when decoding hd and fullhd h264
Javier Ferrer [Sat, 30 Nov 2013 18:20:17 +0000 (19:20 +0100)]
WIP: exynos: SEC_OMX_H264dec.c solve dump when decoding hd and fullhd h264

Trying to open a video in Movie Studio gives a FC if video was taken in resolution 1280x720 or 1900x1080.

I've tested it on my i9300. But don't know the impact on other devices.

Change-Id: Ic2c49b17341846127817391a30d3d78c0c49138e

10 years agoExclude generic camera implementation if TARGET_PROVIDES_CAMERA_HAL
Ricardo Cerqueira [Tue, 20 May 2014 09:09:52 +0000 (10:09 +0100)]
Exclude generic camera implementation if TARGET_PROVIDES_CAMERA_HAL

Change-Id: I91066dfa3d271aa7f909fc8751adb74b622173d2

10 years agoMerge "Fix crash on boot" into cm-11.0
Daniel Hillenbrand [Tue, 25 Feb 2014 06:54:02 +0000 (06:54 +0000)]
Merge "Fix crash on boot" into cm-11.0

10 years agoRevert "hwc: Update to API 1.1"
Ricardo Cerqueira [Sun, 2 Feb 2014 17:36:22 +0000 (17:36 +0000)]
Revert "hwc: Update to API 1.1"

This reverts commit 99f63f2a4fb8037505b34e7665e9b1d717f28d6c.
Derp, this isn't ready to go in.

10 years agohwc: Update to API 1.1
Ricardo Cerqueira [Wed, 15 Jan 2014 16:50:35 +0000 (16:50 +0000)]
hwc: Update to API 1.1

Change-Id: I59a1102bb4d8e9622362c8909b122a3b99c656fd

10 years agoFix crash on boot
Flamefire [Mon, 20 Jan 2014 21:18:05 +0000 (22:18 +0100)]
Fix crash on boot

There is a race condition where the sysfs-vsync thread accesses a value
(in particular a function ptr) that may not have been set yet as this
is done externally.

Change-Id: If1afb1533344e994398b9b6f5bd3dfb125313416

10 years agoexynos4x12: liblights: Fix tablets with button backlight
Ketut Putu Kumajaya [Tue, 7 Jan 2014 05:36:26 +0000 (12:36 +0700)]
exynos4x12: liblights: Fix tablets with button backlight

Also, respect the lights API and return errors when attempting to
configure an absent light ID.

Change-Id: Ida430fba2fbfaf646f7e02ce2bd7d9134ae8d917

10 years agomfcdec: Compensate race condition in video thumbnail generation
Ricardo Cerqueira [Mon, 6 Jan 2014 18:21:01 +0000 (18:21 +0000)]
mfcdec: Compensate race condition in video thumbnail generation

Calling the decoder immediately after encoding a video often
trips on the ongoing mfc buffer flushes from the encoder that has
just shut down, and fails due to the unavailability of any buffer of
sufficient size. If MFC_DEC_INIT fails, give it 100msec and try
again. This resolves the blank thumbs when switching to the
gallery in the same session that a recording was made.

Change-Id: I13b1be8757b314e1c903a0570f9b053550164616

10 years agoexynos3: libs3cjpeg: read memory configuration from kernel
Pawit Pornkitprasan [Fri, 3 Jan 2014 12:13:37 +0000 (19:13 +0700)]
exynos3: libs3cjpeg: read memory configuration from kernel

This improves the flexibility (not all devices have the same FFC
resolution) and also allows optimization of memory usage.

We currently allocate 4 MB to the hardware JPEG encoder, but only
1 MB is actually needed if it's only used for encoding VGA images.
Note that the thumbnail encoding function of the kernel driver is
not used.

This patch is backward compatible with older kernels, but patching
is recommended. Cherry-pick the following commits:

http://review.cyanogenmod.org/56791
http://review.cyanogenmod.org/56792

Change-Id: I0e89b24e56b99e8e27f5a38d5c158b23021ed035

10 years agoAdded more MAC's for murata.
Liam Alford [Thu, 21 Nov 2013 13:55:42 +0000 (13:55 +0000)]
Added more MAC's for murata.

After finding some i9300 devices who's MAC addresses were missing from the list, i searched for all murata MAC's and thought it wise to add them.

Change-Id: I9e0db81cf2b1809b37b1660a4763db82699dd452

10 years agoadd 1c:99:4c as murata mac
golcheck [Mon, 30 Dec 2013 13:22:55 +0000 (13:22 +0000)]
add 1c:99:4c as murata mac

Change-Id: I0e60940524f7e4ef652cdb2a625507d1f983b6dc

10 years agogralloc: Attribute buffer ownership to last caller
Ricardo Cerqueira [Thu, 2 Jan 2014 15:50:59 +0000 (15:50 +0000)]
gralloc: Attribute buffer ownership to last caller

Switch buffer management from creator to latest registrant

Change-Id: If6b1ab1a553f701e4a1038c089f2b2ecb02c2e8b

10 years agoRevert "gralloc: Allow unmapping concurrent handles"
Ricardo Cerqueira [Thu, 2 Jan 2014 15:48:30 +0000 (15:48 +0000)]
Revert "gralloc: Allow unmapping concurrent handles"

This reverts commit a3a9aaa5bbf0a94f1039e3eda368fa8a28ddecf8.

11 years agoFixed Light Exynos 4 sensor not working
herna [Fri, 15 Nov 2013 13:55:25 +0000 (14:55 +0100)]
Fixed Light Exynos 4 sensor not working

Change-Id: I0a59d8ca08e210d879350df42e75acd4365326a3

11 years agoExynos: fix gralloc build
sbrissen [Wed, 6 Nov 2013 18:28:15 +0000 (13:28 -0500)]
Exynos: fix gralloc build

Change-Id: Iae8c7cf947aacb6ec5c952a10a14b9d41c397ed2

11 years agoallow override of cabc file via property cm-10.2-M1
sbrissen [Mon, 28 Oct 2013 19:37:34 +0000 (15:37 -0400)]
allow override of cabc file via property

Note 8's cabc is implemented in mdnie instead of the panel
file like other smdk4x12 devices.

Change-Id: I9bd7c4bb5899cd323e4f6861bf7ceb61f459da05

11 years agogralloc: Allow unmapping concurrent handles
Ricardo Cerqueira [Sun, 27 Oct 2013 19:51:25 +0000 (19:51 +0000)]
gralloc: Allow unmapping concurrent handles

If we allow registering those buffers, we need to let them go, too

Change-Id: I6c2dc862e1e783e2b0d3c7d37d60ebe2290173fa

11 years agogralloc: Allow any process to have multiple buffer handles
Ricardo Cerqueira [Fri, 25 Oct 2013 22:38:52 +0000 (23:38 +0100)]
gralloc: Allow any process to have multiple buffer handles

Change-Id: I670ff7e03b19c07094b506a4422f99c30f06db0e

11 years agomacloader: add f0:27:65 as a murata mac
Dan Pasanen [Fri, 18 Oct 2013 03:21:49 +0000 (22:21 -0500)]
macloader: add f0:27:65 as a murata mac

Change-Id: I895dc26a71253b31a2ee8ae27feeb5feb673a9bf

11 years agoadd exynos tablet flag
Humberto Borba [Mon, 23 Sep 2013 03:12:12 +0000 (00:12 -0300)]
add exynos tablet flag

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Id2a5ce769af9b87d7fbdb415ff7869f593601dc3

11 years agoAllow herring to build s5pc110
Joel Teichroeb [Mon, 9 Sep 2013 21:06:40 +0000 (14:06 -0700)]
Allow herring to build s5pc110

Change-Id: I1dcd00b650c7f1cf3faa8905e0161e70fa3e57f1

11 years agolibril: handle samsungs unsol responses
Daniel Hillenbrand [Wed, 4 Sep 2013 21:46:58 +0000 (23:46 +0200)]
libril: handle samsungs unsol responses

Change-Id: Ia42d9999ba0df93019a8864202f093163f8c3f41

11 years agoAdd Red/Blue LED notification support
sbrissen [Fri, 25 May 2012 13:40:54 +0000 (09:40 -0400)]
Add Red/Blue LED notification support

This will allow the use of the red/blue led's on the sph-d710
Uses BOARD_HAS_LED_NOTIF in boardconfig.

Change-Id: Ic217ed5b0ec673d03bb596fbde0ac725a5ca0887

11 years agoMerge changes I929fcb4f,I5fa96026 into cm-10.2
Daniel Hillenbrand [Mon, 26 Aug 2013 17:42:40 +0000 (17:42 +0000)]
Merge changes I929fcb4f,I5fa96026 into cm-10.2

* changes:
  exynos4x12: liblights: generic button backlight implementation
  exynos4210: liblights: big cleanup

11 years agovibrator intensity: disable tunable framework if not supported
David Daynard [Sun, 25 Aug 2013 13:26:49 +0000 (09:26 -0400)]
vibrator intensity: disable tunable framework if not supported

Change-Id: I6481b82b7ee5412234d42e39f7f5560489f14af3

11 years agoexynos4x12: liblights: generic button backlight implementation
Daniel Hillenbrand [Fri, 23 Aug 2013 20:12:45 +0000 (22:12 +0200)]
exynos4x12: liblights: generic button backlight implementation

http://review.cyanogenmod.org/#/c/48922/

Change-Id: I929fcb4f1c2a912e026328cb09f9be527adbaea9

11 years agoexynos4210: liblights: big cleanup
Daniel Hillenbrand [Fri, 23 Aug 2013 20:08:04 +0000 (22:08 +0200)]
exynos4210: liblights: big cleanup

http://review.cyanogenmod.org/#/c/48922/

Change-Id: I5fa9602649c5d0e902dfc9ba9e50e8197d0dfb76

11 years agoMerge "samsung: hardware: add support for adaptive backlight" into cm-10.2
Daniel Hillenbrand [Thu, 22 Aug 2013 05:00:02 +0000 (05:00 +0000)]
Merge "samsung: hardware: add support for adaptive backlight" into cm-10.2

11 years agosamsung: hardware: add support for adaptive backlight
Daniel Hillenbrand [Wed, 21 Aug 2013 19:25:54 +0000 (21:25 +0200)]
samsung: hardware: add support for adaptive backlight

Change-Id: I59b798e9cac2cf2c6efbe31736d3361f05c81398

11 years agoliblights: exynos4210: fix button off value
Daniel Hillenbrand [Wed, 21 Aug 2013 18:49:48 +0000 (20:49 +0200)]
liblights: exynos4210: fix button off value

since we're writing to the command interface the correct values are:

1 - on
2 - off

Change-Id: I4e61b0eedd1dcfba32319b26cd9e29202f66fcaa

11 years agomacloader: Add one more MAC prefix to murata
XpLoDWilD [Sun, 18 Aug 2013 18:55:38 +0000 (20:55 +0200)]
macloader: Add one more MAC prefix to murata

Change-Id: Ib00ca46608a834a6a5f1e2fe996d56ec98d1ffab

11 years agoremove hw class flag
Daniel Hillenbrand [Sat, 10 Aug 2013 17:01:30 +0000 (19:01 +0200)]
remove hw class flag

Change-Id: I8b368267efa2370eeae2c57371a7517c45856c44

11 years agoMerge "xmm6262: Use xmm6262 libril for xmm6360 modem as well" into cm-10.2
Daniel Hillenbrand [Sat, 10 Aug 2013 14:32:04 +0000 (14:32 +0000)]
Merge "xmm6262: Use xmm6262 libril for xmm6360 modem as well" into cm-10.2

11 years agoxmm6262: Use xmm6262 libril for xmm6360 modem as well
Ethan Chen [Mon, 5 Aug 2013 04:53:29 +0000 (21:53 -0700)]
xmm6262: Use xmm6262 libril for xmm6360 modem as well

* They appear to expose a very similar interface

Change-Id: I6793da25244258adb905e002d05bb60061487c5e

11 years agoSamsung: Add common class for vibrator
Shareef Ali [Fri, 9 Aug 2013 16:34:33 +0000 (11:34 -0500)]
Samsung: Add common class for vibrator

Change-Id: I0802cc122b606b08f58731febd8bf050d22f4c57

11 years agoxmm6262: Update using 4.3 libril.cpp
Ethan Chen [Mon, 5 Aug 2013 05:49:56 +0000 (22:49 -0700)]
xmm6262: Update using 4.3 libril.cpp

Change-Id: Ib884b46448b633b862cadb0f067e3180531858ae

11 years agomacloader: add additional SEMCOSH mac addr
Ethan Chen [Wed, 31 Jul 2013 20:18:51 +0000 (13:18 -0700)]
macloader: add additional SEMCOSH mac addr

Change-Id: Ib0015cb828772b1723d596442df3f7e2e298c2a2

11 years agoMerge "xmm6262: Update to new RIL version" into cm-10.2
Daniel Hillenbrand [Sat, 27 Jul 2013 21:44:14 +0000 (21:44 +0000)]
Merge "xmm6262: Update to new RIL version" into cm-10.2

11 years agoxmm6262: Update to new RIL version
XpLoDWilD [Sat, 27 Jul 2013 19:12:19 +0000 (21:12 +0200)]
xmm6262: Update to new RIL version

Change-Id: I10b3d90861f5332e17ec19985efb83f8d10ae05c

11 years agosamsung: update libril for xmm6260
codeworkx [Sat, 27 Jul 2013 07:02:14 +0000 (09:02 +0200)]
samsung: update libril for xmm6260

Change-Id: Ib5e68bd53fdf5d3db29ce09a975198320337cc52

11 years agoexynos4: gralloc: Remove non-trivial initializers to fix build
XpLoDWilD [Fri, 26 Jul 2013 10:00:13 +0000 (12:00 +0200)]
exynos4: gralloc: Remove non-trivial initializers to fix build

Change-Id: Id21a3506132b2be1ff5a606858d1be2dd897338d

11 years agoNFC refactoring cm-10.1.3-RC1 cm-10.1.3-RC2
Qaweck [Mon, 22 Jul 2013 18:31:23 +0000 (20:31 +0200)]
NFC refactoring

Change-Id: Id239eae364b7e1eddc512acb3516be1c62a726d1

11 years agosamsung: ril: fix inclusion of secril-client
Daniel Hillenbrand [Thu, 11 Jul 2013 14:26:34 +0000 (16:26 +0200)]
samsung: ril: fix inclusion of secril-client

Change-Id: I1266a59d88811fe0b3188dc63b83bace40f54398

11 years agosamsung: Remove multiple inclusion of RIL
Steve Kondik [Tue, 9 Jul 2013 21:32:02 +0000 (14:32 -0700)]
samsung: Remove multiple inclusion of RIL

Change-Id: I2fee28ca533b9c0923d6bc9d736cf2f2284190e0

11 years agoMerge "samsung: move ril client out of exynos4" into cm-10.1
Daniel Hillenbrand [Tue, 9 Jul 2013 16:50:57 +0000 (09:50 -0700)]
Merge "samsung: move ril client out of exynos4" into cm-10.1

11 years agosamsung: libril: some code cleanup
Daniel Hillenbrand [Tue, 9 Jul 2013 16:47:06 +0000 (18:47 +0200)]
samsung: libril: some code cleanup

Change-Id: Ie79369fce7d6c8832c3256c402a485090c177e61

11 years agosamsung: libril: cleanup debugging code
Daniel Hillenbrand [Mon, 8 Jul 2013 23:49:17 +0000 (01:49 +0200)]
samsung: libril: cleanup debugging code

Change-Id: I1429a892071dbd55d8ffa41b304b1612261f4edc

11 years agosamsung: move ril client out of exynos4
Daniel Hillenbrand [Mon, 8 Jul 2013 15:11:45 +0000 (17:11 +0200)]
samsung: move ril client out of exynos4

Change-Id: I8aa0470652c060a531d2cc7f2d8c68d3c40f5f95

11 years agosamsung: add libril for xmm626x modems cm-10.1.0.1
Daniel Hillenbrand [Sun, 7 Jul 2013 08:06:59 +0000 (10:06 +0200)]
samsung: add libril for xmm626x modems

Change-Id: I3064271ac8d563f63b13278944639ab5a29ae87f

11 years agoExynos4x12: liblights: ifdef exynos4x12 tabs
sbrissen [Fri, 21 Jun 2013 13:06:37 +0000 (09:06 -0400)]
Exynos4x12: liblights: ifdef exynos4x12 tabs

Change-Id: I3461a6569bf7d3c65e72cc911282bb3ee8e52bc5

11 years agoexynos4: SecBuffer: add missing c++ ifdefs
Daniel Hillenbrand [Sat, 15 Jun 2013 09:14:35 +0000 (11:14 +0200)]
exynos4: SecBuffer: add missing c++ ifdefs

Change-Id: I6c07d14675e5c6f835401d2660f208db8e757a71

11 years agoexynos4412: update fimg4x
Daniel Hillenbrand [Fri, 14 Jun 2013 14:18:47 +0000 (16:18 +0200)]
exynos4412: update fimg4x

http://git.insignal.co.kr/insignal/origen_quad-jb_mr1.1/android/hardware/samsung_slsi/exynos4/log/?h=origen_quad-jb_mr1.1

Change-Id: Idbcc372285b168fa171e195eed43e20c27182fab

11 years agoFix macloader buffer overflow
Javier Ferrer [Mon, 20 May 2013 23:09:24 +0000 (01:09 +0200)]
Fix macloader buffer overflow

Fixes this log entries.

I/macloader( 1915): Writing murata to /data/.cid.info
D/macloader( 1915): Setting permissions on /data/.cid.info
F/libc    ( 1915): *** vsprintf buffer overflow detected ***
F/libc    ( 1915): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1915 (macloader)

Change-Id: I1ccb257bada18030de76a2be40477172993ca2a0

11 years agoexynos4: hal: include: Exif.h: always keep two decimal places in macros
ghepeu [Fri, 10 May 2013 12:19:23 +0000 (14:19 +0200)]
exynos4: hal: include: Exif.h: always keep two decimal places in macros

The APEX macros always rounded to int, losing too much precision. Ensure
that we always keep at least two decimal digits.

The more precise F-number comes from the value recorded by the camera
closed source driver.

Added a new macro APEX_SHUTTER_TO_EXPOSURE(x) (credit to tryptophane).

Change-Id: Ief43c15c6517d8dc48d4d4bc9e93df9eb01e6b91

11 years agomacloader: add 5C:F8:A1 to murata cm-10.1.0 cm-10.1.0-RC1 cm-10.1.0-RC2 cm-10.1.0-RC3 cm-10.1.0-RC4 cm-10.1.0-RC5
Daniel Hillenbrand [Sun, 5 May 2013 10:41:55 +0000 (12:41 +0200)]
macloader: add 5C:F8:A1 to murata

Change-Id: Ic328f6265ce9e5b09b86843b5dea3f1594d09163

11 years agoexynos4210: lights: add missing brightness check cm-10.1-M2 cm-10.1-M3
codeworkx [Sat, 2 Mar 2013 18:23:50 +0000 (18:23 +0000)]
exynos4210: lights: add missing brightness check

Change-Id: I7d307fbfe7581bfa76e7f4f6ce50f759683bf9dc

11 years agoexynos4: Add open source libsecion.
angelsl [Mon, 18 Feb 2013 10:48:53 +0000 (18:48 +0800)]
exynos4: Add open source libsecion.

This libsecion is reverse engineered from the libsecion.so blob and then
written based on the Exynos 5 libion available in AOSP.

Change-Id: Ibe69047c78491e3c7f3173b18fcabdf327fcfbd0
Signed-off-by: angelsl <hidingfromhidden@gmail.com>
11 years agoexynos3: power: Tuning and cleanups
Steve Kondik [Sat, 9 Feb 2013 03:47:56 +0000 (21:47 -0600)]
exynos3: power: Tuning and cleanups

* Tune the governor for better power usage and interactivity
* Reset tuning parameters if governor changes
* Cleanup

Change-Id: Ibe60ece836a0e56ba58e109bbea26cbd54d75421

11 years agoexynos4: update media headers
codeworkx [Sun, 17 Feb 2013 15:05:49 +0000 (15:05 +0000)]
exynos4: update media headers

Change-Id: Ia6221554d290c46f11c68e276dda41c8ebe3a7ab

11 years agogralloc: Remove hacks cm-10.1-M1
Andrew Dodd [Sun, 13 Jan 2013 19:57:43 +0000 (14:57 -0500)]
gralloc: Remove hacks

Stock gralloc doesn't have these alignment hacks.  In fact
they currently do nothing and won't until we fix HWC.

Change-Id: I3427cf3fed84a023ba6ed69b0e0fe0b63ea00886

11 years agogralloc: Add missing GRALLOC_USAGE_HW_FIMC1 logic
Andrew Dodd [Tue, 18 Dec 2012 22:11:01 +0000 (17:11 -0500)]
gralloc: Add missing GRALLOC_USAGE_HW_FIMC1 logic

This caused the ION pointer to get clobbered with a UMP
pointer when FIMC1 memory was requested.

After a while, camera would be unable to allocate buffers
due to ION memory not being freed properly.

Change-Id: I1ba1d27da924a0bb81631548e83c7f3e5789f319

11 years agoinclude ril for exynos4210
R. Andrew Ohana [Mon, 17 Dec 2012 06:47:37 +0000 (22:47 -0800)]
include ril for exynos4210

Building libsecril-client from source works perfectly well
on the i815. It will probably work well with the gsm devices
as well.

Change-Id: I4f394555d82fb48a86ea52212d9fb56ca0e8acd3

11 years agomacloader: add new murata value
codeworkx [Thu, 13 Dec 2012 16:23:45 +0000 (17:23 +0100)]
macloader: add new murata value

Change-Id: I1bc1aa88ec58f406fcf46a7c118ef577d6b0fb78

11 years agoMerge "hwc: Pull in updates from exynos3 hwc" into mr1-staging mr1-staging
Daniel Hillenbrand [Tue, 11 Dec 2012 12:57:03 +0000 (04:57 -0800)]
Merge "hwc: Pull in updates from exynos3 hwc" into mr1-staging

11 years agohwc: Pull in updates from exynos3 hwc
Andrew Dodd [Mon, 3 Dec 2012 02:50:58 +0000 (21:50 -0500)]
hwc: Pull in updates from exynos3 hwc

Change-Id: I61e1556da3e2d1e9a8b9c22163f4f11982bda7dc

11 years agoMerge "gralloc: Back out hacks now that Mali-derping is fixed" into mr1-staging
Daniel Hillenbrand [Tue, 11 Dec 2012 06:41:07 +0000 (22:41 -0800)]
Merge "gralloc: Back out hacks now that Mali-derping is fixed" into mr1-staging

11 years agoexynos4: libhwcomposer: disable debugging
codeworkx [Sun, 9 Dec 2012 08:51:22 +0000 (09:51 +0100)]
exynos4: libhwcomposer: disable debugging

Change-Id: Iead8beee1c2c40b3c7ce1277c84dc180fb96ecb8

11 years agogralloc: Back out hacks now that Mali-derping is fixed
Andrew Dodd [Sat, 8 Dec 2012 17:27:01 +0000 (12:27 -0500)]
gralloc: Back out hacks now that Mali-derping is fixed

Two reverts squashed, due to Mali-derping being fixed
in frameworks/native:

Revert "gralloc: avoid using framebuffer"

This reverts commit 5125ccc5b6d9a4bf1256a4a57f6d5f7d0ebe26c9.

Revert "gralloc:  Send first 2 FB buffers to carveout and next to UMP"

This reverts commit d288deb284f205c6b0eae04b27377c902afaf24e.

Change-Id: I530dc255b7543e03d0e8277d3ad12ed11d6649ab

11 years agoexynos4: gralloc: fix fimc1/ion logic
codeworkx [Fri, 7 Dec 2012 19:51:05 +0000 (20:51 +0100)]
exynos4: gralloc: fix fimc1/ion logic

Change-Id: I0d125275e4d9ec3b6368572b9c0aa1033969c98d

11 years agoexynos4: gralloc: Do FIMC1 memory allocations from ION instead of FIMC1
Andrew Dodd [Thu, 6 Dec 2012 06:12:38 +0000 (01:12 -0500)]
exynos4: gralloc: Do FIMC1 memory allocations from ION instead of FIMC1

Mobile's blobs behave this way, except they don't do the
4k alignment done by the FIMC1 allocs.

The 4k alignment should fix issues such as NHK World Live TV,
but fails to do so.

Change-Id: I1ee4cd13e23f9f2f6c6616ee9eed1096b571a82c

12 years agogralloc_priv: Remove unused yaddr member
Andrew Dodd [Thu, 6 Dec 2012 05:16:18 +0000 (00:16 -0500)]
gralloc_priv: Remove unused yaddr member

Mobile's blobs don't appear to have been compiled with this
present in their headers, and none of the Insignal sources
actually use this.

Change-Id: Ib8611f6da90ea78aa8eec451c76f56ddb32b45a4

12 years agogralloc: Let } rejoin its people
Andrew Dodd [Wed, 5 Dec 2012 05:47:48 +0000 (00:47 -0500)]
gralloc: Let } rejoin its people

This is the story of poor }.  It is a painful saga.

Samsung left } floating inside the galaxy of framebuffer_alloc,
unable to join its brethren on the planet of STANDARD_LINUX_SCREEN
when they were shifted out of the #ifdef dimension.

codeworkx brutally eliminated poor } from the galaxy, it was
nowhere to be seen.  codeworkx then took pity on the } and
placed it back on the planet of STANDARD_LINUX_SCREEN, but
placed it on a continent where it was all alone, unable to
ever see its mate {

Take pity on poor }, let it rejoin its people on the correct
continent of the planet STANDARD_LINUX_SCREEN, so they may
all shift out of the #ifdef dimension together.

Change-Id: I7a700b73ccd2c91f91d9af3704930759f46978c7

12 years agogralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video
codeworkx [Mon, 3 Dec 2012 21:21:46 +0000 (22:21 +0100)]
gralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video

Change-Id: I340b2bc065490797889aa17c5396cf40e0e7d6ff

12 years agogralloc: avoid using framebuffer
codeworkx [Mon, 3 Dec 2012 20:22:06 +0000 (21:22 +0100)]
gralloc: avoid using framebuffer

Change-Id: I216b4b67f09729d00d337512ab17ff378f218a33

12 years agogralloc: do it the android way
codeworkx [Mon, 3 Dec 2012 17:15:06 +0000 (18:15 +0100)]
gralloc: do it the android way

Change-Id: I54d7cfcbf39a97a340cf5b807537c39584c0e50a

12 years agogralloc: hello }, welcome back at your new home
codeworkx [Mon, 3 Dec 2012 17:11:28 +0000 (18:11 +0100)]
gralloc: hello }, welcome back at your new home

Change-Id: I86f80b78325f37f2d46b0c3b08818ab1274242e9

12 years agogralloc: hello }, what are you doing there?
codeworkx [Mon, 3 Dec 2012 17:05:53 +0000 (18:05 +0100)]
gralloc: hello }, what are you doing there?

Change-Id: Idf59890cb41e97004039a71e4b32f3d263b89482