common: Create dummy libqti-perfd-client
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future
[SebaUbuntu]: Cleanup Android.bp and add copyright header
Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
diff --git a/libqti-perfd-client/Android.bp b/libqti-perfd-client/Android.bp
new file mode 100644
index 0000000..1227532
--- /dev/null
+++ b/libqti-perfd-client/Android.bp
@@ -0,0 +1,14 @@
+//
+// Copyright (C) 2021 The LineageOS Project
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+
+cc_library_shared {
+ name: "libqti-perfd-client",
+ srcs: ["client.cpp"],
+ shared_libs: [
+ "libutils",
+ ],
+ vendor: true,
+}
diff --git a/libqti-perfd-client/client.cpp b/libqti-perfd-client/client.cpp
new file mode 100644
index 0000000..542a8b6
--- /dev/null
+++ b/libqti-perfd-client/client.cpp
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2021 The LineageOS Project
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+#include <stdint.h>
+
+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() {}
+}