diff --git a/device.mk b/device.mk index a9dfb85..4d25c08 100644 --- a/device.mk +++ b/device.mk @@ -236,6 +236,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ netutils-wrapper-1.0 +# Perfd (dummy) +PRODUCT_PACKAGES += \ + libqti-perfd-client + # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ diff --git a/libqti-perfd-client/Android.bp b/libqti-perfd-client/Android.bp new file mode 100644 index 0000000..e5cb610 --- /dev/null +++ b/libqti-perfd-client/Android.bp @@ -0,0 +1,16 @@ +cc_library_shared { + name: "libqti-perfd-client", + proprietary: true, + defaults: ["hidl_defaults"], + srcs: [ + "client.cpp", + ], + cflags: [ + "-Werror", + "-Wextra", + "-Wall", + ], + shared_libs: [ + "libutils", + ], +} diff --git a/libqti-perfd-client/client.cpp b/libqti-perfd-client/client.cpp new file mode 100644 index 0000000..58d56c7 --- /dev/null +++ b/libqti-perfd-client/client.cpp @@ -0,0 +1,10 @@ +#include + +namespace android { + extern "C" void perf_get_feedback() {} + extern "C" void perf_hint() {} + extern "C" void perf_lock_acq() {} + extern "C" void perf_lock_cmd() {} + extern "C" void perf_lock_rel() {} + extern "C" void perf_lock_use_profile() {} +}