summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2018-07-06 12:43:30 -0700
committer Steven Moreland <smoreland@google.com> 2018-08-07 17:16:55 -0700
commitef086dd89daf8b94e788785f2a6c25c2f48e44ea (patch)
tree226816516835f88860b8a9eb0e27ea51f4490b34
parent2d0d167ea5e12e0a05c54fd1ef37446549d0836a (diff)
libbinder: -case in 'Waiting for service' log.
This log used to distinguish between vendor and system services, but I'm simplifying it here to just print the devnode. Bug: N/A Test: boot device Change-Id: Ie10042caf5d28c59e54a832a6bf7b140f6251265
-rw-r--r--libs/binder/IServiceManager.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/binder/IServiceManager.cpp b/libs/binder/IServiceManager.cpp
index d0ed31eb58..c44a17ec25 100644
--- a/libs/binder/IServiceManager.cpp
+++ b/libs/binder/IServiceManager.cpp
@@ -161,12 +161,8 @@ public:
int n = 0;
while (uptimeMillis() < timeout) {
n++;
- if (isVendorService) {
- ALOGI("Waiting for vendor service %s...", String8(name).string());
- CallStack stack(LOG_TAG);
- } else if (n%10 == 0) {
- ALOGI("Waiting for service %s...", String8(name).string());
- }
+ ALOGI("Waiting for service '%s' on '%s'...", String8(name).string(),
+ ProcessState::self()->getDriverName().c_str());
usleep(1000*sleepTime);
sp<IBinder> svc = checkService(name);