summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuzhen Wang <shuzhenw@codeaurora.org>2013-10-30 11:51:11 -0700
committerAli B <abittin@gmail.com>2018-06-17 19:19:51 +0300
commit4284a5140c0cc2199982454df5e373c6cb49f75f (patch)
tree7722792366ec6e5d58719c1127f852e5959fb729
parentea8ccdf3333614de3bbebccf36c1ff456dd88ad9 (diff)
Camera3: Reduce log spam
Bug: 11431304 Change-Id: I9f641188d3ae5c131ed1cd687300cc2b8ccd380e Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
-rwxr-xr-xcamera/QCamera2/HAL3/QCamera3HWI.cpp4
-rw-r--r--camera/QCamera2/HAL3/QCamera3Mem.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/camera/QCamera2/HAL3/QCamera3HWI.cpp b/camera/QCamera2/HAL3/QCamera3HWI.cpp
index 24073d4..7da7891 100755
--- a/camera/QCamera2/HAL3/QCamera3HWI.cpp
+++ b/camera/QCamera2/HAL3/QCamera3HWI.cpp
@@ -3065,7 +3065,7 @@ int QCamera3HardwareInterface::translateMetadataToParameters(
frame_settings.find(ANDROID_CONTROL_AE_MODE).data.u8[0];
if (fwk_aeMode > ANDROID_CONTROL_AE_MODE_ON) {
respectFlashMode = 0;
- ALOGI("%s: AE Mode controls flash, ignore android.flash.mode",
+ ALOGV("%s: AE Mode controls flash, ignore android.flash.mode",
__func__);
}
}
@@ -3075,7 +3075,7 @@ int QCamera3HardwareInterface::translateMetadataToParameters(
flashMode = (int32_t)lookupHalName(FLASH_MODES_MAP,
sizeof(FLASH_MODES_MAP),
flashMode);
- ALOGI("%s: flash mode after mapping %d", __func__, flashMode);
+ ALOGV("%s: flash mode after mapping %d", __func__, flashMode);
// To check: CAM_INTF_META_FLASH_MODE usage
rc = AddSetParmEntryToBatch(mParameters, CAM_INTF_PARM_LED_MODE,
sizeof(flashMode), &flashMode);
diff --git a/camera/QCamera2/HAL3/QCamera3Mem.cpp b/camera/QCamera2/HAL3/QCamera3Mem.cpp
index 7ec2808..85e12cc 100644
--- a/camera/QCamera2/HAL3/QCamera3Mem.cpp
+++ b/camera/QCamera2/HAL3/QCamera3Mem.cpp
@@ -27,7 +27,7 @@
*
*/
-#define LOG_TAG "QCameraHWI_Mem"
+#define LOG_TAG "QCamera3HWI_Mem"
#include <string.h>
#include <fcntl.h>
@@ -630,7 +630,7 @@ int QCamera3GrallocMemory::registerBuffers(uint32_t num_buffers, buffer_handle_t
ALOGE("%s: ion free failed", __func__);
}
close(mMemInfo[i].main_ion_fd);
- ALOGD("%s: cancel_buffer: hdl =%p", __func__, (*mBufferHandle[i]));
+ ALOGV("%s: cancel_buffer: hdl =%p", __func__, (*mBufferHandle[i]));
mBufferHandle[i] = NULL;
}
memset(&mMemInfo, 0, sizeof(mMemInfo));
@@ -657,7 +657,7 @@ int QCamera3GrallocMemory::registerBuffers(uint32_t num_buffers, buffer_handle_t
goto end;
}
}
- ALOGD("%s: idx = %d, fd = %d, size = %d, offset = %d",
+ ALOGV("%s: idx = %d, fd = %d, size = %d, offset = %d",
__func__, cnt, mPrivateHandle[cnt]->fd,
mPrivateHandle[cnt]->size,
mPrivateHandle[cnt]->offset);
@@ -712,7 +712,7 @@ void QCamera3GrallocMemory::unregisterBuffers()
ALOGE("ion free failed");
}
close(mMemInfo[cnt].main_ion_fd);
- ALOGD("put buffer %d successfully", cnt);
+ ALOGV("put buffer %d successfully", cnt);
}
mBufferCount = 0;
ALOGV(" %s : X ",__FUNCTION__);