Lines Matching refs:socket
78 * Send an ADB command using existing socket connection
80 * the streams provided must be from a socket connected to adbd already
82 * @param is input stream of the socket connection
83 * @param os output stream of the socket
104 * Get a tcp socket connection to specified IP address and port proxied by adb
106 * The proxying is transparent, e.g. if a socket is returned, then it can be written to and
115 Socket socket = new Socket(ADB_HOST, ADB_PORT);
117 if(!sendAdbCmd(socket.getInputStream(), socket.getOutputStream(), cmd)) {
118 socket.close();
121 return socket;
123 Log.w(LOGTAG, "error creating adb socket", ioe);