6 Commits
Author SHA1 Message Date
Raya Mahardika b4502a81ea Revert "sdm845-common: Update namespace_imports to sdm845-4.19"
This reverts commit 96c51d5d97.
2026-10-25 17:26:27 +00:00
duckyduckg fc47733b7e sdm845-common: Patch codec2 for legacy 128x32 alignment
Note: values were taken from stock msmnile codec2 using ghidra.

on kona platforms or newer or older, if IsCameraCustomFormat fails c2 enforces 512x512 alignment.
after this patch with IsCameraCustomFormat disabled on legacy CamX,
incoming buffers retain standard Venus 128x32 alignment.

1. qc2::QC2Buffer::Graphic::GetAlignedHeight
   - File_Offset: 0x138D2
   - Assembly:
     0x138D2: 00 F2 FF 11 -> 00 F2 1F 01  ; addw r1, r0, #0x1f
     0x138D6: 40 F2 FF 12 -> 40 F2 1F 02  ; movw r2, #0x1f
   - ALIGN(h, 512) -> ALIGN(h, 32)

2. qc2::QC2Buffer::Graphic::GetAlignedWidth
   - File_Offset: 0x1397C
   - Assembly:
     0x1397C: 00 F2 FF 11 -> 00 F2 7F 01  ; addw r1, r0, #0x7f
     0x13980: 40 F2 FF 12 -> 40 F2 7F 02  ; movw r2, #0x7f
   - ALIGN(w, 512) -> ALIGN(w, 128)

Change-Id: I154b556cbefdbbd47a6c315d38fb468aed39f1b7
Signed-off-by: duckyduckg <duckyduckg65@gmail.com>
2026-10-23 18:47:57 +00:00
Edwin Moquete 285d3dc4e6 sdm845-common: Update C2 blobs from FP4.QREL.15.20.0.20260821145807
Change-Id: I5ae3c31baa0fb9eb17d0dae75ce5bd37859cbeb4
2026-10-23 18:47:51 +00:00
LuK1337 dda6ed4095 sdm845-common: Update WFD vendor blobs from FP4.QREL.15.20.0.20260821145807
Change-Id: I6f8c4da7384e85ab4a65b7d084bda18381a16b05
2026-10-23 18:43:34 +00:00
Michael Bestas 514c2a108c sdm845-common: Update WFD system blobs from marvel_g A171WEH.20
Change-Id: I733c2bf342175474ce7f02d467a17ded6f0a8760
2026-10-23 18:37:17 +00:00
Raya Mahardika e003903536 sdm845-common: Drop Audiosphere 2026-10-23 18:34:58 +00:00
75 changed files with 1174 additions and 246 deletions

No files matched your search

