Compare commits
95 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
857ff30997 | ||
|
|
b4de454f2a | ||
|
|
d7cd6f5556 | ||
|
|
529d7af37f | ||
|
|
7d309fc371 | ||
|
|
dcf8f05a29 | ||
|
|
ccc78435f8 | ||
|
|
9e5b0ea69f | ||
|
|
cdcde2c02d | ||
|
|
e5fae49508 | ||
|
|
19d5f9d16d | ||
|
|
3ce6e6212b | ||
|
|
db7fc70a01 | ||
|
|
53470011e9 | ||
|
|
c0279a42b0 | ||
|
|
7a770952dc | ||
|
|
74acb5c9fd | ||
|
|
b9863c6e10 | ||
|
|
cf7a9f572a | ||
|
|
43e72d012f | ||
|
|
3bf92109b8 | ||
|
|
88693c67fe | ||
|
|
478652100b | ||
|
|
11f6863831 | ||
|
|
762ff5021e | ||
|
|
7abfaf39e0 | ||
|
|
ec4aaf4a9b | ||
|
|
c46c253257 | ||
|
|
da7aa489f6 | ||
|
|
8939240a15 | ||
|
|
a8c1be5308 | ||
|
|
d2bd7879be | ||
|
|
64f3b45715 | ||
|
|
31806c5f96 | ||
|
|
f479a88af8 | ||
|
|
ceb153890c | ||
|
|
f7ca22afe6 | ||
|
|
b71a0b5cca | ||
|
|
93044f2f1a | ||
|
|
c44c404fb6 | ||
|
|
c50c8ef694 | ||
|
|
a6fc1712a8 | ||
|
|
b6c61332c2 | ||
|
|
818ced08ec | ||
|
|
fa82d76833 | ||
|
|
7a4ac5d68d | ||
|
|
cebdead5a7 | ||
|
|
4957a1f9f7 | ||
|
|
ada3829d24 | ||
|
|
43794f0d39 | ||
|
|
6b6477770c | ||
|
|
b163c6e7a6 | ||
|
|
ff9b2cc0be | ||
|
|
ce15b541e3 | ||
|
|
72f3ef7c7f | ||
|
|
c075cafe59 | ||
|
|
8667e1d136 | ||
|
|
1649af79c2 | ||
|
|
825a51ccf0 | ||
|
|
2aa24091cc | ||
|
|
f27c154daf | ||
|
|
4dac600ec1 | ||
|
|
02411e1b7c | ||
|
|
e1c1971001 | ||
|
|
9b3ece23db | ||
|
|
e4b0250c02 | ||
|
|
9f280a695a | ||
|
|
3e7c07bd9c | ||
|
|
5be3b023ff | ||
|
|
53a45c6697 | ||
|
|
92caa0b1a9 | ||
|
|
bdc5b6532b | ||
|
|
efcd8e3c1e | ||
|
|
7190646448 | ||
|
|
bd7350dee1 | ||
|
|
4f9b6b1226 | ||
|
|
bf688a8c06 | ||
|
|
d90bd08643 | ||
|
|
a993cbbdca | ||
|
|
f8298ab781 | ||
|
|
93f67fa2b8 | ||
|
|
b8ce93c4d9 | ||
|
|
6dd816f684 | ||
|
|
545a277c78 | ||
|
|
6fc8b9ca3f | ||
|
|
95fa97489c | ||
|
|
1de0e3e7c2 | ||
|
|
42e9ad6331 | ||
|
|
6905704c95 | ||
|
|
dec42c1245 | ||
|
|
7a940a30da | ||
|
|
8e5ae41007 | ||
|
|
413c2db7e6 | ||
|
|
508ce52735 | ||
|
|
61416a00ae |
16
Android.bp
16
Android.bp
@@ -8,7 +8,23 @@ soong_namespace {
|
||||
imports: [
|
||||
"hardware/google/interfaces",
|
||||
"hardware/google/pixel",
|
||||
"hardware/lineage/interfaces/power-libperfmgr",
|
||||
"hardware/qcom-caf/common/libqti-perfd-client",
|
||||
"hardware/xiaomi",
|
||||
"vendor/qcom/opensource/usb/etc",
|
||||
],
|
||||
}
|
||||
|
||||
install_symlink {
|
||||
name: "firmware_WCNSS_qcom_cfg.ini_symlink",
|
||||
vendor: true,
|
||||
installed_location: "firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini",
|
||||
symlink_target: "/vendor/etc/wifi/WCNSS_qcom_cfg.ini",
|
||||
}
|
||||
|
||||
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",
|
||||
}
|
||||
|
||||
87
Android.mk
87
Android.mk
@@ -10,91 +10,4 @@ ifneq ($(filter grus pyxis xmsirius vela,$(TARGET_DEVICE)),)
|
||||
|
||||
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)
|
||||
|
||||
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
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_CDSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS)
|
||||
|
||||
WCNSS_INI_SYMLINK := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini
|
||||
$(WCNSS_INI_SYMLINK): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "WCNSS config ini link: $@"
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /vendor/etc/wifi/$(notdir $@) $@
|
||||
|
||||
WCNSS_MAC_SYMLINK := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/wlan_mac.bin
|
||||
$(WCNSS_MAC_SYMLINK): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "WCNSS MAC bin link: $@"
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /mnt/vendor/persist/$(notdir $@) $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(WCNSS_INI_SYMLINK) $(WCNSS_MAC_SYMLINK)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2022 The LineageOS Project
|
||||
# Copyright (C) 2024 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
@@ -7,7 +7,6 @@
|
||||
COMMON_PATH := device/xiaomi/sdm710-common
|
||||
|
||||
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
|
||||
BUILD_BROKEN_INCORRECT_PARTITION_IMAGES := true
|
||||
|
||||
# APEX
|
||||
DEXPREOPT_GENERATE_APEX_IMAGE := true
|
||||
@@ -44,9 +43,6 @@ TARGET_NO_BOOTLOADER := true
|
||||
|
||||
# Display
|
||||
TARGET_HAS_WIDE_COLOR_DISPLAY := true
|
||||
TARGET_USES_GRALLOC1 := true
|
||||
TARGET_USES_HWC2 := true
|
||||
TARGET_USES_ION := true
|
||||
ifeq ($(TARGET_HAS_UDFPS),true)
|
||||
TARGET_USES_FOD_ZPOS := true
|
||||
endif
|
||||
@@ -54,11 +50,6 @@ endif
|
||||
# Filesystem
|
||||
TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/config.fs
|
||||
|
||||
# Fingerprint
|
||||
ifeq ($(TARGET_HAS_UDFPS),true)
|
||||
TARGET_SURFACEFLINGER_UDFPS_LIB := //hardware/xiaomi:libudfps_extension.xiaomi
|
||||
endif
|
||||
|
||||
# FM
|
||||
ifeq ($(TARGET_HAS_FM),true)
|
||||
BOARD_HAS_QCA_FM_SOC := "cherokee"
|
||||
@@ -78,8 +69,8 @@ BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||
TARGET_KERNEL_SOURCE := kernel/xiaomi/sdm710
|
||||
TARGET_KERNEL_CONFIG := sdm670-perf_defconfig xiaomi/sdm710-common.config
|
||||
|
||||
# Lineage Health
|
||||
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS := false
|
||||
# Media
|
||||
TARGET_USES_ION := true
|
||||
|
||||
# Partitions
|
||||
BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64)
|
||||
@@ -100,6 +91,8 @@ $(foreach p, $(call to-upper, $(ALL_PARTITIONS)), \
|
||||
$(eval TARGET_COPY_OUT_$(p) := $(call to-lower, $(p))))
|
||||
|
||||
# Partitions - dynamic
|
||||
AB_OTA_UPDATER := false
|
||||
|
||||
BOARD_SUPER_PARTITION_SIZE := 6442450944
|
||||
BOARD_SUPER_PARTITION_GROUPS := qti_dynamic_partitions
|
||||
BOARD_QTI_DYNAMIC_PARTITIONS_PARTITION_LIST := $(ALL_PARTITIONS)
|
||||
@@ -111,7 +104,7 @@ BOARD_SUPER_PARTITION_CUST_DEVICE_SIZE := 1073741824
|
||||
BOARD_SUPER_PARTITION_METADATA_DEVICE := system
|
||||
|
||||
# Partitions - reserved size
|
||||
-include vendor/lineage/config/BoardConfigReservedSize.mk
|
||||
#-include vendor/lineage/config/BoardConfigReservedSize.mk
|
||||
$(foreach p, $(call to-upper, $(TREBLE_PARTITIONS)), \
|
||||
$(eval BOARD_$(p)IMAGE_PARTITION_RESERVED_SIZE := 30720000))
|
||||
|
||||
@@ -120,9 +113,6 @@ BOARD_VENDOR := xiaomi
|
||||
BOARD_USES_QCOM_HARDWARE := true
|
||||
TARGET_BOARD_PLATFORM := sdm710
|
||||
|
||||
# Power
|
||||
TARGET_TAP_TO_WAKE_NODE := "/sys/touchpanel/double_tap"
|
||||
|
||||
# Properties
|
||||
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop
|
||||
TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop
|
||||
@@ -148,6 +138,7 @@ VENDOR_SECURITY_PATCH := 2022-05-01
|
||||
# Sepolicy
|
||||
TARGET_USES_LOGDUMP_AS_METADATA := true
|
||||
include device/qcom/sepolicy_vndr/SEPolicy.mk
|
||||
include device/lineage/sepolicy/libperfmgr/sepolicy.mk
|
||||
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private
|
||||
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/public
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
|
||||
@@ -162,14 +153,17 @@ BOARD_AVB_RECOVERY_ROLLBACK_INDEX := 1
|
||||
BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1
|
||||
|
||||
# VINTF
|
||||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
|
||||
$(COMMON_PATH)/framework_compatibility_matrix.xml \
|
||||
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
|
||||
hardware/qcom-caf/common/vendor_framework_compatibility_matrix_legacy.xml \
|
||||
hardware/xiaomi/vintf/xiaomi_framework_compatibility_matrix.xml
|
||||
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest.xml
|
||||
ifeq ($(TARGET_HAS_FM),true)
|
||||
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest_fm.xml
|
||||
endif
|
||||
ifeq ($(TARGET_HAS_NFC),true)
|
||||
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest_nfc.xml
|
||||
endif
|
||||
DEVICE_MATRIX_FILE += $(COMMON_PATH)/compatibility_matrix.xml
|
||||
DEVICE_MATRIX_FILE += hardware/qcom-caf/common/compatibility_matrix.xml
|
||||
|
||||
# VNDK
|
||||
BOARD_VNDK_VERSION := current
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
<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>
|
||||
@@ -235,6 +235,16 @@
|
||||
""
|
||||
],
|
||||
"Type": "Property"
|
||||
},
|
||||
{
|
||||
"Name": "DoubleTapToWake",
|
||||
"Path": "/sys/touchpanel/double_tap",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
@@ -609,6 +619,12 @@
|
||||
"Node": "PMQoSCpuDmaLatency",
|
||||
"Duration": 2000,
|
||||
"Value": "2c"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DOUBLE_TAP_TO_WAKE",
|
||||
"Node": "DoubleTapToWake",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
97
extract-files.py
Executable file
97
extract-files.py
Executable file
@@ -0,0 +1,97 @@
|
||||
#!/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_fixup_remove,
|
||||
lib_fixups,
|
||||
lib_fixups_user_type,
|
||||
)
|
||||
from extract_utils.main import (
|
||||
ExtractUtils,
|
||||
ExtractUtilsModule,
|
||||
)
|
||||
|
||||
namespace_imports = [
|
||||
'device/xiaomi/sdm710-common',
|
||||
'hardware/qcom-caf/sdm845',
|
||||
'hardware/qcom-caf/wlan',
|
||||
'hardware/xiaomi',
|
||||
'vendor/qcom/opensource/commonsys/display',
|
||||
'vendor/qcom/opensource/commonsys-intf/display',
|
||||
'vendor/qcom/opensource/dataservices',
|
||||
'vendor/qcom/opensource/display',
|
||||
]
|
||||
|
||||
def lib_fixup_vendor_suffix(lib: str, partition: str, *args, **kwargs):
|
||||
return f'{lib}_{partition}' if partition == 'vendor' else None
|
||||
|
||||
|
||||
lib_fixups: lib_fixups_user_type = {
|
||||
**lib_fixups,
|
||||
(
|
||||
'com.qualcomm.qti.dpm.api@1.0',
|
||||
'com.qualcomm.qti.imscmservice@1.0',
|
||||
'com.qualcomm.qti.imscmservice@2.0',
|
||||
'com.qualcomm.qti.imscmservice@2.1',
|
||||
'com.qualcomm.qti.imscmservice@2.2',
|
||||
'com.qualcomm.qti.uceservice@2.0',
|
||||
'com.qualcomm.qti.uceservice@2.1',
|
||||
'com.qualcomm.qti.uceservice@2.2',
|
||||
'libmmosal',
|
||||
'vendor.qti.hardware.alarm@1.0',
|
||||
'vendor.qti.hardware.fm@1.0',
|
||||
'vendor.qti.hardware.radio.am@1.0',
|
||||
'vendor.qti.hardware.radio.ims@1.0',
|
||||
'vendor.qti.hardware.radio.ims@1.1',
|
||||
'vendor.qti.hardware.radio.ims@1.2',
|
||||
'vendor.qti.hardware.radio.ims@1.3',
|
||||
'vendor.qti.hardware.radio.ims@1.4',
|
||||
'vendor.qti.hardware.wifidisplaysession@1.0',
|
||||
'vendor.qti.ims.callinfo@1.0',
|
||||
'vendor.qti.ims.rcsconfig@1.0',
|
||||
'vendor.qti.imsrtpservice@3.0',
|
||||
): lib_fixup_vendor_suffix,
|
||||
(
|
||||
'libwpa_client',
|
||||
): lib_fixup_remove,
|
||||
}
|
||||
|
||||
blob_fixups: blob_fixups_user_type = {
|
||||
'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/lib-imsvideocodec.so': blob_fixup()
|
||||
.add_needed('libgui_shim.so'),
|
||||
'vendor/bin/pm-service': blob_fixup()
|
||||
.add_needed('libutils-v33.so'),
|
||||
'vendor/etc/seccomp_policy/atfwd@2.0.policy': blob_fixup()
|
||||
.add_line_if_missing('gettid: 1'),
|
||||
'vendor/etc/seccomp_policy/vendor.qti.hardware.dsp.policy': blob_fixup()
|
||||
.add_line_if_missing('madvise: 1'),
|
||||
'vendor/lib64/libwvhidl.so': blob_fixup()
|
||||
.add_needed('libcrypto_shim.so'),
|
||||
'vendor/lib64/mediadrm/libwvdrmengine.so': blob_fixup()
|
||||
.add_needed('libcrypto_shim.so'),
|
||||
(
|
||||
'vendor/etc/data/dsi_config.xml',
|
||||
'vendor/etc/data/netmgr_config.xml',
|
||||
): blob_fixup().fix_xml(),
|
||||
} # fmt: skip
|
||||
|
||||
module = ExtractUtilsModule(
|
||||
'sdm710-common',
|
||||
'xiaomi',
|
||||
blob_fixups=blob_fixups,
|
||||
lib_fixups=lib_fixups,
|
||||
namespace_imports=namespace_imports,
|
||||
)
|
||||
|
||||
if __name__ == '__main__':
|
||||
utils = ExtractUtils.device(module)
|
||||
utils.run()
|
||||
@@ -1,91 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2016 The CyanogenMod Project
|
||||
# Copyright (C) 2017-2020 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
# 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}"
|
||||
|
||||
function blob_fixup() {
|
||||
case "${1}" in
|
||||
system_ext/lib64/lib-imsvideocodec.so)
|
||||
"${PATCHELF}" --add-needed "libgui_shim.so" "${2}"
|
||||
;;
|
||||
vendor/bin/pm-service)
|
||||
grep -q libutils-v33.so "${2}" || "${PATCHELF}" --add-needed "libutils-v33.so" "${2}"
|
||||
;;
|
||||
vendor/etc/seccomp_policy/vendor.qti.hardware.dsp.policy)
|
||||
echo 'madvise: 1' >> ${2}
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Default to sanitizing the vendor folder before extraction
|
||||
CLEAN_VENDOR=true
|
||||
|
||||
ONLY_COMMON=
|
||||
ONLY_TARGET=
|
||||
KANG=
|
||||
SECTION=
|
||||
|
||||
while [ "${#}" -gt 0 ]; do
|
||||
case "${1}" in
|
||||
--only-common )
|
||||
ONLY_COMMON=true
|
||||
;;
|
||||
--only-target )
|
||||
ONLY_TARGET=true
|
||||
;;
|
||||
-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
|
||||
|
||||
if [ -z "${ONLY_TARGET}" ]; then
|
||||
# Initialize the helper for common device
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"
|
||||
|
||||
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
extract "${MY_DIR}/proprietary-files-nfc.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
fi
|
||||
|
||||
if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
|
||||
# Reinitialize the helper for device
|
||||
source "${MY_DIR}/../${DEVICE}/extract-files.sh"
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
||||
|
||||
extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
fi
|
||||
|
||||
"${MY_DIR}/setup-makefiles.sh"
|
||||
11
framework_compatibility_matrix.xml
Normal file
11
framework_compatibility_matrix.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<compatibility-matrix version="2.0" type="framework">
|
||||
<hal format="hidl">
|
||||
<name>vendor.nxp.nxpnfc</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>INxpNfc</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</compatibility-matrix>
|
||||
@@ -1,17 +0,0 @@
|
||||
cc_library_shared {
|
||||
name: "libqti-perfd-client",
|
||||
proprietary: true,
|
||||
defaults: ["hidl_defaults"],
|
||||
srcs: [
|
||||
"client.c",
|
||||
],
|
||||
cflags: [
|
||||
"-Werror",
|
||||
"-Wextra",
|
||||
"-Wall",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
],
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
#define LOG_TAG "libqti-perfd-client"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <log/log.h>
|
||||
|
||||
void perf_get_feedback() {}
|
||||
void perf_hint() {}
|
||||
int perf_lock_acq(int handle, int duration, int arg3[], int arg4) {
|
||||
ALOGI("perf_lock_acq: handle: %d, duration: %d, arg3[0]: %d, arg4: %d",
|
||||
handle, duration, arg3[0], arg4);
|
||||
if (handle > 0)
|
||||
return handle;
|
||||
|
||||
return 233;
|
||||
}
|
||||
void perf_lock_cmd() {}
|
||||
int perf_lock_rel(int handle) {
|
||||
ALOGI("perf_lock_rel: handle: %d", handle);
|
||||
if (handle > 0)
|
||||
return handle;
|
||||
|
||||
return 233;
|
||||
}
|
||||
void perf_lock_use_profile() {}
|
||||
@@ -1,10 +0,0 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_hardware_xiaomi",
|
||||
"target_path": "hardware/xiaomi"
|
||||
},
|
||||
{
|
||||
"repository": "android_kernel_xiaomi_sdm710",
|
||||
"target_path": "kernel/xiaomi/sdm710"
|
||||
}
|
||||
]
|
||||
24
manifest.xml
24
manifest.xml
@@ -1,4 +1,4 @@
|
||||
<manifest version="2.0" type="device" target-level="4">
|
||||
<manifest version="2.0" type="device" target-level="5">
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.audio</name>
|
||||
<transport>hwbinder</transport>
|
||||
@@ -19,11 +19,6 @@
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@2.4::ICameraProvider/legacy/0</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.configstore</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.1::ISurfaceFlingerConfigs/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.drm</name>
|
||||
<transport>hwbinder</transport>
|
||||
@@ -56,16 +51,6 @@
|
||||
<fqname>@1.0::IOmx/default</fqname>
|
||||
<fqname>@1.0::IOmxStore/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.memtrack</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IMemtrack/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.power</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IPower/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.radio</name>
|
||||
<transport>hwbinder</transport>
|
||||
@@ -107,12 +92,7 @@
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.tetheroffload.control</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IOffloadControl/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>com.qualcomm.qti.bluetooth_audio</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IBluetoothAudio/default</fqname>
|
||||
<fqname>@1.1::IOffloadControl/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>com.qualcomm.qti.imscmservice</name>
|
||||
|
||||
315
media/media_codecs.xml
Normal file
315
media/media_codecs.xml
Normal file
@@ -0,0 +1,315 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2012-2019 The Linux Foundation. All rights reserved.
|
||||
|
||||
Not a contribution.
|
||||
|
||||
Copyright (C) 2012-2013 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!DOCTYPE MediaCodecs [
|
||||
<!ELEMENT Include EMPTY>
|
||||
<!ATTLIST Include href CDATA #REQUIRED>
|
||||
<!ELEMENT MediaCodecs (Decoders|Encoders|Include)*>
|
||||
<!ELEMENT Decoders (MediaCodec|Include)*>
|
||||
<!ELEMENT Encoders (MediaCodec|Include)*>
|
||||
<!ELEMENT MediaCodec (Type|Quirk|Include)*>
|
||||
<!ATTLIST MediaCodec name CDATA #REQUIRED>
|
||||
<!ATTLIST MediaCodec type CDATA>
|
||||
<!ELEMENT Type EMPTY>
|
||||
<!ATTLIST Type name CDATA #REQUIRED>
|
||||
<!ELEMENT Quirk EMPTY>
|
||||
<!ATTLIST Quirk name CDATA #REQUIRED>
|
||||
]>
|
||||
|
||||
There's a simple and a complex syntax to declare the availability of a
|
||||
media codec:
|
||||
|
||||
A codec that properly follows the OpenMax spec and therefore doesn't have any
|
||||
quirks and that only supports a single content type can be declared like so:
|
||||
|
||||
<MediaCodec name="OMX.foo.bar" type="something/interesting" />
|
||||
|
||||
If a codec has quirks OR supports multiple content types, the following syntax
|
||||
can be used:
|
||||
|
||||
<MediaCodec name="OMX.foo.bar" >
|
||||
<Type name="something/interesting" />
|
||||
<Type name="something/else" />
|
||||
...
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="output-buffers-are-unreadable" />
|
||||
</MediaCodec>
|
||||
|
||||
Only the three quirks included above are recognized at this point:
|
||||
|
||||
"requires-allocate-on-input-ports"
|
||||
must be advertised if the component does not properly support specification
|
||||
of input buffers using the OMX_UseBuffer(...) API but instead requires
|
||||
OMX_AllocateBuffer to be used.
|
||||
|
||||
"requires-allocate-on-output-ports"
|
||||
must be advertised if the component does not properly support specification
|
||||
of output buffers using the OMX_UseBuffer(...) API but instead requires
|
||||
OMX_AllocateBuffer to be used.
|
||||
|
||||
"output-buffers-are-unreadable"
|
||||
must be advertised if the emitted output buffers of a decoder component
|
||||
are not readable, i.e. use a custom format even though abusing one of
|
||||
the official OMX colorspace constants.
|
||||
Clients of such decoders will not be able to access the decoded data,
|
||||
naturally making the component much less useful. The only use for
|
||||
a component with this quirk is to render the output to the screen.
|
||||
Audio decoders MUST NOT advertise this quirk.
|
||||
Video decoders that advertise this quirk must be accompanied by a
|
||||
corresponding color space converter for thumbnail extraction,
|
||||
matching surfaceflinger support that can render the custom format to
|
||||
a texture and possibly other code, so just DON'T USE THIS QUIRK.
|
||||
|
||||
|
||||
-->
|
||||
|
||||
<!--
|
||||
670 Non-Secure decoder capabilities
|
||||
_________________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|_____________|_________________________________________|
|
||||
| h264 | 4096 2160 24 100 829440 |
|
||||
| hevc | 4096 2160 24 100 829440 |
|
||||
| vp8 | 3840 2160 30 100 972000 |
|
||||
| vp9 | 4096 2160 24 100 829440 |
|
||||
| vc1 | 1920 1088 30 20 244800 |
|
||||
| mpeg2 | 1920 1088 30 40 244800 |
|
||||
|_____________|_________________________________________|
|
||||
|
||||
670 Secure decoder capabilities
|
||||
______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 3840 2160 30 35 972000 |
|
||||
| vp9 | 3840 2160 30 35 972000 |
|
||||
| hevc | 3840 2160 30 35 972000 |
|
||||
| mpeg2 | 1920 1088 30 35 244800 |
|
||||
|__________|_________________________________________|
|
||||
|
||||
670 Non-Secure encoder capabilities (Secure not supported)
|
||||
______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 4096 2160 24 100 829440 |
|
||||
| hevc | 4096 2160 24 100 829440 |
|
||||
| vp8 | 3840 2160 30 100 972000 |
|
||||
|__________|_________________________________________|
|
||||
-->
|
||||
|
||||
<MediaCodecs>
|
||||
<Settings>
|
||||
<Domain name="telephony" enabled="true" />
|
||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
||||
</Settings>
|
||||
<Encoders>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-120000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
<Decoders>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
<!-- Limit name="performance-point-720x480" value="240" /> -->
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="972000" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" 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-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="244800" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-120000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2304" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="972000" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2304" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="972000" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
||||
130
media/media_codecs_performance.xml
Normal file
130
media/media_codecs_performance.xml
Normal file
@@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
|
||||
|
||||
Not a Contribution.
|
||||
|
||||
Copyright 2015 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.
|
||||
u 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="OMX.qcom.video.encoder.avc" 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="25-55" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="18-40" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" 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="16-45" />
|
||||
<Limit name="measured-frame-rate-3840x2160" range="31-31" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x180" range="266-266" />
|
||||
<Limit name="measured-frame-rate-640x360" range="165-165" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="49-49" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="16-40" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="248-248" />
|
||||
<Limit name="measured-frame-rate-720x480" range="100-100" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="56-56" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="30-30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="200-200" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="148-328" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="28-30" />
|
||||
<Limit name="measured-frame-rate-720x480" range="8-39" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x180" range="155-155" />
|
||||
<Limit name="measured-frame-rate-640x360" range="144-147" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="17-24" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="8-12" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
<Decoders>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="651-656" />
|
||||
<Limit name="measured-frame-rate-720x480" range="450-450" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="351-352" />
|
||||
<Limit name="measured-frame-rate-1920x1088" range="161-162" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="675-736" />
|
||||
<Limit name="measured-frame-rate-640x360" range="280-320" />
|
||||
<Limit name="measured-frame-rate-720x480" range="440-450" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="310-330" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="170-190" />
|
||||
<Limit name="measured-frame-rate-3840x2160" range="45-50" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x180" range="545-545" />
|
||||
<Limit name="measured-frame-rate-320x240" range="337-337" />
|
||||
<Limit name="measured-frame-rate-640x360" range="337-337" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="337-337" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="248-248" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" 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" />
|
||||
<Limit name="measured-frame-rate-3840x2160" range="51-51" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="122-185" />
|
||||
<Limit name="measured-frame-rate-720x480" range="68-68" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="32-32" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="6-10" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="896-955" />
|
||||
<Limit name="measured-frame-rate-352x288" range="653-680" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="177-264" />
|
||||
<Limit name="measured-frame-rate-640x360" range="89-89" />
|
||||
<Limit name="measured-frame-rate-720x480" range="73-88" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="32-37" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="21-21" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.mpeg4.decoder" update="true">
|
||||
<Type name="video/mp4v-es">
|
||||
<Limit name="measured-frame-rate-176x144" range="872-971" />
|
||||
</Type>
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="330-381" />
|
||||
<Limit name="measured-frame-rate-640x360" range="139-185" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="22-38" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="9-18" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="200-230" />
|
||||
<Limit name="measured-frame-rate-640x360" range="81-130" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="32-40" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="19-23" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
||||
145
media/media_codecs_performance_v1.xml
Normal file
145
media/media_codecs_performance_v1.xml
Normal file
@@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
|
||||
|
||||
Not a Contribution.
|
||||
|
||||
Copyright 2015 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.
|
||||
u 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="OMX.qcom.video.encoder.avc" 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="16-40" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" 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="16-45" />
|
||||
<Limit name="measured-frame-rate-3840x2160" range="31-31" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="303-303" />
|
||||
<Limit name="measured-frame-rate-352x288" range="259-259" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="299-299" />
|
||||
<Limit name="measured-frame-rate-352x288" range="245-245" />
|
||||
<Limit name="measured-frame-rate-640x480" range="148-148" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x180" range="266-266" />
|
||||
<Limit name="measured-frame-rate-640x360" range="165-165" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="49-49" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="16-40" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="248-248" />
|
||||
<Limit name="measured-frame-rate-720x480" range="100-100" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="56-56" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="30-30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="200-200" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="180-180" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="28-30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x180" range="155-155" />
|
||||
<Limit name="measured-frame-rate-640x360" range="144-147" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="17-24" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="8-12" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
<Decoders>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="651-656" />
|
||||
<Limit name="measured-frame-rate-720x480" range="450-450" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="351-352" />
|
||||
<Limit name="measured-frame-rate-1920x1088" range="161-162" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="788-757" />
|
||||
<Limit name="measured-frame-rate-720x480" range="484-472" />
|
||||
<Limit name="measured-frame-rate-640x480" range="555-556" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="206-288" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="181-182" />
|
||||
<Limit name="measured-frame-rate-3840x2160" range="52-52" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="356-356" />
|
||||
<Limit name="measured-frame-rate-352x288" range="292-292" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="146-146" />
|
||||
<Limit name="measured-frame-rate-480x360" range="145-145" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="337-337" />
|
||||
<Limit name="measured-frame-rate-640x360" range="337-337" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="337-337" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="248-248" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" 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" />
|
||||
<Limit name="measured-frame-rate-3840x2160" range="51-51" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="122-122" />
|
||||
<Limit name="measured-frame-rate-720x480" range="68-68" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="32-32" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="6-10" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="896-955" />
|
||||
<Limit name="measured-frame-rate-352x288" range="653-680" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="177-264" />
|
||||
<Limit name="measured-frame-rate-640x360" range="89-89" />
|
||||
<Limit name="measured-frame-rate-720x480" range="73-73" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="32-32" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="21-21" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.mpeg4.decoder" update="true">
|
||||
<Type name="video/mp4v-es">
|
||||
<Limit name="measured-frame-rate-176x144" range="872-971" />
|
||||
</Type>
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="330-381" />
|
||||
<Limit name="measured-frame-rate-640x360" range="139-185" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="22-38" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="9-18" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="200-230" />
|
||||
<Limit name="measured-frame-rate-640x360" range="81-90" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="32-40" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="19-23" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
||||
314
media/media_codecs_vendor.xml
Normal file
314
media/media_codecs_vendor.xml
Normal file
@@ -0,0 +1,314 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2012-2018, 2020 The Linux Foundation. All rights reserved.
|
||||
|
||||
Not a contribution.
|
||||
|
||||
Copyright (C) 2012-2013 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!DOCTYPE MediaCodecs [
|
||||
<!ELEMENT Include EMPTY>
|
||||
<!ATTLIST Include href CDATA #REQUIRED>
|
||||
<!ELEMENT MediaCodecs (Decoders|Encoders|Include)*>
|
||||
<!ELEMENT Decoders (MediaCodec|Include)*>
|
||||
<!ELEMENT Encoders (MediaCodec|Include)*>
|
||||
<!ELEMENT MediaCodec (Type|Quirk|Include)*>
|
||||
<!ATTLIST MediaCodec name CDATA #REQUIRED>
|
||||
<!ATTLIST MediaCodec type CDATA>
|
||||
<!ELEMENT Type EMPTY>
|
||||
<!ATTLIST Type name CDATA #REQUIRED>
|
||||
<!ELEMENT Quirk EMPTY>
|
||||
<!ATTLIST Quirk name CDATA #REQUIRED>
|
||||
]>
|
||||
|
||||
There's a simple and a complex syntax to declare the availability of a
|
||||
media codec:
|
||||
|
||||
A codec that properly follows the OpenMax spec and therefore doesn't have any
|
||||
quirks and that only supports a single content type can be declared like so:
|
||||
|
||||
<MediaCodec name="OMX.foo.bar" type="something/interesting" />
|
||||
|
||||
If a codec has quirks OR supports multiple content types, the following syntax
|
||||
can be used:
|
||||
|
||||
<MediaCodec name="OMX.foo.bar" >
|
||||
<Type name="something/interesting" />
|
||||
<Type name="something/else" />
|
||||
...
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="output-buffers-are-unreadable" />
|
||||
</MediaCodec>
|
||||
|
||||
Only the three quirks included above are recognized at this point:
|
||||
|
||||
"requires-allocate-on-input-ports"
|
||||
must be advertised if the component does not properly support specification
|
||||
of input buffers using the OMX_UseBuffer(...) API but instead requires
|
||||
OMX_AllocateBuffer to be used.
|
||||
|
||||
"requires-allocate-on-output-ports"
|
||||
must be advertised if the component does not properly support specification
|
||||
of output buffers using the OMX_UseBuffer(...) API but instead requires
|
||||
OMX_AllocateBuffer to be used.
|
||||
|
||||
"output-buffers-are-unreadable"
|
||||
must be advertised if the emitted output buffers of a decoder component
|
||||
are not readable, i.e. use a custom format even though abusing one of
|
||||
the official OMX colorspace constants.
|
||||
Clients of such decoders will not be able to access the decoded data,
|
||||
naturally making the component much less useful. The only use for
|
||||
a component with this quirk is to render the output to the screen.
|
||||
Audio decoders MUST NOT advertise this quirk.
|
||||
Video decoders that advertise this quirk must be accompanied by a
|
||||
corresponding color space converter for thumbnail extraction,
|
||||
matching surfaceflinger support that can render the custom format to
|
||||
a texture and possibly other code, so just DON'T USE THIS QUIRK.
|
||||
|
||||
|
||||
-->
|
||||
|
||||
<!--
|
||||
670 Non-Secure decoder capabilities
|
||||
_________________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|_____________|_________________________________________|
|
||||
| h264 | 4096 2160 24 100 829440 |
|
||||
| hevc | 4096 2160 24 100 829440 |
|
||||
| vp8 | 3840 2160 30 100 972000 |
|
||||
| vp9 | 4096 2160 24 100 829440 |
|
||||
| mpeg2 | 1920 1088 30 40 244800 |
|
||||
|_____________|_________________________________________|
|
||||
|
||||
670 Secure decoder capabilities
|
||||
______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 3840 2160 30 35 972000 |
|
||||
| vp9 | 3840 2160 30 35 972000 |
|
||||
| hevc | 3840 2160 30 35 972000 |
|
||||
| mpeg2 | 1920 1088 30 35 244800 |
|
||||
|__________|_________________________________________|
|
||||
|
||||
670 Non-Secure encoder capabilities (Secure not supported)
|
||||
______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 4096 2160 24 100 829440 |
|
||||
| hevc | 4096 2160 24 100 829440 |
|
||||
| vp8 | 3840 2160 30 100 972000 |
|
||||
|__________|_________________________________________|
|
||||
-->
|
||||
|
||||
<MediaCodecs>
|
||||
<Settings>
|
||||
<Domain name="telephony" enabled="true" />
|
||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
||||
</Settings>
|
||||
<Encoders>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-120000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
<Decoders>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
<!-- Limit name="performance-point-720x480" value="240" /> -->
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="972000" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" 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-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="244800" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-120000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2304" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="972000" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2304" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="979200" />
|
||||
<Limit name="bitrate" range="1-100000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="972000" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2160" value="24" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
||||
320
media/media_codecs_vendor_v1.xml
Normal file
320
media/media_codecs_vendor_v1.xml
Normal file
@@ -0,0 +1,320 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2012-2018, 2020 The Linux Foundation. All rights reserved.
|
||||
|
||||
Not a contribution.
|
||||
|
||||
Copyright (C) 2012-2013 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!DOCTYPE MediaCodecs [
|
||||
<!ELEMENT Include EMPTY>
|
||||
<!ATTLIST Include href CDATA #REQUIRED>
|
||||
<!ELEMENT MediaCodecs (Decoders|Encoders|Include)*>
|
||||
<!ELEMENT Decoders (MediaCodec|Include)*>
|
||||
<!ELEMENT Encoders (MediaCodec|Include)*>
|
||||
<!ELEMENT MediaCodec (Type|Quirk|Include)*>
|
||||
<!ATTLIST MediaCodec name CDATA #REQUIRED>
|
||||
<!ATTLIST MediaCodec type CDATA>
|
||||
<!ELEMENT Type EMPTY>
|
||||
<!ATTLIST Type name CDATA #REQUIRED>
|
||||
<!ELEMENT Quirk EMPTY>
|
||||
<!ATTLIST Quirk name CDATA #REQUIRED>
|
||||
]>
|
||||
|
||||
There's a simple and a complex syntax to declare the availability of a
|
||||
media codec:
|
||||
|
||||
A codec that properly follows the OpenMax spec and therefore doesn't have any
|
||||
quirks and that only supports a single content type can be declared like so:
|
||||
|
||||
<MediaCodec name="OMX.foo.bar" type="something/interesting" />
|
||||
|
||||
If a codec has quirks OR supports multiple content types, the following syntax
|
||||
can be used:
|
||||
|
||||
<MediaCodec name="OMX.foo.bar" >
|
||||
<Type name="something/interesting" />
|
||||
<Type name="something/else" />
|
||||
...
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="output-buffers-are-unreadable" />
|
||||
</MediaCodec>
|
||||
|
||||
Only the three quirks included above are recognized at this point:
|
||||
|
||||
"requires-allocate-on-input-ports"
|
||||
must be advertised if the component does not properly support specification
|
||||
of input buffers using the OMX_UseBuffer(...) API but instead requires
|
||||
OMX_AllocateBuffer to be used.
|
||||
|
||||
"requires-allocate-on-output-ports"
|
||||
must be advertised if the component does not properly support specification
|
||||
of output buffers using the OMX_UseBuffer(...) API but instead requires
|
||||
OMX_AllocateBuffer to be used.
|
||||
|
||||
"output-buffers-are-unreadable"
|
||||
must be advertised if the emitted output buffers of a decoder component
|
||||
are not readable, i.e. use a custom format even though abusing one of
|
||||
the official OMX colorspace constants.
|
||||
Clients of such decoders will not be able to access the decoded data,
|
||||
naturally making the component much less useful. The only use for
|
||||
a component with this quirk is to render the output to the screen.
|
||||
Audio decoders MUST NOT advertise this quirk.
|
||||
Video decoders that advertise this quirk must be accompanied by a
|
||||
corresponding color space converter for thumbnail extraction,
|
||||
matching surfaceflinger support that can render the custom format to
|
||||
a texture and possibly other code, so just DON'T USE THIS QUIRK.
|
||||
|
||||
|
||||
-->
|
||||
|
||||
<!--
|
||||
845 Non-Secure decoder capabilities
|
||||
_________________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|_____________|_________________________________________|
|
||||
| h264 | 4096 2160 60 120 2073600 |
|
||||
| | (4096) (2304) (30) (120) |
|
||||
| hevc | 4096 2160 60 120 2073600 |
|
||||
| | (4096) (2304) (30) (120) |
|
||||
| vp8 | 4096 2160 30 120 1036800 |
|
||||
| | (4096) (2304) (24) (120) |
|
||||
| vp9 | 4096 2160 60 120 2073600 |
|
||||
| | (4096) (2304) (30) (120) |
|
||||
| mpeg2 | 1920 1088 30 40 244800 |
|
||||
|_____________|_________________________________________|
|
||||
|
||||
845 Secure decoder capabilities
|
||||
______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 4096 2160 60 40 2073600 |
|
||||
| | (4096) (2304) (30) (40) |
|
||||
| vp9 | 4096 2160 60 40 2073600 |
|
||||
| | (4096) (2304) (30) (40) |
|
||||
| hevc | 4096 2160 60 40 2073600 |
|
||||
| | (4096) (2304) (30) (40) |
|
||||
| mpeg2 | 1920 1088 30 40 244800 |
|
||||
|__________|_________________________________________|
|
||||
|
||||
845 Non-Secure encoder capabilities (Secure not supported)
|
||||
______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 4096 2160 60 120 2073600 |
|
||||
| | (4096) (2304) (30) (120) |
|
||||
| hevc | 4096 2160 60 120 2073600 |
|
||||
| | (4096) (2304) (30) (120) |
|
||||
| vp8 | 4096 2160 30 120 1036800 |
|
||||
| | (4096) (2304) (24) (120) |
|
||||
|__________|_________________________________________|
|
||||
-->
|
||||
|
||||
<MediaCodecs>
|
||||
<Settings>
|
||||
<Domain name="telephony" enabled="true" />
|
||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
||||
</Settings>
|
||||
<Encoders>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<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-480" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="56" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-1920x1080" value="240" />
|
||||
<Limit name="performance-point-1280x720" value="480" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="1036800" />
|
||||
<Limit name="bitrate" range="1-120000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="28" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<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-480" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="56" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-1920x1080" value="240" />
|
||||
<Limit name="performance-point-1280x720" value="480" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
<Decoders>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<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-480" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="56" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-1920x1080" value="240" />
|
||||
<Limit name="performance-point-1280x720" value="480" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<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-40000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="56" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" 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-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="244800" />
|
||||
<Limit name="bitrate" range="1-40000000" />
|
||||
<Limit name="frame-rate" range="1-30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="24" max="1036800" />
|
||||
<Limit name="bitrate" range="1-120000000" />
|
||||
<Limit name="frame-rate" range="1-240" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="28" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-1280x720" value="240" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<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-480" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="6" />
|
||||
<Limit name="performance-point-4096x2304" value="56" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-1920x1080" value="240" />
|
||||
<Limit name="performance-point-1280x720" value="480" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<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-40000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="12" />
|
||||
<Limit name="performance-point-4096x2304" value="56" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<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-480" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="56" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-1920x1080" value="240" />
|
||||
<Limit name="performance-point-1280x720" value="480" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="size" min="96x96" max="4096x2304" />
|
||||
<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-40000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-4096x2304" value="56" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
||||
@@ -46,13 +46,4 @@
|
||||
|
||||
<!-- Whether device has screen with higher aspect ratio -->
|
||||
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
||||
|
||||
<!-- The list of package IDs that are allowed to use aux cameras.
|
||||
NOTE: If this list is empty then all apps will be able to use aux cameras. -->
|
||||
<string-array name="config_cameraAuxPackageAllowList" translatable="false">
|
||||
<item>org.codeaurora.snapcam</item>
|
||||
<item>com.android.camera</item>
|
||||
<item>org.lineageos.aperture</item>
|
||||
<item>org.lineageos.aperture.dev</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2019-2023 Evolution X
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Whether to enable Lineage Fast Charge Preference -->
|
||||
<bool name="config_lineageFastChargeSupported">true</bool>
|
||||
|
||||
<!-- Whether device supports showing battery charge cycles -->
|
||||
<bool name="config_showBatteryChargeCycles">false</bool>
|
||||
|
||||
<!-- Whether to show vendor security patch level -->
|
||||
<bool name="config_show_vendor_patch_level" translatable="false">false</bool>
|
||||
|
||||
<!-- Whether to show double tap ambient settings -->
|
||||
<bool name="config_supports_double_tap_ambient" translatable="false">true</bool>
|
||||
|
||||
<!-- Whether to show volume steps settings -->
|
||||
<bool name="config_supports_volume_steps" translatable="false">true</bool>
|
||||
|
||||
</resources>
|
||||
@@ -24,9 +24,6 @@
|
||||
<!-- The restoring is handled by modem if it is true-->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
|
||||
<bool name="config_cellBroadcastAppLinks">true</bool>
|
||||
|
||||
<!-- This string array should be overridden by the device to present a list of network
|
||||
attributes. This is used by the connectivity manager to decide which networks can coexist
|
||||
based on the hardware -->
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[
|
||||
"/dev/video0",
|
||||
"/dev/video1",
|
||||
"/dev/video2",
|
||||
"/dev/video32",
|
||||
"/dev/video33"
|
||||
]
|
||||
@@ -28,7 +28,7 @@
|
||||
android:key="doze_enable"
|
||||
android:title="@string/ambient_display_enable_title" />
|
||||
|
||||
<SwitchPreference
|
||||
<SwitchPreferenceCompat
|
||||
android:key="always_on_display"
|
||||
android:disableDependentsState="true"
|
||||
android:title="@string/ambient_display_always_on_title"
|
||||
@@ -39,7 +39,7 @@
|
||||
android:key="pickup_sensor"
|
||||
android:title="@string/pickup_sensor_title">
|
||||
|
||||
<SwitchPreference
|
||||
<SwitchPreferenceCompat
|
||||
android:key="gesture_pick_up"
|
||||
android:defaultValue="false"
|
||||
android:icon="@drawable/ic_pickup"
|
||||
@@ -52,14 +52,14 @@
|
||||
android:key="proximity_sensor"
|
||||
android:title="@string/proximity_sensor_title">
|
||||
|
||||
<SwitchPreference
|
||||
<SwitchPreferenceCompat
|
||||
android:key="gesture_hand_wave"
|
||||
android:defaultValue="false"
|
||||
android:icon="@drawable/ic_hand"
|
||||
android:title="@string/hand_wave_gesture_title"
|
||||
android:summary="@string/hand_wave_gesture_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
<SwitchPreferenceCompat
|
||||
android:key="gesture_pocket"
|
||||
android:defaultValue="false"
|
||||
android:icon="@drawable/ic_pocket"
|
||||
|
||||
@@ -31,7 +31,7 @@ import android.widget.CompoundButton;
|
||||
import androidx.preference.Preference;
|
||||
import androidx.preference.PreferenceCategory;
|
||||
import androidx.preference.PreferenceFragment;
|
||||
import androidx.preference.SwitchPreference;
|
||||
import androidx.preference.SwitchPreferenceCompat;
|
||||
|
||||
import com.android.settingslib.widget.MainSwitchPreference;
|
||||
|
||||
@@ -42,11 +42,11 @@ public class DozeSettingsFragment extends PreferenceFragment
|
||||
|
||||
private MainSwitchPreference mSwitchBar;
|
||||
|
||||
private SwitchPreference mAlwaysOnDisplayPreference;
|
||||
private SwitchPreferenceCompat mAlwaysOnDisplayPreference;
|
||||
|
||||
private SwitchPreference mPickUpPreference;
|
||||
private SwitchPreference mHandwavePreference;
|
||||
private SwitchPreference mPocketPreference;
|
||||
private SwitchPreferenceCompat mPickUpPreference;
|
||||
private SwitchPreferenceCompat mHandwavePreference;
|
||||
private SwitchPreferenceCompat mPocketPreference;
|
||||
|
||||
private Handler mHandler = new Handler();
|
||||
|
||||
@@ -66,7 +66,7 @@ public class DozeSettingsFragment extends PreferenceFragment
|
||||
mSwitchBar.addOnSwitchChangeListener(this);
|
||||
mSwitchBar.setChecked(dozeEnabled);
|
||||
|
||||
mAlwaysOnDisplayPreference = (SwitchPreference) findPreference(DozeUtils.ALWAYS_ON_DISPLAY);
|
||||
mAlwaysOnDisplayPreference = (SwitchPreferenceCompat) findPreference(DozeUtils.ALWAYS_ON_DISPLAY);
|
||||
mAlwaysOnDisplayPreference.setEnabled(dozeEnabled);
|
||||
mAlwaysOnDisplayPreference.setChecked(DozeUtils.isAlwaysOnEnabled(getActivity()));
|
||||
mAlwaysOnDisplayPreference.setOnPreferenceChangeListener(this);
|
||||
@@ -76,15 +76,15 @@ public class DozeSettingsFragment extends PreferenceFragment
|
||||
PreferenceCategory proximitySensorCategory = (PreferenceCategory) getPreferenceScreen().
|
||||
findPreference(DozeUtils.CATEG_PROX_SENSOR);
|
||||
|
||||
mPickUpPreference = (SwitchPreference) findPreference(DozeUtils.GESTURE_PICK_UP_KEY);
|
||||
mPickUpPreference = (SwitchPreferenceCompat) findPreference(DozeUtils.GESTURE_PICK_UP_KEY);
|
||||
mPickUpPreference.setEnabled(dozeEnabled);
|
||||
mPickUpPreference.setOnPreferenceChangeListener(this);
|
||||
|
||||
mHandwavePreference = (SwitchPreference) findPreference(DozeUtils.GESTURE_HAND_WAVE_KEY);
|
||||
mHandwavePreference = (SwitchPreferenceCompat) findPreference(DozeUtils.GESTURE_HAND_WAVE_KEY);
|
||||
mHandwavePreference.setEnabled(dozeEnabled);
|
||||
mHandwavePreference.setOnPreferenceChangeListener(this);
|
||||
|
||||
mPocketPreference = (SwitchPreference) findPreference(DozeUtils.GESTURE_POCKET_KEY);
|
||||
mPocketPreference = (SwitchPreferenceCompat) findPreference(DozeUtils.GESTURE_POCKET_KEY);
|
||||
mPocketPreference.setEnabled(dozeEnabled);
|
||||
mPocketPreference.setOnPreferenceChangeListener(this);
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
# Unpinned blobs from pyxis-user 11 RKQ1.200826.002 V12.5.3.0.RFCEUXM release-keys
|
||||
# grus: grus-user 11 RKQ1.200826.002 V12.5.1.0.RFBMIXM release-keys
|
||||
|
||||
# Secure element - from grus
|
||||
vendor/bin/hw/vendor.qti.secure_element@1.0-service|48621dda1de283dcf0f5c93f0d17bcd53f3f2072
|
||||
vendor/etc/init/vendor.qti.secure_element@1.0-service.rc|14796c45011ad0d4735e0f3c9dbc646e6af205aa
|
||||
vendor/lib64/hw/android.hardware.secure_element@1.0-impl.so|99bb218cf8491ac7e031dc389267454b4acbcfe6
|
||||
|
||||
# Secure element (power manager)
|
||||
vendor/bin/hw/vendor.qti.esepowermanager@1.0-service
|
||||
vendor/etc/init/vendor.qti.esepowermanager@1.0-service.rc
|
||||
vendor/lib64/hw/vendor.qti.esepowermanager@1.0-impl.so
|
||||
vendor/lib64/vendor.qti.esepowermanager@1.0.so
|
||||
@@ -1,6 +1,13 @@
|
||||
# Unpinned blobs from pyxis-user 11 RKQ1.200826.002 V12.5.3.0.RFCEUXM release-keys
|
||||
# grus: grus-user 11 RKQ1.200826.002 V12.5.1.0.RFBMIXM release-keys
|
||||
|
||||
# GNU makefile dependants:
|
||||
# - libwpa_client:
|
||||
# - imsdatadaemon
|
||||
# - lowi-server
|
||||
# - libcne
|
||||
# - libwqe
|
||||
|
||||
# ADSP
|
||||
vendor/bin/adsprpcd
|
||||
vendor/etc/init/vendor.qti.adsprpc-sscrpc-service.rc
|
||||
@@ -34,19 +41,16 @@ vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so
|
||||
vendor/lib64/libbtnv.so
|
||||
|
||||
# Bluetooth (A2DP)
|
||||
vendor/lib/hw/vendor.qti.hardware.bluetooth_audio@2.0-impl.so
|
||||
vendor/lib/hw/vendor.qti.hardware.bluetooth_sar@1.1-impl.so
|
||||
vendor/lib/hw/vendor.qti.hardware.btconfigstore@1.0-impl.so
|
||||
vendor/lib/hw/vendor.qti.hardware.btconfigstore@2.0-impl.so
|
||||
vendor/lib/btaudio_offload_if.so
|
||||
vendor/lib/hw/vendor.qti.hardware.bluetooth_audio@2.0-impl.so
|
||||
vendor/lib/libbluetooth_audio_session_qti.so
|
||||
vendor/lib/vendor.qti.hardware.bluetooth_sar@1.0.so
|
||||
vendor/lib/vendor.qti.hardware.bluetooth_sar@1.1.so
|
||||
vendor/lib64/hw/vendor.qti.hardware.bluetooth_sar@1.1-impl.so
|
||||
vendor/lib64/hw/vendor.qti.hardware.btconfigstore@2.0-impl.so
|
||||
vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.1.so
|
||||
|
||||
# CACert
|
||||
-vendor/app/CACertService/CACertService.apk
|
||||
vendor/app/CACertService/CACertService.apk
|
||||
vendor/lib64/libcacertclient.so
|
||||
vendor/lib64/libjnihelper.so
|
||||
vendor/lib64/vendor.qti.hardware.cacert@1.0.so
|
||||
@@ -76,8 +80,10 @@ vendor/lib64/libsysmon_cdsp_skel.so
|
||||
vendor/bin/hvdcp_opti
|
||||
|
||||
# CNE
|
||||
-vendor/app/CneApp/CneApp.apk
|
||||
vendor/app/CneApp/CneApp.apk
|
||||
vendor/bin/cnd
|
||||
vendor/etc/cne/profileSlm.xml
|
||||
vendor/etc/cne/slm.conf
|
||||
vendor/etc/cne/wqeclient/ATT/ATT_profile1.xml
|
||||
vendor/etc/cne/wqeclient/ATT/ATT_profile2.xml
|
||||
vendor/etc/cne/wqeclient/ATT/ATT_profile3.xml
|
||||
@@ -105,15 +111,13 @@ vendor/etc/cne/wqeclient/VZW/VZW_profile3.xml
|
||||
vendor/etc/cne/wqeclient/VZW/VZW_profile4.xml
|
||||
vendor/etc/cne/wqeclient/VZW/VZW_profile5.xml
|
||||
vendor/etc/cne/wqeclient/VZW/VZW_profile6.xml
|
||||
vendor/etc/cne/profileSlm.xml
|
||||
vendor/etc/cne/slm.conf
|
||||
vendor/etc/init/cnd.rc
|
||||
vendor/lib64/libcne.so
|
||||
vendor/lib64/libcne.so;DISABLE_CHECKELF
|
||||
vendor/lib64/libcneapiclient.so
|
||||
vendor/lib64/libcneoplookup.so
|
||||
vendor/lib64/libcneqmiutils.so
|
||||
vendor/lib64/libwms.so
|
||||
vendor/lib64/libwqe.so
|
||||
vendor/lib64/libwqe.so;DISABLE_CHECKELF
|
||||
vendor/lib64/libxml.so
|
||||
vendor/lib64/vendor.qti.data.factory@2.0.so
|
||||
vendor/lib64/vendor.qti.data.factory@2.1.so
|
||||
@@ -165,7 +169,7 @@ vendor/lib64/vendor.display.color@1.5.so
|
||||
vendor/lib64/vendor.display.postproc@1.0.so
|
||||
|
||||
# DPM
|
||||
framework/tcmclient.jar
|
||||
system/framework/tcmclient.jar
|
||||
system_ext/bin/dpmd
|
||||
system_ext/etc/dpm/dpm.conf
|
||||
system_ext/etc/init/dpmd.rc
|
||||
@@ -178,10 +182,10 @@ system_ext/lib64/libdpmctmgr.so
|
||||
system_ext/lib64/libdpmfdmgr.so
|
||||
system_ext/lib64/libdpmframework.so
|
||||
system_ext/lib64/libdpmtcm.so
|
||||
-system_ext/priv-app/dpmserviceapp/dpmserviceapp.apk
|
||||
system_ext/priv-app/dpmserviceapp/dpmserviceapp.apk
|
||||
vendor/bin/dpmQmiMgr
|
||||
vendor/etc/init/dpmQmiMgr.rc
|
||||
vendor/lib64/com.qualcomm.qti.dpm.api@1.0.so
|
||||
vendor/lib64/com.qualcomm.qti.dpm.api@1.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/libdpmqmihal.so
|
||||
|
||||
# DRM (QSEECom)
|
||||
@@ -195,6 +199,7 @@ vendor/lib/libQSEEComAPI.so
|
||||
vendor/lib/libSecureUILib.so
|
||||
vendor/lib/libStDrvInt.so
|
||||
vendor/lib/libcppf.so
|
||||
vendor/lib/libdiag.so
|
||||
vendor/lib/libdrmfs.so
|
||||
vendor/lib/libdrmtime.so
|
||||
vendor/lib/libops.so
|
||||
@@ -224,17 +229,17 @@ vendor/lib64/libtzdrmgenprov.so
|
||||
vendor/lib64/vendor.qti.hardware.qseecom@1.0.so
|
||||
|
||||
# DRM (OEM Crypto API)
|
||||
vendor/lib64/libcpion.so
|
||||
vendor/lib64/libminkdescriptor.so
|
||||
vendor/lib64/liboemcrypto.so
|
||||
vendor/lib64/libqcbor.so
|
||||
vendor/lib64/libtrustedapploader.so
|
||||
|
||||
# DRM (Widevine)
|
||||
vendor/bin/hw/android.hardware.drm@1.3-service.widevine
|
||||
vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc
|
||||
-vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml
|
||||
vendor/lib64/mediadrm/libwvdrmengine.so
|
||||
vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml
|
||||
vendor/lib64/libwvhidl.so
|
||||
vendor/lib64/mediadrm/libwvdrmengine.so
|
||||
|
||||
# DSP service
|
||||
vendor/bin/dspservice
|
||||
@@ -248,7 +253,7 @@ system_ext/lib64/fm_helium.so
|
||||
system_ext/lib64/libfm-hci.so
|
||||
system_ext/lib64/vendor.qti.hardware.fm@1.0.so
|
||||
vendor/lib64/hw/vendor.qti.hardware.fm@1.0-impl.so
|
||||
vendor/lib64/vendor.qti.hardware.fm@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.fm@1.0.so;MODULE_SUFFIX=_vendor
|
||||
|
||||
# Graphics (Adreno)
|
||||
vendor/lib/egl/eglSubDriverAndroid.so
|
||||
@@ -302,15 +307,15 @@ vendor/lib64/hw/vulkan.adreno.so
|
||||
# GNSS
|
||||
vendor/bin/hw/android.hardware.gnss@2.1-service-qti
|
||||
vendor/bin/loc_launcher
|
||||
vendor/bin/lowi-server
|
||||
vendor/bin/lowi-server;DISABLE_CHECKELF
|
||||
vendor/bin/slim_daemon
|
||||
vendor/bin/xtra-daemon
|
||||
vendor/bin/xtwifi-client
|
||||
vendor/bin/xtwifi-inet-agent
|
||||
vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc
|
||||
-vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml
|
||||
-vendor/etc/vintf/manifest/vendor.qti.gnss@4.0-service.xml
|
||||
vendor/etc/cacert_location.pem
|
||||
vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc
|
||||
vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml
|
||||
vendor/etc/vintf/manifest/vendor.qti.gnss@4.0-service.xml
|
||||
vendor/etc/xtra_root_cert.pem
|
||||
vendor/lib64/hw/android.hardware.gnss@2.1-impl-qti.so
|
||||
vendor/lib64/hw/vendor.qti.gnss@4.0-impl.so
|
||||
@@ -381,9 +386,9 @@ system_ext/lib64/vendor.qti.hardware.radio.ims@1.4.so
|
||||
system_ext/lib64/vendor.qti.ims.callinfo@1.0.so
|
||||
system_ext/lib64/vendor.qti.ims.rcsconfig@1.0.so
|
||||
system_ext/lib64/vendor.qti.imsrtpservice@3.0.so
|
||||
-system_ext/priv-app/ims/ims.apk
|
||||
system_ext/priv-app/ims/ims.apk
|
||||
vendor/bin/ims_rtp_daemon
|
||||
vendor/bin/imsdatadaemon
|
||||
vendor/bin/imsdatadaemon;DISABLE_CHECKELF
|
||||
vendor/bin/imsqmidaemon
|
||||
vendor/bin/imsrcsd
|
||||
vendor/etc/init/ims_rtp_daemon.rc
|
||||
@@ -391,13 +396,13 @@ vendor/etc/init/imsdatadaemon.rc
|
||||
vendor/etc/init/imsqmidaemon.rc
|
||||
vendor/etc/init/imsrcsd.rc
|
||||
vendor/etc/seccomp_policy/imsrtp.policy
|
||||
vendor/lib64/com.qualcomm.qti.imscmservice@1.0.so
|
||||
vendor/lib64/com.qualcomm.qti.imscmservice@2.0.so
|
||||
vendor/lib64/com.qualcomm.qti.imscmservice@2.1.so
|
||||
vendor/lib64/com.qualcomm.qti.imscmservice@2.2.so
|
||||
vendor/lib64/com.qualcomm.qti.uceservice@2.0.so
|
||||
vendor/lib64/com.qualcomm.qti.uceservice@2.1.so
|
||||
vendor/lib64/com.qualcomm.qti.uceservice@2.2.so
|
||||
vendor/lib64/com.qualcomm.qti.imscmservice@1.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/com.qualcomm.qti.imscmservice@2.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/com.qualcomm.qti.imscmservice@2.1.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/com.qualcomm.qti.imscmservice@2.2.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/com.qualcomm.qti.uceservice@2.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/com.qualcomm.qti.uceservice@2.1.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/com.qualcomm.qti.uceservice@2.2.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/lib-imscmservice.so
|
||||
vendor/lib64/lib-imsdpl.so
|
||||
vendor/lib64/lib-imsqimf.so
|
||||
@@ -412,22 +417,22 @@ vendor/lib64/lib-rtpsl.so
|
||||
vendor/lib64/lib-siputility.so
|
||||
vendor/lib64/lib-uceservice.so
|
||||
vendor/lib64/librcc.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.1.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.2.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.3.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.4.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.1.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.2.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.3.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.4.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.5.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.6.so
|
||||
vendor/lib64/vendor.qti.ims.callcapability@1.0.so
|
||||
vendor/lib64/vendor.qti.ims.callinfo@1.0.so
|
||||
vendor/lib64/vendor.qti.ims.callinfo@1.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/vendor.qti.ims.factory@1.0.so
|
||||
vendor/lib64/vendor.qti.ims.rcsconfig@1.0.so
|
||||
vendor/lib64/vendor.qti.ims.rcsconfig@1.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/vendor.qti.ims.rcsconfig@1.1.so
|
||||
vendor/lib64/vendor.qti.ims.rcsconfig@2.0.so
|
||||
vendor/lib64/vendor.qti.ims.rcsconfig@2.1.so
|
||||
vendor/lib64/vendor.qti.imsrtpservice@3.0-service-Impl.so
|
||||
vendor/lib64/vendor.qti.imsrtpservice@3.0.so
|
||||
vendor/lib64/vendor.qti.imsrtpservice@3.0.so;MODULE_SUFFIX=_vendor
|
||||
|
||||
# IPA firmware
|
||||
vendor/etc/init/ipa_fws.rc
|
||||
@@ -443,6 +448,14 @@ vendor/firmware/ipa_fws.mdt
|
||||
vendor/bin/msm_irqbalance
|
||||
vendor/etc/msm_irqbalance.conf
|
||||
|
||||
# Keymaster
|
||||
vendor/bin/hw/android.hardware.keymaster@4.0-service-qti
|
||||
-vendor/etc/init/android.hardware.keymaster@4.0-service-qti.rc
|
||||
vendor/lib64/libkeymasterdeviceutils.so
|
||||
vendor/lib64/libkeymasterprovision.so
|
||||
vendor/lib64/libkeymasterutils.so
|
||||
vendor/lib64/libqtikeymaster4.so
|
||||
|
||||
# Listen
|
||||
vendor/lib/hw/sound_trigger.primary.sdm710.so
|
||||
vendor/lib/libadpcmdec.so
|
||||
@@ -458,17 +471,11 @@ vendor/lib/librice.so
|
||||
vendor/lib/libsmwrapper.so
|
||||
|
||||
# Media
|
||||
vendor/lib/libmmosal.so
|
||||
vendor/lib64/libmmosal.so
|
||||
vendor/lib/libmmosal.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/libmmosal.so;MODULE_SUFFIX=_vendor
|
||||
|
||||
# Media configs
|
||||
odm/etc/media_profiles_V1_0.xml
|
||||
vendor/etc/media_codecs.xml
|
||||
vendor/etc/media_codecs_performance.xml
|
||||
vendor/etc/media_codecs_performance_v1.xml
|
||||
vendor/etc/media_codecs_vendor.xml
|
||||
vendor/etc/media_codecs_vendor_audio.xml
|
||||
vendor/etc/media_codecs_vendor_v1.xml
|
||||
vendor/etc/media_profiles.xml
|
||||
vendor/etc/media_profiles_vendor.xml
|
||||
vendor/etc/system_properties.xml
|
||||
@@ -480,23 +487,22 @@ vendor/lib64/libminksocket.so
|
||||
# Mlipay
|
||||
vendor/bin/mlipayd@1.1
|
||||
vendor/etc/init/vendor.xiaomi.hardware.mlipay@1.1-service.rc
|
||||
-vendor/etc/vintf/manifest/manifest_vendor.xiaomi.hardware.mlipay.xml
|
||||
vendor/etc/vintf/manifest/manifest_vendor.xiaomi.hardware.mlipay.xml
|
||||
vendor/lib64/libmlipay.so
|
||||
vendor/lib64/libmlipay@1.1.so
|
||||
|
||||
# MTD
|
||||
vendor/bin/mtd@1.2
|
||||
vendor/etc/init/vendor.xiaomi.hardware.mtdservice@1.2-service.rc
|
||||
-vendor/etc/vintf/manifest/manifest_vendor.xiaomi.hardware.mtdservice.xml
|
||||
vendor/etc/vintf/manifest/manifest_vendor.xiaomi.hardware.mtdservice.xml
|
||||
vendor/lib64/libmfido.so
|
||||
vendor/lib64/libmt@1.2.so
|
||||
vendor/lib64/libwvkeybox.so
|
||||
vendor/lib64/vendor.xiaomi.hardware.mfidoca@1.0.so
|
||||
|
||||
# Neural networks
|
||||
vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
|
||||
vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc
|
||||
-vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml
|
||||
vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml
|
||||
vendor/lib64/libhexagon_nn_stub.so
|
||||
vendor/lib64/unnhal-acc-adreno.so
|
||||
vendor/lib64/unnhal-acc-common.so
|
||||
@@ -505,49 +511,6 @@ vendor/lib64/unnhal-acc-hvx.so
|
||||
# NFC
|
||||
vendor/lib/libpn553_fw.so:vendor/lib64/libpn553_fw.so
|
||||
|
||||
# OMX
|
||||
vendor/lib/libAlacSwDec.so
|
||||
vendor/lib/libApeSwDec.so
|
||||
vendor/lib/libFlacSwDec.so
|
||||
vendor/lib/libMpeg4SwEncoder.so
|
||||
vendor/lib/libOmxAacDec.so
|
||||
vendor/lib/libOmxAlacDec.so
|
||||
vendor/lib/libOmxAlacDecSw.so
|
||||
vendor/lib/libOmxAmrDec.so
|
||||
vendor/lib/libOmxAmrwbplusDec.so
|
||||
vendor/lib/libOmxApeDec.so
|
||||
vendor/lib/libOmxApeDecSw.so
|
||||
vendor/lib/libOmxDsdDec.so
|
||||
vendor/lib/libOmxEvrcDec.so
|
||||
vendor/lib/libOmxG711Dec.so
|
||||
vendor/lib/libOmxQcelp13Dec.so
|
||||
vendor/lib/libOmxSwVdec.so
|
||||
vendor/lib/libOmxSwVencMpeg4.so
|
||||
vendor/lib/libOmxVideoDSMode.so
|
||||
vendor/lib/libOmxVpp.so
|
||||
vendor/lib/libOmxWmaDec.so
|
||||
vendor/lib/libdsd2pcm.so
|
||||
vendor/lib/libswvdec.so
|
||||
vendor/lib64/libAlacSwDec.so
|
||||
vendor/lib64/libApeSwDec.so
|
||||
vendor/lib64/libFlacSwDec.so
|
||||
vendor/lib64/libMpeg4SwEncoder.so
|
||||
vendor/lib64/libOmxAacDec.so
|
||||
vendor/lib64/libOmxAlacDec.so
|
||||
vendor/lib64/libOmxAlacDecSw.so
|
||||
vendor/lib64/libOmxAmrDec.so
|
||||
vendor/lib64/libOmxAmrwbplusDec.so
|
||||
vendor/lib64/libOmxApeDec.so
|
||||
vendor/lib64/libOmxApeDecSw.so
|
||||
vendor/lib64/libOmxEvrcDec.so
|
||||
vendor/lib64/libOmxG711Dec.so
|
||||
vendor/lib64/libOmxQcelp13Dec.so
|
||||
vendor/lib64/libOmxSwVdec.so
|
||||
vendor/lib64/libOmxSwVencMpeg4.so
|
||||
vendor/lib64/libOmxVpp.so
|
||||
vendor/lib64/libOmxWmaDec.so
|
||||
vendor/lib64/libswvdec.so
|
||||
|
||||
# Peripheral manager
|
||||
vendor/bin/pm-proxy
|
||||
vendor/bin/pm-service
|
||||
@@ -555,14 +518,14 @@ vendor/lib64/libperipheral_client.so
|
||||
vendor/lib64/libspcom.so
|
||||
|
||||
# Power-off alarm
|
||||
-product/app/PowerOffAlarm/PowerOffAlarm.apk
|
||||
-system_ext/framework/vendor.qti.hardware.alarm-V1.0-java.jar
|
||||
product/app/PowerOffAlarm/PowerOffAlarm.apk
|
||||
system_ext/framework/vendor.qti.hardware.alarm-V1.0-java.jar
|
||||
system_ext/lib64/vendor.qti.hardware.alarm@1.0.so
|
||||
vendor/bin/hw/vendor.qti.hardware.alarm@1.0-service
|
||||
vendor/bin/power_off_alarm
|
||||
vendor/etc/init/vendor.qti.hardware.alarm@1.0-service.rc
|
||||
vendor/lib64/hw/vendor.qti.hardware.alarm@1.0-impl.so
|
||||
vendor/lib64/vendor.qti.hardware.alarm@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.alarm@1.0.so;MODULE_SUFFIX=_vendor
|
||||
|
||||
# QDMA
|
||||
vendor/bin/hw/vendor.qti.hardware.qccvndhal@1.0-service
|
||||
@@ -575,33 +538,18 @@ vendor/lib64/vendor.qti.hardware.qccvndhal@1.0-halimpl.so
|
||||
vendor/lib64/vendor.qti.hardware.qccvndhal@1.0.so
|
||||
|
||||
# QMI
|
||||
etc/permissions/qti_libpermissions.xml:system_ext/etc/permissions/qti_libpermissions.xml
|
||||
etc/permissions/qti_permissions.xml:system_ext/etc/permissions/qti_permissions.xml
|
||||
etc/sysconfig/qti_whitelist.xml
|
||||
-system/etc/permissions/qti_libpermissions.xml:system_ext/etc/permissions/qti_libpermissions.xml
|
||||
-system/etc/permissions/qti_permissions.xml:system_ext/etc/permissions/qti_permissions.xml
|
||||
-system/etc/sysconfig/qti_whitelist.xml
|
||||
vendor/bin/irsc_util
|
||||
vendor/etc/sec_config
|
||||
vendor/lib/libdiag.so
|
||||
vendor/lib/libdsi_netctrl.so
|
||||
vendor/lib/libdsutils.so
|
||||
vendor/lib/libidl.so
|
||||
vendor/lib/libqcci_legacy.so
|
||||
vendor/lib/libqcmaputils.so
|
||||
vendor/lib/libqdi.so
|
||||
vendor/lib/libqdp.so
|
||||
vendor/lib/libqmi.so
|
||||
vendor/lib/libqmi_cci.so
|
||||
vendor/lib/libqmi_client_helper.so
|
||||
vendor/lib/libqmi_client_qmux.so
|
||||
vendor/lib/libqmi_common_so.so
|
||||
vendor/lib/libqmi_csi.so
|
||||
vendor/lib/libqmi_encdec.so
|
||||
vendor/lib/libqminvapi.so
|
||||
vendor/lib/libqmiservices.so
|
||||
vendor/lib64/libdiag.so
|
||||
vendor/lib64/libdsi_netctrl.so
|
||||
vendor/lib64/libdsutils.so
|
||||
vendor/lib64/libidl.so
|
||||
vendor/lib64/libqcci_legacy.so
|
||||
vendor/lib64/libqcmaputils.so
|
||||
vendor/lib64/libqdi.so
|
||||
vendor/lib64/libqdp.so
|
||||
@@ -616,17 +564,17 @@ vendor/lib64/libqminvapi.so
|
||||
vendor/lib64/libqmiservices.so
|
||||
|
||||
# RIL
|
||||
-system_ext/app/QtiTelephonyService/QtiTelephonyService.apk
|
||||
system_ext/app/QtiTelephonyService/QtiTelephonyService.apk
|
||||
system_ext/etc/permissions/qcrilhook.xml
|
||||
system_ext/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml
|
||||
system_ext/etc/permissions/telephonyservice.xml
|
||||
system_ext/framework/qcrilhook.jar
|
||||
system_ext/framework/qti-telephony-common.jar
|
||||
-system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
|
||||
-vendor/app/IWlanService/IWlanService.apk
|
||||
vendor/bin/hw/qcrild
|
||||
system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
|
||||
vendor/app/IWlanService/IWlanService.apk
|
||||
vendor/bin/ATFWD-daemon
|
||||
vendor/bin/adpl
|
||||
vendor/bin/hw/qcrild
|
||||
vendor/bin/netmgrd
|
||||
vendor/bin/pd-mapper
|
||||
vendor/bin/port-bridge
|
||||
@@ -671,7 +619,7 @@ vendor/lib64/libsystem_health_mon.so
|
||||
vendor/lib64/qcrild_librilutils.so
|
||||
vendor/lib64/qtibus.so
|
||||
vendor/lib64/qtimutex.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.am@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.am@1.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib64/vendor.qti.hardware.radio.atcmdfwd@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.internal.deviceinfo@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.lpa@1.0.so
|
||||
@@ -689,6 +637,7 @@ vendor/lib64/vendor.qti.hardware.radio.uim_remote_client@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.uim_remote_client@1.1.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.uim_remote_client@1.2.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.uim_remote_server@1.0.so
|
||||
vendor/radio/qcril_database/qcril.db
|
||||
vendor/radio/qcril_database/upgrade/0_initial.sql
|
||||
vendor/radio/qcril_database/upgrade/1_version_intro.sql
|
||||
vendor/radio/qcril_database/upgrade/2_version_add_wps_config.sql
|
||||
@@ -697,25 +646,35 @@ vendor/radio/qcril_database/upgrade/4_version_update_ecc_table.sql
|
||||
vendor/radio/qcril_database/upgrade/5_version_update_ecc_table.sql
|
||||
vendor/radio/qcril_database/upgrade/6_version_update_ecc_table.sql
|
||||
vendor/radio/qcril_database/upgrade/7_version_update_ecc_table.sql
|
||||
vendor/radio/qcril_database/qcril.db
|
||||
|
||||
# SCVE
|
||||
vendor/lib/rfsa/adsp/libscveObjectSegmentation_skel.so
|
||||
vendor/lib/rfsa/adsp/libscveT2T_skel.so
|
||||
vendor/lib/libscveCommon.so
|
||||
vendor/lib/libscveCommon_stub.so
|
||||
vendor/lib/libscveObjectSegmentation.so
|
||||
vendor/lib/libscveObjectSegmentation_stub.so
|
||||
vendor/lib/libscveObjectTracker.so
|
||||
vendor/lib/libscveObjectTracker_stub.so
|
||||
vendor/lib/rfsa/adsp/libscveObjectSegmentation_skel.so
|
||||
vendor/lib/rfsa/adsp/libscveT2T_skel.so
|
||||
vendor/lib/vendor.qti.hardware.scve.objecttracker@1.0.so
|
||||
vendor/lib/vendor.qti.hardware.scve.panorama@1.0.so
|
||||
|
||||
# SECCOMP policy
|
||||
vendor/etc/seccomp_policy/mediacodec.policy
|
||||
|
||||
# Secure element - from grus
|
||||
vendor/bin/hw/vendor.qti.secure_element@1.0-service|48621dda1de283dcf0f5c93f0d17bcd53f3f2072
|
||||
-vendor/etc/init/vendor.qti.secure_element@1.0-service.rc|14796c45011ad0d4735e0f3c9dbc646e6af205aa
|
||||
vendor/lib64/hw/android.hardware.secure_element@1.0-impl.so|99bb218cf8491ac7e031dc389267454b4acbcfe6
|
||||
|
||||
# Secure element (power manager)
|
||||
vendor/bin/hw/vendor.qti.esepowermanager@1.0-service
|
||||
-vendor/etc/init/vendor.qti.esepowermanager@1.0-service.rc
|
||||
vendor/lib64/hw/vendor.qti.esepowermanager@1.0-impl.so
|
||||
vendor/lib64/vendor.qti.esepowermanager@1.0.so
|
||||
|
||||
# Soter
|
||||
-app/SoterService/SoterService.apk
|
||||
system/app/SoterService/SoterService.apk
|
||||
vendor/bin/hw/vendor.qti.hardware.soter@1.0-service
|
||||
vendor/etc/init/vendor.qti.hardware.soter@1.0-service.rc
|
||||
vendor/lib64/hw/vendor.qti.hardware.soter@1.0-impl.so
|
||||
@@ -727,11 +686,11 @@ vendor/bin/ssr_setup
|
||||
# Thermal engine
|
||||
vendor/bin/thermal-engine
|
||||
vendor/etc/init/init_thermal-engine.rc
|
||||
-vendor/lib/libthermalclient.so
|
||||
-vendor/lib64/libthermalclient.so
|
||||
vendor/lib/libthermalclient.so
|
||||
vendor/lib64/libthermalclient.so
|
||||
|
||||
# Time services
|
||||
-vendor/app/TimeService/TimeService.apk
|
||||
vendor/app/TimeService/TimeService.apk
|
||||
vendor/bin/time_daemon
|
||||
vendor/etc/init/init.time_daemon.rc
|
||||
vendor/lib/libtime_genoff.so
|
||||
@@ -768,53 +727,54 @@ vendor/bin/nv_mac
|
||||
vendor/etc/wifi/aoa_cldb_falcon.bin
|
||||
vendor/etc/wifi/aoa_cldb_swl14.bin
|
||||
|
||||
# WiFi Display (system) - from lemonadep - TP1A.220624.003
|
||||
-framework/WfdCommon.jar|323859204993cb8bf89821baeb08a6a85e750c65
|
||||
system_ext/bin/wfdservice|fc204600629fbf60c4c6c187f0943d21643fdb4a
|
||||
# WiFi Display (system) - from salami - AP3A.240617.008
|
||||
system/framework/WfdCommon.jar|7f5fa507edca51663be2d243a3bc72799c1a31e2
|
||||
system_ext/bin/wfdservice|b7b774b649b601f5a64baf79aa5e1c530278a9bc
|
||||
system_ext/etc/init/wfdservice.rc|907def8565d8f91f531ca7dfad880af05d540b0c
|
||||
system_ext/etc/seccomp_policy/wfdservice.policy|37994de64d6bd127898bd556cd614db459fe07ec
|
||||
system_ext/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml|6669d5ee462c981663b8ac573d84d334e4eed96c
|
||||
system_ext/etc/seccomp_policy/wfdservice.policy|5b3592c965f16b2d55ac89d56d8d3c49a6b5800b
|
||||
system_ext/etc/wfdconfigsink.xml|cb78df66948314a75080a4161321fb3111a0785a
|
||||
system_ext/lib/com.qualcomm.qti.wifidisplayhal@1.0.so|76890a318bd32d8e64c28b708937ec8ca1e3d2bb
|
||||
system_ext/lib/libmmosal.so|c8c69eae3f2ba902cb29b522ddbfbe839f066c58
|
||||
system_ext/lib/libmmparser_lite.so|b41bd63f602222e0a3c7034485a4974e92985213
|
||||
system_ext/lib/libmmrtpdecoder.so|dd7868f19bf168243d514239bf103048d7095be3
|
||||
system_ext/lib/libmmrtpencoder.so|f4f83609321f103be884f6cde3aa05b49cf42b40
|
||||
system_ext/lib/libwfdavenhancements.so|c041fc8675f34985e180e13e23cc9c4a59c7d8aa
|
||||
system_ext/lib/libwfdclient.so|feead7bcaf6a54b60a511f62fe2822a5ebf3fbee
|
||||
system_ext/lib/libwfdcommonutils.so|f0dfed5593369d2fc5ff2f5cb35458d2118bf7b0
|
||||
system_ext/lib/libwfdconfigutils.so|83b3b30950638164ddcade538969e84be2c418db
|
||||
system_ext/lib/libwfddisplayconfig.so|ec3383d6c03a21985f4442eae6c7e935867d10c8
|
||||
system_ext/lib/libwfdmminterface.so|610a9dadc4f577a655b9fdfee2411a44b0e39a7d
|
||||
system_ext/lib/libwfdmmsink.so|a045b3dd2b4cad52684e579af2d72554c178e9f6
|
||||
system_ext/lib/libwfdmmsrc_system.so|7c610627c1ad1389892d47ed84d3efcde16b0cda
|
||||
system_ext/lib/libwfdrtsp.so|3ace8ddfd6dc3f8aea2d8f489431599e6467de1c
|
||||
system_ext/lib/libwfdservice.so|38ca6ba591d5bb2f475c82660e2d6e63faec9d9c
|
||||
system_ext/lib/libwfdsinksm.so|68d32947455c468d12e52a57cd71a2ba50d7fcd2
|
||||
system_ext/lib/libwfduibcinterface.so|7ac5b7fd7ff0b469629548549cf3a907068be174
|
||||
system_ext/lib/libwfduibcsink.so|5630028a8152379a1037d81224b8c031209b93ce
|
||||
system_ext/lib/libwfduibcsinkinterface.so|25e3cd7b8fd106c401597e9d71f47006ca06b31f
|
||||
system_ext/lib/libwfduibcsrc.so|09821648adb3275b2c2619af7581f35a47643ff5
|
||||
system_ext/lib/libwfduibcsrcinterface.so|0c98741c0d65b27acf73a8b1a742e433fbeb86f4
|
||||
system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so|22c0738800ca315c1283f5f69438611b92f1a938
|
||||
system_ext/lib64/libmmosal.so|9ce1b8f9ba41f7dafe149ead639d9325cc9d300b
|
||||
system_ext/lib64/libmmparser_lite.so|8515e1d267cb968af4a08c2195be32678286e483
|
||||
system_ext/lib64/libmmrtpdecoder.so|9f647eb3812478fbd7e23c0580968117c85d6a73
|
||||
system_ext/lib64/libmmrtpencoder.so|49dc6d9092b70780c2ab60bfb18e7937b8c1f931
|
||||
system_ext/lib64/libwfdclient.so|8a020cc50c05f054135bcf139bc9427c72cdcbae
|
||||
system_ext/lib64/libwfdcommonutils.so|014637a533494400606e9473fb30725082f60f33
|
||||
system_ext/lib64/libwfdconfigutils.so|e39cb0730e38ad2ad53bd0882200ad682e96eb1c
|
||||
system_ext/lib64/libwfddisplayconfig.so|59a5cb17ffe46900c0ae26a8937a5ddab80fe283
|
||||
system_ext/lib64/libwfdmminterface.so|b1e33104bc2231c7f75132757a28c918ee4b3889
|
||||
system_ext/lib64/libwfdmmsink.so|0db18686f52492b89d9feffffd0494371f6a8c18
|
||||
system_ext/lib64/libwfdnative.so|f8a1328641167d037f097d6595079997de0a1662
|
||||
system_ext/lib64/libwfdrtsp.so|1957934068e8befa237106fbc584457e86ef07da
|
||||
system_ext/lib64/libwfdsinksm.so|bd2369a1203a3b24115605ec1d27d288b4b62718
|
||||
system_ext/lib64/libwfduibcinterface.so|d5a578a2159c4681cb9d159b93c1c39b8f3091f7
|
||||
system_ext/lib64/libwfduibcsink.so|d4cc3afb86003f0e26134f82b503b6deac30b6b5
|
||||
system_ext/lib64/libwfduibcsinkinterface.so|a875792e5242870cd9a069cb367a6b5031fce2f0
|
||||
system_ext/lib64/libwfduibcsrc.so|1529ca18c3484b8a3f3d95e9198def564e86fda3
|
||||
system_ext/lib64/libwfduibcsrcinterface.so|69400030817aa8f6994a525b027bb3dd7cabd0d4
|
||||
-system_ext/priv-app/WfdService/WfdService.apk|1abb2c2c249d2e99aa6bbdb972736e52ba594e56
|
||||
system_ext/lib/libmmosal.so|7afc892973a94625e92a1086df95083adab3e7f4
|
||||
system_ext/lib/libmmparser_lite.so|e2319577781704d97b31367bb8ad925771b0a846
|
||||
system_ext/lib/libmmrtpdecoder.so|0b03307d4ae7db06f227142d211ae549fe04bde9
|
||||
system_ext/lib/libmmrtpencoder.so|f4548c3d78d20237d8b12267edbe88f6d9888473
|
||||
system_ext/lib/libwfdavenhancements.so|2e691dacfbc2620d8a207954b721cef27a20864f
|
||||
system_ext/lib/libwfdclient.so|7653d1243de437e70defa3c042413f53e9435f23
|
||||
system_ext/lib/libwfdcommonutils.so|3141f605a1403af16d77d6453c40dcb19ce7a487
|
||||
system_ext/lib/libwfdconfigutils.so|c43657253de3d2711063c47956daf70ebcbb8c39
|
||||
system_ext/lib/libwfddisplayconfig.so|bb4abda7d818a359975b2c2b182894a4a13b7cf4
|
||||
system_ext/lib/libwfdmminterface.so|bdc4df873914ede0a1e8951e749f9d73b06736d1
|
||||
system_ext/lib/libwfdmmsink.so|4d1dc5fe829106715a18c61c57c0d369eec8f2dd
|
||||
system_ext/lib/libwfdmmsrc_system.so|4b2aa27983077a5536c9320d3b9c6ef5b1723c62
|
||||
system_ext/lib/libwfdrtsp.so|9a2f311df7e2fccd92724770c87841a7de80a66e
|
||||
system_ext/lib/libwfdservice.so|2c1ef6663dd85c1fdcc2dc68666dc4ec35874cc5|73bd8d9214e16155bbb8b8545c857a6a1c56c542
|
||||
system_ext/lib/libwfdsinksm.so|f61555a13f33a261e3920542af201320fa25e866
|
||||
system_ext/lib/libwfduibcinterface.so|d3fef4e928f1e93b9a868bc99bb2228650e1adac
|
||||
system_ext/lib/libwfduibcsink.so|3421f99b8cb2ba2ab0946660e6cbeec7300ed447
|
||||
system_ext/lib/libwfduibcsinkinterface.so|25df05db02190c8fa41c3ef91ef033f93ab38320
|
||||
system_ext/lib/libwfduibcsrc.so|c054e853659cb1ec6f88608ca1cd9b16b5bef5cf
|
||||
system_ext/lib/libwfduibcsrcinterface.so|5a42ebf9f56b47f34f94b18372e6451f101f8efc
|
||||
system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so|b69ef7e1022dd41b4e342856bd03675c968ef9b4
|
||||
system_ext/lib/vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk.so|cddecc190bd2eabb5dfea070cbb3526ec415d0b1
|
||||
system_ext/lib64/libmmosal.so|491219fad66ec89a9b049c1686c119e5e0b73ae3
|
||||
system_ext/lib64/libmmparser_lite.so|dbc8adc18ca8d9ad3eb272d08523c1a828d374c4
|
||||
system_ext/lib64/libmmrtpdecoder.so|fabbbdcd429846a9aa1f8d20b8cea8e19f6ad1d8
|
||||
system_ext/lib64/libmmrtpencoder.so|3b4c988229cc9afc9260807af108c4aa5e916763
|
||||
system_ext/lib64/libwfdclient.so|96a3e26314595b5751c1b12578a043ac3ec6a890
|
||||
system_ext/lib64/libwfdcommonutils.so|1d218b28ec0041f84e51d2996171dfc6d19b84f7
|
||||
system_ext/lib64/libwfdconfigutils.so|2afbb37792c77e2ea0e1a6719e1bd30c1fb75b5b
|
||||
system_ext/lib64/libwfddisplayconfig.so|2f251251acd4ef8a8c04aa8b1504ae72ec31d7f2
|
||||
system_ext/lib64/libwfdmminterface.so|190b323e70bad7c601e2b177718d448af49a08a6
|
||||
system_ext/lib64/libwfdmmsink.so|fffbc900181d2e19d4cf9800befacf47a1be57e4
|
||||
system_ext/lib64/libwfdnative.so;SYMLINK=system_ext/priv-app/WfdService/lib/arm64/libwfdnative.so|aa5a40b6d04cb032e305110ff3ee0b31fab5b209
|
||||
system_ext/lib64/libwfdrtsp.so|a33de8ccd94420f07fbae3e9c1c6b4988968e095
|
||||
system_ext/lib64/libwfdsinksm.so|ac0246a323cfb132ce946a17a3de01bf177a0684
|
||||
system_ext/lib64/libwfduibcinterface.so|96ed507b1698e845e3c0b73f39515aefa5971fff
|
||||
system_ext/lib64/libwfduibcsink.so|626cd1be5dcb131dc4b3ed53ed193fa082a0c617
|
||||
system_ext/lib64/libwfduibcsinkinterface.so|6294b53eced077983e5ddab21ec41a4b2d07d566
|
||||
system_ext/lib64/libwfduibcsrc.so|67630b36b0a75ceb0cb32d51b8254b0d2b6d6f92
|
||||
system_ext/lib64/libwfduibcsrcinterface.so|af85a58083be7e57be2fa062f9102c89278ad848
|
||||
system_ext/priv-app/WfdService/WfdService.apk|a45fce386941b8f1d282ccf268fef24a2d589933
|
||||
|
||||
# WiFi Display (vendor)
|
||||
vendor/bin/wfdhdcphalservice
|
||||
@@ -847,7 +807,7 @@ vendor/lib/libwfduibcsinkinterface_proprietary.so
|
||||
vendor/lib/libwfduibcsrc_proprietary.so
|
||||
vendor/lib/libwfduibcsrcinterface_proprietary.so
|
||||
vendor/lib/libwfdutils_proprietary.so
|
||||
vendor/lib/vendor.qti.hardware.wifidisplaysession@1.0.so
|
||||
vendor/lib/vendor.qti.hardware.wifidisplaysession@1.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib/vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl.so
|
||||
vendor/lib64/libwfdhdcpcp.so
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ prebuilt_etc {
|
||||
name: "fstab.qcom",
|
||||
src: "etc/fstab.qcom",
|
||||
vendor: true,
|
||||
ramdisk_available: true,
|
||||
}
|
||||
|
||||
// Init scripts
|
||||
@@ -45,6 +46,13 @@ prebuilt_etc {
|
||||
vendor: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init.recovery.qcom.rc",
|
||||
src: "etc/init.recovery.qcom.rc",
|
||||
sub_dir: "init",
|
||||
recovery: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init.target.rc",
|
||||
src: "etc/init.target.rc",
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := init.recovery.qcom.rc
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := etc/init.recovery.qcom.rc
|
||||
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := fstab.qcom_ramdisk
|
||||
LOCAL_MODULE_STEM := fstab.qcom
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := etc/fstab.qcom
|
||||
LOCAL_MODULE_PATH := $(TARGET_RAMDISK_OUT)
|
||||
include $(BUILD_PREBUILT)
|
||||
@@ -136,8 +136,8 @@ on enable-low-power
|
||||
# Set allocstall_threshold to 0
|
||||
write /sys/module/vmpressure/parameters/allocstall_threshold 0
|
||||
|
||||
# Set swappiness to 100 for all targets
|
||||
write /proc/sys/vm/swappiness 100
|
||||
# Set swappiness to 60 for all targets
|
||||
write /proc/sys/vm/swappiness 60
|
||||
|
||||
# Disable wsf because we are using efk.
|
||||
# wsf Range : 1..1000 So set to bare minimum value 1.
|
||||
|
||||
@@ -573,7 +573,7 @@ service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/m
|
||||
user root
|
||||
group root
|
||||
|
||||
on property:init.svc.vendor.charger=running
|
||||
on charger
|
||||
setprop persist.sys.usb.config mass_storage
|
||||
start qcom-post-boot
|
||||
|
||||
|
||||
@@ -69,9 +69,6 @@ on fs
|
||||
chmod 0644 /proc/tp_selftest
|
||||
|
||||
on late-fs
|
||||
# Wait for keymaster
|
||||
exec_start wait_for_keymaster
|
||||
|
||||
# Mount RW partitions which need run fsck
|
||||
mount_all /vendor/etc/fstab.qcom --late
|
||||
|
||||
@@ -157,7 +154,6 @@ on boot
|
||||
setprop vendor.usb.rmnet.inst.name "rmnet"
|
||||
setprop vendor.usb.dpl.inst.name "dpl"
|
||||
setprop vendor.usb.qdss.inst.name "qdss"
|
||||
setprop sys.usb.configfs 1
|
||||
|
||||
#pd-mapper
|
||||
service vendor.pd_mapper /vendor/bin/pd-mapper
|
||||
@@ -192,9 +188,8 @@ on boot
|
||||
chmod 0666 /sys/class/touch/touch_dev/palm_sensor
|
||||
chown system system /sys/class/touch/tp_dev/fod_status
|
||||
|
||||
on property:init.svc.vendor.charger=running
|
||||
on charger
|
||||
start vendor.power_off_alarm
|
||||
setprop sys.usb.configfs 1
|
||||
|
||||
service thermal-engine /system/vendor/bin/thermal-engine -T
|
||||
class main
|
||||
|
||||
5
rro_overlays/WifiOverlay/Android.bp
Normal file
5
rro_overlays/WifiOverlay/Android.bp
Normal file
@@ -0,0 +1,5 @@
|
||||
runtime_resource_overlay {
|
||||
name: "WifiOverlay",
|
||||
theme: "WifiOverlay",
|
||||
vendor: true
|
||||
}
|
||||
27
rro_overlays/WifiOverlay/AndroidManifest.xml
Normal file
27
rro_overlays/WifiOverlay/AndroidManifest.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<!-- Pixel specific wifi overlays -->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.wifi.resources.xiaomi_sdm710"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<application android:hasCode="false" />
|
||||
<overlay
|
||||
android:targetPackage="com.android.wifi.resources"
|
||||
android:targetName="WifiCustomization"
|
||||
android:isStatic="true"
|
||||
android:priority="0"/>
|
||||
</manifest>
|
||||
78
rro_overlays/WifiOverlay/res/values/config.xml
Normal file
78
rro_overlays/WifiOverlay/res/values/config.xml
Normal file
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. Do not translate.
|
||||
|
||||
NOTE: The naming convention is "config_camelCaseValue". Some legacy
|
||||
entries do not follow the convention, but all new entries should. -->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- boolean indicating whether the WiFi chipset has 5GHz band support.
|
||||
Note: This config is replacing the config_wifi_dual_band_support
|
||||
since more bands may now be supported (such as 6GHz), the naming dual_band
|
||||
is no longer indicative, and a separate config now exists for each band -->
|
||||
<bool translatable="false" name="config_wifi5ghzSupport">true</bool>
|
||||
|
||||
<!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
|
||||
<bool translatable="false" name="config_wifi_fast_bss_transition_enabled">true</bool>
|
||||
|
||||
<!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
|
||||
This mechanism allows the host to remain in suspend state and the dongle to actively
|
||||
scan and wake the host when a configured SSID is detected by the dongle. This chipset
|
||||
capability can provide power savings when wifi needs to be always kept on. -->
|
||||
<bool translatable="false" name="config_wifi_background_scan_support">true</bool>
|
||||
|
||||
<!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
|
||||
<bool translatable="false" name="config_wifi_turn_off_during_emergency_call">true</bool>
|
||||
|
||||
<!-- Configure wifi tcp buffersizes in the form:
|
||||
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
||||
<string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,8388608,262144,524288,4194304</string>
|
||||
|
||||
<!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
|
||||
<bool translatable="false" name="config_wifi_softap_acs_supported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
|
||||
<bool translatable="false" name="config_wifi_softap_sae_supported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AC for softap -->
|
||||
<bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
|
||||
|
||||
<!-- Indicates that connected MAC randomization is supported on this device -->
|
||||
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- Indicates that p2p MAC randomization is supported on this device -->
|
||||
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- Indicates that AP mode MAC randomization is supported on this device -->
|
||||
<bool name="config_wifi_ap_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- Indicates that wifi link probing is supported on this device -->
|
||||
<bool name="config_wifi_link_probing_supported">true</bool>
|
||||
|
||||
<!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds -->
|
||||
<bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">true</bool>
|
||||
|
||||
<!-- Integer indicating maximum hardware supported client number of soft ap -->
|
||||
<integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">32</integer>
|
||||
|
||||
<!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements -->
|
||||
<bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">true</bool>
|
||||
|
||||
<!-- Indicate the driver support NL80211_REG_CHANGED event. -->
|
||||
<bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">true</bool>
|
||||
</resources>
|
||||
170
sdm710.mk
170
sdm710.mk
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2022-2023 The LineageOS Project
|
||||
# Copyright (C) 2022-2024 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
@@ -7,6 +7,9 @@
|
||||
# Setup dalvik vm configs
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
||||
|
||||
# Add common definitions for Qualcomm
|
||||
$(call inherit-product, hardware/qcom-caf/common/common.mk)
|
||||
|
||||
# Permissions
|
||||
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 \
|
||||
@@ -88,31 +91,18 @@ PRODUCT_COPY_FILES += \
|
||||
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
||||
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
||||
|
||||
# Bluetooth
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.bluetooth@1.1.vendor \
|
||||
vendor.qti.hardware.bluetooth_audio@2.0.vendor \
|
||||
vendor.qti.hardware.btconfigstore@1.0.vendor \
|
||||
vendor.qti.hardware.btconfigstore@2.0.vendor
|
||||
|
||||
# Camera
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.camera.provider@2.4-impl \
|
||||
android.hardware.camera.provider@2.4-service
|
||||
|
||||
# Configstore
|
||||
PRODUCT_PACKAGES += \
|
||||
libMegviiFacepp-0.5.2 \
|
||||
libcamera2ndk_vendor \
|
||||
libdng_sdk.vendor \
|
||||
libgui_vendor \
|
||||
libmegface \
|
||||
libstdc++_vendor \
|
||||
vendor.qti.hardware.camera.device@1.0.vendor \
|
||||
vendor.qti.hardware.camera.postproc@1.0.vendor
|
||||
disable_configstore
|
||||
|
||||
# Consumer IR
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.ir@1.0-service.xiaomi
|
||||
android.hardware.ir-service.lineage
|
||||
|
||||
# Device-specific settings
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -126,31 +116,15 @@ PRODUCT_PACKAGES += \
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.graphics.composer@2.3-service \
|
||||
hwcomposer.sdm710
|
||||
hwcomposer.qcom
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.memtrack@1.0-impl \
|
||||
android.hardware.memtrack@1.0-service \
|
||||
memtrack.sdm710
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libdisplayconfig.qti \
|
||||
libdisplayconfig.system.qti \
|
||||
libqdMetaData \
|
||||
libqdMetaData.system \
|
||||
libtinyxml \
|
||||
vendor.display.config@1.0.vendor \
|
||||
vendor.display.config@2.0 \
|
||||
vendor.qti.hardware.display.mapper@2.0.vendor \
|
||||
vendor.qti.hardware.display.mapper@3.0.vendor
|
||||
vendor.qti.hardware.memtrack-service
|
||||
|
||||
# DRM
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.drm-service.clearkey
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.drm@1.4.vendor
|
||||
|
||||
# fastbootd
|
||||
PRODUCT_PACKAGES += \
|
||||
fastbootd
|
||||
@@ -164,8 +138,7 @@ PRODUCT_PACKAGES += \
|
||||
libudfpshandler \
|
||||
sensors.udfps
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.goodix.hardware.biometrics.fingerprint@2.1.vendor
|
||||
$(call soong_config_set,surfaceflinger,udfps_lib,//hardware/xiaomi:libudfps_extension.xiaomi)
|
||||
endif
|
||||
|
||||
# FM
|
||||
@@ -176,30 +149,11 @@ PRODUCT_PACKAGES += \
|
||||
qcom.fmradio
|
||||
endif
|
||||
|
||||
# Gatekeeper
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.gatekeeper@1.0.vendor
|
||||
|
||||
# GNSS
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.gnss@1.1.vendor \
|
||||
android.hardware.gnss@2.1.vendor
|
||||
|
||||
# Health
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.health-service.qti \
|
||||
android.hardware.health-service.qti_recovery
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.health@2.1.vendor
|
||||
|
||||
# HIDL
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hidl.base@1.0 \
|
||||
android.hidl.base@1.0.vendor \
|
||||
libhidltransport.vendor \
|
||||
libhwbinder.vendor
|
||||
|
||||
# HotwordEnrollement app permissions
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/permissions/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
||||
@@ -217,59 +171,36 @@ PRODUCT_PACKAGES += \
|
||||
ipacm \
|
||||
IPACM_cfg.xml
|
||||
|
||||
# Keymaster
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.keymaster@4.1.vendor
|
||||
# Kernel
|
||||
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := true
|
||||
|
||||
# Lights
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.light-service.xiaomi
|
||||
android.hardware.light-service.lineage
|
||||
|
||||
# Lineage Health
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.health-service.default
|
||||
|
||||
$(call soong_config_set,lineage_health,charging_control_supports_bypass,false)
|
||||
|
||||
# LiveDisplay
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.livedisplay@2.1-service.sdm710
|
||||
|
||||
# Media
|
||||
PRODUCT_PACKAGES += \
|
||||
libavservices_minijail \
|
||||
libavservices_minijail.vendor \
|
||||
libavservices_minijail_vendor
|
||||
|
||||
# Media configs
|
||||
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
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml
|
||||
|
||||
# Mlipay
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.xiaomi.hardware.mlipay@1.1.vendor \
|
||||
vendor.xiaomi.hardware.mtdservice@1.2.vendor
|
||||
|
||||
# Net
|
||||
PRODUCT_PACKAGES += \
|
||||
android.system.net.netd@1.1.vendor
|
||||
|
||||
# Neural networks
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.neuralnetworks@1.3.vendor
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/media/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
||||
|
||||
# NFC
|
||||
ifeq ($(TARGET_HAS_NFC),true)
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.nfc@1.2-service \
|
||||
com.android.nfc_extras \
|
||||
libchrome.vendor \
|
||||
NfcNci \
|
||||
SecureElement \
|
||||
Tag
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
@@ -286,19 +217,10 @@ PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
|
||||
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
|
||||
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
|
||||
endif
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.secure_element@1.2.vendor
|
||||
|
||||
# OMX
|
||||
PRODUCT_PACKAGES += \
|
||||
libOmxAacEnc \
|
||||
libOmxAmrEnc \
|
||||
libOmxCore \
|
||||
libOmxEvrcEnc \
|
||||
libOmxG711Enc \
|
||||
libOmxQcelp13Enc \
|
||||
libOmxVdec \
|
||||
libOmxVenc \
|
||||
libstagefrighthw
|
||||
@@ -314,13 +236,15 @@ PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += $(LOCAL_PATH)/overlay/packages/apps/Car
|
||||
# Partitions
|
||||
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
||||
|
||||
# Perf
|
||||
PRODUCT_PACKAGES += \
|
||||
libqti-perfd-client
|
||||
vendor_bt_firmware_mountpoint \
|
||||
vendor_dsp_mountpoint \
|
||||
vendor_firmware_mnt_mountpoint
|
||||
|
||||
# Power
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.power-service.xiaomi-libperfmgr
|
||||
android.hardware.power-service.lineage-libperfmgr \
|
||||
libqti-perfd-client
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||
@@ -338,29 +262,14 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
|
||||
|
||||
# QMI
|
||||
# QTI fwk-detect
|
||||
PRODUCT_PACKAGES += \
|
||||
libjson \
|
||||
libqti_vndfwk_detect \
|
||||
libqti_vndfwk_detect.vendor \
|
||||
libvndfwk_detect_jni.qti \
|
||||
libvndfwk_detect_jni.qti.vendor
|
||||
|
||||
# RIL
|
||||
PRODUCT_PACKAGES += \
|
||||
libprotobuf-cpp-full \
|
||||
librmnetctl \
|
||||
libxml2
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.radio@1.6.vendor \
|
||||
android.hardware.radio.config@1.3.vendor \
|
||||
android.hardware.radio.deprecated@1.0.vendor
|
||||
libqti_vndfwk_detect.vendor
|
||||
|
||||
# Rootdir
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.qcom \
|
||||
fstab.qcom_ramdisk
|
||||
fstab.qcom.ramdisk
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
init.qcom.early_boot.sh \
|
||||
@@ -377,18 +286,16 @@ PRODUCT_PACKAGES += \
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PACKAGES += \
|
||||
android.frameworks.sensorservice@1.0.vendor \
|
||||
android.hardware.sensors@1.0-impl \
|
||||
android.hardware.sensors@1.0-service
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libsensorndkbridge
|
||||
|
||||
# Soong namespaces
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
$(LOCAL_PATH) \
|
||||
hardware/google/interfaces \
|
||||
hardware/google/pixel \
|
||||
hardware/lineage/interfaces/power-libperfmgr \
|
||||
hardware/qcom-caf/common/libqti-perfd-client \
|
||||
hardware/xiaomi \
|
||||
vendor/qcom/opensource/usb/etc
|
||||
|
||||
@@ -396,7 +303,6 @@ PRODUCT_SOONG_NAMESPACES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
ims-ext-common \
|
||||
ims_ext_common.xml \
|
||||
libgui_shim \
|
||||
qti-telephony-hidl-wrapper \
|
||||
qti_telephony_hidl_wrapper.xml \
|
||||
qti-telephony-utils \
|
||||
@@ -408,24 +314,22 @@ PRODUCT_BOOT_JARS += \
|
||||
|
||||
# Thermal
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.thermal@2.0-service.qti
|
||||
android.hardware.thermal-service.qti
|
||||
|
||||
# USB
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.usb@1.3-service.dual_role_usb
|
||||
android.hardware.usb@1.3-service.dual_role_usb \
|
||||
android.hardware.usb.gadget-service.qti
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
init.qcom.usb.rc \
|
||||
init.qcom.usb.sh
|
||||
init.qcom.usb.sh \
|
||||
usb_compositions.conf
|
||||
|
||||
# Vibrator
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.vibrator.service
|
||||
|
||||
# VNDK
|
||||
PRODUCT_COPY_FILES += \
|
||||
prebuilts/vndk/v33/arm64/arch-arm64-armv8-a/shared/vndk-sp/libutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libutils-v33.so
|
||||
|
||||
# Wi-Fi
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.wifi-service \
|
||||
@@ -433,11 +337,14 @@ PRODUCT_PACKAGES += \
|
||||
libwpa_client \
|
||||
libwifi-hal-ctrl \
|
||||
libwifi-hal-qcom \
|
||||
vendor.qti.hardware.wifi.hostapd@1.2.vendor \
|
||||
vendor.qti.hardware.wifi.supplicant@2.1.vendor \
|
||||
WifiOverlay \
|
||||
wpa_supplicant \
|
||||
wpa_supplicant.conf
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
firmware_WCNSS_qcom_cfg.ini_symlink \
|
||||
firmware_wlan_mac.bin_symlink
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \
|
||||
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
||||
@@ -445,7 +352,6 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# Wi-Fi Display
|
||||
PRODUCT_PACKAGES += \
|
||||
libnl \
|
||||
libwfdaac_vendor
|
||||
|
||||
PRODUCT_BOOT_JARS += \
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
# XiaomiParts
|
||||
user=system seinfo=platform name=org.lineageos.settings domain=devicesettings_app type=system_app_data_file
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
# Allow IFAAService access to Mlipay HAL
|
||||
hal_client_domain(system_app, hal_mlipay)
|
||||
|
||||
1
sepolicy/vendor/adsprpcd.te
vendored
Normal file
1
sepolicy/vendor/adsprpcd.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
r_dir_file(adsprpcd, sysfs_graphics)
|
||||
3
sepolicy/vendor/app.te
vendored
3
sepolicy/vendor/app.te
vendored
@@ -1,2 +1,3 @@
|
||||
get_prop({ appdomain -isolated_app_all }, vendor_fp_prop)
|
||||
# Allow apps to read mlipay and IFAA props
|
||||
get_prop({ appdomain -isolated_app_all }, vendor_fingerprint_prop)
|
||||
get_prop({ appdomain -isolated_app_all }, vendor_tee_listener_prop)
|
||||
|
||||
7
sepolicy/vendor/device.te
vendored
7
sepolicy/vendor/device.te
vendored
@@ -2,8 +2,7 @@ type fingerprint_device, dev_type;
|
||||
|
||||
type gps_device, dev_type;
|
||||
|
||||
type lirc_device, dev_type;
|
||||
|
||||
typeattribute system_block_device super_block_device_type;
|
||||
|
||||
type ultrasound_device, dev_type;
|
||||
|
||||
# Treat non-super block devices as super block devices for retrofit
|
||||
typeattribute system_block_device super_block_device_type;
|
||||
|
||||
34
sepolicy/vendor/file.te
vendored
34
sepolicy/vendor/file.te
vendored
@@ -1,21 +1,7 @@
|
||||
type audio_socket, file_type;
|
||||
|
||||
type debugfs_sched_features, debugfs_type, fs_type;
|
||||
|
||||
type debugfs_wlan, debugfs_type, fs_type;
|
||||
|
||||
type fingerprint_data_file, data_file_type, core_data_file_type, file_type;
|
||||
|
||||
type gps_data_file, data_file_type, file_type;
|
||||
|
||||
type gps_socket, file_type;
|
||||
|
||||
type persist_audio_file, file_type, vendor_persist_type;
|
||||
|
||||
type persist_camera_file, file_type, vendor_persist_type;
|
||||
|
||||
type persist_fingerprint_file, file_type, vendor_persist_type;
|
||||
|
||||
type proc_sysctl_autogroup, proc_type, fs_type;
|
||||
|
||||
type proc_sysctl_schedboost, proc_type, fs_type;
|
||||
@@ -26,12 +12,18 @@ type sysfs_fingerprint, sysfs_type, fs_type;
|
||||
|
||||
type sysfs_gps, sysfs_type, fs_type;
|
||||
|
||||
type sysfs_msm_subsys, sysfs_type, fs_type;
|
||||
|
||||
type sysfs_rpm, sysfs_type, fs_type;
|
||||
|
||||
type sysfs_system_sleep_stats, sysfs_type, fs_type;
|
||||
|
||||
type sysfs_touchpanel, sysfs_type, fs_type;
|
||||
|
||||
type thermal_data_file, data_file_type, file_type;
|
||||
type vendor_audio_socket, file_type;
|
||||
|
||||
type vendor_gps_data_file, data_file_type, file_type;
|
||||
|
||||
type vendor_gps_socket, file_type;
|
||||
|
||||
type vendor_persist_audio_file, file_type, vendor_persist_type;
|
||||
|
||||
type vendor_persist_camera_file, file_type, vendor_persist_type;
|
||||
|
||||
type vendor_persist_fingerprint_file, file_type, vendor_persist_type;
|
||||
|
||||
type vendor_thermal_data_file, data_file_type, file_type;
|
||||
|
||||
108
sepolicy/vendor/file_contexts
vendored
108
sepolicy/vendor/file_contexts
vendored
@@ -1,96 +1,80 @@
|
||||
# Audio
|
||||
/dev/socket/audio_hw_socket u:object_r:audio_socket:s0
|
||||
/mnt/vendor/persist/audio(/.*)? u:object_r:persist_audio_file:s0
|
||||
/dev/socket/audio_hw_socket u:object_r:vendor_audio_socket:s0
|
||||
/mnt/vendor/persist/audio(/.*)? u:object_r:vendor_persist_audio_file:s0
|
||||
|
||||
# Block devices
|
||||
/dev/block/platform/soc/1d84000.ufshc/by-name/cust u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/1d84000.ufshc/by-name/vendor u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/7c4000.sdhci/by-name/cust u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/7c4000.sdhci/by-name/vendor u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/1d84000.ufshc/by-name/cust u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/1d84000.ufshc/by-name/vendor u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/7c4000.sdhci/by-name/cust u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/7c4000.sdhci/by-name/vendor u:object_r:system_block_device:s0
|
||||
|
||||
# Camera
|
||||
/mnt/vendor/persist/camera(/.*)? u:object_r:persist_camera_file:s0
|
||||
/vendor/bin/remosaic_daemon u:object_r:remosaic_daemon_exec:s0
|
||||
/vendor/lib(64)?/libal(CFR|hLDC)\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libarcsoft_.*\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libmialgoengine\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libmibokeh_712\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libmpbase\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libVD.*\.so u:object_r:same_process_hal_file:s0
|
||||
/mnt/vendor/persist/camera(/.*)? u:object_r:vendor_persist_camera_file:s0
|
||||
/vendor/bin/remosaic_daemon u:object_r:vendor_remosaic_daemon_exec:s0
|
||||
/vendor/lib(64)?/libal(CFR|hLDC)\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libarcsoft_.*\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libmialgoengine\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libmibokeh_712\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libmpbase\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib(64)?/libVD.*\.so u:object_r:same_process_hal_file:s0
|
||||
|
||||
# Display
|
||||
/sys/devices/platform/soc/[a-z0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/disp_param u:object_r:sysfs_graphics:s0
|
||||
/sys/devices/platform/soc/[a-z0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/dynamic_fps u:object_r:sysfs_graphics:s0
|
||||
/sys/devices/platform/soc/[a-z0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/hbm_status u:object_r:sysfs_graphics:s0
|
||||
/sys/devices/platform/soc/[a-z0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/panel_info u:object_r:sysfs_graphics:s0
|
||||
/sys/devices/platform/soc/[a-z0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/smart_fps_value u:object_r:sysfs_graphics:s0
|
||||
/vendor/bin/hw/vendor\.lineage\.livedisplay@2\.1-service\.sdm710 u:object_r:hal_lineage_livedisplay_qti_exec:s0
|
||||
/vendor/bin/hw/vendor\.lineage\.livedisplay@2\.1-service\.sdm710 u:object_r:hal_lineage_livedisplay_qti_exec:s0
|
||||
|
||||
# Fingerprint
|
||||
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.3-service\.xiaomi u:object_r:hal_fingerprint_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.3-service\.xiaomi u:object_r:hal_fingerprint_default_exec:s0
|
||||
|
||||
# Fingerprint data
|
||||
/data/gf_data(/.*)? u:object_r:fingerprint_data_file:s0
|
||||
/data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/data/vendor/fpdump(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/data/vendor/goodix(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/data/vendor/syna(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/mnt/vendor/persist/goodix(/.*)? u:object_r:persist_fingerprint_file:s0
|
||||
/data/gf_data(/.*)? u:object_r:fingerprint_data_file:s0
|
||||
/data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/data/vendor/fpdump(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/data/vendor/goodix(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/data/vendor/syna(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/mnt/vendor/persist/goodix(/.*)? u:object_r:vendor_persist_fingerprint_file:s0
|
||||
|
||||
# Fingerprint devices
|
||||
/dev/goodix_fp u:object_r:fingerprint_device:s0
|
||||
/dev/vfsspi u:object_r:fingerprint_device:s0
|
||||
/dev/goodix_fp u:object_r:fingerprint_device:s0
|
||||
/dev/vfsspi u:object_r:fingerprint_device:s0
|
||||
|
||||
# GPS
|
||||
/vendor/bin/glgps u:object_r:glgps_exec:s0
|
||||
/vendor/bin/ignss_2_0 u:object_r:hal_gnss_default_exec:s0
|
||||
/vendor/bin/lhd u:object_r:lhd_exec:s0
|
||||
/vendor/bin/glgps u:object_r:vendor_glgps_exec:s0
|
||||
/vendor/bin/ignss_2_0 u:object_r:hal_gnss_default_exec:s0
|
||||
/vendor/bin/lhd u:object_r:vendor_lhd_exec:s0
|
||||
|
||||
# GPS data
|
||||
/data/vendor/gps(/.*)? u:object_r:gps_data_file:s0
|
||||
/data/vendor/gps(/.*)? u:object_r:vendor_gps_data_file:s0
|
||||
|
||||
# GPS devices
|
||||
/dev/bbd_control u:object_r:gps_device:s0
|
||||
/dev/bbd_patch u:object_r:gps_device:s0
|
||||
/dev/bbd_sensor u:object_r:gps_device:s0
|
||||
/dev/ttyBCM u:object_r:gps_device:s0
|
||||
/dev/bbd_control u:object_r:gps_device:s0
|
||||
/dev/bbd_patch u:object_r:gps_device:s0
|
||||
/dev/bbd_sensor u:object_r:gps_device:s0
|
||||
/dev/ttyBCM u:object_r:gps_device:s0
|
||||
|
||||
# GPS nodes
|
||||
/dev/socket/gps u:object_r:gps_socket:s0
|
||||
/sys/devices/platform/soc/[0-9]+\.spi/spi_master/spi[0-9]+/spi[0-9]+\.0/nstandby u:object_r:sysfs_gps:s0
|
||||
|
||||
# IR
|
||||
/vendor/bin/hw/android\.hardware\.ir@1\.0-service\.xiaomi u:object_r:hal_ir_default_exec:s0
|
||||
/dev/socket/gps u:object_r:vendor_gps_socket:s0
|
||||
/sys/devices/platform/soc/[0-9]+\.spi/spi_master/spi[0-9]+/spi[0-9]+\.0/nstandby u:object_r:sysfs_gps:s0
|
||||
|
||||
# IR devices
|
||||
/dev/ir_spi u:object_r:lirc_device:s0
|
||||
/dev/lirc[0-9] u:object_r:lirc_device:s0
|
||||
/dev/spidev[0-9]\.1 u:object_r:lirc_device:s0
|
||||
/dev/ir_spi u:object_r:lirc_device:s0
|
||||
/dev/spidev[0-9]+\.1 u:object_r:lirc_device:s0
|
||||
|
||||
# LED
|
||||
/sys/devices/platform/soc/[a-z0-9]+.qcom,spmi/spmi-[0-1]/spmi0-0[0-9]/[a-z0-9]+.qcom,spmi:qcom,[a-z0-9]+@[0-9]:qcom,leds@d000/leds(/.*)? u:object_r:sysfs_leds:s0
|
||||
/sys/devices/platform/soc/[a-z0-9]+.i2c/i2c-[0-9]/[0-9]-[a-z0-9]+/leds(/.*)? u:object_r:sysfs_leds:s0
|
||||
|
||||
# Lights
|
||||
/vendor/bin/hw/android\.hardware\.light-service\.xiaomi u:object_r:hal_light_default_exec:s0
|
||||
/sys/devices/platform/soc/[a-z0-9]+.qcom,spmi/spmi-[0-1]/spmi0-0[0-9]/[a-z0-9]+.qcom,spmi:qcom,[a-z0-9]+@[0-9]:qcom,leds@d000/leds(/.*)? u:object_r:sysfs_leds:s0
|
||||
/sys/devices/platform/soc/[a-z0-9]+.i2c/i2c-[0-9]/[0-9]-[a-z0-9]+/leds(/.*)? u:object_r:sysfs_leds:s0
|
||||
|
||||
# Mlipay
|
||||
/vendor/bin/mlipayd@1\.1 u:object_r:hal_mlipay_default_exec:s0
|
||||
/vendor/bin/mlipayd@1\.1 u:object_r:hal_mlipay_default_exec:s0
|
||||
|
||||
# Neural-networks
|
||||
/vendor/bin/hw/android\.hardware\.neuralnetworks@1\.2-service-qti u:object_r:hal_neuralnetworks_default_exec:s0
|
||||
|
||||
# Power
|
||||
/vendor/bin/hw/android\.hardware\.power-service\.xiaomi-libperfmgr u:object_r:hal_power_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.neuralnetworks@1\.2-service-qti u:object_r:hal_neuralnetworks_default_exec:s0
|
||||
|
||||
# Thermal
|
||||
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0
|
||||
/vendor/bin/mi_thermald u:object_r:mi_thermald_exec:s0
|
||||
/data/vendor/thermal(/.*)? u:object_r:vendor_thermal_data_file:s0
|
||||
|
||||
# Ultrasound devices
|
||||
/dev/elliptic(.*)? u:object_r:ultrasound_device:s0
|
||||
/dev/mius(.*)? u:object_r:ultrasound_device:s0
|
||||
/dev/elliptic(.*)? u:object_r:ultrasound_device:s0
|
||||
/dev/mius(.*)? u:object_r:ultrasound_device:s0
|
||||
|
||||
# WiFi
|
||||
/data/vendor/mac_addr(/.*)? u:object_r:wifi_vendor_data_file:s0
|
||||
/vendor/bin/nv_mac u:object_r:wcnss_service_exec:s0
|
||||
# Wi-Fi
|
||||
/data/vendor/mac_addr(/.*)? u:object_r:wifi_vendor_data_file:s0
|
||||
/vendor/bin/nv_mac u:object_r:wcnss_service_exec:s0
|
||||
|
||||
48
sepolicy/vendor/genfs_contexts
vendored
48
sepolicy/vendor/genfs_contexts
vendored
@@ -1,16 +1,13 @@
|
||||
# Display
|
||||
genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/idle_state u:object_r:sysfs_graphics:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:qcom,dsi-display u:object_r:sysfs_graphics:s0
|
||||
genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/idle_state u:object_r:sysfs_graphics:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:qcom,dsi-display u:object_r:sysfs_graphics:s0
|
||||
|
||||
# Fingerprint
|
||||
genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/device_prepare u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/fingerdown_wait u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/irq u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/wakeup_enable u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:fingerprint_goodix/proximity_state u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:fingerprint_goodix u:object_r:sysfs_fingerprint:s0
|
||||
|
||||
# FOD
|
||||
genfscon sysfs /devices/virtual/touch/tp_dev/fod_status u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /devices/virtual/touch/tp_dev/fod_status u:object_r:sysfs_graphics:s0
|
||||
|
||||
# Health
|
||||
genfscon sysfs /class/power_supply/battery/capacity u:object_r:sysfs_battery_supply:s0
|
||||
@@ -24,32 +21,21 @@ genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.q
|
||||
genfscon sysfs /devices/platform/soc/soc:maxim_ds28e16/power_supply/batt_verify u:object_r:sysfs_battery_supply:s0
|
||||
|
||||
# LED
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/flashlight/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:torch_0/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:torch_1/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:switch_0/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:switch_1/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-03/c440000.qcom,spmi:qcom,pmi8998@3:qcom,leds@d000/leds/white u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/flashlight/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:torch_0/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:torch_1/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:switch_0/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:switch_1/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-03/c440000.qcom,spmi:qcom,pmi8998@3:qcom,leds@d000/leds/white u:object_r:sysfs_leds:s0
|
||||
|
||||
# Power
|
||||
genfscon debugfs /sched_features u:object_r:debugfs_sched_features:s0
|
||||
genfscon proc /sys/kernel/sched_autogroup_enabled u:object_r:proc_sysctl_autogroup:s0
|
||||
genfscon proc /sys/kernel/sched_boost u:object_r:proc_sysctl_schedboost:s0
|
||||
genfscon sysfs /power/rpmh_stats/master_stats u:object_r:sysfs_rpm:s0
|
||||
genfscon sysfs /power/system_sleep/stats u:object_r:sysfs_system_sleep_stats:s0
|
||||
|
||||
# Subsystem
|
||||
genfscon sysfs /devices/platform/soc/soc:qcom,cpubw u:object_r:sysfs_msm_subsys:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:qcom,gpubw u:object_r:sysfs_msm_subsys:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:qcom,l3-cpu0 u:object_r:sysfs_msm_subsys:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:qcom,l3-cpu4 u:object_r:sysfs_msm_subsys:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:qcom,llccbw u:object_r:sysfs_msm_subsys:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:qcom,mincpubw u:object_r:sysfs_msm_subsys:s0
|
||||
genfscon proc /sys/kernel/sched_autogroup_enabled u:object_r:proc_sysctl_autogroup:s0
|
||||
genfscon proc /sys/kernel/sched_boost u:object_r:proc_sysctl_schedboost:s0
|
||||
|
||||
# Touchscreen
|
||||
genfscon proc /tp_fw_version u:object_r:proc_tp:s0
|
||||
genfscon proc /tp_lockdown_info u:object_r:proc_tp:s0
|
||||
genfscon sysfs /touchpanel u:object_r:sysfs_touchpanel:s0
|
||||
genfscon proc /tp_fw_version u:object_r:proc_tp:s0
|
||||
genfscon proc /tp_lockdown_info u:object_r:proc_tp:s0
|
||||
genfscon sysfs /touchpanel u:object_r:sysfs_touchpanel:s0
|
||||
|
||||
# Wi-Fi
|
||||
genfscon debugfs /wlan0 u:object_r:debugfs_wlan:s0
|
||||
genfscon debugfs /wlan0 u:object_r:debugfs_wlan:s0
|
||||
|
||||
24
sepolicy/vendor/glgps.te
vendored
24
sepolicy/vendor/glgps.te
vendored
@@ -1,24 +0,0 @@
|
||||
type glgps, domain;
|
||||
type glgps_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(glgps)
|
||||
net_domain(glgps)
|
||||
|
||||
allow glgps fwk_sensor_hwservice:hwservice_manager find;
|
||||
|
||||
allow glgps gps_data_file:dir create_dir_perms;
|
||||
allow glgps gps_data_file:fifo_file create_file_perms;
|
||||
allow glgps gps_data_file:file create_file_perms;
|
||||
allow glgps gps_data_file:lnk_file create_file_perms;
|
||||
allow glgps gps_data_file:sock_file create_file_perms;
|
||||
|
||||
allow glgps gps_device:chr_file rw_file_perms;
|
||||
|
||||
allow glgps self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
|
||||
allow glgps gps_socket:sock_file create_file_perms;
|
||||
|
||||
binder_call(glgps, system_server)
|
||||
|
||||
typeattribute glgps halclientdomain;
|
||||
|
||||
wakelock_use(glgps)
|
||||
4
sepolicy/vendor/hal_audio_default.te
vendored
4
sepolicy/vendor/hal_audio_default.te
vendored
@@ -1,7 +1,7 @@
|
||||
allow hal_audio_default mnt_vendor_file:dir search;
|
||||
r_dir_file(hal_audio_default, persist_audio_file)
|
||||
r_dir_file(hal_audio_default, vendor_persist_audio_file)
|
||||
|
||||
get_prop(hal_audio_default, vendor_bluetooth_prop)
|
||||
set_prop(hal_audio_default, vendor_audio_prop)
|
||||
|
||||
allow hal_audio_default audio_socket:sock_file rw_file_perms;
|
||||
allow hal_audio_default vendor_audio_socket:sock_file rw_file_perms;
|
||||
|
||||
4
sepolicy/vendor/hal_camera_default.te
vendored
4
sepolicy/vendor/hal_camera_default.te
vendored
@@ -2,7 +2,7 @@ hal_client_domain(hal_camera_default, hal_graphics_allocator)
|
||||
|
||||
allow hal_camera_default gpu_device:chr_file rw_file_perms;
|
||||
|
||||
allow hal_camera_default remosaic_daemon_service:service_manager find;
|
||||
allow hal_camera_default vendor_remosaic_daemon_service:service_manager find;
|
||||
|
||||
allow hal_camera_default sysfs_kgsl:dir search;
|
||||
allow hal_camera_default sysfs_kgsl:file r_file_perms;
|
||||
@@ -13,7 +13,7 @@ allow hal_camera_default sysfs_leds:lnk_file read;
|
||||
|
||||
allow hal_camera_default sysfs_thermal:file w_file_perms;
|
||||
|
||||
r_dir_file(hal_camera_default, persist_camera_file)
|
||||
r_dir_file(hal_camera_default, vendor_persist_camera_file)
|
||||
|
||||
get_prop(hal_camera_default, sensors_prop)
|
||||
set_prop(hal_camera_default, vendor_camera_prop)
|
||||
|
||||
8
sepolicy/vendor/hal_fingerprint_default.te
vendored
8
sepolicy/vendor/hal_fingerprint_default.te
vendored
@@ -12,14 +12,12 @@ allow hal_fingerprint_default input_device:chr_file rw_file_perms;
|
||||
|
||||
allow hal_fingerprint_default sysfs_graphics:dir search;
|
||||
allow hal_fingerprint_default sysfs_graphics:file rw_file_perms;
|
||||
allow hal_fingerprint_default sysfs_msm_subsys:dir search;
|
||||
allow hal_fingerprint_default sysfs_msm_subsys:file r_file_perms;
|
||||
|
||||
set_prop(hal_fingerprint_default, vendor_fp_prop)
|
||||
set_prop(hal_fingerprint_default, vendor_fingerprint_prop)
|
||||
hal_client_domain(hal_fingerprint_default, hal_perf)
|
||||
|
||||
allow hal_fingerprint_default persist_fingerprint_file:dir create_dir_perms;
|
||||
allow hal_fingerprint_default persist_fingerprint_file:file create_file_perms;
|
||||
allow hal_fingerprint_default vendor_persist_fingerprint_file:dir create_dir_perms;
|
||||
allow hal_fingerprint_default vendor_persist_fingerprint_file:file create_file_perms;
|
||||
|
||||
allow hal_fingerprint_default sysfs_touchpanel:dir search;
|
||||
allow hal_fingerprint_default sysfs_touchpanel:file rw_file_perms;
|
||||
|
||||
4
sepolicy/vendor/hal_gnss_default.te
vendored
4
sepolicy/vendor/hal_gnss_default.te
vendored
@@ -1,2 +1,2 @@
|
||||
allow hal_gnss_default gps_data_file:dir rw_dir_perms;
|
||||
allow hal_gnss_default gps_data_file:fifo_file create_file_perms;
|
||||
allow hal_gnss_default vendor_gps_data_file:dir rw_dir_perms;
|
||||
allow hal_gnss_default vendor_gps_data_file:fifo_file create_file_perms;
|
||||
|
||||
2
sepolicy/vendor/hal_ir_default.te
vendored
2
sepolicy/vendor/hal_ir_default.te
vendored
@@ -1,2 +0,0 @@
|
||||
allow hal_ir_default lirc_device:chr_file rw_file_perms;
|
||||
allow hal_ir_default lirc_device:file rw_file_perms;
|
||||
2
sepolicy/vendor/hal_mlipay_default.te
vendored
2
sepolicy/vendor/hal_mlipay_default.te
vendored
@@ -9,5 +9,5 @@ allow hal_mlipay_default ion_device:chr_file rw_file_perms;
|
||||
allow hal_mlipay_default tee_device:chr_file rw_file_perms;
|
||||
r_dir_file(hal_mlipay_default, firmware_file)
|
||||
|
||||
get_prop(hal_mlipay_default, vendor_fp_prop)
|
||||
get_prop(hal_mlipay_default, vendor_fingerprint_prop)
|
||||
set_prop(hal_mlipay_default, vendor_tee_listener_prop)
|
||||
|
||||
27
sepolicy/vendor/hal_power_default.te
vendored
27
sepolicy/vendor/hal_power_default.te
vendored
@@ -1,31 +1,6 @@
|
||||
allow hal_power_default input_device:dir r_dir_perms;
|
||||
allow hal_power_default input_device:chr_file rw_file_perms;
|
||||
|
||||
allow hal_power_default sysfs_graphics:dir search;
|
||||
allow hal_power_default sysfs_graphics:file r_file_perms;
|
||||
|
||||
allow hal_power_default sysfs_rpm:file r_file_perms;
|
||||
allow hal_power_default sysfs_system_sleep_stats:file r_file_perms;
|
||||
|
||||
allow hal_power_default sysfs_touchpanel:dir r_dir_perms;
|
||||
allow hal_power_default sysfs_touchpanel:dir search;
|
||||
allow hal_power_default sysfs_touchpanel:file rw_file_perms;
|
||||
|
||||
allow hal_power_default debugfs_wlan:dir r_dir_perms;
|
||||
allow hal_power_default debugfs_wlan:file r_file_perms;
|
||||
|
||||
# To do powerhint on nodes defined in powerhint.json
|
||||
allow hal_power_default sysfs_devfreq:dir search;
|
||||
allow hal_power_default sysfs_devfreq:file rw_file_perms;
|
||||
allow hal_power_default sysfs_kgsl:lnk_file read;
|
||||
allow hal_power_default sysfs_kgsl:file rw_file_perms;
|
||||
allow hal_power_default sysfs_msm_subsys:dir search;
|
||||
allow hal_power_default sysfs_msm_subsys:file rw_file_perms;
|
||||
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
|
||||
allow hal_power_default device_latency:chr_file rw_file_perms;
|
||||
allow hal_power_default cgroup:dir search;
|
||||
allow hal_power_default cgroup:file rw_file_perms;
|
||||
allow hal_power_default debugfs_sched_features:file rw_file_perms;
|
||||
allow hal_power_default proc_sysctl_schedboost:file rw_file_perms;
|
||||
|
||||
# To get/set powerhal state property
|
||||
set_prop(hal_power_default, vendor_power_prop)
|
||||
|
||||
4
sepolicy/vendor/hal_sensors_default.te
vendored
4
sepolicy/vendor/hal_sensors_default.te
vendored
@@ -1,8 +1,8 @@
|
||||
allow hal_sensors_default mnt_vendor_file:file r_file_perms;
|
||||
allow hal_sensors_default ultrasound_device:chr_file rw_file_perms;
|
||||
|
||||
allow hal_sensors_default audio_socket:sock_file rw_file_perms;
|
||||
unix_socket_connect(hal_sensors_default, audio, hal_audio_default)
|
||||
allow hal_sensors_default vendor_audio_socket:sock_file rw_file_perms;
|
||||
unix_socket_connect(hal_sensors_default, vendor_audio, hal_audio_default)
|
||||
|
||||
# Touchpanel nodes
|
||||
allow hal_sensors_default sysfs_touchpanel:dir search;
|
||||
|
||||
14
sepolicy/vendor/lhd.te
vendored
14
sepolicy/vendor/lhd.te
vendored
@@ -1,14 +0,0 @@
|
||||
type lhd, domain;
|
||||
type lhd_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(lhd)
|
||||
net_domain(lhd)
|
||||
|
||||
allow lhd gps_data_file:dir create_dir_perms;
|
||||
allow lhd gps_data_file:fifo_file create_file_perms;
|
||||
allow lhd gps_data_file:file create_file_perms;
|
||||
|
||||
allow lhd gps_device:chr_file rw_file_perms;
|
||||
allow lhd sysfs_gps:file rw_file_perms;
|
||||
|
||||
wakelock_use(lhd)
|
||||
28
sepolicy/vendor/mi_thermald.te
vendored
28
sepolicy/vendor/mi_thermald.te
vendored
@@ -1,28 +0,0 @@
|
||||
type mi_thermald, domain;
|
||||
type mi_thermald_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(mi_thermald)
|
||||
|
||||
allow mi_thermald self:capability { chown fowner fsetid };
|
||||
|
||||
# Allow mi_thermald to read thermal_data_file
|
||||
allow mi_thermald thermal_data_file:dir rw_dir_perms;
|
||||
allow mi_thermald thermal_data_file:file create_file_perms;
|
||||
|
||||
r_dir_file(mi_thermald, sysfs_battery_supply)
|
||||
r_dir_file(mi_thermald, sysfs_devices_system_cpu)
|
||||
r_dir_file(mi_thermald, sysfs_graphics)
|
||||
r_dir_file(mi_thermald, sysfs_kgsl)
|
||||
r_dir_file(mi_thermald, sysfs_leds)
|
||||
r_dir_file(mi_thermald, sysfs_thermal)
|
||||
|
||||
allow mi_thermald sysfs_battery_supply:file rw_file_perms;
|
||||
allow mi_thermald sysfs_battery_supply:lnk_file rw_file_perms;
|
||||
allow mi_thermald sysfs_devices_system_cpu:file rw_file_perms;
|
||||
allow mi_thermald sysfs_devices_system_cpu:lnk_file rw_file_perms;
|
||||
allow mi_thermald sysfs_kgsl:file rw_file_perms;
|
||||
allow mi_thermald sysfs_kgsl:lnk_file rw_file_perms;
|
||||
allow mi_thermald sysfs_thermal:file rw_file_perms;
|
||||
allow mi_thermald sysfs_thermal:lnk_file rw_file_perms;
|
||||
|
||||
set_prop(mi_thermald, vendor_thermal_normal_prop)
|
||||
4
sepolicy/vendor/property.te
vendored
4
sepolicy/vendor/property.te
vendored
@@ -2,9 +2,7 @@ vendor_public_prop(vendor_camera_prop)
|
||||
|
||||
vendor_internal_prop(vendor_dpps_prop)
|
||||
|
||||
vendor_public_prop(vendor_fp_prop)
|
||||
|
||||
vendor_internal_prop(vendor_power_prop)
|
||||
vendor_public_prop(vendor_fingerprint_prop)
|
||||
|
||||
vendor_public_prop(vendor_sensors_prop)
|
||||
|
||||
|
||||
86
sepolicy/vendor/property_contexts
vendored
86
sepolicy/vendor/property_contexts
vendored
@@ -1,61 +1,55 @@
|
||||
# Audio
|
||||
audio.soundtrigger.debug.urser_id u:object_r:vendor_audio_prop:s0
|
||||
audio_hal. u:object_r:vendor_audio_prop:s0
|
||||
audio.offload.buffer.size.kb u:object_r:vendor_audio_prop:s0
|
||||
audio.offload.gapless.enabled u:object_r:vendor_audio_prop:s0
|
||||
persist.audio.fluence.speaker u:object_r:vendor_audio_prop:s0
|
||||
persist.audio.fluence.voicecall u:object_r:vendor_audio_prop:s0
|
||||
persist.audio.fluence.voicerec u:object_r:vendor_audio_prop:s0
|
||||
ro.qc.sdk.audio.fluencetype u:object_r:vendor_audio_prop:s0
|
||||
audio.soundtrigger.debug.urser_id u:object_r:vendor_audio_prop:s0
|
||||
audio_hal. u:object_r:vendor_audio_prop:s0
|
||||
audio.offload.buffer.size.kb u:object_r:vendor_audio_prop:s0
|
||||
audio.offload.gapless.enabled u:object_r:vendor_audio_prop:s0
|
||||
persist.audio.fluence.speaker u:object_r:vendor_audio_prop:s0
|
||||
persist.audio.fluence.voicecall u:object_r:vendor_audio_prop:s0
|
||||
persist.audio.fluence.voicerec u:object_r:vendor_audio_prop:s0
|
||||
ro.qc.sdk.audio.fluencetype u:object_r:vendor_audio_prop:s0
|
||||
|
||||
# Camera
|
||||
camera. u:object_r:vendor_camera_prop:s0
|
||||
persist.camera. u:object_r:vendor_camera_prop:s0
|
||||
persist.debug.sf.showfps u:object_r:vendor_camera_prop:s0
|
||||
persist.vendor.camera u:object_r:vendor_camera_prop:s0
|
||||
ro.camera.res.fmq.size u:object_r:vendor_camera_prop:s0
|
||||
ro.camera.req.fmq.size u:object_r:vendor_camera_prop:s0
|
||||
ro.vendor.camera. u:object_r:vendor_camera_prop:s0
|
||||
vendor.camera.boot_complete u:object_r:vendor_camera_prop:s0
|
||||
vendor.camera.sensor. u:object_r:vendor_camera_prop:s0
|
||||
vidhance. u:object_r:vendor_camera_prop:s0
|
||||
camera. u:object_r:vendor_camera_prop:s0
|
||||
persist.camera. u:object_r:vendor_camera_prop:s0
|
||||
persist.debug.sf.showfps u:object_r:vendor_camera_prop:s0
|
||||
persist.vendor.camera u:object_r:vendor_camera_prop:s0
|
||||
ro.camera.res.fmq.size u:object_r:vendor_camera_prop:s0
|
||||
ro.camera.req.fmq.size u:object_r:vendor_camera_prop:s0
|
||||
ro.vendor.camera. u:object_r:vendor_camera_prop:s0
|
||||
vendor.camera.boot_complete u:object_r:vendor_camera_prop:s0
|
||||
vendor.camera.sensor. u:object_r:vendor_camera_prop:s0
|
||||
vidhance. u:object_r:vendor_camera_prop:s0
|
||||
|
||||
# Display post processing
|
||||
init.svc.ppd u:object_r:vendor_dpps_prop:s0
|
||||
ro.vendor.display.ad u:object_r:vendor_dpps_prop:s0
|
||||
ro.vendor.display.sensortype u:object_r:vendor_dpps_prop:s0
|
||||
init.svc.ppd u:object_r:vendor_dpps_prop:s0
|
||||
ro.vendor.display.ad u:object_r:vendor_dpps_prop:s0
|
||||
ro.vendor.display.sensortype u:object_r:vendor_dpps_prop:s0
|
||||
|
||||
# Fingerprint
|
||||
fpc_kpi u:object_r:vendor_fp_prop:s0
|
||||
gf.debug. u:object_r:vendor_fp_prop:s0
|
||||
persist.sys.fp. u:object_r:vendor_fp_prop:s0
|
||||
persist.vendor.fpc. u:object_r:vendor_fp_prop:s0
|
||||
persist.vendor.sys.fp. u:object_r:vendor_fp_prop:s0
|
||||
ro.boot.fpsensor u:object_r:vendor_fp_prop:s0
|
||||
ro.hardware.fp u:object_r:vendor_fp_prop:s0
|
||||
sys.panel. u:object_r:vendor_fp_prop:s0
|
||||
vendor.fps_hal. u:object_r:vendor_fp_prop:s0
|
||||
fpc_kpi u:object_r:vendor_fingerprint_prop:s0
|
||||
gf.debug. u:object_r:vendor_fingerprint_prop:s0
|
||||
persist.sys.fp. u:object_r:vendor_fingerprint_prop:s0
|
||||
persist.vendor.fpc. u:object_r:vendor_fingerprint_prop:s0
|
||||
persist.vendor.sys.fp. u:object_r:vendor_fingerprint_prop:s0
|
||||
ro.boot.fpsensor u:object_r:vendor_fingerprint_prop:s0
|
||||
ro.hardware.fp u:object_r:vendor_fingerprint_prop:s0
|
||||
sys.panel. u:object_r:vendor_fingerprint_prop:s0
|
||||
vendor.fps_hal. u:object_r:vendor_fingerprint_prop:s0
|
||||
|
||||
# MIUI specific
|
||||
ro.boot.factorybuild u:object_r:exported_default_prop:s0
|
||||
ro.boot.hwversion u:object_r:exported_default_prop:s0
|
||||
ro.carrier.name u:object_r:exported_default_prop:s0
|
||||
ro.miui.cust_variant u:object_r:exported_default_prop:s0
|
||||
ro.boot.factorybuild u:object_r:exported_default_prop:s0
|
||||
ro.boot.hwversion u:object_r:exported_default_prop:s0
|
||||
ro.carrier.name u:object_r:exported_default_prop:s0
|
||||
ro.miui.cust_variant u:object_r:exported_default_prop:s0
|
||||
|
||||
# Mlipay
|
||||
persist.vendor.sys.pay u:object_r:vendor_tee_listener_prop:s0
|
||||
|
||||
# Power
|
||||
vendor.powerhal. u:object_r:vendor_power_prop:s0
|
||||
persist.vendor.sys.pay u:object_r:vendor_tee_listener_prop:s0
|
||||
|
||||
# Sensors
|
||||
persist.sensor. u:object_r:vendor_sensors_prop:s0
|
||||
invn.hal.data. u:object_r:vendor_sensors_prop:s0
|
||||
invn.hal.debug. u:object_r:vendor_sensors_prop:s0
|
||||
invn.hal.entry. u:object_r:vendor_sensors_prop:s0
|
||||
invn.hal.verbose. u:object_r:vendor_sensors_prop:s0
|
||||
invn.hal. u:object_r:vendor_sensors_prop:s0
|
||||
persist.sensor. u:object_r:vendor_sensors_prop:s0
|
||||
|
||||
# Thermal
|
||||
persist.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
||||
sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
||||
vendor.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
||||
persist.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
||||
sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
||||
vendor.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0
|
||||
|
||||
8
sepolicy/vendor/remosaic_daemon.te
vendored
8
sepolicy/vendor/remosaic_daemon.te
vendored
@@ -1,8 +0,0 @@
|
||||
type remosaic_daemon, domain;
|
||||
type remosaic_daemon_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(remosaic_daemon)
|
||||
|
||||
vndbinder_use(remosaic_daemon)
|
||||
|
||||
add_service(remosaic_daemon, remosaic_daemon_service)
|
||||
1
sepolicy/vendor/rild.te
vendored
1
sepolicy/vendor/rild.te
vendored
@@ -1 +1,2 @@
|
||||
# Allow rild to set IMEI props
|
||||
set_prop(rild, deviceid_prop)
|
||||
|
||||
2
sepolicy/vendor/system_server.te
vendored
2
sepolicy/vendor/system_server.te
vendored
@@ -1 +1 @@
|
||||
binder_call(system_server, glgps)
|
||||
binder_call(system_server, vendor_glgps)
|
||||
|
||||
4
sepolicy/vendor/tee.te
vendored
4
sepolicy/vendor/tee.te
vendored
@@ -3,5 +3,5 @@ typeattribute tee data_between_core_and_vendor_violators;
|
||||
allow tee fingerprint_data_file:dir create_dir_perms;
|
||||
allow tee fingerprint_data_file:file create_file_perms;
|
||||
|
||||
allow tee persist_fingerprint_file:dir create_dir_perms;
|
||||
allow tee persist_fingerprint_file:file create_file_perms;
|
||||
allow tee vendor_persist_fingerprint_file:dir create_dir_perms;
|
||||
allow tee vendor_persist_fingerprint_file:file create_file_perms;
|
||||
|
||||
4
sepolicy/vendor/thermal-engine.te
vendored
4
sepolicy/vendor/thermal-engine.te
vendored
@@ -1,5 +1,5 @@
|
||||
allow thermal-engine thermal_data_file:dir rw_dir_perms;
|
||||
allow thermal-engine thermal_data_file:file create_file_perms;
|
||||
allow thermal-engine vendor_thermal_data_file:dir rw_dir_perms;
|
||||
allow thermal-engine vendor_thermal_data_file:file create_file_perms;
|
||||
|
||||
allow thermal-engine self:capability { chown fowner };
|
||||
allow thermal-engine sysfs_devfreq:dir r_dir_perms;
|
||||
|
||||
24
sepolicy/vendor/vendor_glgps.te
vendored
Normal file
24
sepolicy/vendor/vendor_glgps.te
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
type vendor_glgps, domain;
|
||||
type vendor_glgps_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(vendor_glgps)
|
||||
net_domain(vendor_glgps)
|
||||
|
||||
allow vendor_glgps fwk_sensor_hwservice:hwservice_manager find;
|
||||
|
||||
allow vendor_glgps vendor_gps_data_file:dir create_dir_perms;
|
||||
allow vendor_glgps vendor_gps_data_file:fifo_file create_file_perms;
|
||||
allow vendor_glgps vendor_gps_data_file:file create_file_perms;
|
||||
allow vendor_glgps vendor_gps_data_file:lnk_file create_file_perms;
|
||||
allow vendor_glgps vendor_gps_data_file:sock_file create_file_perms;
|
||||
|
||||
allow vendor_glgps gps_device:chr_file rw_file_perms;
|
||||
|
||||
allow vendor_glgps self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
|
||||
allow vendor_glgps vendor_gps_socket:sock_file create_file_perms;
|
||||
|
||||
binder_call(vendor_glgps, system_server)
|
||||
|
||||
typeattribute vendor_glgps halclientdomain;
|
||||
|
||||
wakelock_use(vendor_glgps)
|
||||
3
sepolicy/vendor/vendor_init.te
vendored
3
sepolicy/vendor/vendor_init.te
vendored
@@ -5,7 +5,6 @@ allow vendor_init proc_watermark_scale_factor:file w_file_perms;
|
||||
get_prop(vendor_init, persist_debug_prop)
|
||||
set_prop(vendor_init, vendor_camera_prop)
|
||||
set_prop(vendor_init, vendor_dpps_prop)
|
||||
set_prop(vendor_init, vendor_fp_prop)
|
||||
set_prop(vendor_init, vendor_power_prop)
|
||||
set_prop(vendor_init, vendor_fingerprint_prop)
|
||||
set_prop(vendor_init, vendor_ssr_prop)
|
||||
set_prop(vendor_init, vendor_video_prop)
|
||||
|
||||
14
sepolicy/vendor/vendor_lhd.te
vendored
Normal file
14
sepolicy/vendor/vendor_lhd.te
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
type vendor_lhd, domain;
|
||||
type vendor_lhd_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(vendor_lhd)
|
||||
net_domain(vendor_lhd)
|
||||
|
||||
allow vendor_lhd vendor_gps_data_file:dir create_dir_perms;
|
||||
allow vendor_lhd vendor_gps_data_file:fifo_file create_file_perms;
|
||||
allow vendor_lhd vendor_gps_data_file:file create_file_perms;
|
||||
|
||||
allow vendor_lhd gps_device:chr_file rw_file_perms;
|
||||
allow vendor_lhd sysfs_gps:file rw_file_perms;
|
||||
|
||||
wakelock_use(vendor_lhd)
|
||||
8
sepolicy/vendor/vendor_remosaic_daemon.te
vendored
Normal file
8
sepolicy/vendor/vendor_remosaic_daemon.te
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
type vendor_remosaic_daemon, domain;
|
||||
type vendor_remosaic_daemon_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(vendor_remosaic_daemon)
|
||||
|
||||
vndbinder_use(vendor_remosaic_daemon)
|
||||
|
||||
add_service(vendor_remosaic_daemon, vendor_remosaic_daemon_service)
|
||||
2
sepolicy/vendor/vndservice.te
vendored
2
sepolicy/vendor/vndservice.te
vendored
@@ -1 +1 @@
|
||||
type remosaic_daemon_service, vndservice_manager_type;
|
||||
type vendor_remosaic_daemon_service, vndservice_manager_type;
|
||||
|
||||
2
sepolicy/vendor/vndservice_contexts
vendored
2
sepolicy/vendor/vndservice_contexts
vendored
@@ -1,2 +1,2 @@
|
||||
# Camera
|
||||
android.IRemosaicDaemon u:object_r:remosaic_daemon_service:s0
|
||||
android.IRemosaicDaemon u:object_r:vendor_remosaic_daemon_service:s0
|
||||
|
||||
1
setup-makefiles.py
Executable file
1
setup-makefiles.py
Executable file
@@ -0,0 +1 @@
|
||||
#!./extract-files.py --regenerate_makefiles
|
||||
@@ -1,52 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2016 The CyanogenMod Project
|
||||
# Copyright (C) 2017-2020 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
# 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 for common
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true
|
||||
|
||||
# Warning headers and guards
|
||||
write_headers "grus pyxis xmsirius vela"
|
||||
|
||||
# The standard common blobs
|
||||
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
||||
|
||||
printf "\n%s\n" "ifeq (\$(TARGET_HAS_NFC),true)" >> "${PRODUCTMK}"
|
||||
write_makefiles "${MY_DIR}/proprietary-files-nfc.txt" true
|
||||
echo "endif" >> "${PRODUCTMK}"
|
||||
|
||||
# Finish
|
||||
write_footers
|
||||
|
||||
if [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
|
||||
# Reinitialize the helper for device
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false
|
||||
|
||||
# Warning headers and guards
|
||||
write_headers
|
||||
|
||||
# The standard device blobs
|
||||
write_makefiles "${MY_DIR}/../${DEVICE}/proprietary-files.txt" true
|
||||
|
||||
# Finish
|
||||
write_footers
|
||||
fi
|
||||
@@ -1,3 +1,6 @@
|
||||
# Camera
|
||||
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.aperture,org.lineageos.aperture.dev
|
||||
|
||||
# Fwk detect
|
||||
ro.vendor.qti.va_aosp.support=1
|
||||
|
||||
|
||||
10
vendor.prop
10
vendor.prop
@@ -146,6 +146,7 @@ drm.service.enabled=true
|
||||
ro.frp.pst=/dev/block/bootdevice/by-name/frp
|
||||
|
||||
# Graphics
|
||||
debug.sf.auto_latch_unsignaled=0
|
||||
debug.sf.enable_hwc_vds=1
|
||||
debug.sf.hw=0
|
||||
debug.sf.latch_unsignaled=1
|
||||
@@ -153,6 +154,7 @@ persist.sys.sf.native_mode=2
|
||||
ro.hardware.egl=adreno
|
||||
ro.hardware.vulkan=adreno
|
||||
ro.opengles.version=196610
|
||||
ro.surface_flinger.enable_frame_rate_override=false
|
||||
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true
|
||||
ro.surface_flinger.has_HDR_display=true
|
||||
ro.surface_flinger.has_wide_color_display=true
|
||||
@@ -218,14 +220,18 @@ persist.rcs.supported=1
|
||||
persist.vendor.ssr.restart_level=ALL_ENABLE
|
||||
|
||||
# USB
|
||||
ro.usb.uvc.disable_video_encode_flag=true
|
||||
ro.usb.uvc.enabled=true
|
||||
sys.usb.mtp.batchcancel=1
|
||||
vendor.usb.controller=a600000.dwc3
|
||||
vendor.usb.diag.func.name=diag
|
||||
vendor.usb.dpl.inst.name=dpl
|
||||
vendor.usb.qdss.inst.name=qdss
|
||||
vendor.usb.rmnet.func.name=gsi
|
||||
vendor.usb.rmnet.inst.name=rmnet
|
||||
vendor.usb.rndis.func.name=gsi
|
||||
vendor.usb.use_ffs_mtp=0
|
||||
vendor.usb.use_gadget_hal=0
|
||||
vendor.usb.use_ffs_mtp=1
|
||||
vendor.usb.use_gadget_hal=1
|
||||
|
||||
# Zygote
|
||||
zygote.critical_window.minute=10
|
||||
|
||||
@@ -274,10 +274,6 @@ gEnableMCCAdaptiveScheduler=1
|
||||
#Enable or Disable p2p device address administered
|
||||
isP2pDeviceAddrAdministrated=0
|
||||
|
||||
# Set Thermal Power limit
|
||||
TxPower2g=10
|
||||
TxPower5g=10
|
||||
|
||||
# Remove Overlap channel restriction
|
||||
gEnableOverLapCh=0
|
||||
|
||||
@@ -344,19 +340,6 @@ gSapSccChanAvoidance=0
|
||||
# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
|
||||
gIbssTxSpEndInactivityTime=10
|
||||
|
||||
# Enable support for TDLS
|
||||
# 0 - disable
|
||||
# 1 - enable
|
||||
gEnableTDLSSupport=1
|
||||
|
||||
# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
|
||||
# initiate TDLS Discovery towards a peer whenever setup criteria (throughput
|
||||
# and RSSI) is met and then will initiate teardown when teardown criteria
|
||||
# (idle packet count and RSSI) is met.
|
||||
# 0 - disable
|
||||
# 1 - enable
|
||||
gEnableTDLSImplicitTrigger=1
|
||||
|
||||
# Enable TDLS External Control. That is, user space application has to
|
||||
# first configure a peer MAC in wlan driver towards which TDLS is desired.
|
||||
# Device will establish TDLS only towards those configured peers whenever
|
||||
@@ -571,9 +554,6 @@ enable_ftopen=0
|
||||
# 1 - Allow STA+SAP SCC on LTE coex channel
|
||||
g_sta_sap_scc_on_lte_coex_chan=1
|
||||
|
||||
#Add another interface while driver load
|
||||
gEnableConcurrentSTA=wlan1
|
||||
|
||||
# This ini is used to allow STA+SAP SCC on DFS channel with master mode
|
||||
# support disabled
|
||||
# 0 - Disallow STA+SAP SCC on DFS channel
|
||||
@@ -604,19 +584,28 @@ gTxBFCsnValue=4
|
||||
ignore_fw_reg_offload_ind=1
|
||||
|
||||
#Configures Channel Bonding in 24 GHz
|
||||
gChannelBondingMode24GHz=0
|
||||
gChannelBondingMode24GHz=1
|
||||
|
||||
#Enable ETSI SRD channels in master mode PCL and ACS functionality
|
||||
etsi13_srd_chan_in_master_mode=1
|
||||
|
||||
# Disable wpa3 on 7150 device
|
||||
sae_enabled=0
|
||||
# Enable wpa3 on sdm710 device
|
||||
sae_enabled=1
|
||||
|
||||
# Reduce the expiry time for avoid list and black list in drv.
|
||||
avoid_list_expiry_time=3
|
||||
black_list_expiry_time=3
|
||||
# Improve threshold to move the Ap from avoid to blacklist
|
||||
bad_bssid_counter_thresh=7
|
||||
|
||||
# Prefer connecting to 5Ghz AP
|
||||
# even if its RSSI is lower by 3dBm than the 2.4Ghz AP
|
||||
gRoamPrefer5GHz=1
|
||||
gSelect5GHzMargin=3
|
||||
|
||||
# Enable SoftAP on indoor channel
|
||||
gindoor_channel_support=1
|
||||
|
||||
END
|
||||
|
||||
# Note: Configuration parser would not read anything past the END marker
|
||||
|
||||
Reference in New Issue
Block a user