Lines Matching refs:connection
23 #include "android/protocol/core-connection.h"
98 // Create sync connection to the console.
106 // Upon successful connection the console will reply with two strings:
125 derror("console has failed the connection: %s\n", buf);
330 CoreConnection* connection = NULL;
333 connection = core_connection_create(console_socket);
334 if (connection == NULL) {
337 if (core_connection_open(connection)) {
338 core_connection_free(connection);
344 if (core_connection_switch_stream(connection, switch_cmd, handshake)) {
345 core_connection_close(connection);
346 core_connection_free(connection);
350 return connection;