Commit Graph

464 Commits

Author SHA1 Message Date
Volodymyr Zhdanov
17e2b77fc5 sm6250-common: configure livedisplay
* reboot issue fixed with https://review.lineageos.org/c/LineageOS/android_hardware_lineage_livedisplay/+/291215

Revert "sm6250-common: Add config value for a11y color mode"

This reverts commit 97a37101a3208557fc0f701dfa60ca3f8bb2e311.

Revert "sm6250-common: Remove COLOR_MODE_SATURATED"

This reverts commit 05e88c788f1b53edc2df14d7eb8d8e1a673d77f4.

Revert "sm6250-common: Enable adaptive color mode"

This reverts commit 656110c04a11caca5dc3121dd1864d758e51c29c.

Revert "sm6250-common: Override config_availableColorModes"

This reverts commit b9c2b988f01ac77ff476956458783c38f796645f.

Revert "Revert "sm6250-common: add livedisplay support""

This reverts commit a3a4c1544ca797b54bcfe7d6cb195b5ca493cec4.

Revert "Revert "sm6250-common: enable default color mode""

This reverts commit 8cba7668001eff8dd695dbf93db63b6b1f763b49.

Partially revert "sm6250-common: add livedisplay support"
2020-12-05 00:36:18 +02:00
Roshan Pius
7defa6bffb sm6250-common: TetheringOverlay: Change wifi tether regex
The wifi interface names for wifi can either be wlan0 or wlan1.
Change the "config_tether_wifi_regexs" appropriately.

Bug: 80375412
Test: Ensured we display "Hotspot on" in settings when softap is started
on either wlan0 or wlan1.

Change-Id: I0c456412f9b71ef2ee784f3bfa58b01b9287ca73
2020-12-05 00:36:18 +02:00
LuK1337
ac9469a3dd sm6250-common: rro_overlays: Redo TetheringOverlay's blueprint
This now matches WifiOverlay.

Change-Id: I9e4e859b7aca75d41556ea5807e34a4eb4598266
2020-12-05 00:36:18 +02:00
Weilun Du
8ef6293311 sm6250-common: Add Tethering Config
Tethering package is APEX and we need to create a RRO to overwrite
the values for config_tether_wifi_regexs and config_tether_wifi_p2p_regexs.
BUG: 163800715

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-12-05 00:36:18 +02:00
Ajit Vaishya
66f8d29ca8 sm6250-common: Wifi: Default compile of WPA based module
This commit introduce to provide default compilation
for WPA based module.

Change-Id: Ic0a1cd4383102dea83ea9c3d80177677ea2e59b7
CRs-Fixed: 2410589
2020-12-05 00:36:18 +02:00
LuK1337
2b220fa218 sm6250-common: Enable RRO overlays for lineage-sdk and Snap
Change-Id: I482f2393e10e90362db2c66b7abb0de837085843
2020-12-05 00:36:18 +02:00
PIPIPIG233666
5663d13d8b sm6250-common: Split component-overrides to support pure aosp/qti bt stack
Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
2020-12-05 00:36:18 +02:00
Ryan Mitchell
a6db72a1fc sm6250-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default
on sunfish devices.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth componenets.

Bug: 135048762
Test:
      adb shell pm query-services \
      com.android.bluetooth/.a2dpsink.A2dpSinkService
      adb shell pm query-services \
      com.android.bluetooth/.avrcp.AvrcpTargetService
      adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.ba.BATService
      adb shell pm query-services \
      com.android.bluetooth/.hfpclient.HeadsetClientService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: If41df9fdefbcd952f8387451dc137565343e3d75
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
98c9d2a95b sm6250-common: overlay: Add pinned files from stock 2020-12-05 00:36:18 +02:00
Bruno Martins
b8e451aeec sm6250-common: overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2020-12-05 00:36:18 +02:00
Nicolas Geoffray
590ca15581 sm6250-common: overlay: Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Idd0066e2ab737c9edcf9a745a19aca7421f62575
2020-12-05 00:36:18 +02:00
Jeongik Cha
3b8553c99f sm6250-common: overlay: Update config overlay with new SystemUI location
The app is moving to /product

Test: m
Test: check if it can boot
Bug: 137908189
Change-Id: Ifd73ba03884543e33d61c74d933ad8171dd3b259
2020-12-05 00:36:18 +02:00
Martin Stjernholm
b69a68b581 sm6250-common: overlay: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: If522ab29b6c4e9aab91f5ba41e10947799315f33
2020-12-05 00:36:18 +02:00
Rick Yiu
ac2981bdca sm6250-common: overlay: sync pinner service configs from crosshatch
Bug: 130103428
Test: verified with dumpsys pinner
Change-Id: I8ffe5eee1d40a5ac6be2112621ccda4b4dd5be1a
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
6d2752203e [BLOBS] sm6250-common: remove prebuilt libplatformconfig
* let's build from source along with vendor.qti.hardware.capabilityconfigstore@1.0
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
2e458c4a5f Revert "sm6250-common: media: Tune perf xml"
* to be inline with R configs

