GitHub/LineageOS/android_device_samsung_a7xelte.git
3 years agoa7xelte: Switch to standalone extract utils
Michael Bestas [Sat, 19 Dec 2020 00:53:35 +0000 (02:53 +0200)]
a7xelte: Switch to standalone extract utils

* Align with templates while we are at it

Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4

3 years agoa7xelte: Move supplicant service init to wpa_supplicant
Jimmy Chen [Thu, 3 Oct 2019 03:24:23 +0000 (11:24 +0800)]
a7xelte: Move supplicant service init to wpa_supplicant

Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4

3 years agoa7xelte: Move graphics composer to hwbinder
Bruno Martins [Thu, 10 Dec 2020 11:32:08 +0000 (11:32 +0000)]
a7xelte: Move graphics composer to hwbinder

The passthrough impl is dead as of Android 11 QPR1.

Change-Id: Ic10e93398363f03551afe39715cb664bbbce1683

3 years agoa7xelte: Add fingerprint configuration to overlay
Kevin Chyn [Thu, 23 Jan 2020 22:19:19 +0000 (14:19 -0800)]
a7xelte: Add fingerprint configuration to overlay

The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45

3 years agoa7xelte: Remove usb entry from manifest
LuK1337 [Fri, 18 Sep 2020 11:10:00 +0000 (13:10 +0200)]
a7xelte: Remove usb entry from manifest

- This is now a vintf fragment

Change-Id: I45b9dfd468c690c257b7ef726d850bc405abf2bc

3 years agoa7xelte: add interface entries to manifest
Jan Altensen [Fri, 25 Sep 2020 06:08:27 +0000 (08:08 +0200)]
a7xelte: add interface entries to manifest

Change-Id: Ic484d1fe184e66d1d5ea1d9448d195f222b8391c

3 years agoa7xelte: Convert IMediaCasService to use vintf_fragments
Peter Kalauskas [Fri, 16 Nov 2018 17:45:37 +0000 (09:45 -0800)]
a7xelte: Convert IMediaCasService to use vintf_fragments

Bug: 119669996
Test: Run cts CtsMediaTestCases
Change-Id: I221cce7860ad667d7507f1ff849af5685ac5f83a

3 years agoa7xelte:: wifi: Remove hostapd hidl entry from manifest.xml
Ahmed ElArabawy [Fri, 6 Dec 2019 03:55:20 +0000 (19:55 -0800)]
a7xelte:: wifi: Remove hostapd hidl entry from manifest.xml

This CL removes the definition for the hostapd hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 145780363
Test: builds and wifi softap works
Change-Id: I2a9cb25209efc94f6306f38d89cb5e1ff6f72bed

3 years agoa7xelte: wifi: Move wpa_supplicant VINTF definition to wpa_supplicant module
Jimmy Chen [Fri, 30 Aug 2019 08:45:09 +0000 (16:45 +0800)]
a7xelte: wifi: Move wpa_supplicant VINTF definition to wpa_supplicant module

Bug: 36505680
Test: atest FrameworksNetTests
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Test: connect EAP access point and verify PMK cache works correctly.
Change-Id: I2c382765b8e84951fc17bb9f1c3785dcd66e7b51

3 years agoa7xelte: wifi: Remove IWifi hidl entry from manifest.xml
Ahmed ElArabawy [Tue, 23 Jul 2019 22:28:34 +0000 (15:28 -0700)]
a7xelte: wifi: Remove IWifi hidl entry from manifest.xml

This CL removes the definition for the IWifi hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 138243400
Test: builds and wifi works
Change-Id: Icaff93193e10d4953d9947d2739b05959ece79f1

3 years agoa7xelte: copy manifest.xml via DEVICE_MANIFEST_FILE
Jan Altensen [Mon, 14 Sep 2020 02:50:22 +0000 (04:50 +0200)]
a7xelte: copy manifest.xml via DEVICE_MANIFEST_FILE

Change-Id: Iaaa12c03abd0f670f0caa6346b75798460094ad5

