Import sm8350-common from lineage-19.1 (fc31d57a)

Change-Id: I110980be9aeff805a31b30b7b0dca68ccbbf0cac
This commit is contained in:
AdarshGrewal 2023-01-22 11:55:19 +05:30
commit 308b758c47
728 changed files with 20507 additions and 0 deletions

257
Android.bp Normal file
View File

@ -0,0 +1,257 @@
// Automatically generated file. DO NOT MODIFY
//
// This file is generated by device/xiaomi/sm8350-common/setup-makefiles.sh
soong_namespace {
}
android_app_import {
name: "CACertService",
owner: "xiaomi",
apk: "proprietary/vendor/app/CACertService/CACertService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "CneApp",
owner: "xiaomi",
apk: "proprietary/vendor/app/CneApp/CneApp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "IWlanService",
owner: "xiaomi",
apk: "proprietary/vendor/app/IWlanService/IWlanService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "SoterService",
owner: "xiaomi",
apk: "proprietary/vendor/app/SoterService/SoterService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "TimeService",
owner: "xiaomi",
apk: "proprietary/vendor/app/TimeService/TimeService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "PowerOffAlarm",
owner: "xiaomi",
apk: "proprietary/product/app/PowerOffAlarm/PowerOffAlarm.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentOKGoogleHEXAGON",
owner: "xiaomi",
apk: "proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON/HotwordEnrollmentOKGoogleHEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentXGoogleHEXAGON",
owner: "xiaomi",
apk: "proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON/HotwordEnrollmentXGoogleHEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "QtiTelephonyService",
owner: "xiaomi",
apk: "proprietary/system_ext/app/QtiTelephonyService/QtiTelephonyService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "WfdService",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/WfdService/WfdService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "dpmserviceapp",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/dpmserviceapp/dpmserviceapp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "ims",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/ims/ims.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "qcrilmsgtunnel",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
dex_import {
name: "WfdCommon",
owner: "xiaomi",
jars: ["proprietary/system/framework/WfdCommon.jar"],
}
dex_import {
name: "tcmclient",
owner: "xiaomi",
jars: ["proprietary/system/framework/tcmclient.jar"],
}
dex_import {
name: "audiosphere",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/audiosphere.jar"],
system_ext_specific: true,
}
dex_import {
name: "com.android.hotwordenrollment.common.util",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar"],
system_ext_specific: true,
}
dex_import {
name: "com.qti.dpmframework",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.qti.dpmframework.jar"],
system_ext_specific: true,
}
dex_import {
name: "dpmapi",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/dpmapi.jar"],
system_ext_specific: true,
}
dex_import {
name: "qcrilhook",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/qcrilhook.jar"],
system_ext_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "c2_manifest_vendor",
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 {
name: "manifest_android.hardware.drm@1.3-service.widevine",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_vendor.xiaomi.hardware.mlipay",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/manifest_vendor.xiaomi.hardware.mlipay.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.gnss@4.0-service",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.gnss@4.0-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.xiaomi.hardware.citsensorservice@1.1-service",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.citsensorservice@1.1-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}

9
Android.mk Normal file
View File

@ -0,0 +1,9 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sm8350-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter haydn lisa odin renoir venus,$(TARGET_DEVICE)),)
endif

4
BoardConfigVendor.mk Normal file
View File

@ -0,0 +1,4 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sm8350-common/setup-makefiles.sh

Binary file not shown.

Binary file not shown.

BIN
proprietary/system_ext/bin/dpmd Executable file

Binary file not shown.

Binary file not shown.

View File

@ -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

View File

@ -0,0 +1,23 @@
# Copyright (c) 2018 - 2020 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/system_ext/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
disabled
on property:persist.vendor.dpm.feature=*
start dpmd
on property:persist.vendor.dpm.feature=0
stop dpmd

View File

@ -0,0 +1,28 @@
#
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service wfdservice /system_ext/bin/wfdservice
class main
user system
disabled
oneshot
service wfdservice64 /system_ext/bin/wfdservice64
class main
user system
disabled
oneshot
on property:vendor.wfdservice=enable
start wfdservice
on property:vendor.wfdservice64=enable
start wfdservice64
on property:vendor.wfdservice=disable
stop wfdservice
on property:vendor.wfdservice64=disable
stop wfdservice64

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016, 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="com.qualcomm.qti.audiosphere"
file="/system_ext/framework/audiosphere.jar" />
</permissions>

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<permissions>
<library name="com.android.hotwordenrollment.common.util" file="/system_ext/framework/com.android.hotwordenrollment.common.util.jar"/>
</permissions>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2015-2016, 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<permissions>
<library name="com.qti.dpmframework"
file="/system/system_ext/framework/com.qti.dpmframework.jar"/>
<library name="android.hidl.manager-V1.0-java"
file="/system/framework/android.hidl.manager-V1.0-java.jar"/>
<permission name="com.qualcomm.permission.READPROC" >
<group gid="readproc" />
</permission>
</permissions>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2014, 2019-2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.-->
<permissions>
<library name="dpmapi"
file="/system/system_ext/framework/dpmapi.jar"/>
</permissions>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.qualcomm.qcrilhook"
file="/system_ext/framework/qcrilhook.jar"
dependency="qti-telephony-utils:qti-telephony-hidl-wrapper" />
</permissions>

View File

@ -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>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<privapp-permissions package="com.qualcomm.wfd.service">
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
</privapp-permissions>
</permissions>

View File

@ -0,0 +1,78 @@
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2019 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.
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
futex: 1
#prctl: arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE
prctl: 1
#ioctl: arg1 == BINDER_VERSION || arg1 == BINDER_WRITE_READ || arg1 == BINDER_SET_MAX_THREADS
ioctl: 1
close: 1
openat: 1
mremap: 1
fstat64: 1
readlinkat: 1
pread64: 1
fstatfs64: 1
clock_gettime: 1
fstatat64: 1
read: 1
write: 1
fcntl64: 1
ppoll: 1
faccessat: 1
rt_sigaction: 1
getuid32: 1
madvise: 1
rt_sigprocmask: 1
writev: 1
personality: 1
getrandom: 1
gettimeofday: 1
#set_tls: 1
statfs64: 1
ugetrlimit: 1
execve: 1
connect: 1
socket: arg0 == AF_UNIX
getpid: 1
gettid: 1
nanosleep: 1
restart_syscall: 1
set_tid_address: 1
open: 1
exit: 1
sched_getscheduler: 1
exit_group: 1
sigaltstack: 1
clone: 1
rt_sigreturn: 1
setpriority: 1
getpriority: 1
timer_create: 1
timer_delete: 1
timer_settime: 1
rt_sigtimedwait: 1
getdents64: 1
dup: 1
lseek: 1
tgkill: 1

View File

@ -0,0 +1,811 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
Copyright (C) 2012 - 2021 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>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>
<MinimumSliceSize>0</MinimumSliceSize>
<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>
<MinimumSliceSize>0</MinimumSliceSize>
<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>
<MinimumSliceSize>0</MinimumSliceSize>
<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>
<MinimumSliceSize>0</MinimumSliceSize>
<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>
<MinimumSliceSize>0</MinimumSliceSize>
<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>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</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.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>
</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>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 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>
<!--
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.

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.

Binary file not shown.

BIN
proprietary/vendor/app/CneApp/CneApp.apk vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/bin/ATFWD-daemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/adpl vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/adsprpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cdsprpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cnd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cnss-daemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/dpmQmiMgr vendored Executable file

Binary file not shown.

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