mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
sm6150-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 Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
This commit is contained in:
16
libqti-perfd-client/Android.bp
Normal file
16
libqti-perfd-client/Android.bp
Normal file
@@ -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",
|
||||
],
|
||||
}
|
||||
10
libqti-perfd-client/client.cpp
Normal file
10
libqti-perfd-client/client.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#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() {}
|
||||
}
|
||||
Reference in New Issue
Block a user