141 Commits

Author SHA1 Message Date
SGCMarkus
43d4cc2e5a berlin: import audio, media, rootdir from stock RRG31.Q3-23-85 2022-03-26 17:31:45 +01:00
SGCMarkus
bfde6ce46d berlin: import oss fingerprint service 2022-03-26 17:06:18 +01:00
SGCMarkus
0b269c9a8e pstar -> berlin 2022-03-26 17:01:30 +01:00
SGCMarkus
8ac7410560 Revert "pstar: enable WFD"
This reverts commit 097e5c0fa9e12e6d31d3fd044bd4a238b363ea0f.

moving to sm8250-common

Change-Id: I9f614e16e97c96f5327a528f876eabd2977f9e2f
2022-03-24 22:10:24 +01:00
dianlujitao
1e11170006 pstar: Set fps location on x-axis for proper animation
Change-Id: I29b62ed7a95a235d7ec5443acfa370ad6921d3f7
2022-03-23 19:59:56 +01:00
dianlujitao
b9444d2acd pstar: Tweak display color compositions
* Enable COLOR_MODE_SATURATED (native) and drop unsupported render
   intents. Set from pstar rro to avoid touching QC defaults.
 * Don't enforce Display P3 for all modes, let the system decide which
   to take (sRGB in most cases).
 * Set default mode to "Adaptive" (in fact "srgb-enhance") which is not
   too yellowish or vivid.

Change-Id: I17169a3a5a27a44c1991460c18f79668c9669713
2022-03-23 19:59:56 +01:00
LuK1337
5b2c367144 pstar: Configure side fingerprint sensor properties
Change-Id: I75ba312895d18eae8c89db4dbb24a6945bad9860
2022-03-23 19:59:55 +01:00
SGCMarkus
b056368c14 pstar: defconfig: switch to fragments
Change-Id: I5010d757fda02dc10867717cdf3a55ee8243493c
2022-03-23 14:28:11 +01:00
SGCMarkus
71a1c4bd06 pstar: touch: GloveMode -> HighTouchPollingRate 2022-03-13 15:32:03 +01:00
SGCMarkus
35b2216ce6 pstar: no need to override PRODUCT_DEVICE 2022-03-13 14:55:28 +01:00
SGCMarkus
432c21c8ce pstar: use proper vaibale name for product name override 2022-03-13 14:55:28 +01:00
SGCMarkus
c57af2bb76 pstar: add system.prop with some device specific props
* also set boatloader name in device, as its not common kona in stock
2022-03-13 14:55:28 +01:00
SGCMarkus
d469d26091 pstar: motorola is written in lower case 2022-03-13 14:55:28 +01:00
SGCMarkus
b63546b228 pstar: manifest: add AntiFlicker, SunlightEnhancemet and PictureAdjustment 2022-03-13 14:55:28 +01:00
SGCMarkus
8c8a2e1b97 pstar: update build fingerprint and description to RRA31.Q3-19-86 2022-03-13 14:55:28 +01:00
dianlujitao
d337965760 pstar: Update audio_platform_info.xml from CAF
Change-Id: Ia17a17cd637892fbc49249d03bd4eb4f727d2282
2022-02-23 23:37:10 +01:00
dianlujitao
0408a8a6c6 pstar: Add missing mixer paths
Change-Id: I99ab16e599682d913dbb2acff7b3e8386c39b384
2022-02-23 23:37:10 +01:00
Revathi Uddaraju
bc748508a1 pstar: add support for voip record low latency path
Add target specific changes to support voip using low latency record path.

[dianlujitao: WSA_CDC_DMA_RX_0 -> TERT_MI2S_RX for nio]

Change-Id: I459041bd11e868000c37565b8eb098ad514c37cb
2022-02-23 23:37:10 +01:00
Jaideep Sharma
1885914711 pstar: provide support for callscreening for kona/lito.
add support for callscreening support in audio_policy_configuration
- add mixer paths related to proxy ports needed in call_screening

Change-Id: Ib0c220fa44c23454e71e772bfa406bd82c06b90d
2022-02-23 23:37:10 +01:00
Aniket Kumar Lata
c543da86bc pstar: Add hearing aid configs
Add hearing aid configs in HAL.

Change-Id: I8e31ce787e55aef8a1927e4304aad78d6c6cf207
2022-02-23 23:37:10 +01:00
Zhou Song
114aed2de0 pstar: configs: remove mixer "BT SampleRate"
BT SCO sample rate will be set from hal code instead of xml.