3 years agoa7xelte: un-commonise the audio effects configuration lineage-17.1
Danny Wood [Fri, 15 Jan 2021 15:43:36 +0000 (15:43 +0000)]
a7xelte: un-commonise the audio effects configuration

Change-Id: If6d936399e613f5f5f65451abd622d67e727fd30

4 years agoa5xelte: overlay: Disable config_cleanupUnusedFingerprints lineage-18.0
Vitaliy Tomin [Sun, 16 Feb 2020 19:48:18 +0000 (21:48 +0200)]
a5xelte: overlay: Disable config_cleanupUnusedFingerprints

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I95ceb85b75ac7d46a3c290c83107e13ba2b34d53

4 years agoa7xelte: update default source for blobs
Jan Altensen [Thu, 6 Aug 2020 14:18:29 +0000 (16:18 +0200)]
a7xelte: update default source for blobs

Change-Id: I1d5e3f90e4caa1807ce44ac54f2b8aaa7a3d44bd

4 years agoa7xelte: commonise GPS config
Danny Wood [Thu, 30 Jul 2020 07:42:45 +0000 (08:42 +0100)]
a7xelte: commonise GPS config

Change-Id: I0182eb040742f3f6189476bc0f16bf6b25e76197

4 years agoa7xelte: Change default BT device name.
Sourajit Karmakar [Thu, 9 Jul 2020 21:07:25 +0000 (17:07 -0400)]
a7xelte: Change default BT device name.

* Reflect the conversion from A5 -> A7.

4 years agoa7xelte: Nuke deprecated WiFi Display overlay
Joshua Primero [Mon, 25 Feb 2019 11:11:50 +0000 (11:11 +0000)]
a7xelte: Nuke deprecated WiFi Display overlay

* Google killed it in Pie
* reference: LineageOS/android_frameworks_av@d0a98fa05

Change-Id: I9bfd354c3e3a3d4c193c3865ac7eae84719c02dc
Signed-off-by: Joshua Primero <jprimero155@gmail.com>
4 years agoa7xelte: wpa_supplicant_overlay: Enable p2p
Dario Trombello [Sat, 20 Jun 2020 20:26:11 +0000 (22:26 +0200)]
a7xelte: wpa_supplicant_overlay: Enable p2p

WiFi direct has been fixed by https://github.com/LineageOS/android_device_samsung_universal7580-common/commit/469e9ed04a0565e63616c1c491b44eb3b56ed5f0

Change-Id: I6d81d403a7effab01c29cb06af63055f029e786d

4 years agoa7xelte: Advertise support for extended length nfc
Paul Keith [Sun, 29 Sep 2019 16:03:40 +0000 (18:03 +0200)]
a7xelte: Advertise support for extended length nfc

* Value obtained from decompiling stock NfcNci.apk

Change-Id: Ib1bcc9f69f3c96dbb359d35af91702f4f89ae1ed

4 years agoa7xelte: proprietary-files: Add default source note
Danny Wood [Sat, 23 May 2020 09:37:43 +0000 (10:37 +0100)]
a7xelte: proprietary-files: Add default source note

Change-Id: I31ca3096ab0e90dd78a050df3ec4a8382c5118ff

4 years agoa7xelte: move libstagefright_shim to system
Jan Altensen [Tue, 12 May 2020 18:13:55 +0000 (20:13 +0200)]
a7xelte: move libstagefright_shim to system

 * setting `proprietary: true,` breaks building of treble devices when this tree is synced aswell

Change-Id: I98f490942bd03c9bd453c1bd14dafafda65ab34c

4 years agoa7xelte: nfc: remove "DEFAULT_ISODEP_ROUTE" definition
Danny Wood [Sat, 7 Mar 2020 09:07:26 +0000 (09:07 +0000)]
a7xelte: nfc: remove "DEFAULT_ISODEP_ROUTE" definition

Samsungs value is incorrect and breaks HCE

Change-Id: If853142ed47d5a1f654364f07465cfa4d3f85739

4 years agoa7xelte: Limit the number of fingerprints to 4
Jesse Chan [Fri, 20 Jan 2017 13:24:11 +0000 (21:24 +0800)]
a7xelte: Limit the number of fingerprints to 4

