Commit Graph

139 Commits

Author SHA1 Message Date
Indranil Chakraborty
898b4ef5c2 sdm845-common: Pack libwfdaac_vendor for WFD
Change-Id: I828918c42e1eb2963829d62a9dbeee83e2f0e600
2021-01-12 20:03:30 +00:00
Lubin Yin
2e6f797fbe sdm845-common: Deploy libwfdaac_proprietary for miracast
Change-Id: I7f00c9f0a0375d7007123614e7605e3915903b90
2021-01-12 20:03:06 +00:00
Michael Bestas
71abccd4e5 sdm845-common: Don't build textclassifier
* Target no longer exists

Change-Id: I2079d7dbbeb59bbe9cd925a56f6bcc84c8a38d7f
2021-01-07 14:55:37 +00:00
Jack Pham
8caa6b6fc2 sdm845-common: init.qcom.usb.rc: Consolidate init.msm.usb.configfs.rc
Remove obsolete android_usb based property triggers now
that configfs is always used. Merge in init.msm.configfs.rc
so we now have just a single .rc init file.

Also remove all other references to /sys/class/android_usb/*.

Change-Id: I06eba8e715ccee5974dc9de8ac19df6c79ae0c45
2021-01-03 15:13:01 +00:00
Bruno Martins
2c2678d92e sdm845-common: Deduplicate handheld_core_hardware.xml copy rule
Since Android 10 that this is already done while inheriting from
full_base_telephony.mk.

Change-Id: If533fbf95a9cf9798ddba24955a624d26f550d62
2021-01-03 15:12:48 +01:00
Bruno Martins
641ef89689 sdm845-common: Use CodeAurora ImsService implementation for RCS
There is no evidence that Qualcomm devices running a rather recent IMS
stack need to include AOSP RCS packages. RCS already worked before this
change and continues to do so, but the main goal was to get rid of some
of the RCS related log spam, which was accomplished here.

Change-Id: I219546e29d288373877e9bcd194a60ef5e09f224
2020-12-31 10:48:23 +01:00
Rohit Bandi
ab3c681f1e sdm845-common: Adding android.hardware.vr.high_performance.xml to sdm845
android.hardware.vr.high_performance.xml contains set of
features required for a VR-compatible device

Change-Id: Id3f8cdafc551077b682cb25a9316f20352aa3cdf
2020-12-30 15:12:28 +01:00
Bruno Martins
c48452042d sdm845-common: Bump WFD stack
Change-Id: I73af0bbd2e2a33e711922c579513606604feba62
2020-12-30 10:46:46 +00:00
Alastair Donaldson
b516006260 sdm845-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: I0715787b310f48c27747849ebd0724e0ca6fbbde
2020-12-30 10:38:10 +00:00
Bruno Martins
3d316ad303 sdm845-common: Move to new display HAL and update graphics blobs
Change-Id: I0ff514eef5d4a8b1287a910ba781ef77e5c584aa
2020-12-30 10:38:10 +00:00
Bruno Martins
0012ed5e99 sdm845-common: Drop bitness from graphics composer service
Change-Id: I697d27a7d76aa25c979d8566d12a765c39403ae6
2020-12-28 12:11:19 +00:00
PIPIPIG233666
1306d78ba3 sdm845-common: Split component-overrides to support pure AOSP/QTI BT stack
Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
2020-12-26 19:17:58 +01:00
Pig
9eee8ea107 sdm845-common: Drop no longer existing BluetoothQti
Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2020-12-26 19:17:58 +01:00
Ryan Mitchell
b27ff8e8b6 sdm845-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.

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/.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/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidHostService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2020-12-26 19:17:58 +01:00
Bruno Martins
187851c56c sdm845-common: Migrate to Health 2.1 HAL
Change-Id: Ic6302844ac58c16713b43b6871a705b9b4749a96
2020-12-08 22:26:25 +00:00
Roman Kiryanov
57e03e2cff sdm845-common: Replace audio@2.0-service with audio.service
Legacy service name, use android.hardware.audio.service instead

Bug: 153579444
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I4c05accb86dd0c9cd1b3fef3d84e0d54b2afc6a1
Change-Id: I6b55b4b1db2577f4176c99dca7021cfe78e13307
2020-12-08 22:26:25 +00:00
Steven Moreland
7c1678825d sdm845-common: Only include bitness of hal impls that is used.
Bug: 73829928
Test: boot, check directories, no errors during boot
Change-Id: Ia1272b2bcc5006fa75a50631861fbaccdeed7bee
2020-12-08 22:26:25 +00:00
Bruno Martins
82e74adbd4 sdm845-common: Move telephony packages to /system_ext
Change-Id: I38329f6d4ebb7b1a0b0f01e40918fdb73ccbcba9
2020-11-28 02:54:07 +00:00
Bruno Martins
f25862164a sdm845-common: Remove unused jars and 32-bit radio libs
Change-Id: I651edb4823e54b589b7b72f6362a07c6e78b955a
2020-11-28 00:53:34 +00:00
LuK1337
b7475c6f6b sdm845-common: Use libcutils-v29.so for libdpmframework.so
* v30 one doesn't have `strdup8to16` symbol in it.

Change-Id: Id2b4bb3017bc24c817dbe4b03834960aa1a4b444
2020-11-24 11:37:09 +00:00
Weilun Du
e1647c4b70 sdm845-common: Add TetheringOverlay
BUG: 163800715
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-11-01 09:51:36 +00:00
LuK1337
153284b969 sdm845-common: Enable RRO overlays for lineage-sdk
Change-Id: I482f2393e10e90362db2c66b7abb0de837085843
2020-10-31 22:00:23 +00:00
Arian
8e9f925145 sdm845-common: Build new aidl qti power HAL
Change-Id: I4bdea354e54d34d0dfe9b811e228fc6f8762d2ed
2020-10-17 21:11:31 +01:00
ix5
67695f4dec sdm845-common: Add protobuf vendorcompat lib
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.

See https://r.android.com/1109518

The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.

See https://source.android.com/devices/tech/config/namespaces_libraries

[wight554: added libprotobuf-cpp-lite as well]

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
2020-10-09 16:17:34 +01:00
LuK1337
a192fe5a3c sdm845-common: Build libhidltransport/libhwbinder
* Needed for old blobs

Change-Id: I43fc0e46547dfc126a4b2ac9dcc82c7c4f2ee172
2020-10-09 16:17:34 +01:00
LuK1337
c166b5f181 sdm845-common: Drop android.hardware.thermal HAL
android.hardware.thermal@1.0::IThermal/default is deprecated in compatibility matrix at FCM Version 4; it should not be served.

Change-Id: Icc3c672a0bf6b9e4ee76ccf91e6cdca5fb778fde
2020-10-09 16:17:34 +01:00
Mikhail Naganov
658a4dcd82 sdm845-common: Switch to Audio HAL V6
Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
            manual audio "smoke" test

Change-Id: Ieb1cc5c7fdcc5416a328a0a5c4a1996258b81ac8
2020-10-09 16:17:34 +01:00
Robert Shih
dffadf0adb sdm845-common: Enable v1.3 drm plugins
Bug: 139134043
Test: MediaDrmTest
Change-Id: I7453b035ca29c7ee889d03de0d55e6d947b3cb77
2020-10-09 16:17:34 +01:00
Roshan Pius
07c25fc130 sdm845-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-10-09 16:17:34 +01:00
Ethan Chen
4c9818738e sdm845-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2020-10-09 09:09:23 +01:00
Ethan Chen
fac4246423 sdm845-common: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2020-10-09 09:08:30 +01:00
Bruno Martins
33d34de9b5 sdm845-common: Nuke vndk-sp
All targets have BOARD_VNDK_VERSION set to 'current', either implicitly because
shipping API level is 28 (the case of perseus) or because VNDK version is
overriden (in case of all the rest). No need to carry this any longer.

Change-Id: Ib63a44fa976fb010a3f10dfe69fecb5d09af722c
2020-09-21 13:28:07 +01:00
Bruno Martins
8d9802fca3 sdm845-common: Bring back still required dummy HIDL lib
Wrongly removed in commit 85a7134, some blobs still depend on
android.hidl.base@1.0.so.

Change-Id: Ide84a07ab01acad8cfb4a25149a1c81034f57b69
2020-08-23 12:41:39 +01:00
Bruno Martins
85a7134928 sdm845-common: Remove dummy HIDL libs
Fortunately, these are no longer needed when using cool blobs.

Change-Id: I54aba8c68775a80e133911d39c7c64185e38151e
2020-07-17 15:29:22 +02:00
Bruno Martins
d628f0b4c6 sdm845-common: Switch to common QTI power HAL
There's nothing really that different here when compared to the
common HAL except for the specific DT2W handling, which can simply
be supported as a power feature lib.

Change-Id: I4c9c2530c8090e05dab38ed829d59ece5e00e1fb
2020-07-17 01:09:19 +02:00
Bruno Martins
8efaf44d84 sdm845-common: Switch to QTI BT stack
This includes the proper alignment to stock audio policy configuration.

Change-Id: I084d25c54e08d1421dbf43818b43357f78ad81ca
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
2020-06-26 20:15:36 +02:00
Pig
be2e5896a3 sdm845-common: fingerprint: Add Xiaomi fingerprintextension support
Co-authored-by: C457 <android.c357@gmail.com>
Change-Id: Ie9deb0dfcc689034cd3c4b9095e319130ba8d8cd
2020-05-25 21:19:34 +01:00
Demon Singur
f1cfbb82e7 sdm845-common: Import fingerprint HIDL
Change-Id: I733eea70dc637fa61c2e3a8036100de7febd71a9
2020-05-20 08:29:03 +01:00
Rashed Abdel-Tawab
612c904042 sdm845-common: Enable vendor and system property isolation
Change-Id: Ic73cd73c13220b804ec1c0a5fd1bd68470cf9db1
2020-02-24 22:43:09 +01:00
Bruno Martins
9cc2093330 sdm845-common: Split system, odm and vendor props
Change-Id: Iee726d7d95d2bc4abb14fcfdffc55a04aca6e1cc
2020-02-24 22:43:09 +01:00
Weikai Kong
bdf150e9da sdm845-common: Remove global packages from PRODUCT_DEXPREOPT_SPEED_APPS
This reverts commit 10827db261 and 103e65a875.

Reason for revert: this is now done under vendor/lineage

Change-Id: Idf156ddfce4c1d7627850c47737eb80a374cedb1
2020-02-15 10:58:06 +01:00
Bruno Martins
103e65a875 sdm845-common: Add Trebuchet to PRODUCT_DEXPREOPT_SPEED_APPS
Change-Id: I437cc1af399c82e38128d9a183d49bc86c891915
2020-02-12 00:40:35 +00:00
razorloves
824d1d2d86 sdm845-common: Dexpreopt speed compile SystemUI instead of SystemUIGoogle
Change-Id: I3331f8e65898f8696953b2602b9ad963f7e4313d
2020-02-12 00:35:48 +00:00
Wei Wang
10827db261 sdm845-common: add SysUI to PRODUCT_DEXPREOPT_SPEED_APPS
Test: Build
Change-Id: I088938462b389e1ebe783997f773dc5946345666
2020-02-12 00:35:25 +00:00
kubersharma001
6b1e8d7d96 sdm845-common: Do not enable updatable APEXes on every target
This reverts commit 52a78a2af1.

It can't really be enabled for beryllium, as apexd requires /data/apex
to be available right after boot to update all the Android modules.
As in all FDE devices, /data/apex is encrypted until the device
is unlocked by the user, rendering APEX basically useless as only
the system APEX variants will be loaded at boot.

test:
beryllium(FDE):
Boots with forceencryption after a clean install.
Boots after wiping data, system and flash over MIUI 11 - Q encrypted.

polaris(FBE):
Unaffected, everything still works.

Change-Id: I0649862e5c5b2c1a1cb597914a11df79b3e01957
2020-02-05 23:19:46 +00:00
Bruno Martins
049d8e1444 sdm845-common: Fix A2DP when offload is disabled
Ensure that A2DP still works in case one disables offload in the
Developer options for whatever reason.

Change-Id: I89fd37962b2d063d6e30f84234568d552131fd97
2020-02-04 21:39:34 +01:00
Bruno Martins
eba7658462 sdm845-common: Blob out A2DP offload library
These targets are using prebuilt audio HAL and for some reason,
using the source-built lib breaks A2DP. Just use prebuilt one
and be happy with it.

Change-Id: I37a5601afdbfdcb81a1053b366fad79fadf4eaa7
2020-02-03 23:33:52 +00:00
Cheney Ni
47a2f9aea8 sdm845-common: Support A2DP offload for Bluetooth Audio HAL V2
Remove primary flags from hearing aid also.

Bug: 124277691
Bug: 124014853
Test: manual with BluetoothAudioHAL enabled / disabled
Change-Id: Ibc86687a6a6c2f0767a213ccd408e7bb5de98985
2020-02-03 23:33:52 +00:00
Bruno Martins
c9e636964f sdm845-common: Build missing WiFi Display libs
Change-Id: I96e83b50d7581d4d74ade83451418b71989f7a64
2020-02-02 10:27:40 +00:00
Bruno Martins
a67d0f4694 sdm845-common: Update destination path for HotwordEnrollment permission file
HotwordEnrollment has been moved to /product in Q.

Change-Id: Ifc30940dcfc6ef236ed507ddfec1189b7e4f547b
2020-02-02 10:27:40 +00:00