Commit graph

1045 commits

Author SHA1 Message Date
Anton Hansson
35020fa942 sdm710-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:35:13 +00:00
rajatgupta1998
05d36b9b1e sdm710-common: remove TARGET_USES_HWC2 flag
* Enabled by default on P
 * d265c42386
2019-10-12 09:31:05 +00:00
SamarV-121
28ab6b40c0 sdm710-common: Enable inline kernel building
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:27:08 +00:00
SamarV-121
054d67fa11 sdm710-common: Rename init.target.rc to init.qcom.rc
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-08 17:01:21 +05:30
SamarV-121
8f49fac150 Revert "sdm710-common: Import fp blobs"
This reverts commit c6e26c8044.
2019-10-07 22:56:00 +05:30
SamarV-121
eea0908f5f Revert "sdm710-common: android.hardware.biometrics.fingerprint >> vendor.oppo.hardware.biometrics.fingerprint"
This reverts commit a1db24fe8f.
2019-10-07 22:55:11 +05:30
SamarV-121
01d35d0c98 Revert "sdm710-common: Add QC location support"
This reverts commit 85cf815a71.
2019-10-07 22:54:39 +05:30
SagarMakhar
8b29969b03 sdm710-common: Copy proximity and light sensor permissions to system
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
2019-10-07 22:51:33 +05:30
SagarMakhar
89867cb9a5 sdm710-common: Build oppo fingerprint hal 2019-10-07 22:38:49 +05:30
Erfan Abdi
22c90c7e61 sdm710-common: Write Fingerprint HAL Adapter
vendor.oppo.hardware.biometrics.fingerprint@2.1 -> android.hardware.biometrics.fingerprint@2.1

Change-Id: Id33db73425bb5e92ef5c45e2f8d40fa462942af3
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
2019-10-07 22:37:09 +05:30
SagarMakhar
1e86d239bc sdm710-common: Import oppo fingerprint hal
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
2019-10-07 22:35:28 +05:30
SagarMakhar
46702f925d sdm710-common: Set HBM on fp press
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
2019-10-07 22:23:43 +05:30
SagarMakhar
8fbdb829a2 sdm710-common: Fix proximity and light sensors
* replace proprietary sensor types with standard ones

Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
2019-10-07 22:22:40 +05:30
SagarMakhar
593b28605f sdm710-common: Import sensors impl
* as it is from hardware/interfaces

Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
2019-10-07 22:20:48 +05:30
SagarMakhar
742d715a2f sdm710-common: fod: Adapt for Realme X
Icon location :
         From stock rom logcat :
                  I android.hardware.biometrics.fingerprint@2.1-service: SDM710P set goodix iconlocation to 273 (pixel:540 2035) (all: 1080 2340), iconsize to 196

         x = 540 - 196/2 = 442
         y = 2035 - 196/4 = 1986
         size = 196

Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
2019-10-07 22:19:53 +05:30
Peter Cai
ff80ac595a sdm710-common: Implement fod hal
* also set fp sensor location overlay

Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
2019-10-07 22:17:59 +05:30
SamarV-121
5bc5545a4d sdm710-common: Fix extraction scripts
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-07 17:57:45 +05:30
Jan Altensen
5f311e6a7f sdm710-common: camera_motor: dont calibrate
* we have no calibration data available and our "defaults" are wrong

Change-Id: I6c5eabc90a7d62b68aa5895a56c5aee1caaa4c04
2019-10-07 17:36:50 +05:30
Jan Altensen
8ccb690079 sdm710-common: camera_motor: handle mid position state
* oppo_motor gets initialized with position in "MID_STATE"

Change-Id: I5bbe50b20910f9ea9950caa081577c7216ed8b06
2019-10-07 17:36:50 +05:30
Jan Altensen
7450d7c4a3 sdm710-common: kang camera motor from guacamole
Change-Id: Ic4dfc1b7d3716d2154be1364aa93400be2a116ff
2019-10-07 17:36:50 +05:30
Wang Han
aa30d9e507 sdm710-common: Clean up fw/b overlay
Change-Id: Ifa2f7a3f914046b19c792cf7fe5491c72cd81a15
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-04 21:37:23 +05:30
Wang Han
fb49adb101 sdm710-common: overlay: Remove config_tether_upstream_automatic
* Enabled globally.

