/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ssl.py | 309 # connected at the time of the call. We connect it, then wrap it. 311 raise ValueError("attempt to connect already-connected SSLSocket!") 320 socket.connect(self, addr) 330 def connect(self, addr): member in class:SSLSocket 448 s.connect(addr)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ssl.py | 309 # connected at the time of the call. We connect it, then wrap it. 311 raise ValueError("attempt to connect already-connected SSLSocket!") 320 socket.connect(self, addr) 330 def connect(self, addr): member in class:SSLSocket 448 s.connect(addr)
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
WindowsLoader.java | 43 socket.connect(new InetSocketAddress("127.0.0.1",
|
/system/chre/host/common/ |
socket_client.cc | 44 bool SocketClient::connect(const char *socketName, function in class:android::chre::SocketClient 110 LOGE("Can't attempt to connect from a receive thread callback"); 205 LOGW("Failed to (re)connect, next try in %" PRId32 " ms", 242 LOGE("Couldn't connect client socket to '%s': %s",
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
DelegatingSSLSocket.java | 232 @Override public void connect(SocketAddress remoteAddr) throws IOException { method in class:DelegatingSSLSocket 233 delegate.connect(remoteAddr); 236 @Override public void connect(SocketAddress remoteAddr, int timeout) throws IOException { method in class:DelegatingSSLSocket 237 delegate.connect(remoteAddr, timeout);
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
DelegatingHttpsURLConnection.java | 87 @Override public void connect() throws IOException { method in class:DelegatingHttpsURLConnection 89 delegate.connect();
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
WaltTcpConnection.java | 76 public void connect() { method in class:WaltTcpConnection 100 logger.log("Can't connect to TCP bridge: " + e.getMessage()); 256 socket.connect(remoteAddr, 50 /* timeout in milliseconds */);
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
WebSocketChannelClient.java | 86 public void connect(final String wsUrl, final String postUrl) { method in class:WebSocketChannelClient 100 ws.connect(new URI(wsServerUrl), wsObserver);
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
AbstractProxyTest.java | 172 RecordedRequest connect = server.takeRequest(); local 173 assertEquals("Connect line failure on proxy " + proxyConfig, 174 "CONNECT android.com:443 HTTP/1.1", connect.getRequestLine()); 175 assertContains(connect.getHeaders(), "Host: android.com");
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
PasspointProvisionerTest.java | 100 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any())).thenReturn(true); 101 when(mOsuServerConnection.connect(any(URL.class), any(Network.class))).thenReturn(true); 207 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any())).thenReturn(false); 286 // Attempting to connect to OSU server fails due to invalid server URL, move to failed state 300 when(mOsuServerConnection.connect(any(URL.class), any(Network.class))).thenReturn(false);
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
FtpURLConnection.java | 222 * @throws UnknownHostException if trying to connect to an unknown host 225 public synchronized void connect() throws IOException { method in class:FtpURLConnection 270 http.connect(); 300 http.connect(); 323 ftp.connect(new InetSocketAddress(host, port)); 325 ftp.connect(new InetSocketAddress(host, FtpClient.defaultPort())); 424 connect(); method 542 connect(); method 600 permission = new SocketPermission(urlhost, "connect");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/newavrcp/ |
BrowsedPlayerWrapper.java | 32 * TODO (apanicke): Add timeouts in case a browser takes forever to connect or gets stuck. 112 void connect(ConnectionCallback cb) { method in class:BrowsedPlayerWrapper 114 Log.wtfStack(TAG, "connect: Trying to connect to " + mPackageName 118 Log.w(TAG, "connect: Already trying to connect to " + mPackageName); 122 if (DEBUG) Log.d(TAG, "connect: Connecting to browsable player: " + mPackageName); 127 mWrappedBrowser.connect(); 146 connect((int status, BrowsedPlayerWrapper wrapper) -> { method 175 Log.wtfStack(TAG, "connect: Trying to connect to " + mPackageNam [all...] |
/packages/services/Car/car-support-lib/src/android/support/car/ |
Car.java | 357 * Connect to Car Service. Can be called while disconnected. 359 * @throws IllegalStateException if the car is connected or still trying to connect 362 public void connect() throws IllegalStateException { method in class:Car 368 mCarServiceLoader.connect();
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
VpnTest.java | 167 "button to allow the VPN application to connect. Please ensure that the " + 180 "that button allows the VPN application to connect. " + 221 .putExtra(mPackageName + ".cmd", "connect") 309 Os.connect(s, address, port); 358 // client socket, and connect the client socket to a remote host, with the port of the 366 // Connect the client socket to it. 370 client.connect(new InetSocketAddress(toAddr, listen.getLocalPort()), SOCKET_TIMEOUT_MS); 441 s.connect(address, 7);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HttpOverSpdyTest.java | 301 connection.connect(); 319 connection1.connect(); 320 connection2.connect(); 405 connection1.connect(); 417 connection.connect();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothChatService.java | 140 * @param device The BluetoothDevice to connect 143 public synchronized void connect(BluetoothDevice device, boolean secure) { method in class:BluetoothChatService 144 if (D) Log.d(TAG, "connect to: " + device); 154 // Start the thread to connect with the given device 175 // Cancel the accept thread because we only want to connect to one device 251 bundle.putString(TOAST, "Unable to connect device"); 393 mmSocket.connect(); 395 Log.e(TAG, "connect() failed ", e); 420 Log.e(TAG, "close() of connect " + mSocketType + " socket failed", e); 495 Log.e(TAG, "close() of connect socket failed", e) [all...] |
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 138 * @param device The BluetoothDevice to connect 141 public synchronized void connect(BluetoothDevice device, boolean secure) { method in class:BluetoothChatService 142 Log.d(TAG, "connect to: " + device); 158 // Start the thread to connect with the given device 187 // Cancel the accept thread because we only want to connect to one device 266 bundle.putString(Constants.TOAST, "Unable to connect device"); 426 mmSocket.connect(); 452 Log.e(TAG, "close() of connect " + mSocketType + " socket failed", e); 528 Log.e(TAG, "close() of connect socket failed", e);
|
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 138 * @param device The BluetoothDevice to connect 141 public synchronized void connect(BluetoothDevice device, boolean secure) { method in class:BluetoothChatService 142 Log.d(TAG, "connect to: " + device); 158 // Start the thread to connect with the given device 187 // Cancel the accept thread because we only want to connect to one device 266 bundle.putString(Constants.TOAST, "Unable to connect device"); 426 mmSocket.connect(); 452 Log.e(TAG, "close() of connect " + mSocketType + " socket failed", e); 528 Log.e(TAG, "close() of connect socket failed", e);
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChatService.java | 126 * @param device The BluetoothDevice to connect 129 public synchronized void connect(BluetoothDevice device, boolean secure) { method in class:BluetoothChatService 130 if (D) Log.d(TAG, "connect to: " + device); 140 // Start the thread to connect with the given device 161 // Cancel the accept thread because we only want to connect to one device 237 bundle.putString(BluetoothChat.TOAST, "Unable to connect device"); 387 mmSocket.connect(); 413 Log.e(TAG, "close() of connect " + mSocketType + " socket failed", e); 489 Log.e(TAG, "close() of connect socket failed", e);
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
BluetoothChatService.java | 138 * @param device The BluetoothDevice to connect 141 public synchronized void connect(BluetoothDevice device, boolean secure) { method in class:BluetoothChatService 142 Log.d(TAG, "connect to: " + device); 158 // Start the thread to connect with the given device 187 // Cancel the accept thread because we only want to connect to one device 266 bundle.putString(Constants.TOAST, "Unable to connect device"); 426 mmSocket.connect(); 452 Log.e(TAG, "close() of connect " + mSocketType + " socket failed", e); 528 Log.e(TAG, "close() of connect socket failed", e);
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
KitKatPlatformOpenSSLSocketImplAdapter.java | 85 public void connect(SocketAddress sockaddr, int timeout) throws IOException { method in class:KitKatPlatformOpenSSLSocketImplAdapter 86 delegate.connect(sockaddr, timeout); 90 public void connect(SocketAddress sockaddr) throws IOException { method in class:KitKatPlatformOpenSSLSocketImplAdapter 91 delegate.connect(sockaddr);
|
PreKitKatPlatformOpenSSLSocketImplAdapter.java | 85 public void connect(SocketAddress sockaddr, int timeout) throws IOException { method in class:PreKitKatPlatformOpenSSLSocketImplAdapter 86 delegate.connect(sockaddr, timeout); 90 public void connect(SocketAddress sockaddr) throws IOException { method in class:PreKitKatPlatformOpenSSLSocketImplAdapter 91 delegate.connect(sockaddr);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BluetoothControllerImpl.java | 179 public void connect(final CachedBluetoothDevice device) { method in class:BluetoothControllerImpl 181 device.connect(true);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
WifiAwareServiceImpl.java | 175 public void connect(final IBinder binder, String callingPackage, method in class:WifiAwareServiceImpl 211 Log.v(TAG, "connect: uid=" + uid + ", clientId=" + clientId + ", configRequest" 247 mStateManager.connect(clientId, uid, pid, callingPackage, callback, configRequest,
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 116 @Override public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { method in class:BlockGuardOs 118 os.connect(fd, address, port); 121 @Override public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, method in class:BlockGuardOs 124 os.connect(fd, address);
|