Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afa45e0fbc | ||
| 2fba01f094 | |||
| 4ed4a96e5f | |||
| 0e25253853 | |||
| a817a0d804 | |||
| beda7f4d04 | |||
| be93eb3c09 | |||
|
|
9925ce6005 | ||
|
|
1eae904909 | ||
|
|
cae7be6e63 | ||
|
|
38bf2e0a6d | ||
|
|
98f1a55fe5 | ||
|
|
14c2968d35 | ||
|
|
661cf4be77 | ||
|
|
064c153395 | ||
|
|
72394fb9d8 | ||
|
|
8f6be400cd | ||
|
|
dd579f73ed | ||
|
|
ef812cd8ea | ||
|
|
6e513edb17 | ||
|
|
e9f3e33af1 | ||
|
|
14bb832186 | ||
|
|
ad0c3a209b | ||
|
|
b70f9c7b4a | ||
|
|
1d0eb36cb2 | ||
|
|
378c70a194 | ||
|
|
468e08287c | ||
|
|
a2c6761ffc | ||
|
|
f33e67cb7a | ||
|
|
c1e4b8ba34 | ||
|
|
63f557e326 | ||
|
|
170fdfbe04 | ||
|
|
5402b6597f | ||
|
|
e7084e8fcc | ||
|
|
86a9e0aaa3 | ||
|
|
7a3a91f4e0 | ||
|
|
ee9be9bc9a | ||
|
|
fa8e233ac0 | ||
|
|
39940de636 | ||
|
|
645570d0cf | ||
|
|
aceb8fdd30 | ||
|
|
d8cb90b4ba | ||
|
|
32361ed7e7 | ||
|
|
17daa0387c | ||
|
|
5b92da9eae | ||
|
|
a5085b5080 | ||
|
|
c689cef1e0 | ||
|
|
f0ac9ffd8a | ||
|
|
599d267a2c | ||
|
|
599fc8c2c5 | ||
|
|
9cf9eb1e86 | ||
|
|
ddcc778840 | ||
|
|
17dcd18408 | ||
|
|
3e4875b2b9 | ||
|
|
b4bce048e3 | ||
|
|
24d5dabf08 | ||
|
|
753363ba07 | ||
|
|
ac5ca75997 | ||
|
|
c677fe604a | ||
|
|
a160445e51 | ||
|
|
aa1b1e94ee | ||
|
|
ff2ea73ddf | ||
|
|
73379e9552 | ||
|
|
8f634d4565 | ||
|
|
9d105c0013 | ||
|
|
ede06c2b54 | ||
|
|
868f3cd4d9 | ||
|
|
e5ef064e48 | ||
|
|
8de89057be | ||
|
|
1a342961b8 | ||
|
|
711d4717d6 | ||
|
|
901ac6e06d | ||
|
|
430c63c80e | ||
|
|
e46d58ea61 | ||
|
|
eeb91793cd | ||
|
|
23a17f915c | ||
|
|
d762d6cd89 | ||
|
|
5a2e089dda | ||
|
|
343f321014 | ||
|
|
6da6d2617e | ||
|
|
f99788ebd0 | ||
|
|
b798d183bc | ||
|
|
5e23345444 |
||
|
|
6b9a31bd74 |
||
|
|
1e6566533f | ||
|
|
fa11fe4088 | ||
|
|
064df27169 | ||
|
|
04f204df15 | ||
|
|
8d8fc5740a | ||
|
|
cb994cbb45 | ||
|
|
19e7b2ef54 | ||
|
|
5b206cd4b1 | ||
|
|
ed42e67cc5 | ||
|
|
498813a008 | ||
|
|
8667ff3a08 | ||
|
|
865d3ff4d3 | ||
|
|
f18f325a6d | ||
|
|
1b3aa64045 | ||
|
|
100d001f78 | ||
|
|
5c843d57c8 | ||
|
|
26ced05f43 | ||
|
|
6faa3b87ca | ||
|
|
c2e71b09e4 | ||
|
|
f6865713f2 | ||
|
|
3be0a82348 |
54 changed files with 1275 additions and 2352 deletions
|
|
@ -5,6 +5,10 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
soong_namespace {
|
soong_namespace {
|
||||||
|
imports: [
|
||||||
|
"hardware/google/interfaces",
|
||||||
|
"hardware/google/pixel"
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
install_symlink {
|
install_symlink {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
# Copyright (C) 2021-2024 The LineageOS Project
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
# Copyright (C) 2019-Current A-Team Digital Solutions
|
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
|
||||||
|
|
||||||
ifeq ($(TARGET_DEVICE),dre)
|
|
||||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
||||||
endif
|
|
||||||
|
|
@ -20,9 +20,6 @@ AB_OTA_PARTITIONS += \
|
||||||
vendor_boot \
|
vendor_boot \
|
||||||
vendor_dlkm
|
vendor_dlkm
|
||||||
|
|
||||||
# ANT+
|
|
||||||
BOARD_ANT_WIRELESS_DEVICE := "qualcomm-hidl"
|
|
||||||
|
|
||||||
# Architecture
|
# Architecture
|
||||||
TARGET_ARCH := arm64
|
TARGET_ARCH := arm64
|
||||||
TARGET_ARCH_VARIANT := armv8-a
|
TARGET_ARCH_VARIANT := armv8-a
|
||||||
|
|
@ -72,21 +69,6 @@ TARGET_SCREEN_DENSITY := 450
|
||||||
# Filesystem
|
# Filesystem
|
||||||
TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs
|
TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs
|
||||||
|
|
||||||
# Health
|
|
||||||
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/oplus_chg/battery/mmi_charging_enable
|
|
||||||
|
|
||||||
# HIDL
|
|
||||||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
|
|
||||||
hardware/oplus/vintf/device_framework_matrix.xml \
|
|
||||||
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
|
|
||||||
vendor/lineage/config/device_framework_matrix.xml
|
|
||||||
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
|
|
||||||
DEVICE_MANIFEST_FILE := $(DEVICE_PATH)/manifest.xml
|
|
||||||
ODM_MANIFEST_FILES := $(DEVICE_PATH)/manifest_odm.xml
|
|
||||||
|
|
||||||
# Init
|
|
||||||
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):libinit_oplus
|
|
||||||
|
|
||||||
# Kernel
|
# Kernel
|
||||||
BOARD_BOOT_HEADER_VERSION := 3
|
BOARD_BOOT_HEADER_VERSION := 3
|
||||||
BOARD_KERNEL_BASE := 0x00000000
|
BOARD_KERNEL_BASE := 0x00000000
|
||||||
|
|
@ -146,9 +128,6 @@ TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm
|
||||||
BOARD_USES_QCOM_HARDWARE := true
|
BOARD_USES_QCOM_HARDWARE := true
|
||||||
TARGET_BOARD_PLATFORM := holi
|
TARGET_BOARD_PLATFORM := holi
|
||||||
|
|
||||||
# Power
|
|
||||||
TARGET_TAP_TO_WAKE_NODE := "/proc/touchpanel/double_tap_enable"
|
|
||||||
|
|
||||||
# Properties
|
# Properties
|
||||||
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
|
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
|
||||||
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/product.prop
|
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/product.prop
|
||||||
|
|
@ -167,14 +146,13 @@ TARGET_USERIMAGES_USE_F2FS := true
|
||||||
ENABLE_VENDOR_RIL_SERVICE := true
|
ENABLE_VENDOR_RIL_SERVICE := true
|
||||||
|
|
||||||
# Security
|
# Security
|
||||||
BOOT_SECURITY_PATCH := 2024-10-05
|
BOOT_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH)
|
||||||
VENDOR_SECURITY_PATCH := $(BOOT_SECURITY_PATCH)
|
VENDOR_SECURITY_PATCH := $(BOOT_SECURITY_PATCH)
|
||||||
|
|
||||||
# SEPolicy
|
# SEPolicy
|
||||||
include device/qcom/sepolicy_vndr/SEPolicy.mk
|
include device/qcom/sepolicy_vndr/SEPolicy.mk
|
||||||
include hardware/oplus/sepolicy/qti/SEPolicy.mk
|
include hardware/oplus/sepolicy/qti/SEPolicy.mk
|
||||||
|
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private
|
||||||
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
|
|
||||||
|
|
||||||
# Verified Boot
|
# Verified Boot
|
||||||
BOARD_AVB_ENABLE := true
|
BOARD_AVB_ENABLE := true
|
||||||
|
|
|
||||||
201
LICENSE
Normal file
201
LICENSE
Normal file
|
|
@ -0,0 +1,201 @@
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
@ -32,8 +32,8 @@ PRODUCT_MODEL := DE2117
|
||||||
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
||||||
|
|
||||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
BuildDesc="OnePlusN200-user 12 SKQ1.210216.001 R.1a8c53e-1-16457e release-keys" \
|
BuildDesc="OnePlusN200-user 12 SKQ1.210216.001 R.205d809_1-735849 release-keys" \
|
||||||
BuildFingerprint=OnePlus/OnePlusN200/OnePlusN200:12/SKQ1.210216.001/R.1a8c53e-1-16457e:user/release-keys \
|
BuildFingerprint=OnePlus/OnePlusN200/OnePlusN200:12/SKQ1.210216.001/R.205d809_1-735849:user/release-keys \
|
||||||
DeviceName=OnePlusN200 \
|
DeviceName=OnePlusN200 \
|
||||||
DeviceProduct=OnePlusN200 \
|
DeviceProduct=OnePlusN200 \
|
||||||
SystemDevice=OnePlusN200 \
|
SystemDevice=OnePlusN200 \
|
||||||
|
|
|
||||||
156
configs/audio/audio_io_policy.conf
Normal file
156
configs/audio/audio_io_policy.conf
Normal file
|
|
@ -0,0 +1,156 @@
|
||||||
|
# List of profiles for the output device session where stream is routed.
|
||||||
|
# A stream opened with the inputs attributes which match the "flags" and
|
||||||
|
# "formats" as specified in the profile is routed to a device at
|
||||||
|
# sample rate specified under "sampling_rates" and bit width under
|
||||||
|
# "bit_width" and the topology extracted from the acdb data against
|
||||||
|
# the "app_type".
|
||||||
|
#
|
||||||
|
# the flags and formats are specified using the strings corresponding to
|
||||||
|
# enums in audio.h and audio_policy.h. They are concatenated with "|"
|
||||||
|
# without space or "\n".
|
||||||
|
# the flags and formats should match the ones in "audio_policy.conf"
|
||||||
|
|
||||||
|
outputs {
|
||||||
|
default {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69937
|
||||||
|
}
|
||||||
|
#Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/03/09, Add for support 24bit playback
|
||||||
|
default_24bit {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
||||||
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69937
|
||||||
|
}
|
||||||
|
proaudio {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69943
|
||||||
|
}
|
||||||
|
voip_rx {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_VOIP_RX|AUDIO_OUTPUT_FLAG_DIRECT
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 8000|16000|32000|48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69946
|
||||||
|
}
|
||||||
|
deep_buffer {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69936
|
||||||
|
}
|
||||||
|
#Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/03/09, Add for support 24bit playback
|
||||||
|
deep_buffer_24bit {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
||||||
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69936
|
||||||
|
}
|
||||||
|
direct_pcm_16 {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_DIRECT
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69936
|
||||||
|
}
|
||||||
|
direct_pcm_24 {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_DIRECT
|
||||||
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69940
|
||||||
|
}
|
||||||
|
direct_pcm_32 {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_DIRECT
|
||||||
|
formats AUDIO_FORMAT_PCM_32_BIT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000
|
||||||
|
bit_width 32
|
||||||
|
app_type 69942
|
||||||
|
}
|
||||||
|
compress_passthrough {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH
|
||||||
|
formats AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD
|
||||||
|
sampling_rates 32000|44100|48000|88200|96000|176400|192000|352800
|
||||||
|
bit_width 16
|
||||||
|
app_type 69941
|
||||||
|
}
|
||||||
|
compress_offload_16 {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
||||||
|
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2|AUDIO_FORMAT_AAC_LATM_LC|AUDIO_FORMAT_AAC_LATM_HE_V1|AUDIO_FORMAT_AAC_LATM_HE_V2
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69936
|
||||||
|
}
|
||||||
|
compress_offload_24 {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
||||||
|
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2|AUDIO_FORMAT_AAC_LATM_LC|AUDIO_FORMAT_AAC_LATM_HE_V1|AUDIO_FORMAT_AAC_LATM_HE_V2
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69940
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
inputs {
|
||||||
|
record_16bit {
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69938
|
||||||
|
}
|
||||||
|
record_24bit {
|
||||||
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_24_BIT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69948
|
||||||
|
}
|
||||||
|
record_32bit {
|
||||||
|
formats AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_FLOAT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 32
|
||||||
|
app_type 69949
|
||||||
|
}
|
||||||
|
record_compress_16 {
|
||||||
|
flags AUDIO_INPUT_FLAG_COMPRESS
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69938
|
||||||
|
}
|
||||||
|
record_compress_24 {
|
||||||
|
flags AUDIO_INPUT_FLAG_COMPRESS
|
||||||
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_24_BIT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69948
|
||||||
|
}
|
||||||
|
record_compress_32 {
|
||||||
|
flags AUDIO_INPUT_FLAG_COMPRESS
|
||||||
|
formats AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_FLOAT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 32
|
||||||
|
app_type 69949
|
||||||
|
}
|
||||||
|
voip_tx {
|
||||||
|
flags AUDIO_INPUT_FLAG_VOIP_TX
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 8000|16000|32000|48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69946
|
||||||
|
}
|
||||||
|
low_latency_voip_tx {
|
||||||
|
flags AUDIO_INPUT_FLAG_FAST|AUDIO_INPUT_FLAG_VOIP_TX
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -116,7 +116,7 @@
|
||||||
<param key="mono_speaker" value="right"/>
|
<param key="mono_speaker" value="right"/>
|
||||||
<param key="true_32_bit" value="true"/>
|
<param key="true_32_bit" value="true"/>
|
||||||
<param key="hifi_filter" value="false"/>
|
<param key="hifi_filter" value="false"/>
|
||||||
<param key="native_audio_mode" value="false"/>
|
<param key="native_audio_mode" value="multiple_mix_dsp"/>
|
||||||
<param key="hfp_pcm_dev_id" value="39"/>
|
<param key="hfp_pcm_dev_id" value="39"/>
|
||||||
<param key="input_mic_max_count" value="4"/>
|
<param key="input_mic_max_count" value="4"/>
|
||||||
<!--#Le.li@PSW.MM.AudioDriver.HAL, 2020/10/11, Add for audio conifg begin -->
|
<!--#Le.li@PSW.MM.AudioDriver.HAL, 2020/10/11, Add for audio conifg begin -->
|
||||||
|
|
@ -143,6 +143,7 @@
|
||||||
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic -->
|
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic -->
|
||||||
<param key="camcorder_switch_mic" value="true"/>
|
<param key="camcorder_switch_mic" value="true"/>
|
||||||
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic end -->
|
<!--chenshuyun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/01/21, Add for camcorder switch mic end -->
|
||||||
|
<param key="spkr_hph_single_be_native_concurrency" value="true"/>
|
||||||
</config_params>
|
</config_params>
|
||||||
<gain_db_to_level_mapping>
|
<gain_db_to_level_mapping>
|
||||||
<gain_level_map db="-59" level="5"/>
|
<gain_level_map db="-59" level="5"/>
|
||||||
|
|
@ -99,10 +99,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="haptics output" role="source">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="deep_buffer" role="source"
|
<mixPort name="deep_buffer" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
|
@ -120,16 +116,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
flags="AUDIO_OUTPUT_FLAG_DIRECT">
|
flags="AUDIO_OUTPUT_FLAG_DIRECT">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="compressed_offload" role="source"
|
<mixPort name="compressed_offload" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||||
|
|
@ -141,7 +137,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_ALAC"
|
<profile name="" format="AUDIO_FORMAT_ALAC"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_APE"
|
<profile name="" format="AUDIO_FORMAT_APE"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
|
|
@ -156,16 +152,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_DTS"
|
<profile name="" format="AUDIO_FORMAT_DTS"
|
||||||
samplingRates="32000,44100,48000"
|
samplingRates="32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_DTS_HD"
|
<profile name="" format="AUDIO_FORMAT_DTS_HD"
|
||||||
samplingRates="32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
samplingRates="32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_WMA"
|
<profile name="" format="AUDIO_FORMAT_WMA"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_WMA_PRO"
|
<profile name="" format="AUDIO_FORMAT_WMA_PRO"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_AAC_ADTS_LC"
|
<profile name="" format="AUDIO_FORMAT_AAC_ADTS_LC"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
|
|
@ -181,7 +177,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="voip_rx" role="source"
|
<mixPort name="voip_rx" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
|
@ -192,7 +188,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
|
||||||
<mixPort name="primary input" role="sink" maxOpenCount="2" maxActiveCount="2">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
|
||||||
|
|
@ -298,17 +294,17 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
|
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
|
||||||
encodedFormats="AUDIO_FORMAT_SBC AUDIO_FORMAT_AAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_LDAC AUDIO_FORMAT_CELT AUDIO_FORMAT_APTX_ADAPTIVE AUDIO_FORMAT_APTX_TWSP">
|
encodedFormats="AUDIO_FORMAT_SBC AUDIO_FORMAT_AAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_LDAC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
|
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
|
||||||
encodedFormats="AUDIO_FORMAT_SBC AUDIO_FORMAT_AAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_LDAC AUDIO_FORMAT_CELT AUDIO_FORMAT_APTX_ADAPTIVE AUDIO_FORMAT_APTX_TWSP">
|
encodedFormats="AUDIO_FORMAT_SBC AUDIO_FORMAT_AAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_LDAC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
|
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
|
||||||
encodedFormats="AUDIO_FORMAT_SBC AUDIO_FORMAT_AAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_LDAC AUDIO_FORMAT_CELT AUDIO_FORMAT_APTX_ADAPTIVE AUDIO_FORMAT_APTX_TWSP">
|
encodedFormats="AUDIO_FORMAT_SBC AUDIO_FORMAT_AAC AUDIO_FORMAT_APTX AUDIO_FORMAT_APTX_HD AUDIO_FORMAT_LDAC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
|
@ -359,15 +355,15 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="Wired Headset"
|
<route type="mix" sink="Wired Headset"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="Wired Headphones"
|
<route type="mix" sink="Wired Headphones"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="Line"
|
<route type="mix" sink="Line"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="HDMI"
|
<route type="mix" sink="HDMI"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
||||||
<route type="mix" sink="Proxy"
|
<route type="mix" sink="Proxy"
|
||||||
|
|
@ -99,10 +99,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="haptics output" role="source">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="deep_buffer" role="source"
|
<mixPort name="deep_buffer" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
|
@ -120,16 +116,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
flags="AUDIO_OUTPUT_FLAG_DIRECT">
|
flags="AUDIO_OUTPUT_FLAG_DIRECT">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="compressed_offload" role="source"
|
<mixPort name="compressed_offload" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||||
|
|
@ -141,7 +137,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_ALAC"
|
<profile name="" format="AUDIO_FORMAT_ALAC"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_APE"
|
<profile name="" format="AUDIO_FORMAT_APE"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
|
|
@ -156,16 +152,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_DTS"
|
<profile name="" format="AUDIO_FORMAT_DTS"
|
||||||
samplingRates="32000,44100,48000"
|
samplingRates="32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_DTS_HD"
|
<profile name="" format="AUDIO_FORMAT_DTS_HD"
|
||||||
samplingRates="32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
samplingRates="32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_WMA"
|
<profile name="" format="AUDIO_FORMAT_WMA"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_WMA_PRO"
|
<profile name="" format="AUDIO_FORMAT_WMA_PRO"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
<profile name="" format="AUDIO_FORMAT_AAC_ADTS_LC"
|
<profile name="" format="AUDIO_FORMAT_AAC_ADTS_LC"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
|
|
@ -181,7 +177,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="voip_rx" role="source"
|
<mixPort name="voip_rx" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
|
@ -192,7 +188,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
|
||||||
<mixPort name="primary input" role="sink" maxOpenCount="2" maxActiveCount="2">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/>
|
||||||
|
|
@ -344,15 +340,15 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="Wired Headset"
|
<route type="mix" sink="Wired Headset"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="Wired Headphones"
|
<route type="mix" sink="Wired Headphones"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="Line"
|
<route type="mix" sink="Line"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,haptics output"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||||
<route type="mix" sink="HDMI"
|
<route type="mix" sink="HDMI"
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
||||||
<route type="mix" sink="Proxy"
|
<route type="mix" sink="Proxy"
|
||||||
628
configs/powerhint.json
Normal file
628
configs/powerhint.json
Normal file
|
|
@ -0,0 +1,628 @@
|
||||||
|
{
|
||||||
|
"Nodes": [
|
||||||
|
{
|
||||||
|
"Name": "CPULittleClusterMaxFreq",
|
||||||
|
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
|
||||||
|
"Values": [
|
||||||
|
"9999999",
|
||||||
|
"1708800",
|
||||||
|
"576000",
|
||||||
|
"300000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPULittleClusterMinFreq",
|
||||||
|
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq",
|
||||||
|
"Values": [
|
||||||
|
"9999999",
|
||||||
|
"1708800",
|
||||||
|
"1324800",
|
||||||
|
"576000",
|
||||||
|
"300000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 4,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPULittleClusterUpRateLimit",
|
||||||
|
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us",
|
||||||
|
"Values": [
|
||||||
|
"500",
|
||||||
|
"2000"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPULittleClusterDownRateLimit",
|
||||||
|
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us",
|
||||||
|
"Values": [
|
||||||
|
"20000",
|
||||||
|
"2000"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBigClusterMaxFreq",
|
||||||
|
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq",
|
||||||
|
"Values": [
|
||||||
|
"9999999",
|
||||||
|
"2035200",
|
||||||
|
"1804800",
|
||||||
|
"1651200",
|
||||||
|
"1536000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBigClusterMinFreq",
|
||||||
|
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq",
|
||||||
|
"Values": [
|
||||||
|
"9999999",
|
||||||
|
"1651200",
|
||||||
|
"768000",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 3,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBigClusterUpRateLimit",
|
||||||
|
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/schedutil/up_rate_limit_us",
|
||||||
|
"Values": [
|
||||||
|
"500",
|
||||||
|
"2000"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBigClusterDownRateLimit",
|
||||||
|
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/schedutil/down_rate_limit_us",
|
||||||
|
"Values": [
|
||||||
|
"20000",
|
||||||
|
"2000"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "UclampTAMin",
|
||||||
|
"Path": "/dev/cpuctl/top-app/cpu.uclamp.min",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"50",
|
||||||
|
"100"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "UclampTALatency",
|
||||||
|
"Path": "/dev/cpuctl/top-app/cpu.uclamp.latency_sensitive",
|
||||||
|
"Values": [
|
||||||
|
"1",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "UclampFgMin",
|
||||||
|
"Path": "/dev/cpuctl/foreground/cpu.uclamp.min",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"50",
|
||||||
|
"100"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "GPUMaxFreq",
|
||||||
|
"Path": "/sys/class/kgsl/kgsl-3d0/max_pwrlevel",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "GPUMinFreq",
|
||||||
|
"Path": "/sys/class/kgsl/kgsl-3d0/min_pwrlevel",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"1",
|
||||||
|
"2",
|
||||||
|
"3",
|
||||||
|
"4"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "GPUForceRailOn",
|
||||||
|
"Path": "/sys/class/kgsl/kgsl-3d0/force_rail_on",
|
||||||
|
"Values": [
|
||||||
|
"1",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "GPUForceClkOn",
|
||||||
|
"Path": "/sys/class/kgsl/kgsl-3d0/force_clk_on",
|
||||||
|
"Values": [
|
||||||
|
"1",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "GPUIdleTimer",
|
||||||
|
"Path": "/sys/class/kgsl/kgsl-3d0/idle_timer",
|
||||||
|
"Values": [
|
||||||
|
"10000",
|
||||||
|
"80"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBWHystTriggerCount",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/hyst_trigger_count",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"3"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBWHistMemory",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/hist_memory",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"20"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBWHystLength",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/hyst_length",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"10"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBWSampleMs",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/sample_ms",
|
||||||
|
"Values": [
|
||||||
|
"10",
|
||||||
|
"4"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUBWMinFreq",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/min_freq",
|
||||||
|
"Values": [
|
||||||
|
"7980",
|
||||||
|
"5161",
|
||||||
|
"762"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "L3LittleClusterMinFreq",
|
||||||
|
"Path": "/sys/class/devfreq/fd90100.qcom,cpu0-cpu-l3-lat/min_freq",
|
||||||
|
"Values": [
|
||||||
|
"1459200000",
|
||||||
|
"1171200000",
|
||||||
|
"300000000"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "L3BigClusterMinFreq",
|
||||||
|
"Path": "/sys/class/devfreq/fd90100.qcom,cpu6-cpu-l3-lat/min_freq",
|
||||||
|
"Values": [
|
||||||
|
"1459200000",
|
||||||
|
"1171200000",
|
||||||
|
"300000000"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUDDRLatLittleMinFreq",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-lat/min_freq",
|
||||||
|
"Values": [
|
||||||
|
"7980",
|
||||||
|
"3879",
|
||||||
|
"762"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUDDRLatBigMinFreq",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-lat/min_freq",
|
||||||
|
"Values": [
|
||||||
|
"7980",
|
||||||
|
"3879",
|
||||||
|
"762"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUDDRLatfloorLittleMinFreq",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/min_freq",
|
||||||
|
"Values": [
|
||||||
|
"7980",
|
||||||
|
"3879",
|
||||||
|
"762"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "CPUDDRLatfloorBigMinFreq",
|
||||||
|
"Path": "/sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/min_freq",
|
||||||
|
"Values": [
|
||||||
|
"7980",
|
||||||
|
"3879",
|
||||||
|
"762"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "DoubleTapToWake",
|
||||||
|
"Path": "/proc/touchpanel/double_tap_enable",
|
||||||
|
"Values": [
|
||||||
|
"1",
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "PowerHALMainState",
|
||||||
|
"Path": "vendor.powerhal.state",
|
||||||
|
"Values": [
|
||||||
|
"SUSTAINED_PERFORMANCE",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"Type": "Property"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "PowerHALRenderingState",
|
||||||
|
"Path": "vendor.powerhal.rendering",
|
||||||
|
"Values": [
|
||||||
|
"EXPENSIVE_RENDERING",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"Type": "Property"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Actions": [
|
||||||
|
{
|
||||||
|
"PowerHint": "SUSTAINED_PERFORMANCE",
|
||||||
|
"Node": "PowerHALMainState",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "SUSTAINED_PERFORMANCE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "SUSTAINED_PERFORMANCE",
|
||||||
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1536000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "SUSTAINED_PERFORMANCE",
|
||||||
|
"Node": "CPULittleClusterMaxFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1708800"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "SUSTAINED_PERFORMANCE",
|
||||||
|
"Node": "GPUMaxFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUBigClusterMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "1651200"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPULittleClusterMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "1708800"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "UclampTAMin",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "50"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "UclampTALatency",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "UclampFgMin",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "50"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "GPUMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUBWHystTriggerCount",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUBWHystLength",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUBWHistMemory",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUBWMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "5161"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUDDRLatLittleMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUDDRLatBigMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUDDRLatfloorLittleMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "CPUDDRLatfloorBigMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "L3LittleClusterMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "1171200000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "L3BigClusterMinFreq",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "1171200000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTIVE",
|
||||||
|
"Node": "CPULittleClusterUpRateLimit",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "500"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTIVE",
|
||||||
|
"Node": "CPULittleClusterDownRateLimit",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "20000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTIVE",
|
||||||
|
"Node": "CPUBigClusterUpRateLimit",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "500"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTIVE",
|
||||||
|
"Node": "CPUBigClusterDownRateLimit",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "20000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "9999999"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUBigClusterMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "9999999"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPULittleClusterMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "9999999"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "UclampTAMin",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "100"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "UclampFgMin",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "100"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUBWHystTriggerCount",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUBWHystLength",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUBWHistMemory",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUBWMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUDDRLatLittleMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUDDRLatBigMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUDDRLatfloorLittleMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "CPUDDRLatfloorBigMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "7980"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "GPUForceClkOn",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "GPUForceRailOn",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "GPUIdleTimer",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "10000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "L3LittleClusterMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "1459200000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "L3BigClusterMinFreq",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "1459200000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "FIXED_PERFORMANCE",
|
||||||
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "9999999"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "FIXED_PERFORMANCE",
|
||||||
|
"Node": "CPUBigClusterMinFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "9999999"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "FIXED_PERFORMANCE",
|
||||||
|
"Node": "CPULittleClusterMaxFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "9999999"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "FIXED_PERFORMANCE",
|
||||||
|
"Node": "CPULittleClusterMinFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "9999999"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "FIXED_PERFORMANCE",
|
||||||
|
"Node": "GPUMaxFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "FIXED_PERFORMANCE",
|
||||||
|
"Node": "GPUMinFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "EXPENSIVE_RENDERING",
|
||||||
|
"Node": "PowerHALRenderingState",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "EXPENSIVE_RENDERING"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "EXPENSIVE_RENDERING",
|
||||||
|
"Node": "GPUMinFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "EXPENSIVE_RENDERING",
|
||||||
|
"Node": "GPUMaxFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "EXPENSIVE_RENDERING",
|
||||||
|
"Node": "CPULittleClusterMinFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1708800"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "EXPENSIVE_RENDERING",
|
||||||
|
"Node": "CPUBigClusterMinFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1651200"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "DOUBLE_TAP_TO_WAKE",
|
||||||
|
"Node": "DoubleTapToWake",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
92
device.mk
92
device.mk
|
|
@ -24,13 +24,16 @@ AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
FILESYSTEM_TYPE_vendor=erofs \
|
FILESYSTEM_TYPE_vendor=erofs \
|
||||||
POSTINSTALL_OPTIONAL_vendor=true
|
POSTINSTALL_OPTIONAL_vendor=true
|
||||||
|
|
||||||
|
AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
|
RUN_POSTINSTALL_odm=true \
|
||||||
|
POSTINSTALL_PATH_odm=bin/xbl_config_arb_check \
|
||||||
|
FILESYSTEM_TYPE_odm=erofs \
|
||||||
|
POSTINSTALL_OPTIONAL_odm=false
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
checkpoint_gc \
|
checkpoint_gc \
|
||||||
otapreopt_script
|
otapreopt_script \
|
||||||
|
xbl_config_arb_check
|
||||||
# ANT+
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
AntHalService-Soong
|
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
@ -62,27 +65,23 @@ PRODUCT_PACKAGES += \
|
||||||
AUDIO_HAL_DIR := hardware/qcom-caf/sm8350/audio
|
AUDIO_HAL_DIR := hardware/qcom-caf/sm8350/audio
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(AUDIO_HAL_DIR)/configs/common/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
$(AUDIO_HAL_DIR)/configs/holi/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
|
$(AUDIO_HAL_DIR)/configs/holi/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
|
$(AUDIO_HAL_DIR)/configs/holi/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
|
||||||
$(AUDIO_HAL_DIR)/configs/holi/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
|
$(AUDIO_HAL_DIR)/configs/holi/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
|
||||||
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
|
$(LOCAL_PATH)/configs/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
||||||
$(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
|
$(LOCAL_PATH)/configs/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
|
||||||
$(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
|
$(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||||
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
|
$(LOCAL_PATH)/configs/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
|
||||||
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml
|
$(LOCAL_PATH)/configs/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
|
||||||
|
$(LOCAL_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
|
||||||
|
$(LOCAL_PATH)/configs/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/audio_policy_volumes.xml \
|
|
||||||
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||||
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
||||||
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/default_volume_tables.xml \
|
|
||||||
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
||||||
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/r_submix_audio_policy_configuration.xml \
|
|
||||||
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/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/audio/sku_holi/usb_audio_policy_configuration.xml \
|
|
||||||
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
@ -134,7 +133,8 @@ PRODUCT_COPY_FILES += \
|
||||||
|
|
||||||
# Doze
|
# Doze
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
OplusDoze
|
OplusDoze \
|
||||||
|
OplusDozeResTarget
|
||||||
|
|
||||||
# DRM
|
# DRM
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
@ -155,8 +155,7 @@ PRODUCT_COPY_FILES += \
|
||||||
|
|
||||||
# FM Radio
|
# FM Radio
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
FM2 \
|
FM2
|
||||||
qcom.fmradio
|
|
||||||
|
|
||||||
# GPS
|
# GPS
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
@ -176,7 +175,7 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# Hotword enrollment
|
# Hotword enrollment
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
$(LOCAL_PATH)/configs/permissions/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
||||||
|
|
||||||
# Init
|
# Init
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
@ -194,6 +193,8 @@ PRODUCT_PACKAGES += \
|
||||||
ueventd.oplus.rc \
|
ueventd.oplus.rc \
|
||||||
ueventd.qcom.rc
|
ueventd.qcom.rc
|
||||||
|
|
||||||
|
$(call soong_config_set,libinit,vendor_init_lib,//$(LOCAL_PATH):libinit_oplus)
|
||||||
|
|
||||||
# IPACM
|
# IPACM
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
ipacm \
|
ipacm \
|
||||||
|
|
@ -206,23 +207,19 @@ PRODUCT_ENABLE_UFFD_GC := true
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vendor.lineage.health-service.default
|
vendor.lineage.health-service.default
|
||||||
|
|
||||||
|
$(call soong_config_set,lineage_health,charging_control_charging_path,/sys/class/oplus_chg/battery/mmi_charging_enable)
|
||||||
|
|
||||||
# LiveDisplay
|
# LiveDisplay
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vendor.lineage.livedisplay@2.1-service.oplus
|
vendor.lineage.livedisplay-service.oplus
|
||||||
|
|
||||||
$(call soong_config_set,OPLUS_LINEAGE_LIVEDISPLAY_HAL,ENABLE_SE,false)
|
$(call soong_config_set_bool,OPLUS_LINEAGE_LIVEDISPLAY_HAL,ENABLE_SE,false)
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
$(LOCAL_PATH)/configs/media/media_profiles_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
|
||||||
$(LOCAL_PATH)/media/media_codecs_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_blair.xml \
|
|
||||||
$(LOCAL_PATH)/media/media_codecs_blair_lite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_blair_lite.xml \
|
$(call soong_config_set_bool,stagefright,target_disable_thumbnail_block_model,true)
|
||||||
$(LOCAL_PATH)/media/media_codecs_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_holi.xml \
|
|
||||||
$(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
|
||||||
$(LOCAL_PATH)/media/media_codecs_performance_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_blair.xml \
|
|
||||||
$(LOCAL_PATH)/media/media_codecs_performance_blair_lite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_blair_lite.xml \
|
|
||||||
$(LOCAL_PATH)/media/media_codecs_performance_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_holi.xml \
|
|
||||||
$(LOCAL_PATH)/media/media_profiles_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
|
|
||||||
|
|
||||||
# NFC
|
# NFC
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
@ -232,7 +229,7 @@ PRODUCT_PACKAGES += \
|
||||||
Tag
|
Tag
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
|
$(LOCAL_PATH)/configs/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
|
||||||
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
|
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
|
||||||
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
|
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
|
||||||
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml
|
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml
|
||||||
|
|
@ -248,6 +245,8 @@ PRODUCT_ENFORCE_RRO_TARGETS := *
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
CarrierConfigResCommon \
|
CarrierConfigResCommon \
|
||||||
FrameworksResTarget \
|
FrameworksResTarget \
|
||||||
|
Launcher3ResTarget \
|
||||||
|
NcmTetheringOverlay \
|
||||||
OPlusFrameworksResTarget \
|
OPlusFrameworksResTarget \
|
||||||
OPlusSettingsProviderResTarget \
|
OPlusSettingsProviderResTarget \
|
||||||
OPlusSettingsResTarget \
|
OPlusSettingsResTarget \
|
||||||
|
|
@ -264,15 +263,15 @@ PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
||||||
|
|
||||||
# Perf
|
# Perf
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/configs/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
|
$(LOCAL_PATH)/configs/perf/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
|
||||||
|
|
||||||
# Power
|
# Power
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.power-service-qti
|
android.hardware.power-service.lineage-libperfmgr \
|
||||||
|
libqti-perfd-client
|
||||||
|
|
||||||
# QTI fwk-detect
|
PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_PACKAGES += \
|
$(LOCAL_PATH)/configs/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||||
libvndfwk_detect_jni.qti.vendor # Needed by CNE app
|
|
||||||
|
|
||||||
# Sensors
|
# Sensors
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
@ -296,7 +295,11 @@ PRODUCT_SHIPPING_API_LEVEL := $(BOARD_SHIPPING_API_LEVEL)
|
||||||
# Soong namespaces
|
# Soong namespaces
|
||||||
PRODUCT_SOONG_NAMESPACES += \
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
$(LOCAL_PATH) \
|
$(LOCAL_PATH) \
|
||||||
hardware/oplus
|
hardware/google/interfaces \
|
||||||
|
hardware/google/pixel \
|
||||||
|
hardware/oplus \
|
||||||
|
hardware/lineage/interfaces/power-libperfmgr \
|
||||||
|
hardware/qcom-caf/common/libqti-perfd-client
|
||||||
|
|
||||||
# Storage
|
# Storage
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
||||||
|
|
@ -342,7 +345,7 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# Touch
|
# Touch
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vendor.lineage.touch@1.0-service.oplus
|
vendor.lineage.touch-service.oplus
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
|
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
|
||||||
|
|
@ -358,7 +361,9 @@ PRODUCT_PACKAGES_DEBUG += \
|
||||||
|
|
||||||
# USB
|
# USB
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.usb-service.qti
|
android.hardware.usb-service.qti \
|
||||||
|
android.hardware.usb.gadget-service.qti \
|
||||||
|
oplus_usb_compositions.conf
|
||||||
|
|
||||||
PRODUCT_SOONG_NAMESPACES += \
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
vendor/qcom/opensource/usb/etc
|
vendor/qcom/opensource/usb/etc
|
||||||
|
|
@ -382,6 +387,13 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
|
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
|
||||||
|
|
||||||
|
# VINTF
|
||||||
|
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \
|
||||||
|
hardware/oplus/vintf/device_framework_matrix.xml \
|
||||||
|
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml
|
||||||
|
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
|
||||||
|
DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/vintf/manifest.xml
|
||||||
|
|
||||||
# WiFi
|
# WiFi
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.wifi-service \
|
android.hardware.wifi-service \
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ from extract_utils.main import (
|
||||||
namespace_imports = [
|
namespace_imports = [
|
||||||
'device/oneplus/dre',
|
'device/oneplus/dre',
|
||||||
'hardware/oplus',
|
'hardware/oplus',
|
||||||
|
'hardware/qcom-caf/common/libqti-perfd-client',
|
||||||
'hardware/qcom-caf/sm8350',
|
'hardware/qcom-caf/sm8350',
|
||||||
'hardware/qcom-caf/wlan',
|
'hardware/qcom-caf/wlan',
|
||||||
'vendor/qcom/opensource/commonsys-intf/display',
|
'vendor/qcom/opensource/commonsys-intf/display',
|
||||||
|
|
@ -72,15 +73,7 @@ blob_fixups: blob_fixups_user_type = {
|
||||||
.add_needed('libcrypto_shim.so'),
|
.add_needed('libcrypto_shim.so'),
|
||||||
'product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml': blob_fixup()
|
'product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml': blob_fixup()
|
||||||
.regex_replace('/my_product', '/product'),
|
.regex_replace('/my_product', '/product'),
|
||||||
'system_ext/bin/wfdservice': blob_fixup()
|
|
||||||
.add_needed('libwfdservice_shim.so'),
|
|
||||||
'system_ext/lib/libwfdmmsrc_system.so': blob_fixup()
|
|
||||||
.add_needed('libgui_shim.so'),
|
|
||||||
'system_ext/lib/libwfdservice.so': blob_fixup()
|
|
||||||
.replace_needed('android.media.audio.common.types-V2-cpp.so', 'android.media.audio.common.types-V4-cpp.so'),
|
|
||||||
'system_ext/lib64/libwfdnative.so': blob_fixup()
|
'system_ext/lib64/libwfdnative.so': blob_fixup()
|
||||||
.replace_needed('android.hidl.base@1.0.so', 'libhidlbase.so')
|
|
||||||
.add_needed('libbinder_shim.so')
|
|
||||||
.add_needed('libinput_shim.so'),
|
.add_needed('libinput_shim.so'),
|
||||||
'vendor/bin/init.kernel.post_boot-blair.sh': blob_fixup()
|
'vendor/bin/init.kernel.post_boot-blair.sh': blob_fixup()
|
||||||
.patch_file('blob-patches/init-post-boot-blair.patch'),
|
.patch_file('blob-patches/init-post-boot-blair.patch'),
|
||||||
|
|
@ -88,20 +81,34 @@ blob_fixups: blob_fixups_user_type = {
|
||||||
.patch_file('blob-patches/init-post-boot-holi.patch'),
|
.patch_file('blob-patches/init-post-boot-holi.patch'),
|
||||||
'vendor/etc/init/vendor.qti.media.c2@1.0-service.rc': blob_fixup()
|
'vendor/etc/init/vendor.qti.media.c2@1.0-service.rc': blob_fixup()
|
||||||
.regex_replace('writepid /dev/cpuset/foreground/tasks', 'task_profiles ProcessCapacityHigh'),
|
.regex_replace('writepid /dev/cpuset/foreground/tasks', 'task_profiles ProcessCapacityHigh'),
|
||||||
|
('vendor/etc/media_codecs.xml','vendor/etc/media_codecs_blair.xml','vendor/etc/media_codecs_blair_lite.xml','vendor/etc/media_codecs_holi.xml'): blob_fixup()
|
||||||
|
.regex_replace('\n <Include href="media_codecs_google_audio.xml" />', '')
|
||||||
|
.regex_replace('\n <Include href="media_codecs_vendor_audio.xml" />', '')
|
||||||
|
.regex_replace('\n <Include href="media_codecs_google_telephony.xml" />', '')
|
||||||
|
.regex_replace('\n <Include href="media_codecs_google_c2.xml" />', '')
|
||||||
|
.regex_replace('\n <Include href="media_codecs_c2_audio.xml" />', '')
|
||||||
|
.regex_replace('\n <Setting name="max-video-encoder-input-buffers" value="11" />', '\n <Domain name="telephony" enabled="true" />\n <Setting name="max-video-encoder-input-buffers" value="11" />'),
|
||||||
'vendor/etc/media_holi/video_system_specs.json': blob_fixup()
|
'vendor/etc/media_holi/video_system_specs.json': blob_fixup()
|
||||||
.regex_replace('"max_retry_alloc_output_timeout": 2000,', '"max_retry_alloc_output_timeout": 0,'),
|
.regex_replace('"max_retry_alloc_output_timeout": 2000,', '"max_retry_alloc_output_timeout": 0,'),
|
||||||
'vendor/etc/libnfc-nci.conf': blob_fixup()
|
'vendor/etc/libnfc-nci.conf': blob_fixup()
|
||||||
.regex_replace('NFC_DEBUG_ENABLED=1', 'NFC_DEBUG_ENABLED=0'),
|
.regex_replace('NFC_DEBUG_ENABLED=1', 'NFC_DEBUG_ENABLED=0'),
|
||||||
'vendor/etc/msm_irqbalance.conf': blob_fixup()
|
'vendor/etc/msm_irqbalance.conf': blob_fixup()
|
||||||
.regex_replace('IGNORED_IRQ=19,21,38$', 'IGNORED_IRQ=19,21,38,209,218'),
|
.regex_replace('IGNORED_IRQ=19,21,38$', 'IGNORED_IRQ=19,21,38,209,218'),
|
||||||
|
'vendor/etc/public.libraries.txt': blob_fixup()
|
||||||
|
.regex_replace('libqti-perfd-client.so\n', ''),
|
||||||
'vendor/etc/qdcm_calib_data_nt36672c_tm_fhd_plus_video_mode_dsi_panel.xml': blob_fixup()
|
'vendor/etc/qdcm_calib_data_nt36672c_tm_fhd_plus_video_mode_dsi_panel.xml': blob_fixup()
|
||||||
.regex_replace('FeatureType="2" Disable="false"', 'FeatureType="2" Disable="true"')
|
.regex_replace('FeatureType="2" Disable="false"', 'FeatureType="2" Disable="true"')
|
||||||
.regex_replace('FeatureType="7" Disable="false"', 'FeatureType="7" Disable="true"')
|
.regex_replace('FeatureType="7" Disable="false"', 'FeatureType="7" Disable="true"')
|
||||||
.regex_replace('FeatureType="8" Disable="false"', 'FeatureType="8" Disable="true"')
|
.regex_replace('FeatureType="8" Disable="false"', 'FeatureType="8" Disable="true"')
|
||||||
.regex_replace('20121_v1_20201113', 'native')
|
.regex_replace('20121_v1_20201113', 'native')
|
||||||
.regex_replace('SRGB', 'sRGB'),
|
.regex_replace('SRGB', 'sRGB'),
|
||||||
'vendor/lib64/hw/com.qti.chi.override.so': blob_fixup()
|
'vendor/lib64/hw/camera.qcom.so': blob_fixup()
|
||||||
.add_needed('libcamera_metadata_shim.so'),
|
.add_needed('libcamera_metadata_shim.so'),
|
||||||
|
(
|
||||||
|
'vendor/lib64/libdpps.so',
|
||||||
|
'vendor/lib64/libsnapdragoncolor-manager.so',
|
||||||
|
): blob_fixup()
|
||||||
|
.replace_needed('libtinyxml2.so', 'libtinyxml2-v34.so'),
|
||||||
} # fmt: skip
|
} # fmt: skip
|
||||||
|
|
||||||
module = ExtractUtilsModule(
|
module = ExtractUtilsModule(
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2022 The LineageOS Project
|
# Copyright (C) 2022-2024 The LineageOS Project
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
@ -44,6 +44,8 @@ on property:sys.boot_completed=1
|
||||||
copy /vendor/etc/Oppo_QC_LTM_Commercial_SM8250_2020_01_15.pfm /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
copy /vendor/etc/Oppo_QC_LTM_Commercial_SM8250_2020_01_15.pfm /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||||
chmod 0600 /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
chmod 0600 /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||||
chown system system /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
chown system system /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||||
|
# Enable PowerHAL hint processing
|
||||||
|
setprop vendor.powerhal.init 1
|
||||||
|
|
||||||
on property:vendor.post_boot.parsed=1
|
on property:vendor.post_boot.parsed=1
|
||||||
# IRQ Tuning
|
# IRQ Tuning
|
||||||
|
|
@ -52,58 +54,6 @@ on property:vendor.post_boot.parsed=1
|
||||||
write /proc/irq/243/smp_affinity_list 2
|
write /proc/irq/243/smp_affinity_list 2
|
||||||
write /proc/irq/240/smp_affinity_list 1
|
write /proc/irq/240/smp_affinity_list 1
|
||||||
|
|
||||||
on property:sys.usb.config=adb && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2769
|
|
||||||
|
|
||||||
on property:sys.usb.config=mass_storage && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2768
|
|
||||||
|
|
||||||
on property:sys.usb.config=mtp && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2764
|
|
||||||
|
|
||||||
on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2765
|
|
||||||
|
|
||||||
on property:sys.usb.config=ptp && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2771
|
|
||||||
|
|
||||||
on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2772
|
|
||||||
|
|
||||||
on property:sys.usb.config=rndis,none && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x276A
|
|
||||||
|
|
||||||
on property:sys.usb.config=rndis,serial_cdev,diag && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2783
|
|
||||||
|
|
||||||
on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,adb && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x276C
|
|
||||||
|
|
||||||
on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,adb && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x276E
|
|
||||||
|
|
||||||
on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2767
|
|
||||||
|
|
||||||
on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,adb && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2775
|
|
||||||
|
|
||||||
on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,none,adb && property:sys.usb.configfs=1
|
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
|
||||||
write /config/usb_gadget/g1/idProduct 0x2766
|
|
||||||
|
|
||||||
service oplus_sensor_fb /odm/bin/oplus_sensor_fb
|
service oplus_sensor_fb /odm/bin/oplus_sensor_fb
|
||||||
user system
|
user system
|
||||||
group system
|
group system
|
||||||
|
|
|
||||||
|
|
@ -61,8 +61,6 @@ on early-init
|
||||||
|
|
||||||
chown root system /dev/kmsg
|
chown root system /dev/kmsg
|
||||||
chmod 0620 /dev/kmsg
|
chmod 0620 /dev/kmsg
|
||||||
# Load WIGIG platform driver
|
|
||||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules msm_11ad_proxy
|
|
||||||
|
|
||||||
on init
|
on init
|
||||||
|
|
||||||
|
|
@ -154,9 +152,6 @@ on boot
|
||||||
mkdir /mnt/vendor/persist/iar_db 0770 system system
|
mkdir /mnt/vendor/persist/iar_db 0770 system system
|
||||||
mkdir /mnt/vendor/spunvm 0770 system system
|
mkdir /mnt/vendor/spunvm 0770 system system
|
||||||
|
|
||||||
#Create WIGIG socket area
|
|
||||||
mkdir /dev/socket/wigig 0770 wifi wifi
|
|
||||||
|
|
||||||
setprop wifi.interface wlan0
|
setprop wifi.interface wlan0
|
||||||
|
|
||||||
setprop ro.telephony.call_ring.multiple false
|
setprop ro.telephony.call_ring.multiple false
|
||||||
|
|
@ -231,12 +226,6 @@ on post-fs-data
|
||||||
# Create directory used by display clients
|
# Create directory used by display clients
|
||||||
mkdir /data/vendor/display 0770 system graphics
|
mkdir /data/vendor/display 0770 system graphics
|
||||||
|
|
||||||
# Change lm related dirs
|
|
||||||
mkdir /data/vendor/lm 0700 root root
|
|
||||||
|
|
||||||
# Create directory used by powermodule
|
|
||||||
mkdir /data/vendor/pwr 0700 root root
|
|
||||||
|
|
||||||
# Create directory used by media clients
|
# Create directory used by media clients
|
||||||
mkdir /data/vendor/media 0770 mediacodec media
|
mkdir /data/vendor/media 0770 mediacodec media
|
||||||
|
|
||||||
|
|
@ -264,13 +253,9 @@ on post-fs-data
|
||||||
mkdir /data/vendor/wifi/hostapd 0770 wifi wifi
|
mkdir /data/vendor/wifi/hostapd 0770 wifi wifi
|
||||||
mkdir /data/vendor/wifi/hostapd/ctrl 0770 wifi wifi
|
mkdir /data/vendor/wifi/hostapd/ctrl 0770 wifi wifi
|
||||||
mkdir /data/vendor/wifi/wpa_supplicant 0770 wifi wifi
|
mkdir /data/vendor/wifi/wpa_supplicant 0770 wifi wifi
|
||||||
mkdir /data/vendor/wifi/wigig_hostapd 0770 wifi wifi
|
|
||||||
mkdir /data/vendor/wifi/wpa 0770 wifi wifi
|
mkdir /data/vendor/wifi/wpa 0770 wifi wifi
|
||||||
mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi
|
mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi
|
||||||
|
|
||||||
# Create the directories used by WiGig Sensing
|
|
||||||
mkdir /data/vendor/sensing 0770 system wifi
|
|
||||||
|
|
||||||
# Create the directories used by CnE subsystem
|
# Create the directories used by CnE subsystem
|
||||||
mkdir /data/vendor/connectivity 0771 radio radio
|
mkdir /data/vendor/connectivity 0771 radio radio
|
||||||
chown radio radio /data/vendor/connectivity
|
chown radio radio /data/vendor/connectivity
|
||||||
|
|
@ -333,16 +318,8 @@ on post-fs-data
|
||||||
mkdir /data/vendor/fm 0770 system system
|
mkdir /data/vendor/fm 0770 system system
|
||||||
chmod 0770 /data/vendor/fm
|
chmod 0770 /data/vendor/fm
|
||||||
|
|
||||||
#Create PERFD deamon related dirs
|
|
||||||
mkdir /data/vendor/perfd 0770 root system
|
|
||||||
chmod 2770 /data/vendor/perfd
|
|
||||||
rm /data/vendor/perfd/default_values
|
|
||||||
|
|
||||||
mkdir /data/vendor/secure_element 0777 system system
|
mkdir /data/vendor/secure_element 0777 system system
|
||||||
|
|
||||||
#Create IOP deamon related dirs
|
|
||||||
mkdir /data/vendor/iop 0700 root system
|
|
||||||
|
|
||||||
# Mark the copy complete flag to not completed
|
# Mark the copy complete flag to not completed
|
||||||
write /data/vendor/radio/copy_complete 0
|
write /data/vendor/radio/copy_complete 0
|
||||||
chown radio radio /data/vendor/radio/copy_complete
|
chown radio radio /data/vendor/radio/copy_complete
|
||||||
|
|
@ -394,13 +371,6 @@ service nqnfcinfo /system/vendor/bin/nqnfcinfo
|
||||||
user system
|
user system
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
service iop /system/vendor/bin/iop
|
|
||||||
class main
|
|
||||||
user root
|
|
||||||
group root
|
|
||||||
disabled
|
|
||||||
socket iop seqpacket 0666 root system
|
|
||||||
|
|
||||||
service qcomsysd /system/vendor/bin/qcom-system-daemon
|
service qcomsysd /system/vendor/bin/qcom-system-daemon
|
||||||
class main
|
class main
|
||||||
user root
|
user root
|
||||||
|
|
@ -525,21 +495,6 @@ service qmiproxy /system/bin/qmiproxy
|
||||||
group radio diag
|
group radio diag
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
service vendor.wigig_supplicant /vendor/bin/hw/wpa_supplicant \
|
|
||||||
-iwigig0 -Dnl80211 -c/data/vendor/wifi/wigig_supplicant.conf \
|
|
||||||
-m/data/vendor/wifi/wigig_p2p_supplicant.conf \
|
|
||||||
-O/data/vendor/wifi/wigig_sockets -dd \
|
|
||||||
-e/data/vendor/wifi/wigig_entropy.bin -g@android:wigig/wpa_wigig0 \
|
|
||||||
-S wigigsvc
|
|
||||||
# we will start as root and wpa_supplicant will switch to user wifi
|
|
||||||
# after setting up the capabilities required for WEXT
|
|
||||||
# user wifi
|
|
||||||
# group wifi inet keystore
|
|
||||||
class main
|
|
||||||
socket wigig/wpa_wigig0 dgram 660 wifi wifi
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
# Data Migration
|
# Data Migration
|
||||||
service vendor.move_wifi_data /system/bin/move_wifi_data.sh
|
service vendor.move_wifi_data /system/bin/move_wifi_data.sh
|
||||||
class main
|
class main
|
||||||
|
|
@ -548,65 +503,6 @@ service vendor.move_wifi_data /system/bin/move_wifi_data.sh
|
||||||
disabled
|
disabled
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
service wigignpt /vendor/bin/wigignpt
|
|
||||||
interface vendor.qti.hardware.wigig.netperftuner@1.0::INetPerfTuner default
|
|
||||||
class hal
|
|
||||||
socket wigig/wigignpt stream 660 system wifi
|
|
||||||
user system
|
|
||||||
group wifi
|
|
||||||
capabilities NET_ADMIN
|
|
||||||
disabled
|
|
||||||
|
|
||||||
on property:persist.vendor.wigig.npt.enable=1
|
|
||||||
start wigignpt
|
|
||||||
|
|
||||||
service vendor.sensingdaemon /vendor/bin/sensingdaemon
|
|
||||||
class hal
|
|
||||||
socket wigig/sensingdaemon stream 660 system wifi
|
|
||||||
user system
|
|
||||||
group wifi
|
|
||||||
disabled
|
|
||||||
|
|
||||||
service dhcpcd_wlan0 /system/bin/dhcpcd -ABKLG
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service dhcpcd_bond0 /system/bin/dhcpcd -ABKLG
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service dhcpcd_p2p /system/bin/dhcpcd -ABKLG
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service dhcpcd_wigig0 /system/bin/dhcpcd -ABKLG
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service iprenew_wlan0 /system/bin/dhcpcd -n
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service iprenew_bond0 /system/bin/dhcpcd -n
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service iprenew_p2p /system/bin/dhcpcd -n
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service iprenew_wigig0 /system/bin/dhcpcd -n
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service ptt_socket_app /system/vendor/bin/ptt_socket_app -d
|
service ptt_socket_app /system/vendor/bin/ptt_socket_app -d
|
||||||
class main
|
class main
|
||||||
user wifi
|
user wifi
|
||||||
|
|
@ -640,16 +536,6 @@ on property:sys.shutdown.requested=*
|
||||||
write /sys/kernel/shutdown_wlan/shutdown 1
|
write /sys/kernel/shutdown_wlan/shutdown 1
|
||||||
stop cnss-daemon
|
stop cnss-daemon
|
||||||
|
|
||||||
service dhcpcd_bt-pan /system/bin/dhcpcd -BKLG
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service iprenew_bt-pan /system/bin/dhcpcd -n
|
|
||||||
class late_start
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service ssgqmigd /vendor/bin/ssgqmigd
|
service ssgqmigd /vendor/bin/ssgqmigd
|
||||||
class late_start
|
class late_start
|
||||||
user radio
|
user radio
|
||||||
|
|
@ -891,3 +777,22 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
|
||||||
ioprio rt 4
|
ioprio rt 4
|
||||||
task_profiles ProcessCapacityHigh HighPerformance
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
onrestart restart audioserver
|
onrestart restart audioserver
|
||||||
|
|
||||||
|
service vendor.qti.hardware.display.composer /vendor/bin/hw/vendor.qti.hardware.display.composer-service
|
||||||
|
override
|
||||||
|
class hal animation
|
||||||
|
user system
|
||||||
|
group graphics drmrpc
|
||||||
|
capabilities SYS_NICE
|
||||||
|
onrestart restart surfaceflinger
|
||||||
|
socket pps stream 0660 system system
|
||||||
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
|
|
||||||
|
service vendor.qti.hardware.display.allocator /vendor/bin/hw/vendor.qti.hardware.display.allocator-service
|
||||||
|
override
|
||||||
|
class hal animation
|
||||||
|
user system
|
||||||
|
group graphics drmrpc
|
||||||
|
capabilities SYS_NICE
|
||||||
|
onrestart restart surfaceflinger
|
||||||
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
|
|
|
||||||
|
|
@ -81,10 +81,6 @@ on fs
|
||||||
mkdir /mnt/vendor/persist/wlan 0700 system system
|
mkdir /mnt/vendor/persist/wlan 0700 system system
|
||||||
chmod 0700 /mnt/vendor/persist/wlan
|
chmod 0700 /mnt/vendor/persist/wlan
|
||||||
|
|
||||||
on post-fs
|
|
||||||
# set RLIMIT_MEMLOCK to 64MB
|
|
||||||
setrlimit 8 67108864 67108864
|
|
||||||
|
|
||||||
on late-fs
|
on late-fs
|
||||||
mount_all --late
|
mount_all --late
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
using android::base::GetProperty;
|
using android::base::GetProperty;
|
||||||
|
|
||||||
constexpr const char* BUILD_DESCRIPTION = "OnePlusN200TMO-user 12 SKQ1.210216.001 R.1a8c53b_1-164cb1 release-keys";
|
constexpr const char* BUILD_DESCRIPTION = "OnePlusN200TMO-user 12 SKQ1.210216.001 R.205d7fc_1-735f72 release-keys";
|
||||||
constexpr const char* BUILD_FINGERPRINT = "OnePlus/OnePlusN200TMO/OnePlusN200TMO:12/SKQ1.210216.001/R.1a8c53b_1-164cb1:user/release-keys";
|
constexpr const char* BUILD_FINGERPRINT = "OnePlus/OnePlusN200TMO/OnePlusN200TMO:12/SKQ1.210216.001/R.205d7fc_1-735f72:user/release-keys";
|
||||||
|
|
||||||
constexpr const char* RO_PROP_SOURCES[] = {
|
constexpr const char* RO_PROP_SOURCES[] = {
|
||||||
nullptr,
|
nullptr,
|
||||||
|
|
|
||||||
|
|
@ -307,14 +307,6 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0/queues/rx-* rps_cpus 0660 system system
|
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0/queues/rx-* rps_cpus 0660 system system
|
||||||
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/p2p0/queues/rx-* rps_cpus 0660 system system
|
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/p2p0/queues/rx-* rps_cpus 0660 system system
|
||||||
|
|
||||||
# wigig
|
|
||||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi
|
|
||||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system
|
|
||||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/snr_thresh 0660 wifi wifi
|
|
||||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system
|
|
||||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system
|
|
||||||
/sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system
|
|
||||||
|
|
||||||
#nfc permissions
|
#nfc permissions
|
||||||
/dev/nfc-nci 0660 nfc nfc
|
/dev/nfc-nci 0660 nfc nfc
|
||||||
/dev/nq-nci 0660 nfc nfc
|
/dev/nq-nci 0660 nfc nfc
|
||||||
|
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
<manifest version="2.0" type="device">
|
|
||||||
<hal format="hidl" override="true">
|
|
||||||
<name>vendor.lineage.touch</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IHighTouchPollingRate</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>ITouchscreenGesture</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
</manifest>
|
|
||||||
|
|
@ -1,300 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
"performance-point"
|
|
||||||
Vendor-guaranteed performance advertised to the applications
|
|
||||||
<Limit name="performance-point-widthxheight" value="fps" />
|
|
||||||
|
|
||||||
-For each of the resolutions, the advertised fps is the max supported,
|
|
||||||
with HW-friendly color format and considering video-only.
|
|
||||||
-Performance for any intermediate resolution will be that of the
|
|
||||||
next-higher-advertised-resolution.
|
|
||||||
|
|
||||||
standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
|
|
||||||
standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
|
|
||||||
* HD+ only
|
|
||||||
+ SD only
|
|
||||||
- All supported standard performance points are listed (unless they are
|
|
||||||
covered by another listed standard performance point)
|
|
||||||
- Non-standard performance points are listed along with all the standard
|
|
||||||
performance points covered by them.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Lahaina Non-Secure decoder capabilities
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
_______________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|_____________|_______________________________________|
|
|
||||||
| h264 | 3840 2176 60 100 1958400 |
|
|
||||||
| | 4096 2176 48 100 |
|
|
||||||
| hevc | 3840 2176 60 100 1958400 |
|
|
||||||
| | 4096 2176 48 100 |
|
|
||||||
| vp9 | 3840 2176 60 100 1958400 |
|
|
||||||
| | 4096 2176 48 100 |
|
|
||||||
| mpeg2 | 1920 1088 30 40 244800 |
|
|
||||||
|_____________|_______________________________________|
|
|
||||||
|
|
||||||
Lahaina Secure decoder capabilities
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
__________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_____________________________________|
|
|
||||||
| h264 | 3840 2176 60 40 1958400 |
|
|
||||||
| | 4096 2176 48 40 |
|
|
||||||
| vp9 | 3840 2176 60 40 1958400 |
|
|
||||||
| | 4096 2176 48 40 |
|
|
||||||
| hevc | 3840 2176 60 40 1958400 |
|
|
||||||
| | 4096 2176 48 40 |
|
|
||||||
|__________|_____________________________________|
|
|
||||||
|
|
||||||
Lahaina Non-Secure encoder capabilities (Secure not supported)
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
__________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_____________________________________|
|
|
||||||
| h264 | 3840 2176 60 100 1958400 |
|
|
||||||
| | 4096 2176 48 100 |
|
|
||||||
| hevc | 3840 2176 60 100 1958400 |
|
|
||||||
| | 4096 2176 48 100 |
|
|
||||||
|__________|_____________________________________|
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Settings>
|
|
||||||
<Domain name="telephony" enabled="true" />
|
|
||||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
|
||||||
</Settings>
|
|
||||||
<Decoders>
|
|
||||||
<!-- C2 decoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc"/>
|
|
||||||
<Limit name="size" min="96x96" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-34816" />
|
|
||||||
<Limit name="blocks-per-second" range="36-1958400" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="frame-rate" range="1-480" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="240" />
|
|
||||||
<Limit name="performance-point-1280x720" value="480" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
|
||||||
<Limit name="size" min="96x96" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-34816" />
|
|
||||||
<Limit name="blocks-per-second" range="36-1958400" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="frame-rate" range="1-480" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="240" />
|
|
||||||
<Limit name="performance-point-1280x720" value="480" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-34816" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="1958400" />
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
|
||||||
<Limit name="size" min="96x96" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-34816" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="1958400" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="frame-rate" range="1-480" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="240" />
|
|
||||||
<Limit name="performance-point-1280x720" value="480" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
|
||||||
<Limit name="size" min="96x96" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-34816" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="1958400" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="frame-rate" range="1-480" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="240" />
|
|
||||||
<Limit name="performance-point-1280x720" value="480" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-34816" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="1958400" />
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
|
||||||
<Limit name="size" min="96x96" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-34816" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="1958400" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-34816" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="1958400" />
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.mpeg2.decoder" type="video/mpeg2" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.mpeg2"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="block-count" range="36-8160" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="244800" />
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Limit name="frame-rate" range="1-30" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
<Encoders>
|
|
||||||
<!-- C2 encoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.avc"/>
|
|
||||||
<Limit name="size" min="128x128" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="1958400" />
|
|
||||||
<Limit name="block-count" range="64-34816" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="frame-rate" range="1-480" />
|
|
||||||
<Limit name="complexity" range="0-100" default="100" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="240" />
|
|
||||||
<Limit name="performance-point-1280x720" value="480" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
|
||||||
<Limit name="size" min="128x128" max="4096x2176" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="1958400" />
|
|
||||||
<Limit name="block-count" range="64-34816" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="frame-rate" range="1-480" />
|
|
||||||
<Limit name="complexity" range="0-100" default="100" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
<Limit name="performance-point-4096x2304" value="30" />
|
|
||||||
<Limit name="performance-point-3840x2160" value="60" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="240" />
|
|
||||||
<Limit name="performance-point-1280x720" value="480" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
|
||||||
<Limit name="size" min="128x128" max="512x512" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="20480" />
|
|
||||||
<Limit name="bitrate" range="1-160000000" />
|
|
||||||
<Limit name="frame-rate" range="1-20" />
|
|
||||||
<Limit name="complexity" range="0-100" default="100" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="CQ" />
|
|
||||||
<Limit name="performance-point-512x512" value="2025" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.heic"/>
|
|
||||||
<Limit name="size" min="512x512" max="16384x16384" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="3916800" />
|
|
||||||
<Limit name="bitrate" range="1-160000000" />
|
|
||||||
<Limit name="frame-rate" range="1-20" />
|
|
||||||
<Limit name="complexity" range="0-100" default="100" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="CQ" />
|
|
||||||
<Limit name="performance-point-16384x8192" value="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="6" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
@ -1,312 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
"performance-point"
|
|
||||||
Vendor-guaranteed performance advertised to the applications
|
|
||||||
<Limit name="performance-point-widthxheight" value="fps" />
|
|
||||||
|
|
||||||
-For each of the resolutions, the advertised fps is the max supported,
|
|
||||||
with HW-friendly color format and considering video-only.
|
|
||||||
-Performance for any intermediate resolution will be that of the
|
|
||||||
next-higher-advertised-resolution.
|
|
||||||
|
|
||||||
standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
|
|
||||||
standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
|
|
||||||
* HD+ only
|
|
||||||
+ SD only
|
|
||||||
- All supported standard performance points are listed (unless they are
|
|
||||||
covered by another listed standard performance point)
|
|
||||||
- Non-standard performance points are listed along with all the standard
|
|
||||||
performance points covered by them.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Holi Non-Secure decoder capabilities
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
_______________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|_____________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 60 489600 |
|
|
||||||
| hevc | 1920 1080 60 60 489600 |
|
|
||||||
| vp9 | 1920 1088 60 60 489600 |
|
|
||||||
|_____________|_________________________________________|
|
|
||||||
|
|
||||||
Secure decoder capabilities
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
_____________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 35 489600 |
|
|
||||||
| vp9 | 1920 1088 60 35 489600 |
|
|
||||||
| hevc | 1920 1088 60 35 489600 |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
|
|
||||||
|
|
||||||
Non-Secure encoder capabilities (Secure not supported)
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
______________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 60 489600 |
|
|
||||||
| hevc | 1920 1088 60 60 489600 |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Settings>
|
|
||||||
<Domain name="telephony" enabled="true" />
|
|
||||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
|
||||||
</Settings>
|
|
||||||
<Settings>
|
|
||||||
<Variant name="slow-cpu" enabled="true" />
|
|
||||||
</Settings>
|
|
||||||
<Decoders>
|
|
||||||
<!-- C2 decoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" range="36-489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" range="36-489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true" variant="slow-cpu">
|
|
||||||
<Limit name="size" min="96x96" max="1920x1080" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="24" max="2073600" />
|
|
||||||
<Limit name="bitrate" range="1-120000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
<Encoders>
|
|
||||||
<!-- C2 encoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.avc"/>
|
|
||||||
<Limit name="size" min="128x128" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
|
||||||
<Limit name="size" min="128x128" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
|
||||||
<Limit name="size" min="128x128" max="512x512" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="CQ" />
|
|
||||||
<Limit name="performance-point-512x512" value="3825" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.heic"/>
|
|
||||||
<Limit name="size" min="512x512" max="8192x8192" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-20" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="CQ" />
|
|
||||||
<Limit name="performance-point-8192x4320" value="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="6" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true" variant="slow-cpu">
|
|
||||||
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
|
||||||
<Limit name="size" min="2x2" max="512x512" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="8x8" />
|
|
||||||
<Limit name="block-count" range="1-4096" /> <!-- max 512x512 -->
|
|
||||||
<Limit name="blocks-per-second" range="1-122880" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="bitrate" range="1-10000000" />
|
|
||||||
<Limit name="complexity" range="0-10" default="0" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true" variant="slow-cpu">
|
|
||||||
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
|
|
||||||
<Limit name="size" min="2x2" max="2048x2048" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<!-- 2016 devices can encode at about 8fps at this block count -->
|
|
||||||
<Limit name="block-count" range="1-3600" /> <!-- max 1280x720 -->
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.av1.encoder" type="video/av01" update="true" variant="slow-cpu">
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="size" min="2x2" max="720x720" />
|
|
||||||
<Limit name="block-count" range="1-1350" /> <!-- max 720x480 -->
|
|
||||||
<Limit name="bitrate" range="1-5000000" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Limit name="complexity" range="0-5" default="0" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
|
||||||
<Attribute name="software-codec" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
@ -1,301 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2018-2022 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
"performance-point"
|
|
||||||
Vendor-guaranteed performance advertised to the applications
|
|
||||||
<Limit name="performance-point-widthxheight" value="fps" />
|
|
||||||
|
|
||||||
-For each of the resolutions, the advertised fps is the max supported,
|
|
||||||
with HW-friendly color format and considering video-only.
|
|
||||||
-Performance for any intermediate resolution will be that of the
|
|
||||||
next-higher-advertised-resolution.
|
|
||||||
|
|
||||||
standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
|
|
||||||
standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
|
|
||||||
* HD+ only
|
|
||||||
+ SD only
|
|
||||||
- All supported standard performance points are listed (unless they are
|
|
||||||
covered by another listed standard performance point)
|
|
||||||
- Non-standard performance points are listed along with all the standard
|
|
||||||
performance points covered by them.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Holi Non-Secure decoder capabilities
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
_______________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|_____________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 60 489600 |
|
|
||||||
| hevc | 1920 1080 60 60 489600 |
|
|
||||||
| vp9 | 1920 1088 60 60 489600 |
|
|
||||||
|_____________|_________________________________________|
|
|
||||||
|
|
||||||
Secure decoder capabilities
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
_____________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 35 489600 |
|
|
||||||
| vp9 | 1920 1088 60 35 489600 |
|
|
||||||
| hevc | 1920 1088 60 35 489600 |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
|
|
||||||
|
|
||||||
Non-Secure encoder capabilities (Secure not supported)
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
______________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 60 489600 |
|
|
||||||
| hevc | 1920 1088 60 60 489600 |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Settings>
|
|
||||||
<Domain name="telephony" enabled="true" />
|
|
||||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
|
||||||
</Settings>
|
|
||||||
<Settings>
|
|
||||||
<Variant name="slow-cpu" enabled="true" />
|
|
||||||
</Settings>
|
|
||||||
<Decoders>
|
|
||||||
<!-- C2 decoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" range="36-489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" range="36-489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true" variant="slow-cpu">
|
|
||||||
<Limit name="size" min="96x96" max="1920x1080" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="24" max="2073600" />
|
|
||||||
<Limit name="bitrate" range="1-120000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
<Encoders>
|
|
||||||
<!-- C2 encoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.avc"/>
|
|
||||||
<Limit name="size" min="128x128" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
|
||||||
<Limit name="size" min="128x128" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
|
||||||
<Limit name="size" min="128x128" max="512x512" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="CQ" />
|
|
||||||
<Limit name="performance-point-512x512" value="3825" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.heic"/>
|
|
||||||
<Limit name="size" min="512x512" max="8192x8192" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-20" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="CQ" />
|
|
||||||
<Limit name="performance-point-8192x4320" value="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="6" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true" variant="slow-cpu">
|
|
||||||
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
|
||||||
<Limit name="size" min="2x2" max="512x512" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="8x8" />
|
|
||||||
<Limit name="block-count" range="1-4096" /> <!-- max 512x512 -->
|
|
||||||
<Limit name="blocks-per-second" range="1-122880" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="bitrate" range="1-10000000" />
|
|
||||||
<Limit name="complexity" range="0-10" default="0" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true" variant="slow-cpu">
|
|
||||||
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
|
|
||||||
<Limit name="size" min="2x2" max="2048x2048" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<!-- 2016 devices can encode at about 8fps at this block count -->
|
|
||||||
<Limit name="block-count" range="1-3600" /> <!-- max 1280x720 -->
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
@ -1,301 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
"performance-point"
|
|
||||||
Vendor-guaranteed performance advertised to the applications
|
|
||||||
<Limit name="performance-point-widthxheight" value="fps" />
|
|
||||||
|
|
||||||
-For each of the resolutions, the advertised fps is the max supported,
|
|
||||||
with HW-friendly color format and considering video-only.
|
|
||||||
-Performance for any intermediate resolution will be that of the
|
|
||||||
next-higher-advertised-resolution.
|
|
||||||
|
|
||||||
standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
|
|
||||||
standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
|
|
||||||
* HD+ only
|
|
||||||
+ SD only
|
|
||||||
- All supported standard performance points are listed (unless they are
|
|
||||||
covered by another listed standard performance point)
|
|
||||||
- Non-standard performance points are listed along with all the standard
|
|
||||||
performance points covered by them.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Holi Non-Secure decoder capabilities
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
_______________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|_____________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 60 489600 |
|
|
||||||
| hevc | 1920 1080 60 60 489600 |
|
|
||||||
| vp9 | 1920 1088 60 60 489600 |
|
|
||||||
|_____________|_________________________________________|
|
|
||||||
|
|
||||||
Secure decoder capabilities
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
_____________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 35 489600 |
|
|
||||||
| vp9 | 1920 1088 60 35 489600 |
|
|
||||||
| hevc | 1920 1088 60 35 489600 |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
|
|
||||||
|
|
||||||
Non-Secure encoder capabilities (Secure not supported)
|
|
||||||
(MB is defined as 16x16)
|
|
||||||
|
|
||||||
______________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| h264 | 1920 1088 60 60 489600 |
|
|
||||||
| hevc | 1920 1088 60 60 489600 |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Settings>
|
|
||||||
<Domain name="telephony" enabled="true" />
|
|
||||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
|
||||||
</Settings>
|
|
||||||
<Settings>
|
|
||||||
<Variant name="slow-cpu" enabled="true" />
|
|
||||||
</Settings>
|
|
||||||
<Decoders>
|
|
||||||
<!-- C2 decoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" range="36-489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" range="36-489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="low-latency" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
|
||||||
<Limit name="size" min="96x96" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true" variant="slow-cpu">
|
|
||||||
<Limit name="size" min="96x96" max="1920x1080" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="24" max="2073600" />
|
|
||||||
<Limit name="bitrate" range="1-120000000" />
|
|
||||||
<Limit name="frame-rate" range="1-60" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
<Encoders>
|
|
||||||
<!-- C2 encoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.avc"/>
|
|
||||||
<Limit name="size" min="128x128" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
|
||||||
<Limit name="size" min="128x128" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
<Feature name="can-swap-width-height" required="true" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="60" />
|
|
||||||
<Limit name="performance-point-1280x720" value="120" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
|
||||||
<Limit name="size" min="128x128" max="512x512" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="CQ" />
|
|
||||||
<Limit name="performance-point-512x512" value="3825" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
|
||||||
<Alias name="OMX.qcom.video.encoder.heic"/>
|
|
||||||
<Limit name="size" min="512x512" max="8192x8192" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Limit name="frame-rate" range="1-20" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="CQ" />
|
|
||||||
<Limit name="performance-point-8192x4320" value="3" />
|
|
||||||
<Limit name="performance-point-1920x1080" value="6" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true" variant="slow-cpu">
|
|
||||||
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
|
||||||
<Limit name="size" min="2x2" max="512x512" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="8x8" />
|
|
||||||
<Limit name="block-count" range="1-4096" /> <!-- max 512x512 -->
|
|
||||||
<Limit name="blocks-per-second" range="1-122880" />
|
|
||||||
<Limit name="frame-rate" range="1-120" />
|
|
||||||
<Limit name="bitrate" range="1-10000000" />
|
|
||||||
<Limit name="complexity" range="0-10" default="0" />
|
|
||||||
<Limit name="quality" range="0-100" default="80" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true" variant="slow-cpu">
|
|
||||||
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
|
|
||||||
<Limit name="size" min="2x2" max="2048x2048" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<!-- 2016 devices can encode at about 8fps at this block count -->
|
|
||||||
<Limit name="block-count" range="1-3600" /> <!-- max 1280x720 -->
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
@ -1,168 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2018-2020 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Decoders>
|
|
||||||
<!-- C2 HW decoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="280-397" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="450-1700" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="250-950" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1088" range="120-500" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="380-2000" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="380-2000" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="253-950" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="120-410" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="465-1900" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="370-1550" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="188-397" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="260-1200" />
|
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="67-505" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="390-1850" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="243-397" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="380-1700" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="315-1920" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="220-800" />
|
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="67-240" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="415-1700" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="265-1600" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="142-450" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="130-450" />
|
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="39-255" />
|
|
||||||
</MediaCodec>
|
|
||||||
<!-- TODO: add C2 mpeg2 decoder performance data -->
|
|
||||||
|
|
||||||
<!-- C2 SW codecs -->
|
|
||||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
|
||||||
<!-- measured 98%:153-414 med:193/192 FLAKY(mn=61.7 < 96 - 414 < mx=423.7) -->
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="211-600" /> <!-- N=266 v98%=1.6 -->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="57-405" /> <!-- N=266 v98%=1.5 -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="17-98" /> <!-- N=236 v98%=1.5 (-PD1A.180712.003) -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-28" /> <!-- N=272 v98%=1.4 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="220-950" /> <!-- N=270 v98%=1.6 -->
|
|
||||||
<!-- measured 98%:77-220 med:165/169 FLAKY(mn=74.9 < 75 - 338) -->
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="120-830" /> <!-- TWEAKED N=269 v98%=1.7 -->
|
|
||||||
<!-- measured 98%:85-223 med:194/186 FLAKY(mn=80.8 < 85 - 372) -->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="129-563" /> <!-- TWEAKED N=270 v98%=1.6 -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="41-200" /> <!-- N=270 v98%=1.4 -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="25-100" /> <!-- N=230 v98%=1.2 (-PD1A.180706.000) -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<!-- measured 98%:191-657 med:617/613 FLAKY(mn=183.9 < 191 - 1226) -->
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="550-1850" /> <!-- TWEAKED N=270 v98%=1.9 (-PD1A.180717.001) -->
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="250-800" /> <!-- N=230 v98%=1.3 -->
|
|
||||||
<!-- measured 98%:35-54 med:36/36 N=64 -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="59-360" /> <!-- v98%=1.2 (PD1A.180706.000-) -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="23-113" /> <!-- N=270 v98%=1.3 (-PD1A.180717.001) -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<!-- measured 98%:173-698 med:670/668 FLAKY(mn=161.4 < 162 - 1336) variance:2.0 -->
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="488-1500" /> <!-- TWEAKED N=228 -->
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="265-900" /> <!-- N=272 v98%=1.9 (-PD1A.180717.001) -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="95-400" /> <!-- N=270 v98%=1.3 (-PD1A.180717.001) -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="50-215" /> <!-- N=230 v98%=1.2 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
|
||||||
<!-- measured 98%:151-1143 med:437/432 FLAKY(111 - 972 < mx=1146.8) variance:2.8 -->
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="800-2600" /> <!-- N=270 -->
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="620-1900" /> <!-- N=270 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
|
||||||
<!-- measured 90%:149-1332 med:379/360 FLAKY(109 - 958 < mx=1400.6) RG.VARIANCE:2.1 -->
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="865-2800" /> <!-- N=272 v90%=3.0 -->
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
|
|
||||||
<Encoders>
|
|
||||||
<!-- C2 HW encoders -->
|
|
||||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="200-600" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="64-140" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="26-56" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-44" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="480-535" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="165-210" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-250" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="17-37" />
|
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="11-25" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="340-400" />
|
|
||||||
</MediaCodec>
|
|
||||||
|
|
||||||
<!-- C2 SW encoders -->
|
|
||||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
|
||||||
<!-- measured 95%:144-637 med:343/343 FLAKY(mn=40.8 < 144 - 808 < mx=916.6) variance:2.1 -->
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="287-459" /> <!-- TWEAKED N=224 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
|
||||||
<!-- measured 90%:42-420 med:146/160 FLAKY(mn=39.0 < 42 - 368 < mx=569.5) RG.VARIANCE:2.2 -->
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="140-980" /> <!-- SHOULDN'T HAVE TWEAKED N=266 v90%=3.2 -->
|
|
||||||
<!-- measured 98%:29-166 med:66/63 FLAKY(24 - 166 < mx=166.5) variance:2.4 -->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="47-83" /> <!-- N=262 -->
|
|
||||||
<!-- measured 98%:11-68 med:30/30 FLAKY(mn=10.5 < 11 - 68 < mx=82.1) variance:2.5 -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="30-200" /> <!-- TWEAKED N=236 -->
|
|
||||||
<!-- measured 98%:10-38 med:18/18 FLAKY(mn=5.2 < 9 - 38 < mx=38.8) -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-80" /> <!-- N=288 v98%=2.0 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
|
||||||
<!-- measured 90%:29-451 med:208/206 FLAKY(mn=19.2 < 47 - 412 < mx=888.9) RG.VARIANCE:2.5 -->
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="203-445" /> <!-- SHOULDN'T HAVE TWEAKED N=220 v90%=4.0 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<!-- measured 90%:6-36 med:30/29 FLAKY(mn=0.0 < 7 - 58) variance:2.5 -->
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="299-429" /> <!-- SHOULDN'T HAVE TWEAKED N=214 -->
|
|
||||||
<!-- measured 98%:3-24 med:12/12 FLAKY(mn=2.8 < 3 - 24 < mx=26.6) variance:2.8 -->
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="75-350" /> <!-- N=220 -->
|
|
||||||
<!-- measured 98%:3-11 med:6/6 FLAKY(mn=0.0 < 3 - 12) -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="24-85" /> <!-- N=202 v98%=2.0 -->
|
|
||||||
<!-- measured 98%:3-7 med:5/5 FLAKY(mn=0.0 < 2 - 10 < mx=11.2) -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="10-115" /> <!-- N=212 v98%=1.5 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<!-- measured 93%:99-156 med:109/109 N=24 -->
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="109-109" /> <!-- v93%=1.3 -->
|
|
||||||
<!-- measured 95%:54-67 med:61/61 N=36 -->
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="61-61" /> <!-- v95%=1.1 -->
|
|
||||||
<!-- measured 95%:16-26 med:20/20 N=32 -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="20-20" /> <!-- v95%=1.3 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="38-47" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="8-15" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
@ -1,207 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Encoders>
|
|
||||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="238-238" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="123-123" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="50-50" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="13-20" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="226-226" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="121-121" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="49-49" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="12-17" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="124-176" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="126-178" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-50" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="19-28" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- Xiang.Yang@MM.MediaServer.Record, 2022/7/26, -->
|
|
||||||
<!-- Modify for CtsMediaTestCases -->
|
|
||||||
<!--
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="17-24" />
|
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="17-29" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="7-10" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="3-6" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="2-3" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="256-349" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="250-377" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="85-119" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="94-133" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="21-30" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="10-15" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="190-300"/>
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<!-- measured 93%:99-156 med:109/109 N=24 -->
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="109-109" /> <!-- v93%=1.3 -->
|
|
||||||
<!-- measured 95%:54-67 med:61/61 N=36 -->
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="61-61" /> <!-- v95%=1.1 -->
|
|
||||||
<!-- measured 95%:16-26 med:20/20 N=32 -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="20-20" /> <!-- v95%=1.3 -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.av1.encoder" type="video/av01" update="true">
|
|
||||||
<!-- MANUALLY ADJUSTED -->
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="84-130" />
|
|
||||||
<!-- MANUALLY ADJUSTED -->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="20-43" />
|
|
||||||
<!-- MANUALLY ADJUSTED -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="8-21" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
<Decoders>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="480-510" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="460-490" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="350-400" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="320-517" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="101-221" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-420" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="76-167" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="510-530" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="465-620" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-390" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="273-562" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="440-600" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="215-425" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="377-377" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="323-323" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="262-262" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="220-220" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="101-223" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="42-59" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="17-37" />
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- Xiang.Yang@MM.MediaServer.Record, 2022/7/26, -->
|
|
||||||
<!-- Modify for CtsMediaTestCases -->
|
|
||||||
<!--
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="8-12" />
|
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="11-23" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- Bingwang.Yang@MM.MediaServer.MULTMEDIASERVER, 2022/10/10, -->
|
|
||||||
<!-- Modify for CtsMediaTestCases -->
|
|
||||||
<!--
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="82-232" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="57-114" />
|
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="102-232" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="57-154" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- Xiang.Yang@MM.MediaServer.Record, 2022/1/7, -->
|
|
||||||
<!-- Modify for CtsMediaTestCases -->
|
|
||||||
<!--
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="69-99" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-51" />
|
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="69-141" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-71" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-29" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="376-524" />
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="310-415" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="406-543" />
|
|
||||||
<!-- Modify for CtsMediaDecoderTestCase VideoDecoderPerfTesT -->
|
|
||||||
<Limit name="measured-frame-rate-480x360" range="580-600" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="380-400" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="570-665" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="267-378" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="75-107" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="30-43" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="182-360" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="85-200" />
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- Zongjian.Wu@MM.MediaServer.Record, 2021/11/8, -->
|
|
||||||
<!-- Modify for CtsMediaTestCases -->
|
|
||||||
<!--
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-49" />
|
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-91" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="23-33" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="114-250" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="89-195" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="57-125" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="52-115" />
|
|
||||||
</MediaCodec>
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- HuXiang@MULTIMEDIA.MEDIASERVER.PLAYER.7342822, 2024/06/17, -->
|
|
||||||
<MediaCodec name="c2.android.av1-dav1d.decoder" type="video/av01" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="165-363" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="107-235" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="93-210" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="37-82" />
|
|
||||||
</MediaCodec>
|
|
||||||
<!-- #endif -->
|
|
||||||
</Decoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
@ -1,133 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2018-2022 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Encoders>
|
|
||||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="238-238" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="123-123" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="50-50" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="13-20" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="226-226" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="121-121" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="49-49" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="12-17" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="124-176" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="126-178" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-50" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="19-28" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="17-24" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="7-10" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="3-6" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="2-3" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="256-349" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="250-377" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="85-119" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="94-133" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="21-30" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="10-15" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="190-300"/>
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
<Decoders>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="480-510" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="460-490" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="350-400" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="320-517" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="101-221" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-420" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="76-167" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="510-530" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="465-620" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-390" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="273-562" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="440-600" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="215-425" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="377-377" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="323-323" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="262-262" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="220-220" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="318-326" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="42-59" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="17-24" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="8-12" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="67-232" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="57-89" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="69-99" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-51" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-29" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="376-524" />
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="920-1035" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="406-543" />
|
|
||||||
<Limit name="measured-frame-rate-480x360" range="700-1100" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="300-600" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="570-665" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="267-378" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="75-107" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="30-43" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="810-865" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="85-200" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="152-160" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="23-33" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
@ -1,146 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2018-2020 Qualcomm Technologies, Inc.
|
|
||||||
All Rights Reserved.
|
|
||||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Encoders>
|
|
||||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="238-238" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="123-123" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="50-50" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="13-20" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="226-226" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="121-121" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="49-49" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="12-17" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="124-176" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="126-178" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-50" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="19-28" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="17-24" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="7-10" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="3-6" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="2-3" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="256-349" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="250-377" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="85-119" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="84-117" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="21-30" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="10-15" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="190-300"/>
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
<Decoders>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="480-510" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="460-490" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="350-400" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="290-619" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="101-221" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-420" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="76-167" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="510-530" />
|
|
||||||
<!-- #ifdef OPLUS_BUG_COMPATIBILITY-->
|
|
||||||
<!-- LiuGuanbiao@MULTMEDIASERVER.PLAYER.793175, 2020/12/30, Modify for CTS test-->
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="240-1160" />
|
|
||||||
<!-- #endif OPLUS_BUG_COMPATIBILITY-->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="465-620" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="200-390" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="750-850" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="440-600" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="215-425" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="377-377" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="323-323" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="262-262" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="50-100" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="63-165" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="42-59" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="17-24" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="8-12" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="67-232" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="57-89" />
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- Xiang.Hu@MM.MediaServer.MULTMEDIASERVER, 2022/1/11, -->
|
|
||||||
<!-- Modify for CtsMediaTestCases -->
|
|
||||||
<!--
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="69-99" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-51" />
|
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="69-141" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-71" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-29" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="376-524" />
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="310-415" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="406-543" />
|
|
||||||
<Limit name="measured-frame-rate-480x360" range="500-600" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="300-400" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="570-665" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="211-328" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="60-85" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="15-22" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="182-360" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="85-200" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="35-49" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="23-33" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
<!-- Defines the actions shown in advanced reboot submenu -->
|
<!-- Defines the actions shown in advanced reboot submenu -->
|
||||||
<string-array name="config_restartActionsList">
|
<string-array name="config_restartActionsList">
|
||||||
<item>restart</item>
|
<item>restart</item>
|
||||||
|
<item>restart_systemui</item>
|
||||||
<item>restart_recovery</item>
|
<item>restart_recovery</item>
|
||||||
<item>restart_bootloader</item>
|
<item>restart_bootloader</item>
|
||||||
<item>restart_fastboot</item>
|
<item>restart_fastboot</item>
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright (C) 2014-2015 The CyanogenMod Project
|
SPDX-FileCopyrightText: 2014-2015 The CyanogenMod Project
|
||||||
2019-2021 The LineageOS Project
|
SPDX-FileCopyrightText: The LineageOS Project
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
-->
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
<!-- Default for LineageSettings.Secure.VOLUME_PANEL_ON_LEFT -->
|
<!-- Default for LineageSettings.Secure.VOLUME_PANEL_ON_LEFT -->
|
||||||
<bool name="def_volume_panel_on_left">true</bool>
|
<bool name="def_volume_panel_on_left">true</bool>
|
||||||
|
|
||||||
|
<!-- Default for Settings.Global.DISABLE_WINDOW_BLURS -->
|
||||||
|
<integer name="def_disable_window_blurs">1</integer>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2016 The CyanogenMod Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
<bool name="call_recording_enabled">true</bool>
|
|
||||||
<integer name="call_recording_audio_source">4</integer>
|
|
||||||
</resources>
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
<carrier_config>
|
<carrier_config>
|
||||||
<boolean name="apn_expand_bool" value="true" />
|
<boolean name="apn_expand_bool" value="true" />
|
||||||
<boolean name="world_phone_bool" value="false" />
|
<boolean name="world_phone_bool" value="false" />
|
||||||
|
<boolean name="world_mode_enabled_bool" value="false" />
|
||||||
<boolean name="allow_adding_apns_bool" value="true" />
|
<boolean name="allow_adding_apns_bool" value="true" />
|
||||||
<boolean name="hide_preferred_network_type_bool" value="false" />
|
<boolean name="hide_preferred_network_type_bool" value="false" />
|
||||||
<boolean name="show_cdma_choices_bool" value="false" />
|
<boolean name="show_cdma_choices_bool" value="false" />
|
||||||
|
|
@ -2165,6 +2166,7 @@
|
||||||
<boolean name="carrier_allow_turnoff_ims_bool" value="false" />
|
<boolean name="carrier_allow_turnoff_ims_bool" value="false" />
|
||||||
<boolean name="use_sms_callback_mode_bool" value="true" />
|
<boolean name="use_sms_callback_mode_bool" value="true" />
|
||||||
<boolean name="editable_enhanced_4g_lte_bool" value="false" />
|
<boolean name="editable_enhanced_4g_lte_bool" value="false" />
|
||||||
|
<boolean name="satellite_esos_supported_bool" value="false" />
|
||||||
</carrier_config>
|
</carrier_config>
|
||||||
<carrier_config device="kona" mcc="311" mnc="480">
|
<carrier_config device="kona" mcc="311" mnc="480">
|
||||||
<boolean name="show_rtt_visibility_setting_bool" value="true" />
|
<boolean name="show_rtt_visibility_setting_bool" value="true" />
|
||||||
|
|
|
||||||
9
overlay/Launcher3ResTarget/Android.bp
Normal file
9
overlay/Launcher3ResTarget/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2022 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "Launcher3ResTarget",
|
||||||
|
product_specific: true,
|
||||||
|
}
|
||||||
13
overlay/Launcher3ResTarget/AndroidManifest.xml
Normal file
13
overlay/Launcher3ResTarget/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2022 The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.android.launcher.overlay.oplus">
|
||||||
|
|
||||||
|
<overlay
|
||||||
|
android:isStatic="true"
|
||||||
|
android:priority="300"
|
||||||
|
android:targetPackage="com.android.launcher3" />
|
||||||
|
</manifest>
|
||||||
11
overlay/Launcher3ResTarget/res/values/config.xml
Normal file
11
overlay/Launcher3ResTarget/res/values/config.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2022 The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<resources>
|
||||||
|
|
||||||
|
<integer name="max_depth_blur_radius">11</integer>
|
||||||
|
<dimen name="max_depth_blur_radius_enhanced">15dp</dimen>
|
||||||
|
|
||||||
|
</resources>
|
||||||
|
|
@ -376,8 +376,8 @@
|
||||||
<!-- True if camera app should be pinned via Pinner Service -->
|
<!-- True if camera app should be pinned via Pinner Service -->
|
||||||
<bool name="config_pinnerCameraApp">true</bool>
|
<bool name="config_pinnerCameraApp">true</bool>
|
||||||
|
|
||||||
<!-- True if home app should be pinned via Pinner Service -->
|
<!-- Bytes that the PinnerService will pin for Home app -->
|
||||||
<bool name="config_pinnerHomeApp">true</bool>
|
<integer name="config_pinnerHomePinBytes">6291456</integer>
|
||||||
|
|
||||||
<!-- Indicate whether to allow the device to suspend when the screen is off
|
<!-- Indicate whether to allow the device to suspend when the screen is off
|
||||||
due to the proximity sensor. This resource should only be set to true
|
due to the proximity sensor. This resource should only be set to true
|
||||||
|
|
@ -514,4 +514,8 @@
|
||||||
headset output is compliant to EN 60950 requirements for portable music players. -->
|
headset output is compliant to EN 60950 requirements for portable music players. -->
|
||||||
<integer name="config_safe_media_volume_usb_mB">-1650</integer>
|
<integer name="config_safe_media_volume_usb_mB">-1650</integer>
|
||||||
|
|
||||||
|
<!-- Whether WM DisplayContent supports high performance transitions
|
||||||
|
(lower-end devices may want to disable) -->
|
||||||
|
<bool name="config_deviceSupportsHighPerfTransitions">false</bool>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
<device name="Android">
|
<device name="Android">
|
||||||
<item name="none">0</item>
|
<item name="none">0</item>
|
||||||
<item name="ambient on">35</item>
|
<item name="ambient on">35</item>
|
||||||
<item name="screen.on">100</item>
|
<item name="screen.on.display0">100</item>
|
||||||
<item name="screen.full">330</item>
|
<item name="screen.full.display0">330</item>
|
||||||
<item name="bluetooth.active">25.6</item>
|
<item name="bluetooth.active">25.6</item>
|
||||||
<item name="bluetooth.on">1.7</item>
|
<item name="bluetooth.on">1.7</item>
|
||||||
<item name="wifi.on">1.8</item>
|
<item name="wifi.on">1.8</item>
|
||||||
|
|
|
||||||
|
|
@ -53,4 +53,7 @@
|
||||||
<!-- Location on the screen of the center of the physical power button. This is a reasonable
|
<!-- Location on the screen of the center of the physical power button. This is a reasonable
|
||||||
default that should be overridden by device-specific overlays. -->
|
default that should be overridden by device-specific overlays. -->
|
||||||
<dimen name="physical_power_button_center_screen_location_y">930px</dimen>
|
<dimen name="physical_power_button_center_screen_location_y">930px</dimen>
|
||||||
|
|
||||||
|
<!-- Blur radius behind Notification Shade -->
|
||||||
|
<dimen name="max_shade_window_blur_radius">17dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
9
overlay/OplusDozeResTarget/Android.bp
Normal file
9
overlay/OplusDozeResTarget/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
//
|
||||||
|
// SPDX-FileCopyrightText: The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "OplusDozeResTarget",
|
||||||
|
system_ext_specific: true,
|
||||||
|
}
|
||||||
11
overlay/OplusDozeResTarget/AndroidManifest.xml
Normal file
11
overlay/OplusDozeResTarget/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="org.lineageos.settings.doze.overlay">
|
||||||
|
<overlay android:targetPackage="org.lineageos.settings.doze"
|
||||||
|
android:isStatic="true"
|
||||||
|
android:priority="300" />
|
||||||
|
</manifest>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright (C) 2021-2022 The LineageOS Project
|
SPDX-FileCopyrightText: The LineageOS Project
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
-->
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
|
|
@ -5,6 +5,9 @@ audio.offload.min.duration.secs=30
|
||||||
audio.offload.video=true
|
audio.offload.video=true
|
||||||
ro.af.client_heap_size_kbyte=7168
|
ro.af.client_heap_size_kbyte=7168
|
||||||
|
|
||||||
|
# eBPF
|
||||||
|
ro.bpf.kver_override=5.10.239
|
||||||
|
|
||||||
# GMS
|
# GMS
|
||||||
ro.opa.device_model_id=ga-oplus-skill-os121-211011
|
ro.opa.device_model_id=ga-oplus-skill-os121-211011
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
## All proprietary files from this list, unless pinned and noted otherwise,
|
## All proprietary files from this list, unless pinned and noted otherwise,
|
||||||
## are from CPH2467_14.0.0.1320(EX01).
|
## are from CPH2467_14.0.0.1320(EX01).
|
||||||
|
|
||||||
# ACDB - from DE2117_11.C.34
|
# ACDB - from DE2117_11.C.37
|
||||||
odm/etc/acdbdata/Audio_Parameter_Version.txt|5ca7048cb6c53d0af7193467e2e12ddd19d71fa9
|
odm/etc/acdbdata/Audio_Parameter_Version.txt|5ca7048cb6c53d0af7193467e2e12ddd19d71fa9
|
||||||
odm/etc/acdbdata/Bluetooth_cal.acdb|3a151ca12899db9278c6795a9be0e03f4339367b
|
odm/etc/acdbdata/Bluetooth_cal.acdb|3a151ca12899db9278c6795a9be0e03f4339367b
|
||||||
odm/etc/acdbdata/General_cal.acdb|220a94d8de69f19a2368c6db3ec2a4b533fb61df
|
odm/etc/acdbdata/General_cal.acdb|220a94d8de69f19a2368c6db3ec2a4b533fb61df
|
||||||
|
|
@ -100,7 +100,7 @@ vendor/lib64/libadsprpc.so
|
||||||
odm/lib/lib_lvacfs.so
|
odm/lib/lib_lvacfs.so
|
||||||
odm/lib/liblvacfs_wrapper.so
|
odm/lib/liblvacfs_wrapper.so
|
||||||
|
|
||||||
# Audio LVIMFS - from DE2117_11.C.34
|
# Audio LVIMFS - from DE2117_11.C.37
|
||||||
odm/etc/lvimfs_params/LVACFS_Configuration.txt|024b3814ee9d35b2954c253ae1a25311d4724902
|
odm/etc/lvimfs_params/LVACFS_Configuration.txt|024b3814ee9d35b2954c253ae1a25311d4724902
|
||||||
odm/etc/lvimfs_params/LVIMFS_Calibration_2mic.dat|ae8a5e7c7ee1a036ebf19a93d0e4e6ad804421ed
|
odm/etc/lvimfs_params/LVIMFS_Calibration_2mic.dat|ae8a5e7c7ee1a036ebf19a93d0e4e6ad804421ed
|
||||||
odm/etc/lvimfs_params/LVIMFS_Parameter_ID1_MIC_Normal.txt|b3ba0a1e4330ab2c06ed91935775d73410f95e75
|
odm/etc/lvimfs_params/LVIMFS_Parameter_ID1_MIC_Normal.txt|b3ba0a1e4330ab2c06ed91935775d73410f95e75
|
||||||
|
|
@ -166,7 +166,7 @@ vendor/lib64/libbluetooth_audio_session_qti_2_1.so|934500aa31fa1d88f72ce29f62f13
|
||||||
vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.0.so|6b49865f15b9f2ae1f049623018db08a0bdbc03a
|
vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.0.so|6b49865f15b9f2ae1f049623018db08a0bdbc03a
|
||||||
vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.1.so|16af46f837b2b617dcf146ac478d08ea1a9800d1
|
vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.1.so|16af46f837b2b617dcf146ac478d08ea1a9800d1
|
||||||
|
|
||||||
# Camera - from DE2117_11.C.34
|
# Camera - from DE2117_11.C.37
|
||||||
odm/etc/camera/asd/class.dlc|0303c404d43f8aca151551cdf779fabb55738a84
|
odm/etc/camera/asd/class.dlc|0303c404d43f8aca151551cdf779fabb55738a84
|
||||||
odm/etc/camera/asd/detect.dlc|9a8c7dfa78b6cf8bc9f116f234b47c4384f1500a
|
odm/etc/camera/asd/detect.dlc|9a8c7dfa78b6cf8bc9f116f234b47c4384f1500a
|
||||||
odm/etc/camera/ashdr/ncf_pack.ncf|1758fb709a0375c754c2e6f3a34c8093538956f7
|
odm/etc/camera/ashdr/ncf_pack.ncf|1758fb709a0375c754c2e6f3a34c8093538956f7
|
||||||
|
|
@ -697,8 +697,8 @@ vendor/lib64/camera/fdconfigpreview.bin|caf04e55d04ba717c8618faa125c1708efe44c1a
|
||||||
vendor/lib64/camera/fdconfigpreviewlite.bin|e95052671b9eec7ff53b665482b7b85b7dac0c62
|
vendor/lib64/camera/fdconfigpreviewlite.bin|e95052671b9eec7ff53b665482b7b85b7dac0c62
|
||||||
vendor/lib64/camera/fdconfigvideo.bin|c3303efadaa16495aee7e508a07f9000a435e8a2
|
vendor/lib64/camera/fdconfigvideo.bin|c3303efadaa16495aee7e508a07f9000a435e8a2
|
||||||
vendor/lib64/camera/fdconfigvideolite.bin|2d4648c313fa28fb83272f39ad64fd3bd0ff826d
|
vendor/lib64/camera/fdconfigvideolite.bin|2d4648c313fa28fb83272f39ad64fd3bd0ff826d
|
||||||
vendor/lib64/hw/camera.qcom.so|6d415d421c1a1c19c96b765009afd29b986c4f5a
|
vendor/lib64/hw/camera.qcom.so|cc31f6e349cad62cbd3e067fc38547c90e685d4f|8d27e06ac937c1bb49f1910b828068ac74e5c3c3
|
||||||
vendor/lib64/hw/com.qti.chi.override.so|4d43f2de504bd143a117ddb3b2886d33c5a3bf22|292385a6a522d65a726c1d1b2cd5e18304256da5
|
vendor/lib64/hw/com.qti.chi.override.so|9637ffe7bfaa2799b7cf86973f3e7d8fbfa3344b
|
||||||
vendor/lib64/com.qti.chiusecaseselector.so|a35b657ea98415d110fb95c5b15066bb58dbdc34
|
vendor/lib64/com.qti.chiusecaseselector.so|a35b657ea98415d110fb95c5b15066bb58dbdc34
|
||||||
vendor/lib64/com.qti.feature2.anchorsync.so|d17bc4f703021706c98d5418cb20eb5b707f6cc1
|
vendor/lib64/com.qti.feature2.anchorsync.so|d17bc4f703021706c98d5418cb20eb5b707f6cc1
|
||||||
vendor/lib64/com.qti.feature2.demux.so|d35be36b8f793c0db5f748681633c11d155dd8b8
|
vendor/lib64/com.qti.feature2.demux.so|d35be36b8f793c0db5f748681633c11d155dd8b8
|
||||||
|
|
@ -876,7 +876,7 @@ vendor/lib64/libcvp_common.so
|
||||||
vendor/lib64/libcvpcpuRev_skel.so
|
vendor/lib64/libcvpcpuRev_skel.so
|
||||||
vendor/lib64/vendor.qti.hardware.cvp@1.0.so
|
vendor/lib64/vendor.qti.hardware.cvp@1.0.so
|
||||||
|
|
||||||
# CVP firmware - from DE2117_11.C.34
|
# CVP firmware - from DE2117_11.C.37
|
||||||
vendor/firmware/evass.b01|0ba927944b4ecb3160d10bf1fbdf8c0a24b4135d
|
vendor/firmware/evass.b01|0ba927944b4ecb3160d10bf1fbdf8c0a24b4135d
|
||||||
vendor/firmware/evass.b02|f9215f6edcdf711ed37d033dcc1af70bdcb358bd
|
vendor/firmware/evass.b02|f9215f6edcdf711ed37d033dcc1af70bdcb358bd
|
||||||
vendor/firmware/evass.b03|817d0f1aa1dd38a187de8ee0b92fa5d27bf2c700
|
vendor/firmware/evass.b03|817d0f1aa1dd38a187de8ee0b92fa5d27bf2c700
|
||||||
|
|
@ -999,8 +999,8 @@ vendor/lib64/libssd.so
|
||||||
vendor/lib64/libtzdrmgenprov.so
|
vendor/lib64/libtzdrmgenprov.so
|
||||||
vendor/lib64/vendor.qti.hardware.qseecom@1.0.so
|
vendor/lib64/vendor.qti.hardware.qseecom@1.0.so
|
||||||
|
|
||||||
# Fingerprint - from DE2117_11.C.34
|
# Fingerprint - from DE2117_11.C.37
|
||||||
odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service|c474de24c630610634eb974e7e9c6a26e0ffd4ee
|
odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service|8ae1f13680191151058b40c69fa0f6f4ad593c86
|
||||||
odm/bin/init.oplus.fingerprints.sh|950befd6f64d4055bf47ab066a0a1e0080e6191e
|
odm/bin/init.oplus.fingerprints.sh|950befd6f64d4055bf47ab066a0a1e0080e6191e
|
||||||
odm/etc/init/vendor.oplus.hardware.biometrics.fingerprint@2.1-service.rc|e4dc71dbcf48df8e4a5fbf9a14048698046cbe0b
|
odm/etc/init/vendor.oplus.hardware.biometrics.fingerprint@2.1-service.rc|e4dc71dbcf48df8e4a5fbf9a14048698046cbe0b
|
||||||
odm/etc/vintf/manifest/manifest_oplus_fingerprint.xml|78ca4f56ed1f5dd48c186718718fd9513629851e
|
odm/etc/vintf/manifest/manifest_oplus_fingerprint.xml|78ca4f56ed1f5dd48c186718718fd9513629851e
|
||||||
|
|
@ -1070,12 +1070,12 @@ vendor/lib64/libkernelmanager.so
|
||||||
vendor/lib64/libllvm-glnext.so
|
vendor/lib64/libllvm-glnext.so
|
||||||
vendor/lib64/libllvm-qcom.so
|
vendor/lib64/libllvm-qcom.so
|
||||||
|
|
||||||
# Graphics (Adreno firmware) - from DE2117_11.C.34
|
# Graphics (Adreno firmware) - from DE2117_11.C.37
|
||||||
vendor/firmware/a615_zap.b00|55c1a14a5699d05f796a982448711159f8208951
|
vendor/firmware/a615_zap.b00|55c1a14a5699d05f796a982448711159f8208951
|
||||||
vendor/firmware/a615_zap.b01|d0d60f0aaba8b507b19cae0e83a821dfc69b1a87
|
vendor/firmware/a615_zap.b01|a753f53c8c7715aa0269b080a24c3c6ff0a59694
|
||||||
vendor/firmware/a615_zap.b02|4ae54047f9629f2470a5d58f3940c5eb51298b96
|
vendor/firmware/a615_zap.b02|4ae54047f9629f2470a5d58f3940c5eb51298b96
|
||||||
vendor/firmware/a615_zap.elf|4b7a87b7124c93d48d1dcced587d86c23de2c2db
|
vendor/firmware/a615_zap.elf|0d65f06baa2de5c9d22c57c5c1470e9fa9a4da11
|
||||||
vendor/firmware/a615_zap.mdt|8128cbe0197787d1787437a2f5db45da3d81cda9
|
vendor/firmware/a615_zap.mdt|29777fb920fc871c04e4a0ac0ba07a853d386161
|
||||||
vendor/firmware/a619_gmu.bin|0c211ef8a3246d649a4ae52a926d128b61e3c264
|
vendor/firmware/a619_gmu.bin|0c211ef8a3246d649a4ae52a926d128b61e3c264
|
||||||
vendor/firmware/a630_sqe.fw|3be171586a5600b8a0253a0e267d1eb96cd82290
|
vendor/firmware/a630_sqe.fw|3be171586a5600b8a0253a0e267d1eb96cd82290
|
||||||
vendor/firmware/a660_gmu.bin|7e23fae9ac6dfaf0219280c83e0086b8e97082b1
|
vendor/firmware/a660_gmu.bin|7e23fae9ac6dfaf0219280c83e0086b8e97082b1
|
||||||
|
|
@ -1258,30 +1258,22 @@ vendor/lib64/vendor.qti.ims.rcsuce@1.2.so
|
||||||
vendor/lib64/vendor.qti.imsrtpservice@3.0-service-Impl.so
|
vendor/lib64/vendor.qti.imsrtpservice@3.0-service-Impl.so
|
||||||
vendor/lib64/vendor.qti.imsrtpservice@3.0.so;MODULE_SUFFIX=_vendor
|
vendor/lib64/vendor.qti.imsrtpservice@3.0.so;MODULE_SUFFIX=_vendor
|
||||||
|
|
||||||
# IO prefetcher
|
|
||||||
vendor/bin/hw/vendor.qti.hardware.iop@2.0-service
|
|
||||||
vendor/etc/init/vendor.qti.hardware.iop@2.0-service.rc
|
|
||||||
vendor/lib64/libqti-iopd-client.so
|
|
||||||
vendor/lib64/libqti-iopd.so
|
|
||||||
vendor/lib64/vendor.qti.hardware.iop@1.0.so
|
|
||||||
vendor/lib64/vendor.qti.hardware.iop@2.0.so
|
|
||||||
|
|
||||||
# IPA firmware
|
# IPA firmware
|
||||||
vendor/etc/init/ipa_fws.rc
|
vendor/etc/init/ipa_fws.rc
|
||||||
|
|
||||||
# IPA firmware - from DE2117_11.C.34
|
# IPA firmware - from DE2117_11.C.37
|
||||||
vendor/firmware/ipa_fws.b00|eb24330c9d96f1b75ae07968484734e4c2a59c75
|
vendor/firmware/ipa_fws.b00|eb24330c9d96f1b75ae07968484734e4c2a59c75
|
||||||
vendor/firmware/ipa_fws.b01|5d5d573396a732eedfd944d1f81f756d867d1c72
|
vendor/firmware/ipa_fws.b01|c659c8afaaa27145c7d499564eee364028c73664
|
||||||
vendor/firmware/ipa_fws.b02|cd418e2434a5698bf7a2f8844171f1b2ddd4b57a
|
vendor/firmware/ipa_fws.b02|cd418e2434a5698bf7a2f8844171f1b2ddd4b57a
|
||||||
vendor/firmware/ipa_fws.b03|c07cfef57f8f694b4cee41e78700614efbedf2bc
|
vendor/firmware/ipa_fws.b03|c07cfef57f8f694b4cee41e78700614efbedf2bc
|
||||||
vendor/firmware/ipa_fws.b04|7aa0ec649f20af523f21c6e19014987f86f18dff
|
vendor/firmware/ipa_fws.b04|7aa0ec649f20af523f21c6e19014987f86f18dff
|
||||||
vendor/firmware/ipa_fws.elf|39783ab86f99b7bf1d506682b59ff4071b1f135f
|
vendor/firmware/ipa_fws.elf|9103334c1cc07d320cc4d80f912e0c2129dafbf2
|
||||||
vendor/firmware/ipa_fws.mdt|0dccf48f1620e528a9bf3fc8929f83e09a09519b
|
vendor/firmware/ipa_fws.mdt|59d3f76009592e29a4883fd3659b7fa9e853d4ae
|
||||||
|
|
||||||
# IRQ balance
|
# IRQ balance
|
||||||
vendor/bin/msm_irqbalance
|
vendor/bin/msm_irqbalance
|
||||||
|
|
||||||
# IRQ balance - from DE2117_11.C.34
|
# IRQ balance - from DE2117_11.C.37
|
||||||
vendor/etc/msm_irqbalance.conf|1c1c2c568953546f67ce24c497ca5bd58a581cf8|298dc27a89520ed92b3c99ef0f95209e4b77279b
|
vendor/etc/msm_irqbalance.conf|1c1c2c568953546f67ce24c497ca5bd58a581cf8|298dc27a89520ed92b3c99ef0f95209e4b77279b
|
||||||
|
|
||||||
# Kernel - from Fogos U1UGS34.23-110-2-1
|
# Kernel - from Fogos U1UGS34.23-110-2-1
|
||||||
|
|
@ -1313,9 +1305,8 @@ vendor/lib/libmulawdec.so
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
odm/etc/media_profiles_V1_0.xml
|
odm/etc/media_profiles_V1_0.xml
|
||||||
system_ext/lib/libmmosal.so
|
|
||||||
system_ext/lib/libmmparser_lite.so
|
|
||||||
system_ext/lib64/libmmosal.so
|
system_ext/lib64/libmmosal.so
|
||||||
|
system_ext/lib64/libmmparser_lite.so
|
||||||
vendor/bin/hw/vendor.qti.media.c2@1.0-service
|
vendor/bin/hw/vendor.qti.media.c2@1.0-service
|
||||||
vendor/bin/init.qti.media.sh
|
vendor/bin/init.qti.media.sh
|
||||||
vendor/etc/init/init.qti.media.rc
|
vendor/etc/init/init.qti.media.rc
|
||||||
|
|
@ -1323,6 +1314,14 @@ vendor/etc/init/vendor.qti.media.c2@1.0-service.rc
|
||||||
vendor/etc/media_blair/video_system_specs.json
|
vendor/etc/media_blair/video_system_specs.json
|
||||||
vendor/etc/media_blair_lite/video_system_specs.json
|
vendor/etc/media_blair_lite/video_system_specs.json
|
||||||
vendor/etc/media_holi/video_system_specs.json
|
vendor/etc/media_holi/video_system_specs.json
|
||||||
|
vendor/etc/media_codecs.xml
|
||||||
|
vendor/etc/media_codecs_blair.xml
|
||||||
|
vendor/etc/media_codecs_blair_lite.xml
|
||||||
|
vendor/etc/media_codecs_holi.xml
|
||||||
|
vendor/etc/media_codecs_performance.xml
|
||||||
|
vendor/etc/media_codecs_performance_blair.xml
|
||||||
|
vendor/etc/media_codecs_performance_blair_lite.xml
|
||||||
|
vendor/etc/media_codecs_performance_holi.xml
|
||||||
vendor/etc/media_profiles.xml
|
vendor/etc/media_profiles.xml
|
||||||
vendor/etc/media_profiles_V1_0.xml
|
vendor/etc/media_profiles_V1_0.xml
|
||||||
vendor/etc/media_profiles_blair.xml
|
vendor/etc/media_profiles_blair.xml
|
||||||
|
|
@ -1344,7 +1343,7 @@ vendor/lib64/libmmosal.so;MODULE_SUFFIX=_vendor
|
||||||
# Native public libraries
|
# Native public libraries
|
||||||
vendor/etc/public.libraries.txt
|
vendor/etc/public.libraries.txt
|
||||||
|
|
||||||
# NFC - from DE2117_11.C.34
|
# NFC - from DE2117_11.C.37
|
||||||
odm/etc/nfc/libnfc-nci.conf_20818:vendor/etc/libnfc-nci.conf|ec1d66cb7fb1a03a99270f9b893de7ee586f7972|af0df368c0edd9272ec1265f7144d4b09e20c41b
|
odm/etc/nfc/libnfc-nci.conf_20818:vendor/etc/libnfc-nci.conf|ec1d66cb7fb1a03a99270f9b893de7ee586f7972|af0df368c0edd9272ec1265f7144d4b09e20c41b
|
||||||
odm/etc/nfc/libnfc-st21h_conf.txt_20818:vendor/etc/libnfc-st21h_conf.txt|f69535ba7cc30b8fc7f30d7db895233c77430ace
|
odm/etc/nfc/libnfc-st21h_conf.txt_20818:vendor/etc/libnfc-st21h_conf.txt|f69535ba7cc30b8fc7f30d7db895233c77430ace
|
||||||
odm/etc/nfc/nfc_conf_ref|d3f90262a5762117e519dd55361b8d7742bfb764
|
odm/etc/nfc/nfc_conf_ref|d3f90262a5762117e519dd55361b8d7742bfb764
|
||||||
|
|
@ -1352,49 +1351,15 @@ odm/etc/nfc/nfc_fw_ref|525f3232cbf9ef8d26e89fcc6bc42b9eee03f92c
|
||||||
odm/etc/nfc/st21nfc_fw.bin_st21h:vendor/firmware/st21nfc_fw.bin|3375e15716e356a2580e4c8828833f442669e586
|
odm/etc/nfc/st21nfc_fw.bin_st21h:vendor/firmware/st21nfc_fw.bin|3375e15716e356a2580e4c8828833f442669e586
|
||||||
odm/etc/nfc/st21nfc_fw7.bin_st21h:vendor/firmware/st21nfc_fw7.bin|e857d4139163e8a16ae9d0b616e731d3441deda4
|
odm/etc/nfc/st21nfc_fw7.bin_st21h:vendor/firmware/st21nfc_fw7.bin|e857d4139163e8a16ae9d0b616e731d3441deda4
|
||||||
|
|
||||||
|
# PASR
|
||||||
|
vendor/lib64/vendor.qti.memory.pasrmanager@1.0.so
|
||||||
|
vendor/lib64/vendor.qti.memory.pasrmanager@1.1.so
|
||||||
|
|
||||||
# Peripheral manager
|
# Peripheral manager
|
||||||
vendor/bin/pm-proxy
|
vendor/bin/pm-proxy
|
||||||
vendor/bin/pm-service
|
vendor/bin/pm-service
|
||||||
vendor/lib64/libperipheral_client.so
|
vendor/lib64/libperipheral_client.so
|
||||||
|
|
||||||
# Perf
|
|
||||||
odm/lib64/vendor.oplus.hardware.performance-V1-ndk_platform.so
|
|
||||||
vendor/bin/hw/vendor.qti.hardware.perf@2.2-service
|
|
||||||
vendor/etc/init/vendor.qti.hardware.perf@2.2-service.rc
|
|
||||||
vendor/etc/perf/commonresourceconfigs.xml
|
|
||||||
vendor/etc/perf/commonsysnodesconfigs.xml
|
|
||||||
vendor/etc/perf/perfboostsconfig.xml
|
|
||||||
vendor/etc/perf/perfconfigstore.xml
|
|
||||||
vendor/etc/perf/targetconfig.xml
|
|
||||||
vendor/etc/perf/targetresourceconfigs.xml
|
|
||||||
vendor/etc/powerhint.xml
|
|
||||||
vendor/lib64/liblearningmodule.so
|
|
||||||
vendor/lib64/libmeters.so
|
|
||||||
vendor/lib64/libperfconfig.so
|
|
||||||
vendor/lib64/libperfgluelayer.so
|
|
||||||
vendor/lib64/libperfioctl.so
|
|
||||||
vendor/lib64/libqti-perfd-client.so
|
|
||||||
vendor/lib64/libqti-perfd.so
|
|
||||||
vendor/lib64/libqti-util.so
|
|
||||||
vendor/lib64/libqti-utils.so
|
|
||||||
vendor/lib64/libskewknob.so
|
|
||||||
|
|
||||||
# Perf LM
|
|
||||||
vendor/etc/lm/AdaptLaunchFeature.xml
|
|
||||||
vendor/etc/lm/AppClassifierFeature.xml
|
|
||||||
vendor/etc/lm/GameOptimizationFeature.xml
|
|
||||||
vendor/etc/lm/sPLHFeature.xml
|
|
||||||
vendor/lib64/libadaptlaunch.so
|
|
||||||
vendor/lib64/libappclassifier.so
|
|
||||||
vendor/lib64/libgameoptfeature.so
|
|
||||||
vendor/lib64/liblmutils-ns.so
|
|
||||||
vendor/lib64/libmemperfd.so
|
|
||||||
vendor/lib64/libmeters-ns.so
|
|
||||||
vendor/lib64/libsplh.so
|
|
||||||
vendor/lib64/vendor.qti.memory.pasrmanager@1.0.so
|
|
||||||
vendor/lib64/vendor.qti.memory.pasrmanager@1.1.so
|
|
||||||
vendor/lib64/vendor.qti.power.pasrmanager@1.0.so
|
|
||||||
|
|
||||||
# Power-off alarm
|
# Power-off alarm
|
||||||
vendor/bin/hw/vendor.qti.hardware.alarm@1.0-service
|
vendor/bin/hw/vendor.qti.hardware.alarm@1.0-service
|
||||||
vendor/bin/power_off_alarm
|
vendor/bin/power_off_alarm
|
||||||
|
|
@ -1561,7 +1526,6 @@ vendor/lib64/qcrilMarshal.so
|
||||||
vendor/lib64/qcrild_libqcrilnrutils.so
|
vendor/lib64/qcrild_libqcrilnrutils.so
|
||||||
vendor/lib64/qtiril-utils.so
|
vendor/lib64/qtiril-utils.so
|
||||||
vendor/lib64/qtiwakelock.so
|
vendor/lib64/qtiwakelock.so
|
||||||
vendor/lib64/vendor.oplus.hardware.radio-V2-ndk_platform.so
|
|
||||||
vendor/lib64/vendor.qti.hardware.radio.am@1.0.so
|
vendor/lib64/vendor.qti.hardware.radio.am@1.0.so
|
||||||
vendor/lib64/vendor.qti.hardware.radio.internal.deviceinfo@1.0.so
|
vendor/lib64/vendor.qti.hardware.radio.internal.deviceinfo@1.0.so
|
||||||
vendor/lib64/vendor.qti.hardware.radio.lpa@1.0.so
|
vendor/lib64/vendor.qti.hardware.radio.lpa@1.0.so
|
||||||
|
|
@ -1585,7 +1549,7 @@ 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_client@1.2.so
|
||||||
vendor/lib64/vendor.qti.hardware.radio.uim_remote_server@1.0.so
|
vendor/lib64/vendor.qti.hardware.radio.uim_remote_server@1.0.so
|
||||||
|
|
||||||
# Sensors - from DE2117_11.C.34
|
# Sensors - from DE2117_11.C.37
|
||||||
odm/etc/sensor/config/alsps.json|637ccbc1d44b97e52c25cf89c38eb23add3e7cfc
|
odm/etc/sensor/config/alsps.json|637ccbc1d44b97e52c25cf89c38eb23add3e7cfc
|
||||||
odm/etc/sensor/config/holi_alsps.json|373fcdf0c181fc4857766172a85907a1b5a42867
|
odm/etc/sensor/config/holi_alsps.json|373fcdf0c181fc4857766172a85907a1b5a42867
|
||||||
odm/etc/sensor/config/holi_bmi26x_0.json|9b32a305c4d9e6b64e7c31bac128adcda83c2ff8
|
odm/etc/sensor/config/holi_bmi26x_0.json|9b32a305c4d9e6b64e7c31bac128adcda83c2ff8
|
||||||
|
|
@ -1789,7 +1753,7 @@ vendor/bin/time_daemon
|
||||||
vendor/etc/init/init.time_daemon.rc
|
vendor/etc/init/init.time_daemon.rc
|
||||||
vendor/lib64/libtime_genoff.so
|
vendor/lib64/libtime_genoff.so
|
||||||
|
|
||||||
# Touchscreen firmware - from DE2117_11.C.34
|
# Touchscreen firmware - from DE2117_11.C.37
|
||||||
odm/firmware/tp/133144/FW_NF_ILI7807S_TIANMA.img;SYMLINK=odm/firmware/tp/133180/FW_NF_ILI7807S_TIANMA.img|57128b45ffd464032b07b5bb34b70b760014ac28
|
odm/firmware/tp/133144/FW_NF_ILI7807S_TIANMA.img;SYMLINK=odm/firmware/tp/133180/FW_NF_ILI7807S_TIANMA.img|57128b45ffd464032b07b5bb34b70b760014ac28
|
||||||
odm/firmware/tp/133144/FW_NF_ILI7807S_TIANMA_FAE.img;SYMLINK=odm/firmware/tp/133180/FW_NF_ILI7807S_TIANMA_FAE.img|a892bebde4c7e5bd1cf1b3925ca8cedba69c401b
|
odm/firmware/tp/133144/FW_NF_ILI7807S_TIANMA_FAE.img;SYMLINK=odm/firmware/tp/133180/FW_NF_ILI7807S_TIANMA_FAE.img|a892bebde4c7e5bd1cf1b3925ca8cedba69c401b
|
||||||
odm/firmware/tp/133144/FW_NF_NT36672C_DSJM.img;SYMLINK=odm/firmware/tp/133180/FW_NF_NT36672C_DSJM.img|8f9770d361f9db1f99cc6a00dad189e54a269329
|
odm/firmware/tp/133144/FW_NF_NT36672C_DSJM.img;SYMLINK=odm/firmware/tp/133180/FW_NF_NT36672C_DSJM.img|8f9770d361f9db1f99cc6a00dad189e54a269329
|
||||||
|
|
@ -1823,7 +1787,7 @@ vendor/lib64/vendor.qti.hardware.vpp@1.2.so
|
||||||
vendor/lib64/vendor.qti.hardware.vpp@1.3.so
|
vendor/lib64/vendor.qti.hardware.vpp@1.3.so
|
||||||
vendor/lib64/vendor.qti.hardware.vpp@2.0.so
|
vendor/lib64/vendor.qti.hardware.vpp@2.0.so
|
||||||
|
|
||||||
# VPU firmware - from DE2117_11.C.34
|
# VPU firmware - from DE2117_11.C.37
|
||||||
vendor/firmware/vpu20_4v.b01|18d7f096d032f45d2735e49b1753c6ea71c975ac
|
vendor/firmware/vpu20_4v.b01|18d7f096d032f45d2735e49b1753c6ea71c975ac
|
||||||
vendor/firmware/vpu20_4v.b02|f98b37380cc5d3b72541f5ad19d4eb465540e1eb
|
vendor/firmware/vpu20_4v.b02|f98b37380cc5d3b72541f5ad19d4eb465540e1eb
|
||||||
vendor/firmware/vpu20_4v.b03|7772b18b16e520641e8051fd6284384e9b0e1939
|
vendor/firmware/vpu20_4v.b03|7772b18b16e520641e8051fd6284384e9b0e1939
|
||||||
|
|
@ -1863,51 +1827,36 @@ vendor/bin/cnss-daemon
|
||||||
vendor/etc/wifi/p2p_supplicant_overlay.conf
|
vendor/etc/wifi/p2p_supplicant_overlay.conf
|
||||||
vendor/etc/wifi/wpa_supplicant_overlay.conf
|
vendor/etc/wifi/wpa_supplicant_overlay.conf
|
||||||
|
|
||||||
# WiFi Display
|
# WiFi Display (system) - from dada OS2.0.217.0.WOCMIXM
|
||||||
system/framework/WfdCommon.jar;BOOT_JAR
|
system/framework/WfdCommon.jar;BOOT_JAR|76fab5ed43206989057284fa26e8b894f1da102f
|
||||||
system_ext/bin/wfdservice
|
system_ext/bin/wfdservice64:system_ext/bin/wfdservice|34851904d02d11d3cfebbc7b8745a9444ba3e7c5
|
||||||
system_ext/etc/init/wfdservice.rc
|
system_ext/etc/init/wfdservice.rc|907def8565d8f91f531ca7dfad880af05d540b0c
|
||||||
system_ext/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml
|
system_ext/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml|6669d5ee462c981663b8ac573d84d334e4eed96c
|
||||||
system_ext/etc/seccomp_policy/wfdservice.policy
|
system_ext/etc/seccomp_policy/wfdservice64.policy|1e331272649395423b11c575892e0bdc9433b820
|
||||||
system_ext/etc/wfdconfigsink.xml
|
system_ext/lib64/libmmrtpdecoder.so|8b143c0b004a2f5ab8d7911dd463de0ceea794e7
|
||||||
system_ext/lib/com.qualcomm.qti.wifidisplayhal@1.0.so
|
system_ext/lib64/libmmrtpencoder.so|eef3f64e6c2892fc0c87e176f5a83f7fe07761d3
|
||||||
system_ext/lib/libmmrtpdecoder.so
|
system_ext/lib64/libwfdavenhancements.so|8c968c6930e44901ef8c6abd6356f2308600d90e
|
||||||
system_ext/lib/libmmrtpencoder.so
|
system_ext/lib64/libwfdclient.so|2d1bf9b010ecfb8532eaf6a12c8bf60f9e8ffe08
|
||||||
system_ext/lib/libwfdavenhancements.so
|
system_ext/lib64/libwfdcommonutils.so|3ae375016a9551e51f26710e8b07d20eeef2b76f
|
||||||
system_ext/lib/libwfdclient.so
|
system_ext/lib64/libwfdconfigutils.so|4d8200cc4c455f54fcbce927f5cabeb7b591f5d0
|
||||||
system_ext/lib/libwfdcommonutils.so
|
system_ext/lib64/libwfddisplayconfig.so|27f5d6e284edf05cc7776e5be010912973000ab9
|
||||||
system_ext/lib/libwfdconfigutils.so
|
system_ext/lib64/libwfdmminterface.so|8d3d493fef797aef2feaab4e09e50250ddf5dc9a
|
||||||
system_ext/lib/libwfddisplayconfig.so
|
system_ext/lib64/libwfdmmsink.so|4569ce9941eb5d06db599146ed80b8a32d7cd97f
|
||||||
system_ext/lib/libwfdmminterface.so
|
system_ext/lib64/libwfdmmsrc_system.so|0cc970954800566baddbf760b153b027940180f5
|
||||||
system_ext/lib/libwfdmmsink.so
|
system_ext/lib64/libwfdnative.so;SYMLINK=system_ext/priv-app/WfdService/lib/arm64/libwfdnative.so|9513bbbd813dd05fb063d3c9e72640a1bc9156c2|f2918bbd8e4c691299e840863e8cb502a47bb773
|
||||||
system_ext/lib/libwfdmmsrc_system.so
|
system_ext/lib64/libwfdrtsp.so|1ab4fc5b75d25f551df3593d5856e6f7893a4176
|
||||||
system_ext/lib/libwfdrtsp.so
|
system_ext/lib64/libwfdservice.so|af0e31f17ed997a5d8bad64cdad486be28cb9f07
|
||||||
system_ext/lib/libwfdservice.so
|
system_ext/lib64/libwfdsinksm.so|cc899b719fa11d844c65908d7fdc18600451324d
|
||||||
system_ext/lib/libwfdsinksm.so
|
system_ext/lib64/libwfduibcinterface.so|432d54b072d8f1c80409b6e11f4f833ca9576937
|
||||||
system_ext/lib/libwfduibcinterface.so
|
system_ext/lib64/libwfduibcsink.so|d12b05bbcefdff6addc2c31567a656b7540d7489
|
||||||
system_ext/lib/libwfduibcsink.so
|
system_ext/lib64/libwfduibcsinkinterface.so|a41b4d1fa4307a247b1f059a5b5cdf7f6a645db3
|
||||||
system_ext/lib/libwfduibcsinkinterface.so
|
system_ext/lib64/libwfduibcsrc.so|5be7d282be9ab45297bd030f8e37a45f48aa8677
|
||||||
system_ext/lib/libwfduibcsrc.so
|
system_ext/lib64/libwfduibcsrcinterface.so|0e32acc87c8518e8ebb44f6ef341a2e278e1e7c2
|
||||||
system_ext/lib/libwfduibcsrcinterface.so
|
system_ext/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so|2b2563450ad6a8d46d5648b97f63f87c5d9983ca
|
||||||
system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so
|
system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk.so|58cd9358df40aa16ddf0e603b736c58588623b9e
|
||||||
system_ext/lib64/libmmparser_lite.so
|
system_ext/priv-app/WfdService/WfdService.apk|b8a1d9f83804d274fab6e09e0607082801207f60
|
||||||
system_ext/lib64/libmmrtpdecoder.so
|
|
||||||
system_ext/lib64/libmmrtpencoder.so
|
# WiFi Display (vendor)
|
||||||
system_ext/lib64/libwfdclient.so
|
|
||||||
system_ext/lib64/libwfdcommonutils.so
|
|
||||||
system_ext/lib64/libwfdconfigutils.so
|
|
||||||
system_ext/lib64/libwfddisplayconfig.so
|
|
||||||
system_ext/lib64/libwfdmminterface.so
|
|
||||||
system_ext/lib64/libwfdmmsink.so
|
|
||||||
system_ext/lib64/libwfdnative.so;SYMLINK=system_ext/priv-app/WfdService/lib/arm64/libwfdnative.so
|
|
||||||
system_ext/lib64/libwfdrtsp.so
|
|
||||||
system_ext/lib64/libwfdsinksm.so
|
|
||||||
system_ext/lib64/libwfduibcinterface.so
|
|
||||||
system_ext/lib64/libwfduibcsink.so
|
|
||||||
system_ext/lib64/libwfduibcsinkinterface.so
|
|
||||||
system_ext/lib64/libwfduibcsrc.so
|
|
||||||
system_ext/lib64/libwfduibcsrcinterface.so
|
|
||||||
system_ext/priv-app/WfdService/WfdService.apk
|
|
||||||
vendor/bin/wfdhdcphalservice
|
vendor/bin/wfdhdcphalservice
|
||||||
vendor/bin/wfdvndservice
|
vendor/bin/wfdvndservice
|
||||||
vendor/bin/wifidisplayhalservice
|
vendor/bin/wifidisplayhalservice
|
||||||
|
|
|
||||||
1
sepolicy/private/seapp_contexts
Normal file
1
sepolicy/private/seapp_contexts
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
user=bluetooth seinfo=default name=com.android.bluetooth domain=bluetooth type=bluetooth_data_file levelFrom=all isPrivApp=true
|
||||||
1
sepolicy/vendor/file.te
vendored
1
sepolicy/vendor/file.te
vendored
|
|
@ -1 +0,0 @@
|
||||||
type proc_flash_light_file, fs_type, proc_type;
|
|
||||||
1
sepolicy/vendor/genfs_contexts
vendored
1
sepolicy/vendor/genfs_contexts
vendored
|
|
@ -1 +0,0 @@
|
||||||
genfscon proc /qcom_flash u:object_r:proc_flash_light_file:s0
|
|
||||||
1
sepolicy/vendor/hal_camera_default.te
vendored
1
sepolicy/vendor/hal_camera_default.te
vendored
|
|
@ -1 +0,0 @@
|
||||||
allow hal_camera_default proc_flash_light_file:file rw_file_perms;
|
|
||||||
17
vendor.prop
17
vendor.prop
|
|
@ -119,15 +119,19 @@ vendor.gatekeeper.disable_spu=true
|
||||||
|
|
||||||
# Graphics
|
# Graphics
|
||||||
debug.sf.disable_client_composition_cache=1
|
debug.sf.disable_client_composition_cache=1
|
||||||
debug.sf.enable_gl_backpressure=1
|
debug.sf.early.sf.duration=15666666
|
||||||
debug.sf.high_fps_early_gl_phase_offset_ns=-2000000
|
debug.sf.early.app.duration=13666666
|
||||||
debug.sf.high_fps_early_phase_offset_ns=-4000000
|
debug.sf.earlyGl.app.duration=13666666
|
||||||
debug.sf.high_fps_late_app_phase_offset_ns=1000000
|
debug.sf.earlyGl.sf.duration=15666666
|
||||||
debug.sf.high_fps_late_sf_phase_offset_ns=-2000000
|
debug.sf.enable_gl_backpressure=0
|
||||||
debug.sf.latch_unsignaled=1
|
debug.sf.latch_unsignaled=1
|
||||||
|
debug.sf.late.app.duration=13666666
|
||||||
|
debug.sf.late.sf.duration=15666666
|
||||||
|
debug.sf.use_phase_offsets_as_durations=1
|
||||||
ro.hardware.egl=adreno
|
ro.hardware.egl=adreno
|
||||||
ro.hardware.vulkan=adreno
|
ro.hardware.vulkan=adreno
|
||||||
ro.opengles.version=196610
|
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.force_hwc_copy_for_virtual_displays=true
|
||||||
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
|
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
|
||||||
ro.surface_flinger.max_virtual_display_dimension=4096
|
ro.surface_flinger.max_virtual_display_dimension=4096
|
||||||
|
|
@ -137,6 +141,7 @@ ro.surface_flinger.set_idle_timer_ms=80
|
||||||
ro.surface_flinger.set_touch_timer_ms=200
|
ro.surface_flinger.set_touch_timer_ms=200
|
||||||
ro.surface_flinger.set_display_power_timer_ms=1000
|
ro.surface_flinger.set_display_power_timer_ms=1000
|
||||||
ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
||||||
|
ro.surface_flinger.supports_background_blur=1
|
||||||
vendor.gralloc.disable_ubwc=0
|
vendor.gralloc.disable_ubwc=0
|
||||||
vendor.gralloc.secure_preview_buffer_format=420_sp
|
vendor.gralloc.secure_preview_buffer_format=420_sp
|
||||||
vendor.gralloc.secure_preview_only=1
|
vendor.gralloc.secure_preview_only=1
|
||||||
|
|
@ -175,7 +180,7 @@ vendor.usb.rmnet.func.name=gsi
|
||||||
vendor.usb.rmnet.inst.name=rmnet
|
vendor.usb.rmnet.inst.name=rmnet
|
||||||
vendor.usb.rndis.func.name=gsi
|
vendor.usb.rndis.func.name=gsi
|
||||||
vendor.usb.use_ffs_mtp=1
|
vendor.usb.use_ffs_mtp=1
|
||||||
vendor.usb.use_gadget_hal=0
|
vendor.usb.use_gadget_hal=1
|
||||||
|
|
||||||
# WiFi
|
# WiFi
|
||||||
wifi.aware.interface=wifi-aware0
|
wifi.aware.interface=wifi-aware0
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<manifest version="2.0" type="device" target-level="6">
|
<manifest version="2.0" type="device" target-level="7">
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.audio</name>
|
<name>android.hardware.audio</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
|
@ -281,15 +281,6 @@
|
||||||
<instance>MwqemAdapter</instance>
|
<instance>MwqemAdapter</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
|
||||||
<name>vendor.qti.hardware.perf</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>2.2</version>
|
|
||||||
<interface>
|
|
||||||
<name>IPerf</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>vendor.qti.hardware.qccvndhal</name>
|
<name>vendor.qti.hardware.qccvndhal</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
|
@ -487,14 +478,4 @@
|
||||||
<instance>imsrtpservice</instance>
|
<instance>imsrtpservice</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
|
||||||
<name>vendor.qti.qspmhal</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IQspmhal</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<kernel target-level="5"/>
|
|
||||||
</manifest>
|
</manifest>
|
||||||
Loading…
Reference in a new issue