From 6b94039cca0669fb52a9f5ff2d578a3e79d629a7 Mon Sep 17 00:00:00 2001 From: Robert Lee Date: Thu, 21 Feb 2019 10:47:21 -0800 Subject: sthal: HSW 9.1 integration note: +Internal oscillator trimming using 32Khz ext oscillator from host. FW by default enable this and host has control to stop, start and set frequency. +Plugin set get param support from HOST1 +Removed redundant code from ST HAL plugin creations and model loads. +Only 2 sec buffer plugin is created when only hotword feature is enabled. if another ST model is selected then we will destroy 2 sec buffer and recreate 8 sec buffer with read pointer for 2 sec and 8 sec. Test: Manual test SoundTrigger features. Bug: 122871429 Bug: 123177333 Bug: 121286156 Bug: 122640303 Bug: 124878266 Bug: 124626705 Bug: 127721992 Bug: 127660934 Change-Id: Idcf3c4ac24ad176b68bc6593d05c7b160a606e46 --- Android.mk | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index 0dd6485..394e476 100644 --- a/Android.mk +++ b/Android.mk @@ -98,7 +98,11 @@ LOCAL_SRC_FILES := tests/sensor_param_test.c LOCAL_32_BIT_ONLY := true LOCAL_SHARED_LIBRARIES := liblog \ libutils \ - libcutils + libcutils \ + libtinyalsa +LOCAL_C_INCLUDES += external/tinyalsa/include \ + $(LOCAL_PATH)/../hal + include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) @@ -201,4 +205,22 @@ LOCAL_SHARED_LIBRARIES := libcutils \ include $(BUILD_EXECUTABLE) -endif \ No newline at end of file +include $(CLEAR_VARS) +LOCAL_MODULE := plugin_status_test +LOCAL_SRC_FILES := tests/plugin_status_test.c +LOCAL_VENDOR_MODULE := true +LOCAL_C_INCLUDES += $(LOCAL_PATH)/ +LOCAL_32_BIT_ONLY := true +LOCAL_SHARED_LIBRARIES := libcutils libodsp + +include $(BUILD_EXECUTABLE) + +include $(CLEAR_VARS) +LOCAL_MODULE := get_pwr_stats +LOCAL_SRC_FILES := tests/get_pwr_stats.c +LOCAL_C_INCLUDES += $(LOCAL_PATH)/ +LOCAL_32_BIT_ONLY := true +LOCAL_SHARED_LIBRARIES := libcutils liblog + +include $(BUILD_EXECUTABLE) +endif -- cgit v1.2.3