Commit Graph

270 Commits

Author SHA1 Message Date
Cosmin Tanislav
3c1a37828c sm8350-common: audio: use mi audio policy configuration
Xiaomi overrides the default audio policy configuration from
vendor/etc/audio/sku_lahaina inside of AudioPolicyManager,
and uses vendor/etc/audio_policy_configuration_mi.xml.

Use the proper configuration, but keep copying it into the old
location, since our AudioPolicyManager only knows how to load
it from there.
2021-09-07 00:23:16 +03:00
Cosmin Tanislav
9c053286f1 sm8350-common: build qti usb service 2021-09-06 08:50:22 +03:00
Cosmin Tanislav
40a255c9d0 Revert "DNM: sm8350-common: do not build usb service"
This reverts commit a3ce4ebc7d.
2021-09-06 08:49:49 +03:00
Cosmin Tanislav
e8980a3c40 sm8350-common: copy excluded input devices list 2021-09-05 15:32:24 +03:00
Cosmin Tanislav
f61d3c2446 sm8350-common: build custom qti vibrator hal 2021-09-05 15:32:24 +03:00
Cosmin Tanislav
c693affc4b sm8350-common: build packages needed for secure element service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
18526bf62d sm8350-common: build nfc from source 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
47377b4bb9 sm8350-common: build libdrm for qvrservice 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
a42ce87d3e sm8350-common: build 32bit libavservices_minijail for qvrservice 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
6b27fff825 sm8350-common: build android.hardware.thermal for qspmsvc 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
a3ce4ebc7d DNM: sm8350-common: do not build usb service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
0f26eca038 sm8350-common: remove fingerprint service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
d5c43a80a8 DNM: sm8350-common: do not build wfdcommon 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
06b1cc29cc DNM: sm8350-common: do not build display mapper 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
2349907c2c DNM: sm8350-common: do not build display allocator 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
842d1c93a8 DNM: sm8350-common: do not build livedisplay service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
895eb79e11 DNM: sm8350-common: do not build power service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
00de2ee48f DNM: sm8350-common: do not build light service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
f312f2c16f sm8350-common: remove graphics composer service 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
8e0903bc1d sm8350-common: copy permissions 2021-09-03 22:11:38 +03:00
Cosmin Tanislav
236e8e4f37 sm8350-common: update audio configs 2021-09-03 22:11:38 +03:00
Cosmin Tanislav
cd179f72a0 sm8350-common: remove legacy drm service 2021-09-03 21:38:58 +03:00
Cosmin Tanislav
9f3fb50ef4 sm8350-common: build vndservicemanager 2021-09-03 21:38:58 +03:00
Cosmin Tanislav
3291333285 sm8350-common: place fstab in vendor, vendor ramdisk and recovery 2021-09-03 21:38:58 +03:00
Cosmin Tanislav
637feb98aa sm8350-common: include gsi keys 2021-09-03 21:38:58 +03:00
Cosmin Tanislav
ab1c9e4d11 sm8350-common: inherit emulated storage 2021-09-03 21:38:58 +03:00
Cosmin Tanislav
4bb8fece48 sm8350-common: implement virtual A/B 2021-09-03 21:38:58 +03:00
Cosmin Tanislav
18a612bbf8 sm8350-common: import bootctrl hal and gpt-utils 2021-09-03 20:47:47 +03:00
Cosmin Tanislav
a0ffc59056 sm8350-common: update shipping api level 2021-09-03 20:24:52 +03:00
Cosmin Tanislav
c28a95caee sm8350-common: update recovery configuration 2021-09-03 20:23:13 +03:00
Cosmin Tanislav
d478fd5202 sm8350-common: atoll -> lahaina 2021-09-03 20:11:04 +03:00
Cosmin Tanislav
1649671922 sm6250-common: partial conversion to sm8350 2021-08-29 12:22:31 +03:00
Demon000
af65648bf9 sm6250-common: remove qcom.fmradio boot jar
This package is not allowed to be a boot jar and it breaks m dist.
2020-12-06 22:48:36 +02:00
Rick Chen
a7a4a3f4d8 sm6250-common: sensors: enable multihal 2.0
Bug: 152005392
Bug: 152727489
Test: Compile pass.
Change-Id: I9c059718a2529cd652360619797c22360ac213e2
Signed-off-by: Rick Chen <rickctchen@google.com>
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
1bf142eb14 sm6250-common: build vendor version of libavservices_minijail
* required by loots of R blobs
2020-12-06 22:48:36 +02:00
Nitin Shivpure
816b531571 sm6250-common: Add vendor.qti.hardware.btconfigstore@2.0 into product package
Add vendor.qti.hardware.btconfigstore@2.0 into product package.

CRs-fixed: 2739162
Change-Id: I36ca083bf333826ac8980541181aa52022671396
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
0c87c27a1d sm6250-common: build vendor.qti.hardware.display.mapper@1.1 interface
* needed by /vendor/lib64/sensors.ssc.so
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
33d2f1582e sm6250-common: add servicetracker@1.2 interface to build packages 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
d96b060c7d Revert "sm6250-common: Get rid of megvii dependencies in camera.qcom.so"
* doesn't work anymore

