diff --git a/Android.bp b/Android.bp index 0c162c3..45f9521 100644 --- a/Android.bp +++ b/Android.bp @@ -15,6 +15,83 @@ soong_namespace { ], } + + +cc_prebuilt_binary { + name: "android.hardware.audio.service_64", + check_elf_files: false, + owner: "samsung", + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/bin/hw/android.hardware.audio.service_64", + ], + }, + }, + compile_multilib: "64", + relative_install_path: "hw", + installable: true, + prefer: true, + soc_specific: true, +} + +cc_prebuilt_binary { + name: "secaudiohalaidl", + check_elf_files: false, + owner: "samsung", + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/bin/hw/secaudiohalaidl", + ], + }, + }, + compile_multilib: "64", + relative_install_path: "hw", + prefer: true, + installable: true, + soc_specific: true, +} + + +cc_prebuilt_binary { + name: "android.hardware.audio.service", + check_elf_files: false, + owner: "samsung", + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/bin/hw/android.hardware.audio.service", + ], + }, + }, + compile_multilib: "64", + relative_install_path: "hw", + prefer: true, + installable: true, + soc_specific: true, +} + + +cc_prebuilt_binary { + name: "pm-proxy", + check_elf_files: false, + owner: "samsung", + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/bin/hw/pm-proxy", + ], + }, + }, + compile_multilib: "64", + relative_install_path: "hw", + installable: true, + prefer: true, + soc_specific: true, +} + + cc_prebuilt_library_shared { name: "SWPD_libTsAf", owner: "samsung", @@ -31350,34 +31427,6 @@ cc_prebuilt_binary { soc_specific: true, } -cc_prebuilt_binary { - name: "pm-proxy", - owner: "samsung", - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/bin/pm-proxy", - ], - shared_libs: [ - "libperipheral_client", - "libcutils", - "liblog", - "libmdmdetect", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - strip: { - none: true, - }, - prefer: true, - soc_specific: true, -} - cc_prebuilt_binary { name: "pm-service", owner: "samsung", diff --git a/e3q-vendor.mk b/e3q-vendor.mk index 820356b..9b41bb9 100644 --- a/e3q-vendor.mk +++ b/e3q-vendor.mk @@ -321,6 +321,7 @@ PRODUCT_COPY_FILES += \ vendor/samsung/e3q/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt_sw_disabled.json \ vendor/samsung/e3q/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt_sw_enabled.json \ vendor/samsung/e3q/proprietary/vendor/etc/sensors/sns_reg_config:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sns_reg_config \ + vendor/samsung/e3q/proprietary/vendor/etc/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ vendor/samsung/e3q/proprietary/vendor/etc/situation_audio_policy_volumes_sec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/situation_audio_policy_volumes_sec.xml \ vendor/samsung/e3q/proprietary/vendor/etc/snapdragon_color_libs_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/snapdragon_color_libs_config.xml \ vendor/samsung/e3q/proprietary/vendor/etc/ssg/ta_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/ta_config.json \ diff --git a/proprietary/vendor/bin/hw/android.hardware.audio.service b/proprietary/vendor/bin/hw/android.hardware.audio.service new file mode 100755 index 0000000..32bdef4 Binary files /dev/null and b/proprietary/vendor/bin/hw/android.hardware.audio.service differ diff --git a/proprietary/vendor/bin/hw/android.hardware.audio.service_64 b/proprietary/vendor/bin/hw/android.hardware.audio.service_64 new file mode 100755 index 0000000..32bdef4 Binary files /dev/null and b/proprietary/vendor/bin/hw/android.hardware.audio.service_64 differ diff --git a/proprietary/vendor/bin/hw/pm-proxy b/proprietary/vendor/bin/hw/pm-proxy new file mode 100755 index 0000000..0cf3168 Binary files /dev/null and b/proprietary/vendor/bin/hw/pm-proxy differ diff --git a/proprietary/vendor/bin/hw/secaudiohalaidl b/proprietary/vendor/bin/hw/secaudiohalaidl new file mode 100755 index 0000000..24a8e28 Binary files /dev/null and b/proprietary/vendor/bin/hw/secaudiohalaidl differ diff --git a/proprietary/vendor/etc/audio_policy_configuration.xml b/proprietary/vendor/etc/audio_policy_configuration.xml new file mode 100644 index 0000000..911dbf7 --- /dev/null +++ b/proprietary/vendor/etc/audio_policy_configuration.xml @@ -0,0 +1,528 @@ + + + + + + + + + + + + + + + + + + + Earpiece + Speaker + Telephony Tx + Built-In Mic + Built-In Back Mic + FM Tuner + Telephony Rx + Echo Reference + + Speaker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +