Change all occurances of LOGE to ALOGE, LOGW to ALOGW and LOGI to ALOGI due to change in Jelly Bean.
Signed-off-by: Charles Johnson <charles.f.johnson@intel.com>
modified: gralloc.c
modified: gralloc_drm.c
modified: gralloc_drm_intel.c
modified: gralloc_drm_kms.c
modified: gralloc_drm_nouveau.c
modified: gralloc_drm_pipe.c
modified: gralloc_drm_radeon.c
Change-Id: Idd9e533eab366d9f9dc199d961891255a66384a2
diff --git a/gralloc_drm_pipe.c b/gralloc_drm_pipe.c
index a66ce1a..83d02d1 100644
--- a/gralloc_drm_pipe.c
+++ b/gralloc_drm_pipe.c
@@ -122,13 +122,13 @@
if (templ.format == PIPE_FORMAT_NONE ||
!pm->screen->is_format_supported(pm->screen, templ.format,
templ.target, 0, templ.bind)) {
- LOGE("unsupported format 0x%x", handle->format);
+ ALOGE("unsupported format 0x%x", handle->format);
return NULL;
}
buf = CALLOC(1, sizeof(*buf));
if (!buf) {
- LOGE("failed to allocate pipe buffer");
+ ALOGE("failed to allocate pipe buffer");
return NULL;
}
@@ -175,7 +175,7 @@
return buf;
fail:
- LOGE("failed to allocate pipe buffer");
+ ALOGE("failed to allocate pipe buffer");
if (buf->resource)
pipe_resource_reference(&buf->resource, NULL);
FREE(buf);
@@ -233,7 +233,7 @@
if (!pm->context) {
pm->context = pm->screen->context_create(pm->screen, NULL);
if (!pm->context) {
- LOGE("failed to create pipe context");
+ ALOGE("failed to create pipe context");
err = -ENOMEM;
}
}
@@ -298,7 +298,7 @@
dst_bo->handle->height != src_bo->handle->height ||
dst_bo->handle->stride != src_bo->handle->stride ||
dst_bo->handle->format != src_bo->handle->format) {
- LOGE("copy between incompatible buffers");
+ ALOGE("copy between incompatible buffers");
return;
}
@@ -322,7 +322,7 @@
if (!pm->context) {
pm->context = pm->screen->context_create(pm->screen, NULL);
if (!pm->context) {
- LOGE("failed to create pipe context");
+ ALOGE("failed to create pipe context");
pthread_mutex_unlock(&pm->mutex);
return;
}
@@ -431,7 +431,7 @@
#endif
if (!screen) {
- LOGW("failed to create screen for %s", pm->driver);
+ ALOGW("failed to create screen for %s", pm->driver);
return -EINVAL;
}
@@ -538,7 +538,7 @@
pm = CALLOC(1, sizeof(*pm));
if (!pm) {
- LOGE("failed to allocate pipe manager for %s", name);
+ ALOGE("failed to allocate pipe manager for %s", name);
return NULL;
}