Commit Graph

192 Commits

Author SHA1 Message Date
Arian
63f98f11b6
davinci: drm: Build HAL
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I3b0d2752a5955b326f5ae6e64f29c2888bf101c5
2020-08-06 21:28:07 +02:00
Demon000
469b83455f
davinci: nfc: Correct autonomous mode property name
Change-Id: Id37d456aac9c56286c147c48aa6fd03c83162776
2020-08-06 21:28:07 +02:00
Demon000
53b52c918d
davinci: nfc: Remove duplicate props
Change-Id: Id22566d388ac790311aaa649243354f4d9eb55e4
2020-08-06 21:28:07 +02:00
Arian
71b0a29228
davinci: nfc: Import firmware
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I4aead1666b0eb31e85e333b85ab929384c1900d5
2020-08-06 21:28:07 +02:00
Arian
00a40b818f
davinci: nfc: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Ice2314e05fea0023679a8fa6b053c1d4a7ccf1e6
2020-08-06 21:28:07 +02:00
Arian
8c75fd775c
davinci: nfc: Import configs
Change-Id: I965f7ec1069e0d9de161fbd9d909cf3d5ee2e6e9
2020-08-06 21:28:07 +02:00
Demon000
646adbe60c
davinci: nfc: Compile NQ stack
Change-Id: Ib381f2546fac56e89203311cde18eb16a42b3daa
2020-08-06 21:28:07 +02:00
LuK1337
51b336e50c
davinci: media: Remove unsupported profiles
Change-Id: Iec2bbd4d3701cf10ab09ab18f15a1c31190a9a73
2020-08-06 21:28:07 +02:00
Arian
2665ed65cb
davinci: Copy common media configs from the media HAL
Change-Id: Idc629ea4d357d5dda2d99ccbea01d32a7f9e0cc3
2020-08-06 21:28:07 +02:00
Arian
aebb9e2226
davinci: media: Import configs
Change-Id: I0b7f476fb0ce49bb8bd958378e0e546c7c09edc8
2020-08-06 21:28:07 +02:00
Arian
3953705a46
davinci: media: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I4d7fddfb64418921173830e4771c4d07ce6057af
2020-08-06 21:28:07 +02:00
PIPIPIG233666
411e2502d9
davinci: media: Disable UBWC
Change-Id: If28a6bce43640b854a66b51944575a892da6bdbc
2020-08-06 21:28:07 +02:00
Demon000
786a38172a
davinci: media: Build OSS stack
Change-Id: I555f845a389c1cb5a6aef6578343d94e049e212d
2020-08-06 21:28:07 +02:00
Arian
233e65f887
davinci: perf: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I4e2755ede6651b18408016e39989fc69a247f540
2020-08-06 21:28:07 +02:00
Arian
f83ffb4f07
davinci: touchscreen: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Iee8dde280391c11a69e6843f9185cd967b1799a5
2020-08-06 21:28:07 +02:00
Arian
fbba17a8a8
davinci: touchscreen: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I0656ca048e4b2670a6e3545d8f8f788491798a6d
2020-08-06 21:28:07 +02:00
Arian
1c8aea0c64
davinci: graphics: Build libtinyxml from source
Change-Id: I2eb407dedf02ec277277c9681552011f87f16caf
2020-08-06 21:28:07 +02:00
Arian
d8a328f6dc
davinci: graphics: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Id89a554b74bc8827735478b04e827a3e4b80e213
2020-08-06 21:28:07 +02:00
Arian
c5b716ac1d
davinci: graphics: Build libvulkan
Change-Id: I6c579062982f20bc8223035d76e1e1e926122384
2020-08-06 21:28:07 +02:00
Demon000
6dc37c641e
davinci: graphics: Build renderscript stack
Change-Id: I63a4a0a220feec5e861e93feb4d45a33facf0e1b
2020-08-06 21:28:07 +02:00
Arian
4b2b360232
davinci: graphics: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I97b18ee6a0a777f033c3513c4e3ba365c9fe2356
2020-08-06 21:28:07 +02:00
Arian
721e933f3b
davinci: display: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: If3e470b7d879c8b160a93655292c76baf4c1460d
2020-08-06 21:28:07 +02:00
Arian
c5f78a390e
davinci: display: Import calibration blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Iceb08fbfda31f1c163b061deca1471b6d09ef6df
2020-08-06 21:28:07 +02:00
Demon000
e0429a18ff
davinci: graphics: Import display blobs from def_reteu
Taken from def_reteu-user-10-QPFS30.103-21-1-2-c993f-release-keys.

