GitHub/LineageOS/android_device_samsung_a7xelte.git
4 years agoa7xelte: Wire up mDNIe features
Paul Keith [Wed, 21 Feb 2018 20:53:05 +0000 (21:53 +0100)]
a7xelte: Wire up mDNIe features

Change-Id: I8b5cc809e9c38334906a6e31ed33b099ddbdfeac

4 years agoa7xelte: manifest: Remove unused soundtrigger HAL
Dario Trombello [Mon, 21 Jan 2019 11:02:44 +0000 (12:02 +0100)]
a7xelte: manifest: Remove unused soundtrigger HAL

Change-Id: I33e3bcc2f7b03679b6dfc0d4daa53be80d299938

4 years agoa7xelte: gps.conf: Use ntp server that is the closest to the user
Borduni [Sat, 19 Jan 2019 23:39:49 +0000 (00:39 +0100)]
a7xelte: gps.conf: Use ntp server that is the closest to the user

Change-Id: Ibe6488d297575a134908d7e243dd7264fca4b22d

4 years agoa7xelte: ramdisk: save/restore the batt_capacity_max value on boot to preserve batter...
Danny Wood [Fri, 14 Dec 2018 08:02:03 +0000 (08:02 +0000)]
a7xelte: ramdisk: save/restore the batt_capacity_max value on boot to preserve battery health

Change-Id: If4d61eb642160a00e4885baed4131c367165875f

4 years agoa7xelte: enable burnIn protection support
Joey Rizzoli [Wed, 30 Aug 2017 14:20:24 +0000 (16:20 +0200)]
a7xelte: enable burnIn protection support

Change-Id: Ic0cdace84af95c32a4e010ab1391f0469442bfc9

4 years agoa7xelte: disable fingerprint sensor when screen is off
Christian Abegg [Sat, 24 Feb 2018 22:22:30 +0000 (23:22 +0100)]
a7xelte: disable fingerprint sensor when screen is off

When the screen is off, the fingerprint sensor scans every second for
a finger which causes unwanted battery drain. Disabling the sensor
when the device is sleeping extends the standby time by a factor of
about 2-3x.
As the fingerprint reader is also the power button, this doesn't
hinder its usage.

Change-Id: I347f5b060723ca663c683786ea10c3efe8a18782
Ref: BUGBASH-1422

4 years agoa7xelte: Add libbauthtzcommon shim
Christopher N. Hesse [Sun, 12 Mar 2017 18:22:23 +0000 (19:22 +0100)]
a7xelte: Add libbauthtzcommon shim

Change-Id: I35eacdf9ac2fece47afb1bfcacb8ae2114cae7c6

# Conflicts:
# BoardConfig.mk

4 years agoa7xelte: fingerprint: add fingerprint hal and configuration
Danny Wood [Fri, 26 Apr 2019 11:49:03 +0000 (12:49 +0100)]
a7xelte: fingerprint: add fingerprint hal and configuration

Change-Id: I489447664e0f608b07553adbfd55ded94fddf0d4

4 years agoa7xelte: bluetooth: Disable eSCO commands to fix bluetooth calling
Danny Wood [Fri, 9 Nov 2018 09:52:02 +0000 (09:52 +0000)]
a7xelte: bluetooth: Disable eSCO commands to fix bluetooth calling

Change-Id: I2b7b9e814b09404c29c888bf6d2e6d68a0a1d6bd

4 years agoa7xelte: remove unused proprietary files
Stricted [Mon, 29 Oct 2018 12:43:19 +0000 (13:43 +0100)]
a7xelte: remove unused proprietary files

Change-Id: I0da03fd14500467ab857f8c5bd1628aacd5902f4

4 years agoa7xelte: Set shipping API level via inherited makefile
Rashed Abdel-Tawab [Sat, 3 Feb 2018 03:39:50 +0000 (19:39 -0800)]
a7xelte: Set shipping API level via inherited makefile

 * PRODUCT_SHIPPING_API_LEVEL is set there

