Skip to content

Commit

Permalink
sdm660-common: Enable AOSP WFD
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Bourgoin <themard85@gmail.com>

Change-Id: I49d46c4eb27ccef6e2ae678e8eccc10c2e5257aa
  • Loading branch information
SebaUbuntu committed Sep 13, 2021
1 parent fd6a21f commit 489604f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 103 deletions.
14 changes: 0 additions & 14 deletions configs/manifests/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -496,20 +496,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<name>IService</name>
<instance>default</instance>
</interface>
</hal>
<!-- WFD HAL Service -->
<hal format="hidl">
<name>com.qualcomm.qti.wifidisplayhal</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IHDCPSession</name>
<instance>wifidisplayhdcphal</instance>
</interface>
<interface>
<name>IDSManager</name>
<instance>wifidisplaydshal</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.drm</name>
Expand Down
3 changes: 0 additions & 3 deletions configs/qti_whitelist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,4 @@
<hidden-api-whitelisted-app package="com.qualcomm.qti.uimlpatest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.lpa" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.uim" />

<hidden-api-whitelisted-app package="com.qualcomm.wfd.client" />
<hidden-api-whitelisted-app package="com.qualcomm.wfd.service" />
</config>
35 changes: 0 additions & 35 deletions configs/system-privapp-permissions-qti.xml

This file was deleted.

14 changes: 14 additions & 0 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,20 @@
<!-- Is the device capable of hot swapping an ICC Card -->
<bool name="config_hotswapCapable">true</bool>

<!-- Whether WiFi display is supported by this device.
There are many prerequisites for this feature to work correctly.
Here are a few of them:
* The WiFi radio must support WiFi P2P.
* The WiFi radio must support concurrent connections to the WiFi display and
to an access point.
* The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
remote submix module. This module is used to record and stream system
audio output to the WiFi display encoder in the media server.
* The remote submix module "audio.r_submix.default" must be installed on the device.
* The device must be provisioned with HDCP keys (for protected content).
-->
<bool name="config_enableWifiDisplay">true</bool>

<!-- Set to true if the wifi display supports compositing content stored
in gralloc protected buffers. For this to be true, there must exist
a protected hardware path for surface flinger to composite and send
Expand Down
39 changes: 0 additions & 39 deletions proprietary-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -547,42 +547,3 @@ vendor/lib64/vendor.qti.hardware.tui_comm@1.0.so|e47baed52f1c0637de34fa55e45a86b
vendor/bin/hw/android.hardware.drm@1.2-service.widevine|1aed116c6cd73ee0c89a5eec050afab5c64b9f87
vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc|dee5b7838ac561a2292e89fc0c4ccd1932224215
vendor/lib64/libwvhidl.so|0466cd3b2a7b93efd23945e2637430513472ad7c

# WiFi Display - from jasmine
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/libmmrtpdecoder.so|ff871cfac4a4d9dac89a612f100ca9de9add9344
lib/libmmrtpencoder.so|eb32452859323bdfdabcf3780bebad781b367ac4
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/libwfduibcsink.so|78db2e13f03602d089160397ac494d35a5f4a1f3
lib/libwfduibcsinkinterface.so|23b1a68bd56e9788c61a262a0350b0a0b8c5b031
lib/libwfduibcsrc.so|f6f35ca89441967fcf3f6590f45b81d92311a81c
lib/libwfduibcsrcinterface.so|bfe916d7d1a9395883417b4076a41a50d7cf83ad
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/com.qualcomm.qti.wifidisplayhal@1.0.so|cf03926fce8af504ae3a36af6ea50ce066112ca1
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
9 changes: 0 additions & 9 deletions sdm660.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ PRODUCT_SOONG_NAMESPACES += \

# Permissions
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/system-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml \
$(LOCAL_PATH)/configs/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml

PRODUCT_COPY_FILES += \
Expand Down Expand Up @@ -407,13 +406,5 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
$(LOCAL_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

# Inherit the proprietary files
$(call inherit-product, vendor/xiaomi/sdm660-common/sdm660-common-vendor.mk)
3 changes: 0 additions & 3 deletions system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ DEVICE_PROVISIONED=1
persist.sys.fflag.override.settings_network_and_internet_v2=true
ril.subscription.types=NV,RUIM
telephony.lteOnCdmaDevice=1

# WFD
persist.debug.wfd.enable=0

0 comments on commit 489604f

Please sign in to comment.