Change-Id: I5e99c224a4e47f88a411c35200de81a371711e35
2020-08-06 21:28:07 +02:00
LuK1337
d41667c550
davinci: Convert configstore settings to props
Change-Id: Iadefa31bc863b7ab70239874bed82bef240cbba5
2020-08-06 21:28:07 +02:00
Demon000
5ca0a9fff7
davinci: display: Build stack from source
Change-Id: I4ae143d0cc0fba379894e1f69b793312192f0c4a
2020-08-06 21:28:07 +02:00
notsyncing
bf7bc6bfcf
davinci: audio: Use USB audio policy configuration from AOSP
* This can greatly improve audio quality when an external
   USB DAC is connected.

Change-Id: I4eeaadc9e3dd26fb54dbfa5a1acf3599b3e6b16b
2020-08-06 21:28:07 +02:00
dianlujitao
da08da6e09
davinci: audio: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2020-08-06 21:28:07 +02:00
Arian
763858361c
davinci: audio: Add libmisound
Change-Id: I42cf4678006710b441be031756cba301c79accfa
2020-08-06 21:28:07 +02:00
Arian
ea456f56d5
davinci: audio: Import configs
Change-Id: I401921a868d481002a5fff3b18161d5bcff81682
2020-08-06 21:28:07 +02:00
Arian
a6b3b1beb9
davinci: audio: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I1c9dc7e777869208ef91ab1dbad794a90602ef39
2020-08-06 21:28:06 +02:00
Demon000
7cadbfea11
davinci: audio: Build HAL
Change-Id: I2d07332cce733c2a0ae21c9a970abcede2de63a2
2020-08-06 21:28:06 +02:00
Jean-Michel Trivi
a5b5e3ac21
davinci: Increase media volume from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
2020-08-06 21:28:06 +02:00
Ady Abraham
686433b6ca
davinci: Enable EGL Image Tracking on SF
Enable EGL image memory tracking on SurfaceFlinger to catch
memory leaks.

Bug: 137514000
Test: launch few apps and switch between them
Test: adb shell dumpsys SurfaceFlinger
Change-Id: I621231f36b5317e3487d5c9a93320584974b7af1
2020-08-06 21:28:06 +02:00
Nirmal Abraham
1ce6ebe00b
davinci: Disable SF Latch Buffer Signaled property
Change-Id: I682b30fbefdfbd4d8478a82148d5984138078957
2020-08-06 21:28:06 +02:00
Lucas Dupin
657b23e852
davinci: Import coral offsets for GPU composition
Window animations now have rounded corners, meaning that
the shader that we use is more expensive than it used to be.

Because of this, we need to adjust the SF offsets, to make sure
that we'll have enough time to finish the GPU composition without
dropping frames.

Change-Id: I8173e12b006bc1cab6b4cb0b3a5db9f9b3489819
2020-08-06 21:28:06 +02:00
LuK1337
753112bc24
davinci: Add debug IMS props to workaround CarrierConfig restrictions
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.

Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
2020-08-06 21:28:06 +02:00
dianlujitao
a1692904de
davinci: Force enable mobile network settings v2
* AOSP defaults to true but 10 QC telephony extension sets it to false.
 * Restore AOSP behavior by enabling it with a system property which has
   higher priority over global system settings which is used by QCOM w/o
   modifying the jar.