Change-Id: I8adecfbaafb538277f6451a5dbc8abc279bf0c15

4 years agoa7xelte: set dalvik props from stock
Stricted [Thu, 25 Apr 2019 18:04:04 +0000 (19:04 +0100)]
a7xelte: set dalvik props from stock

Change-Id: I8f45aa65563ea217ec2841e431b0d818ee8cf90b

4 years agoa7xelte: set PRODUCT_AAPT_CONFIG
Stricted [Thu, 25 Apr 2019 18:03:45 +0000 (19:03 +0100)]
a7xelte: set PRODUCT_AAPT_CONFIG

Change-Id: Id12f387282c28915bbc7d2d0da64fe9abd36f20f

4 years agoa7xelte: build AdvancedDisplay
Stricted [Thu, 18 Oct 2018 14:49:01 +0000 (16:49 +0200)]
a7xelte: build AdvancedDisplay

Change-Id: I2ebaa180c54b7391f64cfed1a70470323f126c2c

4 years agoa7xelte: build Snap instead of Camera2
Stricted [Thu, 25 Apr 2019 18:03:07 +0000 (19:03 +0100)]
a7xelte: build Snap instead of Camera2

Change-Id: I7ea757907c6c765da2468ce41db9c865f510b422

4 years agoa7xelte: Add device specific overlays
Danny Wood [Thu, 25 Apr 2019 18:02:42 +0000 (19:02 +0100)]
a7xelte: Add device specific overlays

Change-Id: If367a58dd02f8fedb2c90276cfc1b327673f2d4b

4 years agoa7xelte: define permissions for OEM-sensors
Lukas0610 [Sun, 28 Jan 2018 14:51:07 +0000 (15:51 +0100)]
a7xelte: define permissions for OEM-sensors

Change-Id: I0647846dce7e99a1aef6347679a91fd3014ed074

4 years agoa7xelte: build.prop: Add vendor security patch level
Danny Wood [Thu, 25 Apr 2019 17:57:58 +0000 (18:57 +0100)]
a7xelte: build.prop: Add vendor security patch level

Change-Id: I31e5fa8c865f4a339223bd8fca46e44c67b8f30f

4 years agoa7xelte: Add NFC configuration
Danny Wood [Thu, 25 Apr 2019 15:46:55 +0000 (16:46 +0100)]
a7xelte: Add NFC configuration

Change-Id: I11719627a749a80a31afcc0cf2c2b2fba620d794

4 years agoa7xelte: Add device hardware key layout
Danny Wood [Thu, 25 Apr 2019 15:46:36 +0000 (16:46 +0100)]
a7xelte: Add device hardware key layout

Change-Id: I40dd4b4eda728ff64337811a91843bf622b9e81b

4 years agoa7xelte: Specify GMS client id
Dan Pasanen [Tue, 25 Aug 2015 17:39:07 +0000 (19:39 +0200)]
a7xelte: Specify GMS client id

Change-Id: I1ddc93474789971d9f20c883ae5921f53451cdc8

4 years agoa7xelte: enable roaming protocol field
Danny Wood [Thu, 25 Apr 2019 15:43:48 +0000 (16:43 +0100)]
a7xelte: enable roaming protocol field

Change-Id: Iceca9ac12240247abceadc35623de70b55b7f0dd

4 years agoa7xelte: move wifi firmware to /vendor
Danny Wood [Thu, 25 Apr 2019 15:42:58 +0000 (16:42 +0100)]
a7xelte: move wifi firmware to /vendor

Change-Id: I5b565ca6abe7be82f46dcd1c7a0e4006bf252086

4 years agoa7xelte: add permissions
Danny Wood [Thu, 25 Apr 2019 15:42:56 +0000 (16:42 +0100)]
a7xelte: add permissions

Change-Id: I9639348f617d858dbf5177523a974518d7e3dc23