Change-Id: I94965a4618abc3f8686dd32dc4a10eaac27199dc
2022-02-23 23:37:10 +01:00
dianlujitao
9d3d385ac3 pstar: Match style of mixer_paths.xml with CAF
Change-Id: I08738fdfb136a99a60b9853d5a5cb7b6929719b0
2022-02-23 23:37:10 +01:00
dianlujitao
c762f568bf pstar: incall-music-uplink -> incall_music_uplink
WTF is moto doing?

Change-Id: If466b298ba663390f089b87e8a4b12dae6fe84bf
2022-02-23 23:37:10 +01:00
SGCMarkus
aa2d3f3501 pstar: reduce reserved size for partitions 2022-02-23 21:39:58 +01:00
SGCMarkus
765d3b93b5 pstar: add lineage touch hal: GloveMode 2022-02-23 00:09:53 +01:00
SGCMarkus
097e5c0fa9 pstar: enable WFD 2022-02-22 16:57:03 +01:00
SGCMarkus
ee44576c4c pstar: proprietary-files: remove source built blobs 2022-02-22 11:44:16 +01:00
SGCMarkus
907a285b1f pstar: overlay: set left statusbar padding symmetric to right one 2022-02-22 00:16:29 +01:00
SGCMarkus
fb7cfb703d pstar: nfc: build vendor libchrome for STFlashTool 2022-02-21 18:23:33 +01:00
SGCMarkus
a9b55c0817 pstar: overlay: use stock power_profile.xml 2022-02-21 18:22:12 +01:00
SGCMarkus
54babc44b9 pstar: proprietary-files: update to RRA31.Q3-19-86 2022-02-21 18:19:55 +01:00
SGCMarkus
593c3e3ecf pstar: overlay: enable cutout protection 2022-02-21 18:15:24 +01:00
SGCMarkus
9de6e655cb pstar: overlay: set motorola mms user agent 2022-02-21 17:44:05 +01:00
SGCMarkus
210c67a7f9 pstar: overlay: adapt punch hole cutout
also set proper rounded corners and protected camera area
2022-02-21 17:42:27 +01:00
SGCMarkus
80bce132c5 pstar: rootdir: set proper dt2w permissions for power hal 2022-02-21 00:19:26 +01:00
SGCMarkus
076f16ef96 pstar: overlay: set fingerprint location
even though we have set physical_power_button_center_screen_location_y
and config_is_powerbutton_fps, the system doesnt use the power button
location for the fingerprint sensor
2022-02-20 20:42:16 +01:00
Bruno Martins
1fd8b4b271 pstar: overlay: Enable smooth display with 120Hz
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.

Set default peak refresh rate to 60, as this is the same value when the user
turns on and off the smooth display setting.
If its turned on, it will go to 144 Hz.

Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
2022-02-20 20:34:54 +01:00
Bruno Martins
7186778dc9 pstar: overlay: remove duplicate 2022-02-20 19:48:33 +01:00
SGCMarkus
056f23cda0 pstar: overlay: set power button is fingerprint sensor 2022-02-20 19:29:56 +01:00
SGCMarkus
80a56bf194 pstar: overlays: set power/volume button positions 2022-02-20 19:15:02 +01:00
SGCMarkus
55d01c71c9 pstar: overlays: use stock paddings and rounded corners
also tur on warning when usb port becomes too hot
2022-02-20 19:11:56 +01:00
SGCMarkus
9b0c6e6f40 pstar: overlays: enable AOD, but disable it by default 2022-02-20 18:22:08 +01:00
SGCMarkus
e5f6701b7e pstar: set tap to wake node 2022-02-20 17:24:43 +01:00
SGCMarkus
493719fbd3 pstar: proprietary-files: remove motorola imgtuner 2022-02-20 15:13:16 +01:00
dianlujitao
2888d876e6 pstar: Fix invalid usage of log utility
Fix derp in c756ad8dbbf97a9775228d160c4481af994e0d72

Change-Id: I7a4d5291a11d823f0cef024b136cfc703fa64fc0
2022-02-20 11:57:03 +01:00
SGCMarkus
2776f9ded5 pstar: set proper product model 2022-02-20 11:55:08 +01:00
SGCMarkus
f338f859e8 pstar: fix path for rootdir inclusion 2022-02-20 11:54:19 +01:00
SGCMarkus
281378dabe pstar: proprietary-files: init.oem.fingerprint* is already in rootdir 2022-02-20 11:53:54 +01:00
SGCMarkus
211c965b06 pstar: cleanup init, remove unused services and duplicates 2022-02-20 11:52:44 +01:00
dianlujitao
b76c7be1db pstar: sepolicy: Rework policies for moto services
* Avoid direct access to kmsg for logging purpose.
 * Load touchscreen driver on early-init for labelling its sysfs nodes.

Change-Id: I7bb86c270d81dbd6f4bdc66e78ac77e44b61e708
2022-02-19 20:55:44 +01:00