Change-Id: I45854b91bb8cfafabfe811777cda9f1e1840febf
2020-08-06 21:28:06 +02:00
Arian
fcf43c3193
davinci: Import and sort vendor and odm properties
Change-Id: I83fc839a73c24f41dbb43e3c536c079f924dcc7f
2020-08-06 21:27:55 +02:00
Richard Hansen
db122804f7
davinci: Add vertical margin in recovery to avoid the rounded corners
Change-Id: Ic5f9a10bd2ea465afb728dd67a56cecf1afa564d
2020-08-06 21:22:34 +02:00
Arian
661a7e3bb7
davinci: Import stock system properties
Change-Id: I768dd0db1568fe560260ab01dd35788e56ff39dd
2020-08-06 21:21:41 +02:00
Demon000
9ab6da26ed
davinci: telephony: Define vendor ril service usage
Change-Id: I5378de6eec4ff2511a49c19c0fc474658efe338f
2020-08-05 14:03:32 +02:00
Michael Bestas
46e2ad43cb
davinci: telephony: Set TARGET_PROVIDES_QTI_TELEPHONY_JAR
Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
2020-08-05 14:03:32 +02:00
Sandeep Gutta
2f13e34c12
davinci: telephony: Add inject support for MultiSimSettingController
Add MultiSimSettingController class name to telephony_injection to
be able to creat proprietary extended instance.

Change-Id: Ie371001330a34eadab8b46fb2173e9a4f245b1a6
CRs-Fixed: 2475440
2020-08-05 14:03:32 +02:00
Sandeep Gutta
7f3a5fd05a
davinci: telephony: Move qti-telephony-common to product
Add qti-telephony-common.jar product path to inject xml

Change-Id: I0c9bb7c827589236c1231fec0cb2621c2a0e3032
CRs-Fixed: 2438412
2020-08-05 14:03:32 +02:00
Sandeep Gutta
89adfc6c08
davinci: telephony: Add telephony_injection file
Add telephony_injection file and required jar path, components.

Change-Id: Ia2e0d327c1eaed17cb229f1cfca62c6bda85d49b
CRs-Fixed: 2407245
2020-08-05 14:03:32 +02:00
Arian
6e055ec68e
davinci: telephony: Import CarrierConfig overlay from LA.UM.8.9.r1-09300-SM6xx.0
Change-Id: I384c774416df4eedb4eaea2cc52bd41d41117d94
2020-08-05 14:03:32 +02:00
Arian
ddae631598
davinci: telephony: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I74ec68f59be4f17f57bf6c83071a4854768ac65e
2020-08-05 14:03:32 +02:00
Arian
5e19c3c612
davinci: telephony: Import privapp-permissions
Change-Id: I8425916a404407e3839a61a5b6d96b520c1bca22
2020-08-05 14:03:32 +02:00
Demon000
a399b58601
davinci: Patch qti-telephony-common.jar to work on AOSP
* The following diff has been applied:

Change-Id: I28625de48e122e73b0d1df8d2351cd158a2a58e4

--- a/smali/com/qualcomm/qti/internal/telephony/WifiManagerCompatible.smali
+++ b/smali/com/qualcomm/qti/internal/telephony/WifiManagerCompatible.smali
@@ -17,7 +17,7 @@
     .locals 1

     .line 13
-    sget-boolean v0, Lmiui/os/Build;->IS_GLOBAL_BUILD:Z
+    const v0, 1

     return v0
 .end method
@@ -27,13 +27,6 @@
     .param p0, "context"    # Landroid/content/Context;
     .param p1, "set"    # I

-    .line 9
-    invoke-static {p0}, Landroid/net/wifi/MiuiWifiManager;->getInstance(Landroid/content/Context;)Landroid/net/wifi/MiuiWifiManager;
-
-    move-result-object v0
-
-    invoke-virtual {v0, p1}, Landroid/net/wifi/MiuiWifiManager;->setSARLimit(I)V
-
     .line 10
     return-void
 .end method
2020-08-05 14:03:32 +02:00