sanders: WFD Changes
*Taken from tissot device tree Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
@@ -525,12 +525,16 @@
|
|||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>vendor.qti.imsrtpservice</name>
|
<name>com.qualcomm.qti.wifidisplayhal</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IRTPService</name>
|
<name>IDSManager</name>
|
||||||
<instance>imsrtpservice</instance>
|
<instance>wifidisplaydshal</instance>
|
||||||
|
</interface>
|
||||||
|
<interface>
|
||||||
|
<name>IHDCPSession</name>
|
||||||
|
<instance>wifidisplayhdcphal</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|||||||
@@ -19,6 +19,12 @@
|
|||||||
<permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD"/>
|
<permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD"/>
|
||||||
</privapp-permissions>
|
</privapp-permissions>
|
||||||
|
|
||||||
|
<privapp-permissions package="com.qualcomm.wfd.service">
|
||||||
|
<permission name="android.permission.READ_FRAME_BUFFER"/>
|
||||||
|
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
|
||||||
|
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/>
|
||||||
|
</privapp-permissions>
|
||||||
|
|
||||||
<privapp-permissions package="com.android.fmradio">
|
<privapp-permissions package="com.android.fmradio">
|
||||||
<permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
|
<permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
|
||||||
<permission name="android.permission.ACCESS_FM_RADIO"/>
|
<permission name="android.permission.ACCESS_FM_RADIO"/>
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ PRODUCT_PACKAGES += \
|
|||||||
audio.a2dp.default \
|
audio.a2dp.default \
|
||||||
audio.r_submix.default \
|
audio.r_submix.default \
|
||||||
audio.usb.default \
|
audio.usb.default \
|
||||||
|
libaacwrapper \
|
||||||
libaudio-resampler \
|
libaudio-resampler \
|
||||||
libtinycompress
|
libtinycompress
|
||||||
|
|
||||||
@@ -448,6 +449,10 @@ PRODUCT_COPY_FILES += \
|
|||||||
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini \
|
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini \
|
||||||
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
|
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
|
||||||
|
|
||||||
|
# Wi-Fi Display
|
||||||
|
PRODUCT_BOOT_JARS += \
|
||||||
|
WfdCommon
|
||||||
|
|
||||||
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
|
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
|
||||||
|
|
||||||
PRODUCT_GMS_CLIENTID_BASE := android-motorola
|
PRODUCT_GMS_CLIENTID_BASE := android-motorola
|
||||||
|
|||||||
@@ -344,6 +344,32 @@
|
|||||||
provisioning, availability etc -->
|
provisioning, availability etc -->
|
||||||
<bool name="config_carrier_volte_available">true</bool>
|
<bool name="config_carrier_volte_available">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
|
||||||
|
protected buffers to the wifi display video encoder.
|
||||||
|
If this flag is false, we advise applications not to use protected
|
||||||
|
buffers (if possible) when presenting content to a wifi display because
|
||||||
|
the content may be blanked.
|
||||||
|
This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
|
||||||
|
flag is set for wifi displays.
|
||||||
|
-->
|
||||||
|
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
|
||||||
|
|
||||||
<!-- Flag specifying whether WFC over IMS is available on device -->
|
<!-- Flag specifying whether WFC over IMS is available on device -->
|
||||||
<bool name="config_device_wfc_ims_available">true</bool>
|
<bool name="config_device_wfc_ims_available">true</bool>
|
||||||
|
|
||||||
|
|||||||
@@ -131,6 +131,12 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||||||
vendor.gralloc.enable_fb_ubwc=1 \
|
vendor.gralloc.enable_fb_ubwc=1 \
|
||||||
vendor.display.disable_skip_validate=1
|
vendor.display.disable_skip_validate=1
|
||||||
|
|
||||||
|
# Wifi-Display
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
persist.debug.wfd.enable=1 \
|
||||||
|
persist.sys.wfd.virtual=0 \
|
||||||
|
vendor.video.disable.ubwc=1
|
||||||
|
|
||||||
# FM
|
# FM
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
ro.fm.transmitter=false
|
ro.fm.transmitter=false
|
||||||
|
|||||||
Reference in New Issue
Block a user