+188 -89
View File
@@ -5,7 +5,7 @@
soong_namespace { soong_namespace {
imports: [ imports: [
"device/xiaomi/sdm845-common", "device/xiaomi/sdm845-common",
"hardware/qcom-caf/sdm845-4.19", "hardware/qcom-caf/sm8250",
"hardware/qcom-caf/wlan", "hardware/qcom-caf/wlan",
"hardware/xiaomi", "hardware/xiaomi",
"vendor/qcom/opensource/commonsys-intf/display", "vendor/qcom/opensource/commonsys-intf/display",
@@ -3879,33 +3879,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libmm-hdcpmgr",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libmm-hdcpmgr.so",
],
shared_libs: [
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libmmosal_vendor", name: "libmmosal_vendor",
stem: "libmmosal", stem: "libmmosal",
@@ -4015,7 +3988,7 @@ cc_prebuilt_library_shared {
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libqcodec2", name: "libqcodec2_base",
owner: "xiaomi", owner: "xiaomi",
strip: { strip: {
none: true, none: true,
@@ -4023,14 +3996,136 @@ cc_prebuilt_library_shared {
target: { target: {
android_arm: { android_arm: {
srcs: [ srcs: [
"proprietary/vendor/lib/libqcodec2.so", "proprietary/vendor/lib/libqcodec2_base.so",
], ],
shared_libs: [ shared_libs: [
"libutils", "libutils",
"libcutils", "libcutils",
"liblog", "liblog",
"libcodec2_vndk", "libcodec2_vndk",
"libqdMetaData", "libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_basecodec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_basecodec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_platform",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_core",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_core.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_platform",
"libqcodec2_basecodec",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_platform",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_platform.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libjsoncpp",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_utils",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_utils.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_platform",
"libhidlbase", "libhidlbase",
"android.hardware.graphics.mapper@3.0", "android.hardware.graphics.mapper@3.0",
"libc++", "libc++",
@@ -4045,6 +4140,38 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libqcodec2_v4l2codec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_v4l2codec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libqcodec2_base",
"libqcodec2_platform",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libcodec2_vndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libqtigef", name: "libqtigef",
owner: "xiaomi", owner: "xiaomi",
@@ -4754,33 +4881,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libasphere",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/soundfx/libasphere.so",
],
shared_libs: [
"libcutils",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
relative_install_path: "soundfx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libdirac", name: "libdirac",
owner: "xiaomi", owner: "xiaomi",
@@ -4883,6 +4983,7 @@ cc_prebuilt_library_shared {
"vendor.qti.hardware.wifidisplaysession@1.0_vendor", "vendor.qti.hardware.wifidisplaysession@1.0_vendor",
"libwfdsessionmodule", "libwfdsessionmodule",
"liblog", "liblog",
"libwfdcommonutils_proprietary",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -11921,7 +12022,6 @@ cc_prebuilt_library_shared {
"libjpeg", "libjpeg",
"libpiex", "libpiex",
"libpng", "libpng",
"libheif",
"libnativewindow", "libnativewindow",
"libEGL", "libEGL",
"libGLESv2", "libGLESv2",
@@ -11987,7 +12087,7 @@ cc_prebuilt_library_shared {
"vendor.display.config@2.0", "vendor.display.config@2.0",
"libdisplayconfig.system.qti", "libdisplayconfig.system.qti",
"libbinder_ndk", "libbinder_ndk",
"vendor.qti.hardware.display.config-V5-ndk", "vendor.qti.hardware.display.config-V16-ndk",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -12015,6 +12115,7 @@ cc_prebuilt_library_shared {
"libmmosal", "libmmosal",
"liblog", "liblog",
"libutils", "libutils",
"libwfddisplayconfig",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -12108,6 +12209,7 @@ cc_prebuilt_library_shared {
"android.hardware.graphics.allocator@4.0", "android.hardware.graphics.allocator@4.0",
"android.hardware.graphics.allocator-V2-ndk", "android.hardware.graphics.allocator-V2-ndk",
"libbinder_ndk", "libbinder_ndk",
"libaudiobase",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
@@ -12132,20 +12234,15 @@ cc_prebuilt_library_shared {
"proprietary/system_ext/lib64/libwfdnative.so", "proprietary/system_ext/lib64/libwfdnative.so",
], ],
shared_libs: [ shared_libs: [
"libinput_shim",
"libandroid_runtime", "libandroid_runtime",
"libgui",
"libui", "libui",
"libbinder",
"libinput", "libinput",
"libnativehelper", "libnativehelper",
"libutils", "libutils",
"liblog", "liblog",
"libwfdclient", "libwfdclient",
"libhidlbase",
"libhidlmemory",
"libbinder",
"libgui",
"android.hidl.base@1.0",
"android.hidl.token@1.0-utils",
"android.hardware.graphics.common@1.0", "android.hardware.graphics.common@1.0",
"android.hardware.graphics.bufferqueue@1.0", "android.hardware.graphics.bufferqueue@1.0",
"android.hardware.graphics.bufferqueue@2.0", "android.hardware.graphics.bufferqueue@2.0",
@@ -12179,6 +12276,7 @@ cc_prebuilt_library_shared {
"libmmosal", "libmmosal",
"libwfdcommonutils", "libwfdcommonutils",
"libwfdconfigutils", "libwfdconfigutils",
"libwfdmminterface",
"liblog", "liblog",
"libc", "libc",
"libm", "libm",
@@ -12216,14 +12314,15 @@ cc_prebuilt_library_shared {
"libwfdmminterface", "libwfdmminterface",
"libmedia_helper", "libmedia_helper",
"libaudioclient", "libaudioclient",
"libaudiobase",
"libaudiofoundation", "libaudiofoundation",
"audioclient-types-aidl-cpp", "audioclient-types-aidl-cpp",
"android.media.audio.common.types-V4-cpp", "android.media.audio.common.types-V5-cpp",
"libwfdmmsrc_system", "libwfdmmsrc_system",
"libwfdavenhancements", "libwfdavenhancements",
"libhidlbase", "libhidlbase",
"vendor.qti.hardware.wifidisplaysession@1.0", "vendor.qti.hardware.wifidisplaysession@1.0",
"vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk", "vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk",
"libbinder_ndk", "libbinder_ndk",
"libc++", "libc++",
"libc", "libc",
@@ -12542,7 +12641,7 @@ cc_prebuilt_library_shared {
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk", name: "vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk",
owner: "xiaomi", owner: "xiaomi",
strip: { strip: {
none: true, none: true,
@@ -12550,7 +12649,7 @@ cc_prebuilt_library_shared {
target: { target: {
android_arm64: { android_arm64: {
srcs: [ srcs: [
"proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk.so", "proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk.so",
], ],
shared_libs: [ shared_libs: [
"libbinder_ndk", "libbinder_ndk",
@@ -12761,14 +12860,6 @@ dex_import {
], ],
} }
dex_import {
name: "audiosphere",
owner: "xiaomi",
jars: [
"proprietary/system/framework/audiosphere.jar",
],
}
dex_import { dex_import {
name: "tcmclient", name: "tcmclient",
owner: "xiaomi", owner: "xiaomi",
@@ -12831,6 +12922,15 @@ prebuilt_etc_xml {
soc_specific: true, soc_specific: true,
} }
prebuilt_etc_xml {
name: "c2_manifest_vendor.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/c2_manifest_vendor.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml { prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.3-service.widevine.xml", name: "manifest_android.hardware.drm@1.3-service.widevine.xml",
owner: "xiaomi", owner: "xiaomi",
@@ -13561,20 +13661,19 @@ cc_prebuilt_binary {
"proprietary/vendor/bin/hw/vendor.qti.media.c2@1.0-service", "proprietary/vendor/bin/hw/vendor.qti.media.c2@1.0-service",
], ],
shared_libs: [ shared_libs: [
"libqcodec2", "libutils",
"android.hardware.media.c2@1.0",
"android.hardware.media.omx@1.0",
"liblog",
"libcutils", "libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libqcodec2_platform",
"libqcodec2_core",
"android.hardware.media.c2@1.0",
"libavservices_minijail", "libavservices_minijail",
"libbinder", "libbinder",
"libhidlbase", "libhidlbase",
"libhidltransport",
"libhwbinder",
"libcodec2_vndk",
"libstagefright_omx",
"libstagefright_xmlparser",
"libutils",
"libvndksupport", "libvndksupport",
"libcodec2_hidl@1.0", "libcodec2_hidl@1.0",
"libc++", "libc++",
@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016, Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="com.qualcomm.qti.audiosphere"
file="/system/framework/audiosphere.jar" />
</permissions>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,850 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This config file is to be used when local device is sink -->
<WFDConfig>
<Capability>
<!--
Audio capabilities
-->
<AudioLPCM>
<Name>LPCM</Name>
<Valid>1</Valid>
<Channels>2</Channels>
<SamplingFreq>48000</SamplingFreq>
<Latency>33</Latency>
</AudioLPCM>
<AudioAAC>
<Name>AAC</Name>
<Valid>1</Valid>
<Channels>6</Channels>
<SamplingFreq>48000</SamplingFreq>
<Latency>0</Latency>
</AudioAAC>
<AudioAC3>
<Name>AC3</Name>
<Valid>0</Valid>
<Channels>0</Channels>
<SamplingFreq>0</SamplingFreq>
<Latency>0</Latency>
</AudioAC3>
<!--
Video capabilities additions for H264 codec
-->
<VideoFormats>
<VideoCodecHeader>
<TotalProfiles>7</TotalProfiles>
<PreferredDisplaySupport>0</PreferredDisplaySupport>
</VideoCodecHeader>
<!-- AVC Profile 0 - Constrained Baseline,
1 - Constrained High,
2 - Constrained High2,
3 - BaseLine,
4 - Main,
5 - High
HEVC Profile 0 - Main
1 - Main444
2 - SCC8b444
3 - MAIN44410b
4 - MAIN10b
5 - MAIN_STILL
-->
<!-- Level 0 - 3.1,
1 - 3.2,
2 - 4.0,
3 - 4.1,
4 - 4.2,
5 - 5,
6 - 5.1,
7 - 5.2
-->
<VideoCodec1>
<CodecName>H.264</CodecName>
<Profile>0</Profile>
<Level>6</Level>
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec1>
<VideoCodec2>
<CodecName>H.264</CodecName>
<Profile>1</Profile>
<Level>6</Level>
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec2>
<VideoCodec3>
<CodecName>H.264</CodecName>
<Profile>2</Profile>
<Level>6</Level>
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec3>
<VideoCodec4>
<CodecName>H.264</CodecName>
<Profile>3</Profile>
<Level>6</Level>
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec4>
<VideoCodec5>
<CodecName>H.264</CodecName>
<Profile>4</Profile>
<Level>6</Level>
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec5>
<VideoCodec6>
<CodecName>H.264</CodecName>
<Profile>5</Profile>
<Level>6</Level>
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec6>
<VideoCodec7>
<CodecName>H.265</CodecName>
<Profile>0</Profile>
<Level>4</Level>
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec7>
</VideoFormats>
<!--
Enable HDR (High Dynamic Range) Support
This configuration controls whether the WFD (WiFi Display) session
supports HDR content transmission and processing.
Values:
0: Disabled
1: Enabled
-->
<EnableHDRInWfd>0</EnableHDRInWfd>
<!--
HDR format capabilities
HdrType : 1 = HDR10, 2 = HDR10 Plus (query from Display)
ColorStandard : 8 -> BT.2020
ColorTransfer : 4 -> ST2084
ColorRange : 1 -> Full
PeakBrightness: 4000 -> peak brightness index (query from Display)
-->
<HdrFormat>
<CodecName>H.265</CodecName>
<Profile>4</Profile>
<Level>4</Level>
<HdrType>2</HdrType>
<ColorStandard>8</ColorStandard>
<ColorTransfer>4</ColorTransfer>
<ColorRange>1</ColorRange>
<PeakBrightness>4000</PeakBrightness>
</HdrFormat>
<!--
Aux streaming is new addition
This is added for Direct streaming
-->
<AuxStreamInfo>
<Codec>
<Count>1</Count>
<Name1>PNG</Name1>
</Codec>
<!--
Limiting the number of layers to 5 in the overlay
Resolution is 1080P for Direct streaming
-->
<MaxOverlay>5</MaxOverlay>
<HRes>1280</HRes>
<VRes>720</VRes>
<Mode>CEA</Mode>
</AuxStreamInfo>
<!--
Standby Resume capability is supported
-->
<StandbyResumeCapability>
<Valid>1</Valid>
</StandbyResumeCapability>
<!--
Explicit AV format change
Not supported
-->
<AVFormatChange>
<Valid>0</Valid>
<AVInterval>0</AVInterval>
</AVFormatChange>
<!--
Frame skipping interval is in the scale of 500 msec or half second.
FrameInterval can be between 1 to 7, according to the WFD spec.
0 means Frame skipping interval is infinite and recommended value is 0
-->
<FrameSkipping>
<Valid>1</Valid>
<FrameInterval>0</FrameInterval>
</FrameSkipping>
<!-- disable HDCP by default -->
<ContentProtection>
<Valid>0</Valid>
<!--
Valid values WFD_HDCP_2_0,
WFD_HDCP_2_1 and WFD_HDCP_2_2
-->
<Version>WFD_HDCP_2_2</Version>
<CPPort>6789</CPPort>
</ContentProtection>
<!--
To enable RTP dump at sink
-->
<RTPDumpEnable>
<!-- DEPRECATED -->
<!-- For enabling RTP parser dumping set
persist.vendor.sys.debug.rtp.enable_dump to 1
/sdcard/Download/rtpdump.ts
-->
</RTPDumpEnable>
<!--
UIBC by default enabled
-->
<UIBC>
<UIBCValid>1</UIBCValid> <!-- 0/1 UIBC supported or not -->
<InputCategory>
<Generic>1</Generic> <!-- 0/1 - support generic or not -->
<HID>1</HID> <!-- 0/1 - support HID or not -->
</InputCategory>
<!-- Supported input events -->
<InputEvents>
<GenericInputEvents>
<!-- 0/1 for all Input Event Types -->
<Mouse>0</Mouse>
<Keyboard>1</Keyboard>
<SingleTouch>1</SingleTouch>
<MultiTouch>1</MultiTouch>
<JoyStick>0</JoyStick>
<Camera>0</Camera>
<Gesture>0</Gesture>
<RemoteControl>0</RemoteControl>
</GenericInputEvents>
<!--
Each input path will have a byte and support
for the input types is indicated by setting a bit:
KEYBOARD BIT0
MOUSE BIT1
SINGLETOUCH BIT2
MULTITOUCH BIT3
JOYSTICK BIT4
CAMERA BIT5
GESTURE BIT6
REMOTECONTROL BIT7
-->
<HIDInputPaths>
<Infrared>0</Infrared>
<USB>1</USB>
<BT>0</BT>
<Zigbee>0</Zigbee>
<Wifi>0</Wifi>
<NoSP>0</NoSP>
</HIDInputPaths>
<!-- Supported HIDC input events -->
<CustomHIDCInputPaths>
<Infrared>0</Infrared>
<USB>3</USB>
<BT>0</BT>
<Zigbee>0</Zigbee>
<Wifi>0</Wifi>
<NoSP>0</NoSP>
</CustomHIDCInputPaths>
</InputEvents>
<!-- TCP port on which UIBC connection established -->
<TcpPort>4321</TcpPort>
<!-- 0/1 - support Custome HIDC or not -->
<CustomAppUIBCSupport>0</CustomAppUIBCSupport>
</UIBC>
</Capability>
<!--
Enabling Rtcp
-->
<RTCP>
<RtcpRREnabled>1</RtcpRREnabled>
<RtcpRRIntervalMs>500</RtcpRRIntervalMs>
</RTCP>
<!--
Send keep alive messages for every 50sec
-->
<SendKeepAlive>1</SendKeepAlive>
<!--
RTSP port on which RTSP server is running
-->
<RTSPPort>5550</RTSPPort>
<!--
To configure video core in SVS mode
-->
<PerformanceLevelSVSMode>1</PerformanceLevelSVSMode>
<!--
To configure video core in Nominal mode
-->
<PerformanceLevelNominalMode>0</PerformanceLevelNominalMode>
<!--
To configure video core in Turbo mode
-->
<PerformanceLevelTurboMode>0</PerformanceLevelTurboMode>
<!--
Bitrate settings for each mode
-->
<BitrateTable>
<!--
Bitrate table for Audio formats
-->
<AAC>
<BIT0>
<MaxBitrate>256000</MaxBitrate>
<MinBitrate>256000</MinBitrate>
</BIT0>
<BIT1>
<MaxBitrate>384000</MaxBitrate>
<MinBitrate>384000</MinBitrate>
</BIT1>
<BIT2>
<MaxBitrate>512000</MaxBitrate>
<MinBitrate>512000</MinBitrate>
</BIT2>
</AAC>
<!--
CEA Min and Max bit rates for each resolution
Will configure the video core with MaxBitrate
Based on the available link speed video bitrate
can go upto MinBitrate
-->
<CEA>
<!-- 640x480p60 -->
<BIT0>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT0>
<!-- 720x480p60 -->
<BIT1>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT1>
<!-- 720x480i60 -->
<BIT2>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT2>
<!-- 720x576p50 -->
<BIT3>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT3>
<!-- 720x576i50 -->
<BIT4>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT4>
<!-- 1280x720p30 -->
<BIT5>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT5>
<!-- 1280x720p60 -->
<BIT6>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT6>
<!-- 1920x1080p30 -->
<BIT7>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT7>
<!-- 1920x1080p60 -->
<BIT8>
<MinBitrate>7000000</MinBitrate>
<MaxBitrate>13000000</MaxBitrate>
</BIT8>
<!-- 1920x1080i60 -->
<BIT9>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT9>
<!-- 1280x720p25 -->
<BIT10>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT10>
<!-- 1280x720p50 -->
<BIT11>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT11>
<!-- 1920x1080p25 -->
<BIT12>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT12>
<!-- 1920x1080p50 -->
<BIT13>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT13>
<!-- 1920x1080i50 -->
<BIT14>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT14>
<!-- 1280x720p24 -->
<BIT15>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT15>
<!-- 1920x1080p24 -->
<BIT16>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT16>
<!-- 3840x2160p24 -->
<BIT17>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT17>
<!-- 3840x2160 p25 -->
<BIT18>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT18>
<!-- 3840x2160p30 -->
<BIT19>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT19>
<!-- 3840x2160p50 -->
<BIT20>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT20>
<!-- 3840x2160p60 -->
<BIT21>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT21>
<!-- 4096x2160p24 -->
<BIT22>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT22>
<!-- 4096x2160p25 -->
<BIT23>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT23>
<!-- 4096x2160p30 -->
<BIT24>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT24>
<!-- 4096x2160p50 -->
<BIT25>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT25>
<!-- 4096x2160 p60 -->
<BIT26>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT26>
</CEA>
<!--
VESA Min and Max bit rates for each resolution
Will configure the video core with MaxBitrate
Based on the available link speed video bitrate
can go upto MinBitrate
-->
<VESA>
<!-- 800x600p30 -->
<BIT0>
<MinBitrate>500000</MinBitrate>
<MaxBitrate>2000000</MaxBitrate>
</BIT0>
<!-- 800x600p60 -->
<BIT1>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT1>
<!-- 1024x768p30 -->
<BIT2>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT2>
<!-- 1024x768p60 -->
<BIT3>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT3>
<!-- 1152x864p30 -->
<BIT4>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT4>
<!-- 1152x864p60 -->
<BIT5>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT5>
<!-- 1280x768p30 -->
<BIT6>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT6>
<!-- 1280x768p60 -->
<BIT7>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT7>
<!-- 1280x800p30 -->
<BIT8>
<MinBitrate>3500000</MinBitrate>
<MaxBitrate>14000000</MaxBitrate>
</BIT8>
<!-- 1280x800p60 -->
<BIT9>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT9>
<!-- 1360x768p30 -->
<BIT10>
<MinBitrate>3500000</MinBitrate>
<MaxBitrate>14000000</MaxBitrate>
</BIT10>
<!-- 1360x768p60 -->
<BIT11>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT11>
<!-- 1366x768p30 -->
<BIT12>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT12>
<!-- 1366x768p60 -->
<BIT13>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT13>
<!-- 1280x1024p30 -->
<BIT14>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT14>
<!-- 1280x1024p60 -->
<BIT15>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT15>
<!-- 1400x1050p30 -->
<BIT16>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT16>
<!-- 1400x1050p60 -->
<BIT17>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT17>
<!-- 1440x900p30 -->
<BIT18>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT18>
<!-- 1440x900p60 -->
<BIT19>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT19>
<!-- 1600x900p30 -->
<BIT20>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT20>
<!-- 1600x900p60 -->
<BIT21>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT21>
<!-- 1600x1200p30 -->
<BIT22>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT22>
<!-- 1600x1200p60 -->
<BIT23>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT23>
<!-- 1680x1024p30 -->
<BIT24>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT24>
<!-- 1680x1024p60 -->
<BIT25>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT25>
<!-- 1680x1050p30 -->
<BIT26>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT26>
<!-- 1680x1050p60 -->
<BIT27>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT27>
<!-- 1920x1200p30 -->
<BIT28>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT28>
<!-- 1920x1200p60 -->
<BIT29>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>40000000</MaxBitrate>
</BIT29>
<!-- 2560x1440p30 -->
<BIT30>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT30>
<!-- 2560x1440p60 -->
<BIT31>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT31>
<!-- 2560x1600p30 -->
<BIT32>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT32>
<!-- 2560x1600p60 -->
<BIT33>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>30000000</MaxBitrate>
</BIT33>
</VESA>
<!--
HH Min and Max bit rates for each resolution
Will configure the video core with MaxBitrate
Based on the available link speed video bitrate
can go upto MinBitrate
-->
<HH>
<!-- 800x480p30 -->
<BIT0>
<MinBitrate>500000</MinBitrate>
<MaxBitrate>2000000</MaxBitrate>
</BIT0>
<!-- 800x480p60 -->
<BIT1>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT1>
<!-- 854x480p30 -->
<BIT2>
<MinBitrate>500000</MinBitrate>
<MaxBitrate>2000000</MaxBitrate>
</BIT2>
<!-- 854x480p60 -->
<BIT3>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT3>
<!-- 864x480p30 -->
<BIT4>
<MinBitrate>500000</MinBitrate>
<MaxBitrate>2000000</MaxBitrate>
</BIT4>
<!-- 864x480p60 -->
<BIT5>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT5>
<!-- 640x360p30 -->
<BIT6>
<MinBitrate>500000</MinBitrate>
<MaxBitrate>2000000</MaxBitrate>
</BIT6>
<!-- 640x360p60 -->
<BIT7>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT7>
<!-- 960x540p30 -->
<BIT8>
<MinBitrate>500000</MinBitrate>
<MaxBitrate>2000000</MaxBitrate>
</BIT8>
<!-- 960x540p60 -->
<BIT9>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT9>
<!-- 848x480p30 -->
<BIT10>
<MinBitrate>500000</MinBitrate>
<MaxBitrate>2000000</MaxBitrate>
</BIT10>
<!-- 848x480p60 -->
<BIT11>
<MinBitrate>1000000</MinBitrate>
<MaxBitrate>4000000</MaxBitrate>
</BIT11>
</HH>
</BitrateTable>
<!--
RetryCount is Max no of times Client request to set-up Socket connect
This can be applicable only to sink
-->
<RetryCount>40</RetryCount>
<!--
To disable/enable audio stream playback
support during power suspend - 0 or 1
-->
<AudioStreamInSuspend>0</AudioStreamInSuspend>
<!--
Compensation delay for audio
This is to maintain good AV sync in the mux TS A + V stream.
Recommended value is 150us arrived at this number after fine tuning.
OEMs can change this value in case they want.
-->
<AudioAVSyncDelayUs>-150</AudioAVSyncDelayUs>
<!--
To disable/enable AV Sync - 1 or 0
By default AV sync is enabled
This is only for certification
The reason for introducing this flag is
there are some issues with some test bed sources
if we enable AV sync though our sink is properly
handling AV sync
-->
<DisableAVSync>0</DisableAVSync>
<!--
Push video frames to display in async mode, so that display can drop frames
if frames are pushed faster than vsync.
-->
<PushVideoFrameInASyncMode>0</PushVideoFrameInASyncMode>
<!--
To drop video frame in case parser detects and reports packet loss over the air
Three modes are supported -
1. 0 - Don't drop any video frame
2. 1 - Drop only the video frame where parser reported packet loss
3. 2 - Parser reported packet loss, request an IDR and drop until IDR
-->
<DropFrameOnPacketLossMode>0</DropFrameOnPacketLossMode>
<!--
To disable/enable Audio Track Latency - 0 or 1.
This adds audio track latency to renderer to improve AV sync during BT use case.
-->
<EnableAudioTrackLatency>0</EnableAudioTrackLatency>
<!--
Make audio AV Sync drop window configurable item.Sometimes if wlan
doesn't perform at required throughput,audio drops can happen due
to late arrival of audio frames.
-->
<AudioAVSyncDropWindow>-150000</AudioAVSyncDropWindow>
<!--
Make Video AV Sync drop window configurable item.Sometimes if wlan
doesn't perform at required throughput,Video drops can happen due
to late arrival of video frames.
-->
<VideoAVSyncDropWindow>-200000</VideoAVSyncDropWindow>
<!-- Direct Streaming Feature support -->
<StreamingSupport>1</StreamingSupport>
<Cursor>0</Cursor>
<!--
Video Decoder Input Custom Limit Buffer Size Mode
-->
<VideoCustomSizeMode>1</VideoCustomSizeMode>
</WFDConfig>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
@@ -1,9 +1,12 @@
###################################################################################################
# Copyright (c) 2020 Qualcomm Technologies, Inc. # Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved. # All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc # Confidential and Proprietary - Qualcomm Technologies, Inc.
###################################################################################################
# #
# Not a contribution. # Not a Contribution.
# #
# Copyright (C) 2019 The Android Open Source Project # Copyright (C) 2019 The Android Open Source Project
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,50 +21,69 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_VMA
prctl: 1
openat: 1
futex: 1 futex: 1
close: 1 # ioctl calls are filtered via the selinux policy.
read: 1
write: 1
fstat64: 1
fstatat64: 1
readlinkat: 1
fstatfs64: 1
pread64: 1
#ioctl: arg1 == BINDER_VERSION || arg1 == BINDER_SET_MAX_THREADS || arg1 == BINDER_WRITE_READ
ioctl: 1 ioctl: 1
faccessat: 1 sched_yield: 1
clock_gettime: 1 close: 1
getuid32: 1
rt_sigaction: 1
writev: 1
madvise: 1
_llseek: 1
rt_sigprocmask: 1
fcntl64: 1
#set_tls: 1
personality: 1
getrandom: 1
open: 1
ugetrlimit: 1
clone: 1
set_tid_address: 1
execve: 1
sched_getscheduler: 1
exit_group: 1
rt_sigreturn: 1
restart_syscall: 1
connect: 1
socket: arg0 == AF_UNIX
exit: 1
readlink: 1
getpid: 1
sigaltstack: 1
setpriority: 1
getdents64: 1
dup: 1 dup: 1
ppoll: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
memfd_create: 1
ftruncate: 1
ftruncate64: 1
mremap: arg3 == 3
munmap: 1
prctl: 1
getuid32: 1
writev: 1
sigaltstack: 1
clone: 1
exit: 1
lseek: 1
rt_sigprocmask: 1
openat: 1
open: 1
fstat64: 1
write: 1
nanosleep: 1
setpriority: 1
set_tid_address: 1
getdents64: 1
readlinkat: 1
readlink: 1
read: 1
pread64: 1
fstatfs64: 1
gettimeofday: 1
faccessat: 1
_llseek: 1
fstatat64: 1
ugetrlimit: 1
exit_group: 1
restart_syscall: 1
rt_sigreturn: 1
getrandom: 1
madvise: 1
# crash dump policy additions
sigreturn: 1
clock_gettime: 1
futex: 1
getpid: 1
gettid: 1
pipe2: 1
recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
#prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
#mprotect: arg2 in 0x1|0x2
#mmap2: arg2 in 0x1|0x2
geteuid32: 1
getgid32: 1
getegid32: 1
getgroups32: 1
@@ -1,74 +0,0 @@
# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Organized by frequency of systemcall - in descending order for
# best performance.
futex: 1
ioctl: 1
write: 1
prctl: 1
clock_gettime: 1
getpriority: 1
read: 1
close: 1
writev: 1
dup: 1
ppoll: 1
mmap2: 1
getrandom: 1
eventfd2: 1
# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
# parser support for '<' is in this needs to be modified to also prevent
# |old_address| and |new_address| from touching the exception vector page, which
# on ARM is statically loaded at 0xffff 0000. See
# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html
# for more details.
mremap: 1
munmap: 1
mprotect: 1
madvise: 1
openat: 1
sigaltstack: 1
clone: 1
setpriority: 1
getuid32: 1
fstat64: 1
fstatfs64: 1
pread64: 1
faccessat: 1
readlinkat: 1
exit: 1
rt_sigprocmask: 1
set_tid_address: 1
restart_syscall: 1
exit_group: 1
rt_sigreturn: 1
pipe2: 1
gettimeofday: 1
sched_yield: 1
nanosleep: 1
lseek: 1
_llseek: 1
sched_get_priority_max: 1
sched_get_priority_min: 1
statfs64: 1
sched_setscheduler: 1
fstatat64: 1
ugetrlimit: 1
getdents64: 1
getrandom: 1
@include /system/etc/seccomp_policy/crash_dump.arm.policy
@@ -0,0 +1,13 @@
#Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc.
# device specific syscalls
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
@@ -1,9 +0,0 @@
# device specific syscalls
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
@@ -1,4 +1,4 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc. # Copyright (c) 2020, 2022 Qualcomm Technologies, Inc.
# All Rights Reserved. # All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc # Confidential and Proprietary - Qualcomm Technologies, Inc
# #
@@ -92,3 +92,4 @@ tgkill: 1
gettid: 1 gettid: 1
sched_yield: 1 sched_yield: 1
flock: 1 flock: 1
getdents64: 1
@@ -0,0 +1,40 @@
<!-- Copyright (c) 2018 - 2019, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<manifest version="1.0" type="device">
<!-- Codec2 HAl service -->
<hal format="hidl">
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
<instance>software</instance>
</interface>
</hal>
</manifest>
+2 -7
View File
@@ -135,12 +135,10 @@
<!-- <!--
Standby Resume capability is supported Standby Resume capability is supported
--> -->
<!-- #ifdef OPLUS_BUG_STABILITY -->
<!-- Jeremy.lin@MULTIMEDIA.MEDIASERVER.WFD.1099213, 2021/08/02, Close Standby Resum -->
<StandbyResumeCapability> <StandbyResumeCapability>
<Valid>0</Valid> <Valid>1</Valid>
</StandbyResumeCapability> </StandbyResumeCapability>
<!-- #endif OPLUS_BUG_STABILITY -->
<!-- <!--
Explicit AV format change Explicit AV format change
Not supported Not supported
@@ -706,10 +704,7 @@
To disable/enable audio stream playback To disable/enable audio stream playback
support during power suspend - 0 or 1 support during power suspend - 0 or 1
--> -->
<!-- #ifdef OPLUS_BUG_STABILITY -->
<!-- Liang.Xu@MULTIMEDIA.AUDIOSERVER.FRAMEWORK.1297775, 2020/04/03, Modify for audio should still playing on TV after screen off -->
<AudioStreamInSuspend>1</AudioStreamInSuspend> <AudioStreamInSuspend>1</AudioStreamInSuspend>
<!-- #endif OPLUS_BUG_STABILITY -->
<!-- <!--
Compensation delay for audio Compensation delay for audio
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+11 -9
View File
@@ -6,7 +6,6 @@ PRODUCT_SOONG_NAMESPACES += \
vendor/xiaomi/sdm845-common vendor/xiaomi/sdm845-common
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
vendor/xiaomi/sdm845-common/proprietary/system/etc/permissions/audiosphere.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/audiosphere.xml \
vendor/xiaomi/sdm845-common/proprietary/system/etc/permissions/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml \ vendor/xiaomi/sdm845-common/proprietary/system/etc/permissions/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml \
vendor/xiaomi/sdm845-common/proprietary/system/etc/sysconfig/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \ vendor/xiaomi/sdm845-common/proprietary/system/etc/sysconfig/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/dpm/dpm.conf:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/dpm/dpm.conf \ vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/dpm/dpm.conf:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/dpm/dpm.conf \
@@ -21,6 +20,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml \ vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml \
vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml \ vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml \
vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/seccomp_policy/wfdservice64.policy:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/seccomp_policy/wfdservice64.policy \ vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/seccomp_policy/wfdservice64.policy:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/seccomp_policy/wfdservice64.policy \
vendor/xiaomi/sdm845-common/proprietary/system_ext/etc/wfdconfigsink.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/wfdconfigsink.xml \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/cne/wqeclient/ATT/ATT_profile1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/cne/wqeclient/ATT/ATT_profile1.xml \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/cne/wqeclient/ATT/ATT_profile1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/cne/wqeclient/ATT/ATT_profile1.xml \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/cne/wqeclient/ATT/ATT_profile2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/cne/wqeclient/ATT/ATT_profile2.xml \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/cne/wqeclient/ATT/ATT_profile2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/cne/wqeclient/ATT/ATT_profile2.xml \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/cne/wqeclient/ATT/ATT_profile3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/cne/wqeclient/ATT/ATT_profile3.xml \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/cne/wqeclient/ATT/ATT_profile3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/cne/wqeclient/ATT/ATT_profile3.xml \
@@ -95,10 +95,9 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/scve/facereco/gModel.dat:$(TARGET_COPY_OUT_VENDOR)/etc/scve/facereco/gModel.dat \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/scve/facereco/gModel.dat:$(TARGET_COPY_OUT_VENDOR)/etc/scve/facereco/gModel.dat \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.base.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.base.policy \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.base-arm.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.base-arm.policy \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.ext-arm.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext-arm.policy \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/wfdhdcphalservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wfdhdcphalservice.policy \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/wfdvndservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wfdvndservice.policy \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/wfdvndservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wfdvndservice.policy \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/wifidisplayhalservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wifidisplayhalservice.policy \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/seccomp_policy/wifidisplayhalservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wifidisplayhalservice.policy \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/wfdconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wfdconfig.xml \ vendor/xiaomi/sdm845-common/proprietary/vendor/etc/wfdconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wfdconfig.xml \
@@ -234,12 +233,16 @@ PRODUCT_PACKAGES += \
libhfp \ libhfp \
liblistenjni \ liblistenjni \
liblistensoundmodel2 \ liblistensoundmodel2 \
libmm-hdcpmgr \
libmmosal_vendor \ libmmosal_vendor \
libmmrtpdecoder_proprietary \ libmmrtpdecoder_proprietary \
libmmrtpencoder_proprietary \ libmmrtpencoder_proprietary \
libmulawdec \ libmulawdec \
libqcodec2 \ libqcodec2_base \
libqcodec2_basecodec \
libqcodec2_core \
libqcodec2_platform \
libqcodec2_utils \
libqcodec2_v4l2codec \
libqtigef \ libqtigef \
libsmwrapper \ libsmwrapper \
libsndmonitor \ libsndmonitor \
@@ -263,7 +266,6 @@ PRODUCT_PACKAGES += \
libwfduibcsrc_proprietary \ libwfduibcsrc_proprietary \
libwfduibcsrcinterface_proprietary \ libwfduibcsrcinterface_proprietary \
libwfdutils_proprietary \ libwfdutils_proprietary \
libasphere \
libdirac \ libdirac \
libshoebox \ libshoebox \
vendor.qti.hardware.wifidisplaysession@1.0_vendor \ vendor.qti.hardware.wifidisplaysession@1.0_vendor \
@@ -529,7 +531,7 @@ PRODUCT_PACKAGES += \
vendor.qti.diaghal@1.0 \ vendor.qti.diaghal@1.0 \
vendor.qti.hardware.fm@1.0 \ vendor.qti.hardware.fm@1.0 \
vendor.qti.hardware.wifidisplaysession@1.0 \ vendor.qti.hardware.wifidisplaysession@1.0 \
vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk \ vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk \
vendor.qti.imsrtpservice@3.0 \ vendor.qti.imsrtpservice@3.0 \
vendor.qti.imsrtpservice@3.1 \ vendor.qti.imsrtpservice@3.1 \
CneApp \ CneApp \
@@ -544,7 +546,6 @@ PRODUCT_PACKAGES += \
ims \ ims \
qcrilmsgtunnel \ qcrilmsgtunnel \
WfdCommon \ WfdCommon \
audiosphere \
tcmclient \ tcmclient \
com.android.hotwordenrollment.common.util \ com.android.hotwordenrollment.common.util \
com.qti.dpmframework \ com.qti.dpmframework \
@@ -552,6 +553,7 @@ PRODUCT_PACKAGES += \
qcrilhook \ qcrilhook \
android.hardware.neuralnetworks@1.3-service-qti-hta.xml \ android.hardware.neuralnetworks@1.3-service-qti-hta.xml \
android.hardware.neuralnetworks@1.3-service-qti.xml \ android.hardware.neuralnetworks@1.3-service-qti.xml \
c2_manifest_vendor.xml \
manifest_android.hardware.drm@1.3-service.widevine.xml \ manifest_android.hardware.drm@1.3-service.widevine.xml \
ATFWD-daemon \ ATFWD-daemon \
adpl \ adpl \