summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/framebuffer.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-08 10:17:53 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:03:25 +0000
commit60d056bf2926357260592409dee31374fa8e301b (patch)
tree9b55c71742bd4961b6f1ca7451798b8afd175648 /modules/gralloc/framebuffer.cpp
parentf678d4745081038659a72b7c581e00612647f25d (diff)
downloadhardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.zip
hardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.tar.gz
hardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.tar.bz2
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I0cbe865d464a37365fa3be84948b07e5a0d181d0
Diffstat (limited to 'modules/gralloc/framebuffer.cpp')
-rw-r--r--modules/gralloc/framebuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp
index cf18ed2..a37e2c0 100644
--- a/modules/gralloc/framebuffer.cpp
+++ b/modules/gralloc/framebuffer.cpp
@@ -98,7 +98,7 @@ static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer)
m->info.activate = FB_ACTIVATE_VBL;
m->info.yoffset = offset / m->finfo.line_length;
if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
- LOGE("FBIOPUT_VSCREENINFO failed");
+ ALOGE("FBIOPUT_VSCREENINFO failed");
m->base.unlock(&m->base, buffer);
return -errno;
}
@@ -280,7 +280,7 @@ int mapFrameBufferLocked(struct private_module_t* module)
void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
if (vaddr == MAP_FAILED) {
- LOGE("Error mapping the framebuffer (%s)", strerror(errno));
+ ALOGE("Error mapping the framebuffer (%s)", strerror(errno));
return -errno;
}
module->framebuffer->base = intptr_t(vaddr);