sm8450-common: Initial import from CPH2487_13.1.0.540(EX01)

Change-Id: I19c20d33997ed0bc6dba616de34100142cf2538f
This commit is contained in:
AdarshGrewal 2023-07-13 10:36:01 +05:30
commit ae5b81d842
1370 changed files with 67988 additions and 0 deletions

499
Android.bp Normal file
View File

@ -0,0 +1,499 @@
// Automatically generated file. DO NOT MODIFY
//
// This file is generated by device/oneplus/sm8450-common/setup-makefiles.sh
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libagm",
owner: "oneplus",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libagm.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libagm.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libar-pal",
owner: "oneplus",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libar-pal.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libar-pal.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.AGMIPC@1.0-impl",
owner: "oneplus",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/vendor.qti.hardware.AGMIPC@1.0-impl.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.qti.hardware.AGMIPC@1.0-impl.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libfastcvopt",
owner: "oneplus",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libfastcvopt.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libthermalclient",
owner: "oneplus",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libthermalclient.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
android_app_import {
name: "CACertService",
owner: "oneplus",
apk: "proprietary/vendor/app/CACertService/CACertService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "CneApp",
owner: "oneplus",
apk: "proprietary/vendor/app/CneApp/CneApp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "IWlanService",
owner: "oneplus",
apk: "proprietary/vendor/app/IWlanService/IWlanService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "TimeService",
owner: "oneplus",
apk: "proprietary/vendor/app/TimeService/TimeService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "PowerOffAlarm",
owner: "oneplus",
apk: "proprietary/product/app/PowerOffAlarm/PowerOffAlarm.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentOKGoogle",
owner: "oneplus",
apk: "proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON/HotwordEnrollmentOKGoogle.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentXGoogle",
owner: "oneplus",
apk: "proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON/HotwordEnrollmentXGoogle.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "ImsRcsService",
owner: "oneplus",
apk: "proprietary/system_ext/app/ImsRcsService/ImsRcsService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "QtiTelephony",
owner: "oneplus",
apk: "proprietary/system_ext/app/QtiTelephony/QtiTelephony.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "QtiTelephonyService",
owner: "oneplus",
apk: "proprietary/system_ext/app/QtiTelephonyService/QtiTelephonyService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "WfdService",
owner: "oneplus",
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: "ims",
owner: "oneplus",
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: "oneplus",
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: "oneplus",
jars: ["proprietary/system/framework/WfdCommon.jar"],
}
dex_import {
name: "com.android.hotwordenrollment.common.util",
owner: "oneplus",
jars: ["proprietary/product/framework/com.android.hotwordenrollment.common.util.jar"],
product_specific: true,
}
dex_import {
name: "qcrilhook",
owner: "oneplus",
jars: ["proprietary/system_ext/framework/qcrilhook.jar"],
system_ext_specific: true,
}
dex_import {
name: "vendor.qti.hardware.alarm-V1.0-java",
owner: "oneplus",
jars: ["proprietary/system_ext/framework/vendor.qti.hardware.alarm-V1.0-java.jar"],
system_ext_specific: true,
}
dex_import {
name: "vendor.qti.ims.factory-V2.0-java",
owner: "oneplus",
jars: ["proprietary/system_ext/framework/vendor.qti.ims.factory-V2.0-java.jar"],
system_ext_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.gnss-aidl-service-qti",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.gnss-aidl-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.gnss@2.1-service-qti",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.graphics.mapper-impl-qti-display",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.security.keymint-service-qti",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.security.keymint-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "c2_manifest_vendor",
owner: "oneplus",
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: "c2_manifest_vendor_audio",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/c2_manifest_vendor_audio.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_non_qmaa",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/manifest_non_qmaa.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_non_qmaa_extn",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/manifest_non_qmaa_extn.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_panelchaplin",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/manifest_panelchaplin.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.diag.hal.service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.diag.hal.service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.gnss-service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.gnss-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.display.allocator-service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.display.allocator-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.display.composer-service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.display.composer-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.perf",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.perf.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.power.powermodule",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.power.powermodule.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.qconfig@1.0-service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.qconfig@1.0-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.qxr-service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.qxr-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.servicetracker@1.2-service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.servicetracker@1.2-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.hardware.vpp@2.0-service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.vpp@2.0-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.4-service.widevine",
owner: "oneplus",
src: "proprietary/odm/etc/vintf/manifest/manifest_android.hardware.drm@1.4-service.widevine.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
device_specific: true,
}
prebuilt_etc_xml {
name: "manifest_oplus_cwb",
owner: "oneplus",
src: "proprietary/odm/etc/vintf/manifest/manifest_oplus_cwb.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
device_specific: true,
}
prebuilt_etc_xml {
name: "manifest_performance_aidl",
owner: "oneplus",
src: "proprietary/odm/etc/vintf/manifest/manifest_performance_aidl.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
device_specific: true,
}
prebuilt_etc_xml {
name: "vendor.pixelworks.hardware.display@1.2",
owner: "oneplus",
src: "proprietary/odm/etc/vintf/manifest/vendor.pixelworks.hardware.display@1.2.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
device_specific: true,
}
prebuilt_etc_xml {
name: "vendor.pixelworks.hardware.feature.irisfeature-service",
owner: "oneplus",
src: "proprietary/odm/etc/vintf/manifest/vendor.pixelworks.hardware.feature.irisfeature-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
device_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/oneplus/sm8450-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter udon,$(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/oneplus/sm8450-common/setup-makefiles.sh

BIN
proprietary/odm/bin/irisConfig Executable file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,11 @@
<compatibility-matrix version="1.0" type="framework">
<hal format="hidl" optional="true">
<name>vendor.oplus.hardware.bluetooth_audio_extend</name>
<version>2.1</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
</hal>
</compatibility-matrix>

View File

@ -0,0 +1,36 @@
on property:init.svc.mediadrm=running
mkdir /data/vendor/mediadrm 0770 media mediadrm
#ifndef OPLUS_FEATURE_DRM_WIDEVINEL3
#QinLing@MULTIMEDIA.MMSERVER.DRM, 2021/07/23, disable move_widevine_data.sh, it is useless
# start vendor.move_data_sh
#
#service vendor.move_data_sh /system/bin/move_widevine_data.sh
# class late_start
# user media
# group media mediadrm system
# disabled
# oneshot
#endif /* OPLUS_FEATURE_DRM_WIDEVINEL3 */
#ifndef OPLUS_FEATURE_DRM_WIDEVINEL3
#QinLing@MULTIMEDIA.MMSERVER.DRM, 2021/07/23, move service to odm
#service vendor.drm-widevine-hal-1-4 /vendor/bin/hw/android.hardware.drm@1.4-service.widevine
#else /* OPLUS_FEATURE_DRM_WIDEVINEL3 */
service vendor.drm-widevine-hal-1-4 /odm/bin/hw/android.hardware.drm@1.4-service.widevine
#endif /* OPLUS_FEATURE_DRM_WIDEVINEL3 */
interface android.hardware.drm@1.0::ICryptoFactory widevine
interface android.hardware.drm@1.0::IDrmFactory widevine
interface android.hardware.drm@1.1::ICryptoFactory widevine
interface android.hardware.drm@1.1::IDrmFactory widevine
interface android.hardware.drm@1.2::ICryptoFactory widevine
interface android.hardware.drm@1.2::IDrmFactory widevine
interface android.hardware.drm@1.3::ICryptoFactory widevine
interface android.hardware.drm@1.3::IDrmFactory widevine
interface android.hardware.drm@1.4::ICryptoFactory widevine
interface android.hardware.drm@1.4::IDrmFactory widevine
interface android.hidl.base@1.0::IBase widevine
class hal
user media
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks

View File

@ -0,0 +1,7 @@
# Add 'readproc' for 'proc/pid/task/tid/*'
service oplus.performance.hal.service-1-0 /odm/bin/hw/vendor-oplus-hardware-performance-V1-service
class hal
capabilities SYS_PTRACE
user root
group system readproc
interface aidl vendor.oplus.hardware.performance.IPerformance/default

View File

@ -0,0 +1,5 @@
service vendor.pixelworks.hardware.feature /odm/bin/hw/vendor.pixelworks.hardware.feature.irisfeature-service
class hal animation
user system
group graphics drmrpc
oneshot

View File

@ -0,0 +1,318 @@
#########################################
# Log verbosity control for izat modules
#########################################
# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5
IZAT_DEBUG_LEVEL = 2
##################################################
# Select WIFI Wait Timeout value in seconds for SUPL
##################################################
WIFI_WAIT_TIMEOUT_SELECT = 0
##################################################
# Time interval of injecting SRN scan data to modem
# time in seconds.
# Note: recommended value is between 1-5 sec
##################################################
LPPE_SRN_DATA_SCAN_INJECT_TIME=2
###################################
# GEOFENCE SERVICES
###################################
# If set to one of the defined values below, it will override
# the responsiveness for geofence services, which implements
# the Proximity Alert API. If not set to a value defined below,
# which is default, it will not override the responsivness.
# The geofence HAL API is unaffected by this value.
# GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE Values:
# 1: LOW responsiveness
# 2: MEDIUM responsiveness
# 3: HIGH responsiveness
GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE = 0
#####################################
#GTP Opt-In app
#####################################
#GTP privacy policy version url
#https support is required
GTP_PRIVACY_VERSION_URL = https://info.izatcloud.net/privacy/version.html
#GTP privacy policy version download retry interval
#unit is second. default is 86400
GTP_PRIVACY_RETRY_INTERVAL = 86400
#####################################
# IZAT PREMIUM FEATURE SETTINGS
#####################################
#Possible states of a feature:
#DISABLED
#BASIC
#PREMIUM
#GTP_MODE valid modes:
# DISABLED
# LEGACY_WWAN
# SDK (WWAN not available for Modems before LocTech 10.0)
# SDK_WIFI (WWAN provided by legacy Modem)
GTP_MODE=DISABLED
#FUSED_HAL_ONLY
# This setting enables HW FLP over Gnss HIDL.
# ENABLED
# DISABLED
FUSED_HAL_ONLY=DISABLED
#GTP_WAA valid modes:
# DISABLED
# BASIC
GTP_WAA=DISABLED
#SAP valid modes:
# DISABLED
# BASIC
# PREMIUM
# PREMIUM_ENV_AIDING
# MODEM_DEFAULT
SAP=PREMIUM
#FREE_WIFI_SCAN_INJECT valid modes:
#DISABLED
#BASIC
FREE_WIFI_SCAN_INJECT=BASIC
#SUPL_WIFI valid modes:
#DISABLED
#BASIC
SUPL_WIFI=BASIC
#WIFI_SUPPLICANT_INFO valid modes:
#DISABLED
#BASIC
WIFI_SUPPLICANT_INFO=BASIC
#####################################
# Location process launcher settings
#####################################
# DO NOT MODIFY
# Modifying below attributes without
# caution can have serious implications.
#Values for PROCESS_STATE:
# ENABLED
# DISABLED
#Values for LOW_RAM_TARGETS:
# ENABLED
# DISABLED
# Property to enable/disable processes for low ram targets. Uses ro.config.low_ram property
# to identify low ram targets.
#PROCESS_NAME
# Name of the executable file.
#FEATURE MASKS:
# GTP-WIFI 0X03
# GTP-MP-CELL 0xc00
# GTP-WAA 0x100
# SAP 0Xc0
# ODCPI 0x1000
# FREE_WIFI_SCAN_INJECT 0x2000
# SUPL_WIFI 0x4000
# WIFI_SUPPLICANT_INFO 0x8000
#Values for PLATFORMS can be:
#1. Any valid values obtained from ro.board.platform separated by single space. For example: msm8960 msm8226
#2. 'all' or 'all exclude' -> for All platforms
#3. 'all exclude XXXX' -> All platforms exclude XXXX. For example: all exclude msm8937
#Values for SOC_IDS can be:
#1. Any valid values obtained from soc_id node separated by single space. For example: 339 386 436
## soc_id value can be obtained from any one of below node:
## - /sys/devices/soc0/soc_id
## - /sys/devices/system/soc/soc0/id
#2. 'all' or 'all exclude' -> for All soc id's
#3. 'all exclude XXXX' -> All soc id's exclude XXXX. For example: all exclude 339 386
#Values for BASEBAND can be:
#1. Any valid values obtained from ro.baseband separated by single space. For example: sglte sglte2
#2. 'all' or 'all exclude' -> for all basebands
#3. 'all exclude XXXX' -> All basebands exclude XXXX. For example: all exclude sglte
PROCESS_NAME=lowi-server
PROCESS_ARGUMENT=
#ifndef OPLUS_BUG_STABILITY
#YangZhihan@CONNECTIVITY.GPS.GNSS.STABILITY, 2021/07/06, Disable lowi-server
#PROCESS_STATE=ENABLED
#else /* OPLUS_BUG_STABILITY */
PROCESS_STATE=DISABLED
#endif /* OPLUS_BUG_STABILITY */
PROCESS_GROUPS=gps wifi inet oem_2901
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0xf303
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=ENABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=0
LAUNCH_ON_OPTIN=0
PROCESS_NAME=xtwifi-inet-agent
PROCESS_ARGUMENT=
PROCESS_STATE=ENABLED
PROCESS_GROUPS=inet gps
PREMIUM_FEATURE=1
IZAT_FEATURE_MASK=0xc03
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=ENABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
LAUNCH_ON_OPTIN=1
PROCESS_NAME=xtwifi-client
PROCESS_ARGUMENT=
PROCESS_STATE=ENABLED
PROCESS_GROUPS=wifi inet gps system oem_2904
PREMIUM_FEATURE=1
IZAT_FEATURE_MASK=0xd03
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=ENABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
LAUNCH_ON_OPTIN=1
PROCESS_NAME=slim_daemon
PROCESS_ARGUMENT=
#ifndef OPLUS_BUG_STABILITY
#YangZhihan@CONNECTIVITY.GPS.GNSS.STABILITY, 2020/06/01, Disable slim_daemon
#PROCESS_STATE=ENABLED
#else /* OPLUS_BUG_STABILITY */
PROCESS_STATE=DISABLED
#endif /* OPLUS_BUG_STABILITY */
PROCESS_GROUPS=gps oem_2901 can plugdev diag sensors
PREMIUM_FEATURE=1
IZAT_FEATURE_MASK=0xf0
PLATFORMS=all
SOC_IDS=all exclude 386 436
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
LAUNCH_ON_OPTIN=0
PROCESS_NAME=xtra-daemon
PROCESS_ARGUMENT=
PROCESS_STATE=ENABLED
PROCESS_GROUPS=inet gps system
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=ENABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=0
LAUNCH_ON_OPTIN=0
PROCESS_NAME=edgnss-daemon
PROCESS_ARGUMENT=
#ifndef OPLUS_BUG_STABILITY
#ShiMinghao@CONNECTIVITY.GPS.GNSS.STABILITY, 2021/10/27, Disable edgnss-daemon
#PROCESS_STATE=ENABLED
#else /* OPLUS_BUG_STABILITY */
PROCESS_STATE=DISABLED
#endif /* OPLUS_BUG_STABILITY */
PROCESS_GROUPS=inet gps
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=ENABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
LAUNCH_ON_OPTIN=0
########################################
# Engine Service which host DRE module #
# To enable DRE engine service, change #
# PROCESS_STATE=ENABLED #
########################################
PROCESS_NAME=engine-service
PROCESS_ARGUMENT=DRE-INT libloc_epDr.so
PROCESS_STATE=DISABLED
PROCESS_GROUPS=gps diag inet qwes oem_2901 system
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
LAUNCH_ON_OPTIN=0
########################################
# Engine Service which host PPE module #
# To enable PPE engine service, change #
# PROCESS_STATE=ENABLED #
# and update process arugements #
# with PPE library name #
#PROCESS_ARGUMENT=PPE libepsimulator.so#
########################################
PROCESS_NAME=engine-service
PROCESS_ARGUMENT=PPE libepsimulator.so
PROCESS_STATE=DISABLED
PROCESS_GROUPS=gps diag inet qwes oem_2901 system drmrpc
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
LAUNCH_ON_OPTIN=0
#########################################
# Engine Service which host QPPE module #
# To enable QPPE engine service, change #
# PROCESS_STATE=ENABLED #
#########################################
PROCESS_NAME=engine-service
PROCESS_ARGUMENT=PPE-INT libqppe.so
PROCESS_STATE=DISABLED
PROCESS_GROUPS=gps diag drmrpc
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
LAUNCH_ON_OPTIN=0
########################################
# Skyhook process #
# To enable Skyhook process, change #
# PROCESS_STATE=ENABLED #
########################################
#PROCESS_NAME=blpsvc
#PROCESS_ARGUMENT=
#PROCESS_STATE=ENABLED
#PROCESS_GROUPS=gps inet
#PREMIUM_FEATURE=1
#IZAT_FEATURE_MASK=0xf0f
#PLATFORMS=all
#SOC_IDS=all exclude 386 436 357 368 418 334 335 408
#BASEBAND=all
#LOW_RAM_TARGETS=DISABLED
#HARDWARE_TYPE=all
#VENDOR_ENHANCED_PROCESS=1
#LAUNCH_ON_OPTIN=0

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2015-2019 The Linux Foundation. All rights reserved.
Not a contribution.
Copyright (C) 2012 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.
-->
<Included>
<!-- #ifdef OPLUS_FEATURE_SURROUND_AUDIO -->
<!-- shumin.nie@PSW.MM.MediaServer.Record, 2019/09/16, Add for SurroudAudio -->
<Include href="media_codecs_c2_oplus_audio.xml" />
<!-- #endif OPLUS_FEATURE_SURROUND_AUDIO-->
</Included>

View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
This program is protected under international and U.S. copyright laws as
an unpublished work. This program is confidential and proprietary to the
copyright owners. Reproduction or disclosure, in whole or in part, or the
production of derivative works therefrom without the express permission of
the copyright owners is prohibited.
Copyright (C) 2020-2021 by Dolby Laboratories,
All rights reserved.
-->
<Included>
<Decoders>
<!-- DOLBY_UDC -->
<MediaCodec name="c2.dolby.eac3.decoder" >
<Type name="audio/ac3">
<Alias name="OMX.dolby.ac3.decoder" />
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-640000" />
</Type>
<Type name="audio/eac3">
<Alias name="OMX.dolby.eac3.decoder" />
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Type name="audio/eac3-joc">
<Alias name="OMX.dolby.eac3-joc.decoder" />
<Limit name="channel-count" max="16" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Attribute name="software-codec" />
</MediaCodec>
<!-- DOLBY_UDC END -->
<!-- DOLBY_AC4 -->
<MediaCodec name="c2.dolby.ac4.decoder" type="audio/ac4">
<Alias name="OMX.dolby.ac4.decoder" />
<Limit name="channel-count" max="16" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="16000-2688000" />
<Attribute name="software-codec" />
</MediaCodec>
<!-- DOLBY_AC4 END -->
</Decoders>
</Included>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2014 The CyanogenMod 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.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.ffmpeg.atrial.decoder" type="audio/ffmpeg" >
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-192000" />
</MediaCodec>
<MediaCodec name="OMX.ffmpeg.vtrial.decoder" type="video/ffmpeg" rank="1024" >
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Feature name="adaptive-playback" />
<Limit name="performance-point-1280x720" value="30" />
</MediaCodec>
</Decoders>
</Included>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012-2020 The Linux Foundation. All rights reserved.
Not a contribution.
Copyright (C) 2012-2013 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.
-->
<MediaCodecs>
</MediaCodecs>

View File

@ -0,0 +1,867 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2013 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.
-->
<!DOCTYPE MediaSettings [
<!ELEMENT MediaSettings (CamcorderProfiles,
EncoderOutputFileFormat+,
VideoEncoderCap+,
AudioEncoderCap+,
VideoDecoderCap,
AudioDecoderCap)>
<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
<!ELEMENT EncoderProfile (Video, Audio)>
<!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
<!ATTLIST EncoderProfile cameraId (0|1|2|3|4|5) #REQUIRED>
<!ELEMENT Video EMPTY>
<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
<!ATTLIST Video bitRate CDATA #REQUIRED>
<!ATTLIST Video width CDATA #REQUIRED>
<!ATTLIST Video height CDATA #REQUIRED>
<!ATTLIST Video frameRate CDATA #REQUIRED>
<!ELEMENT Audio EMPTY>
<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
<!ATTLIST Audio bitRate CDATA #REQUIRED>
<!ATTLIST Audio sampleRate CDATA #REQUIRED>
<!ATTLIST Audio channels (1|2) #REQUIRED>
<!ELEMENT ImageEncoding EMPTY>
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
<!ELEMENT ImageDecoding EMPTY>
<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
<!ELEMENT Camera EMPTY>
<!ELEMENT EncoderOutputFileFormat EMPTY>
<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
<!ELEMENT VideoEncoderCap EMPTY>
<!ATTLIST VideoEncoderCap name (h264|h263|m4v|wmv) #REQUIRED>
<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
<!ELEMENT AudioEncoderCap EMPTY>
<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED>
<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED>
<!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED>
<!ELEMENT VideoDecoderCap EMPTY>
<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
<!ELEMENT AudioDecoderCap EMPTY>
<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
]>
<!--
This file is used to declare the multimedia profiles and capabilities
on an android-powered device.
-->
<MediaSettings>
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
<Video codec="h264"
bitRate="128000"
width="320"
height="240"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<CamcorderProfiles cameraId="1">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
<Video codec="h264"
bitRate="128000"
width="320"
height="240"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<CamcorderProfiles cameraId="2">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
<Video codec="h264"
bitRate="128000"
width="320"
height="240"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<CamcorderProfiles cameraId="3">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
<Video codec="h264"
bitRate="128000"
width="320"
height="240"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<CamcorderProfiles cameraId="4">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
<Video codec="h264"
bitRate="128000"
width="320"
height="240"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<CamcorderProfiles cameraId="5">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
<Video codec="h264"
bitRate="128000"
width="320"
height="240"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<EncoderOutputFileFormat name="3gp" />
<EncoderOutputFileFormat name="mp4" />
<!--
If a codec is not enabled, it is invisible to the applications
In other words, the applications won't be able to use the codec
or query the capabilities of the codec at all if it is disabled
-->
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="40000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="30" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="800"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="15" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="40000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="758" maxBitRate="288000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="2" />
<AudioEncoderCap name="heaac" enabled="true"
minBitRate="8000" maxBitRate="64000"
minSampleRate="16000" maxSampleRate="48000"
minChannels="1" maxChannels="2" />
<AudioEncoderCap name="aaceld" enabled="true"
minBitRate="16000" maxBitRate="192000"
minSampleRate="16000" maxSampleRate="48000"
minChannels="1" maxChannels="2" />
<AudioEncoderCap name="amrwb" enabled="true"
minBitRate="6600" maxBitRate="23050"
minSampleRate="16000" maxSampleRate="16000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrnb" enabled="true"
minBitRate="5525" maxBitRate="12200"
minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" />
<!--
FIXME:
We do not check decoder capabilities at present
At present, we only check whether windows media is visible
for TEST applications. For other applications, we do
not perform any checks at all.
-->
<VideoDecoderCap name="wmv" enabled="false"/>
<AudioDecoderCap name="wma" enabled="false"/>
</MediaSettings>

View File

@ -0,0 +1,179 @@
################################
# Sensor Settings
################################
#The following parameters are optional.
#Internal defaults support MEMS sensors
#native to most handset devices.
#Device specific sensor characterization
#for improved performance is possible as
#described in SAP application notes.
#GYRO_BIAS_RANDOM_WALK=
#ACCEL_RANDOM_WALK_SPECTRAL_DENSITY=
#ANGLE_RANDOM_WALK_SPECTRAL_DENSITY=
#RATE_RANDOM_WALK_SPECTRAL_DENSITY=
#VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY=
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 0
# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
# used in loc_eng_reinit
SENSOR_ACCEL_BATCHES_PER_SEC=2
SENSOR_ACCEL_SAMPLES_PER_BATCH=5
SENSOR_GYRO_BATCHES_PER_SEC=2
SENSOR_GYRO_SAMPLES_PER_BATCH=5
# Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0)
SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4
SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25
SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4
SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
# Sensor Control Mode (0=AUTO, 1=FORCE_ON, 2=MODEM_DEFAULT)
# used in loc_eng_reinit
SENSOR_CONTROL_MODE=2
# Bit mask used to define which sensor algorithms are used.
# Setting each bit has the following definition:
# 0x1 - DISABLE_INS_POSITIONING_FILTER
# 0x0 - ENABLE_INS_POSITIONING_FILTER
SENSOR_ALGORITHM_CONFIG_MASK=0x0
#Vehicle Network Provider configuration
#Service configuration strings
#The number before colon in VN_X items defines version of the format of the rest of the string
#VN_ACCEL_CFG=0:5
#VN_GYRO_CFG=0:5.5
#VN_ODOMETRY_CFG=0:2,4.5
################################################
# QDR3 configurations #
################################################
#VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
#VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
VN_SPEED_CFG=1:777,0,0,1,3,1,0.002778,0,40,8,32,8
VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
################################################
# QDR2-Gyro configurations #
################################################
#VN_GYRO_CFG=1:555,0,1,0,0,0,0,-6.5,6.6066,-6.5,-1.00,2,6.607,6.6068,0,0,16,0.0002,0,16,0.0002,0,16,0.0002
#VN_SPEED_CFG=1:555,0,0,1,2,1,0.01,0,56,8,48,8
#VN_GEAR_CFG=1:555,16,4,0,1,1,9,0,1,2,3,4,5,6,7,8
################################################
# QDR2-DWT configurations #
################################################
#VN_SPEED_CFG=1:555,22,1,2,1,1,1,0,8,8,23,1,2,0,1,0,8,8,23,1
#VN_GEAR_CFG=1:555,12,4,16,14,16,8,1,2,3,4,5,6,7,8
#VN_DWS_CFG=1:555,0,0,1,3,1,1,0,0,8,0,0,8,8,0,0,16,8,0,0,24,8,0,0
#VN_GYRO_CFG=1:555,40,16,1.0,40,16,1.0,40,16,1.0
#####################################################################################
# VNW service batching configuration strings #
# VNW provider will initialize default type as Time based batching #
# Each service batch value is configured to be 100 #
# VN_ACCEL_CFG_BATCH_VALUE will be treated as time in Ms if VN_CFG_BATCH_TYPE #
# is set to time based batching #
# VN_ACCEL_CFG_BATCH_VALUE will be treated as sample count if VN_CFG_BATCH_TYPE #
# is set to count based batching #
# Uncomment and update batch time /sample count as per selected batching type #
#####################################################################################
# Batching type
# 1 - Time based (default)
# 2 - Count based
VN_CFG_BATCH_TYPE=1
#Vehicle Accel batching value, it can either accept time in milli seconds or sample count
#VN_ACCEL_CFG_BATCH_VALUE=100
#Vehicle Gyro batching value, it can either accept time in milli seconds or sample count
VN_GYRO_CFG_BATCH_VALUE=50
#Vehicle Odo batching value, it can either accept time in milli seconds or sample count
#VN_ODOMETRY_CFG_BATCH_VALUE=100
#Vehicle Speed batching value, it can either accept time in milli seconds or sample count
VN_SPEED_CFG_BATCH_VALUE=50
#Vehicle Gear batching value, it can either accept time in milli seconds or sample count
VN_GEAR_CFG_BATCH_VALUE=50
#Vehicle DWS batching value, it can either accept time in milli seconds or sample count
#VN_DWS_CFG_BATCH_VALUE=100
####################################################################################
#Procesors clock ratio: AP and CAN bus microcontroller
################################################
# QDR3 configurations #
################################################
VN_PROC_CLOCK_RATIO=1.0
################################################
# QDR2-DWT OR QDR2-Gyro configurations #
################################################
#VN_PROC_CLOCK_RATIO = 1.0
# Time source used by Sensor HAL
# Setting this value controls accuracy of location sensor services.
# 0 - Unknown
# 1 - CLOCK_BOOTTIME
# 2 - CLOCK_MONOTONIC
# 3 - CLOCK_REALTIME
# 4 - CLOCK_BOOTTIME using Alarm timer interface
NDK_PROVIDER_TIME_SOURCE=1
# Sensor Batching Configuration
# 0 - Time based
# 1 - Fixed count based
# 2 - Variable count based
COUNT_BASED_BATCHING=1
SYNC_ONCE=0
# Vehicle Network Data optimization
# Default value: 0
# Value 0x40000 - Speed(bit 18 eSLIM_SERVICE_VEHICLE_SPEED)
# Value 0x80000 - Speed(bit 19 eSLIM_SERVICE_VEHICLE_DWS)
# Value 0x100000 - Speed(bit 20 eSLIM_SERVICE_VEHICLE_GEAR)
VN_ENABLE_DATA_OPTIMIZATION=0x100000
# Vehicle Network Data Routing time interval
# This is applicable only if VN_ENABLE_DATA_OPTIMIZATION value is set
# Default value: 5000 msec
VN_DATA_ROUTING_TIME_INTERVAL_MSEC=3000
#Sensor HAL Provider Configuration HAL Library name including path
################################################
# #
# Configuration for BMI 160 Sensor #
# #
################################################
#SENSOR_TYPE=2
#SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1
################################################
# #
# Configuration for ASM330 Sensor #
# #
################################################
SENSOR_TYPE=1
SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1
################################################
# #
# Configuration for IAM20680 Sensor #
# #
################################################
#SENSOR_TYPE=3
#SENSOR_HAL_LIB_PATH=/usr/lib/libiam20680sensors.so.1
################################################
# #
# Configuration for SMI130 Sensor #
# #
################################################
#SENSOR_TYPE=4
#SENSOR_HAL_LIB_PATH=/usr/lib/libsmi130sensors.so.1

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 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.
-->
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.drm</name>
<transport>hwbinder</transport>
<fqname>@1.4::ICryptoFactory/widevine</fqname>
<fqname>@1.4::IDrmFactory/widevine</fqname>
</hal>
</manifest>

View File

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>vendor.oplus.hardware.cwb</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>ICwbService</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest version="1.0" type="device">
<hal format="aidl">
<name>vendor.oplus.hardware.performance</name>
<version>1</version>
<fqname>IPerformance/default</fqname>
</hal>
</manifest>

View File

@ -0,0 +1,12 @@
<manifest version="1.0" type="device">
<!-- Iris HW Service -->
<hal format="hidl">
<name>vendor.pixelworks.hardware.display</name>
<transport>hwbinder</transport>
<version>1.2</version>
<interface>
<name>IIris</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View File

@ -0,0 +1,12 @@
<manifest version="1.0" type="device">
<!-- Iris Feature Service -->
<hal format="hidl">
<name>vendor.pixelworks.hardware.feature</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IIrisFeature</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

Binary file not shown.

View File

@ -0,0 +1,106 @@
<filter-conf>
<version>2022092012</version>
<isOpen>1</isOpen>
<filter-name>sys_edge_touch_config</filter-name>
<device name="default">
<default>
<!-- 关闭相机底部虎口检测 -->
<command name="large_bottom_middle_support" value="mod para_V2 large_bottom_middle_support:0"/>
</default>
<!--所有修改均为增量修改所有增量修改都是基于上面的default配置包括各个package里面的default和activity -->
<packages>
<!--本配置针对应用的包名列表 -->
<pkg_list>
<item name="com.oplus.camera" />
</pkg_list>
<!--包名列表中某个包的默认配置基于外层的default配置增量修改如果配置了某个包名的场景必须配置一个如下对应的默认配置 -->
<default>
<!--打开相机底部虎口检测 -->
<command name="large_bottom_middle_support" value="mod para_V2 large_bottom_middle_support:1"/>
</default>
</packages>
<default>
<!-- 本台设备防误触开关,防误触抑制是否生效 -->
<!-- 防误触3.0长按时间参数 -->
<command name="finger_hold_matched_hor_support" value="mod para_V2 finger_hold_matched_hor_support:0"/>
<command name="large_top_exit_distance" value="mod para_V2 large_top_exit_distance:480"/>
<command name="large_hor_long_top_width" value="mod para_V2 large_hor_long_top_width:350"/>
</default>
<!--所有修改均为增量修改所有增量修改都是基于上面的default配置包括各个package里面的default和activity -->
<packages>
<!--本配置针对应用的包名列表 -->
<pkg_list>
<item name="com.tencent.qqlive" /><!--腾讯视频-->
<item name="com.tencent.videolite.android" /><!--腾讯视频极速版-->
<item name="com.youku.phone" /><!--优酷-->
<item name="com.qiyi.video" /><!--爱奇艺-->
<item name="com.qiyi.video.lite" /><!--爱奇艺极速版-->
<item name="tv.danmaku.bili" /><!--哔哩哔哩-->
</pkg_list>
<!--包名列表中某个包的默认配置基于外层的default配置增量修改如果配置了某个包名的场景必须配置一个如下对应的默认配置 -->
<default>
<!-- 防误触3.0长按时间参数 -->
<command name="finger_hold_matched_hor_support" value="mod para_V2 finger_hold_matched_hor_support:1"/>
<command name="large_top_exit_distance" value="mod para_V2 large_top_exit_distance:1000"/>
<command name="large_hor_long_top_width" value="mod para_V2 large_hor_long_top_width:700"/>
</default>
</packages>
<default>
<!-- 关闭抖音虎口检测 -->
<command name="edge_swipe_exit_distance" value="mod para_V2 edge_swipe_exit_distance:1300"/>
</default>
<!--所有修改均为增量修改所有增量修改都是基于上面的default配置包括各个package里面的default和activity -->
<packages>
<!--本配置针对应用的包名列表 -->
<pkg_list>
<item name="com.ss.android.ugc.aweme" /> <!--抖音-->
<item name="com.sina.weibo" /><!--微博-->
</pkg_list>
<!--包名列表中某个包的默认配置基于外层的default配置增量修改如果配置了某个包名的场景必须配置一个如下对应的默认配置 -->
<default>
<!--打开抖音虎口检测 -->
<command name="edge_swipe_exit_distance" value="mod para_V2 edge_swipe_exit_distance:1700"/>
</default>
</packages>
<default>
<!-- 配置王者荣耀、英雄联盟顶部抑制参数 -->
<command name="large_hor_long_top_height" value="mod para_V2 large_hor_long_top_height:2270"/>
<command name="large_hor_top_y_height" value="mod para_V2 large_hor_top_y_height:2270"/>
</default>
<!--所有修改均为增量修改所有增量修改都是基于上面的default配置包括各个package里面的default和activity -->
<packages>
<!--本配置针对应用的包名列表 -->
<pkg_list>
<item name="com.tencent.lolm" /> <!--英雄联盟-->
<item name="com.tencent.tmgp.sgame" /> <!--王者荣耀-->
</pkg_list>
<!--包名列表中某个包的默认配置基于外层的default配置增量修改如果配置了某个包名的场景必须配置一个如下对应的默认配置 -->
<default>
<!--王者荣耀、英雄联盟顶部抑制参数 -->
<command name="large_hor_long_top_height" value="mod para_V2 large_hor_long_top_height:1000"/>
<command name="large_hor_top_y_height" value="mod para_V2 large_hor_top_y_height:1200"/>
</default>
</packages>
</device>
</filter-conf>

View File

@ -0,0 +1,106 @@
<filter-conf>
<version>2022092012</version>
<isOpen>1</isOpen>
<filter-name>sys_edge_touch_config</filter-name>
<device name="default">
<default>
<!-- 关闭相机底部虎口检测 -->
<command name="large_bottom_middle_support" value="mod para_V2 large_bottom_middle_support:0"/>
</default>
<!--所有修改均为增量修改所有增量修改都是基于上面的default配置包括各个package里面的default和activity -->
<packages>
<!--本配置针对应用的包名列表 -->
<pkg_list>
<item name="com.oplus.camera" />
</pkg_list>
<!--包名列表中某个包的默认配置基于外层的default配置增量修改如果配置了某个包名的场景必须配置一个如下对应的默认配置 -->
<default>
<!--打开相机底部虎口检测 -->
<command name="large_bottom_middle_support" value="mod para_V2 large_bottom_middle_support:1"/>
</default>
</packages>
<default>
<!-- 本台设备防误触开关,防误触抑制是否生效 -->
<!-- 防误触3.0长按时间参数 -->
<command name="finger_hold_matched_hor_support" value="mod para_V2 finger_hold_matched_hor_support:0"/>
<command name="large_top_exit_distance" value="mod para_V2 large_top_exit_distance:480"/>
<command name="large_hor_long_top_width" value="mod para_V2 large_hor_long_top_width:350"/>
</default>
<!--所有修改均为增量修改所有增量修改都是基于上面的default配置包括各个package里面的default和activity -->
<packages>
<!--本配置针对应用的包名列表 -->
<pkg_list>
<item name="com.tencent.qqlive" /><!--腾讯视频-->
<item name="com.tencent.videolite.android" /><!--腾讯视频极速版-->
<item name="com.youku.phone" /><!--优酷-->
<item name="com.qiyi.video" /><!--爱奇艺-->
<item name="com.qiyi.video.lite" /><!--爱奇艺极速版-->
<item name="tv.danmaku.bili" /><!--哔哩哔哩-->
</pkg_list>
<!--包名列表中某个包的默认配置基于外层的default配置增量修改如果配置了某个包名的场景必须配置一个如下对应的默认配置 -->
<default>
<!-- 防误触3.0长按时间参数 -->
<command name="finger_hold_matched_hor_support" value="mod para_V2 finger_hold_matched_hor_support:1"/>
<command name="large_top_exit_distance" value="mod para_V2 large_top_exit_distance:1000"/>
<command name="large_hor_long_top_width" value="mod para_V2 large_hor_long_top_width:700"/>
</default>
</packages>
<default>
<!-- 关闭抖音虎口检测 -->
<command name="edge_swipe_exit_distance" value="mod para_V2 edge_swipe_exit_distance:1300"/>
</default>
<!--所有修改均为增量修改所有增量修改都是基于上面的default配置包括各个package里面的default和activity -->
<packages>
<!--本配置针对应用的包名列表 -->
<pkg_list>
<item name="com.ss.android.ugc.aweme" /> <!--抖音-->
<item name="com.sina.weibo" /><!--微博-->
</pkg_list>
<!--包名列表中某个包的默认配置基于外层的default配置增量修改如果配置了某个包名的场景必须配置一个如下对应的默认配置 -->
<default>
<!--打开抖音虎口检测 -->
<command name="edge_swipe_exit_distance" value="mod para_V2 edge_swipe_exit_distance:1700"/>
</default>
</packages>
<default>
<!-- 配置王者荣耀、英雄联盟顶部抑制参数 -->
<command name="large_hor_long_top_height" value="mod para_V2 large_hor_long_top_height:2270"/>
<command name="large_hor_top_y_height" value="mod para_V2 large_hor_top_y_height:2270"/>
</default>
<!--所有修改均为增量修改所有增量修改都是基于上面的default配置包括各个package里面的default和activity -->
<packages>
<!--本配置针对应用的包名列表 -->
<pkg_list>
<item name="com.tencent.lolm" /> <!--英雄联盟-->
<item name="com.tencent.tmgp.sgame" /> <!--王者荣耀-->
</pkg_list>
<!--包名列表中某个包的默认配置基于外层的default配置增量修改如果配置了某个包名的场景必须配置一个如下对应的默认配置 -->
<default>
<!--王者荣耀、英雄联盟顶部抑制参数 -->
<command name="large_hor_long_top_height" value="mod para_V2 large_hor_long_top_height:1000"/>
<command name="large_hor_top_y_height" value="mod para_V2 large_hor_top_y_height:1200"/>
</default>
</packages>
</device>
</filter-conf>

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.

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="/product/framework/com.android.hotwordenrollment.common.util.jar"/>
</permissions>

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-->
<config>
<!-- These are telephony components that need to freely run in the background -->
<allow-in-power-save package="com.qualcomm.atfwd" />
<allow-in-power-save package="com.qualcomm.qti.telephonyservice" />
<allow-in-power-save package="com.qualcomm.qcrilmsgtunnel" />
<allow-in-power-save package="com.qualcomm.qti.ims" />
<allow-in-power-save package="com.qualcomm.qti.radioconfiginterface" />
<allow-in-power-save package="com.qualcomm.simcontacts" />
<allow-in-power-save package="com.qualcomm.qti.autoregistration" />
<allow-in-power-save package="com.qualcomm.qti.server.wigigapp" />
<allow-in-power-save package="com.qualcomm.qti.gsma.services.nfc" />
<allow-in-power-save package="com.quicinc.voice.activation" />
<allow-in-power-save package="com.android.mms" />
<allow-in-power-save package="com.android.exchange" />
<allow-in-power-save package="com.android.email" />
<allow-in-power-save package="com.qualcomm.qti.callenhancement" />
<allow-in-power-save package="com.qualcomm.qti.smartassistant" />
<allow-in-power-save package="com.qti.xdivert" />
<!-- These telephony applications need access to non-[System]SDK APIs -->
<hidden-api-whitelisted-app package="com.qualcomm.uimremoteserver" />
<hidden-api-whitelisted-app package="com.qualcomm.uimremoteclient" />
<hidden-api-whitelisted-app package="com.qualcomm.atfwd" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.autoregistration" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.callenhancement" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.callfeaturessetting" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.confdialer" />
<hidden-api-whitelisted-app package="org.codeaurora.dialer" />
<hidden-api-whitelisted-app package="com.qti.qualcomm.datastatusnotification" />
<hidden-api-whitelisted-app package="com.qti.qualcomm.deviceinfo" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.modemtestmode" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.networksetting" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.qtisystemservice" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.telephonyservice" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.radioconfiginterface" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.radioconfigtest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.roamingsettings" />
<hidden-api-whitelisted-app package="com.qualcomm.simcontacts" />
<hidden-api-whitelisted-app package="org.codeaurora.ims" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.ims" />
<hidden-api-whitelisted-app package="com.qti.xdivert" />
<hidden-api-whitelisted-app package="com.qualcomm.qcrilmsgtunnel" />
<hidden-api-whitelisted-app package="com.qti.confuridialer" />
<hidden-api-whitelisted-app package="com.qti.editnumber" />
<hidden-api-whitelisted-app package="com.qualcomm.embmstest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.ltedirect" />
<hidden-api-whitelisted-app package="com.android.MultiplePdpTest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.app" />
<hidden-api-whitelisted-app package="com.qualcomm.embms" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.embmstuneaway" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.uimlpatest" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.lpa" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.uim" />
<hidden-api-whitelisted-app package="org.codeaurora.snapcam" />
<hidden-api-whitelisted-app package="com.android.mms" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.carrierswitch" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.carrierconfigure" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.sva" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.smartassistant" />
<hidden-api-whitelisted-app package="com.quicinc.voice.activation" />
<hidden-api-whitelisted-app package="com.android.backup" />
<hidden-api-whitelisted-app package="com.android.contacts" />
<hidden-api-whitelisted-app package="com.android.exchange" />
<hidden-api-whitelisted-app package="com.android.soundrecorder" />
<hidden-api-whitelisted-app package="com.android.camera2" />
<hidden-api-whitelisted-app package="org.codeaurora.gallery" />
<hidden-api-whitelisted-app package="com.example.connmgr" />
<hidden-api-whitelisted-app package="com.android.email" />
<hidden-api-whitelisted-app package="com.cyanogenmod.filemanager" />
<hidden-api-whitelisted-app package="com.qualcomm.secureindicator" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.sysmonappExternal" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.biometrics.voiceprint.voiceprintdemo" />
<hidden-api-whitelisted-app package="com.qti.vtloopback " />
<hidden-api-whitelisted-app package="com.android.bluetooth" />
<hidden-api-whitelisted-app package="org.codeaurora.bluetooth" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.qmmi" />
<hidden-api-whitelisted-app package="com.qualcomm.wfd.client" />
<hidden-api-whitelisted-app package="com.qualcomm.wfd.service" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.server.wigigapp" />
<!-- These are location components that need to freely run in the background -->
<allow-in-power-save package="com.qualcomm.location" />
<allow-in-power-save package="com.qualcomm.location.XT" />
<allow-in-power-save package="com.qualcomm.location.XT.setup" />
<hidden-api-whitelisted-app package="com.qti.service.colorservice" />
</config>

Binary file not shown.

Binary file not shown.

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,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,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!---
Copyright (c) 2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="android.hidl.manager-V1.0-java"
file="/system/framework/android.hidl.manager-V1.0-java.jar"/>
</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,83 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2020 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="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"/>
<permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
<permission name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.ims">
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS" />
</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="com.qualcomm.qcrilmsgtunnel">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.qti.nrNetworkSettingApp">
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>

View File

@ -0,0 +1,19 @@
<!--
/*********************************************************************
Copyright (c) 2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
**********************************************************************/
-->
<permissions>
<library name="vendor.qti.ims.factory-V2.0-java"
file="/system_ext/framework/vendor.qti.ims.factory-V2.0-java.jar"/>
<library name="vendor.qti.ims.connection-V1.0-java"
file="/system_ext/framework/vendor.qti.ims.connection-V1.0-java.jar"/>
<library name="vendor.qti.ims.rcsuce-V1.0-java"
file="/system_ext/framework/vendor.qti.ims.rcsuce-V1.0-java.jar"/>
<library name="vendor.qti.ims.rcssip-V1.0-java"
file="/system_ext/framework/vendor.qti.ims.rcssip-V1.0-java.jar"/>
<library name="vendor.qti.ims.factory-V2.1-java"
file="/system_ext/framework/vendor.qti.ims.factory-V2.1-java.jar"/>
</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,102 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
This XML file declares which system packages should be initially installed for new users based on
their user type. All system packages on the device should ideally have an entry in an xml file
(keyed by its manifest name).
Base user-types (every user will be at least one of these types) are:
- SYSTEM (user 0)
- FULL (any non-profile human user)
- PROFILE (profile human user)
the precise meaning of which is defined in
frameworks/base/core/java/android/content/pm/UserInfo.java.
Changes to the whitelist during system updates can result in installing additional system packages
to pre-existing users, but cannot uninstall pre-existing system packages from pre-existing users.
Full documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
-->
<config>
<!-- qcrilOemHook -->
<install-in-user-type package="com.qualcomm.qcrilmsgtunnel">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<!-- telephony-apps -->
<install-in-user-type package="com.qualcomm.atfwd">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.callfeaturessetting">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.confdialer">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
<install-in user-type="PROFILE" />
</install-in-user-type>
<install-in-user-type package="com.qti.qualcomm.datastatusnotification">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qti.qualcomm.deviceinfo">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="org.codeaurora.ims">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="org.codeaurora.qti.nrNetworkSettingApp">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.telephonyservice">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.sam.service">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qti.xdivert">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
</install-in-user-type>
<!-- telephony-internal -->
<install-in-user-type package="com.qualcomm.qti.imsiprivacy.tests">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<!-- telephony-noship -->
<install-in-user-type package="com.qualcomm.qti.devicestatisticsservice">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.embms">
<install-in user-type="SYSTEM" />
</install-in-user-type>
<install-in-user-type package="com.qualcomm.qti.euiccresource">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" />
</install-in-user-type>
</config>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
/* Copyright (c) 2017-2018, 2020 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-->
<config>
<!-- Broadcast actions that are currently whitelisted. -->
<allow-implicit-broadcast action="org.codeaurora.intent.action.CALL_COMPOSER_INFO" />
</config>

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.

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