* FP trustlet limits the number to 4.
* framework-level limitation is also needed
  or FP trustlet would perform incorrectly
  after enrolling more than 4 fingerprints.

Change-Id: I6bfe835e113adc001c4eb3d98a2a937019e1927a

4 years agoa7xelte: fingerprint: enable calling cancel when enrollment completes
Danny Wood [Sat, 22 Feb 2020 06:59:20 +0000 (06:59 +0000)]
a7xelte: fingerprint: enable calling cancel when enrollment completes

Change-Id: I6318a777dc396287f74a0434eb6c59986710cfe6

4 years agoa7xelte: Add vendor.lineage.power to manifest
Rashed Abdel-Tawab [Sat, 3 Feb 2018 03:29:22 +0000 (19:29 -0800)]
a7xelte: Add vendor.lineage.power to manifest

Change-Id: I4278b2161faac4d231fcb082af45afaf313d84db

4 years agoa7xelte: patch libsec-ril.so to point to new gpsd location
Danny Wood [Fri, 24 Jan 2020 10:16:07 +0000 (10:16 +0000)]
a7xelte: patch libsec-ril.so to point to new gpsd location

Change-Id: Ia52b0b1fed021c2d00632da3e2870b0860b65ff1

4 years agoa7xelte: update vendor security patch to 01-11-2018 (A710FXXU2CRK1)
Danny Wood [Tue, 19 Nov 2019 08:41:05 +0000 (08:41 +0000)]
a7xelte: update vendor security patch to 01-11-2018 (A710FXXU2CRK1)

Change-Id: I2123803938c0747b4a9ac547609eb63a13d5d676

4 years agoa7xelte: Use the latest HIDL minor version for wifi, supplicant and hostapd HAL's
Abhishek Srivastava [Thu, 28 Feb 2019 12:28:46 +0000 (17:58 +0530)]
a7xelte: Use the latest HIDL minor version for wifi, supplicant and hostapd HAL's

This commit updates the HIDL version number of Iwifi, ISupplicant, IHostapd HAL's
to the latest.

Change-Id: I2d95b829d5616f6929f112c634906515035fba51
CRs-Fixed: 2412157

4 years agoa7xelte: Add hostapd HIDL interface
Roshan Pius [Thu, 28 Dec 2017 19:26:50 +0000 (11:26 -0800)]
a7xelte: Add hostapd HIDL interface

Bug: 36646171
Test: Manual softap toggle
Change-Id: If3c9ea38317b1fee66a383ad88cabf695748853a

4 years agoa7xelte: init: override ro.system.build.fingerprint to avoid android system warning...
Danny Wood [Tue, 7 Jan 2020 10:22:57 +0000 (10:22 +0000)]
a7xelte: init: override ro.system.build.fingerprint to avoid android system warning on boot

Change-Id: Ia720cef3d0cf8fdf1e957a79dbc68a47f76c1933

# Conflicts:
# init/init_a7xelte.cpp

4 years agoa7xelte: overlay: Enable config_fingerprintPostResetRunnableForAllClients
LuK1337 [Mon, 2 Dec 2019 14:24:18 +0000 (15:24 +0100)]
a7xelte: overlay: Enable config_fingerprintPostResetRunnableForAllClients

Change-Id: I0ffd3fac173c8abbcba5fb3dac54f6a17e701552

4 years agoa7xelte: fingerprint: switch to using the new HIDL based hal
Danny Wood [Mon, 23 Dec 2019 12:00:00 +0000 (12:00 +0000)]
a7xelte: fingerprint: switch to using the new HIDL based hal

Change-Id: I70c3f33e1979637cee343601a1a0fa0074cacb86

4 years agoa7xelte: move binary executables to /vendor
Danny Wood [Tue, 3 Dec 2019 14:44:49 +0000 (14:44 +0000)]
a7xelte: move binary executables to /vendor

Change-Id: Ib977947fc3c94cb629017e43fb9eb80ce2a9cd39

