summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-10-20 11:56:21 +0100
committerSteve Block <steveblock@google.com>2011-10-26 09:57:47 +0100
commit6bf500940c8089b853a08e9ce81a89e85903a152 (patch)
treef382c2e07c8890b1bb526affe56174492c91192f
parent19fadbdbd9f7d24ad29ffaecc1d31260697425a9 (diff)
downloaddevice_samsung_tuna-6bf500940c8089b853a08e9ce81a89e85903a152.zip
device_samsung_tuna-6bf500940c8089b853a08e9ce81a89e85903a152.tar.gz
device_samsung_tuna-6bf500940c8089b853a08e9ce81a89e85903a152.tar.bz2
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: Iab0aa050fba57491f5cb7ed928f44a0fda7d1ea4
-rwxr-xr-xaudio/audio_hw.c10
-rw-r--r--liblight/lights.c4
-rw-r--r--libsensors/sensors.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index db30fbf..97cdf4d 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -1244,7 +1244,7 @@ static int get_playback_delay(struct tuna_stream_out *out,
buffer->time_stamp.tv_sec = 0;
buffer->time_stamp.tv_nsec = 0;
buffer->delay_ns = 0;
- LOGV("get_playback_delay(): pcm_get_htimestamp error,"
+ ALOGV("get_playback_delay(): pcm_get_htimestamp error,"
"setting playbackTimestamp to 0");
return status;
}
@@ -1758,7 +1758,7 @@ static void get_capture_delay(struct tuna_stream_in *in,
buffer->time_stamp = tstamp;
buffer->delay_ns = delay_ns;
- LOGV("get_capture_delay time_stamp = [%ld].[%ld], delay_ns: [%d],"
+ ALOGV("get_capture_delay time_stamp = [%ld].[%ld], delay_ns: [%d],"
" kernel_delay:[%ld], buf_delay:[%ld], rsmp_delay:[%ld], kernel_frames:[%d], "
"in->frames_in:[%d], in->proc_frames_in:[%d], frames:[%d]",
buffer->time_stamp.tv_sec , buffer->time_stamp.tv_nsec, buffer->delay_ns,
@@ -1772,7 +1772,7 @@ static int32_t update_echo_reference(struct tuna_stream_in *in, size_t frames)
struct echo_reference_buffer b;
b.delay_ns = 0;
- LOGV("update_echo_reference, frames = [%d], in->ref_frames_in = [%d], "
+ ALOGV("update_echo_reference, frames = [%d], in->ref_frames_in = [%d], "
"b.frame_count = [%d]",
frames, in->ref_frames_in, frames - in->ref_frames_in);
if (in->ref_frames_in < frames) {
@@ -1791,7 +1791,7 @@ static int32_t update_echo_reference(struct tuna_stream_in *in, size_t frames)
if (in->echo_reference->read(in->echo_reference, &b) == 0)
{
in->ref_frames_in += b.frame_count;
- LOGV("update_echo_reference: in->ref_frames_in:[%d], "
+ ALOGV("update_echo_reference: in->ref_frames_in:[%d], "
"in->ref_buf_size:[%d], frames:[%d], b.frame_count:[%d]",
in->ref_frames_in, in->ref_buf_size, frames, b.frame_count);
}
@@ -1978,7 +1978,7 @@ static ssize_t process_frames(struct tuna_stream_in *in, void* buffer, ssize_t f
in->proc_buf = (int16_t *)realloc(in->proc_buf,
in->proc_buf_size *
in->config.channels * sizeof(int16_t));
- LOGV("process_frames(): in->proc_buf %p size extended to %d frames",
+ ALOGV("process_frames(): in->proc_buf %p size extended to %d frames",
in->proc_buf, in->proc_buf_size);
}
frames_rd = read_frames(in,
diff --git a/liblight/lights.c b/liblight/lights.c
index 8c675b2..52bce3f 100644
--- a/liblight/lights.c
+++ b/liblight/lights.c
@@ -54,7 +54,7 @@ static int write_int(char const *path, int value)
already_warned = 0;
- LOGV("write_int: path %s, value %d", path, value);
+ ALOGV("write_int: path %s, value %d", path, value);
fd = open(path, O_RDWR);
if (fd >= 0) {
@@ -95,7 +95,7 @@ static int set_light_backlight(struct light_device_t *dev,
static int close_lights(struct light_device_t *dev)
{
- LOGV("close_light is called");
+ ALOGV("close_light is called");
if (dev)
free(dev);
diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp
index 450dbd5..96f128d 100644
--- a/libsensors/sensors.cpp
+++ b/libsensors/sensors.cpp
@@ -16,7 +16,7 @@
#define LOG_NDEBUG 0
#define LOG_TAG "Sensors"
-//#define FUNC_LOG LOGV("%s", __PRETTY_FUNCTION__)
+//#define FUNC_LOG ALOGV("%s", __PRETTY_FUNCTION__)
#define FUNC_LOG
#include <hardware/sensors.h>