summaryrefslogtreecommitdiffstats
path: root/test/CameraHal
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-08 10:18:45 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:03:25 +0000
commit98d12a6a6b49cb23cd04178ac23c955603e050b9 (patch)
tree801ec2a6c67a58d2813b7ac672855b8690dbb09c /test/CameraHal
parent415162e2ae498b32447d6e5ab580d9c3d6b9accd (diff)
downloadhardware_ti_omap4-98d12a6a6b49cb23cd04178ac23c955603e050b9.zip
hardware_ti_omap4-98d12a6a6b49cb23cd04178ac23c955603e050b9.tar.gz
hardware_ti_omap4-98d12a6a6b49cb23cd04178ac23c955603e050b9.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: I7d131473964d92c62a495d082a1207867f435885
Diffstat (limited to 'test/CameraHal')
-rw-r--r--test/CameraHal/camera_test_menu.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CameraHal/camera_test_menu.cpp b/test/CameraHal/camera_test_menu.cpp
index f8ef2b1..69f1c65 100644
--- a/test/CameraHal/camera_test_menu.cpp
+++ b/test/CameraHal/camera_test_menu.cpp
@@ -513,19 +513,19 @@ void saveFile(const sp<IMemory>& mem) {
sprintf(fn, "/sdcard/preview%03d.yuv", counter);
fd = open(fn, O_CREAT | O_WRONLY | O_TRUNC, 0777);
if(fd < 0) {
- LOGE("Unable to open file %s: %s", fn, strerror(fd));
+ ALOGE("Unable to open file %s: %s", fn, strerror(fd));
goto out;
}
size = mem->size();
if (size <= 0) {
- LOGE("IMemory object is of zero size");
+ ALOGE("IMemory object is of zero size");
goto out;
}
buff = (unsigned char *)mem->pointer();
if (!buff) {
- LOGE("Buffer pointer is invalid");
+ ALOGE("Buffer pointer is invalid");
goto out;
}
@@ -603,19 +603,19 @@ void my_jpeg_callback(const sp<IMemory>& mem) {
fd = open(fn, O_CREAT | O_WRONLY | O_TRUNC, 0777);
if(fd < 0) {
- LOGE("Unable to open file %s: %s", fn, strerror(fd));
+ ALOGE("Unable to open file %s: %s", fn, strerror(fd));
goto out;
}
size = mem->size();
if (size <= 0) {
- LOGE("IMemory object is of zero size");
+ ALOGE("IMemory object is of zero size");
goto out;
}
buff = (unsigned char *)mem->pointer();
if (!buff) {
- LOGE("Buffer pointer is invalid");
+ ALOGE("Buffer pointer is invalid");
goto out;
}