From c30dfe1ecc61ae278da469cb51edd339950b88a1 Mon Sep 17 00:00:00 2001 From: basamaryan Date: Sun, 4 Jun 2023 03:18:20 +0530 Subject: [PATCH] sweet: Move libqti-perfd-client to common Change-Id: I9cc683652a46ca08a6d9532b53773099c739ef52 --- libqti-perfd-client/Android.bp | 17 ----------------- libqti-perfd-client/client.cpp | 26 -------------------------- vendor.prop | 3 --- 3 files changed, 46 deletions(-) delete mode 100644 libqti-perfd-client/Android.bp delete mode 100644 libqti-perfd-client/client.cpp diff --git a/libqti-perfd-client/Android.bp b/libqti-perfd-client/Android.bp deleted file mode 100644 index 77f9332..0000000 --- a/libqti-perfd-client/Android.bp +++ /dev/null @@ -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", - ], -} diff --git a/libqti-perfd-client/client.cpp b/libqti-perfd-client/client.cpp deleted file mode 100644 index d125c66..0000000 --- a/libqti-perfd-client/client.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#define LOG_TAG "libqti-perfd-client" - -#include -#include - -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() {} -} diff --git a/vendor.prop b/vendor.prop index b6300d4..8723b11 100644 --- a/vendor.prop +++ b/vendor.prop @@ -14,8 +14,5 @@ ro.surface_flinger.set_display_power_timer_ms=1000 ro.surface_flinger.use_content_detection_for_refresh_rate=true vendor.display.override_doze_mode=1 -# Perf -ro.vendor.extension_library=libqti-perfd-client.so - # Fluence ro.vendor.audio.sdk.fluencetype=fluence