summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Block2012-01-05 17:22:43 -0600
committerAlex Ray2013-07-30 15:56:58 -0500
commit61d341b8d3d771f4ef3dd54df0502b19b7a2ab4d (patch)
tree91ab1ceb2a6e3ea784109793c138211acb4becee /libs/utils/Looper.cpp
parenta1d3391b1ec04dece202baf288f1741006afa552 (diff)
downloadplatform-system-core-61d341b8d3d771f4ef3dd54df0502b19b7a2ab4d.tar.gz
platform-system-core-61d341b8d3d771f4ef3dd54df0502b19b7a2ab4d.tar.xz
platform-system-core-61d341b8d3d771f4ef3dd54df0502b19b7a2ab4d.zip
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
Diffstat (limited to 'libs/utils/Looper.cpp')
-rw-r--r--libs/utils/Looper.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/utils/Looper.cpp b/libs/utils/Looper.cpp
index 1bc92cf88..28ed0e850 100644
--- a/libs/utils/Looper.cpp
+++ b/libs/utils/Looper.cpp
@@ -163,7 +163,7 @@ sp<Looper> Looper::prepare(int opts) {
163 Looper::setForThread(looper); 163 Looper::setForThread(looper);
164 } 164 }
165 if (looper->getAllowNonCallbacks() != allowNonCallbacks) { 165 if (looper->getAllowNonCallbacks() != allowNonCallbacks) {
166 LOGW("Looper already prepared for this thread with a different value for the " 166 ALOGW("Looper already prepared for this thread with a different value for the "
167 "ALOOPER_PREPARE_ALLOW_NON_CALLBACKS option."); 167 "ALOOPER_PREPARE_ALLOW_NON_CALLBACKS option.");
168 } 168 }
169 return looper; 169 return looper;
@@ -262,7 +262,7 @@ int Looper::pollInner(int timeoutMillis) {
262 if (errno == EINTR) { 262 if (errno == EINTR) {
263 goto Done; 263 goto Done;
264 } 264 }
265 LOGW("Poll failed with an unexpected error, errno=%d", errno); 265 ALOGW("Poll failed with an unexpected error, errno=%d", errno);
266 result = ALOOPER_POLL_ERROR; 266 result = ALOOPER_POLL_ERROR;
267 goto Done; 267 goto Done;
268 } 268 }
@@ -289,7 +289,7 @@ int Looper::pollInner(int timeoutMillis) {
289 if (epollEvents & EPOLLIN) { 289 if (epollEvents & EPOLLIN) {
290 awoken(); 290 awoken();
291 } else { 291 } else {
292 LOGW("Ignoring unexpected epoll events 0x%x on wake read pipe.", epollEvents); 292 ALOGW("Ignoring unexpected epoll events 0x%x on wake read pipe.", epollEvents);
293 } 293 }
294 } else { 294 } else {
295 ssize_t requestIndex = mRequests.indexOfKey(fd); 295 ssize_t requestIndex = mRequests.indexOfKey(fd);
@@ -301,7 +301,7 @@ int Looper::pollInner(int timeoutMillis) {
301 if (epollEvents & EPOLLHUP) events |= ALOOPER_EVENT_HANGUP; 301 if (epollEvents & EPOLLHUP) events |= ALOOPER_EVENT_HANGUP;
302 pushResponse(events, mRequests.valueAt(requestIndex)); 302 pushResponse(events, mRequests.valueAt(requestIndex));
303 } else { 303 } else {
304 LOGW("Ignoring unexpected epoll events 0x%x on fd %d that is " 304 ALOGW("Ignoring unexpected epoll events 0x%x on fd %d that is "
305 "no longer registered.", epollEvents, fd); 305 "no longer registered.", epollEvents, fd);
306 } 306 }
307 } 307 }
@@ -317,7 +317,7 @@ Done: ;
317 if (pollEvents & POLLIN) { 317 if (pollEvents & POLLIN) {
318 awoken(); 318 awoken();
319 } else { 319 } else {
320 LOGW("Ignoring unexpected poll events 0x%x on wake read pipe.", pollEvents); 320 ALOGW("Ignoring unexpected poll events 0x%x on wake read pipe.", pollEvents);
321 } 321 }
322 } else { 322 } else {
323 int events = 0; 323 int events = 0;
@@ -468,7 +468,7 @@ void Looper::wake() {
468 468
469 if (nWrite != 1) { 469 if (nWrite != 1) {
470 if (errno != EAGAIN) { 470 if (errno != EAGAIN) {
471 LOGW("Could not write wake signal, errno=%d", errno); 471 ALOGW("Could not write wake signal, errno=%d", errno);
472 } 472 }
473 } 473 }
474} 474}