summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Borisov <dedsa2002@gmail.com>2018-12-24 15:25:51 +0400
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commita832c30313e89996c76d63f0455281fc32dcbf36 (patch)
treeddba2700d87e2a2237fa645e9d026350a178bf66
parenta4be8551009b134340306e8dcdbb5b9719cc20f8 (diff)
sdm660-common: Add QCOM's WFD implementation
* Sadly, out-of-the-box Miracast support was killed in P, so we need this to keep Wi-Fi display feature working. Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
-rw-r--r--configs/qti_whitelist.xml4
-rw-r--r--properties.mk3
-rw-r--r--proprietary-files.txt46
-rw-r--r--sdm660.mk8
4 files changed, 59 insertions, 2 deletions
diff --git a/configs/qti_whitelist.xml b/configs/qti_whitelist.xml
index 798b876..131953b 100644
--- a/configs/qti_whitelist.xml
+++ b/configs/qti_whitelist.xml
@@ -42,4 +42,8 @@
<allow-in-power-save package="com.qualcomm.qti.server.wigigapp" />
<allow-in-power-save package="com.qualcomm.qti.StatsPollManager" />
<allow-in-power-save package="com.qualcomm.qti.gsma.services.nfc" />
+
+ <!-- These telephony applications need access to non-[System]SDK APIs -->
+ <hidden-api-whitelisted-app package="com.qualcomm.wfd.client" />
+ <hidden-api-whitelisted-app package="com.qualcomm.wfd.service" />
</config>
diff --git a/properties.mk b/properties.mk
index ba7238e..db9cca3 100644
--- a/properties.mk
+++ b/properties.mk
@@ -72,6 +72,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.hw=1 \
debug.sf.latch_unsignaled=1 \
persist.debug.wfd.enable=1 \
+ persist.sys.wfd.virtual=0 \
+ debug.gralloc.enable_fb_ubwc=1 \
+ vendor.gralloc.enable_fb_ubwc=1 \
persist.hwc.enable_vds=1 \
ro.opengles.version=196610 \
ro.qualcomm.cabl=0 \
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 1b18e37..f9556b4 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -440,9 +440,7 @@ vendor/lib64/libgcs.so|152af5321ebe26fe06513c71b63d02f89bd4e01d
vendor/lib64/vendor.qti.voiceprint@1.0.so|2d8f34fce4fab002ea13df5009de4b00af066982
# Media - from jasmine
-lib/libmmosal.so|37719ae5647ef6ec826d06b93e34e0b53c565529
lib/vendor.qti.hardware.vpp@1.1.so|8f962f51878b6e75071dfcb46a1b6dbd55c9d081
-lib64/libmmosal.so|3d50c7ea56db9c3676be9d6e36e1030386ecdb02
lib64/vendor.qti.hardware.vpp@1.1.so|2e2cc2bcc9657336811ce7733728baffa4667c0c
vendor/lib/libAlacSwDec.so|702aa4606b6999334cb0a04e806fbc4defaa6d8c
vendor/lib/libApeSwDec.so|c9a060dff8d2c5839225ae975860861d03d97e9e
@@ -739,5 +737,49 @@ vendor/bin/hw/android.hardware.drm@1.1-service.widevine|320749f5ce293176b9de747d
vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc|458dd241f5f8536eccb57f012b3eba0061736e8e
vendor/lib64/libwvhidl.so|7c0a796c06a5ed705fab27f91db248fe385492bf
+# WiFi Display - from jasmine V11.0.8.0.QDIMIXM
+bin/wfdservice|d9cccfd6ca14a1d83117533296d6cac2c139c310
+etc/init/wfdservice.rc|311bfdd1675e56499662f39455536b75b78477bb
+etc/wfdconfig.xml|d07f6b0441c0aa8913865100239490fa8687a020
+etc/wfdconfigsink.xml|5b4a96f251fd83c2eee520d06bea2b5b159fcd36
+-framework/WfdCommon.jar|3440607d29511e1a671e565a2acc4d262e38a9fb
+lib/com.qualcomm.qti.wifidisplayhal@1.0.so|47e7949bceaff2d4ef11c51073fa2a173b82eddd
+lib/libFileMux.so|79661e6dffc90234ad446641264fd0fa1a3fe6ab
+lib/libmmosal.so|9464733295e192301b2577f52fab720e72c0d152
+lib/libmmparser_lite.so|3967c4cd6835f733b302b44aabff7f51c8c4db7f
+lib/libmmrtpdecoder.so|ff871cfac4a4d9dac89a612f100ca9de9add9344
+lib/libmmrtpencoder.so|eb32452859323bdfdabcf3780bebad781b367ac4
+lib/libOmxMux.so|1ad1aa835a3dfb8bfea2a29291f82a173ba6a868
+lib/libwfdavenhancements.so|9faebc424959e2152adf4c1e970cc451952b21f9
+lib/libwfdclient.so|9c075928fa35c57863bd16a5571fe97d599a988a
+lib/libwfdcodecv4l2.so|bfaf6e18013d9cc4665c57c1f9f639b87da3e433
+lib/libwfdcommonutils.so|c02a5d6f5eb17a12ff79b08b77d07d99e3d54de5
+lib/libwfdconfigutils.so|3d2585e3674ae11b2322a38f1b7509908f9e54a1
+lib/libwfdmminterface.so|c2914c60cb412732d45610e67e7e408f6ad7a45a
+lib/libwfdmmsink.so|987b4d5b40fb584763da477ea08b91c0146bb2b1
+lib/libwfdmmsrc.so|43ee8c98670c9395fd2a6edce1db929760fab1c2
+lib/libwfdnative.so|19fcd406b721891ea7df7a7c95de42fa26fdfb14
+lib/libwfdrtsp.so|6194fed354ed8f26b813b39510d2ee8db729492d
+lib/libwfdservice.so|ba2e446ef8ad69123eaa49814d1fdff4946ff9f6
+lib/libwfdsm.so|2256010a75247f3b1638a31aac332a7ca4bc7364
+lib/libwfduibcinterface.so|6bfbcfaec293efb6029cb871558ccef8c74ce5bf
+lib/libwfduibcsinkinterface.so|23b1a68bd56e9788c61a262a0350b0a0b8c5b031
+lib/libwfduibcsink.so|78db2e13f03602d089160397ac494d35a5f4a1f3
+lib/libwfduibcsrcinterface.so|bfe916d7d1a9395883417b4076a41a50d7cf83ad
+lib/libwfduibcsrc.so|f6f35ca89441967fcf3f6590f45b81d92311a81c
+lib64/libmmosal.so|9ceff2581e86d32bc2795dffb96ebe4bdc88f2f7
+lib64/libwfdclient.so|884bfd6710f05d567eb0083a00ee4889f73d796d
+lib64/libwfdnative.so|587b774c4eb49f188747dd80d67426e68d87d396
+-priv-app/WfdService/WfdService.apk|311d2726d96beba2baa28b6c73dcb6f8a3d99d40
+vendor/bin/wifidisplayhalservice|56ec79e39595e0c34baba8cb16ab5d1931d793db
+vendor/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc|04e463342cbba4c0e9c311a18238f95dec9359fd
+vendor/lib/com.qualcomm.qti.wifidisplayhal@1.0-halimpl.so|f8d82d7e80e730c01fc0c84f4464762d273b4d62
+vendor/lib/libmmosal_proprietary.so|a339e7b1dcf86fbb3ee3262ebb15d93cbd5a1916
+vendor/lib/libwfdcommonutils_proprietary.so|14df45871041125273609b6ddc507fa6901cb44d
+vendor/lib/libwfdhaldsmanager.so|00a7bf5c76ef2b1ee72fcaf6d3af6d7f09f31fae
+vendor/lib/libwfdhdcpcp.so|ba051604d914847b862d78af70d02abf85d86d4b
+vendor/lib/libwfdmmservice.so|87f9c841031272e6a3713abd85326f84d2ae52e5
+vendor/lib/libwfdmodulehdcpsession.so|97ffe7c96970fc5605f4f6414fc31ab7cec78bdc
+
# Wifi - from jasmine
vendor/bin/cnss-daemon|01ce2fa8f4852305bea2af33f59e41e7f05f44ad
diff --git a/sdm660.mk b/sdm660.mk
index 6a45c37..26e5596 100644
--- a/sdm660.mk
+++ b/sdm660.mk
@@ -443,3 +443,11 @@ PRODUCT_COPY_FILES += \
$(COMMON_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
$(COMMON_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
$(COMMON_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
+
+# WiFi Display
+PRODUCT_PACKAGES += \
+ libaacwrapper \
+ libnl
+
+PRODUCT_BOOT_JARS += \
+ WfdCommon