Home
last modified time | relevance | path

Searched refs:port (Results 1 – 23 of 23) sorted by relevance

/sdk/emulator/opengl/shared/OpenglCodecCommon/
DTcpStream.cpp48 int port = emugl::socketGetPort(m_sock); in listen() local
49 if (port < 0) { in listen()
54 snprintf(addrstr, MAX_ADDRSTR_LEN - 1, "%hu", port); in listen()
69 int port = atoi(addr); in connect() local
70 m_sock = emugl::socketTcpLoopbackClient(port, SOCK_STREAM); in connect()
74 int TcpStream::connect(const char* hostname, unsigned short port) in connect() argument
76 m_sock = emugl::socketTcpClient(hostname, port, SOCK_STREAM); in connect()
DTcpStream.h27 int connect(const char* hostname, unsigned short port);
/sdk/emulator/opengl/shared/emugl/common/
Dsockets.cpp69 int initFromInet(uint32_t ip_address, int port) { in initFromInet()
70 if (port < 0 || port >= 65536) in initFromInet()
75 this->inet.sin_port = htons(port); in initFromInet()
81 int initFromLocalhost(int port) { in initFromLocalhost()
82 return initFromInet(0x7f000001, port); in initFromLocalhost()
191 int socketTcpLoopbackServer(int port, int socketType) { in socketTcpLoopbackServer() argument
193 int ret = addr.initFromLocalhost(port); in socketTcpLoopbackServer()
200 int socketTcpLoopbackClient(int port, int socketType) { in socketTcpLoopbackClient() argument
202 int ret = addr.initFromLocalhost(port); in socketTcpLoopbackClient()
209 int socketTcpClient(const char* hostname, int port, int socketType) { in socketTcpClient() argument
Dsockets.h40 int socketTcpLoopbackServer(int port, int socketType);
44 int socketTcpLoopbackClient(int port, int socketType);
48 int socketTcpClient(const char* hostname, int port, int socketType);
/sdk/emulator/opengl/tests/event_injector/
Dsockets.h180 uint16_t port; member
184 uint16_t port; member
200 void sock_address_init_inet( SockAddress* a, uint32_t ip, uint16_t port );
206 void sock_address_init_in6 ( SockAddress* a, const uint8_t* ip6[16], uint16_t port );
234 void sock_address_set_port( SockAddress* a, uint16_t port );
256 uint16_t port,
289 const char* port,
397 int socket_loopback_server( int port, SocketType type );
400 int socket_loopback_client( int port, SocketType type );
413 int socket_network_client( const char* host, int port, SocketType type );
[all …]
Dsockets.c247 sock_address_init_inet( SockAddress* a, uint32_t ip, uint16_t port ) in sock_address_init_inet() argument
250 a->u.inet.port = port; in sock_address_init_inet()
255 sock_address_init_in6 ( SockAddress* a, const uint8_t* ip6[16], uint16_t port ) in sock_address_init_in6() argument
258 a->u.in6.port = port; in sock_address_init_in6()
385 buf = format_unsigned( buf, end, (unsigned) a->u.inet.port ); in sock_address_to_string()
391 buf = format_unsigned( buf, end, (unsigned) a->u.in6.port ); in sock_address_to_string()
414 a->u.inet.port == b->u.inet.port); in sock_address_equal()
418 a->u.in6.port == b->u.in6.port); in sock_address_equal()
433 return a->u.inet.port; in sock_address_get_port()
435 return a->u.in6.port; in sock_address_get_port()
[all …]
DEventInjector.cpp27 EventInjectorPrivate(int port) { in EventInjectorPrivate() argument
29 mConsole = emulatorConsole_new(port, mLooper); in EventInjectorPrivate()
Demulator-console.h32 EmulatorConsole* emulatorConsole_new(int port, IoLooper* looper);
Demulator-console.c206 emulatorConsole_new(int port, IoLooper* looper) in emulatorConsole_new() argument
214 sock_address_init_inet(&con->address, SOCK_ADDRESS_INET_LOOPBACK, port); in emulatorConsole_new()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DDeviceBridge.java93 public static boolean startViewServer(IDevice device, int port) { in startViewServer() argument
98 device.executeShellCommand(buildStartServerShellCommand(port), in startViewServer()
188 Integer port = devicePortMap.get(device); in getDeviceLocalPort() local
189 if (port != null) { in getDeviceLocalPort()
190 return port; in getDeviceLocalPort()
199 private static String buildStartServerShellCommand(int port) { in buildStartServerShellCommand() argument
201 Configuration.SERVICE_CODE_START_SERVER, port); in buildStartServerShellCommand()
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/
DStaticPortConfigDialog.java179 int port = dlg.getPortNumber(); in createUI()
182 addEntry(device, app, port); in createUI()
203 int port = dlg.getPortNumber(); in createUI()
206 replaceEntry(index, deviceName, app, port); in createUI()
361 Integer port = deviceMap.get(appKey); in updateFromStore() local
362 if (port != null) { in updateFromStore()
363 addEntry(deviceKey, appKey, port); in updateFromStore()
DDebugPortProvider.java148 Integer port = deviceMap.get(appKey); in setPortList() local
149 if (port != null) { in setPortList()
150 sb.append(appKey).append(':').append(port.intValue()).append(':'). in setPortList()
DStaticPortEditDialog.java314 long port = Long.valueOf(mPortNumber); in validate() local
315 if (port >= 32767) { in validate()
321 if (port != mEditPort) { in validate()
323 if (port == i.intValue()) { in validate()
/sdk/files/
Dandroid.el61 (defun android-jdb (port root)
75 port
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
Dmessages.properties10 NdkGdbLaunchDelegate_Action_SettingUpPortForward=Setting up port forwarding
27 NdkGdbLaunchDelegate_LaunchError_PortForwarding=Error while setting up port forwarding
DNdkDebuggerTab.java243 String port = mGdbRemotePortText.getText().trim(); in checkParameters() local
245 Integer.parseInt(port, 10); in checkParameters()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DDebuggerConnector.java141 Integer port = Integer.valueOf(portStr); in findConfig() local
142 if (connectionPort == port) { in findConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DCollectTraceAction.java226 public static void startTracing(Shell shell, TraceOptions traceOptions, int port) { in startTracing() argument
238 socket.connect(new java.net.InetSocketAddress("127.0.0.1", port)); //$NON-NLS-1$ in startTracing()
382 public static void disablePortForwarding(IDevice device, int port) { in disablePortForwarding() argument
384 device.removeForward(port, GLTRACE_UDS, DeviceUnixSocketNamespace.ABSTRACT); in disablePortForwarding()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/
Dmessages.properties34 DeviceView_Process_Debug_Already_In_Use=The process debug port is already in use\!
92 PreferencePage_Base_Local_Debugger_Port=Base local debugger port:
/sdk/eclipse/scripts/
D_mk_icons.sh53 icon P green port
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DAndroidLaunchController.java771 Integer port = sRunningAppMap.get(launchConfig); in getPortForConfig() local
772 if (port != null) { in getPortForConfig()
774 return port; in getPortForConfig()
789 int port) { in setPortLaunchConfigAssociation() argument
791 sRunningAppMap.put(launchConfig, port); in setPortLaunchConfigAssociation()
/sdk/apps/SdkController/
DImplementation.txt61 - then connect(port) is called to initiate the connection.
/sdk/emulator/opengl/
DDESIGN568 This is done by providing a so-called "port number" to initOpenglRender().
570 By default, the port number corresponds to a local TCP port number that the
571 renderer will bind to and listen. Every new connection to this port will
580 Note that in these modes, the port number is still used to differentiate