Commit graph

127 commits

Author SHA1 Message Date
Cristian Vázquez
435d5f4f57
sdm710-common: build missing Bluetooth A2DP
I hwservicemanager: getTransport: Cannot find entry android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default in either framework or device VINTF manifest.

E LegacySupport: Could not get passthrough implementation for android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default.

W audiohalservice: Could not register Bluetooth Audio Offload API
2023-06-17 17:03:50 +03:00
Joker-V2
b302d37735
sdm710-common: Build android.hardware.bluetooth.audio-impl
W audiohalservice: Could not register Bluetooth Audio Offload API
  E audiohalservice: Failed to dlopen android.hardware.bluetooth.audio-impl.so: dlopen failed: library android.hardware.bluetooth.audio-impl.so not found
  W audiohalservice: createIBluetoothAudioProviderFactory() from android.hardware.bluetooth.audio-impl failed

Signed-off-by: Joker-V2 <nipinna0@gmail.com>
2023-06-17 17:03:49 +03:00
kubersharma001
187a4b5424
sdm710-common: Compile libldacBT_bco.so
* E a2dp_vendor_ldac_decoder: A2DP_VendorLoadDecoderLdac: cannot open LDAC decoder library libldacBT_bco.so: dlopen failed: library "libldacBT_bco.so" not found
2023-06-17 17:03:49 +03:00
YumeMichi
0c8696f36d
sdm710-common: Build thermal HIDL HAL
* Log spam is gone:
   E HardwarePropertiesManagerService-JNI: Unable to get Thermal service.
   E HardwarePropertiesManagerService-JNI: Couldn't get device temperatures because of HAL error.
   W hwservicemanager: getTransport: Cannot find entry android.hardware.thermal@1.0::IThermal/default in either framework or device manifest.

Change-Id: Ie8a04b58f7357086f42ddfd5cfe4a9fc555dfee0
Signed-off-by: YumeMichi <do4suki@gmail.com>
Signed-off-by: Master <mhmdeveloperofficial@gmail.com>
2023-06-17 17:03:49 +03:00
Alastair Donaldson
8a0357df29
sdm710-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2023-06-17 17:03:45 +03:00
b15a1223f9
sdm710-common: Drop 1.0-1.2 version of drm impl and service
Since this is no longer required starting Android 11.
Reference: https://review.lineageos.org/c/LineageOS/android_device_xiaomi_onclite/+/341252
2023-06-17 17:03:43 +03:00
XsaviXander
91d69d4533
sdm710-common: Enable freeform windows
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-06-17 17:03:42 +03:00
Mikhail Naganov
8190980cce
sdm710-common: Switch to Audio HAL V6
Switch coral and flame to Audio HAL V6

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
                  manual audio "smoke" test on coral

Change-Id: If40ae28c224160728634736ee95590a779f905c4
2023-06-17 17:03:41 +03:00
ghostrider-reborn
c7968c9bbd
sdm710-common: Speed preopt Google dialer, Settings & SystemUI
- Add Google dialer, Settings & SystemUI

The default ART setting is quicken: run DEX code verification and
optimize some DEX instructions to get better interpreter performance.

This commit switches performance critical applications to speed:
run DEX code verification and AOT-compile all methods.

PRODUCT_DEXPREOPT_SPEED_APPS (New in Android O)
List of applications that have been identified as core to the products
and which are desirable to compile with the speed compiler filter.  For
example, persistent apps such as SystemUI get a chance to use
profile-guided compilation only at the next reboot, so it may be better
for the product to have these apps always AOT-compiled.

Signed-off-by: anandhan07 <anandhasayanan007jb@gmail.com>
Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2023-06-17 17:03:41 +03:00
Jakub Pawlowski
8541241b65
sdm710-common: Use bluetooth.audio@2.1
bluetooth.audio@2.1 adds new functionalities required for Bluetooth LE
Audio development

Bug: 150670922
Change-Id: Iac2ece0c029a38fef82e81f5ba3ba491163818ef
2023-06-17 17:03:39 +03:00
DmFrPro
fef9d8991e
sdm710-common: Build health 2.0 impl and service
* Build healthd 2.0 HIDL