4 years agoa7xelte: un-commonise the libsec-ril blobs
Danny Wood [Wed, 18 Dec 2019 21:19:07 +0000 (21:19 +0000)]
a7xelte: un-commonise the libsec-ril blobs
* Recent A510F basebands no longer work well with the A310F blobs

Change-Id: I120acf2be30b81fea05c3a9a9f48c6bdcf39b2e3

4 years agoa7xelte: Switch from add_lunch_combo to COMMON_LUNCH_CHOICES
Dan Willemsen [Wed, 4 Apr 2018 23:49:07 +0000 (16:49 -0700)]
a7xelte: Switch from add_lunch_combo to COMMON_LUNCH_CHOICES

Bug: 77599627
Test: lunch  [see entries in list]
Change-Id: Id44fcfec47eeb979a745f879031f1bec7359a633

# Conflicts:
# AndroidProducts.mk
# vendorsetup.sh

4 years agoa7xelte: convert libinit to Android.bp
Jan Altensen [Tue, 10 Sep 2019 12:42:07 +0000 (14:42 +0200)]
a7xelte: convert libinit to Android.bp

 * also rename it to avoid collisions while at it

Change-Id: Ibdb0ddbd729201e1be9adc5566ca61a900be7aa4

# Conflicts:
# init/init_a5xelte.cpp

4 years agoa7xelte: Drop module eng tags
Erfan Abdi [Wed, 4 Sep 2019 12:50:32 +0000 (17:20 +0430)]
a7xelte: Drop module eng tags

Change-Id: I2e84d598b2412e617e5575bfdefd804612f76889

4 years agoa7xelte: mixer: change camcorder-mic input to use only the main mic and increase...
Danny Wood [Tue, 27 Aug 2019 13:26:22 +0000 (14:26 +0100)]
a7xelte: mixer: change camcorder-mic input to use only the main mic and increase the input level to match audio level on videos recorded on stock

Change-Id: I93ad574efaaad9e665b91b374f5e74e93fafec5b

4 years agoa7xelte: Remove config_tether_upstream_types
Sam Mortimer [Fri, 16 Aug 2019 18:20:00 +0000 (11:20 -0700)]
a7xelte: Remove config_tether_upstream_types

* Made redundant by enabling config_tether_upstream_automatic
  in vendor/lineage

Change-Id: I0441f36f34546f3dfd6aad664d4c2711d51687ee

4 years agoa7xelte: Add vendorsetup.sh
Nolen Johnson [Tue, 2 Jul 2019 23:43:02 +0000 (01:43 +0200)]
a7xelte: Add vendorsetup.sh

* This enables bash auto-complete for lunch choices.

Change-Id: I706df4cb87943c5cfd2b9dbd90f702f0675f62ca

4 years agoa7xelte: correct fingerprint sensor location
Danny Wood [Sun, 11 Aug 2019 12:33:38 +0000 (13:33 +0100)]
a7xelte: correct fingerprint sensor location

4 years agoa7xelte: use common camera wrapper
Jan Altensen [Wed, 7 Aug 2019 15:21:27 +0000 (17:21 +0200)]
a7xelte: use common camera wrapper

Change-Id: Ia2b44314af49edecc0ee22db26c37cd38493befe

4 years agoa7xelte: proprietary-files.txt: Add sswap to the file list
Danny Wood [Fri, 18 Jan 2019 08:07:13 +0000 (08:07 +0000)]
a7xelte: proprietary-files.txt: Add sswap to the file list

Change-Id: I63e9b04a7796e54039eec7346a1d79217d3d153f

4 years agoa7xelte: Sync extractors with templates
Vladimir Oltean [Fri, 22 Mar 2019 22:37:05 +0000 (22:37 +0000)]
a7xelte: Sync extractors with templates

 * This introduces fixup scripts and kang mode and fixes
   passing of arguments longer than one word,
   such as --section "Hello world".

Change-Id: I42dde659e9bea4f7e1c9a7a3fa8da3243774ca4e

# Conflicts:
# extract-files.sh
# setup-makefiles.sh

