Home | History | Annotate | Download | only in adb

Lines Matching refs:service

94     char service[64];
99 snprintf(service, sizeof service, "host:transport:%s", __adb_serial);
119 snprintf(service, sizeof service, "host:%s", transport_type);
121 len = strlen(service);
124 if(writex(fd, tmp, 4) || writex(fd, service, len)) {
176 int _adb_connect(const char *service)
182 D("_adb_connect: %s\n", service);
183 len = strlen(service);
185 strcpy(__adb_error, "service name too long");
200 if (memcmp(service,"host",4) != 0 && switch_socket_transport(fd)) {
204 if(writex(fd, tmp, 4) || writex(fd, service, len)) {
219 int adb_connect(const char *service)
224 D("adb_connect: service %s\n", service);
259 // if fd is -1, then check for "unknown host service",
261 if (strcmp(__adb_error, "unknown host service") != 0)
277 if (!strcmp(service, "host:start-server"))
280 fd = _adb_connect(service);
293 int adb_command(const char *service)
295 int fd = adb_connect(service);
308 char *adb_query(const char *service)
314 D("adb_query: %s\n", service);
315 int fd = adb_connect(service);