Commit Graph

736 Commits

Author SHA1 Message Date
Sebastian Dang
dcde13429b sdm845-common: Move wfdhdcp Crypto & DRM HAL to 1.3
Change-Id: Ic1f18825f61aa1aecbb56941dd9cfe2447659a20
2020-12-30 10:47:12 +00: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
Karthi Kandasamy
55a3ad6846 sdm845-common: Update IDisplayConfig to 2.0 version
Change-Id: I8c470a9b2481a0c8b151efab222defe5816bf065
2020-12-30 10:38:10 +00:00
Karthi Kandasamy
79cee72a78 sdm845-common: Remove Qdutils_disp entry from manifest
Remove Qdutils_disp entry from manifest as implementation is removed
and its not used any more.

Change-Id: I77464cd41f795d36a7ceaa0b8264004681511d46
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
Michael Bestas
f44df59ab2 sdm845-common: Remove libI420colorconvert
* It was only used in the long dead video editor

Change-Id: I5a3605585ede0b8f556f53cec7cf8d55d3ae4132
2020-12-30 10:37:46 +00:00
Bruno Martins
0012ed5e99 sdm845-common: Drop bitness from graphics composer service
Change-Id: I697d27a7d76aa25c979d8566d12a765c39403ae6
2020-12-28 12:11:19 +00:00
Bruno Martins
ad932e4ec4 sdm845-common: Sign Tether RROs with default cert
In analogy to commit 57653ac.

Change-Id: I18f770da2986653a70fdfa92f3be5e1199d06d08
2020-12-27 23:19:57 +01:00
David Su
57653ac069 sdm845-common: Don't sign Wifi RROs with platform cert
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
2020-12-27 22:14:56 +00:00
LuK1337
e8e2f684bb sdm845-common: Disable qti-telephony-common injection for time being
TODO: revisit once usable qti-telephony-common jar is available.

Change-Id: I2b80a3beb931d11db4b8367cded738e935797002
2020-12-26 18:29:07 +00:00
Sandeep Gutta
0c7d68c88b sdm845-common: Update hidl-wrapper and telephony-utils jar path
Include system_ext path for both hidl-wrapper and telephony-utils jar's

Change-Id: I7cdd93c71bd4a029971188cab60ed98e401be583
CRs-Fixed: 2637090
2020-12-26 18:29:07 +00:00
Sandeep Gutta
dbd43843c3 sdm845-common: Move qti-telephony-common jar to system_ext partition
Move qti-telephony-common jar to system_ext partition.

Change-Id: Ib4c366b2c3ceeea59734902aa1825126e7fa402c
CRs-Fixed: 2608010
2020-12-26 18:29:07 +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
Aayush Gupta
12af2e97e7 sdm845-common: Address init denials regarding socket_device
[    9.346918] type=1400 audit(71454275.960:7): avc: denied { create } for comm="init" name="dpmwrapper" scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=0

Ref:
[0]: https://source.codeaurora.org/quic/la/device/qcom/sepolicy/commit/?h=LA.UM.9.2.1.r1-03800-sdm660.0&id=79488292273efa5ab89bc405a5f6ae4dec5d011d

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I262b06821c0625978b3685d0666bd2cf599fbf98
2020-12-24 13:51:29 +00:00
Chenyang Zhong
a328275c33 sdm845-common: Use the old libsdedrm.so
Xiaomi changed something in V12.0.1.0 that causes invalid secure mode in DRM.

E SDM     : DRMPlaneManager::Perform: Invalid secure mode 15967184 to set on plane 93
E SDM     : DRMPlaneManager::Perform: Invalid plane id 112
E SDM     : DRMAtomicReq::Validate: drmModeAtomicCommit failed with error 2
E SDM     : HWDeviceDRM::Validate: failed with error -2 for Peripheral Display

Change-Id: I2a5aeaea45c0419582d89ccf168ab8a5373c4d0b
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2020-12-14 18:25:42 +01:00
Bruno Martins
1e57d9fbac sdm845-common: Update blobs from MIUI 12
Change-Id: I72984743e890c4ac9444f3003d8e9a225da7866c
2020-12-14 18:25:42 +01:00
Dyneteve
cdf5be89a2 sdm845-common: disable HD Logo
* sed -i 's|<boolean name=\"config_update_service_status\" value=\"true\"/>|<boolean name=\"config_update_service_status\" value=\"false\"/>|g' overlay/packages/apps/CarrierConfig/res/xml/vendor.xml

Change-Id: I38015fb6062325d185d67a710308aff56c32c139
2020-12-13 23:08:34 +05:30
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
Nolen Johnson
11ad599480 sdm845-common: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2020-12-02 22:39:33 +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
d1cf299c86 sdm845-common: Drop obsolete priv-app permissions
Change-Id: I42e69b8e1d9caf8d580176734072e05fad7f8725
2020-11-28 02:53:21 +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
Bruno Martins
a5ab78398f sdm845-common: Add missing IMS symlinks
Change-Id: Id29022e1c46d5b386aeaec78f80b244e220c55c6
2020-11-28 00:23:29 +02:00
Bruno Martins
b6bf0a0fae sdm845-common: Remove deprecated telephony flag
The custom jar is dead for good in Android 11.

