Lines Matching refs:fd
155 static void adb_auth_event(int fd, unsigned events, void *data)
162 ret = unix_read(fd, response, sizeof(response));
207 static void adb_auth_listener(int fd, unsigned events, void *data)
215 s = adb_socket_accept(fd, &addr, &alen);
226 int fd, ret;
231 fd = android_get_control_socket("adbd");
232 if (fd < 0) {
237 ret = listen(fd, 4);
239 D("Failed to listen on '%d'\n", fd);
243 fdevent_install(&listener_fde, fd, adb_auth_listener, NULL);