• Home
  • Raw
  • Download

Lines Matching refs:String16

57 static int sort_func(const String16* lhs, const String16* rhs)  in sort_func()
89 static bool IsSkipped(const Vector<String16>& skipped, const String16& service) { in IsSkipped()
98 static bool ConvertPriorityTypeToBitmask(const String16& type, int& bitmask) { in ConvertPriorityTypeToBitmask()
114 String16 ConvertBitmaskToPriorityType(int bitmask) { in ConvertBitmaskToPriorityType()
116 return String16(PriorityDumper::PRIORITY_ARG_CRITICAL); in ConvertBitmaskToPriorityType()
119 return String16(PriorityDumper::PRIORITY_ARG_HIGH); in ConvertBitmaskToPriorityType()
122 return String16(PriorityDumper::PRIORITY_ARG_NORMAL); in ConvertBitmaskToPriorityType()
124 return String16(""); in ConvertBitmaskToPriorityType()
128 Vector<String16> services; in main()
129 Vector<String16> args; in main()
130 String16 priorityType; in main()
131 Vector<String16> skippedServices; in main()
132 Vector<String16> protoServices; in main()
169 priorityType = String16(String8(optarg)); in main()
228 skippedServices.add(String16(argv[i])); in main()
231 services.add(String16(argv[i])); in main()
233 const String16 arg(argv[i]); in main()
237 if (!asProto && !arg.compare(String16(PriorityDumper::PROTO_ARG))) { in main()
275 const String16& serviceName = services[i]; in main()
307 Vector<String16> Dumpsys::listServices(int priorityFilterFlags, bool filterByProto) const { in listServices()
308 Vector<String16> services = sm_->listServices(priorityFilterFlags); in listServices()
311 Vector<String16> protoServices = sm_->listServices(IServiceManager::DUMP_FLAG_PROTO); in listServices()
313 Vector<String16> intersection; in listServices()
321 void Dumpsys::setServiceArgs(Vector<String16>& args, bool asProto, int priorityFlags) { in setServiceArgs()
324 args.insertAt(String16(PriorityDumper::PROTO_ARG), 0); in setServiceArgs()
332 args.insertAt(String16("-a"), 0); in setServiceArgs()
339 String16 priorityType = ConvertBitmaskToPriorityType(priorityFlags); in setServiceArgs()
340 args.insertAt(String16(PriorityDumper::PRIORITY_ARG), 0); in setServiceArgs()
409 static void reportDumpError(const String16& serviceName, status_t error, const char* context) { in reportDumpError()
416 status_t Dumpsys::startDumpThread(int dumpTypeFlags, const String16& serviceName, in startDumpThread()
417 const Vector<String16>& args) { in startDumpThread()
473 void Dumpsys::writeDumpHeader(int fd, const String16& serviceName, int priorityFlags) const { in writeDumpHeader()
482 String16 priorityType = ConvertBitmaskToPriorityType(priorityFlags); in writeDumpHeader()
489 status_t Dumpsys::writeDump(int fd, const String16& serviceName, std::chrono::milliseconds timeout, in writeDump()
555 void Dumpsys::writeDumpFooter(int fd, const String16& serviceName, in writeDumpFooter()