4 years agoa7xelte: move permissions and (p2p|wpa)_supplicant_overlay to vendor
Jan Altensen [Thu, 15 Aug 2019 00:04:29 +0000 (02:04 +0200)]
a7xelte: move permissions and (p2p|wpa)_supplicant_overlay to vendor

Change-Id: I22ac92f795e225cccf19f41c06e0e8e89c0a637b

4 years agoa7xelte: add volume buttons as a possible wakeup source
Danny Wood [Tue, 6 Aug 2019 07:15:55 +0000 (08:15 +0100)]
a7xelte: add volume buttons as a possible wakeup source

Change-Id: I74d8b87d7a194d63b57697954c3b49d538be417e

4 years agoa7xelte: configs: wpa_supplicant_overlay.conf sync with stock
Danny Wood [Tue, 5 Mar 2019 16:52:20 +0000 (16:52 +0000)]
a7xelte: configs: wpa_supplicant_overlay.conf sync with stock

Change-Id: I425564732b690cd32abf62331f8b62593fa81f0f

4 years agoa7xelte: add vendor.lineage.trust to manifest.xml
Jan Altensen [Mon, 29 Jul 2019 06:46:22 +0000 (08:46 +0200)]
a7xelte: add vendor.lineage.trust to manifest.xml

Change-Id: Ia66e1429969798b7be8a7aa745234933926f4715

4 years agoa7xelte: Correct TARGET_OTA_ASSERT_DEVICE definition to fix installation on non A510F...
Dario Trombello [Wed, 17 Jul 2019 17:00:00 +0000 (18:00 +0100)]
a7xelte: Correct TARGET_OTA_ASSERT_DEVICE definition to fix installation on non A510F variants

Change-Id: If241dc049215a8390dfa26c619ae41373267e9e2

# Conflicts:
# BoardConfig.mk

4 years agoa7xelte: regenerate manifest.xml
Jan Altensen [Sun, 7 Jul 2019 15:49:09 +0000 (17:49 +0200)]
a7xelte: regenerate manifest.xml

* using `adb shell lshal --init-vintf`

Change-Id: I91bf2998f8ebf622abc7aaff408aba3d63964605

4 years agoa7xelte: audio: Increase volume of the media mic and the camcorder mic
Danny Wood [Fri, 14 Sep 2018 14:45:58 +0000 (15:45 +0100)]
a7xelte: audio: Increase volume of the media mic and the camcorder mic

Change-Id: I199db74e4e3b1141f05dc886b515be691c90f0cd

4 years agoa7xelte: add vendor.lineage.livedisplay and vendor.lineage.touch to device manifest
Jan Altensen [Tue, 29 Jan 2019 11:01:36 +0000 (12:01 +0100)]
a7xelte: add vendor.lineage.livedisplay and vendor.lineage.touch to device manifest

Change-Id: I9a2589c4ae94828682d1d939b713834af88e5c4f

4 years agoa7xelte: dont attempt to download nfc firmware when nfc is off
Jan Altensen [Wed, 26 Jun 2019 01:04:42 +0000 (03:04 +0200)]
a7xelte: dont attempt to download nfc firmware when nfc is off

* property got renamed in lineage-16.0

Change-Id: Iddc9005121a9d90de1635a96d40e28be3fbe1171

4 years agoa7xelte: overlay: enable WiFi background scanning to fix deep sleep and improve power...
Danny Wood [Thu, 23 May 2019 04:53:54 +0000 (05:53 +0100)]
a7xelte: overlay: enable WiFi background scanning to fix deep sleep and improve power saving

Change-Id: I5ba075610baf4a0f85bdb2401047376d8630f4ed

4 years agoa7xelte: proprietary-files.txt: add missing magnetomoter configuration file
Danny Wood [Sun, 12 May 2019 08:10:17 +0000 (09:10 +0100)]
a7xelte: proprietary-files.txt: add missing magnetomoter configuration file

Change-Id: I85073d0b3139bc5fff13b2ca2f8dffcbd0df596b

