klee: Update blobs
Change-Id: I3c32f76907132c7803a4bf7c5c1db27d74d0a843 Signed-off-by: kylieeXD <khayloaftck@gmail.com>
This commit is contained in:
10 files changed
+261
No files matched your search
+107
@@ -38709,6 +38709,15 @@ prebuilt_etc_xml {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prebuilt_etc_xml {
|
||||||
|
name: "manifest_media_c2_default.xml",
|
||||||
|
owner: "xiaomi",
|
||||||
|
src: "proprietary/vendor/etc/vintf/manifest/manifest_media_c2_default.xml",
|
||||||
|
filename_from_src: true,
|
||||||
|
sub_dir: "vintf/manifest",
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
prebuilt_etc_xml {
|
prebuilt_etc_xml {
|
||||||
name: "manifest_mmlpq.xml",
|
name: "manifest_mmlpq.xml",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
@@ -39324,6 +39333,104 @@ cc_prebuilt_binary {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_binary {
|
||||||
|
name: "android.hardware.media.c2-mediatek-64b",
|
||||||
|
owner: "xiaomi",
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/bin/hw/android.hardware.media.c2-mediatek-64b",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"server_configurable_flags",
|
||||||
|
"libaconfig_storage_read_api_cc",
|
||||||
|
"libcodec2_hal_common",
|
||||||
|
"libcodec2_aidl_prebuilt",
|
||||||
|
"libbase",
|
||||||
|
"liblog",
|
||||||
|
"libcodec2",
|
||||||
|
"libutils",
|
||||||
|
"android.hardware.media.c2@1.0",
|
||||||
|
"android.hardware.media.c2@1.1",
|
||||||
|
"android.hardware.media.c2@1.2",
|
||||||
|
"libcodec2_hidl@1.0",
|
||||||
|
"libcodec2_hidl@1.1",
|
||||||
|
"libcodec2_hidl@1.2",
|
||||||
|
"libcodec2_vndk",
|
||||||
|
"libhidlbase",
|
||||||
|
"libcutils",
|
||||||
|
"libavservices_minijail",
|
||||||
|
"libbinder",
|
||||||
|
"libbinder_ndk",
|
||||||
|
"libcodec2_mtk_c2store",
|
||||||
|
"libcodec2_mtk_vdec",
|
||||||
|
"libcodec2_mtk_venc",
|
||||||
|
"android.hardware.media.c2-V1-ndk",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
prefer: true,
|
||||||
|
relative_install_path: "hw",
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_binary {
|
||||||
|
name: "android.hardware.media.c2@1.2-mediatek-64b",
|
||||||
|
owner: "xiaomi",
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/bin/hw/android.hardware.media.c2@1.2-mediatek-64b",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"server_configurable_flags",
|
||||||
|
"libaconfig_storage_read_api_cc",
|
||||||
|
"libcodec2_hal_common",
|
||||||
|
"android.hardware.media.c2-V1-ndk",
|
||||||
|
"libcodec2_aidl",
|
||||||
|
"libbase",
|
||||||
|
"liblog",
|
||||||
|
"libcodec2",
|
||||||
|
"libutils",
|
||||||
|
"android.hardware.media.c2@1.0",
|
||||||
|
"android.hardware.media.c2@1.1",
|
||||||
|
"android.hardware.media.c2@1.2",
|
||||||
|
"libcodec2_hidl@1.0",
|
||||||
|
"libcodec2_hidl@1.1",
|
||||||
|
"libcodec2_hidl@1.2",
|
||||||
|
"libcodec2_vndk",
|
||||||
|
"libhidlbase",
|
||||||
|
"libcutils",
|
||||||
|
"libavservices_minijail",
|
||||||
|
"libbinder",
|
||||||
|
"libbinder_ndk",
|
||||||
|
"libcodec2_mtk_c2store",
|
||||||
|
"libcodec2_mtk_vdec",
|
||||||
|
"libcodec2_mtk_venc",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
prefer: true,
|
||||||
|
relative_install_path: "hw",
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_binary {
|
cc_prebuilt_binary {
|
||||||
name: "android.hardware.neuralnetworks-shim-service-mtk",
|
name: "android.hardware.neuralnetworks-shim-service-mtk",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
|
|||||||
@@ -608,6 +608,7 @@ PRODUCT_COPY_FILES += \
|
|||||||
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \
|
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.graphics.composer@3.3-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.graphics.composer@3.3-service.rc \
|
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.graphics.composer@3.3-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.graphics.composer@3.3-service.rc \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.identity@5.0-service.mitee.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.identity@5.0-service.mitee.rc \
|
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.identity@5.0-service.mitee.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.identity@5.0-service.mitee.rc \
|
||||||
|
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.media.c2-mediatek-64b.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.media.c2-mediatek-64b.rc \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc \
|
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc \
|
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc \
|
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc \
|
||||||
@@ -745,6 +746,8 @@ PRODUCT_COPY_FILES += \
|
|||||||
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow_dsp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow_dsp.xml \
|
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow_dsp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow_dsp.xml \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/pq_flag.xml:$(TARGET_COPY_OUT_VENDOR)/etc/pq_flag.xml \
|
vendor/xiaomi/klee/proprietary/vendor/etc/pq_flag.xml:$(TARGET_COPY_OUT_VENDOR)/etc/pq_flag.xml \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
|
vendor/xiaomi/klee/proprietary/vendor/etc/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
|
||||||
|
vendor/xiaomi/klee/proprietary/vendor/etc/seccomp_policy/android.hardware.media.c2@1.2-extended-seccomp-policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/android.hardware.media.c2@1.2-extended-seccomp-policy \
|
||||||
|
vendor/xiaomi/klee/proprietary/vendor/etc/seccomp_policy/android.hardware.media.c2@1.2-mediatek-seccomp-policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/android.hardware.media.c2@1.2-mediatek-seccomp-policy \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensor_diag.cfg \
|
vendor/xiaomi/klee/proprietary/vendor/etc/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensor_diag.cfg \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/slp_conf:$(TARGET_COPY_OUT_VENDOR)/etc/slp_conf \
|
vendor/xiaomi/klee/proprietary/vendor/etc/slp_conf:$(TARGET_COPY_OUT_VENDOR)/etc/slp_conf \
|
||||||
vendor/xiaomi/klee/proprietary/vendor/etc/smartpa_param/AW_DSP.bin:$(TARGET_COPY_OUT_VENDOR)/etc/smartpa_param/AW_DSP.bin \
|
vendor/xiaomi/klee/proprietary/vendor/etc/smartpa_param/AW_DSP.bin:$(TARGET_COPY_OUT_VENDOR)/etc/smartpa_param/AW_DSP.bin \
|
||||||
@@ -2330,6 +2333,7 @@ PRODUCT_PACKAGES += \
|
|||||||
manifest_cameraprovider.xml \
|
manifest_cameraprovider.xml \
|
||||||
manifest_hwcomposer.xml \
|
manifest_hwcomposer.xml \
|
||||||
manifest_isphal.xml \
|
manifest_isphal.xml \
|
||||||
|
manifest_media_c2_default.xml \
|
||||||
manifest_mmlpq.xml \
|
manifest_mmlpq.xml \
|
||||||
manifest_mtkgpuserv.xml \
|
manifest_mtkgpuserv.xml \
|
||||||
manifest_uievent.xml \
|
manifest_uievent.xml \
|
||||||
@@ -2361,6 +2365,8 @@ PRODUCT_PACKAGES += \
|
|||||||
android.hardware.gnss-service.mediatek \
|
android.hardware.gnss-service.mediatek \
|
||||||
android.hardware.graphics.composer@3.3-service \
|
android.hardware.graphics.composer@3.3-service \
|
||||||
android.hardware.identity-service.mitee@5.0 \
|
android.hardware.identity-service.mitee@5.0 \
|
||||||
|
android.hardware.media.c2-mediatek-64b \
|
||||||
|
android.hardware.media.c2@1.2-mediatek-64b \
|
||||||
android.hardware.neuralnetworks-shim-service-mtk \
|
android.hardware.neuralnetworks-shim-service-mtk \
|
||||||
android.hardware.secure_element@1.2-service-mediatek \
|
android.hardware.secure_element@1.2-service-mediatek \
|
||||||
android.hardware.security.keymint@3.0-service.mitee \
|
android.hardware.security.keymint@3.0-service.mitee \
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
service android-hardware-media-c2-hal /vendor/bin/hw/android.hardware.media.c2-mediatek-64b
|
||||||
|
class hal
|
||||||
|
user mediacodec
|
||||||
|
group camera drmrpc mediadrm media_rw sdcard_rw media system audio inet net_bt net_bt_admin net_bw_acct sdcard_r
|
||||||
|
ioprio rt 4
|
||||||
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
|
|
||||||
Vendored
+44
@@ -0,0 +1,44 @@
|
|||||||
|
connect: 1
|
||||||
|
fcntl64: 1
|
||||||
|
socket: 1
|
||||||
|
writev: 1
|
||||||
|
clock_nanosleep: 1
|
||||||
|
eventfd2: 1
|
||||||
|
sched_getparam: 1
|
||||||
|
sched_getscheduler :1
|
||||||
|
setsockopt: 1
|
||||||
|
bind: 1
|
||||||
|
listen: 1
|
||||||
|
|
||||||
|
# Add more for 32bits process, from android.hardware.media.c2@1.1-default-arm.policy
|
||||||
|
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
||||||
|
ftruncate64: 1
|
||||||
|
getuid32: 1
|
||||||
|
open: 1
|
||||||
|
fstat64: 1
|
||||||
|
readlink: 1
|
||||||
|
fstatfs64: 1
|
||||||
|
_llseek: 1
|
||||||
|
fstatat64: 1
|
||||||
|
ugetrlimit: 1
|
||||||
|
# crash dump policy additions
|
||||||
|
sigreturn: 1
|
||||||
|
futex: 1
|
||||||
|
#mmap2: arg2 in 0x1|0x2
|
||||||
|
geteuid32: 1
|
||||||
|
getgid32: 1
|
||||||
|
getegid32: 1
|
||||||
|
getgroups32: 1
|
||||||
|
getpriority: 1
|
||||||
|
mlock: 1
|
||||||
|
munlock: 1
|
||||||
|
fchmod: 1
|
||||||
|
getuid: 1
|
||||||
|
mmap: 1
|
||||||
|
getrlimit: 1
|
||||||
|
newfstatat: 1
|
||||||
|
fstat: 1
|
||||||
|
fstatfs: 1
|
||||||
|
unlinkat: 1
|
||||||
|
sched_setscheduler: 1
|
||||||
|
mkdirat: 1
|
||||||
Vendored
+88
@@ -0,0 +1,88 @@
|
|||||||
|
# Copyright (C) 2019 The Android Open Source Project
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
futex: 1
|
||||||
|
# ioctl calls are filtered via the selinux policy.
|
||||||
|
ioctl: 1
|
||||||
|
sched_yield: 1
|
||||||
|
close: 1
|
||||||
|
dup: 1
|
||||||
|
ppoll: 1
|
||||||
|
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
||||||
|
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
||||||
|
getuid: 1
|
||||||
|
getrlimit: 1
|
||||||
|
fstat: 1
|
||||||
|
newfstatat: 1
|
||||||
|
fstatfs: 1
|
||||||
|
memfd_create: 1
|
||||||
|
ftruncate: 1
|
||||||
|
|
||||||
|
# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
|
||||||
|
# parser support for '<' is in this needs to be modified to also prevent
|
||||||
|
# |old_address| and |new_address| from touching the exception vector page, which
|
||||||
|
# on ARM is statically loaded at 0xffff 0000. See
|
||||||
|
# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html
|
||||||
|
# for more details.
|
||||||
|
mremap: arg3 == 3 || arg3 == MREMAP_MAYMOVE
|
||||||
|
munmap: 1
|
||||||
|
prctl: 1
|
||||||
|
writev: 1
|
||||||
|
sigaltstack: 1
|
||||||
|
clone: 1
|
||||||
|
exit: 1
|
||||||
|
lseek: 1
|
||||||
|
rt_sigprocmask: 1
|
||||||
|
openat: 1
|
||||||
|
write: 1
|
||||||
|
nanosleep: 1
|
||||||
|
setpriority: 1
|
||||||
|
set_tid_address: 1
|
||||||
|
getdents64: 1
|
||||||
|
readlinkat: 1
|
||||||
|
read: 1
|
||||||
|
pread64: 1
|
||||||
|
gettimeofday: 1
|
||||||
|
faccessat: 1
|
||||||
|
exit_group: 1
|
||||||
|
restart_syscall: 1
|
||||||
|
rt_sigreturn: 1
|
||||||
|
getrandom: 1
|
||||||
|
madvise: 1
|
||||||
|
sched_setaffinity: 1
|
||||||
|
sched_getaffinity: 1
|
||||||
|
sched_getparam: 1
|
||||||
|
sched_getscheduler: 1
|
||||||
|
recvfrom: 1
|
||||||
|
|
||||||
|
# crash dump policy additions
|
||||||
|
clock_gettime: 1
|
||||||
|
getpid: 1
|
||||||
|
gettid: 1
|
||||||
|
pipe2: 1
|
||||||
|
recvmsg: 1
|
||||||
|
process_vm_readv: 1
|
||||||
|
tgkill: 1
|
||||||
|
rt_sigaction: 1
|
||||||
|
rt_tgsigqueueinfo: 1
|
||||||
|
#mprotect: arg2 in 0x1|0x2
|
||||||
|
munmap: 1
|
||||||
|
#mmap: arg2 in 0x1|0x2
|
||||||
|
geteuid: 1
|
||||||
|
getgid: 1
|
||||||
|
getegid: 1
|
||||||
|
getgroups: 1
|
||||||
|
unlinkat: 1
|
||||||
|
sched_setscheduler: 1
|
||||||
|
mkdirat: 1
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<manifest version="1.0" type="device">
|
||||||
|
<!-- AIDL fragment -->
|
||||||
|
<hal format="aidl">
|
||||||
|
<name>android.hardware.media.c2</name>
|
||||||
|
<version>1</version>
|
||||||
|
<fqname>IComponentStore/default</fqname>
|
||||||
|
<fqname>IComponentStore/dolby</fqname>
|
||||||
|
</hal>
|
||||||
|
</manifest>
|
||||||
BIN
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user