4 years agoa7xelte: add wifi config files
Danny Wood [Thu, 25 Apr 2019 15:42:54 +0000 (16:42 +0100)]
a7xelte: add wifi config files

Change-Id: I7d54c64dbbb9b726647118f3ce8a86c18737d29e

4 years agoa7xelte: shim libcamera_client, libstagefright and libexynoscamera
Danny Wood [Thu, 25 Apr 2019 15:42:50 +0000 (16:42 +0100)]
a7xelte: shim libcamera_client, libstagefright and libexynoscamera

Change-Id: Iacb42ae6531fe1d51360338988e279564a071276

# Conflicts:
# BoardConfig.mk

4 years agoa7xelte: Inherit aosp_base_telephony
Danny Wood [Thu, 25 Apr 2019 15:42:39 +0000 (16:42 +0100)]
a7xelte: Inherit aosp_base_telephony

Change-Id: I11f93f9e9073e671cf9dd6c7f9e376bad3ff8888

4 years agoa7xelte: Add HIDL manifest
Danny Wood [Thu, 25 Apr 2019 15:36:24 +0000 (16:36 +0100)]
a7xelte: Add HIDL manifest

Change-Id: I3e9997b01b71a97de757bf417bc46def5ded3227

4 years agoa7xelte: add system properties
Danny Wood [Thu, 25 Apr 2019 15:36:21 +0000 (16:36 +0100)]
a7xelte: add system properties

Change-Id: Icd3d6309f932ebade2fd661d7f940a8effdf941d

4 years agoa7xelte: Inherit proprietary vendor files
Danny Wood [Thu, 25 Apr 2019 15:36:16 +0000 (16:36 +0100)]
a7xelte: Inherit proprietary vendor files

Change-Id: Ibb0d799562e6cc82f85f3d5f9cfb726f26fc7757

4 years agoa7xelte: amplifier: Fix pcm_open fail case
Christopher N. Hesse [Mon, 27 Aug 2018 06:55:39 +0000 (08:55 +0200)]
a7xelte: amplifier: Fix pcm_open fail case

By default, we try to open card 0 devive 0 to play dummy audio which in
turn enables the amplifier IC clocks for us.

However, in some cases card 0 device 0 is already used when trying to
enable the amplifier - catch this case and avoid a watchdog bite.

Change-Id: I8eb5dc39fd289d0883df1bf71c31024cc3fbe358

4 years agoa7xelte: Pack tfa struct
Christopher N. Hesse [Wed, 18 Jul 2018 08:21:57 +0000 (10:21 +0200)]
a7xelte: Pack tfa struct

Discard any possible padding since all we want to do is have a linear
data container.

Change-Id: Ieb308874f83990c77adc26cfedf4d72ab78023ac

4 years agoa7xelte: amplifier: Fix deadlock
Christopher N. Hesse [Sat, 24 Mar 2018 09:18:36 +0000 (10:18 +0100)]
a7xelte: amplifier: Fix deadlock

If pcm_open() fails with -EBUSY, t->cond is never signaled and
tfa_clock_on() stalls the driver in its while (!tfa_dev->writing) loop
where it waits for the signal to be delivered.

Avoid this by always signaling the calling thread.

Change-Id: I4fd81080e77d5f37963714a5d6b4556c387f5a33
(cherry picked from commit 07b6fbed54c84e8e83f4e3f6ceb89fef81038536)

4 years agoa7xelte: Simplify clock control
Christopher N. Hesse [Sun, 4 Mar 2018 00:00:34 +0000 (01:00 +0100)]
a7xelte: Simplify clock control

The clocks can never be on at this stage, because we explicitly enable
them before starting the amplifier and disable them when we stop it.

Change-Id: Ic28bd30ceb286ba3ffa862aa528959a842e599dc
(cherry picked from commit 21ebcea84f1dfd371685a39d94088b86eed9e083)

4 years agoa7xelte: amplifier: Handle TFA modes
Christopher N. Hesse [Sun, 28 Jan 2018 15:42:03 +0000 (16:42 +0100)]
a7xelte: amplifier: Handle TFA modes

