Rename (IF_)LOG() to (IF_)ALOG() DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/141576 Bug: 5449033 Change-Id: I42575e7c29cf1c0f465c357a5c97ab118df6f473
This commit is contained in:
parent
ea45b01f9b
commit
8b4cf779b2
|
@ -205,7 +205,7 @@ static __stdcall unsigned int threadIntermediary(void* vDetails)
|
|||
|
||||
delete pDetails;
|
||||
|
||||
LOG(LOG_VERBOSE, "thread", "thread exiting\n");
|
||||
ALOG(LOG_VERBOSE, "thread", "thread exiting\n");
|
||||
return (unsigned int) result;
|
||||
}
|
||||
|
||||
|
@ -232,7 +232,7 @@ static bool doCreateThread(android_thread_func_t fn, void* arg, android_thread_i
|
|||
if (hThread == NULL)
|
||||
#endif
|
||||
{
|
||||
LOG(LOG_WARN, "thread", "WARNING: thread create failed\n");
|
||||
ALOG(LOG_WARN, "thread", "WARNING: thread create failed\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -470,7 +470,7 @@ status_t Mutex::lock()
|
|||
void Mutex::unlock()
|
||||
{
|
||||
if (!ReleaseMutex((HANDLE) mState))
|
||||
LOG(LOG_WARN, "thread", "WARNING: bad result from unlocking mutex\n");
|
||||
ALOG(LOG_WARN, "thread", "WARNING: bad result from unlocking mutex\n");
|
||||
}
|
||||
|
||||
status_t Mutex::tryLock()
|
||||
|
@ -479,7 +479,7 @@ status_t Mutex::tryLock()
|
|||
|
||||
dwWaitResult = WaitForSingleObject((HANDLE) mState, 0);
|
||||
if (dwWaitResult != WAIT_OBJECT_0 && dwWaitResult != WAIT_TIMEOUT)
|
||||
LOG(LOG_WARN, "thread", "WARNING: bad result from try-locking mutex\n");
|
||||
ALOG(LOG_WARN, "thread", "WARNING: bad result from try-locking mutex\n");
|
||||
return (dwWaitResult == WAIT_OBJECT_0) ? 0 : -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ long long DurationTimer::durationUsecs(void) const
|
|||
/*static*/ void DurationTimer::addToTimeval(struct timeval* ptv, long usec)
|
||||
{
|
||||
if (usec < 0) {
|
||||
LOG(LOG_WARN, "", "Negative values not supported in addToTimeval\n");
|
||||
ALOG(LOG_WARN, "", "Negative values not supported in addToTimeval\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue