diff options
author | Steve Block <steveblock@google.com> | 2012-01-06 19:20:56 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-08 13:19:13 +0000 |
commit | 3762c311729fe9f3af085c14c5c1fb471d994c03 (patch) | |
tree | 7d4caccad80ac7327c7bff96dafc857d5f4631ad /libs/rs/rsSignal.cpp | |
parent | 7a939077bd14521c7d351af98df7ed75a8ec9c15 (diff) | |
download | frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.zip frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.tar.gz frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.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: Ic9c19d30693bd56755f55906127cd6bd7126096c
Diffstat (limited to 'libs/rs/rsSignal.cpp')
-rw-r--r-- | libs/rs/rsSignal.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/rs/rsSignal.cpp b/libs/rs/rsSignal.cpp index 413ac2b..3f6a13c 100644 --- a/libs/rs/rsSignal.cpp +++ b/libs/rs/rsSignal.cpp @@ -32,13 +32,13 @@ Signal::~Signal() { bool Signal::init() { int status = pthread_mutex_init(&mMutex, NULL); if (status) { - LOGE("LocklessFifo mutex init failure"); + ALOGE("LocklessFifo mutex init failure"); return false; } status = pthread_cond_init(&mCondition, NULL); if (status) { - LOGE("LocklessFifo condition init failure"); + ALOGE("LocklessFifo condition init failure"); pthread_mutex_destroy(&mMutex); return false; } @@ -51,7 +51,7 @@ void Signal::set() { status = pthread_mutex_lock(&mMutex); if (status) { - LOGE("LocklessCommandFifo: error %i locking for set condition.", status); + ALOGE("LocklessCommandFifo: error %i locking for set condition.", status); return; } @@ -59,12 +59,12 @@ void Signal::set() { status = pthread_cond_signal(&mCondition); if (status) { - LOGE("LocklessCommandFifo: error %i on set condition.", status); + ALOGE("LocklessCommandFifo: error %i on set condition.", status); } status = pthread_mutex_unlock(&mMutex); if (status) { - LOGE("LocklessCommandFifo: error %i unlocking for set condition.", status); + ALOGE("LocklessCommandFifo: error %i unlocking for set condition.", status); } } @@ -74,7 +74,7 @@ bool Signal::wait(uint64_t timeout) { status = pthread_mutex_lock(&mMutex); if (status) { - LOGE("LocklessCommandFifo: error %i locking for condition.", status); + ALOGE("LocklessCommandFifo: error %i locking for condition.", status); return false; } @@ -96,13 +96,13 @@ bool Signal::wait(uint64_t timeout) { ret = true; } else { if (status != ETIMEDOUT) { - LOGE("LocklessCommandFifo: error %i waiting for condition.", status); + ALOGE("LocklessCommandFifo: error %i waiting for condition.", status); } } status = pthread_mutex_unlock(&mMutex); if (status) { - LOGE("LocklessCommandFifo: error %i unlocking for condition.", status); + ALOGE("LocklessCommandFifo: error %i unlocking for condition.", status); } return ret; |