From 2665ed65cb9c949e7b18ede3cce79c5c035cc93b Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 7 May 2020 20:10:04 +0200 Subject: [PATCH] davinci: Copy common media configs from the media HAL Change-Id: Idc629ea4d357d5dda2d99ccbea01d32a7f9e0cc3 --- configs/media/media_codecs_performance.xml | 196 -------------------- configs/media/media_codecs_vendor_audio.xml | 26 --- configs/media/system_properties.xml | 41 ---- configs/security/mediacodec.policy | 19 -- device.mk | 10 +- 5 files changed, 5 insertions(+), 287 deletions(-) delete mode 100644 configs/media/media_codecs_performance.xml delete mode 100644 configs/media/media_codecs_vendor_audio.xml delete mode 100644 configs/media/system_properties.xml delete mode 100644 configs/security/mediacodec.policy diff --git a/configs/media/media_codecs_performance.xml b/configs/media/media_codecs_performance.xml deleted file mode 100644 index 720dbb9..0000000 --- a/configs/media/media_codecs_performance.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configs/media/media_codecs_vendor_audio.xml b/configs/media/media_codecs_vendor_audio.xml deleted file mode 100644 index 0cd3294..0000000 --- a/configs/media/media_codecs_vendor_audio.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/configs/media/system_properties.xml b/configs/media/system_properties.xml deleted file mode 100644 index e0da5a0..0000000 --- a/configs/media/system_properties.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - diff --git a/configs/security/mediacodec.policy b/configs/security/mediacodec.policy deleted file mode 100644 index 3bf11a3..0000000 --- a/configs/security/mediacodec.policy +++ /dev/null @@ -1,19 +0,0 @@ -# device specific syscalls -# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy -pselect6: 1 -eventfd2: 1 -sendto: 1 -recvfrom: 1 -_llseek: 1 -sysinfo: 1 -getcwd: 1 -getdents64: 1 -ARM_cacheflush: 1 -inotify_init1: 1 -inotify_add_watch: 1 -inotify_rm_watch: 1 -uname: 1 -ueventd: 1 -timer_create: 1 -timer_settime: 1 -rt_sigtimedwait: 1 diff --git a/device.mk b/device.mk index d827315..66e2f0e 100644 --- a/device.mk +++ b/device.mk @@ -164,13 +164,13 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ - $(LOCAL_PATH)/configs/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ - $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ - $(LOCAL_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \ - $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml + $(LOCAL_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/security/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy + hardware/qcom-caf/sm8150/media/conf_files/sm6150/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ + hardware/qcom-caf/sm8150/media/conf_files/sm6150/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ + hardware/qcom-caf/sm8150/media/conf_files/sm6150/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ + hardware/qcom-caf/sm8150/media/conf_files/sm6150/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml PRODUCT_COPY_FILES += \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \