sweet: Move libqti-perfd-client to common
Change-Id: I9cc683652a46ca08a6d9532b53773099c739ef52
This commit is contained in:
parent
885a5d01ae
commit
c30dfe1ecc
@ -1,17 +0,0 @@
|
|||||||
cc_library_shared {
|
|
||||||
name: "libqti-perfd-client",
|
|
||||||
proprietary: true,
|
|
||||||
defaults: ["hidl_defaults"],
|
|
||||||
srcs: [
|
|
||||||
"client.cpp",
|
|
||||||
],
|
|
||||||
cflags: [
|
|
||||||
"-Werror",
|
|
||||||
"-Wextra",
|
|
||||||
"-Wall",
|
|
||||||
],
|
|
||||||
shared_libs: [
|
|
||||||
"liblog",
|
|
||||||
"libutils",
|
|
||||||
],
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#define LOG_TAG "libqti-perfd-client"
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <log/log.h>
|
|
||||||
|
|
||||||
namespace android {
|
|
||||||
extern "C" void perf_get_feedback() {}
|
|
||||||
extern "C" void perf_hint() {}
|
|
||||||
extern "C" int perf_lock_acq(int handle, int duration, int arg3[], int arg4) {
|
|
||||||
ALOGI("perf_lock_acq: handle: %d, duration: %d, arg3[0]: %d, arg4: %d",
|
|
||||||
handle, duration, arg3[0], arg4);
|
|
||||||
if (handle > 0)
|
|
||||||
return handle;
|
|
||||||
|
|
||||||
return 233;
|
|
||||||
}
|
|
||||||
extern "C" void perf_lock_cmd() {}
|
|
||||||
extern "C" int perf_lock_rel(int handle) {
|
|
||||||
ALOGI("perf_lock_rel: handle: %d", handle);
|
|
||||||
if (handle > 0)
|
|
||||||
return handle;
|
|
||||||
|
|
||||||
return 233;
|
|
||||||
}
|
|
||||||
extern "C" void perf_lock_use_profile() {}
|
|
||||||
}
|
|
@ -14,8 +14,5 @@ ro.surface_flinger.set_display_power_timer_ms=1000
|
|||||||
ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
||||||
vendor.display.override_doze_mode=1
|
vendor.display.override_doze_mode=1
|
||||||
|
|
||||||
# Perf
|
|
||||||
ro.vendor.extension_library=libqti-perfd-client.so
|
|
||||||
|
|
||||||
# Fluence
|
# Fluence
|
||||||
ro.vendor.audio.sdk.fluencetype=fluence
|
ro.vendor.audio.sdk.fluencetype=fluence
|
||||||
|
Loading…
Reference in New Issue
Block a user