diff options
author | Steve Block <steveblock@google.com> | 2012-01-08 10:18:45 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-08 11:03:25 +0000 |
commit | 46de639b23db99d7b99ff1c676ac98b84b6336c6 (patch) | |
tree | 8a13cf643d5f01f35b2e4ef547e1ffad43f4f61f /test/CameraHal | |
parent | e158d63111a2547aee847e19aaa6fa6fce14ffe2 (diff) | |
download | hardware_ti_omap4xxx-46de639b23db99d7b99ff1c676ac98b84b6336c6.zip hardware_ti_omap4xxx-46de639b23db99d7b99ff1c676ac98b84b6336c6.tar.gz hardware_ti_omap4xxx-46de639b23db99d7b99ff1c676ac98b84b6336c6.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.cpp | 12 |
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; } |