Home | History | Annotate | Download | only in adb

Lines Matching full:c_str

244     return StartSubprocess(command.c_str(), terminal_type.c_str(), type, protocol);
336 (name + 7)).c_str(),
380 const char* serial = sinfo->serial.length() ? sinfo->serial.c_str() : NULL;
422 int fd = network_connect(host.c_str(), port, SOCK_STREAM, 10, &error);
425 serial.c_str(), error.c_str());
429 D("client: connected %s remote on fd %d", serial.c_str(), fd);
438 int ret = register_socket_transport(fd, serial.c_str(), port, 0);
441 *response = android::base::StringPrintf("already connected to %s", serial.c_str());
443 *response = android::base::StringPrintf("connected to %s", serial.c_str());
451 port_spec.c_str());
455 int console_port = strtol(pieces[0].c_str(), NULL, 0);
456 int adb_port = strtol(pieces[1].c_str(), NULL, 0);
458 *response = android::base::StringPrintf("Invalid port numbers: %s", port_spec.c_str());
490 console_port, adb_port, error.c_str());