Compare commits
157 commits
lineage-20
...
lineage-22
Author | SHA1 | Date | |
---|---|---|---|
41a4583106 | |||
6dfa4f8d34 | |||
eb15871769 | |||
6926918ff4 | |||
a50d4522e5 | |||
fe6ea00b68 | |||
3db65c9ea2 | |||
|
c3f110a620 | ||
|
ce21efc124 | ||
|
04dbb0a4b7 | ||
|
038c148153 | ||
|
3a3d3af33f | ||
|
02d95c71e9 | ||
|
12f74ba4a3 | ||
|
46c0a47f0f | ||
|
610a175646 | ||
|
c046b4f19d | ||
|
6f6627e73e | ||
|
8ce167833a | ||
|
a0aa46e5d8 | ||
|
1408ace291 | ||
|
29faac8c00 | ||
|
5641b0442f | ||
|
bf711e18a8 | ||
|
020dc6a61d | ||
|
6d84147ff1 | ||
|
96029cfecb | ||
|
2e429556a1 | ||
|
6384736719 | ||
|
035a3a74c2 | ||
|
c2a9564491 | ||
|
e49fea649d | ||
|
aa2560cffb | ||
|
00bfc3b725 | ||
|
a84d257640 | ||
|
f1051e96cc | ||
|
49f47b2936 | ||
|
00821c77cc | ||
|
aa3aceda39 | ||
|
dcc2c3fa37 | ||
|
9acfd5598e | ||
|
f2c8225ae9 | ||
|
6c2484f942 | ||
|
3298af0f05 | ||
|
a4a325f15e | ||
|
a27d857000 | ||
|
72f32ab5a3 | ||
|
8dfb14cd39 | ||
|
2a9c6383cb | ||
|
4d4f07bd89 | ||
|
53611738e8 | ||
|
8671c7c353 | ||
|
01ae51cb94 | ||
|
04882b6545 | ||
|
24f2a2590b | ||
|
97fb165d39 | ||
|
384d8c5c98 | ||
|
09e4c842fe | ||
|
ffb04a39b7 | ||
|
1b16f3e1e0 | ||
|
fd4cc1741a | ||
|
be01fa8dac | ||
|
0448188c4a | ||
|
5a857c85a8 | ||
|
c2ccc8596f | ||
|
fecfefb74f | ||
|
0c0fec03a1 | ||
|
7ad0fea5b9 | ||
|
262f219c38 | ||
|
02a84ee9f9 | ||
|
2d65dd72e0 | ||
|
ebce0090de | ||
|
5eb0d72622 | ||
|
2d0542b13b | ||
|
9695808593 | ||
|
08ccefecf0 | ||
|
485ca14a4a | ||
|
1a345a987a | ||
|
460360443d | ||
|
eab870359c | ||
|
6266fbca9d | ||
|
7c01cafcf5 | ||
|
867f02e976 | ||
|
d8c0f9c89c | ||
|
d500d4719c | ||
|
4e9ab622b7 | ||
|
e58b63bb92 | ||
|
3ab8caec3e | ||
|
83e230b3de | ||
|
594e8e1c20 | ||
|
171d01a1c7 | ||
|
b3b7493eec | ||
|
6c1e0528b6 | ||
|
c05da9de89 | ||
|
73149b58ae | ||
|
4e436a30f3 | ||
|
29f5285274 | ||
|
ce340bbc57 | ||
|
fa9d414d86 | ||
|
0c8d606929 | ||
|
04739e0390 | ||
|
1e9e2a9ea6 | ||
|
4867d5e3ee | ||
|
ec768a0c76 | ||
|
9f85aa4e46 | ||
|
d18f03ed8a | ||
|
4315cd23c7 | ||
|
1a1d988411 | ||
|
952a90ce17 | ||
|
c55f76d555 | ||
|
2a4dfa5de9 | ||
|
e2db1ff35b | ||
|
dd72fc6451 | ||
|
c747af4dc8 | ||
|
d62372d358 | ||
|
6509c10017 | ||
|
da8871005f | ||
|
e14a490f4a | ||
|
f77ae41e15 | ||
|
d8c4a9a0e5 | ||
|
55045b7e42 | ||
|
3a3034953e | ||
|
9fd9918f3d | ||
|
2c57242638 | ||
|
3ee0c84ab0 | ||
|
bb9e49c038 | ||
|
871f99d6c7 | ||
|
7620c53bcf | ||
|
e9f6f8d910 | ||
|
b84af64fcc | ||
|
5f2f434c6f | ||
|
0b9a253868 | ||
|
4c5783bf01 | ||
|
bb1d8db952 | ||
|
a998c0b181 | ||
|
77cc831c25 | ||
|
57906249ee | ||
|
adef2d52a3 | ||
|
2558113d92 | ||
|
509171b097 | ||
|
f8c1356f3b | ||
|
7de03cce19 | ||
|
cef33f952e | ||
|
29bd1b8cd2 | ||
|
dcb1867a5a | ||
|
b85828b4cf | ||
|
9865abc0e6 | ||
|
330a07a092 | ||
|
d71c9fb394 | ||
|
0d96dca686 | ||
|
fa5ed0b1cf | ||
|
a9cc222504 | ||
|
1e0021ccc9 | ||
|
44a6bcdd3e | ||
|
ff6a34afe0 | ||
|
9725e4fb45 | ||
|
91c1031176 |
55 changed files with 3456 additions and 3854 deletions
20
Android.bp
20
Android.bp
|
@ -1,2 +1,22 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2021-2024 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
// Copyright (C) 2019-Current A-Team Digital Solutions
|
||||||
|
//
|
||||||
|
|
||||||
soong_namespace {
|
soong_namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
install_symlink {
|
||||||
|
name: "firmware_wlan_mac.bin_symlink",
|
||||||
|
vendor: true,
|
||||||
|
installed_location: "firmware/wlan/qca_cld/wlan_mac.bin",
|
||||||
|
symlink_target: "/mnt/vendor/persist/wlan_mac.bin",
|
||||||
|
}
|
||||||
|
|
||||||
|
install_symlink {
|
||||||
|
name: "firmware_WCNSS_qcom_cfg.ini_symlink",
|
||||||
|
vendor: true,
|
||||||
|
installed_location: "firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini",
|
||||||
|
symlink_target: "/odm/vendor/etc/wifi/WCNSS_qcom_cfg.ini",
|
||||||
|
}
|
||||||
|
|
106
Android.mk
106
Android.mk
|
@ -1,111 +1,9 @@
|
||||||
#
|
# Copyright (C) 2021-2024 The LineageOS Project
|
||||||
# Copyright (C) 2021-2022 The LineageOS Project
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
# Copyright (C) 2019-Current A-Team Digital Solutions
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
ifeq ($(TARGET_DEVICE),dre)
|
ifeq ($(TARGET_DEVICE),dre)
|
||||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
|
|
||||||
# A/B builds require us to create the mount points at compile time.
|
|
||||||
# Just creating it for all cases since it does not hurt.
|
|
||||||
FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/firmware_mnt
|
|
||||||
$(FIRMWARE_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating $(FIRMWARE_MOUNT_POINT)"
|
|
||||||
@mkdir -p $(TARGET_OUT_VENDOR)/firmware_mnt
|
|
||||||
|
|
||||||
BT_FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/bt_firmware
|
|
||||||
$(BT_FIRMWARE_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating $(BT_FIRMWARE_MOUNT_POINT)"
|
|
||||||
@mkdir -p $(TARGET_OUT_VENDOR)/bt_firmware
|
|
||||||
|
|
||||||
DSP_MOUNT_POINT := $(TARGET_OUT_VENDOR)/dsp
|
|
||||||
$(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating $(DSP_MOUNT_POINT)"
|
|
||||||
@mkdir -p $(TARGET_OUT_VENDOR)/dsp
|
|
||||||
|
|
||||||
ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT)
|
|
||||||
|
|
||||||
ACDBDATA_SYMLINKS := $(TARGET_OUT_ODM)/etc/acdbdata
|
|
||||||
$(ACDBDATA_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating acdbdata symlinks: $@"
|
|
||||||
@mkdir -p $@
|
|
||||||
$(hide) ln -sf /vendor/etc/acdbdata/adsp_avs_config.acdb $@/adsp_avs_config.acdb
|
|
||||||
|
|
||||||
CNE_LIBS := libvndfwk_detect_jni.qti.so
|
|
||||||
CNE_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR_APPS)/CneApp/lib/arm64/,$(notdir $(CNE_LIBS)))
|
|
||||||
$(CNE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "CNE lib link: $@"
|
|
||||||
@mkdir -p $(dir $@)
|
|
||||||
@rm -rf $@
|
|
||||||
$(hide) ln -sf /vendor/lib64/$(notdir $@) $@
|
|
||||||
|
|
||||||
IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so
|
|
||||||
IMS_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT_APPS_PRIVILEGED)/ims/lib/arm64/,$(notdir $(IMS_LIBS)))
|
|
||||||
$(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "IMS lib link: $@"
|
|
||||||
@mkdir -p $(dir $@)
|
|
||||||
@rm -rf $@
|
|
||||||
$(hide) ln -sf /system_ext/lib64/$(notdir $@) $@
|
|
||||||
|
|
||||||
RFS_MSM_ADSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/adsp/
|
|
||||||
$(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating RFS MSM ADSP folder structure: $@"
|
|
||||||
@rm -rf $@/*
|
|
||||||
@mkdir -p $(dir $@)/readonly/vendor
|
|
||||||
$(hide) ln -sf /data/vendor/tombstones/rfs/lpass $@/ramdumps
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/rfs/msm/adsp $@/readwrite
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
|
|
||||||
$(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
|
|
||||||
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
|
|
||||||
|
|
||||||
RFS_MSM_CDSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/cdsp/
|
|
||||||
$(RFS_MSM_CDSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating RFS MSM CDSP folder structure: $@"
|
|
||||||
@rm -rf $@/*
|
|
||||||
@mkdir -p $(dir $@)/readonly/vendor
|
|
||||||
$(hide) ln -sf /data/vendor/tombstones/rfs/cdsp $@/ramdumps
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/rfs/msm/cdsp $@/readwrite
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
|
|
||||||
$(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
|
|
||||||
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
|
|
||||||
|
|
||||||
RFS_MSM_MPSS_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/mpss/
|
|
||||||
$(RFS_MSM_MPSS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating RFS MSM MPSS folder structure: $@"
|
|
||||||
@rm -rf $@/*
|
|
||||||
@mkdir -p $(dir $@)/readonly/vendor
|
|
||||||
$(hide) ln -sf /data/vendor/tombstones/rfs/modem $@/ramdumps
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/rfs/msm/mpss $@/readwrite
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
|
|
||||||
$(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
|
|
||||||
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
|
|
||||||
|
|
||||||
RFS_MSM_SLPI_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/slpi/
|
|
||||||
$(RFS_MSM_SLPI_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating RFS MSM SLPI folder structure: $@"
|
|
||||||
@rm -rf $@/*
|
|
||||||
@mkdir -p $(dir $@)/readonly/vendor
|
|
||||||
$(hide) ln -sf /data/vendor/tombstones/rfs/slpi $@/ramdumps
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/rfs/msm/slpi $@/readwrite
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
|
|
||||||
$(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
|
|
||||||
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
|
|
||||||
|
|
||||||
WIFI_FIRMWARE_SYMLINKS := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld
|
|
||||||
$(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
||||||
@echo "Creating wifi firmware symlinks: $@"
|
|
||||||
@mkdir -p $@
|
|
||||||
$(hide) ln -sf /odm/etc/wifi/WCNSS_qcom_cfg.ini $@/WCNSS_qcom_cfg.ini
|
|
||||||
$(hide) ln -sf /mnt/vendor/persist/wlan_mac.bin $@/wlan_mac.bin
|
|
||||||
|
|
||||||
ALL_DEFAULT_INSTALLED_MODULES += $(ACDBDATA_SYMLINKS) $(CNE_SYMLINKS) $(IMS_SYMLINKS) $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_CDSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS) $(WIFI_FIRMWARE_SYMLINKS)
|
|
||||||
endif
|
endif
|
|
@ -13,11 +13,6 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
# Copyright (C) 2019-Current A-Team Digital Solutions
|
||||||
PRODUCT_MAKEFILES := \
|
PRODUCT_MAKEFILES := \
|
||||||
$(LOCAL_DIR)/lineage_dre.mk
|
$(LOCAL_DIR)/bliss_dre.mk
|
||||||
|
|
||||||
COMMON_LUNCH_CHOICES := \
|
|
||||||
lineage_dre-user \
|
|
||||||
lineage_dre-userdebug \
|
|
||||||
lineage_dre-eng
|
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
#
|
# Copyright (C) 2021-2024 The LineageOS Project
|
||||||
# Copyright (C) 2021-2023 The LineageOS Project
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
# Copyright (C) 2019-Current A-Team Digital Solutions
|
||||||
|
|
||||||
BUILD_BROKEN_DUP_RULES := true
|
|
||||||
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
|
|
||||||
|
|
||||||
DEVICE_PATH := device/oneplus/dre
|
DEVICE_PATH := device/oneplus/dre
|
||||||
|
|
||||||
|
@ -65,24 +60,14 @@ USE_CUSTOM_AUDIO_POLICY := 1
|
||||||
TARGET_BOOTLOADER_BOARD_NAME := holi
|
TARGET_BOOTLOADER_BOARD_NAME := holi
|
||||||
TARGET_NO_BOOTLOADER := true
|
TARGET_NO_BOOTLOADER := true
|
||||||
|
|
||||||
# Bluetooth
|
|
||||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INLUDE_DIR := $(DEVICE_PATH)/bluetooth
|
|
||||||
|
|
||||||
# Camera
|
# Camera
|
||||||
TARGET_USES_QTI_CAMERA_DEVICE := true
|
TARGET_USES_QTI_CAMERA_DEVICE := true
|
||||||
USE_DEVICE_SPECIFIC_CAMERA := true
|
USE_DEVICE_SPECIFIC_CAMERA := true
|
||||||
|
|
||||||
# Display
|
# Display
|
||||||
|
TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE := true
|
||||||
|
TARGET_HAS_WIDE_COLOR_DISPLAY := false
|
||||||
TARGET_SCREEN_DENSITY := 450
|
TARGET_SCREEN_DENSITY := 450
|
||||||
TARGET_USES_COLOR_METADATA := true
|
|
||||||
TARGET_USES_DISPLAY_RENDER_INTENTS := true
|
|
||||||
TARGET_USES_DRM_PP := true
|
|
||||||
TARGET_USES_GRALLOC4 := true
|
|
||||||
TARGET_USES_HWC2 := true
|
|
||||||
TARGET_USES_ION := true
|
|
||||||
TARGET_USES_QCOM_DISPLAY_BSP := true
|
|
||||||
TARGET_USES_QTI_MAPPER_2_0 := true
|
|
||||||
TARGET_USES_QTI_MAPPER_EXTENSIONS_1_1 := true
|
|
||||||
|
|
||||||
# Filesystem
|
# Filesystem
|
||||||
TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs
|
TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs
|
||||||
|
@ -92,10 +77,10 @@ TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/oplus_chg/battery/mmi
|
||||||
|
|
||||||
# HIDL
|
# HIDL
|
||||||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
|
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
|
||||||
$(DEVICE_PATH)/device_framework_matrix.xml \
|
hardware/oplus/vintf/device_framework_matrix.xml \
|
||||||
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
|
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
|
||||||
vendor/lineage/config/device_framework_matrix.xml
|
vendor/lineage/config/device_framework_matrix.xml
|
||||||
DEVICE_MATRIX_FILE := $(DEVICE_PATH)/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
|
||||||
DEVICE_MANIFEST_FILE := $(DEVICE_PATH)/manifest.xml
|
DEVICE_MANIFEST_FILE := $(DEVICE_PATH)/manifest.xml
|
||||||
ODM_MANIFEST_FILES := $(DEVICE_PATH)/manifest_odm.xml
|
ODM_MANIFEST_FILES := $(DEVICE_PATH)/manifest_odm.xml
|
||||||
|
|
||||||
|
@ -134,24 +119,18 @@ BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.l
|
||||||
BOARD_USES_METADATA_PARTITION := true
|
BOARD_USES_METADATA_PARTITION := true
|
||||||
|
|
||||||
# Partitions
|
# Partitions
|
||||||
|
BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE := false
|
||||||
|
-include vendor/lineage/config/BoardConfigReservedSize.mk
|
||||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296
|
BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296
|
||||||
BOARD_DTBOIMG_PARTITION_SIZE := 8388608
|
BOARD_DTBOIMG_PARTITION_SIZE := 8388608
|
||||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 54429298688
|
BOARD_USERDATAIMAGE_PARTITION_SIZE := 54429298688
|
||||||
BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296
|
BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296
|
||||||
ifneq ($(WITH_GMS),true)
|
BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := erofs
|
||||||
BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT := -1
|
|
||||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 958769746
|
|
||||||
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT := -1
|
|
||||||
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 1441097161
|
|
||||||
BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT := -1
|
|
||||||
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE := 92160000
|
|
||||||
endif
|
|
||||||
BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
||||||
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := erofs
|
||||||
BOARD_VENDOR_DLKMIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_VENDOR_DLKMIMAGE_FILE_SYSTEM_TYPE := erofs
|
||||||
BOARD_ONEPLUS_DYNAMIC_PARTITIONS_PARTITION_LIST := odm product system system_ext vendor vendor_dlkm
|
BOARD_ONEPLUS_DYNAMIC_PARTITIONS_PARTITION_LIST := odm product system system_ext vendor vendor_dlkm
|
||||||
BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE := 5837979648
|
BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE := 5837979648
|
||||||
BOARD_SUPER_PARTITION_GROUPS := oneplus_dynamic_partitions
|
BOARD_SUPER_PARTITION_GROUPS := oneplus_dynamic_partitions
|
||||||
|
@ -188,11 +167,11 @@ TARGET_USERIMAGES_USE_F2FS := true
|
||||||
ENABLE_VENDOR_RIL_SERVICE := true
|
ENABLE_VENDOR_RIL_SERVICE := true
|
||||||
|
|
||||||
# Security
|
# Security
|
||||||
BOOT_SECURITY_PATCH := 2023-12-05
|
BOOT_SECURITY_PATCH := 2024-10-05
|
||||||
VENDOR_SECURITY_PATCH := $(BOOT_SECURITY_PATCH)
|
VENDOR_SECURITY_PATCH := $(BOOT_SECURITY_PATCH)
|
||||||
|
|
||||||
# SEPolicy
|
# SEPolicy
|
||||||
include device/qcom/sepolicy_vndr-legacy-um/SEPolicy.mk
|
include device/qcom/sepolicy_vndr/SEPolicy.mk
|
||||||
include hardware/oplus/sepolicy/qti/SEPolicy.mk
|
include hardware/oplus/sepolicy/qti/SEPolicy.mk
|
||||||
|
|
||||||
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
|
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
|
||||||
|
@ -200,7 +179,7 @@ BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
|
||||||
# Verified Boot
|
# Verified Boot
|
||||||
BOARD_AVB_ENABLE := true
|
BOARD_AVB_ENABLE := true
|
||||||
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --set_hashtree_disabled_flag
|
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --set_hashtree_disabled_flag
|
||||||
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 2
|
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --set_verification_disabled_flag
|
||||||
|
|
||||||
BOARD_AVB_BOOT_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
|
BOARD_AVB_BOOT_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
|
||||||
BOARD_AVB_BOOT_ALGORITHM := SHA256_RSA4096
|
BOARD_AVB_BOOT_ALGORITHM := SHA256_RSA4096
|
||||||
|
@ -233,6 +212,7 @@ BOARD_WPA_SUPPLICANT_PRIVATE_LIB_EVENT := "ON"
|
||||||
WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wlan"
|
WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wlan"
|
||||||
WIFI_DRIVER_STATE_OFF := "OFF"
|
WIFI_DRIVER_STATE_OFF := "OFF"
|
||||||
WIFI_DRIVER_STATE_ON := "ON"
|
WIFI_DRIVER_STATE_ON := "ON"
|
||||||
|
WIFI_HIDL_FEATURE_AWARE := true
|
||||||
WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
|
WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
|
||||||
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
|
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
|
||||||
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
||||||
|
|
|
@ -1,156 +0,0 @@
|
||||||
# List of profiles for the output device session where stream is routed.
|
|
||||||
# A stream opened with the inputs attributes which match the "flags" and
|
|
||||||
# "formats" as specified in the profile is routed to a device at
|
|
||||||
# sample rate specified under "sampling_rates" and bit width under
|
|
||||||
# "bit_width" and the topology extracted from the acdb data against
|
|
||||||
# the "app_type".
|
|
||||||
#
|
|
||||||
# the flags and formats are specified using the strings corresponding to
|
|
||||||
# enums in audio.h and audio_policy.h. They are concatenated with "|"
|
|
||||||
# without space or "\n".
|
|
||||||
# the flags and formats should match the ones in "audio_policy.conf"
|
|
||||||
|
|
||||||
outputs {
|
|
||||||
default {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
sampling_rates 48000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69937
|
|
||||||
}
|
|
||||||
#Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/03/09, Add for support 24bit playback
|
|
||||||
default_24bit {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
|
||||||
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
|
||||||
sampling_rates 48000
|
|
||||||
bit_width 24
|
|
||||||
app_type 69937
|
|
||||||
}
|
|
||||||
proaudio {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
sampling_rates 48000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69943
|
|
||||||
}
|
|
||||||
voip_rx {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_VOIP_RX|AUDIO_OUTPUT_FLAG_DIRECT
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
sampling_rates 8000|16000|32000|48000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69946
|
|
||||||
}
|
|
||||||
deep_buffer {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
sampling_rates 48000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69936
|
|
||||||
}
|
|
||||||
#Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/03/09, Add for support 24bit playback
|
|
||||||
deep_buffer_24bit {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
|
||||||
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
|
||||||
sampling_rates 48000
|
|
||||||
bit_width 24
|
|
||||||
app_type 69936
|
|
||||||
}
|
|
||||||
direct_pcm_16 {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69936
|
|
||||||
}
|
|
||||||
direct_pcm_24 {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT
|
|
||||||
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000
|
|
||||||
bit_width 24
|
|
||||||
app_type 69940
|
|
||||||
}
|
|
||||||
direct_pcm_32 {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT
|
|
||||||
formats AUDIO_FORMAT_PCM_32_BIT
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000
|
|
||||||
bit_width 32
|
|
||||||
app_type 69942
|
|
||||||
}
|
|
||||||
compress_passthrough {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH
|
|
||||||
formats AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD
|
|
||||||
sampling_rates 32000|44100|48000|88200|96000|176400|192000|352800
|
|
||||||
bit_width 16
|
|
||||||
app_type 69941
|
|
||||||
}
|
|
||||||
compress_offload_16 {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
|
||||||
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2|AUDIO_FORMAT_AAC_LATM_LC|AUDIO_FORMAT_AAC_LATM_HE_V1|AUDIO_FORMAT_AAC_LATM_HE_V2
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69936
|
|
||||||
}
|
|
||||||
compress_offload_24 {
|
|
||||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
|
||||||
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2|AUDIO_FORMAT_AAC_LATM_LC|AUDIO_FORMAT_AAC_LATM_HE_V1|AUDIO_FORMAT_AAC_LATM_HE_V2
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 24
|
|
||||||
app_type 69940
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inputs {
|
|
||||||
record_16bit {
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69938
|
|
||||||
}
|
|
||||||
record_24bit {
|
|
||||||
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_24_BIT
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 24
|
|
||||||
app_type 69948
|
|
||||||
}
|
|
||||||
record_32bit {
|
|
||||||
formats AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_FLOAT
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 32
|
|
||||||
app_type 69949
|
|
||||||
}
|
|
||||||
record_compress_16 {
|
|
||||||
flags AUDIO_INPUT_FLAG_COMPRESS
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69938
|
|
||||||
}
|
|
||||||
record_compress_24 {
|
|
||||||
flags AUDIO_INPUT_FLAG_COMPRESS
|
|
||||||
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_24_BIT
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 24
|
|
||||||
app_type 69948
|
|
||||||
}
|
|
||||||
record_compress_32 {
|
|
||||||
flags AUDIO_INPUT_FLAG_COMPRESS
|
|
||||||
formats AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_FLOAT
|
|
||||||
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
||||||
bit_width 32
|
|
||||||
app_type 69949
|
|
||||||
}
|
|
||||||
voip_tx {
|
|
||||||
flags AUDIO_INPUT_FLAG_VOIP_TX
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
sampling_rates 8000|16000|32000|48000
|
|
||||||
bit_width 16
|
|
||||||
app_type 69946
|
|
||||||
}
|
|
||||||
low_latency_voip_tx {
|
|
||||||
flags AUDIO_INPUT_FLAG_FAST|AUDIO_INPUT_FLAG_VOIP_TX
|
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
|
||||||
sampling_rates 48000
|
|
||||||
bit_width 16
|
|
||||||
app_type
|
|
||||||
}
|
|
||||||
}
|
|
580
audio/audio_platform_info.xml
Normal file
580
audio/audio_platform_info.xml
Normal file
|
@ -0,0 +1,580 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!-- Copyright (c) 2014, 2016-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, -->
|
||||||
|
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
|
||||||
|
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
|
||||||
|
<audio_platform_info>
|
||||||
|
<bit_width_configs>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER" bit_width="24"/>
|
||||||
|
</bit_width_configs>
|
||||||
|
<interface_names>
|
||||||
|
<device name="AUDIO_DEVICE_IN_BUILTIN_MIC" interface="TX_CDC_DMA_TX_3" codec_type="internal"/>
|
||||||
|
<device name="AUDIO_DEVICE_IN_BACK_MIC" interface="TX_CDC_DMA_TX_3" codec_type="internal"/>
|
||||||
|
</interface_names>
|
||||||
|
|
||||||
|
<module_ids>
|
||||||
|
<aec>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_TMIC_AEC_NS" module_id="0x10F35" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_BROADSIDE" module_id="0x10F34" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS" module_id="0x10F33" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" module_id="0x10F31" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" module_id="0x10F33" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" module_id="0x10F31" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_SB" module_id="0x10F39" instance_id="0x8000" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS_SB" module_id="0x10F38" instance_id="0x8000" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS_SB" module_id="0x10F39" instance_id="0x8000" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS_SB" module_id="0x10F38" instance_id="0x8000" param_id="0x10EAF" param_value="0x01"/>
|
||||||
|
</aec>
|
||||||
|
<ns>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_TMIC_AEC_NS" module_id="0x10F35" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_BROADSIDE" module_id="0x10F34" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS" module_id="0x10F33" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" module_id="0x10F31" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" module_id="0x10F33" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" module_id="0x10F31" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_SB" module_id="0x10F39" instance_id="0x8000" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS_SB" module_id="0x10F38" instance_id="0x8000" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS_SB" module_id="0x10F39" instance_id="0x8000" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS_SB" module_id="0x10F38" instance_id="0x8000" param_id="0x10EAF" param_value="0x02"/>
|
||||||
|
</ns>
|
||||||
|
</module_ids>
|
||||||
|
|
||||||
|
<pcm_ids>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="9"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="7"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD2" type="out" id="11"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD3" type="out" id="43"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD4" type="out" id="24"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD5" type="out" id="25"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD6" type="out" id="26"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD7" type="out" id="27"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD8" type="out" id="28"/>
|
||||||
|
<usecase name="USECASE_VOICEMMODE1_CALL" type="in" id="2"/>
|
||||||
|
<usecase name="USECASE_VOICEMMODE1_CALL" type="out" id="2"/>
|
||||||
|
<usecase name="USECASE_VOICEMMODE2_CALL" type="in" id="15"/>
|
||||||
|
<usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="15"/>
|
||||||
|
<usecase name="USECASE_VOWLAN_CALL" type="in" id="-1"/>
|
||||||
|
<usecase name="USECASE_VOWLAN_CALL" type="out" id="-1"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_FM" type="out" id="30"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_FM" type="in" id="37"/>
|
||||||
|
<usecase name="USECASE_AUDIO_SPKR_CALIB_RX" type="out" id="30"/>
|
||||||
|
<usecase name="USECASE_AUDIO_SPKR_CALIB_TX" type="in" id="33"/>
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_AFE_PROXY" type="out" id="5"/>
|
||||||
|
<usecase name="USECASE_AUDIO_RECORD_AFE_PROXY" type="in" id="6"/>
|
||||||
|
<!--#Isha.Padiyar@MULTIMEDIA.AUDIODRIVER.HAL, 2022/09/22, Add for hearing-aid support-->
|
||||||
|
<usecase name="USECASE_AUDIO_RECORD_AFE_PROXY2" type="in" id="41"/>
|
||||||
|
<!--#Isha.Padiyar@MULTIMEDIA.AUDIODRIVER.HAL, 2022/09/22, Add for hearing-aid support-->
|
||||||
|
<usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="13" />
|
||||||
|
<usecase name="USECASE_AUDIO_RECORD_VOIP_LOW_LATENCY" type="in" id="13" />
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_ULL" type="out" id="13" />
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_SILENCE" type="out" id="23" />
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_VOIP" type="out" id="12" />
|
||||||
|
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="12" />
|
||||||
|
<usecase name="USECASE_AUDIO_HFP_SCO" type="in" id="12" />
|
||||||
|
<usecase name="USECASE_AUDIO_HFP_SCO_WB" type="in" id="12" />
|
||||||
|
<usecase name="USECASE_AUDIO_PLAYBACK_MMAP" type="out" id="29" />
|
||||||
|
<usecase name="USECASE_AUDIO_RECORD_MMAP" type="in" id="29" />
|
||||||
|
<usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="35" />
|
||||||
|
<usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="out" id="35" />
|
||||||
|
<usecase name="USECASE_INCALL_MUSIC_UPLINK" type="out" id="23" />
|
||||||
|
<usecase name="USECASE_INCALL_MUSIC_UPLINK2" type="out" id="23" />
|
||||||
|
<usecase name="USECASE_AUDIO_RECORD_COMPRESS2" type="in" id="36" />
|
||||||
|
<usecase name="USECASE_INCALL_REC_UPLINK" type="in" id="23" />
|
||||||
|
<usecase name="USECASE_INCALL_REC_DOWNLINK" type="in" id="23" />
|
||||||
|
<usecase name="USECASE_INCALL_REC_UPLINK_AND_DOWNLINK" type="in" id="23" />
|
||||||
|
<!--Jianfeng.Qiu@MULTIMEDIA.AUDIODRIVER.OPLUS_FEATURE_KTV, 2017/04/05, Add for ktv loopback-->
|
||||||
|
<usecase name="USECASE_AUDIO_OPLUS_KTV" type="in" id="33" />
|
||||||
|
<usecase name="USECASE_AUDIO_OPLUS_KTV" type="out" id="33" />
|
||||||
|
<usecase name="USECASE_AUDIO_OPLUS_KTV_USB_HS" type="in" id="33" />
|
||||||
|
<usecase name="USECASE_AUDIO_OPLUS_KTV_USB_HS" type="out" id="33" />
|
||||||
|
<!--Jianfeng.Qiu@MULTIMEDIA.AUDIODRIVER.OPLUS_FEATURE_KTV, 2017/04/05, Add for ktv loopback end-->
|
||||||
|
</pcm_ids>
|
||||||
|
<config_params>
|
||||||
|
<!-- In the below value string, the value indicates default mono -->
|
||||||
|
<!-- speaker. It can be set to either left or right -->
|
||||||
|
<param key="mono_speaker" value="right"/>
|
||||||
|
<param key="true_32_bit" value="true"/>
|
||||||
|
<param key="hifi_filter" value="false"/>
|
||||||
|
<param key="native_audio_mode" value="false"/>
|
||||||
|
<param key="hfp_pcm_dev_id" value="39"/>
|
||||||
|
<param key="input_mic_max_count" value="4"/>
|
||||||
|
<!--#Le.li@PSW.MM.AudioDriver.HAL, 2020/10/11, Add for audio conifg begin -->
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/10, change mic count to 2 for N200 from R -->
|
||||||
|
<!-- <param key="oppo_mic_count" value="1"/> -->
|
||||||
|
<param key="oplus_mic_count" value="2"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/10, change mic count to 2 for N200 from R end-->
|
||||||
|
<param key="oppo_speaker_id" value="1"/>
|
||||||
|
<param key="oppo_multi_record" value="false"/>
|
||||||
|
<!--#Le.li@PSW.MM.AudioDriver.HAL, 2020/10/11, Add for audio conifg config end -->
|
||||||
|
<!--#Juqiang.Geng@MULTIMEDIA.AUDIODRIVER.HAL.OPLUS_FEATURE_AP_LVIMFS, 2020/08/24, Add for AP LVIMFS-->
|
||||||
|
<param key="record_use_ap_lvimfs" value="enable"/>
|
||||||
|
<!--#Juqiang.Geng@MULTIMEDIA.AUDIODRIVER.HAL, 2020/08/24, Add for AP LVIMFS end-->
|
||||||
|
<!--#Nan.Zhong@MULTIMEDIA.AUDIODRIVER.HAL, 2020/11/13, Add for tty mode-->
|
||||||
|
<param key="oplus_tty_support" value="0"/>
|
||||||
|
<!--#Nan.Zhong@MULTIMEDIA.AUDIODRIVER.HAL, 2020/11/13, Add for tty mode end-->
|
||||||
|
<!--#Le.LI@MULTIMEDIA.AUDIODRIVER.HAL, 2020/11/20, Add for smartPa eng support-->
|
||||||
|
<param key="emsmartcalibratesupport" value="0"/>
|
||||||
|
<!--#Le.LI@MULTIMEDIA.AUDIODRIVER.HAL, 2020/11/20, Add for smartPa eng support end-->
|
||||||
|
<!--Run.Zhang@MULTIMEDIA.AUDIODRIVER.FEATURE, 2021/04/09 , Add for headphone volume match to impedance -->
|
||||||
|
<param key="enable_hp_impedance_match" value="true"/>
|
||||||
|
<param key="hp_impedance_match_threshold" value="65"/>
|
||||||
|
<!--Run.Zhang@MULTIMEDIA.AUDIODRIVER.FEATURE, 2021/04/09 , Add for headphone volume match to impedance end-->
|
||||||
|
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic -->
|
||||||
|
<param key="camcorder_switch_mic" value="true"/>
|
||||||
|
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic end -->
|
||||||
|
</config_params>
|
||||||
|
<gain_db_to_level_mapping>
|
||||||
|
<gain_level_map db="-59" level="5"/>
|
||||||
|
<gain_level_map db="-17.4" level="4"/>
|
||||||
|
<gain_level_map db="-13.8" level="3"/>
|
||||||
|
<gain_level_map db="-10.2" level="2"/>
|
||||||
|
<gain_level_map db="0" level="1"/>
|
||||||
|
</gain_db_to_level_mapping>
|
||||||
|
<acdb_ids>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="15"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" acdb_id="15"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="124"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" acdb_id="101"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED_VBAT" acdb_id="124"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED_VBAT" acdb_id="101"/>
|
||||||
|
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" acdb_id="102"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED" acdb_id="150"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED_VBAT" acdb_id="150"/>
|
||||||
|
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_1" acdb_id="151"/>
|
||||||
|
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_2" acdb_id="152"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_EXTERNAL_1" acdb_id="14"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_EXTERNAL_2" acdb_id="14"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_EXTERNAL_1" acdb_id="10"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_EXTERNAL_2" acdb_id="10"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_USB_HEADSET" acdb_id="45"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_MIC" acdb_id="143"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC" acdb_id="144"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_THREE_MIC" acdb_id="145"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC" acdb_id="146"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" acdb_id="147"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_GENERIC_QMIC" acdb_id="191"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_HEARING_AID" acdb_id="11"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="7"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2021/11/10, add for HAC-->
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_DMIC_TMUS" acdb_id="41"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HAC_HANDSET" acdb_id="103"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_HAC_HANDSET_DMIC" acdb_id="105"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2021/11/10, add for HAC end-->
|
||||||
|
<!--#Le.li@PSW.MM.AudioDriver.HAL, 2020/10/11, Add for oplus FTM config begin -->
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="7"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_USB_HEADSET_MIC" acdb_id="133"/>
|
||||||
|
<device name="SND_DEVICE_OUT_MMI_SPEAKER_PLAYBACK" acdb_id="99"/>
|
||||||
|
<device name="SND_DEVICE_OUT_MMI_LEFT_SPEAKER_PLAYBACK" acdb_id="124"/>
|
||||||
|
<device name="SND_DEVICE_OUT_MMI_RECEIVER_PLAYBACK" acdb_id="30"/>
|
||||||
|
<device name="SND_DEVICE_OUT_ENGINNER_RECIVER_TEST" acdb_id="30"/>
|
||||||
|
<device name="SND_DEVICE_IN_MAIN_MIC_RECORD" acdb_id="104"/>
|
||||||
|
<device name="SND_DEVICE_IN_SEC_MIC_RECORD" acdb_id="104"/>
|
||||||
|
<device name="SND_DEVICE_IN_ANC_MIC_RECORD" acdb_id="104"/>
|
||||||
|
<device name="SND_DEVICE_IN_MMI_MIC_RECORD" acdb_id="144"/>
|
||||||
|
<device name="SND_DEVICE_IN_MMI_ANC_MIC_RECORD" acdb_id="144"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="14"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_STEREO" acdb_id="14"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/10, change voice headset headphone id to 10 sync R -->
|
||||||
|
<!--<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="9"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HEADSET" acdb_id="9"/> -->
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HEADSET" acdb_id="10"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/10, change voice headset headphone id to 10 sync R -->
|
||||||
|
<device name="SND_DEVICE_IN_HEADSET_MIC" acdb_id="23"/>
|
||||||
|
<device name="SND_DEVICE_IN_CAMCORDER_MIC" acdb_id="46"/>
|
||||||
|
<!--#Le.li@PSW.MM.AudioDriver.HAL, 2020/10/11, Add for oplus FTM config end -->
|
||||||
|
<device name="SND_DEVICE_OUT_DUMMY" acdb_id="15"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_HEARING_TEST" acdb_id="91"/>
|
||||||
|
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic -->
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_STEREO_SWITCH" acdb_id="34"/>
|
||||||
|
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic end-->
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="34"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="35"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" acdb_id="43"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_TMIC" acdb_id="41"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_TMIC" acdb_id="43"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC" acdb_id="108"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_NS" acdb_id="108"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC" acdb_id="114"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_NS" acdb_id="114"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC" acdb_id="111"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_NS" acdb_id="111"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC" acdb_id="117"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_NS" acdb_id="117"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_TMIC_AEC" acdb_id="156"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_TMIC_NS" acdb_id="156"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_TMIC_AEC" acdb_id="160"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_TMIC_NS" acdb_id="160"/>
|
||||||
|
<!--Jianfeng.Qiu@MULTIMEDIA.AUDIODRIVER.OPLUS_FEATURE_KTV, 2017/04/05, Add for ktv loopback-->
|
||||||
|
<device name="SND_DEVICE_IN_HEADSET_MIC_KTV" acdb_id="98"/>
|
||||||
|
<device name="SND_DEVICE_IN_USB_HEADSET_MIC_KTV" acdb_id="98"/>
|
||||||
|
<!--Jianfeng.Qiu@MULTIMEDIA.AUDIODRIVER.OPLUS_FEATURE_KTV, 2017/04/05, Add for ktv loopback end-->
|
||||||
|
</acdb_ids>
|
||||||
|
<backend_names>
|
||||||
|
<device name="SND_DEVICE_OUT_HEADPHONES" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_HEADPHONES_HIFI_FILTER" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_HEADPHONES_44_1" backend="headphones-44.1" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_BT_SCO_WB" backend="bt-sco-wb" interface="SLIMBUS_7_RX"/>
|
||||||
|
<device name="SND_DEVICE_OUT_BT_SCO" backend="bt-sco" interface="SLIMBUS_7_RX"/>
|
||||||
|
<device name="SND_DEVICE_OUT_BT_A2DP" backend="bt-a2dp" interface="SLIMBUS_7_RX"/>
|
||||||
|
<device name="SND_DEVICE_OUT_LINE" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_ANC_HEADSET" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" interface="RX_CDC_DMA_RX_1-and-RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_HIFI_FILTER" backend="speaker-and-headphones" interface="RX_CDC_DMA_RX_1-and-RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones" interface="RX_CDC_DMA_RX_1-and-RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_ANC_HEADSET" backend="speaker-and-headphones" interface="RX_CDC_DMA_RX_1-and-RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HEADSET" backend="headset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_ANC_HEADSET" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_LINE" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADSET" backend="headset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADSET" backend="headset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_HANDSET" backend="handset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_EXTERNAL_1" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_EXTERNAL_2" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_VBAT" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_EXTERNAL_1" interface="RX_CDC_DMA_RX_1-and-RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_EXTERNAL_2" interface="RX_CDC_DMA_RX_1-and-RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HANDSET" backend="handset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2021/11/10, add for HAC-->
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HAC_HANDSET" backend="handset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2021/11/10, add for HAC end-->
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" backend="handset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_GENERIC_QMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_STEREO" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_VBAT" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_2" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_VBAT" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_HDMI" interface="RX_CDC_DMA_RX_1-and-HDMI"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_DISPLAY_PORT" interface="RX_CDC_DMA_RX_1-and-DISPLAY_PORT"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_A2DP" interface="RX_CDC_DMA_RX_1-and-SLIMBUS_7_RX"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_ANC_FB_HEADSET" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_ANC_FB_HEADSET" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_ANC_HANDSET" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED_VBAT" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED_VBAT" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED_VBAT" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_WSA" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_WSA" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_WSA" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_EXTERNAL" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_NS_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_NN" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NN" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_NS_NN" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS_NN" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_NS_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_STEREO" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic -->
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_DMIC_STEREO_SWITCH" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic end-->
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_NS_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_NN" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NN" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_NS_NN" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS_NN" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_NS_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_HEADSET_MIC_FLUENCE" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_TTY_FULL_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_TTY_HCO_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_REC_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_HEADSET_MIC_AEC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_HEADSET_MIC_FLUENCE" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HDMI_MIC" interface="HDMI"/>
|
||||||
|
<device name="SND_DEVICE_IN_BT_SCO_MIC" interface="SLIMBUS_7_TX"/>
|
||||||
|
<device name="SND_DEVICE_IN_BT_SCO_MIC_NREC" interface="SLIMBUS_7_TX"/>
|
||||||
|
<device name="SND_DEVICE_IN_BT_SCO_MIC_WB" interface="SLIMBUS_7_TX"/>
|
||||||
|
<device name="SND_DEVICE_IN_BT_SCO_MIC_WB_NREC" interface="SLIMBUS_7_TX"/>
|
||||||
|
<device name="SND_DEVICE_IN_CAMCORDER_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA@MULTIMEDIA.AUDIODRIVER.HAL, 2021/11/10, add for HAC-->
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_HAC_HANDSET_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<!--Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2021/11/10, add for HAC end-->
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_DMIC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC_SB" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_QMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_TTY_VCO_HANDSET_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_REC_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_REC_MIC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_STEREO" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_AANC_HANDSET_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_QUAD_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_STEREO_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" interface="WSA_CDC_DMA_TX_0"/>
|
||||||
|
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_1" interface="WSA_CDC_DMA_TX_0"/>
|
||||||
|
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_2" interface="WSA_CDC_DMA_TX_0"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_NS_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_FLUENCE_DMIC_AANC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_QMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_QMIC_AEC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_QMIC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SPEAKER_QMIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_THREE_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_HEARING_AID" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_TMIC_FLUENCE_PRO" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_TMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_TMIC_AEC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_TMIC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_TMIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_VOICE_REC_TMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_THREE_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_HEADPHONES" backend="speaker-and-headphones" interface="RX_CDC_DMA_RX_1-and-RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_ANC_HEADSET" backend="speaker-and-headphones" interface="RX_CDC_DMA_RX_1-and-RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO" backend="speaker-and-bt-sco" interface="RX_CDC_DMA_RX_1-and-SLIMBUS_7_RX"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_WB" backend="speaker-and-bt-sco-wb" interface="RX_CDC_DMA_RX_1-and-SLIMBUS_7_RX"/>
|
||||||
|
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_SWB" backend="speaker-and-bt-sco-swb" interface="RX_CDC_DMA_RX_1-and-SLIMBUS_7_RX"/>
|
||||||
|
<device name="SND_DEVICE_OUT_HEADPHONES_DSD" backend="headphones-dsd" interface="RX_CDC_DMA_RX_5"/>
|
||||||
|
<!--#Le.li@PSW.MM.AudioDriver.HAL, 2020/10/11, Add for oplus FTM config begin -->
|
||||||
|
<device name="SND_DEVICE_OUT_MMI_RECEIVER_PLAYBACK" backend="handset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_ENGINNER_RECIVER_TEST" backend="handset" interface="RX_CDC_DMA_RX_0"/>
|
||||||
|
<device name="SND_DEVICE_OUT_MMI_SPEAKER_PLAYBACK" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_OUT_MMI_LEFT_SPEAKER_PLAYBACK" interface="RX_CDC_DMA_RX_1"/>
|
||||||
|
<device name="SND_DEVICE_IN_MAIN_MIC_RECORD" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_SEC_MIC_RECORD" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_ANC_MIC_RECORD" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_MMI_MIC_RECORD" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_MMI_ANC_MIC_RECORD" interface="TX_CDC_DMA_TX_3"/>
|
||||||
|
<device name="SND_DEVICE_IN_HANDSET_MIC_HEARING_TEST" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<!--#Le.li@PSW.MM.AudioDriver.HAL, 2020/10/11, Add for oplus FTM config end -->
|
||||||
|
<!--Jianfeng.Qiu@MULTIMEDIA.AUDIODRIVER.OPLUS_FEATURE_KTV, 2017/04/05, Add for ktv loopback-->
|
||||||
|
<device name="SND_DEVICE_IN_HEADSET_MIC_KTV" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
|
||||||
|
<device name="SND_DEVICE_IN_USB_HEADSET_MIC_KTV" backend="usb-headset-mic" interface="USB_AUDIO_TX"/>
|
||||||
|
<!--Jianfeng.Qiu@MULTIMEDIA.AUDIODRIVER.OPLUS_FEATURE_KTV, 2017/04/05, Add for ktv loopback end-->
|
||||||
|
<!-- Kaijia.Lin@PSW.MM.AudioDriver.HAL, 2019/10/12, Add for dummy dev START -->
|
||||||
|
<device name="SND_DEVICE_OUT_DUMMY" backend="dummy" interface="AFE_PCM_RX"/>
|
||||||
|
<!-- Kaijia.Lin@PSW.MM.AudioDriver.HAL, 2019/10/12, Add for dummy dev END -->
|
||||||
|
</backend_names>
|
||||||
|
<!-- below values are for ref purpose to OEM, doesn't contain actual hardware info on MTP -->
|
||||||
|
<microphone_characteristics>
|
||||||
|
<microphone valid_mask="31" device_id="builtin_mic_1" type="AUDIO_DEVICE_IN_BUILTIN_MIC" address="bottom" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
|
||||||
|
group="0" index_in_the_group="0" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="93"
|
||||||
|
frequencies="100.00 106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
|
||||||
|
responses="-0.78 -0.71 -0.64 -0.60 -0.55 -0.50 -0.47 -0.42 -0.39 -0.36 -0.34 -0.33 -0.32 -0.29 -0.28 -0.28 -0.27 -0.25 -0.25 -0.24 -0.23 -0.23 -0.22 -0.22 -0.19 -0.17 -0.15 -0.15 -0.14 -0.14 -0.12 -0.11 -0.10 -0.10 -0.08 -0.07 -0.07 -0.04 -0.03 -0.01 0.00 0.04 0.06 0.07 0.08 0.13 0.09 0.14 0.19 0.23 0.28 0.29 0.31 0.37 0.88 0.86 0.77 0.78 0.84 0.86 1.05 1.12 1.18 1.25 1.43 1.66 1.83 2.02 2.23 2.59 2.84 3.35 4.01 6.82 6.62 6.42 7.30 8.23 7.54 12.68 13.76 18.69 19.68 20.90 23.70 25.10 21.65 16.18 18.84 25.44 23.48 23.22 24.89"
|
||||||
|
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 0.0 1.0" geometric_location="0.0269 0.0058 0.0079" />
|
||||||
|
<microphone valid_mask="31" device_id="builtin_mic_2" type="AUDIO_DEVICE_IN_BACK_MIC" address="back" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
|
||||||
|
group="0" index_in_the_group="1" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
|
||||||
|
frequencies="106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
|
||||||
|
responses="-0.75 -0.74 -0.69 -0.65 -0.62 -0.61 -0.56 -0.53 -0.50 -0.47 -0.43 -0.40 -0.37 -0.36 -0.33 -0.30 -0.28 -0.25 -0.24 -0.24 -0.24 -0.25 -0.24 -0.12 -0.10 -0.08 -0.09 -0.07 -0.07 -0.06 -0.06 -0.06 -0.05 -0.04 -0.05 -0.04 -0.01 0.02 0.02 0.00 0.02 0.03 0.07 0.10 0.10 0.13 0.01 0.01 0.10 0.11 0.19 0.24 0.38 0.46 0.26 0.27 0.43 0.76 0.75 1.09 1.09 0.94 1.06 1.21 1.47 1.45 1.36 2.07 2.85 2.90 3.85 4.65 5.84 5.46 6.15 7.50 8.30 10.62 12.70 16.65 20.95 25.41 26.32 20.20 16.60 11.24 7.85 7.62 20.19 7.32 2.87 5.18"
|
||||||
|
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 1.0 0.0" geometric_location="0.0546 0.1456 0.00415" />
|
||||||
|
<microphone valid_mask="31" device_id="builtin_mic_3" type="AUDIO_DEVICE_IN_BUILTIN_MIC" address="top" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
|
||||||
|
group="0" index_in_the_group="2" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
|
||||||
|
frequencies="100.00 106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00"
|
||||||
|
responses="-9.24 -9.31 -9.39 -9.45 -9.46 -9.47 -9.50 -9.52 -9.51 -9.52 -9.51 -9.50 -9.49 -9.47 -9.48 -9.49 -9.48 -9.50 -9.51 -9.53 -9.55 -9.59 -9.63 -9.67 -9.58 -9.57 -9.65 -9.68 -9.71 -9.75 -9.79 -9.84 -9.87 -9.87 -9.90 -9.90 -9.91 -9.97 -10.01 -10.05 -9.85 -9.93 -9.94 -9.98 -10.04 -10.12 -10.28 -10.25 -10.01 -9.86 -9.81 -9.82 -9.61 -9.46 -8.27 -8.42 -8.98 -8.99 -8.82 -9.21 -8.92 -8.97 -9.30 -9.44 -9.52 -9.28 -9.09 -8.81 -7.02 -5.72 -5.30 -7.26 -8.39 -12.28 -8.23 -6.99 -5.52 -4.87 -3.82 -6.09 0.00 -2.15 -0.26 1.48 5.22 10.92 6.41 9.55 12.96 3.35 22.00 19.75"
|
||||||
|
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 0.0 1.0" geometric_location="0.0274 0.14065 0.0079" />
|
||||||
|
</microphone_characteristics>
|
||||||
|
<snd_devices>
|
||||||
|
<input_snd_device>
|
||||||
|
<input_snd_device_mic_mapping>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_CAMCORDER_MIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_3"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_MIC_AEC_NS">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_MIC_AEC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_MIC_NS">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_MIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_MIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_VOICE_DMIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_VOICE_DMIC_TMUS">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_VOICE_SPEAKER_DMIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_3"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC_AEC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC_NS">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_3"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_AEC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_3"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_NS">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_3"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_MIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_3"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_UNPROCESSED_MIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_UNPROCESSED_THREE_MIC">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_3"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC_STEREO">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
<snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_STEREO">
|
||||||
|
<mic_info mic_device_id="builtin_mic_1"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_2"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
<mic_info mic_device_id="builtin_mic_3"
|
||||||
|
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||||
|
</snd_dev>
|
||||||
|
</input_snd_device_mic_mapping>
|
||||||
|
</input_snd_device>
|
||||||
|
</snd_devices>
|
||||||
|
</audio_platform_info>
|
||||||
|
|
|
@ -99,11 +99,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="raw" role="source"
|
|
||||||
flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="haptics output" role="source">
|
<mixPort name="haptics output" role="source">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A"/>
|
||||||
|
@ -186,7 +181,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="voip_rx" role="source"
|
<mixPort name="voip_rx" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX">
|
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
@ -364,31 +359,31 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="Wired Headset"
|
<route type="mix" sink="Wired Headset"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="Wired Headphones"
|
<route type="mix" sink="Wired Headphones"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="Line"
|
<route type="mix" sink="Line"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="HDMI"
|
<route type="mix" sink="HDMI"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
||||||
<route type="mix" sink="Proxy"
|
<route type="mix" sink="Proxy"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload"/>
|
||||||
<route type="mix" sink="FM"
|
<route type="mix" sink="FM"
|
||||||
sources="primary output"/>
|
sources="primary output"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||||
<route type="mix" sink="Telephony Tx"
|
<route type="mix" sink="Telephony Tx"
|
||||||
sources="voice_tx,incall_music_uplink"/>
|
sources="voice_tx,incall_music_uplink"/>
|
||||||
<route type="mix" sink="voice_rx"
|
<route type="mix" sink="voice_rx"
|
||||||
|
|
|
@ -99,11 +99,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="raw" role="source"
|
|
||||||
flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="haptics output" role="source">
|
<mixPort name="haptics output" role="source">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A"/>
|
||||||
|
@ -186,7 +181,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="voip_rx" role="source"
|
<mixPort name="voip_rx" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX">
|
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
@ -349,31 +344,31 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="Wired Headset"
|
<route type="mix" sink="Wired Headset"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="Wired Headphones"
|
<route type="mix" sink="Wired Headphones"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="Line"
|
<route type="mix" sink="Line"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
||||||
<route type="mix" sink="HDMI"
|
<route type="mix" sink="HDMI"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
||||||
<route type="mix" sink="Proxy"
|
<route type="mix" sink="Proxy"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload"/>
|
||||||
<route type="mix" sink="FM"
|
<route type="mix" sink="FM"
|
||||||
sources="primary output"/>
|
sources="primary output"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||||
<route type="mix" sink="Telephony Tx"
|
<route type="mix" sink="Telephony Tx"
|
||||||
sources="voice_tx,incall_music_uplink"/>
|
sources="voice_tx,incall_music_uplink"/>
|
||||||
<route type="mix" sink="voice_rx"
|
<route type="mix" sink="voice_rx"
|
||||||
|
|
352
audio/sound_trigger_mixer_paths.xml
Normal file
352
audio/sound_trigger_mixer_paths.xml
Normal file
|
@ -0,0 +1,352 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!--- Copyright (c) 2014-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. -->
|
||||||
|
|
||||||
|
<mixer>
|
||||||
|
<!-- These are the initial mixer settings -->
|
||||||
|
<ctl name="LSM1 Mixer VA_CDC_DMA_TX_0" value="0" />
|
||||||
|
<ctl name="LSM2 Mixer VA_CDC_DMA_TX_0" value="0" />
|
||||||
|
<ctl name="LSM3 Mixer VA_CDC_DMA_TX_0" value="0" />
|
||||||
|
<ctl name="LSM4 Mixer VA_CDC_DMA_TX_0" value="0" />
|
||||||
|
<ctl name="LSM5 Mixer VA_CDC_DMA_TX_0" value="0" />
|
||||||
|
<ctl name="LSM6 Mixer VA_CDC_DMA_TX_0" value="0" />
|
||||||
|
<ctl name="LSM7 Mixer VA_CDC_DMA_TX_0" value="0" />
|
||||||
|
<ctl name="LSM8 Mixer VA_CDC_DMA_TX_0" value="0" />
|
||||||
|
<ctl name="LSM1 Port" value="None" />
|
||||||
|
<ctl name="LSM2 Port" value="None" />
|
||||||
|
<ctl name="LSM3 Port" value="None" />
|
||||||
|
<ctl name="LSM4 Port" value="None" />
|
||||||
|
<ctl name="LSM5 Port" value="None" />
|
||||||
|
<ctl name="LSM6 Port" value="None" />
|
||||||
|
<ctl name="LSM7 Port" value="None" />
|
||||||
|
<ctl name="LSM8 Port" value="None" />
|
||||||
|
<ctl name="VA_CDC_DMA_TX_0 Channels" value="One" />
|
||||||
|
<ctl name="VA_CDC_DMA_TX_0 SampleRate" value="KHZ_16" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC0" value="0" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC1" value="0" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC2" value="0" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC3" value="0" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC4" value="0" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC5" value="0" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC6" value="0" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC7" value="0" />
|
||||||
|
<ctl name="VA DEC0 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC1 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC2 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC3 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC4 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC5 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC6 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC7 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DMIC MUX0" value="ZERO" />
|
||||||
|
<ctl name="VA DMIC MUX1" value="ZERO" />
|
||||||
|
<ctl name="VA DMIC MUX2" value="ZERO" />
|
||||||
|
<ctl name="VA DMIC MUX3" value="ZERO" />
|
||||||
|
<ctl name="VA DMIC MUX4" value="ZERO" />
|
||||||
|
<ctl name="VA DMIC MUX5" value="ZERO" />
|
||||||
|
<ctl name="VA DMIC MUX6" value="ZERO" />
|
||||||
|
<ctl name="VA DMIC MUX7" value="ZERO" />
|
||||||
|
<ctl name="VA SMIC MUX0" value="ZERO" />
|
||||||
|
<ctl name="VA SMIC MUX1" value="ZERO" />
|
||||||
|
<ctl name="VA SMIC MUX2" value="ZERO" />
|
||||||
|
<ctl name="VA SMIC MUX3" value="ZERO" />
|
||||||
|
<ctl name="VA SMIC MUX4" value="ZERO" />
|
||||||
|
<ctl name="VA SMIC MUX5" value="ZERO" />
|
||||||
|
<ctl name="VA SMIC MUX6" value="ZERO" />
|
||||||
|
<ctl name="VA SMIC MUX7" value="ZERO" />
|
||||||
|
<ctl name="AUDIO_REF_EC_UL1 MUX" value="None"/>
|
||||||
|
<ctl name="EC Reference Channels" value="Zero"/>
|
||||||
|
<ctl name="EC Reference Bit Format" value="0"/>
|
||||||
|
<ctl name="EC Reference SampleRate" value="0"/>
|
||||||
|
<ctl name="ADC2_MIXER Switch" value="0" />
|
||||||
|
<ctl name="ADC2 MUX" value="ZERO" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2 Volume" value="12" />
|
||||||
|
<ctl name="VA_DEC0 MODE" value="ADC_DEFAULT" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-1">
|
||||||
|
<ctl name="LSM1 Mixer VA_CDC_DMA_TX_0" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-2">
|
||||||
|
<ctl name="LSM2 Mixer VA_CDC_DMA_TX_0" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-3">
|
||||||
|
<ctl name="LSM3 Mixer VA_CDC_DMA_TX_0" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-4">
|
||||||
|
<ctl name="LSM4 Mixer VA_CDC_DMA_TX_0" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-5">
|
||||||
|
<ctl name="LSM5 Mixer VA_CDC_DMA_TX_0" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-6">
|
||||||
|
<ctl name="LSM6 Mixer VA_CDC_DMA_TX_0" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-7">
|
||||||
|
<ctl name="LSM7 Mixer VA_CDC_DMA_TX_0" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-8">
|
||||||
|
<ctl name="LSM8 Mixer VA_CDC_DMA_TX_0" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-1 preproc">
|
||||||
|
<path name="listen-voice-wakeup-1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-2 preproc">
|
||||||
|
<path name="listen-voice-wakeup-2" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-3 preproc">
|
||||||
|
<path name="listen-voice-wakeup-3" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-4 preproc">
|
||||||
|
<path name="listen-voice-wakeup-4" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-5 preproc">
|
||||||
|
<path name="listen-voice-wakeup-5" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-6 preproc">
|
||||||
|
<path name="listen-voice-wakeup-6" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-7 preproc">
|
||||||
|
<path name="listen-voice-wakeup-7" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-8 preproc">
|
||||||
|
<path name="listen-voice-wakeup-8" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-1 port">
|
||||||
|
<ctl name="LSM1 Port" value="VA_CDC_DMA_TX_0" />
|
||||||
|
<ctl name="LPI Enable" value="1" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-2 port">
|
||||||
|
<ctl name="LSM2 Port" value="VA_CDC_DMA_TX_0" />
|
||||||
|
<ctl name="LPI Enable" value="1" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-3 port">
|
||||||
|
<ctl name="LSM3 Port" value="VA_CDC_DMA_TX_0" />
|
||||||
|
<ctl name="LPI Enable" value="1" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-4 port">
|
||||||
|
<ctl name="LSM4 Port" value="VA_CDC_DMA_TX_0" />
|
||||||
|
<ctl name="LPI Enable" value="1" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-5 port">
|
||||||
|
<ctl name="LSM5 Port" value="VA_CDC_DMA_TX_0" />
|
||||||
|
<ctl name="LPI Enable" value="1" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-6 port">
|
||||||
|
<ctl name="LSM6 Port" value="VA_CDC_DMA_TX_0" />
|
||||||
|
<ctl name="LPI Enable" value="1" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-7 port">
|
||||||
|
<ctl name="LSM7 Port" value="VA_CDC_DMA_TX_0" />
|
||||||
|
<ctl name="LPI Enable" value="1" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-8 port">
|
||||||
|
<ctl name="LSM8 Port" value="VA_CDC_DMA_TX_0" />
|
||||||
|
<ctl name="LPI Enable" value="1" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-1 preproc port">
|
||||||
|
<ctl name="LSM1 Port" value="ADM_LSM_TX" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-2 preproc port">
|
||||||
|
<ctl name="LSM2 Port" value="ADM_LSM_TX" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-3 preproc port">
|
||||||
|
<ctl name="LSM3 Port" value="ADM_LSM_TX" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-4 preproc port">
|
||||||
|
<ctl name="LSM4 Port" value="ADM_LSM_TX" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-5 preproc port">
|
||||||
|
<ctl name="LSM5 Port" value="ADM_LSM_TX" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-6 preproc port">
|
||||||
|
<ctl name="LSM6 Port" value="ADM_LSM_TX" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-7 preproc port">
|
||||||
|
<ctl name="LSM7 Port" value="ADM_LSM_TX" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-voice-wakeup-8 preproc port">
|
||||||
|
<ctl name="LSM8 Port" value="ADM_LSM_TX" />
|
||||||
|
<ctl name="LPI Enable" value="0" />
|
||||||
|
<ctl name="ADC2_BCS Disable" value="0" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-ape-handset-mic">
|
||||||
|
<ctl name="VA_CDC_DMA_TX_0 Channels" value="One" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
|
||||||
|
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
|
||||||
|
<ctl name="VA SMIC MUX0" value="SWR_MIC4" />
|
||||||
|
<ctl name="ADC2 ChMap" value="SWRM_TX2_CH1" />
|
||||||
|
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||||
|
<ctl name="ADC2 MUX" value="INP3" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-ape-handset-mic-preproc">
|
||||||
|
<path name="listen-ape-handset-mic" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-ape-handset-dmic">
|
||||||
|
<ctl name="VA_CDC_DMA_TX_0 Channels" value="Two" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC1" value="1" />
|
||||||
|
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
|
||||||
|
<ctl name="VA SMIC MUX0" value="SWR_MIC4" />
|
||||||
|
<ctl name="ADC2 ChMap" value="SWRM_TX2_CH1" />
|
||||||
|
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||||
|
<ctl name="ADC2 MUX" value="INP3" />
|
||||||
|
<ctl name="VA DEC1 MUX" value="SWR_MIC" />
|
||||||
|
<ctl name="VA SMIC MUX1" value="SWR_MIC0" />
|
||||||
|
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
|
||||||
|
<ctl name="ADC1_MIXER Switch" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-ape-handset-tmic">
|
||||||
|
<ctl name="VA_CDC_DMA_TX_0 Channels" value="Three" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC1" value="1" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC2" value="1" />
|
||||||
|
<ctl name="VA DEC0 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC1 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC2 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DMIC MUX0" value="DMIC1" />
|
||||||
|
<ctl name="VA DMIC MUX1" value="DMIC2" />
|
||||||
|
<ctl name="VA DMIC MUX2" value="DMIC5" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-ape-handset-qmic">
|
||||||
|
<ctl name="VA_CDC_DMA_TX_0 Channels" value="Four" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC1" value="1" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC2" value="1" />
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC3" value="1" />
|
||||||
|
<ctl name="VA DEC0 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC1 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC2 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DEC3 MUX" value="MSM_DMIC" />
|
||||||
|
<ctl name="VA DMIC MUX0" value="DMIC1" />
|
||||||
|
<ctl name="VA DMIC MUX1" value="DMIC2" />
|
||||||
|
<ctl name="VA DMIC MUX2" value="DMIC3" />
|
||||||
|
<ctl name="VA DMIC MUX3" value="DMIC5" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="listen-ape-headset-mic">
|
||||||
|
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
|
||||||
|
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
|
||||||
|
<ctl name="VA SMIC MUX0" value="SWR_MIC4" />
|
||||||
|
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||||
|
<ctl name="ADC2 MUX" value="INP2" />
|
||||||
|
<ctl name="VA_DEC0 MODE" value="ADC_LOW_PWR" />
|
||||||
|
<ctl name="ADC2 ChMap" value="SWRM_TX2_CH1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="echo-reference">
|
||||||
|
<ctl name="AUDIO_REF_EC_UL1 MUX" value="RX_CDC_DMA_RX_1" />
|
||||||
|
<ctl name="EC Reference Channels" value="One"/>
|
||||||
|
<ctl name="EC Reference Bit Format" value="S16_LE"/>
|
||||||
|
<ctl name="EC Reference SampleRate" value="48000"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="echo-reference handset">
|
||||||
|
<ctl name="AUDIO_REF_EC_UL1 MUX" value="RX_CDC_DMA_RX_0" />
|
||||||
|
<ctl name="EC Reference Channels" value="One"/>
|
||||||
|
<ctl name="EC Reference Bit Format" value="S16_LE"/>
|
||||||
|
<ctl name="EC Reference SampleRate" value="48000"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="echo-reference headphones">
|
||||||
|
<ctl name="AUDIO_REF_EC_UL1 MUX" value="RX_CDC_DMA_RX_0" />
|
||||||
|
<ctl name="EC Reference Channels" value="Two"/>
|
||||||
|
<ctl name="EC Reference Bit Format" value="S16_LE"/>
|
||||||
|
<ctl name="EC Reference SampleRate" value="48000"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="echo-reference headset">
|
||||||
|
<path name="echo-reference headphones" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="echo-reference a2dp">
|
||||||
|
<ctl name="AUDIO_REF_EC_UL1 MUX" value="SLIM_7_RX"/>
|
||||||
|
<ctl name="EC Reference Channels" value="Two"/>
|
||||||
|
<ctl name="EC Reference Bit Format" value="S16_LE"/>
|
||||||
|
<ctl name="EC Reference SampleRate" value="48000"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
</mixer>
|
|
@ -1,6 +1,4 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2021-2023 The LineageOS Project
|
# Copyright (C) 2021-2023 The LineageOS Project
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at
|
# You may obtain a copy of the License at
|
||||||
|
@ -12,19 +10,20 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
# Copyright (C) 2019-Current A-Team Digital Solutions
|
||||||
|
|
||||||
# Inherit from those products. Most specific first.
|
# Inherit from those products. Most specific first.
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
|
TARGET_SUPPORTS_OMX_SERVICE := false
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||||
|
|
||||||
# Inherit from dre device
|
# Inherit from dre device
|
||||||
$(call inherit-product, device/oneplus/dre/device.mk)
|
$(call inherit-product, device/oneplus/dre/device.mk)
|
||||||
|
|
||||||
# Inherit some common Lineage stuff.
|
# Inherit some common Bliss stuff.
|
||||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
$(call inherit-product, vendor/bliss/config/common_full_phone.mk)
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_dre
|
PRODUCT_NAME := bliss_dre
|
||||||
PRODUCT_DEVICE := dre
|
PRODUCT_DEVICE := dre
|
||||||
PRODUCT_MANUFACTURER := OnePlus
|
PRODUCT_MANUFACTURER := OnePlus
|
||||||
PRODUCT_BRAND := OnePlus
|
PRODUCT_BRAND := OnePlus
|
||||||
|
@ -33,8 +32,9 @@ PRODUCT_MODEL := DE2117
|
||||||
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
||||||
|
|
||||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
PRIVATE_BUILD_DESC="OnePlusN200-user 12 SKQ1.210216.001 14c4b12-1-82211 release-keys" \
|
BuildDesc="OnePlusN200-user 12 SKQ1.210216.001 R.1a8c53e-1-16457e release-keys" \
|
||||||
TARGET_DEVICE=OnePlusN200 \
|
BuildFingerprint=OnePlus/OnePlusN200/OnePlusN200:12/SKQ1.210216.001/R.1a8c53e-1-16457e:user/release-keys \
|
||||||
TARGET_PRODUCT=OnePlusN200
|
DeviceName=OnePlusN200 \
|
||||||
|
DeviceProduct=OnePlusN200 \
|
||||||
BUILD_FINGERPRINT := OnePlus/OnePlusN200/OnePlusN200:12/SKQ1.210216.001/R.202311232040:user/release-keys
|
SystemDevice=OnePlusN200 \
|
||||||
|
SystemName=OnePlusN200
|
14
blob-patches/init-post-boot-blair.patch
Normal file
14
blob-patches/init-post-boot-blair.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- a/init.kernel.post_boot-blair.sh
|
||||||
|
+++ b/init.kernel.post_boot-blair.sh
|
||||||
|
@@ -32,11 +32,6 @@
|
||||||
|
#=============================================================================
|
||||||
|
|
||||||
|
function configure_zram_parameters() {
|
||||||
|
- # Moto yangbq2: Skip this if we are using zram from fstab.
|
||||||
|
- using_zram_from_fstab=`getprop ro.boot.using_zram_from_fstab`
|
||||||
|
- if [ "$using_zram_from_fstab" == "true" ]; then
|
||||||
|
- return
|
||||||
|
- fi
|
||||||
|
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||||
|
MemTotal=${MemTotalStr:16:8}
|
||||||
|
|
14
blob-patches/init-post-boot-holi.patch
Normal file
14
blob-patches/init-post-boot-holi.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- a/init.kernel.post_boot-holi.sh
|
||||||
|
+++ b/init.kernel.post_boot-holi.sh
|
||||||
|
@@ -32,11 +32,6 @@
|
||||||
|
#=============================================================================
|
||||||
|
|
||||||
|
function configure_zram_parameters() {
|
||||||
|
- # Moto yangbq2: Skip this if we are using zram from fstab.
|
||||||
|
- using_zram_from_fstab=`getprop ro.boot.using_zram_from_fstab`
|
||||||
|
- if [ "$using_zram_from_fstab" == "true" ]; then
|
||||||
|
- return
|
||||||
|
- fi
|
||||||
|
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||||
|
MemTotal=${MemTotalStr:16:8}
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2013, The Linux Foundation. All rights reserved.
|
|
||||||
* Not a Contribution.
|
|
||||||
*
|
|
||||||
* Copyright (C) 2012 The Android Open Source Project
|
|
||||||
* Copyright (C) 2022 The LineageOS Project
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _BDROID_BUILDCFG_H
|
|
||||||
#define _BDROID_BUILDCFG_H
|
|
||||||
#define BTM_DEF_LOCAL_NAME "OnePlus Nord N200"
|
|
||||||
// Disables read remote device feature
|
|
||||||
#define MAX_ACL_CONNECTIONS 16
|
|
||||||
#define MAX_L2CAP_CHANNELS 32
|
|
||||||
#define BLE_VND_INCLUDED TRUE
|
|
||||||
#define GATT_MAX_PHY_CHANNEL 10
|
|
||||||
// skips conn update at conn completion
|
|
||||||
#define BT_CLEAN_TURN_ON_DISABLED 1
|
|
||||||
|
|
||||||
#define AVDT_NUM_SEPS 35
|
|
||||||
#endif
|
|
|
@ -1,109 +0,0 @@
|
||||||
<!-- Copyright (c) 2017, 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.
|
|
||||||
-->
|
|
||||||
<compatibility-matrix version="2.0" type="device">
|
|
||||||
<hal format="hidl" optional="false">
|
|
||||||
<name>android.frameworks.schedulerservice</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>ISchedulingPolicyService</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="false">
|
|
||||||
<name>android.frameworks.sensorservice</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>ISensorManager</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="false">
|
|
||||||
<name>android.hidl.allocator</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IAllocator</name>
|
|
||||||
<instance>ashmem</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="false">
|
|
||||||
<name>android.hidl.manager</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IServiceManager</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="false">
|
|
||||||
<name>android.hidl.memory</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IMapper</name>
|
|
||||||
<instance>ashmem</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="false">
|
|
||||||
<name>android.hidl.token</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>ITokenManager</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="false">
|
|
||||||
<name>android.system.wifi.keystore</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IKeystore</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.qti.hardware.qccsyshal</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IQccsyshal</name>
|
|
||||||
<instance>qccsyshal</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.qti.hardware.sigma_miracast</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>Isigma_miracast</name>
|
|
||||||
<instance>sigmahal</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.qti.hardware.wifi.keystore</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IKeystoreExt</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
</compatibility-matrix>
|
|
|
@ -1,867 +0,0 @@
|
||||||
<?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>
|
|
|
@ -1,511 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2020 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2019 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2010 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) #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|lpcm) #REQUIRED>
|
|
||||||
<!ATTLIST Audio bitRate CDATA #REQUIRED>
|
|
||||||
<!ATTLIST Audio sampleRate CDATA #REQUIRED>
|
|
||||||
<!ATTLIST Audio channels (1|2|6) #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 (hevc|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>
|
|
||||||
<!ATTLIST VideoEncoderCap maxHFRFrameWidth CDATA #REQUIRED>
|
|
||||||
<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
|
|
||||||
<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>
|
|
||||||
<!ELEMENT AudioEncoderCap EMPTY>
|
|
||||||
<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|lpcm) #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|6) #REQUIRED>
|
|
||||||
<!ATTLIST AudioEncoderCap maxChannels (1|2|6) #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>
|
|
||||||
<!ELEMENT VideoEditorCap EMPTY>
|
|
||||||
<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
|
|
||||||
<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
|
|
||||||
<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
|
|
||||||
<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
|
|
||||||
<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
|
|
||||||
<!ELEMENT ExportVideoProfile EMPTY>
|
|
||||||
<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
|
|
||||||
<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
|
|
||||||
<!ATTLIST ExportVideoProfile level CDATA #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 -->
|
|
||||||
<!-- Back Camera -->
|
|
||||||
<CamcorderProfiles cameraId="0">
|
|
||||||
|
|
||||||
<!-- low: 176 x 144 30fps -->
|
|
||||||
<EncoderProfile quality="low" fileFormat="3gp" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="128000"
|
|
||||||
width="176"
|
|
||||||
height="144"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="amrnb"
|
|
||||||
bitRate="12200"
|
|
||||||
sampleRate="8000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- high: 1920 x 1080 30fps -->
|
|
||||||
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- qcif: 176 x 144 30fps -->
|
|
||||||
<EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="128000"
|
|
||||||
width="176"
|
|
||||||
height="144"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="amrnb"
|
|
||||||
bitRate="12200"
|
|
||||||
sampleRate="8000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- qvga: 320 x 240 30fps -->
|
|
||||||
<EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="512000"
|
|
||||||
width="320"
|
|
||||||
height="240"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- cif: 352 x 288 30fps -->
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<!-- 480p: 720 x 480 30fps -->
|
|
||||||
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="2000000"
|
|
||||||
width="720"
|
|
||||||
height="480"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- 720p: 1280 x 720 60fps -->
|
|
||||||
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="14000000"
|
|
||||||
width="1280"
|
|
||||||
height="720"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- 1080p: 1920 x 1080 30fps -->
|
|
||||||
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- timelapse_qcif: 176 x 144 30fps -->
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<!-- timelapse_cif: 352 x 288 30fps -->
|
|
||||||
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="720000"
|
|
||||||
width="352"
|
|
||||||
height="288"
|
|
||||||
frameRate="30" />
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- timelapse_480p: 640 x 480 30fps -->
|
|
||||||
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="2000000"
|
|
||||||
width="640"
|
|
||||||
height="480"
|
|
||||||
frameRate="30" />
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- timelapse_720p: 1280 x 720 30fps -->
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<!-- timelapse_1080p: 1920 x 1080 30fps -->
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<!-- Front Camera -->
|
|
||||||
<CamcorderProfiles cameraId="1">
|
|
||||||
|
|
||||||
<!-- low: 176 x 144 30fps -->
|
|
||||||
<EncoderProfile quality="low" fileFormat="3gp" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="128000"
|
|
||||||
width="176"
|
|
||||||
height="144"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="amrnb"
|
|
||||||
bitRate="12200"
|
|
||||||
sampleRate="8000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- high: 1920 x 1080 30fps -->
|
|
||||||
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- qcif: 176 x 144 30fps -->
|
|
||||||
<EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="128000"
|
|
||||||
width="176"
|
|
||||||
height="144"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="amrnb"
|
|
||||||
bitRate="12200"
|
|
||||||
sampleRate="8000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- qvga: 320 x 240 30fps -->
|
|
||||||
<EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="512000"
|
|
||||||
width="320"
|
|
||||||
height="240"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- cif: 352 x 288 30fps -->
|
|
||||||
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="720000"
|
|
||||||
width="352"
|
|
||||||
height="288"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- 480p: 720 x 480 30fps -->
|
|
||||||
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="2000000"
|
|
||||||
width="720"
|
|
||||||
height="480"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- 720p: 1280 x 720 30fps -->
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<!-- 1080p: 1920 x 1080 30fps -->
|
|
||||||
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- timelapse_qcif: 176 x 144 30fps -->
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<!-- timelapse_cif: 352 x 288 30fps -->
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<!-- timelapse_480p: 720 x 480 30fps -->
|
|
||||||
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="5000000"
|
|
||||||
width="720"
|
|
||||||
height="480"
|
|
||||||
frameRate="30" />
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- timelapse_720p: 1280 x 720 30fps -->
|
|
||||||
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="8000000"
|
|
||||||
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="hevc" enabled="true"
|
|
||||||
minBitRate="64000" maxBitRate="60000000"
|
|
||||||
minFrameWidth="176" maxFrameWidth="1920"
|
|
||||||
minFrameHeight="144" maxFrameHeight="1080"
|
|
||||||
minFrameRate="15" maxFrameRate="30" />
|
|
||||||
|
|
||||||
<VideoEncoderCap name="h264" enabled="true"
|
|
||||||
minBitRate="64000" maxBitRate="60000000"
|
|
||||||
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>
|
|
317
device.mk
317
device.mk
|
@ -1,52 +1,17 @@
|
||||||
#
|
# Copyright (C) 2021-2025 The LineageOS Project
|
||||||
# Copyright (C) 2021-2023 The LineageOS Project
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
# Copyright (C) 2019-Current A-Team Digital Solutions
|
||||||
|
|
||||||
# Enable project quotas and casefolding for emulated storage without sdcardfs
|
# Add common definitions for Qualcomm
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
$(call inherit-product, hardware/qcom-caf/common/common.mk)
|
||||||
|
|
||||||
# Enable updating of APEXes
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
||||||
|
|
||||||
# Enable virtual A/B OTA with virtual ramdisk
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
|
||||||
|
|
||||||
# Setup dalvik vm configs
|
|
||||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
|
|
||||||
|
|
||||||
# Get non-open-source specific aspects
|
|
||||||
$(call inherit-product, vendor/oneplus/dre/dre-vendor.mk)
|
|
||||||
|
|
||||||
# Set product shipping level
|
|
||||||
PRODUCT_SHIPPING_API_LEVEL := 30
|
|
||||||
|
|
||||||
# Set board API level
|
|
||||||
BOARD_SHIPPING_API_LEVEL := 30
|
|
||||||
BOARD_API_LEVEL := 30
|
|
||||||
|
|
||||||
# Overlays
|
|
||||||
$(call inherit-product, hardware/oplus/overlay/qssi/qssi.mk)
|
|
||||||
|
|
||||||
DEVICE_PACKAGE_OVERLAYS += \
|
|
||||||
$(LOCAL_PATH)/overlay-lineage
|
|
||||||
|
|
||||||
PRODUCT_ENFORCE_RRO_TARGETS := *
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
CarrierConfigResCommon \
|
|
||||||
FrameworksResTarget \
|
|
||||||
OPlusFrameworksResTarget \
|
|
||||||
OPlusSettingsProviderResTarget \
|
|
||||||
OPlusSettingsResTarget \
|
|
||||||
OPlusSystemUIResTarget \
|
|
||||||
WifiResTarget
|
|
||||||
|
|
||||||
# AAPT
|
# AAPT
|
||||||
PRODUCT_AAPT_CONFIG := normal
|
PRODUCT_AAPT_CONFIG := normal
|
||||||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||||
|
|
||||||
# A/B
|
# A/B
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
||||||
|
|
||||||
AB_OTA_POSTINSTALL_CONFIG += \
|
AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
RUN_POSTINSTALL_system=true \
|
RUN_POSTINSTALL_system=true \
|
||||||
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
||||||
|
@ -56,7 +21,7 @@ AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
AB_OTA_POSTINSTALL_CONFIG += \
|
AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
RUN_POSTINSTALL_vendor=true \
|
RUN_POSTINSTALL_vendor=true \
|
||||||
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
||||||
FILESYSTEM_TYPE_vendor=ext4 \
|
FILESYSTEM_TYPE_vendor=erofs \
|
||||||
POSTINSTALL_OPTIONAL_vendor=true
|
POSTINSTALL_OPTIONAL_vendor=true
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -65,19 +30,14 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# ANT+
|
# ANT+
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
AntHalService-Soong \
|
AntHalService-Soong
|
||||||
com.dsi.ant@1.0.vendor
|
|
||||||
|
|
||||||
# Atrace
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.atrace@1.0-service
|
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.audio@6.0-impl \
|
android.hardware.audio@6.0-impl \
|
||||||
android.hardware.audio.effect@6.0-impl \
|
android.hardware.audio.effect@6.0-impl \
|
||||||
android.hardware.audio.service \
|
android.hardware.audio.service \
|
||||||
android.hardware.bluetooth.audio@2.1-impl \
|
android.hardware.bluetooth.audio-impl \
|
||||||
android.hardware.soundtrigger@2.3-impl \
|
android.hardware.soundtrigger@2.3-impl \
|
||||||
audio.bluetooth.default \
|
audio.bluetooth.default \
|
||||||
audio.primary.holi \
|
audio.primary.holi \
|
||||||
|
@ -99,21 +59,20 @@ PRODUCT_PACKAGES += \
|
||||||
libvolumelistener \
|
libvolumelistener \
|
||||||
sound_trigger.primary.holi:32
|
sound_trigger.primary.holi:32
|
||||||
|
|
||||||
# SM8350 audio HAL has SM4350 configurations.
|
|
||||||
AUDIO_HAL_DIR := hardware/qcom-caf/sm8350/audio
|
AUDIO_HAL_DIR := hardware/qcom-caf/sm8350/audio
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(AUDIO_HAL_DIR)/configs/common/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
$(AUDIO_HAL_DIR)/configs/common/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
$(AUDIO_HAL_DIR)/configs/holi/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
|
$(AUDIO_HAL_DIR)/configs/holi/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
|
$(AUDIO_HAL_DIR)/configs/holi/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
|
$(AUDIO_HAL_DIR)/configs/holi/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
|
$(AUDIO_HAL_DIR)/configs/holi/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
|
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
|
||||||
$(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
|
||||||
$(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
|
$(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
|
||||||
$(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
|
$(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
|
||||||
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
|
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
|
||||||
|
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/audio_policy_volumes.xml \
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/audio_policy_volumes.xml \
|
||||||
|
@ -130,17 +89,7 @@ PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
|
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
|
||||||
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
|
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
|
||||||
|
|
||||||
# Authsecret
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.authsecret@1.0.vendor
|
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.bluetooth@1.0.vendor \
|
|
||||||
vendor.qti.hardware.bluetooth_audio@2.0.vendor \
|
|
||||||
vendor.qti.hardware.btconfigstore@1.0.vendor \
|
|
||||||
vendor.qti.hardware.btconfigstore@2.0.vendor
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
|
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
|
||||||
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
|
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
|
||||||
|
@ -151,16 +100,13 @@ TARGET_SCREEN_WIDTH := 1080
|
||||||
|
|
||||||
# Boot control
|
# Boot control
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.boot@1.2-impl-qti \
|
android.hardware.boot-service.qti \
|
||||||
android.hardware.boot@1.2-impl-qti.recovery \
|
android.hardware.boot-service.qti.recovery
|
||||||
android.hardware.boot@1.2-service
|
|
||||||
|
|
||||||
# Camera
|
# Camera
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.camera.provider@2.4-impl \
|
android.hardware.camera.provider@2.4-impl \
|
||||||
android.hardware.camera.provider@2.4-service_64 \
|
android.hardware.camera.provider@2.4-service_64
|
||||||
libcamera_metadata_shim \
|
|
||||||
vendor.qti.hardware.camera.postproc@1.0.vendor
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
|
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
|
||||||
|
@ -168,38 +114,23 @@ PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
|
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
|
||||||
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
|
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
|
||||||
|
|
||||||
|
# Dalvik
|
||||||
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
|
||||||
|
|
||||||
|
# DebugFS
|
||||||
|
PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
|
||||||
|
|
||||||
# Display
|
# Display
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.graphics.common-V1-ndk_platform.vendor \
|
|
||||||
android.hardware.graphics.mapper@3.0-impl-qti-display \
|
android.hardware.graphics.mapper@3.0-impl-qti-display \
|
||||||
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
||||||
android.hardware.memtrack@1.0-impl \
|
|
||||||
android.hardware.memtrack@1.0-service \
|
|
||||||
init.qti.display_boot.sh \
|
init.qti.display_boot.sh \
|
||||||
libdisplayconfig.qti \
|
|
||||||
libdisplayconfig.system.qti \
|
|
||||||
libmemutils \
|
|
||||||
libqdMetaData \
|
|
||||||
libsdmcore \
|
|
||||||
libsdmutils \
|
|
||||||
libtinyxml \
|
|
||||||
memtrack.default \
|
|
||||||
vendor.display.config@1.15.vendor \
|
|
||||||
vendor.display.config@2.0 \
|
|
||||||
vendor.display.config@2.0.vendor \
|
|
||||||
vendor.qti.hardware.display.allocator-service \
|
vendor.qti.hardware.display.allocator-service \
|
||||||
vendor.qti.hardware.display.composer-service \
|
vendor.qti.hardware.display.composer-service \
|
||||||
vendor.qti.hardware.display.mapper@1.1.vendor \
|
vendor.qti.hardware.memtrack-service
|
||||||
vendor.qti.hardware.display.mapper@2.0.vendor \
|
|
||||||
vendor.qti.hardware.display.mapper@3.0.vendor \
|
|
||||||
vendor.qti.hardware.display.mapper@4.0.vendor
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
|
hardware/qcom-caf/sm8350/display/config/snapdragon_color_libs_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/snapdragon_color_libs_config.xml
|
||||||
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
|
|
||||||
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
|
|
||||||
frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
|
|
||||||
|
|
||||||
# Doze
|
# Doze
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -207,10 +138,10 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# DRM
|
# DRM
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.drm@1.3.vendor \
|
android.hardware.drm-service.clearkey \
|
||||||
android.hardware.drm-service.clearkey
|
wvmkiller
|
||||||
|
|
||||||
# fastbootd
|
# Fastboot
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.fastboot@1.1-impl.custom \
|
android.hardware.fastboot@1.1-impl.custom \
|
||||||
fastbootd
|
fastbootd
|
||||||
|
@ -222,33 +153,28 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||||
|
|
||||||
# Gatekeeper
|
# FM Radio
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.gatekeeper@1.0.vendor
|
FM2 \
|
||||||
|
qcom.fmradio
|
||||||
|
|
||||||
# GPS
|
# GPS
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.gnss.measurement_corrections@1.1.vendor \
|
|
||||||
android.hardware.gnss.visibility_control@1.0.vendor \
|
|
||||||
android.hardware.gnss@2.1.vendor
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(LOCAL_PATH)/gps/gps.conf:$(TARGET_COPY_OUT_ODM)/etc/gps.conf
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
|
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
|
||||||
|
|
||||||
|
# Graphics
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
|
||||||
|
frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
|
||||||
|
|
||||||
# Health
|
# Health
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.health@2.1-impl \
|
android.hardware.health-service.qti
|
||||||
android.hardware.health@2.1-service
|
|
||||||
|
|
||||||
# HIDL
|
# Hotword enrollment
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
libhidltransport.vendor \
|
|
||||||
libhwbinder.vendor
|
|
||||||
|
|
||||||
# HotwordEnrollement app permissions
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
||||||
|
|
||||||
|
@ -273,9 +199,8 @@ PRODUCT_PACKAGES += \
|
||||||
ipacm \
|
ipacm \
|
||||||
IPACM_cfg.xml
|
IPACM_cfg.xml
|
||||||
|
|
||||||
# Keymaster
|
# Kernel
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_ENABLE_UFFD_GC := true
|
||||||
android.hardware.keymaster@4.1.vendor
|
|
||||||
|
|
||||||
# Lineage Health
|
# Lineage Health
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -285,47 +210,23 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vendor.lineage.livedisplay@2.1-service.oplus
|
vendor.lineage.livedisplay@2.1-service.oplus
|
||||||
|
|
||||||
|
$(call soong_config_set,OPLUS_LINEAGE_LIVEDISPLAY_HAL,ENABLE_SE,false)
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/configs/media_codecs_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
$(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
||||||
$(LOCAL_PATH)/configs/media_codecs_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_holi.xml \
|
$(LOCAL_PATH)/media/media_codecs_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_blair.xml \
|
||||||
$(LOCAL_PATH)/configs/media_codecs_holi_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_holi_vendor.xml \
|
$(LOCAL_PATH)/media/media_codecs_blair_lite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_blair_lite.xml \
|
||||||
$(LOCAL_PATH)/configs/media_codecs_performance_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
$(LOCAL_PATH)/media/media_codecs_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_holi.xml \
|
||||||
$(LOCAL_PATH)/configs/media_codecs_performance_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_holi.xml \
|
$(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
||||||
$(LOCAL_PATH)/configs/media_codecs_performance_holi_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_holi_vendor.xml \
|
$(LOCAL_PATH)/media/media_codecs_performance_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_blair.xml \
|
||||||
$(LOCAL_PATH)/configs/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
|
$(LOCAL_PATH)/media/media_codecs_performance_blair_lite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_blair_lite.xml \
|
||||||
$(LOCAL_PATH)/configs/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
$(LOCAL_PATH)/media/media_codecs_performance_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_holi.xml \
|
||||||
$(LOCAL_PATH)/configs/media_profiles_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_holi.xml \
|
$(LOCAL_PATH)/media/media_profiles_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
|
||||||
$(LOCAL_PATH)/configs/media_profiles_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
|
|
||||||
$(LOCAL_PATH)/configs/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_ODM)/etc/media_profiles_V1_0.xml
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
|
|
||||||
frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \
|
|
||||||
frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
|
|
||||||
frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml \
|
|
||||||
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
|
|
||||||
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
|
|
||||||
frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
|
|
||||||
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
libavservices_minijail \
|
|
||||||
libavservices_minijail.vendor \
|
|
||||||
libcodec2_hidl@1.0.vendor
|
|
||||||
|
|
||||||
# Net
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.system.net.netd@1.1.vendor
|
|
||||||
|
|
||||||
# Neural Network
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.neuralnetworks@1.3.vendor
|
|
||||||
|
|
||||||
# NFC
|
# NFC
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.nfc@1.2-service.st \
|
android.hardware.nfc-service.st \
|
||||||
android.hardware.secure_element@1.2.vendor \
|
|
||||||
com.android.nfc_extras \
|
com.android.nfc_extras \
|
||||||
nfc_nci.st21nfc.default \
|
nfc_nci.st21nfc.default \
|
||||||
Tag
|
Tag
|
||||||
|
@ -336,15 +237,30 @@ PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
|
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
|
||||||
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml
|
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml
|
||||||
|
|
||||||
# OMX
|
# Overlays
|
||||||
|
$(call inherit-product, hardware/oplus/overlay/generic/generic.mk)
|
||||||
|
$(call inherit-product, hardware/oplus/overlay/qssi/qssi.mk)
|
||||||
|
|
||||||
|
DEVICE_PACKAGE_OVERLAYS += \
|
||||||
|
$(LOCAL_PATH)/overlay-lineage
|
||||||
|
|
||||||
|
PRODUCT_ENFORCE_RRO_TARGETS := *
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libOmxAacEnc \
|
CarrierConfigResCommon \
|
||||||
libOmxAmrEnc \
|
FrameworksResTarget \
|
||||||
libOmxCore \
|
OPlusFrameworksResTarget \
|
||||||
libOmxEvrcEnc \
|
OPlusSettingsProviderResTarget \
|
||||||
libOmxG711Enc \
|
OPlusSettingsResTarget \
|
||||||
libOmxQcelp13Enc \
|
OPlusSystemUIResTarget \
|
||||||
libstagefrighthw
|
WifiResTarget
|
||||||
|
|
||||||
|
# Partitions
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
vendor_bt_firmware_mountpoint \
|
||||||
|
vendor_dsp_mountpoint \
|
||||||
|
vendor_firmware_mnt_mountpoint
|
||||||
|
|
||||||
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
||||||
|
|
||||||
# Perf
|
# Perf
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
@ -352,33 +268,15 @@ PRODUCT_COPY_FILES += \
|
||||||
|
|
||||||
# Power
|
# Power
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.power-service-qti \
|
android.hardware.power-service-qti
|
||||||
android.hardware.power@1.2.vendor \
|
|
||||||
vendor.qti.hardware.perf@2.2.vendor
|
|
||||||
|
|
||||||
# QMI
|
# QTI fwk-detect
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libjson \
|
libvndfwk_detect_jni.qti.vendor # Needed by CNE app
|
||||||
libqti_vndfwk_detect.vendor \
|
|
||||||
libvndfwk_detect_jni.qti.vendor
|
|
||||||
|
|
||||||
# QTI service tracker
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
vendor.qti.hardware.servicetracker@1.2.vendor
|
|
||||||
|
|
||||||
# RIL
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.radio@1.5.vendor \
|
|
||||||
android.hardware.radio.config@1.2.vendor \
|
|
||||||
android.hardware.radio.deprecated@1.0.vendor \
|
|
||||||
libprotobuf-cpp-full \
|
|
||||||
librmnetctl \
|
|
||||||
libxml2
|
|
||||||
|
|
||||||
# Sensors
|
# Sensors
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.sensors@2.0-service.multihal \
|
android.hardware.sensors-service.multihal \
|
||||||
libsensorndkbridge
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
||||||
|
@ -391,11 +289,18 @@ PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
|
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
|
||||||
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
|
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
|
||||||
|
|
||||||
|
# Shipping API
|
||||||
|
BOARD_SHIPPING_API_LEVEL := 30
|
||||||
|
PRODUCT_SHIPPING_API_LEVEL := $(BOARD_SHIPPING_API_LEVEL)
|
||||||
|
|
||||||
# Soong namespaces
|
# Soong namespaces
|
||||||
PRODUCT_SOONG_NAMESPACES += \
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
$(LOCAL_PATH) \
|
$(LOCAL_PATH) \
|
||||||
hardware/oplus
|
hardware/oplus
|
||||||
|
|
||||||
|
# Storage
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
||||||
|
|
||||||
# Telephony
|
# Telephony
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
extphonelib \
|
extphonelib \
|
||||||
|
@ -414,6 +319,9 @@ PRODUCT_PACKAGES += \
|
||||||
qti_telephony_utils_prd.xml \
|
qti_telephony_utils_prd.xml \
|
||||||
telephony-ext
|
telephony-ext
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
qcrilNrDb_vendor
|
||||||
|
|
||||||
PRODUCT_BOOT_JARS += \
|
PRODUCT_BOOT_JARS += \
|
||||||
telephony-ext
|
telephony-ext
|
||||||
|
|
||||||
|
@ -426,9 +334,11 @@ PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
|
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
|
||||||
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
|
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
|
||||||
|
|
||||||
|
$(call inherit-product, hardware/oplus/oplus-fwk/oplus-fwk.mk)
|
||||||
|
|
||||||
# Thermal
|
# Thermal
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.thermal@2.0-service.qti
|
android.hardware.thermal-service.qti
|
||||||
|
|
||||||
# Touch
|
# Touch
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -448,23 +358,19 @@ PRODUCT_PACKAGES_DEBUG += \
|
||||||
|
|
||||||
# USB
|
# USB
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.usb@1.3-service-qti
|
android.hardware.usb-service.qti
|
||||||
|
|
||||||
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
vendor/qcom/opensource/usb/etc
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
|
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
|
||||||
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
|
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
|
||||||
|
|
||||||
PRODUCT_SOONG_NAMESPACES += \
|
|
||||||
vendor/qcom/opensource/usb/etc
|
|
||||||
|
|
||||||
# Vendor service manager
|
# Vendor service manager
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vndservicemanager
|
vndservicemanager
|
||||||
|
|
||||||
# Vendor libstdc++
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
libstdc++.vendor
|
|
||||||
|
|
||||||
# Verified Boot
|
# Verified Boot
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
|
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
|
||||||
|
@ -476,33 +382,28 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
|
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
|
||||||
|
|
||||||
# VNDK
|
# WiFi
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.common-V1-ndk_platform.vendor
|
android.hardware.wifi-service \
|
||||||
|
|
||||||
# Wi-Fi
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
android.hardware.wifi@1.0-service \
|
|
||||||
android.hardware.wifi.hostapd@1.0.vendor \
|
|
||||||
hostapd \
|
hostapd \
|
||||||
libwpa_client \
|
|
||||||
libwifi-hal-ctrl \
|
libwifi-hal-ctrl \
|
||||||
libwifi-hal-qcom \
|
libwifi-hal-qcom \
|
||||||
wpa_supplicant \
|
wpa_supplicant \
|
||||||
wpa_supplicant.conf
|
wpa_supplicant.conf
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
|
||||||
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
|
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
|
||||||
frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
|
frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \
|
||||||
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
|
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
|
||||||
|
frameworks/native/data/etc/android.software.ipsec_tunnel_migration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnel_migration.xml \
|
||||||
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
|
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
|
||||||
|
|
||||||
# Wi-Fi Display
|
# WiFi firmware symlinks
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libnl \
|
firmware_wlan_mac.bin_symlink \
|
||||||
libwfdaac_vendor
|
firmware_WCNSS_qcom_cfg.ini_symlink
|
||||||
|
|
||||||
PRODUCT_BOOT_JARS += \
|
# Get non-open-source specific aspects
|
||||||
WfdCommon
|
$(call inherit-product, vendor/oneplus/dre/dre-vendor.mk)
|
||||||
|
|
||||||
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
||||||
|
|
|
@ -1,85 +0,0 @@
|
||||||
<compatibility-matrix version="2.0" type="framework">
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.nxp.hardware.nfc</name>
|
|
||||||
<version>1.0-1</version>
|
|
||||||
<interface>
|
|
||||||
<name>INqNfc</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.nxp.nxpnfclegacy</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>INxpNfcLegacy</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.oneplus.engnative.engineer</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IEngineer</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.oneplus.faceunlock.hal</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IFaceUnlockNativeService</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.oplus.hardware.appradio</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IOplusAppRadio</name>
|
|
||||||
<instance>oplus_app_slot1</instance>
|
|
||||||
<instance>oplus_app_slot2</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.oplus.hardware.biometrics.fingerprint</name>
|
|
||||||
<version>2.1</version>
|
|
||||||
<interface>
|
|
||||||
<name>IBiometricsFingerprint</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.oplus.hardware.ims</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IOplusImsRadio</name>
|
|
||||||
<instance>oplusimsradio0</instance>
|
|
||||||
<instance>oplusimsradio1</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.oplus.hardware.radio</name>
|
|
||||||
<version>1.0-1</version>
|
|
||||||
<interface>
|
|
||||||
<name>IOplusRadio</name>
|
|
||||||
<instance>oplus_slot1</instance>
|
|
||||||
<instance>oplus_slot2</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.pixelworks.hardware.display</name>
|
|
||||||
<version>1.1</version>
|
|
||||||
<interface>
|
|
||||||
<name>IIris</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.pixelworks.hardware.feature</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IIrisFeature</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
</compatibility-matrix>
|
|
117
extract-files.py
Executable file
117
extract-files.py
Executable file
|
@ -0,0 +1,117 @@
|
||||||
|
#!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
from extract_utils.fixups_blob import (
|
||||||
|
blob_fixup,
|
||||||
|
blob_fixups_user_type,
|
||||||
|
)
|
||||||
|
from extract_utils.fixups_lib import (
|
||||||
|
lib_fixups,
|
||||||
|
lib_fixups_user_type,
|
||||||
|
)
|
||||||
|
from extract_utils.main import (
|
||||||
|
ExtractUtils,
|
||||||
|
ExtractUtilsModule,
|
||||||
|
)
|
||||||
|
|
||||||
|
namespace_imports = [
|
||||||
|
'device/oneplus/dre',
|
||||||
|
'hardware/oplus',
|
||||||
|
'hardware/qcom-caf/sm8350',
|
||||||
|
'hardware/qcom-caf/wlan',
|
||||||
|
'vendor/qcom/opensource/commonsys-intf/display',
|
||||||
|
'vendor/qcom/opensource/commonsys/display',
|
||||||
|
'vendor/qcom/opensource/dataservices',
|
||||||
|
'vendor/qcom/opensource/display',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def lib_fixup_vendor_suffix(lib: str, partition: str, *args, **kwargs):
|
||||||
|
return f'{lib}_vendor' if partition in ['odm', 'vendor'] else None
|
||||||
|
|
||||||
|
|
||||||
|
lib_fixups: lib_fixups_user_type = {
|
||||||
|
**lib_fixups,
|
||||||
|
(
|
||||||
|
'com.qualcomm.qti.dpm.api@1.0',
|
||||||
|
'libmmosal',
|
||||||
|
'vendor.qti.diaghal@1.0',
|
||||||
|
'vendor.qti.hardware.fm@1.0',
|
||||||
|
'vendor.qti.hardware.wifidisplaysession@1.0',
|
||||||
|
'vendor.qti.imsrtpservice@3.0',
|
||||||
|
): lib_fixup_vendor_suffix,
|
||||||
|
}
|
||||||
|
|
||||||
|
blob_fixups: blob_fixups_user_type = {
|
||||||
|
'odm/etc/init/android.hardware.drm@1.3-service.widevine.rc': blob_fixup()
|
||||||
|
.regex_replace('writepid /dev/cpuset/foreground/tasks', 'task_profiles ProcessCapacityHigh'),
|
||||||
|
('odm/lib/liblvimfs_wrapper.so', 'odm/lib64/libCOppLceTonemapAPI.so', 'odm/lib64/libaps_frame_registration.so'): blob_fixup()
|
||||||
|
.replace_needed('libstdc++.so', 'libstdc++_vendor.so'),
|
||||||
|
'odm/lib64/libarcsoft_portrait_super_night_raw.so': blob_fixup()
|
||||||
|
.clear_symbol_version('remote_handle_close')
|
||||||
|
.clear_symbol_version('remote_handle_invoke')
|
||||||
|
.clear_symbol_version('remote_handle_open')
|
||||||
|
.clear_symbol_version('remote_handle64_close')
|
||||||
|
.clear_symbol_version('remote_handle64_invoke')
|
||||||
|
.clear_symbol_version('remote_handle64_open')
|
||||||
|
.clear_symbol_version('remote_register_buf_attr')
|
||||||
|
.clear_symbol_version('remote_register_buf')
|
||||||
|
.clear_symbol_version('rpcmem_alloc')
|
||||||
|
.clear_symbol_version('rpcmem_free')
|
||||||
|
.clear_symbol_version('rpcmem_to_fd'),
|
||||||
|
'odm/lib64/libOGLManager.so': blob_fixup()
|
||||||
|
.clear_symbol_version('AHardwareBuffer_allocate')
|
||||||
|
.clear_symbol_version('AHardwareBuffer_describe')
|
||||||
|
.clear_symbol_version('AHardwareBuffer_lock')
|
||||||
|
.clear_symbol_version('AHardwareBuffer_release')
|
||||||
|
.clear_symbol_version('AHardwareBuffer_unlock'),
|
||||||
|
('odm/lib64/libwvhidl.so','odm/lib64/mediadrm/libwvdrmengine.so'): blob_fixup()
|
||||||
|
.add_needed('libcrypto_shim.so'),
|
||||||
|
'product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml': blob_fixup()
|
||||||
|
.regex_replace('/my_product', '/product'),
|
||||||
|
'system_ext/bin/wfdservice': blob_fixup()
|
||||||
|
.add_needed('libwfdservice_shim.so'),
|
||||||
|
'system_ext/lib/libwfdmmsrc_system.so': blob_fixup()
|
||||||
|
.add_needed('libgui_shim.so'),
|
||||||
|
'system_ext/lib/libwfdservice.so': blob_fixup()
|
||||||
|
.replace_needed('android.media.audio.common.types-V2-cpp.so', 'android.media.audio.common.types-V4-cpp.so'),
|
||||||
|
'system_ext/lib64/libwfdnative.so': blob_fixup()
|
||||||
|
.replace_needed('android.hidl.base@1.0.so', 'libhidlbase.so')
|
||||||
|
.add_needed('libbinder_shim.so')
|
||||||
|
.add_needed('libinput_shim.so'),
|
||||||
|
'vendor/bin/init.kernel.post_boot-blair.sh': blob_fixup()
|
||||||
|
.patch_file('blob-patches/init-post-boot-blair.patch'),
|
||||||
|
'vendor/bin/init.kernel.post_boot-holi.sh': blob_fixup()
|
||||||
|
.patch_file('blob-patches/init-post-boot-holi.patch'),
|
||||||
|
'vendor/etc/init/vendor.qti.media.c2@1.0-service.rc': blob_fixup()
|
||||||
|
.regex_replace('writepid /dev/cpuset/foreground/tasks', 'task_profiles ProcessCapacityHigh'),
|
||||||
|
'vendor/etc/media_holi/video_system_specs.json': blob_fixup()
|
||||||
|
.regex_replace('"max_retry_alloc_output_timeout": 2000,', '"max_retry_alloc_output_timeout": 0,'),
|
||||||
|
'vendor/etc/libnfc-nci.conf': blob_fixup()
|
||||||
|
.regex_replace('NFC_DEBUG_ENABLED=1', 'NFC_DEBUG_ENABLED=0'),
|
||||||
|
'vendor/etc/msm_irqbalance.conf': blob_fixup()
|
||||||
|
.regex_replace('IGNORED_IRQ=19,21,38$', 'IGNORED_IRQ=19,21,38,209,218'),
|
||||||
|
'vendor/etc/qdcm_calib_data_nt36672c_tm_fhd_plus_video_mode_dsi_panel.xml': blob_fixup()
|
||||||
|
.regex_replace('FeatureType="2" Disable="false"', 'FeatureType="2" Disable="true"')
|
||||||
|
.regex_replace('FeatureType="7" Disable="false"', 'FeatureType="7" Disable="true"')
|
||||||
|
.regex_replace('FeatureType="8" Disable="false"', 'FeatureType="8" Disable="true"')
|
||||||
|
.regex_replace('20121_v1_20201113', 'native')
|
||||||
|
.regex_replace('SRGB', 'sRGB'),
|
||||||
|
'vendor/lib64/hw/com.qti.chi.override.so': blob_fixup()
|
||||||
|
.add_needed('libcamera_metadata_shim.so'),
|
||||||
|
} # fmt: skip
|
||||||
|
|
||||||
|
module = ExtractUtilsModule(
|
||||||
|
'dre',
|
||||||
|
'oneplus',
|
||||||
|
blob_fixups=blob_fixups,
|
||||||
|
lib_fixups=lib_fixups,
|
||||||
|
namespace_imports=namespace_imports,
|
||||||
|
)
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
utils = ExtractUtils.device(module)
|
||||||
|
utils.run()
|
|
@ -1,75 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# Copyright (C) 2016 The CyanogenMod Project
|
|
||||||
# Copyright (C) 2017-2022 The LineageOS Project
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
DEVICE=dre
|
|
||||||
VENDOR=oneplus
|
|
||||||
|
|
||||||
# Load extract_utils and do some sanity checks
|
|
||||||
MY_DIR="${BASH_SOURCE%/*}"
|
|
||||||
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
|
|
||||||
|
|
||||||
ANDROID_ROOT="${MY_DIR}/../../.."
|
|
||||||
|
|
||||||
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
|
|
||||||
if [ ! -f "${HELPER}" ]; then
|
|
||||||
echo "Unable to find helper script at ${HELPER}"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
source "${HELPER}"
|
|
||||||
|
|
||||||
# Default to sanitizing the vendor folder before extraction
|
|
||||||
CLEAN_VENDOR=true
|
|
||||||
|
|
||||||
KANG=
|
|
||||||
SECTION=
|
|
||||||
|
|
||||||
while [ "${#}" -gt 0 ]; do
|
|
||||||
case "${1}" in
|
|
||||||
-n | --no-cleanup )
|
|
||||||
CLEAN_VENDOR=false
|
|
||||||
;;
|
|
||||||
-k | --kang )
|
|
||||||
KANG="--kang"
|
|
||||||
;;
|
|
||||||
-s | --section )
|
|
||||||
SECTION="${2}"; shift
|
|
||||||
CLEAN_VENDOR=false
|
|
||||||
;;
|
|
||||||
* )
|
|
||||||
SRC="${1}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ -z "${SRC}" ]; then
|
|
||||||
SRC="adb"
|
|
||||||
fi
|
|
||||||
|
|
||||||
function blob_fixup() {
|
|
||||||
case "${1}" in
|
|
||||||
product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml)
|
|
||||||
sed -i "s/\/my_product/\/product/" "${2}"
|
|
||||||
;;
|
|
||||||
system_ext/lib64/libwfdnative.so)
|
|
||||||
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
|
|
||||||
;;
|
|
||||||
vendor/lib64/hw/com.qti.chi.override.so)
|
|
||||||
grep -q libcamera_metadata_shim.so "${2}" || "${PATCHELF}" --add-needed libcamera_metadata_shim.so "${2}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
# Initialize the helper
|
|
||||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
|
||||||
|
|
||||||
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
|
||||||
|
|
||||||
"${MY_DIR}/setup-makefiles.sh"
|
|
396
gps/gps.conf
396
gps/gps.conf
|
@ -1,396 +0,0 @@
|
||||||
# Error Estimate
|
|
||||||
# _SET = 1
|
|
||||||
# _CLEAR = 0
|
|
||||||
ERR_ESTIMATE=0
|
|
||||||
|
|
||||||
#NTP server
|
|
||||||
NTP_SERVER=time.xtracloud.net
|
|
||||||
|
|
||||||
#XTRA CA path
|
|
||||||
XTRA_CA_PATH=/usr/lib/ssl-1.1/certs
|
|
||||||
|
|
||||||
# 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
|
|
||||||
#ifndef OPLUS_BUG_DEBUG
|
|
||||||
#LinHuaqiu@CONNECTIVITY.GPS.LOCATION.LOG.1065783, 2017/11/04, Add for gps log control
|
|
||||||
#DEBUG_LEVEL = 3
|
|
||||||
#else /* OPLUS_BUG_DEBUG */
|
|
||||||
DEBUG_LEVEL = 2
|
|
||||||
#endif /* OPLUS_BUG_DEBUG */
|
|
||||||
|
|
||||||
# Intermediate position report, 1=enable, 0=disable
|
|
||||||
INTERMEDIATE_POS=0
|
|
||||||
|
|
||||||
# supl version 1.0
|
|
||||||
SUPL_VER=0x10000
|
|
||||||
|
|
||||||
# Emergency SUPL, 1=enable, 0=disable
|
|
||||||
#SUPL_ES=1
|
|
||||||
|
|
||||||
#Choose PDN for Emergency SUPL
|
|
||||||
#1 - Use emergency PDN
|
|
||||||
#0 - Use regular SUPL PDN for Emergency SUPL
|
|
||||||
#USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0
|
|
||||||
|
|
||||||
#SUPL_MODE is a bit mask set in config.xml per carrier by default.
|
|
||||||
#If it is uncommented here, this value will overwrite the value from
|
|
||||||
#config.xml.
|
|
||||||
#MSA=0X2
|
|
||||||
#MSB=0X1
|
|
||||||
#SUPL_MODE=
|
|
||||||
|
|
||||||
# GPS Capabilities bit mask
|
|
||||||
# SCHEDULING = 0x01
|
|
||||||
# MSB = 0x02
|
|
||||||
# MSA = 0x04
|
|
||||||
# ON_DEMAND_TIME = 0x10
|
|
||||||
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING
|
|
||||||
CAPABILITIES=0x17
|
|
||||||
|
|
||||||
# Accuracy threshold for intermediate positions
|
|
||||||
# less accurate positions are ignored, 0 for passing all positions
|
|
||||||
# ACCURACY_THRES=5000
|
|
||||||
|
|
||||||
################################
|
|
||||||
##### AGPS server settings #####
|
|
||||||
################################
|
|
||||||
|
|
||||||
# FOR SUPL SUPPORT, set the following
|
|
||||||
# SUPL_HOST=supl.host.com or IP
|
|
||||||
# SUPL_PORT=1234
|
|
||||||
|
|
||||||
# FOR MO SUPL SUPPORT, set the following
|
|
||||||
# MO_SUPL_HOST=supl.host.com or IP
|
|
||||||
# MO_SUPL_PORT=1234
|
|
||||||
|
|
||||||
# FOR C2K PDE SUPPORT, set the following
|
|
||||||
# C2K_HOST=c2k.pde.com or IP
|
|
||||||
# C2K_PORT=1234
|
|
||||||
|
|
||||||
# Bitmask of slots that are available
|
|
||||||
# for write/install to, where 1s indicate writable,
|
|
||||||
# and the default value is 0 where no slots
|
|
||||||
# are writable. For example, AGPS_CERT_WRITABLE_MASK
|
|
||||||
# of b1000001010 makes 3 slots available
|
|
||||||
# and the remaining 7 slots unwritable.
|
|
||||||
#AGPS_CERT_WRITABLE_MASK=0
|
|
||||||
|
|
||||||
####################################
|
|
||||||
# LTE Positioning Profile Settings
|
|
||||||
####################################
|
|
||||||
# LPP_PROFILE is a bit mask
|
|
||||||
# 0: Enable RRLP on LTE(Default)
|
|
||||||
# 0x1: LPP User Plane
|
|
||||||
# 0x2: LPP Control Plane
|
|
||||||
# 0x4: LPP User Plane for NR5G
|
|
||||||
# 0x8: LPP Control Plane for NR5G
|
|
||||||
LPP_PROFILE = 2
|
|
||||||
|
|
||||||
####################################
|
|
||||||
#Datum Type
|
|
||||||
####################################
|
|
||||||
# 0: WGS-84
|
|
||||||
# 1: PZ-90
|
|
||||||
DATUM_TYPE = 0
|
|
||||||
|
|
||||||
################################
|
|
||||||
# EXTRA SETTINGS
|
|
||||||
################################
|
|
||||||
# NMEA provider (1=Modem Processor, 0=Application Processor)
|
|
||||||
NMEA_PROVIDER=0
|
|
||||||
|
|
||||||
################################
|
|
||||||
# NMEA TAG BLOCK GROUPING
|
|
||||||
################################
|
|
||||||
# NMEA tag block grouping is only applicable to GSA
|
|
||||||
# Default is disabled
|
|
||||||
# 0 - disabled
|
|
||||||
# 1 - enabled
|
|
||||||
NMEA_TAG_BLOCK_GROUPING_ENABLED = 0
|
|
||||||
|
|
||||||
# Customized NMEA GGA fix quality that can be used to tell
|
|
||||||
# whether SENSOR contributed to the fix.
|
|
||||||
#
|
|
||||||
# When this configuration item is not enabled (set to any value that is not 1),
|
|
||||||
# GGA fix quality conforms to NMEA standard spec as below:
|
|
||||||
# PPP/DGNSS/SBAS correction fix w/ or w/o sensor: 2
|
|
||||||
# RTK fixed fix w/ or w/o sensor: 4
|
|
||||||
# RTK float fix w/ or w/o sensor: 5
|
|
||||||
# SPE fix w/ or w/o sensor: 1
|
|
||||||
# Sensor dead reckoning fix: 6
|
|
||||||
#
|
|
||||||
# When this configuration is enabled (set to 1), GGA fix quality
|
|
||||||
# will be output as below:
|
|
||||||
# PPP fix w/o sensor: 59, w/ sensor: 69
|
|
||||||
# DGNSS/SBAS correction fix w/o sensor: 2, w/ sensor: 62
|
|
||||||
# RTK fixed fix w/o sensor: 4, w/ sensor: 64
|
|
||||||
# RTK float fix w/o sensor: 5, w/ sensor: 65,
|
|
||||||
# SPE fix w/o sensor: 1, and w/ sensor: 61
|
|
||||||
# Sensor dead reckoning fix: 6
|
|
||||||
#
|
|
||||||
# any value that is not 1 - disabled
|
|
||||||
# 1 - enabled
|
|
||||||
CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0
|
|
||||||
|
|
||||||
################################
|
|
||||||
# NMEA Reporting Rate Config, valid only when NMEA_PROVIDER is set to "0"
|
|
||||||
################################
|
|
||||||
# NMEA Reporting Rate
|
|
||||||
# Set it to "1HZ" for 1Hz NMEA Reporting
|
|
||||||
# Set it to "NHZ" for NHz NMEA Reporting
|
|
||||||
#Default : NHZ (overridden by position update rate if set to lower rates)
|
|
||||||
NMEA_REPORT_RATE=NHZ
|
|
||||||
|
|
||||||
# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
|
|
||||||
SGLTE_TARGET=0
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Select Positioning Protocol on A-GLONASS system
|
|
||||||
##################################################
|
|
||||||
# 0x1: RRC CPlane
|
|
||||||
# 0x2: RRLP UPlane
|
|
||||||
# 0x4: LLP Uplane
|
|
||||||
A_GLONASS_POS_PROTOCOL_SELECT = 0
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Select technology for LPPe Control Plane
|
|
||||||
##################################################
|
|
||||||
# 0x1: DBH for LPPe CP
|
|
||||||
# 0x2: WLAN AP Measurements for LPPe CP
|
|
||||||
# 0x4: SRN AP measurement for CP
|
|
||||||
# 0x8: Sensor Barometer Measurement LPPe CP
|
|
||||||
#LPPE_CP_TECHNOLOGY = 0
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Select technology for LPPe User Plane
|
|
||||||
##################################################
|
|
||||||
# 0x1: DBH for LPPe UP
|
|
||||||
# 0x2: WLAN AP Measurements for LPPe UP
|
|
||||||
# 0x4: SRN AP measurement for UP
|
|
||||||
# 0x8: Sensor Barometer Measurement LPPe UP
|
|
||||||
#LPPE_UP_TECHNOLOGY = 0
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# AGPS_CONFIG_INJECT
|
|
||||||
##################################################
|
|
||||||
# enable/disable injection of AGPS configurations:
|
|
||||||
# SUPL_VER
|
|
||||||
# SUPL_HOST
|
|
||||||
# SUPL_PORT
|
|
||||||
# MO_SUPL_HOST
|
|
||||||
# MO_SUPL_PORT
|
|
||||||
# C2K_HOST
|
|
||||||
# C2K_PORT
|
|
||||||
# LPP_PROFILE
|
|
||||||
# A_GLONASS_POS_PROTOCOL_SELECT
|
|
||||||
# 0: disable
|
|
||||||
# 1: enable
|
|
||||||
AGPS_CONFIG_INJECT = 1
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# GNSS settings for automotive use cases
|
|
||||||
# Configurations in following section are
|
|
||||||
# specific to automotive use cases, others
|
|
||||||
# please do not change, keep the default values
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
# AP Coarse Timestamp Uncertainty
|
|
||||||
##################################################
|
|
||||||
# default : 10
|
|
||||||
# AP time stamp uncertainty, until GNSS receiver
|
|
||||||
# is able to acquire better timing information
|
|
||||||
AP_TIMESTAMP_UNCERTAINTY = 10
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# DR_SYNC Pulse Availability
|
|
||||||
#####################################
|
|
||||||
# 0 : DR_SYNC pulse not available (default)
|
|
||||||
# 1 : DR_SYNC pulse available
|
|
||||||
# This configuration enables the driver to make use
|
|
||||||
# of PPS events generated by DR_SYNC pulse
|
|
||||||
# Standard Linux PPS driver needs to be enabled
|
|
||||||
DR_SYNC_ENABLED = 0
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# PPS Device name
|
|
||||||
#####################################
|
|
||||||
PPS_DEVICENAME = /dev/pps0
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# Ignore PPS at Startup and after long outage
|
|
||||||
#####################################
|
|
||||||
IGNORE_PPS_PULSE_COUNT = 1
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# Long GNSS RF outage in seconds
|
|
||||||
#####################################
|
|
||||||
GNSS_OUTAGE_DURATION = 10
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# AP Clock Accuracy
|
|
||||||
#####################################
|
|
||||||
# Quality of APPS processor clock (in PPM).
|
|
||||||
# Value specified is used for calculation of
|
|
||||||
# APPS time stamp uncertainty
|
|
||||||
AP_CLOCK_PPM = 100
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# MAX ms difference to detect missing pulse
|
|
||||||
#####################################
|
|
||||||
# Specifies time threshold in ms to validate any missing PPS pulses
|
|
||||||
MISSING_PULSE_TIME_DELTA = 900
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# Propagation time uncertainty
|
|
||||||
#####################################
|
|
||||||
# This settings enables time uncertainty propagation
|
|
||||||
# logic incase of missing PPS pulse
|
|
||||||
PROPAGATION_TIME_UNCERTAINTY = 1
|
|
||||||
|
|
||||||
#######################################
|
|
||||||
# APN / IP Type Configuration
|
|
||||||
# APN and IP Type to use for setting
|
|
||||||
# up WWAN call.
|
|
||||||
# Use below values for IP Type:
|
|
||||||
# v4 = 4
|
|
||||||
# v6 = 6
|
|
||||||
# v4v6 = 10
|
|
||||||
#######################################
|
|
||||||
# INTERNET_APN = abc.xyz
|
|
||||||
# INTERNET_IP_TYPE = 4
|
|
||||||
# SUPL_APN = abc.xyz
|
|
||||||
# SUPL_IP_TYPE = 4
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# Modem type
|
|
||||||
#####################################
|
|
||||||
# This setting configures modem type
|
|
||||||
# (external=0 or internal=1)
|
|
||||||
# comment out the next line to vote
|
|
||||||
# for the first modem in the list
|
|
||||||
MODEM_TYPE = 1
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# CONSTRAINED TIME UNCERTAINTY MODE
|
|
||||||
##################################################
|
|
||||||
# 0 : disabled (default)
|
|
||||||
# 1 : enabled
|
|
||||||
# This setting enables GPS engine to keep its time
|
|
||||||
# uncertainty below the specified constraint
|
|
||||||
#CONSTRAINED_TIME_UNCERTAINTY_ENABLED = 0
|
|
||||||
|
|
||||||
# If constrained time uncertainty mode is enabled,
|
|
||||||
# this setting specifies the time uncertainty
|
|
||||||
# threshold that gps engine need to maintain.
|
|
||||||
# In unit of milli-seconds.
|
|
||||||
# Default is 0.0 meaning that modem default value
|
|
||||||
# of time uncertainty threshold will be used.
|
|
||||||
#CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD = 0.0
|
|
||||||
|
|
||||||
# If constrained time uncertainty mode is enabled,
|
|
||||||
# this setting specifies the power budget that
|
|
||||||
# gps engine is allowed to spend to maintain the time
|
|
||||||
# uncertainty.
|
|
||||||
# Default is 0 meaning that GPS engine is not constained
|
|
||||||
# by power budget and can spend as much power as needed.
|
|
||||||
# In unit of 0.1 milli watt second.
|
|
||||||
#CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET = 0
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# POSITION ASSISTED CLOCK ESTIMATOR
|
|
||||||
##################################################
|
|
||||||
# 0 : disabled (default)
|
|
||||||
# 1 : enabled
|
|
||||||
# This setting enables GPS engine to estimate clock
|
|
||||||
# bias and drift when the signal from at least 1
|
|
||||||
# SV is available and the UE’s position is known by
|
|
||||||
# other position engines.
|
|
||||||
#POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# proxyAppPackageName
|
|
||||||
#####################################
|
|
||||||
# This is a string that is sent to the framework
|
|
||||||
# in nfwNotifyCb callback
|
|
||||||
PROXY_APP_PACKAGE_NAME = com.google.android.carrierlocation
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# CP_MTLR_ES
|
|
||||||
#####################################
|
|
||||||
# CP MTLR ES, 1=enable, 0=disable
|
|
||||||
CP_MTLR_ES=0
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# GNSS_DEPLOYMENT
|
|
||||||
##################################################
|
|
||||||
# 0 : Enable QTI GNSS (default)
|
|
||||||
# 1 : Enable QCSR SS5
|
|
||||||
# 2 : Enable PDS API
|
|
||||||
# This setting use to select between QTI GNSS,
|
|
||||||
# QCSR SS5 hardware receiver, and PDS API.
|
|
||||||
# By default QTI GNSS receiver is enabled.
|
|
||||||
# GNSS_DEPLOYMENT = 0
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
## LOG BUFFER CONFIGURATION
|
|
||||||
##################################################
|
|
||||||
#LOG_BUFFER_ENABLED, 1=enable, 0=disable
|
|
||||||
#*_LEVEL_TIME_DEPTH, maximum time depth of level *
|
|
||||||
#in log buffer, unit is second
|
|
||||||
#*_LEVEL_MAX_CAPACITY, maximum numbers of level *
|
|
||||||
#log print sentences in log buffer
|
|
||||||
LOG_BUFFER_ENABLED = 0
|
|
||||||
E_LEVEL_TIME_DEPTH = 600
|
|
||||||
E_LEVEL_MAX_CAPACITY = 50
|
|
||||||
W_LEVEL_TIME_DEPTH = 500
|
|
||||||
W_LEVEL_MAX_CAPACITY = 100
|
|
||||||
I_LEVEL_TIME_DEPTH = 400
|
|
||||||
I_LEVEL_MAX_CAPACITY = 200
|
|
||||||
D_LEVEL_TIME_DEPTH = 30
|
|
||||||
D_LEVEL_MAX_CAPACITY = 300
|
|
||||||
V_LEVEL_TIME_DEPTH = 200
|
|
||||||
V_LEVEL_MAX_CAPACITY = 400
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Allow buffer diag log packets when diag memory allocation
|
|
||||||
# fails during boot up time.
|
|
||||||
##################################################
|
|
||||||
BUFFER_DIAG_LOGGING = 1
|
|
||||||
|
|
||||||
#######################################
|
|
||||||
# NTRIP CLIENT LIBRARY NAME
|
|
||||||
#######################################
|
|
||||||
# NTRIP_CLIENT_LIB_NAME =
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Correction Data Framework settings
|
|
||||||
# Default values:
|
|
||||||
# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
|
|
||||||
# CDFW_INJECT_DATA_INTERVAL = 600000 //10 mins
|
|
||||||
# CDFW_RTCM_MESSAGE_INTERVAL = 1000 //1 second
|
|
||||||
#
|
|
||||||
# If multiple sources coexist on a PL,
|
|
||||||
# the prorioty sequence can be set by the integer number.
|
|
||||||
# PRIORITY_1 is higher than PRIORITY_2, for example,
|
|
||||||
# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
|
|
||||||
# CDFW_SOURCE_PRIORITY_2 = CV2X RTCM
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# RF LOSS
|
|
||||||
# The loss in 0.1 dbHz from the C/N0 at the antenna port
|
|
||||||
# These values must be configured by OEM if not
|
|
||||||
# supported in QMI LOC message
|
|
||||||
# There is one entry for each signal type
|
|
||||||
##################################################
|
|
||||||
RF_LOSS_GPS = 0
|
|
||||||
RF_LOSS_GPS_L5 = 0
|
|
||||||
RF_LOSS_GLO_LEFT = 0
|
|
||||||
RF_LOSS_GLO_CENTER = 0
|
|
||||||
RF_LOSS_GLO_RIGHT = 0
|
|
||||||
RF_LOSS_BDS = 0
|
|
||||||
RF_LOSS_BDS_B2A = 0
|
|
||||||
RF_LOSS_GAL = 0
|
|
||||||
RF_LOSS_GAL_E5 = 0
|
|
||||||
RF_LOSS_NAVIC = 0
|
|
|
@ -38,10 +38,10 @@
|
||||||
system /system ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
|
system /system ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
|
||||||
system_ext /system_ext ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
|
system_ext /system_ext ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
|
||||||
product /product ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
|
product /product ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
|
||||||
vendor /vendor ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount
|
vendor /vendor erofs ro wait,slotselect,avb,logical,first_stage_mount
|
||||||
vendor_dlkm /vendor_dlkm ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount
|
vendor_dlkm /vendor_dlkm erofs ro wait,slotselect,avb,logical,first_stage_mount
|
||||||
odm /odm ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount
|
odm /odm erofs ro wait,slotselect,avb,logical,first_stage_mount
|
||||||
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount
|
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,data=journal,commit=1 wait,check,formattable,first_stage_mount
|
||||||
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait
|
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait
|
||||||
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,inlinecrypt,reserve_root=32768,resgid=1065,fsync_mode=nobarrier latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,metadata_encryption=aes-256-xts:wrappedkey_v0,quota,reservedsize=128M,checkpoint=fs
|
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,inlinecrypt,reserve_root=32768,resgid=1065,fsync_mode=nobarrier latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,metadata_encryption=aes-256-xts:wrappedkey_v0,quota,reservedsize=128M,checkpoint=fs
|
||||||
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
|
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
|
||||||
|
|
|
@ -45,6 +45,13 @@ on property:sys.boot_completed=1
|
||||||
chmod 0600 /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
chmod 0600 /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||||
chown system system /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
chown system system /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||||
|
|
||||||
|
on property:vendor.post_boot.parsed=1
|
||||||
|
# IRQ Tuning
|
||||||
|
# IRQ 243: msm_drm
|
||||||
|
# IRQ 240: kgsl_3d0_irq
|
||||||
|
write /proc/irq/243/smp_affinity_list 2
|
||||||
|
write /proc/irq/240/smp_affinity_list 1
|
||||||
|
|
||||||
on property:sys.usb.config=adb && property:sys.usb.configfs=1
|
on property:sys.usb.config=adb && property:sys.usb.configfs=1
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
write /config/usb_gadget/g1/idVendor 0x22D9
|
||||||
write /config/usb_gadget/g1/idProduct 0x2769
|
write /config/usb_gadget/g1/idProduct 0x2769
|
||||||
|
|
|
@ -441,15 +441,6 @@ case "$target" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
baseband=`getprop ro.baseband`
|
|
||||||
#enable atfwd daemon all targets except sda, apq, qcs
|
|
||||||
case "$baseband" in
|
|
||||||
"apq" | "sda" | "qcs" )
|
|
||||||
setprop persist.vendor.radio.atfwd.start false;;
|
|
||||||
*)
|
|
||||||
setprop persist.vendor.radio.atfwd.start true;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
#set default lcd density
|
#set default lcd density
|
||||||
#Since lcd density has read only
|
#Since lcd density has read only
|
||||||
#property, it will not overwrite previous set
|
#property, it will not overwrite previous set
|
||||||
|
|
|
@ -82,8 +82,8 @@ on post-fs
|
||||||
chmod 0755 /sys/kernel/debug/tracing
|
chmod 0755 /sys/kernel/debug/tracing
|
||||||
|
|
||||||
on early-boot
|
on early-boot
|
||||||
# set RLIMIT_MEMLOCK to 64MB
|
# set RLIMIT_MEMLOCK to 64KB
|
||||||
setrlimit 8 67108864 67108864
|
setrlimit 8 65536 65536
|
||||||
# Allow subsystem (modem etc) debugging
|
# Allow subsystem (modem etc) debugging
|
||||||
write /sys/kernel/boot_adsp/boot 1
|
write /sys/kernel/boot_adsp/boot 1
|
||||||
write /sys/kernel/boot_cdsp/boot 1
|
write /sys/kernel/boot_cdsp/boot 1
|
||||||
|
@ -478,12 +478,6 @@ on property:sys.boot_completed=1
|
||||||
#Reinit lmkd to reconfigure lmkd properties
|
#Reinit lmkd to reconfigure lmkd properties
|
||||||
setprop lmkd.reinit 1
|
setprop lmkd.reinit 1
|
||||||
|
|
||||||
on property:persist.vendor.radio.atfwd.start=false
|
|
||||||
stop vendor.atfwd
|
|
||||||
|
|
||||||
on property:vendor.radio.atfwd.start=false
|
|
||||||
stop vendor.atfwd
|
|
||||||
|
|
||||||
# corefile limit
|
# corefile limit
|
||||||
on property:persist.debug.trace=1
|
on property:persist.debug.trace=1
|
||||||
mkdir /data/core 0777 root root
|
mkdir /data/core 0777 root root
|
||||||
|
@ -714,11 +708,6 @@ service qvop-daemon /vendor/bin/qvop-daemon
|
||||||
user system
|
user system
|
||||||
group system drmrpc
|
group system drmrpc
|
||||||
|
|
||||||
service vendor.atfwd /vendor/bin/ATFWD-daemon
|
|
||||||
class late_start
|
|
||||||
user system
|
|
||||||
group system radio
|
|
||||||
|
|
||||||
service hostapd_fst /vendor/bin/hw/hostapd -dd -g /data/vendor/wifi/hostapd/global
|
service hostapd_fst /vendor/bin/hw/hostapd -dd -g /data/vendor/wifi/hostapd/global
|
||||||
class main
|
class main
|
||||||
capabilities NET_ADMIN NET_RAW
|
capabilities NET_ADMIN NET_RAW
|
||||||
|
@ -752,13 +741,6 @@ service profiler_daemon /system/bin/profiler_daemon
|
||||||
group root
|
group root
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
service charger /system/bin/charger
|
|
||||||
class charger
|
|
||||||
user system
|
|
||||||
group system graphics input
|
|
||||||
capabilities SYS_BOOT
|
|
||||||
seclabel u:r:charger:s0
|
|
||||||
|
|
||||||
service vendor.ssr_diag /system/vendor/bin/ssr_diag
|
service vendor.ssr_diag /system/vendor/bin/ssr_diag
|
||||||
class late_start
|
class late_start
|
||||||
user system
|
user system
|
||||||
|
@ -837,7 +819,7 @@ service esepmdaemon /system/vendor/bin/esepmdaemon
|
||||||
user system
|
user system
|
||||||
group nfc
|
group nfc
|
||||||
|
|
||||||
on charger
|
on property:init.svc.vendor.charger=running
|
||||||
setprop persist.sys.usb.config mass_storage
|
setprop persist.sys.usb.config mass_storage
|
||||||
start qcom-post-boot
|
start qcom-post-boot
|
||||||
|
|
||||||
|
@ -907,5 +889,5 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
|
||||||
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock
|
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock
|
||||||
capabilities BLOCK_SUSPEND
|
capabilities BLOCK_SUSPEND
|
||||||
ioprio rt 4
|
ioprio rt 4
|
||||||
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
onrestart restart audioserver
|
onrestart restart audioserver
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
# Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
# Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
||||||
|
# Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are
|
# modification, are permitted provided that the following conditions are
|
||||||
|
@ -85,8 +86,6 @@ on post-fs
|
||||||
setrlimit 8 67108864 67108864
|
setrlimit 8 67108864 67108864
|
||||||
|
|
||||||
on late-fs
|
on late-fs
|
||||||
wait_for_prop hwservicemanager.ready true
|
|
||||||
#exec_start wait_for_keymaster
|
|
||||||
mount_all --late
|
mount_all --late
|
||||||
|
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
|
@ -97,14 +96,6 @@ on early-boot
|
||||||
|
|
||||||
on boot
|
on boot
|
||||||
write /dev/cpuset/audio-app/cpus 1-2
|
write /dev/cpuset/audio-app/cpus 1-2
|
||||||
# Add a cpuset for the camera daemon
|
|
||||||
# We want all cores for camera
|
|
||||||
mkdir /dev/cpuset/camera-daemon
|
|
||||||
write /dev/cpuset/camera-daemon/cpus 0-3
|
|
||||||
write /dev/cpuset/camera-daemon/mems 0
|
|
||||||
chown cameraserver cameraserver /dev/cpuset/camera-daemon
|
|
||||||
chown cameraserver cameraserver /dev/cpuset/camera-daemon/tasks
|
|
||||||
chmod 0660 /dev/cpuset/camera-daemon/tasks
|
|
||||||
#USB controller configuration
|
#USB controller configuration
|
||||||
setprop vendor.usb.rndis.func.name "gsi"
|
setprop vendor.usb.rndis.func.name "gsi"
|
||||||
setprop vendor.usb.rmnet.func.name "gsi"
|
setprop vendor.usb.rmnet.func.name "gsi"
|
||||||
|
@ -124,11 +115,7 @@ on property:vendor.display.lcd_density=640
|
||||||
on boot && property:persist.vendor.usb.controller.default=*
|
on boot && property:persist.vendor.usb.controller.default=*
|
||||||
setprop vendor.usb.controller ${persist.vendor.usb.controller.default}
|
setprop vendor.usb.controller ${persist.vendor.usb.controller.default}
|
||||||
|
|
||||||
on charger
|
on property:init.svc.vendor.charger=running
|
||||||
mount_all /vendor/etc/charger_fstab.qti --early
|
|
||||||
write /sys/kernel/boot_adsp/boot 1
|
|
||||||
#restart charger after ADSP is out of reset
|
|
||||||
restart charger
|
|
||||||
start vendor.power_off_alarm
|
start vendor.power_off_alarm
|
||||||
setprop sys.usb.controller 4e00000.dwc3
|
setprop sys.usb.controller 4e00000.dwc3
|
||||||
setprop sys.usb.configfs 1
|
setprop sys.usb.configfs 1
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
using android::base::GetProperty;
|
using android::base::GetProperty;
|
||||||
|
|
||||||
constexpr const char* BUILD_DESCRIPTION = "OnePlusN200TMO-user 12 SKQ1.210216.001 14c4b0e_2-822fa release-keys";
|
constexpr const char* BUILD_DESCRIPTION = "OnePlusN200TMO-user 12 SKQ1.210216.001 R.1a8c53b_1-164cb1 release-keys";
|
||||||
constexpr const char* BUILD_FINGERPRINT = "OnePlus/OnePlusN200TMO/OnePlusN200TMO:12/SKQ1.210216.001/R.202311232048:user/release-keys";
|
constexpr const char* BUILD_FINGERPRINT = "OnePlus/OnePlusN200TMO/OnePlusN200TMO:12/SKQ1.210216.001/R.1a8c53b_1-164cb1:user/release-keys";
|
||||||
|
|
||||||
constexpr const char* RO_PROP_SOURCES[] = {
|
constexpr const char* RO_PROP_SOURCES[] = {
|
||||||
nullptr,
|
nullptr,
|
||||||
|
|
|
@ -198,7 +198,6 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/dev/msm_vidc_dec_sec 0660 system audio
|
/dev/msm_vidc_dec_sec 0660 system audio
|
||||||
/dev/msm_vidc_enc 0660 system audio
|
/dev/msm_vidc_enc 0660 system audio
|
||||||
/dev/msm_rotator 0660 system system
|
/dev/msm_rotator 0660 system system
|
||||||
/dev/hw_random 0600 root root
|
|
||||||
/dev/sdsprpc-smd 0660 system system
|
/dev/sdsprpc-smd 0660 system system
|
||||||
|
|
||||||
#permissions for audio
|
#permissions for audio
|
||||||
|
|
49
manifest.xml
49
manifest.xml
|
@ -1,4 +1,4 @@
|
||||||
<manifest version="2.0" type="device" target-level="5">
|
<manifest version="2.0" type="device" target-level="6">
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.audio</name>
|
<name>android.hardware.audio</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
@ -26,15 +26,6 @@
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.bluetooth.audio</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>2.1</version>
|
|
||||||
<interface>
|
|
||||||
<name>IBluetoothAudioProvidersFactory</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.camera.provider</name>
|
<name>android.hardware.camera.provider</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
@ -68,37 +59,6 @@
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.media.omx</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IOmx</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IOmxStore</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.memtrack</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IMemtrack</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.nfc</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>1.2</version>
|
|
||||||
<interface>
|
|
||||||
<name>INfc</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.radio</name>
|
<name>android.hardware.radio</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
@ -135,7 +95,7 @@
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.tetheroffload.control</name>
|
<name>android.hardware.tetheroffload.control</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>1.0</version>
|
<version>1.1</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IOffloadControl</name>
|
<name>IOffloadControl</name>
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
|
@ -373,7 +333,7 @@
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>vendor.qti.hardware.radio.ims</name>
|
<name>vendor.qti.hardware.radio.ims</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>1.6</version>
|
<version>1.7</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IImsRadio</name>
|
<name>IImsRadio</name>
|
||||||
<instance>imsradio0</instance>
|
<instance>imsradio0</instance>
|
||||||
|
@ -409,7 +369,7 @@
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>vendor.qti.hardware.radio.qtiradio</name>
|
<name>vendor.qti.hardware.radio.qtiradio</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>2.5</version>
|
<version>2.7</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IQtiRadio</name>
|
<name>IQtiRadio</name>
|
||||||
<instance>slot1</instance>
|
<instance>slot1</instance>
|
||||||
|
@ -512,6 +472,7 @@
|
||||||
<name>vendor.qti.ims.factory</name>
|
<name>vendor.qti.ims.factory</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>1.1</version>
|
<version>1.1</version>
|
||||||
|
<version>2.2</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IImsFactory</name>
|
<name>IImsFactory</name>
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
|
|
300
media/media_codecs.xml
Normal file
300
media/media_codecs.xml
Normal file
|
@ -0,0 +1,300 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
|
||||||
|
All Rights Reserved.
|
||||||
|
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
|
||||||
|
Not a Contribution.
|
||||||
|
|
||||||
|
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
||||||
|
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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
"performance-point"
|
||||||
|
Vendor-guaranteed performance advertised to the applications
|
||||||
|
<Limit name="performance-point-widthxheight" value="fps" />
|
||||||
|
|
||||||
|
-For each of the resolutions, the advertised fps is the max supported,
|
||||||
|
with HW-friendly color format and considering video-only.
|
||||||
|
-Performance for any intermediate resolution will be that of the
|
||||||
|
next-higher-advertised-resolution.
|
||||||
|
|
||||||
|
standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
|
||||||
|
standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
|
||||||
|
* HD+ only
|
||||||
|
+ SD only
|
||||||
|
- All supported standard performance points are listed (unless they are
|
||||||
|
covered by another listed standard performance point)
|
||||||
|
- Non-standard performance points are listed along with all the standard
|
||||||
|
performance points covered by them.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Lahaina Non-Secure decoder capabilities
|
||||||
|
(MB is defined as 16x16)
|
||||||
|
_______________________________________________________
|
||||||
|
| Codec | W H fps Mbps MB/s |
|
||||||
|
|_____________|_______________________________________|
|
||||||
|
| h264 | 3840 2176 60 100 1958400 |
|
||||||
|
| | 4096 2176 48 100 |
|
||||||
|
| hevc | 3840 2176 60 100 1958400 |
|
||||||
|
| | 4096 2176 48 100 |
|
||||||
|
| vp9 | 3840 2176 60 100 1958400 |
|
||||||
|
| | 4096 2176 48 100 |
|
||||||
|
| mpeg2 | 1920 1088 30 40 244800 |
|
||||||
|
|_____________|_______________________________________|
|
||||||
|
|
||||||
|
Lahaina Secure decoder capabilities
|
||||||
|
(MB is defined as 16x16)
|
||||||
|
__________________________________________________
|
||||||
|
| Codec | W H fps Mbps MB/s |
|
||||||
|
|__________|_____________________________________|
|
||||||
|
| h264 | 3840 2176 60 40 1958400 |
|
||||||
|
| | 4096 2176 48 40 |
|
||||||
|
| vp9 | 3840 2176 60 40 1958400 |
|
||||||
|
| | 4096 2176 48 40 |
|
||||||
|
| hevc | 3840 2176 60 40 1958400 |
|
||||||
|
| | 4096 2176 48 40 |
|
||||||
|
|__________|_____________________________________|
|
||||||
|
|
||||||
|
Lahaina Non-Secure encoder capabilities (Secure not supported)
|
||||||
|
(MB is defined as 16x16)
|
||||||
|
__________________________________________________
|
||||||
|
| Codec | W H fps Mbps MB/s |
|
||||||
|
|__________|_____________________________________|
|
||||||
|
| h264 | 3840 2176 60 100 1958400 |
|
||||||
|
| | 4096 2176 48 100 |
|
||||||
|
| hevc | 3840 2176 60 100 1958400 |
|
||||||
|
| | 4096 2176 48 100 |
|
||||||
|
|__________|_____________________________________|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<MediaCodecs>
|
||||||
|
<Settings>
|
||||||
|
<Domain name="telephony" enabled="true" />
|
||||||
|
<Setting name="max-video-encoder-input-buffers" value="11" />
|
||||||
|
</Settings>
|
||||||
|
<Decoders>
|
||||||
|
<!-- C2 decoders -->
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
||||||
|
<Alias name="OMX.qcom.video.decoder.avc"/>
|
||||||
|
<Limit name="size" min="96x96" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-34816" />
|
||||||
|
<Limit name="blocks-per-second" range="36-1958400" />
|
||||||
|
<Limit name="bitrate" range="1-100000000" />
|
||||||
|
<Limit name="frame-rate" range="1-480" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="240" />
|
||||||
|
<Limit name="performance-point-1280x720" value="480" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
||||||
|
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
||||||
|
<Limit name="size" min="96x96" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-34816" />
|
||||||
|
<Limit name="blocks-per-second" range="36-1958400" />
|
||||||
|
<Limit name="bitrate" range="1-100000000" />
|
||||||
|
<Limit name="frame-rate" range="1-480" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="240" />
|
||||||
|
<Limit name="performance-point-1280x720" value="480" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
||||||
|
<Limit name="size" min="96x96" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-34816" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="1958400" />
|
||||||
|
<Limit name="bitrate" range="1-40000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="secure-playback" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
||||||
|
<Limit name="size" min="96x96" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-34816" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="1958400" />
|
||||||
|
<Limit name="bitrate" range="1-100000000" />
|
||||||
|
<Limit name="frame-rate" range="1-480" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="240" />
|
||||||
|
<Limit name="performance-point-1280x720" value="480" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
||||||
|
<Limit name="size" min="96x96" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-34816" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="1958400" />
|
||||||
|
<Limit name="bitrate" range="1-100000000" />
|
||||||
|
<Limit name="frame-rate" range="1-480" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="240" />
|
||||||
|
<Limit name="performance-point-1280x720" value="480" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
||||||
|
<Limit name="size" min="96x96" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-34816" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="1958400" />
|
||||||
|
<Limit name="bitrate" range="1-40000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="secure-playback" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
||||||
|
<Limit name="size" min="96x96" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-34816" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="1958400" />
|
||||||
|
<Limit name="bitrate" range="1-100000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
||||||
|
<Limit name="size" min="96x96" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-34816" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="1958400" />
|
||||||
|
<Limit name="bitrate" range="1-40000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="secure-playback" required="true" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.mpeg2.decoder" type="video/mpeg2" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.mpeg2"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="block-count" range="36-8160" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="244800" />
|
||||||
|
<Limit name="bitrate" range="1-40000000" />
|
||||||
|
<Limit name="frame-rate" range="1-30" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="30" />
|
||||||
|
</MediaCodec>
|
||||||
|
</Decoders>
|
||||||
|
<Encoders>
|
||||||
|
<!-- C2 encoders -->
|
||||||
|
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
||||||
|
<Alias name="OMX.qcom.video.encoder.avc"/>
|
||||||
|
<Limit name="size" min="128x128" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="64" max="1958400" />
|
||||||
|
<Limit name="block-count" range="64-34816" />
|
||||||
|
<Limit name="bitrate" range="1-100000000" />
|
||||||
|
<Limit name="frame-rate" range="1-480" />
|
||||||
|
<Limit name="complexity" range="0-100" default="100" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="240" />
|
||||||
|
<Limit name="performance-point-1280x720" value="480" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
||||||
|
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
||||||
|
<Limit name="size" min="128x128" max="4096x2176" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="64" max="1958400" />
|
||||||
|
<Limit name="block-count" range="64-34816" />
|
||||||
|
<Limit name="bitrate" range="1-100000000" />
|
||||||
|
<Limit name="frame-rate" range="1-480" />
|
||||||
|
<Limit name="complexity" range="0-100" default="100" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
|
<Limit name="performance-point-4096x2304" value="30" />
|
||||||
|
<Limit name="performance-point-3840x2160" value="60" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="240" />
|
||||||
|
<Limit name="performance-point-1280x720" value="480" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
||||||
|
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
||||||
|
<Limit name="size" min="128x128" max="512x512" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="64" max="20480" />
|
||||||
|
<Limit name="bitrate" range="1-160000000" />
|
||||||
|
<Limit name="frame-rate" range="1-20" />
|
||||||
|
<Limit name="complexity" range="0-100" default="100" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="quality" range="0-100" default="80" />
|
||||||
|
<Feature name="bitrate-modes" value="CQ" />
|
||||||
|
<Limit name="performance-point-512x512" value="2025" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
||||||
|
<Alias name="OMX.qcom.video.encoder.heic"/>
|
||||||
|
<Limit name="size" min="512x512" max="16384x16384" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="64" max="3916800" />
|
||||||
|
<Limit name="bitrate" range="1-160000000" />
|
||||||
|
<Limit name="frame-rate" range="1-20" />
|
||||||
|
<Limit name="complexity" range="0-100" default="100" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="quality" range="0-100" default="80" />
|
||||||
|
<Feature name="bitrate-modes" value="CQ" />
|
||||||
|
<Limit name="performance-point-16384x8192" value="3" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="6" />
|
||||||
|
</MediaCodec>
|
||||||
|
</Encoders>
|
||||||
|
</MediaCodecs>
|
312
media/media_codecs_blair.xml
Normal file
312
media/media_codecs_blair.xml
Normal file
|
@ -0,0 +1,312 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
|
||||||
|
All Rights Reserved.
|
||||||
|
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
|
||||||
|
Not a Contribution.
|
||||||
|
|
||||||
|
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
||||||
|
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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
"performance-point"
|
||||||
|
Vendor-guaranteed performance advertised to the applications
|
||||||
|
<Limit name="performance-point-widthxheight" value="fps" />
|
||||||
|
|
||||||
|
-For each of the resolutions, the advertised fps is the max supported,
|
||||||
|
with HW-friendly color format and considering video-only.
|
||||||
|
-Performance for any intermediate resolution will be that of the
|
||||||
|
next-higher-advertised-resolution.
|
||||||
|
|
||||||
|
standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
|
||||||
|
standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
|
||||||
|
* HD+ only
|
||||||
|
+ SD only
|
||||||
|
- All supported standard performance points are listed (unless they are
|
||||||
|
covered by another listed standard performance point)
|
||||||
|
- Non-standard performance points are listed along with all the standard
|
||||||
|
performance points covered by them.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Holi Non-Secure decoder capabilities
|
||||||
|
(MB is defined as 16x16)
|
||||||
|
|
||||||
|
_______________________________________________________
|
||||||
|
| Codec | W H fps Mbps MB/s |
|
||||||
|
|_____________|_________________________________________|
|
||||||
|
| h264 | 1920 1088 60 60 489600 |
|
||||||
|
| hevc | 1920 1080 60 60 489600 |
|
||||||
|
| vp9 | 1920 1088 60 60 489600 |
|
||||||
|
|_____________|_________________________________________|
|
||||||
|
|
||||||
|
Secure decoder capabilities
|
||||||
|
(MB is defined as 16x16)
|
||||||
|
|
||||||
|
_____________________________________________________
|
||||||
|
| Codec | W H fps Mbps MB/s |
|
||||||
|
|__________|_________________________________________|
|
||||||
|
| h264 | 1920 1088 60 35 489600 |
|
||||||
|
| vp9 | 1920 1088 60 35 489600 |
|
||||||
|
| hevc | 1920 1088 60 35 489600 |
|
||||||
|
|__________|_________________________________________|
|
||||||
|
|
||||||
|
|
||||||
|
Non-Secure encoder capabilities (Secure not supported)
|
||||||
|
(MB is defined as 16x16)
|
||||||
|
|
||||||
|
______________________________________________________
|
||||||
|
| Codec | W H fps Mbps MB/s |
|
||||||
|
|__________|_________________________________________|
|
||||||
|
| h264 | 1920 1088 60 60 489600 |
|
||||||
|
| hevc | 1920 1088 60 60 489600 |
|
||||||
|
|__________|_________________________________________|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<MediaCodecs>
|
||||||
|
<Settings>
|
||||||
|
<Domain name="telephony" enabled="true" />
|
||||||
|
<Setting name="max-video-encoder-input-buffers" value="11" />
|
||||||
|
</Settings>
|
||||||
|
<Settings>
|
||||||
|
<Variant name="slow-cpu" enabled="true" />
|
||||||
|
</Settings>
|
||||||
|
<Decoders>
|
||||||
|
<!-- C2 decoders -->
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
||||||
|
<Alias name="OMX.qcom.video.decoder.avc"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" range="36-489600" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-120" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
||||||
|
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" range="36-489600" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-120" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||||
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
|
<Feature name="secure-playback" required="true" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="30" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-120" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-120" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||||
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
|
<Feature name="secure-playback" required="true" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="30" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
||||||
|
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
||||||
|
<Limit name="size" min="96x96" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||||
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="secure-playback" required="true" />
|
||||||
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="30" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true" variant="slow-cpu">
|
||||||
|
<Limit name="size" min="96x96" max="1920x1080" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="24" max="2073600" />
|
||||||
|
<Limit name="bitrate" range="1-120000000" />
|
||||||
|
<Limit name="frame-rate" range="1-60" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
</MediaCodec>
|
||||||
|
</Decoders>
|
||||||
|
<Encoders>
|
||||||
|
<!-- C2 encoders -->
|
||||||
|
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
||||||
|
<Alias name="OMX.qcom.video.encoder.avc"/>
|
||||||
|
<Limit name="size" min="128x128" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="64" max="489600" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-120" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="intra-refresh" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
||||||
|
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
||||||
|
<Limit name="size" min="128x128" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="64" max="489600" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-120" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
|
<Feature name="intra-refresh" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
||||||
|
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
||||||
|
<Limit name="size" min="128x128" max="512x512" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="64" max="786432" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-120" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="quality" range="0-100" default="80" />
|
||||||
|
<Feature name="bitrate-modes" value="CQ" />
|
||||||
|
<Limit name="performance-point-512x512" value="3825" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
||||||
|
<Alias name="OMX.qcom.video.encoder.heic"/>
|
||||||
|
<Limit name="size" min="512x512" max="8192x8192" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" min="64" max="786432" />
|
||||||
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
|
<Limit name="frame-rate" range="1-20" />
|
||||||
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Limit name="quality" range="0-100" default="80" />
|
||||||
|
<Feature name="bitrate-modes" value="CQ" />
|
||||||
|
<Limit name="performance-point-8192x4320" value="3" />
|
||||||
|
<Limit name="performance-point-1920x1080" value="6" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true" variant="slow-cpu">
|
||||||
|
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
||||||
|
<Limit name="size" min="2x2" max="512x512" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="8x8" />
|
||||||
|
<Limit name="block-count" range="1-4096" /> <!-- max 512x512 -->
|
||||||
|
<Limit name="blocks-per-second" range="1-122880" />
|
||||||
|
<Limit name="frame-rate" range="1-120" />
|
||||||
|
<Limit name="bitrate" range="1-10000000" />
|
||||||
|
<Limit name="complexity" range="0-10" default="0" />
|
||||||
|
<Limit name="quality" range="0-100" default="80" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true" variant="slow-cpu">
|
||||||
|
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
|
||||||
|
<Limit name="size" min="2x2" max="2048x2048" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<!-- 2016 devices can encode at about 8fps at this block count -->
|
||||||
|
<Limit name="block-count" range="1-3600" /> <!-- max 1280x720 -->
|
||||||
|
<Limit name="bitrate" range="1-40000000" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.av1.encoder" type="video/av01" update="true" variant="slow-cpu">
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="size" min="2x2" max="720x720" />
|
||||||
|
<Limit name="block-count" range="1-1350" /> <!-- max 720x480 -->
|
||||||
|
<Limit name="bitrate" range="1-5000000" />
|
||||||
|
<Limit name="quality" range="0-100" default="80" />
|
||||||
|
<Limit name="complexity" range="0-5" default="0" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
||||||
|
<Attribute name="software-codec" />
|
||||||
|
</MediaCodec>
|
||||||
|
</Encoders>
|
||||||
|
</MediaCodecs>
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2018-2020 Qualcomm Technologies, Inc.
|
Copyright (c) 2018-2022 Qualcomm Technologies, Inc.
|
||||||
All Rights Reserved.
|
All Rights Reserved.
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
|
||||||
|
@ -78,10 +78,8 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<MediaCodecs>
|
<MediaCodecs>
|
||||||
<Include href="media_codecs_google_audio.xml" />
|
|
||||||
<Include href="media_codecs_vendor_audio.xml" />
|
|
||||||
<Include href="media_codecs_google_telephony.xml" />
|
|
||||||
<Settings>
|
<Settings>
|
||||||
|
<Domain name="telephony" enabled="true" />
|
||||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
<Setting name="max-video-encoder-input-buffers" value="11" />
|
||||||
</Settings>
|
</Settings>
|
||||||
<Settings>
|
<Settings>
|
||||||
|
@ -99,6 +97,7 @@
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
@ -113,6 +112,8 @@
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
@ -126,6 +127,8 @@
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
<Limit name="frame-rate" range="1-60" />
|
<Limit name="frame-rate" range="1-60" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
@ -140,6 +143,7 @@
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
@ -153,6 +157,8 @@
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
@ -166,6 +172,8 @@
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
<Limit name="frame-rate" range="1-60" />
|
<Limit name="frame-rate" range="1-60" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="low-latency" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
<Limit name="performance-point-1920x1080" value="30" />
|
||||||
|
@ -179,6 +187,7 @@
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
<Limit name="frame-rate" range="1-60" />
|
<Limit name="frame-rate" range="1-60" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -191,6 +200,7 @@
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
<Limit name="frame-rate" range="1-60" />
|
<Limit name="frame-rate" range="1-60" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
<Limit name="performance-point-1920x1080" value="30" />
|
||||||
|
@ -216,6 +226,9 @@
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="intra-refresh" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -229,6 +242,8 @@
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
|
<Feature name="intra-refresh" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -283,5 +298,4 @@
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
</Encoders>
|
</Encoders>
|
||||||
<Include href="media_codecs_google_c2.xml" />
|
|
||||||
</MediaCodecs>
|
</MediaCodecs>
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2018-2020 Qualcomm Technologies, Inc.
|
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
|
||||||
All Rights Reserved.
|
All Rights Reserved.
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
|
||||||
|
@ -78,10 +78,8 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<MediaCodecs>
|
<MediaCodecs>
|
||||||
<Include href="media_codecs_google_audio.xml" />
|
|
||||||
<Include href="media_codecs_vendor_audio.xml" />
|
|
||||||
<Include href="media_codecs_google_telephony.xml" />
|
|
||||||
<Settings>
|
<Settings>
|
||||||
|
<Domain name="telephony" enabled="true" />
|
||||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
<Setting name="max-video-encoder-input-buffers" value="11" />
|
||||||
</Settings>
|
</Settings>
|
||||||
<Settings>
|
<Settings>
|
||||||
|
@ -99,6 +97,7 @@
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
@ -113,6 +112,7 @@
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Feature name="low-latency" />
|
<Feature name="low-latency" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
@ -127,6 +127,7 @@
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
<Limit name="frame-rate" range="1-60" />
|
<Limit name="frame-rate" range="1-60" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Feature name="low-latency" />
|
<Feature name="low-latency" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
@ -142,6 +143,7 @@
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
@ -155,6 +157,7 @@
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Feature name="low-latency" />
|
<Feature name="low-latency" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
|
@ -169,6 +172,7 @@
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
<Limit name="frame-rate" range="1-60" />
|
<Limit name="frame-rate" range="1-60" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Feature name="low-latency" />
|
<Feature name="low-latency" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
|
@ -183,6 +187,7 @@
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
<Limit name="frame-rate" range="1-60" />
|
<Limit name="frame-rate" range="1-60" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -195,6 +200,7 @@
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
<Limit name="bitrate" range="1-35000000" />
|
||||||
<Limit name="frame-rate" range="1-60" />
|
<Limit name="frame-rate" range="1-60" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Limit name="concurrent-instances" max="3" />
|
<Limit name="concurrent-instances" max="3" />
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
<Limit name="performance-point-1920x1080" value="30" />
|
||||||
|
@ -220,6 +226,9 @@
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
<Limit name="bitrate" range="1-60000000" />
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
|
<Feature name="intra-refresh" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -233,6 +242,8 @@
|
||||||
<Limit name="frame-rate" range="1-120" />
|
<Limit name="frame-rate" range="1-120" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
|
<Feature name="intra-refresh" />
|
||||||
|
<Feature name="can-swap-width-height" required="true" />
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
<Limit name="performance-point-1920x1080" value="60" />
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -287,5 +298,4 @@
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
</Encoders>
|
</Encoders>
|
||||||
<Include href="media_codecs_google_c2.xml" />
|
|
||||||
</MediaCodecs>
|
</MediaCodecs>
|
168
media/media_codecs_performance.xml
Normal file
168
media/media_codecs_performance.xml
Normal file
|
@ -0,0 +1,168 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2018-2020 Qualcomm Technologies, Inc.
|
||||||
|
All Rights Reserved.
|
||||||
|
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
|
||||||
|
Not a Contribution.
|
||||||
|
|
||||||
|
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
|
||||||
|
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>
|
||||||
|
<Decoders>
|
||||||
|
<!-- C2 HW decoders -->
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="280-397" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="450-1700" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="250-950" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1088" range="120-500" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="380-2000" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="380-2000" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="253-950" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="120-410" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="465-1900" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="370-1550" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="188-397" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="260-1200" />
|
||||||
|
<Limit name="measured-frame-rate-3840x2160" range="67-505" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="390-1850" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="243-397" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="380-1700" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="315-1920" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="220-800" />
|
||||||
|
<Limit name="measured-frame-rate-3840x2160" range="67-240" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="415-1700" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="265-1600" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="142-450" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="130-450" />
|
||||||
|
<Limit name="measured-frame-rate-3840x2160" range="39-255" />
|
||||||
|
</MediaCodec>
|
||||||
|
<!-- TODO: add C2 mpeg2 decoder performance data -->
|
||||||
|
|
||||||
|
<!-- C2 SW codecs -->
|
||||||
|
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
||||||
|
<!-- measured 98%:153-414 med:193/192 FLAKY(mn=61.7 < 96 - 414 < mx=423.7) -->
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="211-600" /> <!-- N=266 v98%=1.6 -->
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="57-405" /> <!-- N=266 v98%=1.5 -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="17-98" /> <!-- N=236 v98%=1.5 (-PD1A.180712.003) -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="20-28" /> <!-- N=272 v98%=1.4 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="220-950" /> <!-- N=270 v98%=1.6 -->
|
||||||
|
<!-- measured 98%:77-220 med:165/169 FLAKY(mn=74.9 < 75 - 338) -->
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="120-830" /> <!-- TWEAKED N=269 v98%=1.7 -->
|
||||||
|
<!-- measured 98%:85-223 med:194/186 FLAKY(mn=80.8 < 85 - 372) -->
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="129-563" /> <!-- TWEAKED N=270 v98%=1.6 -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="41-200" /> <!-- N=270 v98%=1.4 -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="25-100" /> <!-- N=230 v98%=1.2 (-PD1A.180706.000) -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
|
<!-- measured 98%:191-657 med:617/613 FLAKY(mn=183.9 < 191 - 1226) -->
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="550-1850" /> <!-- TWEAKED N=270 v98%=1.9 (-PD1A.180717.001) -->
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="250-800" /> <!-- N=230 v98%=1.3 -->
|
||||||
|
<!-- measured 98%:35-54 med:36/36 N=64 -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="59-360" /> <!-- v98%=1.2 (PD1A.180706.000-) -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="23-113" /> <!-- N=270 v98%=1.3 (-PD1A.180717.001) -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
||||||
|
<!-- measured 98%:173-698 med:670/668 FLAKY(mn=161.4 < 162 - 1336) variance:2.0 -->
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="488-1500" /> <!-- TWEAKED N=228 -->
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="265-900" /> <!-- N=272 v98%=1.9 (-PD1A.180717.001) -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="95-400" /> <!-- N=270 v98%=1.3 (-PD1A.180717.001) -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="50-215" /> <!-- N=230 v98%=1.2 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
||||||
|
<!-- measured 98%:151-1143 med:437/432 FLAKY(111 - 972 < mx=1146.8) variance:2.8 -->
|
||||||
|
<Limit name="measured-frame-rate-176x144" range="800-2600" /> <!-- N=270 -->
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="620-1900" /> <!-- N=270 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
||||||
|
<!-- measured 90%:149-1332 med:379/360 FLAKY(109 - 958 < mx=1400.6) RG.VARIANCE:2.1 -->
|
||||||
|
<Limit name="measured-frame-rate-176x144" range="865-2800" /> <!-- N=272 v90%=3.0 -->
|
||||||
|
</MediaCodec>
|
||||||
|
</Decoders>
|
||||||
|
|
||||||
|
<Encoders>
|
||||||
|
<!-- C2 HW encoders -->
|
||||||
|
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="200-600" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="64-140" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="26-56" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="20-44" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="480-535" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="165-210" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="35-250" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="17-37" />
|
||||||
|
<Limit name="measured-frame-rate-3840x2160" range="11-25" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="340-400" />
|
||||||
|
</MediaCodec>
|
||||||
|
|
||||||
|
<!-- C2 SW encoders -->
|
||||||
|
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
||||||
|
<!-- measured 95%:144-637 med:343/343 FLAKY(mn=40.8 < 144 - 808 < mx=916.6) variance:2.1 -->
|
||||||
|
<Limit name="measured-frame-rate-176x144" range="287-459" /> <!-- TWEAKED N=224 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
||||||
|
<!-- measured 90%:42-420 med:146/160 FLAKY(mn=39.0 < 42 - 368 < mx=569.5) RG.VARIANCE:2.2 -->
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="140-980" /> <!-- SHOULDN'T HAVE TWEAKED N=266 v90%=3.2 -->
|
||||||
|
<!-- measured 98%:29-166 med:66/63 FLAKY(24 - 166 < mx=166.5) variance:2.4 -->
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="47-83" /> <!-- N=262 -->
|
||||||
|
<!-- measured 98%:11-68 med:30/30 FLAKY(mn=10.5 < 11 - 68 < mx=82.1) variance:2.5 -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="30-200" /> <!-- TWEAKED N=236 -->
|
||||||
|
<!-- measured 98%:10-38 med:18/18 FLAKY(mn=5.2 < 9 - 38 < mx=38.8) -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="20-80" /> <!-- N=288 v98%=2.0 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
||||||
|
<!-- measured 90%:29-451 med:208/206 FLAKY(mn=19.2 < 47 - 412 < mx=888.9) RG.VARIANCE:2.5 -->
|
||||||
|
<Limit name="measured-frame-rate-176x144" range="203-445" /> <!-- SHOULDN'T HAVE TWEAKED N=220 v90%=4.0 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
|
<!-- measured 90%:6-36 med:30/29 FLAKY(mn=0.0 < 7 - 58) variance:2.5 -->
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="299-429" /> <!-- SHOULDN'T HAVE TWEAKED N=214 -->
|
||||||
|
<!-- measured 98%:3-24 med:12/12 FLAKY(mn=2.8 < 3 - 24 < mx=26.6) variance:2.8 -->
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="75-350" /> <!-- N=220 -->
|
||||||
|
<!-- measured 98%:3-11 med:6/6 FLAKY(mn=0.0 < 3 - 12) -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="24-85" /> <!-- N=202 v98%=2.0 -->
|
||||||
|
<!-- measured 98%:3-7 med:5/5 FLAKY(mn=0.0 < 2 - 10 < mx=11.2) -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="10-115" /> <!-- N=212 v98%=1.5 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true">
|
||||||
|
<!-- measured 93%:99-156 med:109/109 N=24 -->
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="109-109" /> <!-- v93%=1.3 -->
|
||||||
|
<!-- measured 95%:54-67 med:61/61 N=36 -->
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="61-61" /> <!-- v95%=1.1 -->
|
||||||
|
<!-- measured 95%:16-26 med:20/20 N=32 -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="20-20" /> <!-- v95%=1.3 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="38-47" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="8-15" />
|
||||||
|
</MediaCodec>
|
||||||
|
</Encoders>
|
||||||
|
</MediaCodecs>
|
207
media/media_codecs_performance_blair.xml
Normal file
207
media/media_codecs_performance_blair.xml
Normal file
|
@ -0,0 +1,207 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
|
||||||
|
All Rights Reserved.
|
||||||
|
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
|
||||||
|
Not a Contribution.
|
||||||
|
|
||||||
|
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
|
||||||
|
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>
|
||||||
|
<Encoders>
|
||||||
|
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="238-238" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="123-123" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="50-50" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="13-20" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="226-226" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="121-121" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="49-49" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="12-17" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="124-176" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="126-178" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="35-50" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="19-28" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
|
||||||
|
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<!-- Xiang.Yang@MM.MediaServer.Record, 2022/7/26, -->
|
||||||
|
<!-- Modify for CtsMediaTestCases -->
|
||||||
|
<!--
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="17-24" />
|
||||||
|
-->
|
||||||
|
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="17-29" />
|
||||||
|
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="7-10" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="3-6" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="2-3" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
||||||
|
<Limit name="measured-frame-rate-176x144" range="256-349" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
||||||
|
<Limit name="measured-frame-rate-176x144" range="250-377" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="85-119" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="94-133" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="21-30" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="10-15" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="190-300"/>
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true">
|
||||||
|
<!-- measured 93%:99-156 med:109/109 N=24 -->
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="109-109" /> <!-- v93%=1.3 -->
|
||||||
|
<!-- measured 95%:54-67 med:61/61 N=36 -->
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="61-61" /> <!-- v95%=1.1 -->
|
||||||
|
<!-- measured 95%:16-26 med:20/20 N=32 -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="20-20" /> <!-- v95%=1.3 -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.av1.encoder" type="video/av01" update="true">
|
||||||
|
<!-- MANUALLY ADJUSTED -->
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="84-130" />
|
||||||
|
<!-- MANUALLY ADJUSTED -->
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="20-43" />
|
||||||
|
<!-- MANUALLY ADJUSTED -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="8-21" />
|
||||||
|
</MediaCodec>
|
||||||
|
</Encoders>
|
||||||
|
<Decoders>
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="480-510" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="460-490" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="350-400" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="320-517" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="101-221" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="200-420" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="76-167" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="510-530" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="465-620" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="200-390" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="273-562" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="440-600" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="215-425" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="377-377" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="323-323" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="262-262" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="220-220" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="101-223" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="42-59" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="17-37" />
|
||||||
|
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<!-- Xiang.Yang@MM.MediaServer.Record, 2022/7/26, -->
|
||||||
|
<!-- Modify for CtsMediaTestCases -->
|
||||||
|
<!--
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="8-12" />
|
||||||
|
-->
|
||||||
|
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="11-23" />
|
||||||
|
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
||||||
|
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<!-- Bingwang.Yang@MM.MediaServer.MULTMEDIASERVER, 2022/10/10, -->
|
||||||
|
<!-- Modify for CtsMediaTestCases -->
|
||||||
|
<!--
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="82-232" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="57-114" />
|
||||||
|
-->
|
||||||
|
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="102-232" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="57-154" />
|
||||||
|
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<!-- Xiang.Yang@MM.MediaServer.Record, 2022/1/7, -->
|
||||||
|
<!-- Modify for CtsMediaTestCases -->
|
||||||
|
<!--
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="69-99" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="35-51" />
|
||||||
|
-->
|
||||||
|
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="69-141" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="35-71" />
|
||||||
|
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="20-29" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
||||||
|
<Limit name="measured-frame-rate-176x144" range="376-524" />
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="310-415" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
||||||
|
<Limit name="measured-frame-rate-176x144" range="406-543" />
|
||||||
|
<!-- Modify for CtsMediaDecoderTestCase VideoDecoderPerfTesT -->
|
||||||
|
<Limit name="measured-frame-rate-480x360" range="580-600" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="380-400" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="570-665" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="267-378" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="75-107" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="30-43" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x180" range="182-360" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="85-200" />
|
||||||
|
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<!-- Zongjian.Wu@MM.MediaServer.Record, 2021/11/8, -->
|
||||||
|
<!-- Modify for CtsMediaTestCases -->
|
||||||
|
<!--
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="35-49" />
|
||||||
|
-->
|
||||||
|
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="35-91" />
|
||||||
|
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="23-33" />
|
||||||
|
</MediaCodec>
|
||||||
|
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true">
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="114-250" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="89-195" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="57-125" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="52-115" />
|
||||||
|
</MediaCodec>
|
||||||
|
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<!-- HuXiang@MULTIMEDIA.MEDIASERVER.PLAYER.7342822, 2024/06/17, -->
|
||||||
|
<MediaCodec name="c2.android.av1-dav1d.decoder" type="video/av01" update="true">
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="165-363" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="107-235" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="93-210" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="37-82" />
|
||||||
|
</MediaCodec>
|
||||||
|
<!-- #endif -->
|
||||||
|
</Decoders>
|
||||||
|
</MediaCodecs>
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2018-2020 Qualcomm Technologies, Inc.
|
Copyright (c) 2018-2022 Qualcomm Technologies, Inc.
|
||||||
All Rights Reserved.
|
All Rights Reserved.
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
||||||
<Limit name="measured-frame-rate-320x240" range="124-176" />
|
<Limit name="measured-frame-rate-320x240" range="124-176" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="53-76" />
|
<Limit name="measured-frame-rate-720x480" range="126-178" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-50" />
|
<Limit name="measured-frame-rate-1280x720" range="35-50" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="19-28" />
|
<Limit name="measured-frame-rate-1920x1080" range="19-28" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
<Limit name="measured-frame-rate-320x180" range="85-119" />
|
<Limit name="measured-frame-rate-320x180" range="85-119" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="41-65" />
|
<Limit name="measured-frame-rate-640x360" range="94-133" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="21-30" />
|
<Limit name="measured-frame-rate-1280x720" range="21-30" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="10-15" />
|
<Limit name="measured-frame-rate-1920x1080" range="10-15" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -72,20 +72,19 @@
|
||||||
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
|
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
||||||
<Limit name="measured-frame-rate-320x240" range="192-207" />
|
<Limit name="measured-frame-rate-320x240" range="320-517" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="101-221" />
|
<Limit name="measured-frame-rate-720x480" range="101-221" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-420" />
|
<Limit name="measured-frame-rate-1280x720" range="200-420" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="76-167" />
|
<Limit name="measured-frame-rate-1920x1080" range="76-167" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
||||||
<Limit name="measured-frame-rate-352x288" range="510-530" />
|
<Limit name="measured-frame-rate-352x288" range="510-530" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="465-620" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="465-620" />
|
<Limit name="measured-frame-rate-720x480" range="465-620" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-390" />
|
<Limit name="measured-frame-rate-1280x720" range="200-390" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
|
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
||||||
<Limit name="measured-frame-rate-352x288" range="800-850" />
|
<Limit name="measured-frame-rate-352x288" range="273-562" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="440-600" />
|
<Limit name="measured-frame-rate-720x480" range="440-600" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="215-425" />
|
<Limit name="measured-frame-rate-1280x720" range="215-425" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
|
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
|
||||||
|
@ -97,7 +96,7 @@
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="220-220" />
|
<Limit name="measured-frame-rate-1920x1080" range="220-220" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
||||||
<Limit name="measured-frame-rate-320x240" range="63-165" />
|
<Limit name="measured-frame-rate-320x240" range="318-326" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="42-59" />
|
<Limit name="measured-frame-rate-720x480" range="42-59" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="17-24" />
|
<Limit name="measured-frame-rate-1280x720" range="17-24" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="8-12" />
|
<Limit name="measured-frame-rate-1920x1080" range="8-12" />
|
||||||
|
@ -111,20 +110,23 @@
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
||||||
<Limit name="measured-frame-rate-176x144" range="376-524" />
|
<Limit name="measured-frame-rate-176x144" range="376-524" />
|
||||||
<Limit name="measured-frame-rate-352x288" range="310-415" />
|
<Limit name="measured-frame-rate-352x288" range="920-1035" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
||||||
<Limit name="measured-frame-rate-176x144" range="406-543" />
|
<Limit name="measured-frame-rate-176x144" range="406-543" />
|
||||||
|
<Limit name="measured-frame-rate-480x360" range="700-1100" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="300-600" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
<Limit name="measured-frame-rate-320x180" range="570-665" />
|
<Limit name="measured-frame-rate-320x180" range="570-665" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="133-184" />
|
<Limit name="measured-frame-rate-640x360" range="267-378" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="15-22" />
|
<Limit name="measured-frame-rate-1280x720" range="75-107" />
|
||||||
|
<Limit name="measured-frame-rate-1920x1080" range="30-43" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
||||||
<Limit name="measured-frame-rate-320x180" range="182-360" />
|
<Limit name="measured-frame-rate-320x180" range="810-865" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="85-200" />
|
<Limit name="measured-frame-rate-640x360" range="85-200" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-49" />
|
<Limit name="measured-frame-rate-1280x720" range="152-160" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="23-33" />
|
<Limit name="measured-frame-rate-1920x1080" range="23-33" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
</Decoders>
|
</Decoders>
|
|
@ -56,7 +56,7 @@
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
<Limit name="measured-frame-rate-320x180" range="85-119" />
|
<Limit name="measured-frame-rate-320x180" range="85-119" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="41-65" />
|
<Limit name="measured-frame-rate-640x360" range="84-117" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="21-30" />
|
<Limit name="measured-frame-rate-1280x720" range="21-30" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="10-15" />
|
<Limit name="measured-frame-rate-1920x1080" range="10-15" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -72,22 +72,23 @@
|
||||||
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
|
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
||||||
<Limit name="measured-frame-rate-320x240" range="192-207" />
|
<Limit name="measured-frame-rate-320x240" range="290-619" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="101-221" />
|
<Limit name="measured-frame-rate-720x480" range="101-221" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-420" />
|
<Limit name="measured-frame-rate-1280x720" range="200-420" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="76-167" />
|
<Limit name="measured-frame-rate-1920x1080" range="76-167" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
||||||
<Limit name="measured-frame-rate-352x288" range="510-530" />
|
<Limit name="measured-frame-rate-352x288" range="510-530" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="465-620" />
|
<!-- #ifdef OPLUS_BUG_COMPATIBILITY-->
|
||||||
|
<!-- LiuGuanbiao@MULTMEDIASERVER.PLAYER.793175, 2020/12/30, Modify for CTS test-->
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="240-1160" />
|
||||||
|
<!-- #endif OPLUS_BUG_COMPATIBILITY-->
|
||||||
<Limit name="measured-frame-rate-720x480" range="465-620" />
|
<Limit name="measured-frame-rate-720x480" range="465-620" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-390" />
|
<Limit name="measured-frame-rate-1280x720" range="200-390" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
|
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
||||||
<!-- chenchen@MM.audio, 2021/03/16, Change range from 800 to 200 start-->
|
<Limit name="measured-frame-rate-352x288" range="750-850" />
|
||||||
<Limit name="measured-frame-rate-352x288" range="200-850" />
|
|
||||||
<!-- chenchen@MM.audio, 2021/03/16, Change range from 800 to 200 end-->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="440-600" />
|
<Limit name="measured-frame-rate-720x480" range="440-600" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="215-425" />
|
<Limit name="measured-frame-rate-1280x720" range="215-425" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
|
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
|
||||||
|
@ -96,7 +97,7 @@
|
||||||
<Limit name="measured-frame-rate-320x240" range="377-377" />
|
<Limit name="measured-frame-rate-320x240" range="377-377" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="323-323" />
|
<Limit name="measured-frame-rate-640x360" range="323-323" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="262-262" />
|
<Limit name="measured-frame-rate-1280x720" range="262-262" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="220-220" />
|
<Limit name="measured-frame-rate-1920x1080" range="50-100" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
||||||
<Limit name="measured-frame-rate-320x240" range="63-165" />
|
<Limit name="measured-frame-rate-320x240" range="63-165" />
|
||||||
|
@ -107,8 +108,17 @@
|
||||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
||||||
<Limit name="measured-frame-rate-352x288" range="67-232" />
|
<Limit name="measured-frame-rate-352x288" range="67-232" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="57-89" />
|
<Limit name="measured-frame-rate-640x360" range="57-89" />
|
||||||
|
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<!-- Xiang.Hu@MM.MediaServer.MULTMEDIASERVER, 2022/1/11, -->
|
||||||
|
<!-- Modify for CtsMediaTestCases -->
|
||||||
|
<!--
|
||||||
<Limit name="measured-frame-rate-720x480" range="69-99" />
|
<Limit name="measured-frame-rate-720x480" range="69-99" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-51" />
|
<Limit name="measured-frame-rate-1280x720" range="35-51" />
|
||||||
|
-->
|
||||||
|
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="69-141" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="35-71" />
|
||||||
|
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-29" />
|
<Limit name="measured-frame-rate-1920x1080" range="20-29" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
||||||
|
@ -117,10 +127,13 @@
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
||||||
<Limit name="measured-frame-rate-176x144" range="406-543" />
|
<Limit name="measured-frame-rate-176x144" range="406-543" />
|
||||||
|
<Limit name="measured-frame-rate-480x360" range="500-600" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="300-400" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
<Limit name="measured-frame-rate-320x180" range="570-665" />
|
<Limit name="measured-frame-rate-320x180" range="570-665" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="133-184" />
|
<Limit name="measured-frame-rate-640x360" range="211-328" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="60-85" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="15-22" />
|
<Limit name="measured-frame-rate-1920x1080" range="15-22" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
@ -67,8 +67,8 @@ PRESENCE_CHECK_ALGORITHM=5
|
||||||
NCI_HAL_MODULE="nfc_nci.st21nfc"
|
NCI_HAL_MODULE="nfc_nci.st21nfc"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# White list to be set at startup.
|
# Allow list to be set at startup.
|
||||||
DEVICE_HOST_WHITE_LIST={02:C0}
|
DEVICE_HOST_ALLOW_LIST={02:C0}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# BAIL OUT value for P2P
|
# BAIL OUT value for P2P
|
||||||
|
|
3
odm.prop
3
odm.prop
|
@ -22,11 +22,10 @@ vendor.media.vpp.sr.enable=0
|
||||||
|
|
||||||
# Radio
|
# Radio
|
||||||
persist.vendor.radio.force_on_dc=true
|
persist.vendor.radio.force_on_dc=true
|
||||||
persist.vendor.radio.poweron_opt=1
|
|
||||||
persist.vendor.radio.stack_id_1=1
|
persist.vendor.radio.stack_id_1=1
|
||||||
ro.sys.reserve.integrate=true
|
ro.sys.reserve.integrate=true
|
||||||
ro.vendor.oplus.radio.project=2
|
ro.vendor.oplus.radio.project=2
|
||||||
ro.vendor.oplus.radio.sar_regionmark=FCC
|
ro.vendor.oplus.radio.sar_regionmark=FCC
|
||||||
|
|
||||||
# SVN
|
# SVN
|
||||||
ro.build.version.svn=28
|
ro.build.version.svn=34
|
||||||
|
|
|
@ -10,34 +10,6 @@
|
||||||
<bool name="config_proximityCheckOnWake">true</bool>
|
<bool name="config_proximityCheckOnWake">true</bool>
|
||||||
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
|
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
|
||||||
|
|
||||||
<!-- Hardware keys present on the device, stored as a bit field.
|
|
||||||
This integer should equal the sum of the corresponding value for each
|
|
||||||
of the following keys present:
|
|
||||||
1 - Home
|
|
||||||
2 - Back
|
|
||||||
4 - Menu
|
|
||||||
8 - Assistant (search)
|
|
||||||
16 - App switch
|
|
||||||
32 - Camera
|
|
||||||
64 - Volume rocker
|
|
||||||
For example, a device with Home, Back and Menu keys would set this
|
|
||||||
config to 7. -->
|
|
||||||
<integer name="config_deviceHardwareKeys">64</integer>
|
|
||||||
|
|
||||||
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
|
|
||||||
This integer should equal the sum of the corresponding value for each
|
|
||||||
of the following keys present:
|
|
||||||
1 - Home
|
|
||||||
2 - Back
|
|
||||||
4 - Menu
|
|
||||||
8 - Assistant (search)
|
|
||||||
16 - App switch
|
|
||||||
32 - Camera
|
|
||||||
64 - Volume rocker
|
|
||||||
For example, a device with Home, Back and Menu keys would set this
|
|
||||||
config to 7. -->
|
|
||||||
<integer name="config_deviceHardwareWakeKeys">64</integer>
|
|
||||||
|
|
||||||
<!-- Whether device has screen with higher aspect ratio -->
|
<!-- Whether device has screen with higher aspect ratio -->
|
||||||
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
||||||
|
|
||||||
|
@ -48,11 +20,4 @@
|
||||||
<item>restart_bootloader</item>
|
<item>restart_bootloader</item>
|
||||||
<item>restart_fastboot</item>
|
<item>restart_fastboot</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<!-- The list of package IDs that are not allowed to use aux cameras. -->
|
|
||||||
<string-array name="config_cameraAuxPackageExcludeList" translatable="false">
|
|
||||||
<item>org.telegram.messenger</item>
|
|
||||||
<item>org.thunderdog.challegram</item>
|
|
||||||
<item>us.zoom.videomeetings</item>
|
|
||||||
</string-array>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2022 The LineageOS Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!-- Max network scan search time in seconds -->
|
|
||||||
<integer name="config_network_scan_helper_max_search_time_sec">254</integer>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Copyright (C) 2015-2020 The Linux Foundation. All rights reserved.
|
<!--
|
||||||
Not a contribution.
|
Copyright (C) 2020-2024 The LineageOS Project
|
||||||
Copyright (C) 2012 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@ -15,10 +14,7 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<Included>
|
<resources>
|
||||||
<Decoders>
|
<!-- Show battery cycle count -->
|
||||||
<MediaCodec name="OMX.google.opus.decoder" type="audio/opus" update="true" rank="100"/>
|
<bool name="config_show_battery_cycle_count" translatable="false">true</bool>
|
||||||
<MediaCodec name="OMX.google.raw.decoder" type="audio/raw" update="true" rank="1"/>
|
</resources>
|
||||||
<!-- SimpleOMXComponet based software decoder-->
|
|
||||||
</Decoders>
|
|
||||||
</Included>
|
|
|
@ -5,9 +5,6 @@
|
||||||
-->
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
|
||||||
<integer-array name="config_availableColorModes" />
|
|
||||||
|
|
||||||
<!-- Control whether the always on display mode is available. This should only be enabled on
|
<!-- Control whether the always on display mode is available. This should only be enabled on
|
||||||
devices where the display has been tuned to be power efficient in DOZE and/or DOZE_SUSPEND
|
devices where the display has been tuned to be power efficient in DOZE and/or DOZE_SUSPEND
|
||||||
states. -->
|
states. -->
|
||||||
|
@ -61,12 +58,12 @@
|
||||||
<item>/apex/com.android.art/javalib/core-libart.jar</item>
|
<item>/apex/com.android.art/javalib/core-libart.jar</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||||
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||||
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||||
and Strength as defined in Authenticators.java -->
|
and Strength as defined in Authenticators.java -->
|
||||||
<string-array name="config_biometric_sensors" translatable="false" >
|
<string-array name="config_biometric_sensors" translatable="false">
|
||||||
<item>0:2:15</item>
|
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -417,12 +417,6 @@
|
||||||
config_defaultPeakRefreshRate will act as the default frame rate. -->
|
config_defaultPeakRefreshRate will act as the default frame rate. -->
|
||||||
<integer name="config_defaultRefreshRate">0</integer>
|
<integer name="config_defaultRefreshRate">0</integer>
|
||||||
|
|
||||||
<!-- The default peak refresh rate for a given device. Change this value if you want to prevent
|
|
||||||
the framework from using higher refresh rates, even if display modes with higher refresh
|
|
||||||
rates are available from hardware composer. Only has an effect if the value is
|
|
||||||
non-zero. -->
|
|
||||||
<integer name="config_defaultPeakRefreshRate">90</integer>
|
|
||||||
|
|
||||||
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
||||||
<integer-array name="config_longPressVibePattern">
|
<integer-array name="config_longPressVibePattern">
|
||||||
<item>0</item>
|
<item>0</item>
|
||||||
|
@ -435,9 +429,11 @@
|
||||||
<item>80</item>
|
<item>80</item>
|
||||||
</integer-array>
|
</integer-array>
|
||||||
|
|
||||||
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
|
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
||||||
<integer-array name="config_keyboardTapVibePattern">
|
<integer-array name="config_availableColorModes">
|
||||||
<item>80</item>
|
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
||||||
|
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
||||||
|
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
||||||
</integer-array>
|
</integer-array>
|
||||||
|
|
||||||
<!-- Indicates whether device has a power button fingerprint sensor. -->
|
<!-- Indicates whether device has a power button fingerprint sensor. -->
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
-->
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
|
<!-- Max network scan search time in seconds -->
|
||||||
|
<integer name="config_network_scan_helper_max_search_time_sec">254</integer>
|
||||||
|
|
||||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||||
<bool name="config_show_smooth_display">true</bool>
|
<bool name="config_show_smooth_display">true</bool>
|
||||||
|
|
||||||
|
|
|
@ -7,3 +7,6 @@ ro.af.client_heap_size_kbyte=7168
|
||||||
|
|
||||||
# GMS
|
# GMS
|
||||||
ro.opa.device_model_id=ga-oplus-skill-os121-211011
|
ro.opa.device_model_id=ga-oplus-skill-os121-211011
|
||||||
|
|
||||||
|
# IMS
|
||||||
|
persist.vendor.rcs.singlereg.feature=1
|
||||||
|
|
File diff suppressed because it is too large
Load diff
37
qcril-database/Android.bp
Normal file
37
qcril-database/Android.bp
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
//
|
||||||
|
// SPDX-FileCopyrightText: 2025 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
filegroup {
|
||||||
|
name: "rildb_config_sql_files",
|
||||||
|
srcs: [
|
||||||
|
"config/14.1_config.sql",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
genrule {
|
||||||
|
name: "qcril_config_database",
|
||||||
|
enabled: true,
|
||||||
|
srcs: [
|
||||||
|
"//vendor/oneplus/dre:proprietary_rildb_other_sql_files",
|
||||||
|
"//vendor/oneplus/dre:proprietary_rildb_config_sql_files",
|
||||||
|
":rildb_config_sql_files",
|
||||||
|
],
|
||||||
|
tools: [
|
||||||
|
"generate_qcril_db",
|
||||||
|
],
|
||||||
|
cmd: "$(location generate_qcril_db) $(out) $(in)",
|
||||||
|
out: ["qcrilNr.db"],
|
||||||
|
}
|
||||||
|
|
||||||
|
prebuilt_etc {
|
||||||
|
name: "qcrilNrDb_vendor",
|
||||||
|
filename: "qcrilNr.db",
|
||||||
|
src: ":qcril_config_database",
|
||||||
|
relative_install_path: "qcril_database",
|
||||||
|
vendor: true,
|
||||||
|
required: [
|
||||||
|
"14.1_config.sql",
|
||||||
|
],
|
||||||
|
}
|
8
qcril-database/config/14.1_config.sql
Normal file
8
qcril-database/config/14.1_config.sql
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
/*
|
||||||
|
Copyright (C) 2025 The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS qcril_properties_table (property TEXT PRIMARY KEY NOT NULL, def_val TEXT, value TEXT);
|
||||||
|
INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES('qcrildb_version',14.1);
|
||||||
|
UPDATE qcril_properties_table SET def_val="0" WHERE property="persist.vendor.radio.poweron_opt";
|
11
qcril-database/config/Android.bp
Normal file
11
qcril-database/config/Android.bp
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
//
|
||||||
|
// SPDX-FileCopyrightText: 2025 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
prebuilt_etc {
|
||||||
|
name: "14.1_config.sql",
|
||||||
|
src: "14.1_config.sql",
|
||||||
|
relative_install_path: "qcril_database/upgrade/config",
|
||||||
|
vendor: true,
|
||||||
|
}
|
1
setup-makefiles.py
Executable file
1
setup-makefiles.py
Executable file
|
@ -0,0 +1 @@
|
||||||
|
#!./extract-files.py --regenerate_makefiles
|
|
@ -1,36 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# Copyright (C) 2016 The CyanogenMod Project
|
|
||||||
# Copyright (C) 2017-2022 The LineageOS Project
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
DEVICE=dre
|
|
||||||
VENDOR=oneplus
|
|
||||||
|
|
||||||
# Load extract_utils and do some sanity checks
|
|
||||||
MY_DIR="${BASH_SOURCE%/*}"
|
|
||||||
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
|
|
||||||
|
|
||||||
ANDROID_ROOT="${MY_DIR}/../../.."
|
|
||||||
|
|
||||||
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
|
|
||||||
if [ ! -f "${HELPER}" ]; then
|
|
||||||
echo "Unable to find helper script at ${HELPER}"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
source "${HELPER}"
|
|
||||||
|
|
||||||
# Initialize the helper
|
|
||||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}"
|
|
||||||
|
|
||||||
# Warning headers and guards
|
|
||||||
write_headers
|
|
||||||
|
|
||||||
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
|
||||||
|
|
||||||
# Finish
|
|
||||||
write_footers
|
|
|
@ -8,9 +8,6 @@ debug.sf.enable_hwc_vds=1
|
||||||
# CNE
|
# CNE
|
||||||
persist.vendor.cne.feature=1
|
persist.vendor.cne.feature=1
|
||||||
|
|
||||||
# Charging
|
|
||||||
ro.charger.enable_suspend=1
|
|
||||||
|
|
||||||
# DPM
|
# DPM
|
||||||
persist.vendor.dpm.feature=11
|
persist.vendor.dpm.feature=11
|
||||||
|
|
||||||
|
|
16
vendor.prop
16
vendor.prop
|
@ -79,6 +79,9 @@ persist.vendor.qcom.bluetooth.aac_frm_ctl.enabled=true
|
||||||
persist.vendor.qcom.bluetooth.aptxadaptiver2_1_support=true
|
persist.vendor.qcom.bluetooth.aptxadaptiver2_1_support=true
|
||||||
#ro.bluetooth.a2dp_offload.supported=true
|
#ro.bluetooth.a2dp_offload.supported=true
|
||||||
|
|
||||||
|
# Camera
|
||||||
|
vendor.camera.aux.packageexcludelist=org.telegram.messenger,org.thunderdog.challegram,us.zoom.videomeetings
|
||||||
|
|
||||||
# Chipset
|
# Chipset
|
||||||
ro.soc.manufacturer=Qualcomm
|
ro.soc.manufacturer=Qualcomm
|
||||||
ro.soc.model=SM4350
|
ro.soc.model=SM4350
|
||||||
|
@ -108,6 +111,9 @@ drm.service.enabled=true
|
||||||
# FRP
|
# FRP
|
||||||
ro.frp.pst=/dev/block/bootdevice/by-name/frp
|
ro.frp.pst=/dev/block/bootdevice/by-name/frp
|
||||||
|
|
||||||
|
# FUSE passthrough
|
||||||
|
persist.sys.fuse.passthrough.enable=true
|
||||||
|
|
||||||
# Gatekeeper
|
# Gatekeeper
|
||||||
vendor.gatekeeper.disable_spu=true
|
vendor.gatekeeper.disable_spu=true
|
||||||
|
|
||||||
|
@ -123,8 +129,6 @@ ro.hardware.egl=adreno
|
||||||
ro.hardware.vulkan=adreno
|
ro.hardware.vulkan=adreno
|
||||||
ro.opengles.version=196610
|
ro.opengles.version=196610
|
||||||
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true
|
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true
|
||||||
ro.surface_flinger.has_HDR_display=false
|
|
||||||
ro.surface_flinger.has_wide_color_display=false
|
|
||||||
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
|
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
|
||||||
ro.surface_flinger.max_virtual_display_dimension=4096
|
ro.surface_flinger.max_virtual_display_dimension=4096
|
||||||
ro.surface_flinger.protected_contents=true
|
ro.surface_flinger.protected_contents=true
|
||||||
|
@ -132,9 +136,7 @@ ro.surface_flinger.refresh_rate_switching=true
|
||||||
ro.surface_flinger.set_idle_timer_ms=80
|
ro.surface_flinger.set_idle_timer_ms=80
|
||||||
ro.surface_flinger.set_touch_timer_ms=200
|
ro.surface_flinger.set_touch_timer_ms=200
|
||||||
ro.surface_flinger.set_display_power_timer_ms=1000
|
ro.surface_flinger.set_display_power_timer_ms=1000
|
||||||
ro.surface_flinger.use_color_management=false
|
|
||||||
ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
||||||
ro.surface_flinger.wcg_composition_dataspace=143261696
|
|
||||||
vendor.gralloc.disable_ubwc=0
|
vendor.gralloc.disable_ubwc=0
|
||||||
vendor.gralloc.secure_preview_buffer_format=420_sp
|
vendor.gralloc.secure_preview_buffer_format=420_sp
|
||||||
vendor.gralloc.secure_preview_only=1
|
vendor.gralloc.secure_preview_only=1
|
||||||
|
@ -143,8 +145,7 @@ vendor.gralloc.secure_preview_only=1
|
||||||
ro.incremental.enable=yes
|
ro.incremental.enable=yes
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
debug.stagefright.ccodec=4
|
debug.stagefright.c2inputsurface=-1
|
||||||
debug.stagefright.omx_default_rank=0
|
|
||||||
|
|
||||||
# Perf
|
# Perf
|
||||||
ro.vendor.extension_library=libqti-perfd-client.so
|
ro.vendor.extension_library=libqti-perfd-client.so
|
||||||
|
@ -176,5 +177,8 @@ vendor.usb.rndis.func.name=gsi
|
||||||
vendor.usb.use_ffs_mtp=1
|
vendor.usb.use_ffs_mtp=1
|
||||||
vendor.usb.use_gadget_hal=0
|
vendor.usb.use_gadget_hal=0
|
||||||
|
|
||||||
|
# WiFi
|
||||||
|
wifi.aware.interface=wifi-aware0
|
||||||
|
|
||||||
# Zygote
|
# Zygote
|
||||||
zygote.critical_window.minute=10
|
zygote.critical_window.minute=10
|
||||||
|
|
Loading…
Reference in a new issue