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
Arian
66442a7c21
davinci: Add CNE configs for VoWifi
...
Change-Id: I1f48317abbe34a35ba8b07ca2a6cdb278782fa00
2020-08-05 14:03:32 +02:00
Arian
8d37458fea
davinci: telephony: Import blobs
...
Change-Id: Ic6a6efc9d76b9ad73009ba76e8cf3d737a908336
2020-08-05 14:03:32 +02:00
Arian
a96c124bbe
davinci: telephony: Build required packages
...
Change-Id: Ia2faf1a49729142796b711a291fe07eb84fb5adb
2020-08-05 14:03:32 +02:00
Arian
fc2ad20eab
davinci: power: Import sub system restart blob
...
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I66c534a37d80e6ebefc75f370e64ba924574e584
2020-08-05 14:03:32 +02:00
Arian
a069620a9d
davinci: power: Import poweroff alarm blobs
...
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I31ecaac525679a1c57ab68ab6f2576e19810bd96
2020-08-05 14:03:32 +02:00
Bruno Martins
a4c9f8201b
davinci: power: Scan input devices for eligible DT2W node
...
It is no longer a surprise for anyone to see Xiaomi shipping the same
device with different displays and different displays usually mean
different touchscreen drivers.
The current double tap handling in the power HAL only takes into
account one specific node, meant to be set in the device tree.
However, if the touchscreen was registered as a different input device
it would cause the feature to be broken. Address the issue by iterating
through the input devices in order to find one supported touchscreen
input to be used.
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I2f7fb4a8b0c9cd1a16d6c2b93602d285a191f170
2020-08-05 14:03:32 +02:00
TheScarastic
a0e115027a
davinci: power: Support event-based dt2w node
...
Change-Id: I08c874f3ca50fad1db820ddd85ef0f5d7ccf0ed2
2020-08-05 14:03:32 +02:00
Arian
b2d6a22c11
davinci: power: Prepare HAL extension
...
Change-Id: Ia2fcbb47d61970521eb4b3da769f4f160580c61a
2020-08-05 14:03:32 +02:00
Arian
d884716edc
davinci: power: Build HAL
...
Change-Id: I650e36366cf6e8b368699f63fe82702e89394cf6
2020-08-05 14:03:32 +02:00
vasishath
4979e2c172
davinci: light: Detect maximum brightness dynamically
...
Change-Id: I9385be40a8598e1142bb3844446b6bbeb5aab008
2020-08-05 14:03:32 +02:00
Demon000
b7413b8791
davinci: light: Simplify alpha scaling logic
...
Change-Id: I9b5c15d5ec4865d3bf829457d6f110ddb3af6e94
2020-08-05 14:03:32 +02:00
Demon000
25523a776d
davinci: light: Do not turn on breathing for unlit hardware states
...
Change-Id: I093fb2fb81012a473eda232d3c3407d0e0791907
2020-08-05 14:03:32 +02:00
Demon000
13a3863832
davinci: light: Avoid resetting state
...
The handler function is called regardless of whether the value of the
highest priority state changed.
In case of the notification led, this translates to the breathing
process being reset, which triggers my OCD.
Change-Id: I4880b00602cbb739219871f1d7ce9ad85d87bc1b
2020-08-05 14:03:32 +02:00
Demon000
feedda1d84
davinci: light: Avoid uint32_t underflow
...
Change-Id: If4f9360cc301ee8ba9f432dbbe3379c2c634c574
2020-08-05 14:03:32 +02:00
Demon000
e5440961f0
davinci: light: Properly scale brightness range
...
Change-Id: I0c7b9d2644bbc67a1d404e60bbb2fcc7d8a305ec
2020-08-05 14:03:32 +02:00
Arian
5af8701925
davinci: lights: Adjust for davincis LEDs
...
Change-Id: If9e5afe292b023a8aa4d5ba509e206f9a4ff371f
2020-08-05 14:03:32 +02:00
Demon000
3e94ffe9a3
davinci: light: Import HAL from Xiaomi msm8998-common
...
Change-Id: Ieee4277f15927b4522deaec9a709809cf6db6fea
2020-08-05 14:03:32 +02:00
TheScarastic
06d11196a5
davinci: Make fod color transparent and add custom icon
...
Change-Id: I0156a30f2d79b773878220ab016936c7208f8250
2020-08-05 14:03:32 +02:00
LuK1337
42d82f7684
davinci: fod: Implement handleAcquire()
...
Change-Id: Ica796fbd468e2df0ee666a0d0c6cbde628d6989f
2020-08-05 14:03:32 +02:00
Demon000
48c907ba7c
davinci: fod: Frop \n from logs
...
Change-Id: I1ec1e1bbdb1bf6d034bba05cd653458f04d5e544
2020-08-05 14:03:32 +02:00
xingrz
b5ddfbb07f
davinci: fod: Link vendor.goodix.hardware.biometrics.fingerprint@2.1
...
Change-Id: I222ceee06955fe6c530b63078bb1734ffecce913
2020-08-05 14:03:32 +02:00
Demon000
4bb20c1ea8
davinci: fod: Use 630nit fod value
...
Change-Id: Idfbe04e3d54635b610808494a7939beada5b3e4f
2020-08-05 14:03:32 +02:00
Demon000
e456f36fe1
davinci: fod: Improve semantics
...
* do not use (void) to silence unused parameters
* do not specify namespace for IFingerprintInscreenCallback
Change-Id: Ife9d0799a091c539028f775a728d2c8c31ffbf98
2020-08-05 14:03:32 +02:00
Demon000
c89dcfb0df
davinci: fod: Remove onRelase calls duplication
...
Change-Id: I90f9b0a883cfed516998652cf95f4424c8e06b2b
2020-08-05 14:03:31 +02:00
Demon000
7cebc6e538
davinci: fod: Calculate dim amount based on real brightness
...
Change-Id: I72b7dd1fca426cc442f9a6fa382f413bbaadfc76
2020-08-05 14:03:31 +02:00