This reverts commit f8e46f5022.
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
83f3d63bca sm6250-common: build vendor.qti.hardware.display.mapper@2.0.vendor
* needed for 11 adreno blobs
2020-12-05 00:36:18 +02:00
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
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
6a2025c8b1 sm6250-common: build our fingeprint service 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
140603d594 sm6250-common: build servicetracker interfaces 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
873b400635 sm6250-common: build libqti_vndfwk_detect 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
9c283de32d sm6250-common: remove unused audio configs 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
9e10256ab6 sm6250-common: build ril stack from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
b96573d148 sm6250-common: build ipacm from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
d19c6bc30a sm6250-common: build usb hal from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
7434303b02 sm6250-common: build media stack from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
50a6e2c731 sm6250-common: import media configs to device tree 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
4f84ad1ece sm6250-common: copy google media codecs from frameworks/av 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
0b3f00ebe2 sm6250-common: build renderscript hal from source 2020-12-05 00:36:17 +02:00
LuK1337
b1112f918d sm6250-common: Prepare for LA.UM.9.1 display HAL
Change-Id: I3501d4bd6075db39aca03137c6670c0e009d2806
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
c67aef45f7 sm6250-common: build display stack from source 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
bc47a90e2f sm6250-common: add device-specific audio configs to device tree 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
5202ad272b sm6250-common: copy audiopolicy configs from frameworks/av 2020-12-05 00:36:17 +02:00
Mikhail Naganov
05701732a5 sm6250-common: Switch to Audio HAL V6
Switch to Audio HAL V6

Test: VtsHalAudioV6_0TargetTest VtsHalAudioEffectV6_0TargetTest
Bug: 155591007
Change-Id: If40ae28c224160728634736ee95590a779f905c4
(cherry picked from commit f11963392c9afd79704822a5812ef4412f3810db)
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
c034f3b609 sm6250-common: build audio stack from source 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
6420e7a3d2 sm6250-common: uprev clearkey hal to 1.3 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
70a02c0b60 sm6250-common: compile drm@1.0 from source 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
e2025cf699 sm6250-common: disable configstore
* it's finally deprecated in R
* ship disable_configstore because we have API level 29
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
bbaf4103f4 sm6250-common: build qti health@2.1 hal 2020-12-05 00:36:17 +02:00
Roshan Pius
8255190f11 sm6250-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-12-05 00:36:17 +02:00
Bharat Pawar
6a37ae1489 sm6250-common: vibrator: Enable LED based vibrator
Enable LED based vibrator for talos, moorea and
atoll targets.

Change-Id: I079eefaefff77fe19304acc8749773febf91a7fc
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
067158ade5 sm6250-common: build sensors HAL from source 2020-12-05 00:08:57 +02:00
Alastair Donaldson
2ec5d68d2e sm6250-common: Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: I7906428e2659bcfec25dbfac28641b0595a33419
2020-12-05 00:08:57 +02:00
Ethan Chen
39e49c4a78 sm6250-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2020-12-05 00:08:56 +02:00
Ethan Chen
9cdc81c5d7 sm6250-common: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2020-12-05 00:08:36 +02:00
Volodymyr Zhdanov
666e38496c sm6250-common: build clearkey from source 2020-12-05 00:08:06 +02:00
Volodymyr Zhdanov
9abdfa8c4b sm6250-common: copy libhidlcache from vndk 29
* needed by vendor.xiaomi.hardware.misys@3.0-service
2020-12-05 00:08:06 +02:00
Volodymyr Zhdanov
7b22c4e86d sm6250-common: build libhidltransport and libhwbinder
* also their vendor variants
* for q blobs compatibility
2020-12-03 02:33:33 +02:00
Volodymyr Zhdanov
5697cf4fa2 sm6250-common: build libgui_vendor from source 2020-12-03 02:33:33 +02:00
Nick C
45daab797e sm6250-common: add FM 2020-08-25 16:49:31 +03:00
Demon000
99ed2b49d1 sm6250-common: build WiFi packages 2020-08-18 14:56:37 +03:00
Demon000
ba2e32a7ce sm6250-common: import WiFi configs 2020-08-18 14:55:15 +03:00
Demon000
ddb4eab6f4 sm6250-common: build power service from source
Change-Id: Iba9c1d1a6d74c318d68aed4fa548d9539b1bc983
2020-08-18 12:57:26 +03:00
Demon000
b5730f713a sm6250-common: build WiFi Display dependencies and add framework to boot JARs 2020-08-15 04:27:26 +03:00
Demon000
836dfff555 sm6250-common: define bootanimation size 2020-08-13 17:46:57 +03:00
kazerine
f8e46f5022 sm6250-common: Get rid of megvii dependencies in camera.qcom.so
Change-Id: I97058c320d06819a468ebe38e2704360e9aa91db
Signed-off-by: Arian <arian.kulmer@web.de>
2020-08-13 17:41:48 +03:00
Demon000
21c27b7cca sm6250-common: copy permission files 2020-07-26 17:01:22 +03:00
Demon000
dd0e8ef866 sm6250-common: import ueventd configuration
Change-Id: I550cc82d52a8a8b93398f00bd7d5c3ba221a5b7f
2020-07-23 13:05:39 +03:00
Demon000
5ca0162b1a sm6250-common: build fastbootd 2020-07-20 00:27:05 +03:00
Bruno Martins
e558647901 sm6250-common: Add device input configs and keylayouts
And disable buttons.