Change-Id: Iee60a13ecd1f63a31b930e348ea2c4522f917b50
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-04 21:37:18 +05:30
Ashwin Ramesh
3219f4ff7e sdm710-common: Add update-sha1sums.sh
* also update sha1sums
Change-Id: I3e0e2806770551cde06f53f25f10884c45fa64c5
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-09-26 02:22:50 +00:00
SamarV-121
b28baea1c5 sdm710-common: Move props to /system/etc/prop.default
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-09-26 01:26:36 +00:00
GuaiYiHu
6f4ccf4ffb sdm710-common: Update blobs from davinci
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-09-26 01:24:22 +00:00
SamarV-121
a9812daf8b sdm710-common: Decommonize system partition size 2019-09-26 01:15:08 +00:00
SamarV-121
dfdfc49973 sdm710-common: Cleanup 2019-09-26 01:15:04 +00:00
luk1337
b4eff72fe7 sdm710-common: Load A2DP configuration from a2dp_audio_policy_configuration.xml
* CAF configuration doesn't really work for us.
2019-09-26 01:14:59 +00:00
bgcngm
44ad53081b sdm710-common: Import and bind mount stock custom audio policy config
* The purpose is to apply the same BT A2DP fix that used to be
   applied in the individual device trees.
2019-09-26 01:14:55 +00:00
SamarV-121
32b2b0193b sdm710-common: Add some system props 2019-09-26 01:13:38 +00:00
SamarV-121
ed958c7712 sdm710-common: camera_motor: Update for RMX1901
Co-authored-by: luk1337 <priv.luk@gmail.com>
Co-authored-by: PeterCxy <peter@typeblog.net>
2019-09-21 14:53:42 +00:00
luca020400
fd9829737d sdm710-common: Import stub camera motor HAL 2019-09-21 14:53:31 +00:00
SamarV-121
6e3a415bd5 sdm710-common: Build snap
* Also add its overlay with camera2api enabled
2019-09-21 14:53:27 +00:00
Luca Stefani
978febd290 sdm710-common: Move soong namespaces to device.mk
* This is a product property

Change-Id: I411428687839fca7c794d488bb48e5f1773e570b
2019-09-21 14:53:22 +00:00
Ethan Chen
5ddb403eb0 sdm710-common: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2019-09-21 14:53:17 +00:00
Luca Stefani
85cf815a71 sdm710-common: Add QC location support
Change-Id: If363679650179a0a7fad7b01055760b49caf26ca
2019-09-14 06:26:35 +00:00
SamarV-121
a1db24fe8f sdm710-common: android.hardware.biometrics.fingerprint >> vendor.oppo.hardware.biometrics.fingerprint 2019-09-14 06:25:52 +00:00
SamarV-121
f0e9dfe754 sdm710-common: Copy fingerprint permission 2019-09-14 06:25:37 +00:00
SamarV-121
c6e26c8044 sdm710-common: Import fp blobs 2019-09-14 06:24:39 +00:00
SamarV-121
f7e8710bff sdm710-common: Define AtFwd and wifi keystore hal in framework manifest 2019-09-14 06:22:41 +00:00
Artem Borisov
564638cf0b sdm710-common: Add QCOM's WFD implementation
* Sadly, out-of-the-box Miracast support was killed in P, so
  we need this to keep Wi-Fi display feature working.

Change-Id: Ieff24313d55a60ca1898430113f0a8b00acfc6a0
2019-09-14 06:21:35 +00:00
jrizzoli
4c9f2c5188 sdm710-common: Build Trust HAL 2019-09-09 14:46:08 +00:00
GuaiYiHu
b77e83d232 sdm710-common: Fix a2dp 2019-09-09 14:44:46 +00:00
luca020400
3e5e42415f sdm710-common: sepolicy: Address neverallows 2019-09-09 14:44:27 +00:00
Bruno Martins
d315f08575 sdm710-common: Doze: Migrate to androidx
Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
2019-08-29 10:03:59 +00:00
Joey
673e03d926 doze: Match Pie settings UI
Change-Id: Ia1cde37923c55faf057189f7085b69522e2802ef
2019-08-29 10:03:49 +00:00
Bruno Martins
56a25429aa Doze: Drop useless SDK dependency
Change-Id: I74901339740b82b79f36754c7e52894a98020c3d
2019-08-29 10:03:42 +00:00
Anton Hansson
d818ef2488 doze: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Bug: 73535841
Change-Id: I61299717ab2a6a1fd9a14dde7e1c7961388f722a
2019-08-29 10:03:32 +00:00
Bruno Martins
e817d534a0 Doze: Add missing preference listeners
* Otherwise, it resulted in Doze service not being activated
   when enabling one of the features for the first time after
   a clean installation.

Change-Id: I625d9109fb85c970f0e59b1cbcabba7d4375d2f3
2019-08-29 10:03:22 +00:00
LuK1337
764f507c35 Doze: Make use of real pickup sensor
* Use it for the pickup feature instead of the tilt sensor

Change-Id: I6172154e0cb0278fc0b7dc31d612f5e8ac619d90
2019-08-29 10:03:11 +00:00