Change-Id: I1220dc21a115a0ec734efb2364446bc71635356f

4 years agoa7xelte: audio: Initial TFA98xx amplifier device implementation
Christopher N. Hesse [Tue, 21 Nov 2017 19:57:41 +0000 (20:57 +0100)]
a7xelte: audio: Initial TFA98xx amplifier device implementation

Change-Id: Icb9d1a3603cd1c6ee6cc9edb22d6018b5c36c237

4 years agoa7xelte: Add audio configuration
Danny Wood [Thu, 25 Apr 2019 15:36:12 +0000 (16:36 +0100)]
a7xelte: Add audio configuration

Change-Id: Ic59fb103bfadc61bb7d26a7d4e7b3e1d9522ff40

4 years agoa7xelte: Add RIL configuration
Danny Wood [Thu, 25 Apr 2019 15:36:09 +0000 (16:36 +0100)]
a7xelte: Add RIL configuration

Change-Id: If39366fd746fb55efeeef906b3bdc64af17ecc9b

4 years agoa7xelte: Add boot animation configuration
Danny Wood [Thu, 25 Apr 2019 15:36:04 +0000 (16:36 +0100)]
a7xelte: Add boot animation configuration

Change-Id: I9e081ccac916482b49f1a35bee5cdeb17aec865c

4 years agoa7xelte: Add GPS config files
Danny Wood [Thu, 25 Apr 2019 15:36:01 +0000 (16:36 +0100)]
a7xelte: Add GPS config files

Change-Id: Ic6fe71e6c9b145877ff85cb0edb191fb46ce389a

4 years agoa7xelte: Set kernel defconfig
Danny Wood [Thu, 25 Apr 2019 15:35:52 +0000 (16:35 +0100)]
a7xelte: Set kernel defconfig

Change-Id: I9417226a048a35cc62cc010cb5a75cde9740ab74

4 years agoa7xelte: Add partition sizes
Danny Wood [Thu, 25 Apr 2019 14:52:29 +0000 (15:52 +0100)]
a7xelte: Add partition sizes

Change-Id: Ia17f45a11511c0559bfc110c3f250c8f33279966

4 years agoa7xelte: add vendor init
Danny Wood [Thu, 25 Apr 2019 14:53:41 +0000 (15:53 +0100)]
a7xelte: add vendor init

Change-Id: Ie0730525b841321884a3ba6de5ee90a6424da40e

4 years agoa7xelte: Add bluetooth configuration
Danny Wood [Thu, 25 Apr 2019 13:30:06 +0000 (14:30 +0100)]
a7xelte: Add bluetooth configuration

Change-Id: I2b437630ae9444979fdcb2e35c060f9394a67657

# Conflicts:
# BoardConfig.mk

4 years agoa7xelte: add proprietary-files.txt
Danny Wood [Thu, 25 Apr 2019 13:26:47 +0000 (14:26 +0100)]
a7xelte: add proprietary-files.txt

Change-Id: I1b324c166c499ac8a1dbe78425b58fd9208f1b64

4 years agoa7xelte: Import common extract-utils
Danny Wood [Thu, 25 Apr 2019 13:10:25 +0000 (14:10 +0100)]
a7xelte: Import common extract-utils

Change-Id: I5fc9ff63c1d49b91d4f9a00c57d8bbfa7ae9c2aa

4 years agoa7xelte: Add lineage.dependencies
Danny Wood [Thu, 25 Apr 2019 13:11:44 +0000 (14:11 +0100)]
a7xelte: Add lineage.dependencies

Change-Id: I3f2f7b0060fa0c6c43a7684c67e3c79ff0c96215

4 years agoa7xelte: Initial device tree
Danny Wood [Thu, 25 Apr 2019 13:08:21 +0000 (14:08 +0100)]
a7xelte: Initial device tree

Change-Id: I27ba9d9b27be581499171d86bb726c8b06331537