Unable to set property "ctl.interface_start" to "android.hardware.health@2.0::IHealth/default": error code: 0x20
05-26 19:22:15.101   511  2639 I hwservicemanager: Tried to start android.hardware.health@2.0::IHealth/default as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
2023-06-17 17:03:39 +03:00
Ultra119
c4791070de
sdm710-common: Build neuralnetworks@1.3 2023-06-17 17:03:37 +03:00
snnbyyds
f9940cea9f
sdm710-common: Add statically linked parted
* Statically linked parted (https://forum.renegade-project.org/t/linux-android-aarch64-parted3-5-statically-linked-parted/2937/2)
* It may help you install Windows!
2023-06-17 17:03:34 +03:00
Michael Bestas
c5d290db1d sdm710-common: Move qti_whitelist.xml to /system_ext
- Also kang file from sdm845 tree

Change-Id: Id8617513cfd686b3f6888a89c1b1db196acfb476
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-27 20:17:49 +01:00
Aaron Kling
2c91884f8c sdm710-common: Remove references to a2dp module
APM would fail to parse the config anyway:

  E DevicesFactoryHAL: loadAudioInterface couldn't load audio hw module audio.a2dp (No such file or directory)
  W DevicesFactoryHalHidl: The specified device name is not recognized: "a2dp"
  E AudioFlinger: loadHwModule() error -22 loading module a2dp
  W APM_AudioPolicyManager: could not open HW module a2dp

Change-Id: Iaa1be881cfe8f8474cef0ba46e1b0a62b59e14be
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-27 20:09:25 +01:00
Bruno Martins
548b1cdce4 sdm710-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:22:00 +01:00
Bruno Martins
c262a28e3f sdm710-common: Remove dead targets
Change-Id: I496e37e3d813a96ca3a0138dbc61cd1a90655244
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:15:53 +01:00
Chenyang Zhong
2018306009 sdm710-common: power: rename pixel to lenovo-sdm710
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:09:34 +01:00
giasen
1c28990a9a sdm710-common: drop GcamGo 2022-11-12 15:09:27 +01:00
Jiakai Zhang
243a516aab sdm710-common: Preopt SystemUI for AOSP builds.
Bug: 232860596
Test: See no dex2oat invocation on the first boot.
Change-Id: I21b99fac3934060d27fad7323979cbb5f0ed28e8
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-09-14 19:01:16 +02:00
Etienne Ruffieux
50253e3152 sdm710-common: Removed audio A2dp and Hearing Aid from device.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: I300369d36399ffb558b98bafc2478b872d09faba
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-09-14 00:04:16 +02:00
Hajime Morrita
3ff54f7818 sdm710-common: Stop including iorap_large_memory_config.mk
Test: Presubmit.
Bug: 195415601
Change-Id: Ic49fcadb8bb33db262295a8b11eaca9c59362ae7
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-09-13 23:48:03 +02:00
GiaSen
f5aa12e10c sdm710-common: Revert media configs to stock 2022-09-06 17:18:11 +02:00
Alexander Koskovich
b2809fddd0 sdm710-common: Pick up USB configurations from QCOM
Change-Id: I83882d8992eb367211871130c163f4ca5689fcd4
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-05-22 18:53:21 +02:00
MadhavSaladi
7089a5938f sdm710-common: Switch to GcamGo 2022-01-23 09:39:00 +01:00
dianlujitao
d1262f6f6d Revert "sdm710-common: Switch to Audio HAL V6"
All target devices use pre-R audio.bluetooth_qti.default.so and
pre-R audio hal, in which the new set_event_callback API is not
implemented and the audio service will crash due to mismatched struct.

jjpprrrr:
The audio flinger also warns about event callback when playing
audio through a USB audio adapter with DAC. Let's go back to v5
to avoid calling these unimplemented features at all.

...
D AudioFlinger: Failed to add event callback
...

Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-01-23 09:37:02 +01:00
jjpprrrr
397dc77a48
sdm710-common: build the missing libs
Not sure why these aren't there by default anymore.
2021-10-20 22:38:25 +02:00
Edwin Wong
d9972b2bd9
sdm710-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:38:25 +02:00
Giammarco Senatore
5b5fd7d902
sdm710-common: Drop updatable APEX 2021-10-20 22:38:24 +02:00
Giammarco Senatore
9c817e7254
sdm710-common: Drop WfdCommon boot jars for now 2021-10-19 17:43:01 +02:00
Bruno Martins
f28ae5e99e
sdm710-common: Build offline charging daemon dependency
This must be explicitly built as of R. Fixes off mode charging. (not yet here)

Change-Id: Ie013d25d55105b4eb2191b9fd625ed8e02c863c5
2021-08-22 15:50:36 +02:00
uixdess
9f4635840e
sdm710-common: Merge QCOM media codecs configs with ones being parsed
(nuke whole vendor configs here)

 * Without CodeAurora's modifications in frameworks/av, the vendor suffixed
   media codecs configs are not parsed at all. Move select vendor additions
   into the main files in order to enumerate support for hardware-backed
   HEVC encoder.
2021-08-22 15:23:19 +02:00
Giammarco Senatore
030df1de92
Revert "kunlun2: drop livedisplay"
This reverts commit 835641f2cf.
 And remove sunlight
2021-08-19 13:51:58 +02:00
Giammarco Senatore
ea5649d744
sdm710-common: Add missing init.msm.usb.configfs.rc from stock
- files are same on both jd2019 and kunlun2
2021-08-17 22:36:47 +02:00
Giammarco Senatore
df5cd8ff7e
sdm710-common: Drop unneeded sensors libs
we use prebuilt 2.0
2021-08-16 21:55:24 +02:00
Giammarco Senatore
31177d1229
sdm710-common: Drop unwanted codec2 seccomp policy
and lib
2021-08-16 21:55:24 +02:00
Demon000
6687ec44b2
sdm710-common: Build separate system and vendor HIDL libs
and cleanup sdm710.mk

Change-Id: If8e2211e643bdb0ff67fb248e7fe33b78077a06e
2021-08-16 21:55:23 +02:00
Robert Shih
d5172c8756
sdm710-common: Enable v1.3 drm plugins
Bug: 139134043
Test: MediaDrmTest
Change-Id: Iacab99903846ef5d63e7535f163190a9bd476f79
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-16 21:55:23 +02:00
Chenyang Zhong
3cacb8f7b0
sdm710-common: clean up display stack
libdisplayconfig was replaced by libdisplayconfig.qti on R. While
we are at it, build vendor.disiplay.config@1.0.vendor as well so
that QSEECOMD is happy.

E QSEECOMD: : Init dlopen(libsecureui.so, RLTD_NOW) is failed.... dlopen failed: library "vendor.display.config@1.0.so" not found: needed by /vendor/lib64/libsecureui.so in namespace (default)

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-16 21:55:23 +02:00
David Ng
08f71ce1db
sdm710-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
2021-08-16 21:55:23 +02:00
Giammarco Senatore
3bb90fc389
sdm710-common: Update permissions from xiaomi-sdm845 2021-08-16 21:55:22 +02:00
Yan Wang
9586b17baa
sdm710-common: iorap: Turn pinner on for camera
Bug: 157667363
Test: Check the pinner in dumpsys
Change-Id: I6313e4c7a0ad0e8236390d773f29b2109a82c615
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-16 21:55:22 +02:00
jjpprrrr
c34f2ca228
sdm710-common: Pack libwfdaac_vendor for WFD
move WifiOverlay to wifi

Change-Id: I828918c42e1eb2963829d62a9dbeee83e2f0e600
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-14 14:38:22 +02:00
Henrique Pereira
65cb7a78e4
sdm710-common: Split system properties from vendor 2021-08-02 11:57:36 +02:00
Kra1o5
02b355647f
sdm710-common: Define display features via property
Android 10 deprecates the ConfigStore HAL as we can see here:
https://source.android.com/devices/architecture/configuration

Signed-off-by: Mesquita <mickaelmendes50@gmail.com>
Change-Id: Ia9d862190e0da544096023b28f18323c58352546
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-02 11:57:26 +02:00
Giammarco Senatore
f6f497c743
sdm710-common: Initial commonized tree
* minor cleanup in overlay and init rc
* drop dolby
2021-07-25 21:56:17 +02:00
SamarV-121
9e97efcf3a Convert to kunlun2
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-11 18:58:30 +05:30
SamarV-121
25560d6348 sdm710-common: Bring back qti-telephony-common.jar
This reverts commit 715148fe2f.

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-10 11:56:28 +00:00
SamarV-121
6b8ab2e503 Revert "sdm710-common: Introduce 'SafailNet'"
This reverts commit 46d5e09e1c.

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-07 20:24:04 +00:00
SamarV-121
d07301de0a sdm710-common: Import QTI Power HAL from Lineage
* 0db671a262
 * https://github.com/LineageOS/android_hardware_lineage_interfaces/tree/lineage-17.1/power/1.0
 * rootdir: Disable vendor.power-hal-1-0
 * sepolicy: Lable android.hardware.power@1.2-service-qti

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30