Change-Id: I7f0f7afd186b00f01183bf4479092d03897e074a
2020-11-24 15:49:42 +00:00
Bruno Martins
6beaaa60f3 sdm845-common: Unset BUILD_BROKEN_USES_BUILD_COPY_HEADERS flag
Qualcomm HALs have been updated to get rid of LOCAL_COPY_HEADERS usage.

This reverts commit 60ec4ce6ab.

Change-Id: I9f60f60fa0c1146bf5e75d3b18af4166061b68fb
2020-11-24 15:59:05 +01: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
Bruno Martins
305dc58668 sdm845-common: sepolicy: Add /product file context for dpmd daemon
This got removed from QCOM sepolicies because DPM was
moved from /product to /system_ext.

Change-Id: Ifdff048d8b68bd9593e9a30394888a966c198f8d
2020-11-24 11:37:09 +00:00
Bruno Martins
1ab39e3db4 sdm845-common: overlay: Sync CarrierConfig with LA.UM.8.3.r1-08500-sdm845.0
Change-Id: Iba03b0c5a9ac59343fbc17a3b7de46789af32c72
2020-11-24 11:36:46 +00:00
Arian
7b4f207c5c sdm845-common: Build libplatformconfig from source
Change-Id: I8b4f2272ee47f7652c21918792d9fb72c7018db6
2020-11-17 22:02:30 +00:00
Sauvik Saha
575ea11d77 sdm845-common: FR 53051: Self Contained Modules
Desc: Remove IMS daemons

Change-Id: Ifdfd61c8a2035676f39e3822f2c6522f9e040ee6
2020-11-13 22:36:04 +01:00
Bruno Martins
64ef867b66 sdm845-common: Remove legacy persist path entries from init script
Change-Id: Ifcb1ef1fc3967c7bf635537a5e05109235905c1e
2020-11-13 22:36:04 +01:00
YumeMichi
56b92abca3 sdm845-common: Fix power service name
Change-Id: I253404d56be99b08105679104b2462c06f1c0eb4
Signed-off-by: YumeMichi <do4suki@gmail.com>
2020-11-13 22:25:32 +01:00
Bruno Martins
d222b56150 sdm845-common: Remove vendor-ril lib path property trigger
No longer used with QC RIL services.

Change-Id: Ib660b20f2a3cca222a10a1919f0f81ee174bf6dc
2020-11-09 13:14:53 +02:00
Kevin Chyn
710af0c4bd sdm845-common: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
2020-11-09 11:00:41 +00:00
Bruno Martins
3d80eee1d5 sdm845-common: Ditch rild.libpath prop
This is only needed for AOSP rild services. It's currently
unused since the move to QCRIL.

Change-Id: I5eb4d0bc2d086d5a2f29e3c3f5ee2d8f0220f5f5
2020-11-02 01:31:02 +02:00
LuK1337
338b58bfba sdm845-common: rro_overlays: Redo TetheringOverlay's blueprint
This now matches WifiOverlay.

Change-Id: I9e4e859b7aca75d41556ea5807e34a4eb4598266
2020-11-01 10:27:42 +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
Roshan Pius
ed9c42d6f7 sdm845-common: overlay: 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-11-01 09:51:36 +00:00
Bruno Martins
533230aff7 sdm845-common: Fix WiFi tethering
Kang tether regex from crosshatch in order to fix broken
tethering in Android 11.

Change-Id: Ie7d13d219fd4137177b5aac7d1b1994f7f02c14c
2020-11-01 09:50:53 +00:00
LuK1337
153284b969 sdm845-common: Enable RRO overlays for lineage-sdk
Change-Id: I482f2393e10e90362db2c66b7abb0de837085843
2020-10-31 22:00:23 +00:00
Wang Han
9c5c8f6da2 sdm845-common: parts: Get foreground application with getFocusedStackInfo()
* The main benefit is this API recognizes applications in split
   screen far more better.

Change-Id: I4c9c2530c8090e05da558ed829d59ece5e00e1fb
2020-10-31 22:44:53 +01:00
Bruno Martins
117b9c28cd sdm845-common: Unset DEXPREOPT_GENERATE_APEX_IMAGE
This was missed in commit bc7d72e.

Change-Id: I8a130456021da1532279c3f0ac0ca0110e68b9b4
2020-10-31 22:44:27 +02:00
Bruno Martins
a14f3c65bc sdm845-common: rro_overlays: Fix WifiOverlay package name
Change-Id: Ideb280c2060089110ead9c70f23be6262fed5963
2020-10-31 20:36:58 +00:00
Han Wang
6fa6fdf9a8 Revert "sdm845-common: Force enable mobile network settings v2"
* This prop is not honored anymore on 11.

This reverts commit 1fbd9506c4.

Change-Id: I7a10d9918a0218d607d65203e9a38d3e484a618f
2020-10-25 14:03:12 +02:00
1nfrag
abd641e8a4 sdm845-common: power: Correct DT2W on/off logic
Change-Id: I7b38427dedc4c07ddb5aa49197bbb61b3562563a
2020-10-21 14:34:48 +02:00