power: Use log/log.h instead of utils/Log.h
Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
This commit is contained in:
committed by
Michael Bestas
parent
0b6459f08e
commit
48bfafcf39
@@ -16,7 +16,6 @@ LOCAL_SHARED_LIBRARIES := \
|
|||||||
android.hardware.power-V3-ndk
|
android.hardware.power-V3-ndk
|
||||||
|
|
||||||
LOCAL_HEADER_LIBRARIES := \
|
LOCAL_HEADER_LIBRARIES := \
|
||||||
libutils_headers \
|
|
||||||
libhardware_headers
|
libhardware_headers
|
||||||
|
|
||||||
LOCAL_SRC_FILES := \
|
LOCAL_SRC_FILES := \
|
||||||
|
|||||||
2
list.c
2
list.c
@@ -31,7 +31,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
|
|
||||||
struct list_node* add_list_node(struct list_node* head, void* data) {
|
struct list_node* add_list_node(struct list_node* head, void* data) {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "hint-data.h"
|
#include "hint-data.h"
|
||||||
#include "metadata-defs.h"
|
#include "metadata-defs.h"
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "hint-data.h"
|
#include "hint-data.h"
|
||||||
#include "metadata-defs.h"
|
#include "metadata-defs.h"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "hint-data.h"
|
#include "hint-data.h"
|
||||||
#include "metadata-defs.h"
|
#include "metadata-defs.h"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "hint-data.h"
|
#include "hint-data.h"
|
||||||
#include "metadata-defs.h"
|
#include "metadata-defs.h"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "hint-data.h"
|
#include "hint-data.h"
|
||||||
#include "metadata-defs.h"
|
#include "metadata-defs.h"
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "hint-data.h"
|
#include "hint-data.h"
|
||||||
#include "metadata-defs.h"
|
#include "metadata-defs.h"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "hint-data.h"
|
#include "hint-data.h"
|
||||||
#include "metadata-defs.h"
|
#include "metadata-defs.h"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "hint-data.h"
|
#include "hint-data.h"
|
||||||
#include "performance.h"
|
#include "performance.h"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include "power-common.h"
|
#include "power-common.h"
|
||||||
|
|
||||||
|
|||||||
2
utils.c
2
utils.c
@@ -41,7 +41,7 @@
|
|||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#define LOG_TAG "QTI PowerHAL"
|
#define LOG_TAG "QTI PowerHAL"
|
||||||
#include <utils/Log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
char scaling_gov_path[4][80] = {"sys/devices/system/cpu/cpu0/cpufreq/scaling_governor",
|
char scaling_gov_path[4][80] = {"sys/devices/system/cpu/cpu0/cpufreq/scaling_governor",
|
||||||
"sys/devices/system/cpu/cpu1/cpufreq/scaling_governor",
|
"sys/devices/system/cpu/cpu1/cpufreq/scaling_governor",
|
||||||
|
|||||||
Reference in New Issue
Block a user