power: Use log/log.h instead of utils/Log.h

Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
This commit is contained in:
Ethan Chen
2018-03-01 21:31:15 -08:00
committed by Michael Bestas
parent 0b6459f08e
commit 48bfafcf39
12 changed files with 11 additions and 12 deletions

View File

@@ -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
View File

@@ -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) {

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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",