summaryrefslogtreecommitdiffstats
path: root/libtiutils/DebugUtils.cpp
diff options
context:
space:
mode:
authorDaniel Levin <dendy@ti.com>2012-05-29 15:33:53 +0300
committerDaniel Levin <dendy@ti.com>2012-07-25 08:56:45 -0500
commit21d4114f53d8d6c85db477437e51151591599f45 (patch)
tree8f69f8954f2d5215d727dfe56a63013f6c67e870 /libtiutils/DebugUtils.cpp
parent0db69e2a940fea8c70c8259d74358c6dfd6ff1bf (diff)
downloadhardware_ti_omap4-21d4114f53d8d6c85db477437e51151591599f45.zip
hardware_ti_omap4-21d4114f53d8d6c85db477437e51151591599f45.tar.gz
hardware_ti_omap4-21d4114f53d8d6c85db477437e51151591599f45.tar.bz2
CameraHAL: Moved Camera HAL sources out of namespace android
C++ namespace android:: is reserved for base Google Android types to avoid current and further conflicts with 3rd party code. Having TI Camera HAL under namespace android:: violates this rule, adding potential conflicts. This patch moves libtiutils and Camera HAL code out of namespace android:: to custom local namespaces. Putting camera code under namespace android and 'using namespace android' is not allowed anymore. All C++ Android types should have android:: namespace prefix explicitly. Next namespaces added: - Ti:: - placeholder for all custom code - Ti::Utils:: - common utility helper library - Ti::Camera:: - Camera HAL code Also added Ti::status_t as typedef for android::status_t. Change-Id: Ie8cc00d6d6bd4e8a8ddf089421010c370ee40ebe Signed-off-by: Daniel Levin <dendy@ti.com>
Diffstat (limited to 'libtiutils/DebugUtils.cpp')
-rw-r--r--libtiutils/DebugUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtiutils/DebugUtils.cpp b/libtiutils/DebugUtils.cpp
index 0165118..60ad0c8 100644
--- a/libtiutils/DebugUtils.cpp
+++ b/libtiutils/DebugUtils.cpp
@@ -53,7 +53,7 @@ Debug::Debug()
void Debug::grow()
{
- android::Mutex::Autolock locker(mMutex);
+ android::AutoMutex locker(mMutex);
(void)locker;
const int size = kDebugThreadInfoGrowSize;