4 years agoa7xelte: Renamed config_dozeAfterScreenOff
Lucas Dupin [Tue, 20 Mar 2018 23:20:07 +0000 (16:20 -0700)]
a7xelte: Renamed config_dozeAfterScreenOff

New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58

4 years agoa7xelte: Set TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE to true
Kevin F. Haggerty [Wed, 10 Oct 2018 13:06:28 +0000 (07:06 -0600)]
a7xelte: Set TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE to true

* Due to "specialness" in our RIL library, ConnectivityService
  doesn't seem to appropriately add the relevant directly-
  connected routes, meaning that IPv4 mobile data is inoperable
  due to lack of a default route. Let's reenable the legacy netd
  behavior to get our connectivity back.

Change-Id: I59f8476ab36db0fb79856f74346e62e0dd4abae0

4 years agoa7xelte: Set SDK API level for rild
nx111 [Sat, 6 Oct 2018 15:07:54 +0000 (09:07 -0600)]
a7xelte: Set SDK API level for rild

* P made changes to pthread_mutex_init() that are incompatible
  with our libsec-ril libraries. In order for rild to even see a
  radio as being availble we need the legacy behavior.
* Even though our libsec-ril libraries are from 7.0, which is API
  level 24, we do not appear to require any of the other behaviors
  from API levels earlier than 27.

Change-Id: I3b3d0160236df09bdae95c5d9f10a61bf91ebc72

4 years agoa7xelte: move omx to hwbinder
jrior001 [Mon, 10 Sep 2018 07:05:05 +0000 (07:05 +0000)]
a7xelte: move omx to hwbinder

Change-Id: I808001be61d1564c639904f8f14a5772e5ad4f0b

4 years agoa7xelte: rename rild.rc to rild.legacy.rc
Stricted [Sun, 14 Oct 2018 22:28:19 +0000 (00:28 +0200)]
a7xelte: rename rild.rc to rild.legacy.rc

Change-Id: I5bfe3160cf39699f9eaee128d1d6c0aa99a71479

4 years agoa7xelte: binderize android.hardware.camera.provider
Stricted [Sun, 14 Oct 2018 22:27:42 +0000 (00:27 +0200)]
a7xelte: binderize android.hardware.camera.provider

Change-Id: I96d67a2a89e6e3953aac836dfbfc8dcfdbfd5507

4 years agoa7xelte: Uprev to supplicant 1.1
Roshan Pius [Wed, 27 Sep 2017 12:02:12 +0000 (14:02 +0200)]
a7xelte: Uprev to supplicant 1.1

Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3

4 years agoa7xelte: Uprev Wi-Fi HAL to 1.2
Etan Cohen [Thu, 14 Sep 2017 06:42:12 +0000 (08:42 +0200)]
a7xelte: Uprev Wi-Fi HAL to 1.2

New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812

4 years agoa7xelte: Rename libnfc-brcm.conf -> libnfc-nci.conf
Andre Eisenbach [Wed, 6 Dec 2017 15:16:36 +0000 (16:16 +0100)]
a7xelte: Rename libnfc-brcm.conf -> libnfc-nci.conf

Test: manual
Merged-In: I9655a14e021024540cf342022cb817e1f8d0f9ad
Change-Id: I9655a14e021024540cf342022cb817e1f8d0f9ad

4 years agoa7xelte: Consider lineage_a7xelte product via the AOSP way
Bruno Martins [Fri, 10 Aug 2018 11:47:04 +0000 (13:47 +0200)]
a7xelte: Consider lineage_a7xelte product via the AOSP  way

Change-Id: Ibdeb62f0aa30933a09ac12ca825025e5f18574ab

# Conflicts:
# AndroidProducts.mk
# full_a7xelte.mk
# lineage_a5xelte.mk

4 years agoa7xelte: ramdisk: tune VM parameters to fix issues with MTP
Danny Wood [Fri, 17 May 2019 07:40:35 +0000 (08:40 +0100)]
a7xelte: ramdisk: tune VM parameters to fix issues with MTP

Change-Id: I5fc5deeb15594cb81d8200157f86a99394f5d017

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)