Lines Matching refs:serviceName

252         const String16& serviceName = services[i];  in main()  local
253 if (IsSkipped(skippedServices, serviceName)) continue; in main()
255 if (startDumpThread(type, serviceName, args) == OK) { in main()
258 writeDumpHeader(STDOUT_FILENO, serviceName, priorityFlags); in main()
263 writeDump(STDOUT_FILENO, serviceName, std::chrono::milliseconds(timeoutArgMs), in main()
268 << "*** SERVICE '" << serviceName << "' DUMP TIMEOUT (" << timeoutArgMs in main()
274 writeDumpFooter(STDOUT_FILENO, serviceName, elapsedDuration); in main()
332 status_t Dumpsys::startDumpThread(Type type, const String16& serviceName, in startDumpThread() argument
334 sp<IBinder> service = sm_->checkService(serviceName); in startDumpThread()
336 std::cerr << "Can't find service: " << serviceName << std::endl; in startDumpThread()
342 std::cerr << "Failed to create pipe to dump service info for " << serviceName << ": " in startDumpThread()
369 << serviceName << std::endl; in startDumpThread()
385 void Dumpsys::writeDumpHeader(int fd, const String16& serviceName, int priorityFlags) const { in writeDumpHeader() argument
392 StringAppendF(&msg, "DUMP OF SERVICE %s:\n", String8(serviceName).c_str()); in writeDumpHeader()
396 String8(serviceName).c_str()); in writeDumpHeader()
401 status_t Dumpsys::writeDump(int fd, const String16& serviceName, std::chrono::milliseconds timeout, in writeDump() argument
426 std::cerr << "Error in poll while dumping service " << serviceName << " : " in writeDump()
438 std::cerr << "Failed to read while dumping service " << serviceName << ": " in writeDump()
448 std::cerr << "Failed to write while dumping service " << serviceName << ": " in writeDump()
458 String8(serviceName).string(), timeout.count()); in writeDump()
467 void Dumpsys::writeDumpFooter(int fd, const String16& serviceName, in writeDumpFooter() argument
477 elapsedDuration.count(), String8(serviceName).string(), oss.str().c_str()); in writeDumpFooter()