Change-Id: If4c7d64f473d97e28652a6c7333be9f20c84b190
2020-07-18 18:43:42 +02:00
dianlujitao
14509d9e2f sm6250-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2020-07-18 13:15:53 +02:00
LuK1337
2af9e31f7b sm6250-common: Exclude Snap overlays from RRO
Change-Id: Ibefb7acaa158eea787618d1696057b75d2541e87
2020-07-18 13:15:05 +02:00
Dan Pasanen
7ade76555b sm6250-common: Exclude lineage-sdk overlays from RRO
* lineage-sdk overlays don't work with RRO

Change-Id: Iff826faf1864388066a488acc9682636b98d1098
2020-07-18 13:15:05 +02:00
Anton Hansson
8ed026cbc4 sm6250-common: Enforce RRO for all resource overlays
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2020-07-18 13:15:05 +02:00
Cosmin Tanislav
3b050dcabf sm6250-common: fix audio policy configuration file path
Change-Id: Id8d9a8ab1e50b2356721fabdc0ba8ea6b13572ca
2020-07-18 03:28:25 +02:00
Demon000
ae3ba835ff sm6250-common: build light HAL 2020-07-18 00:39:53 +03:00
Demon000
c8c62af0fd sm6250-common: build libvolumelistener from source 2020-07-17 03:49:06 +03:00
Demon000
2d3d55dffd sm6250-common: import audio policy configuration
From
https://source.codeaurora.org/quic/la/platform/hardware/qcom/audio/plain/configs/atoll/audio_policy_configuration.xml?h=LA.UM.8.9.r1-09600-SM6xx.0.
2020-07-17 03:36:05 +03:00
Demon000
9668da7df5 sm6250-common: rootdir: remove unused parts of vendor init scripts 2020-07-16 02:12:12 +03:00
Demon000
628874031d sm6250-common: import media profiles 2020-07-15 23:03:28 +03:00
Demon000
91088f7df5 sm6250-common: rootdir: import vendor init scripts 2020-07-15 23:03:28 +03:00
Demon000
a1b7eaf9df sm6250-common: add recovery scripts
* wait for bootdevice
 * setup ADB
 * symlink logical partitions

Change-Id: I78bdab01eb24464ef9416f35ea8e3c50cfef7864
2020-07-15 23:03:28 +03:00
Demon000
54112478b6 sm6250-common: copy fstab to ramdisk and vendor 2020-07-15 23:03:28 +03:00
Demon000
884bcf7c15 sm6250-common: include AVB public keys 2020-07-15 23:03:28 +03:00
Demon000
5e27bd5e52 sm6250-common: use dynamic partitions
Change-Id: Iac89f608a7f8efa78da5200c68cb45ab2f439fd0
2020-07-15 23:03:28 +03:00
Bruno Martins
9fa9e15a5d sm6250-common: Ship additional textclassifier's smart selection models
Change-Id: I4de9326fe60a395454834906552518afbc376f49
2020-07-15 23:03:28 +03:00
Demon000
e49eaee5fa sm6250-common: build telephony packages 2020-07-15 23:03:28 +03:00
Demon000
3237509657 sm6250-common: build RCS packages 2020-07-15 23:03:28 +03:00
Demon000
22328c7268 sm6250-common: build Snap package 2020-07-15 23:03:28 +03:00
Demon000
7647273bb7 sm6250-common: include overlays 2020-07-15 23:03:28 +03:00
Demon Singur
c9301eb92e sm6250-common: Build separate system and vendor HIDL libs
Change-Id: If8e2211e643bdb0ff67fb248e7fe33b78077a06e
2020-07-15 23:03:28 +03:00
dianlujitao
6eabb2c0dd sm6250-common: Build dummy android.hidl.[base,manager]@1.0
Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c
2020-07-15 23:03:28 +03:00
David Ng
0d171a099e sm6250-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2020-07-15 23:03:28 +03:00
Lokesh Gidra
149534d371 sm6250-common: Use 4GB dalvik-heap config
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2020-07-15 23:03:28 +03:00
Bruno Martins
5103f8908c sm6250-common: Define Soong namespace
Change-Id: Ibea0e8fe5dbc26d8953a9735f0b38cf087805b76
2020-07-15 23:03:28 +03:00
Jiyong Park
f3796a363a sm6250-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2020-07-15 23:03:28 +03:00
Demon000
d531d043ec sm6250-common: set shipping api level
Change-Id: I6fb3ccbdb534fc737888648bc780c2cdbe96070e
2020-07-15 23:03:28 +03:00
Demon000
f36a101882 sm6250-common: inherit from base device configuration 2020-07-15 23:03:28 +03:00