summaryrefslogtreecommitdiffstats
path: root/camera/OMXCameraAdapter
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-11-17 11:39:33 -0800
committerIliyan Malchev <malchev@google.com>2011-11-17 11:45:46 -0800
commite46394481e771dbdc8683645c3740a3d262a3d0f (patch)
tree8776f679e0ddfa49cf3151fee9e4fec61cc74c3c /camera/OMXCameraAdapter
parent78dac813ae2c442dd0669db208abd3720d0ea6c4 (diff)
downloadhardware_ti_omap4xxx-e46394481e771dbdc8683645c3740a3d262a3d0f.zip
hardware_ti_omap4xxx-e46394481e771dbdc8683645c3740a3d262a3d0f.tar.gz
hardware_ti_omap4xxx-e46394481e771dbdc8683645c3740a3d262a3d0f.tar.bz2
CameraHAL: clean up logs
-- introduce CAMHAL_LOGI so that we don't have to dump informational messages as LOGE -- convert some verbose messages to CAMHAL_LOGDB -- convert most frequent non-error log messages to CAMHAL_LOGI Change-Id: I8afc24aa17da2c157b7b37300a79b4cde81f87e5 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'camera/OMXCameraAdapter')
-rwxr-xr-xcamera/OMXCameraAdapter/OMXCameraAdapter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
index 10b7516..ee818ae 100755
--- a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
+++ b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
@@ -297,7 +297,7 @@ status_t OMXCameraAdapter::initialize(CameraProperties::Properties* caps)
EXIT:
- CAMHAL_LOGEB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
+ CAMHAL_LOGDB("Exiting function %s because of ret %d eError=%x", __FUNCTION__, ret, eError);
performCleanupAfterError();
LOG_FUNCTION_NAME_EXIT;
return ErrorUtils::omxToAndroidError(eError);
@@ -2736,7 +2736,7 @@ OMX_ERRORTYPE OMXCameraAdapter::SignalEvent(OMX_IN OMX_HANDLETYPE hComponent,
}
else
{
- CAMHAL_LOGEA("Event queue empty!!!");
+ CAMHAL_LOGDA("Event queue empty!!!");
}
LOG_FUNCTION_NAME_EXIT;
@@ -3327,7 +3327,7 @@ bool OMXCameraAdapter::CommandHandler::Handler()
}
case CommandHandler::COMMAND_EXIT:
{
- CAMHAL_LOGEA("Exiting command handler");
+ CAMHAL_LOGDA("Exiting command handler");
forever = 0;
break;
}
@@ -3369,7 +3369,7 @@ bool OMXCameraAdapter::OMXCallbackHandler::Handler()
}
case CommandHandler::COMMAND_EXIT:
{
- CAMHAL_LOGEA("Exiting OMX callback handler");
+ CAMHAL_LOGDA("Exiting OMX callback handler");
forever = 0;
break;
}