Initial import of sdm660 family

* X00T: UL-ASUS_X00T-WW-17.2017.2006.429-user
* sdm660-common & X01BD: UL-ASUS_X01BD-WW-17.2018.2004.424-user

Change-Id: Ib4f2b44366ee6e0876248b720505e9fa028651b9
This commit is contained in:
Rahul Krishna
2021-09-21 17:04:37 +05:30
committed by Kunmun
parent f4c871fbaa
commit e386289a56
1571 changed files with 32814 additions and 0 deletions
+210
View File
@@ -0,0 +1,210 @@
/**
* Copyright (C) 2020 The LineageOS 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.
*
* This file is generated by device/asus/sdm660-common/setup-makefiles.sh
*/
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libantradio",
owner: "asus",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/lib/libantradio.so"],
},
android_arm64: {
srcs: ["proprietary/lib64/libantradio.so"],
},
},
compile_multilib: "both",
prefer: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.fm@1.0",
owner: "asus",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/product/lib/vendor.qti.hardware.fm@1.0.so"],
},
android_arm64: {
srcs: ["proprietary/product/lib64/vendor.qti.hardware.fm@1.0.so"],
},
},
compile_multilib: "both",
prefer: true,
product_specific: true,
}
android_app_import {
name: "WfdService",
owner: "asus",
apk: "proprietary/priv-app/WfdService/WfdService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
}
android_app_import {
name: "com.qualcomm.location",
owner: "asus",
apk: "proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
}
android_app_import {
name: "CneApp",
owner: "asus",
apk: "proprietary/vendor/app/CneApp/CneApp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "IWlanService",
owner: "asus",
apk: "proprietary/vendor/app/IWlanService/IWlanService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "TimeService",
owner: "asus",
apk: "proprietary/vendor/app/TimeService/TimeService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "PowerOffAlarm",
owner: "asus",
apk: "proprietary/product/app/PowerOffAlarm/PowerOffAlarm.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "QtiTelephonyService",
owner: "asus",
apk: "proprietary/product/app/QtiTelephonyService/QtiTelephonyService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "datastatusnotification",
owner: "asus",
apk: "proprietary/product/app/datastatusnotification/datastatusnotification.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "imssettings",
owner: "asus",
apk: "proprietary/product/app/imssettings/imssettings.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "uceShimService",
owner: "asus",
apk: "proprietary/product/app/uceShimService/uceShimService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "dpmserviceapp",
owner: "asus",
apk: "proprietary/product/priv-app/dpmserviceapp/dpmserviceapp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "ims",
owner: "asus",
apk: "proprietary/product/priv-app/ims/ims.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "qcrilmsgtunnel",
owner: "asus",
apk: "proprietary/product/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
dex_import {
name: "WfdCommon",
owner: "asus",
jars: ["proprietary/framework/WfdCommon.jar"],
}
+21
View File
@@ -0,0 +1,21 @@
# Copyright (C) 2020 The LineageOS 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.
# This file is generated by device/asus/sdm660-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter X00TD X01BD,$(TARGET_DEVICE)),)
endif
+16
View File
@@ -0,0 +1,16 @@
# Copyright (C) 2020 The LineageOS 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.
# This file is generated by device/asus/sdm660-common/setup-makefiles.sh
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016-2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<resources>
<profiles>
<profile id="1">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-64,-70</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-67,-73</RSSIDropThreshold>
</profile>
<profile id="2">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-78,-78</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-85,-87</RSSIDropThreshold>
</profile>
<profile id="3">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
</profile>
<profile id="4">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-72,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-75,-80</RSSIDropThreshold>
</profile>
</profiles>
</resources>
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016-2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<resources>
<profiles>
<profile id="1">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-78,-78</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-85,-87</RSSIDropThreshold>
</profile>
<profile id="2">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-64,-70</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-67,-73</RSSIDropThreshold>
</profile>
<profile id="3">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-72,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-75,-80</RSSIDropThreshold>
</profile>
<profile id="4">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-72,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
</profile>
<profile id="5">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-70,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-73,-79</RSSIDropThreshold>
</profile>
</profiles>
</resources>
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016-2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<resources>
<profiles>
<profile id="1">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-64,-69</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-67,-72</RSSIDropThreshold>
</profile>
<profile id="2">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-78,-83</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-82,-87</RSSIDropThreshold>
</profile>
<profile id="3">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-67,-72</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-70,-75</RSSIDropThreshold>
</profile>
<profile id="4">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-82,-83</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-85,-87</RSSIDropThreshold>
</profile>
<profile id="5">
<!-- RSSI threshold from which all values greater than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-79,-79</RSSIDropThreshold>
</profile>
<profile id="6">
<!-- RSSI threshold from which all values greather than it is
considered to be good for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIAddThreshold units="dbm">-75,-75</RSSIAddThreshold>
<!-- RSSI threshold from which all values lesser than it is
considered to be bad for wlan to be
a candidate for interface selection -->
<!-- NOTE: There needs to be two threshold values
first one for 2.4 GHz and the second for 5 GHz -->
<RSSIDropThreshold units="dbm">-79,-80</RSSIDropThreshold>
</profile>
</profiles>
</resources>
@@ -0,0 +1,14 @@
service wfdservice /system/bin/wfdservice
class main
user system
group audio camera inet uhid drmrpc media_rw media input net_admin
#removed these because of limit of 12 groups
#graphics net_bt net_bt_admin bluetooth
disabled
oneshot
on property:vendor.wfdservice=enable
start wfdservice
on property:vendor.wfdservice=disable
stop wfdservice
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!---/******************************************************************************
* @file com.qti.location.sdk.xml
* @brief configuration file for permission mapping and library publishing
* Copyright (c) 2015 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
* *****************************************************************************-->
<permissions>
<library name="com.qti.location.sdk" file="/system/framework/com.qti.location.sdk.jar"/>
</permissions>
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!---******************************************************************************
* @file com.qualcomm.location.xml
* @brief configuration file for permission mapping
* Copyright (c) 2012 Qualcomm Atheros, Inc.
* All Rights Reserved.
* Qualcomm Atheros Confidential and Proprietary.
* *****************************************************************************-->
<permissions>
<library name="services.core" file="/system/framework/services.jar"/>
<permission name="com.qualcomm.permission.IZAT" >
<group gid="gps" />
<group gid="system" />
<group gid="diag" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
<group gid="wifi" />
</permission>
</permissions>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2015-2016 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="izat.xt.srv" file="/system/framework/izat.xt.srv.jar"/>
</permissions>
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8" ?>
<!---/***********************************************************
Copyright (c) 2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
**************************************************************-->
<permissions>
<privapp-permissions package="com.qualcomm.location">
<permission name="android.permission.CONTROL_LOCATION_UPDATES" />
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.location.XT">
<permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
<permission name="android.permission.BIND_DEVICE_ADMIN"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->
<permissions>
<permission name="com.qti.permission.DIAG">
<group gid="oem_2901" />
</permission>
<permission name="com.qti.permission.AUDIO">
<group gid="audio" />
</permission>
</permissions>
+749
View File
@@ -0,0 +1,749 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
Copyright (C) 2012 - 2019 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<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 extended capabilities for H264 codec
-->
<VideoFormats>
<VideoCodecHeader>
<TotalProfiles>3</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
-->
<!-- 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>3840</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec1>
<VideoCodec2>
<CodecName>H.264</CodecName>
<Profile>1</Profile>
<Level>6</Level>
<HorizontalResolution>3840</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec2>
<VideoCodec3>
<CodecName>H.265</CodecName>
<Profile>0</Profile>
<Level>6</Level>
<HorizontalResolution>3840</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec3>
</VideoFormats>
<!--
Aux streaming addition 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 720P
-->
<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>
<!--
turn on/off audio encryption
-->
<EncryptAudio>0</EncryptAudio>
</ContentProtection>
<!--
To enable RTP dump at source
-->
<RTPDumpEnable>
<!-- DEPRECATED -->
<!-- For enabling RTP encoder dumping set
persist.vendor.debug.rtp.enable_dump to 1
/data/media/dump.ts
-->
</RTPDumpEnable>
<!--
UIBC settings
-->
<UIBC>
<UIBCValid>1</UIBCValid> <!-- UIBC by default enabled -->
<M4Enable>1</M4Enable> <!-- 0/1 send UIBC enable in M4 or not -->
<M14Support>0</M14Support> <!-- 0/1 M14 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>1</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
UIBC_CAMERA BIT5
GESTURE BIT6
REMOTECONTROL BIT7
-->
<HIDInputPaths>
<Infrared>0</Infrared>
<USB>3</USB>
<BT>0</BT>
<Zigbee>0</Zigbee>
<Wifi>0</Wifi>
<NoSP>0</NoSP>
</HIDInputPaths>
</InputEvents>
<!-- TCP port on which UIBC connection established -->
<TcpPort>4321</TcpPort>
</UIBC>
</Capability>
<!--
Enabling Rtcp
-->
<RTCP>
<RtcpRRNotificationEnabled>1</RtcpRRNotificationEnabled>
</RTCP>
<!--
Dynamic bitrate adaptation is supported based on link speed
Based on the available link speed change video bitrate dynamically
-->
<DynamicBitrateAdaptation>1</DynamicBitrateAdaptation>
<!--
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>0</PerformanceLevelSVSMode>
<!--
To configure video core in Nominal mode
-->
<PerformanceLevelNominalMode>0</PerformanceLevelNominalMode>
<!--
To configure video core in Turbo mode
-->
<PerformanceLevelTurboMode>0</PerformanceLevelTurboMode>
<!--
To configure minqp value
-->
<MinQPValue>22</MinQPValue>
<!--
To configure maxqp value
-->
<MaxQPValue>44</MaxQPValue>
<!--
Bitrate settings for each mode
-->
<BitrateTable>
<!--
Bitrate table for Audio formats
-->
<AAC>
<!--
Bitrate table for 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>15000000</MaxBitrate>
</BIT6>
<!-- 1920x1080p30 -->
<BIT7>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT7>
<!-- 1920x1080p60 -->
<BIT8>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT8>
<!-- 1920x1080i60 -->
<BIT9>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</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>20000000</MaxBitrate>
</BIT13>
<!-- 1920x1080i50 -->
<BIT14>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT14>
<!-- 1280x720p24 -->
<BIT15>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT15>
<!-- 1920x1080p24 -->
<BIT16>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT16>
<!-- 3840x2160p24 -->
<BIT17>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>15000000</MaxBitrate>
</BIT17>
<!-- 3840x2160 p25 -->
<BIT18>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>15000000</MaxBitrate>
</BIT18>
<!-- 3840x2160p30 -->
<BIT19>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>15000000</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>15000000</MaxBitrate>
</BIT22>
<!-- 4096x2160p25 -->
<BIT23>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>15000000</MaxBitrate>
</BIT23>
<!-- 4096x2160p30 -->
<BIT24>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>15000000</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>5000000</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>15000000</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>10000000</MaxBitrate>
</BIT8>
<!-- 1280x800p60 -->
<BIT9>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>15000000</MaxBitrate>
</BIT9>
<!-- 1360x768p30 -->
<BIT10>
<MinBitrate>3500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT10>
<!-- 1360x768p60 -->
<BIT11>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>15000000</MaxBitrate>
</BIT11>
<!-- 1366x768p30 -->
<BIT12>
<MinBitrate>2500000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT12>
<!-- 1366x768p60 -->
<BIT13>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT13>
<!-- 1280x1024p30 -->
<BIT14>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT14>
<!-- 1280x1024p60 -->
<BIT15>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT15>
<!-- 1400x1050p30 -->
<BIT16>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT16>
<!-- 1400x1050p60 -->
<BIT17>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT17>
<!-- 1440x900p30 -->
<BIT18>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT18>
<!-- 1440x900p60 -->
<BIT19>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT19>
<!-- 1600x900p30 -->
<BIT20>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT20>
<!-- 1600x900p60 -->
<BIT21>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT21>
<!-- 1600x1200p30 -->
<BIT22>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT22>
<!-- 1600x1200p60 -->
<BIT23>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT23>
<!-- 1680x1024p30 -->
<BIT24>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT24>
<!-- 1680x1024p60 -->
<BIT25>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT25>
<!-- 1680x1050p30 -->
<BIT26>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT26>
<!-- 1680x1050p60 -->
<BIT27>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT27>
<!-- 1920x1200p30 -->
<BIT28>
<MinBitrate>5000000</MinBitrate>
<MaxBitrate>10000000</MaxBitrate>
</BIT28>
<!-- 1920x1200p60 -->
<BIT29>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT29>
<!-- 2560x1440p30 -->
<BIT30>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>15000000</MaxBitrate>
</BIT30>
<!-- 2560x1440p60 -->
<BIT31>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>20000000</MaxBitrate>
</BIT31>
<!-- 2560x1600p30 -->
<BIT32>
<MinBitrate>10000000</MinBitrate>
<MaxBitrate>15000000</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>
<!--
To disable/enable audio stream playback
support during power suspend - 0 or 1
-->
<AudioStreamInSuspend>0</AudioStreamInSuspend>
<!--
Compensation delay for audio
This is maintain good AV sync in the mux TS A + V stream Recommended
value is 150 msec arrived at this number after fine tuning OEMs can
change this value in case they want
-->
<AudioAVSyncDelay>-150</AudioAVSyncDelay>
<!--
enable/disable CyclicIntraRefresh
-->
<CyclicIntraRefresh>0</CyclicIntraRefresh>
<!--
NumberOfMacroBlocks for V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB
-->
<CIRNumberOfMacroBlocks>50</CIRNumberOfMacroBlocks>
<!--
Enable/Disable NALU byte to detect end of AU
-->
<DisableFillerNalU>1</DisableFillerNalU>
<!--
Enable/Disable to generate blank frame during suspend/resume
-->
<GenerateBlankFrame>0</GenerateBlankFrame>
<!--
To disable fixed interval of IDR frames, set PeriodicIDRValid to 0.
Set the duration in seconds after which full refresh is required in
the PeriodicIDRInterval
Recommended value is 5 secs
-->
<PeriodicIDRSettings>
<PeriodicIDRValid>1</PeriodicIDRValid>
<PeriodicIDRInterval>5</PeriodicIDRInterval>
</PeriodicIDRSettings>
<!-- Direct Streaming Feature support -->
<StreamingSupport>1</StreamingSupport>
<!-- Enfore HDCP for Direct Streaming -->
<DSRequiresHDCP>1</DSRequiresHDCP>
</WFDConfig>
@@ -0,0 +1,800 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
Copyright (C) 2012 - 2019 Qualcomm Technologies, Inc.
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
-->
<!-- 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>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</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>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</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>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</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>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</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>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</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>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec6>
<VideoCodec7>
<CodecName>H.265</CodecName>
<Profile>0</Profile>
<Level>6</Level>
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>30</VideoFps>
<TranscodingMode>1</TranscodingMode>
<NonTranscodingMode>1</NonTranscodingMode>
</VideoCodec7>
</VideoFormats>
<!--
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.debug.rtp.enable_dump to 1
/data/media/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
UIBC_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>
</InputEvents>
<!-- TCP port on which UIBC connection established -->
<TcpPort>4321</TcpPort>
</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>10000000</MinBitrate>
<MaxBitrate>20000000</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 maintain good AV sync in the mux TS A + V stream Recommended
value is 150 msec arrived at this number after fine tuning OEMs can
change this value in case they want
-->
<AudioAVSyncDelay>-150</AudioAVSyncDelay>
<!--
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>
<!--
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>
</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.
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.
@@ -0,0 +1,78 @@
#configuration parameters for DPM Fast Dormancy and TCM module.
#Configuration params for FD slot 0
#delay_time while issuing dormancy_request
dpm_s0_fd_delay_time_timer_value:0
#Idle timer value when SCREEN state is ON
#dpm_fd_screen_on_idle_timer_value = actual_screen_on_timer + delay_time
dpm_s0_fd_screen_on_idle_timer_value:15
#Idle timer value when SCREEN state is OFF
#dpm_fd_screen_off_idle_timer_value = actual_screen_off_timer + delay_time
dpm_s0_fd_screen_off_idle_timer_value:3
#Idle timer value when TETHERING is ON
#This takes precedence over SCREEN state
#dpm_tethering_on_idle_timer_value = actual_tethering_on_timer + delay_time
dpm_s0_fd_tethering_on_idle_timer_value:15
#FastDormancy can be configured for a network type
#Default configuration 101000011100001000
dpm_s0_fd_enable_networks_mask:0x28708
#Configuration params for FD slot 1
#delay_time while issuing dormancy_request
dpm_s1_fd_delay_time_timer_value:0
#Idle timer value when SCREEN state is ON
#dpm_fd_screen_on_idle_timer_value = actual_screen_on_timer + delay_time
dpm_s1_fd_screen_on_idle_timer_value:15
#Idle timer value when SCREEN state is OFF
#dpm_fd_screen_off_idle_timer_value = actual_screen_off_timer + delay_time
dpm_s1_fd_screen_off_idle_timer_value:3
#Idle timer value when TETHERING is ON
#This takes precedence over SCREEN state
#dpm_tethering_on_idle_timer_value = actual_tethering_on_timer + delay_time
dpm_s1_fd_tethering_on_idle_timer_value:15
#FastDormancy can be configured for a network type
#Default configuration 101000011100001000
dpm_s1_fd_enable_networks_mask:0x28708
#Configuration params for TCM
#Idle timer value when SCREEN state is ON
#min : 1s and max :256s
dpm_tcm_screen_on_idle_timer_value:5
#Idle timer value when SCREEN state is OFF
#min : 0s and max :256s, tcm is disabled with screen off state
dpm_tcm_screen_off_idle_timer_value:0
#TCM can be configured for a network type
#Default configuration 11111111111111111110
dpm_tcm_enable_networks_mask:0xFFFFE
#FastDormancy and TCM can be configured for a network type
#NETWORK_TYPE_UNKNOWN = 0
#NETWORK_TYPE_GPRS = 1
#NETWORK_TYPE_EDGE = 2
#NETWORK_TYPE_UMTS = 3
#NETWORK_TYPE_CDMA = 4
#NETWORK_TYPE_EVDO_0 = 5
#NETWORK_TYPE_EVDO_A = 6
#NETWORK_TYPE_1xRTT = 7
#NETWORK_TYPE_HSDPA = 8
#NETWORK_TYPE_HSUPA = 9
#NETWORK_TYPE_HSPA = 10
#NETWORK_TYPE_IDEN = 11
#NETWORK_TYPE_EVDO_B = 12
#NETWORK_TYPE_LTE = 13
#NETWORK_TYPE_EHRPD = 14
#NETWORK_TYPE_HSPAP = 15
#NETWORK_TYPE_GSM = 16
#NETWORK_TYPE_TD_SCDMA = 17
#NETWORK_TYPE_IWLAN = 18
#NETWORK_TYPE_LTE_CA = 19;
#configuration params for Dormancy manager
#first larger inactivity soft timer to poll for dormancy in seconds.
dpm_dm_t1_inactivity_timer:15
#second smaller inactivity soft timer to poll for dormancy in seconds.
dpm_dm_t2_inactivity_timer:5
#number of times T2 can be repeated before registering for dormancy indication with modem directly.
dpm_dm_repeat_t2:5
@@ -0,0 +1,17 @@
# Copyright (c) 2018 - 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# Create the directories used by DPM subsystem
on post-fs-data
mkdir /data/dpm 0771 system system
chown system system /data/dpm
#start dpmd service
service dpmd /system/product/bin/dpmd
class late_start
socket dpmd stream 660 root radio
socket tcm stream 660 root inet
socket dpmwrapper stream 660 root inet
group system readproc inet radio wakelock oem_2901
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2015-2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<permissions>
<library name="com.qti.dpmframework"
file="/system/product/framework/com.qti.dpmframework.jar"/>
<permission name="com.qualcomm.permission.READPROC" >
<group gid="readproc" />
</permission>
</permissions>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2014, 2019 Qualcomm Technologies, Inc. All Rights Reserved. Qualcomm Technologies Proprietary and Confidential.-->
<permissions>
<library name="com.qti.dpmapi"
file="/system/product/framework/dpmapi.jar"/>
</permissions>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.qualcomm.qcrilhook"
file="/product/framework/qcrilhook.jar"
dependency="qti-telephony-utils:qti-telephony-hidl-wrapper" />
</permissions>
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2019 Qualcomm Technologies, Inc.
~ All Rights Reserved.
~ Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
~ Copyright (c) 2017, The Linux Foundation. All rights reserved.
~ Not a Contribution.
-->
<!--
~ Copyright (C) 2016 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
-->
<!--
This XML file declares which signature|privileged permissions should be
granted to privileged applications on QTI devices.
It allows additional grants on top of privapp-permissions-platform.xml
-->
<permissions>
<privapp-permissions package="com.qualcomm.qcrilmsgtunnel">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.dialer">
<permission name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/>
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.STATUS_BAR"/>
<permission name="android.permission.STOP_APP_SWITCHES"/>
<permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
<permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.qti.qtiNetworkApp">
<permission name="android.permission.MODIFY_PHONE_STATE"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.ims">
<permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.qti.carrierswitch">
<permission name="android.permission.REBOOT"/>
</privapp-permissions>
<privapp-permissions package="com.android.mms">
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.WRITE_APN_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.qti.callenhancement">
<permission name="android.permission.RECORD_AUDIO" />
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
<permission name="android.permission.READ_EXTERNAL_STORAGE" />
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" />
<permission name="android.permission.READ_BLOCKED_NUMBERS" />
<permission name="android.permission.VIBRATE" />
</privapp-permissions>
<privapp-permissions package="org.codeaurora.qti.nrNetworkSettingApp">
<permission name="android.permission.MODIFY_PHONE_STATE"/>
</privapp-permissions>
</permissions>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2014 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->
<permissions>
<library name="com.qualcomm.qti.QtiTelephonyServicelibrary"
file="/system/product/framework/QtiTelephonyServicelibrary.jar"/>
</permissions>
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More