This reverts commit https://source.codeaurora.org/quic/la/platform/hardware/qcom/media/commit/?id=a592ac66eb9710438b3a1e5075dd2bf3b262806a
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
338fe2ab6c [BLOBS] sm6250-common: update widevine blobs from davinci RKQ1.200826.002 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
4d07a67f33 sm6250-common: sepolicy: label fingerprint service 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
6a2025c8b1 sm6250-common: build our fingeprint service 2020-12-05 00:36:18 +02:00
Pig
173559b256 sm6250-common: fingerprint: Clean up duplicated includes
* Move all includes to header.

Change-Id: I36b26dcf16c8b51958129707242cafa712a17bf1
2020-12-05 00:36:18 +02:00
LuK1337
fa541228c0 sm6250-common: fingerprint: Don't set ro.boot.fpsensor
* It's useless.

Change-Id: I29357c1fbbd7752f3631d9b7f1ce63b61bb41cd0
2020-12-05 00:36:18 +02:00
LuK1337
24cdd87ecc sm6250-common: fingerprint: Brackets should be here
Change-Id: I8093287b3f4e1b1d0c3deff384a1cb5e6e17dbff
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
f5a6695e08 sm6250-common: fingerprint: update for xiaomi sm6250 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
2f0646f292 sm6250-common: import fingeprint service from xiaomi msm8998 tree 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
711bdb7e1f [BLOBS] sm6250-common: remove prebuilt fingerprint service 2020-12-05 00:36:18 +02:00
Ethan Chen
7e6a71be58 sm6250-common: Use non-conflicting consumerir HAL name
Change-Id: Ifdd31a03f2f8d28ec100581af127a073ffa81129
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
27e4f91c33 sm6250-common: build IR HAL from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
e6d159847b [BLOBS] sm6250-common: remove prebuilt IR blobs 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
140603d594 sm6250-common: build servicetracker interfaces from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
161d5d1c62 [BLOBS] sm6250-common: remove prebuilt servicetracker interfaces
* we can build these from source
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
dcee65c43f sm6250-common: build libsensorndkbridge from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
58689957d6 [BLOBS] sm6250-common: remove prebuilt libsensorndkbridge
* we can build it from source
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
32e801f64c [BLOBS] sm6250-common: remove prebuilt libhwminijail
* available opensource but we don't need it
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
64ddfd5f0e [BLOBS] sm6250-common: remove prebuilt compatibility_matrix
* we have it in device tree anyway
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
c2b960e72f [BLOBS] sm6250-common: remove prebuilt libvndfwk_detect_jni.qti
* it's opensource but our blobs don't depend on it, so just kill it with fire
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
873b400635 sm6250-common: build libqti_vndfwk_detect from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
3309cc1302 [BLOBS] sm6250-common: remove prebuilt libqti_vndfwk_detect
* we can build it from source
2020-12-05 00:36:18 +02:00
Ethan Chen
126c94e443 sm6250-common: Convert libhidl to blueprint
Change-Id: Ief105a44eeb403b2fa41d391a0d72c776da13248
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
bbd5a9e03d [BLOBS] sm6250-common: remove prebuilt android.hidl.base@1.0
* we've got it in our device tree and it's built actually
2020-12-05 00:36:18 +02:00
Jasmine Cha
cff722037e sm6250-common: audio: correct routing order for voip output
Routing primary output before voip_rx output will cause unexpected
RX/TX path suddenly and unmuted voice stream during when system
plays touch sound and switches path between handset and handsfree.

Bug: 152292858
Test: manual test in VoIP
Test: Regression test for VoIP(b/153276370) - pass

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ia60802ec887f0dfeaa0f93d151ba2f2c50e0d41d
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
9c283de32d sm6250-common: remove unused audio configs 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
d7b3bcfdbb [BLOBS] sm6250-common: remove audio hal override
* works way better after mic gain increase
2020-12-05 00:36:18 +02:00
Erfan Abdi
79c63fe4bd sm6250-common: Enable fluence for voicerec and audiorec
Change-Id: I5dab22b816aab7cccdd1a84a0ffa31b203b9bde8
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
85d8bd55f9 sm6250-common: audio: cleanup mixer paths
* fix formatting
* cleanup unsupported paths
* use volume gain from LA.UM.9.1.r1-07300-SMxxx0.0
2020-12-05 00:36:18 +02:00
Prasad Kumpatla
0c96b968d9 sm6250-common: audio: add mixer controls for lito and atoll display ports
Add mixer controls for lito and atoll display ports on QRD
and speaker-safe display path in IDP and CDP.

Change-Id: Idfa9860248db51d0c147b4fee2df479e200ca81e
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-12-05 00:36:18 +02:00
Martin Liu
98c738aef9 sm6250-common: Remove lmkd properties to enable new lmkd kill strategy
With new strategy default values for lmkd properties should work
and no property overrides are necessary.

Bug: 143857475
Test: lmkd_unit_test
Change-Id: I52c8c93ad5adb5e741790939e381b7c0adae4261
2020-12-05 00:36:18 +02:00
Suren Baghdasaryan
1c9578a063 sm6250-common: Set lmkd configuration properties
Bug: 63631020

Change-Id: I16a183e8e4625e8b98cefdc9c8a7b650556a2b55
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
1329d72594 sm6250-common: set higher priority to c2 than OMX 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
a0583d7375 sm6250-common: build camera stack from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
9aa4dbadb0 [BLOBS] sm6250-common: remove prebuilt camera blobs 2020-12-05 00:36:18 +02:00