HomeSort by relevance Sort by last modified time
    Searched full:connection (Results 351 - 375 of 24174) sorted by null

<<11121314151617181920>>

  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DebuggerOnDemand/
LaunchedDebugger.java 68 * sync connection with debuggee and server.
73 // estabslish synch connection with test
74 logWriter.println("Establish synch connection between debugger and test");
78 logWriter.println("Established synch connection between debugger and test");
80 // handle JDWP connection with debuggee
83 // establish synch connection with debuggee
84 logWriter.println("Establish synch connection between debugger and debuggee");
87 logWriter.println("Established synch connection between debugger and debuggee");
113 * Overrides inherited method to close sync connection upon exit.
117 // close synch connection with debugge
    [all...]
OnthrowDebuggerLaunchDebuggee.java 35 * Then debuggee establishes synch connection with debugger and invokes tested method.
45 // prepare for connection with debugger
46 logWriter.println("DEBUGGEE: bind for synch connection with debugger");
58 // listen for connection with debugger
60 logWriter.println("DEBUGGEE: established synch connection with debugger");
84 logWriter.println("DEBUGGEE: closed synch connection with debugger");
  /frameworks/base/telephony/java/android/telephony/ims/
ImsVideoCallProvider.java 25 import android.telecom.Connection;
186 /** @see Connection.VideoProvider#onSetCamera */
196 * @see Connection.VideoProvider#onSetCamera
201 /** @see Connection.VideoProvider#onSetPreviewSurface */
204 /** @see Connection.VideoProvider#onSetDisplaySurface */
207 /** @see Connection.VideoProvider#onSetDeviceOrientation */
210 /** @see Connection.VideoProvider#onSetZoom */
213 /** @see Connection.VideoProvider#onSendSessionModifyRequest */
217 /** @see Connection.VideoProvider#onSendSessionModifyResponse */
220 /** @see Connection.VideoProvider#onRequestCameraCapabilities *
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
CdmaConnection.java 28 import com.android.internal.telephony.Connection;
65 * {@code True} if the CDMA connection should allow mute.
77 Connection connection,
82 super(connection, telecomCallId, isOutgoing);
85 mIsCallWaiting = connection != null && connection.getState() == Call.State.WAITING;
115 Connection connection = getOriginalConnection(); local
116 if (connection != null)
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
RemoteConference.java 71 * @param connection The {@link RemoteConnection} being added.
73 public void onConnectionAdded(RemoteConference conference, RemoteConnection connection) {}
79 * @param connection The {@link RemoteConnection} being removed.
81 public void onConnectionRemoved(RemoteConference conference, RemoteConnection connection) {}
145 private int mState = Connection.STATE_NEW;
164 for (RemoteConnection connection : mChildConnections) {
165 connection.setConference(null);
181 if (newState != Connection.STATE_ACTIVE &&
182 newState != Connection.STATE_HOLDING &&
183 newState != Connection.STATE_DISCONNECTED)
    [all...]
  /external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
MockServerSocket.java 33 private Socket connection; field in class:MockServerSocket
44 * Establishes a new mock connection. This method blocks until the other end
45 * of the connection has been accepted.
47 * @return remote end of the mock connection
52 connection = c.getSocketA();
54 while (connection != null) {
92 while (connection == null) {
98 return connection;
102 connection = null;
  /external/mockftpserver/branches/1.x_Branch/src/main/resources/
ReplyText.properties 18 125=Data connection already open; transfer starting.
19 150=File status okay; about to open data connection.
28 221=Service closing control connection.
29 225=Data connection open; no transfer in progress.
30 226=Closing data connection. Requested file action successful.
31 226.WithFilename=Closing data connection. Requested file action successful. Filename={0}.
39 421=Service not available, closing control connection.
41 425=Can't open data connection.
42 426=Connection closed; transfer aborted.
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
FramedStream.java 50 * available bytes in {@code connection.bytesLeftInWriteWindow}.
56 private final FramedConnection connection; field in class:FramedStream
76 FramedStream(int id, FramedConnection connection, boolean outFinished, boolean inFinished,
78 if (connection == null) throw new NullPointerException("connection == null");
81 this.connection = connection;
83 connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE);
85 connection.okHttpSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE));
121 return connection.client == streamIsClient
    [all...]
  /test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
WifiCheck.java 28 * The options "wifi-ssid" and "wifi-psk" allow users of the preparer to attempt connection
30 * connection, and attempts to connect with the options provided.
63 if (mWifiSsid == null) { // no connection to create, check for existing connectivity
65 logError("Device has no network connection, no ssid provided, some modules " +
66 "of CTS require an active network connection");
69 } else { // network provided in options, attempt to create new connection
70 logInfo("Attempting connection to \"%s\"", mWifiSsid);
71 if (!device.connectToWifiNetwork(mWifiSsid, mWifiPsk)) { // attempt connection
73 "require an active network connection", mWifiSsid);
  /tools/test/connectivity/acts/tests/google/bt/pan/
BtPanTest.py 19 Test Script assumes that an internet connection
43 """Test bluetooth PAN connection
45 Test basic PAN connection between two devices.
53 6. Verify HTTP connection on PANU device.
71 """Test bluetooth PAN connection then disconnect service
73 Test basic PAN connection between two devices then disconnect
82 6. Verify HTTP connection on PANU device.
84 8. Verify no HTTP connection on PANU device.
98 self.log.error("Could not establish a PAN connection.")
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
SelfManagedIncomingCallTestActivity.java 23 import android.telecom.Connection;
106 return new Throwable("Could not get connection service.");
109 CtsConnection connection = ctsConnectionService.waitForAndGetConnection();
110 if (connection == null) {
112 return new Throwable("Could not get connection.");
114 // Wait until the connection knows its audio state changed; at this point
115 // Telecom knows about the connection and can answer.
116 connection.waitForAudioStateChanged();
118 connection.setActive();
123 int capabilities = connection.getConnectionCapabilities()
    [all...]
  /cts/tests/tests/telecom3/src/android/telecom/cts/
SelfManagedAwareInCallServiceTest.java 122 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local
123 assertNotNull(connection);
131 connection.disconnectAndDestroy();
146 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local
147 assertNotNull(connection);
155 connection.disconnectAndDestroy();
169 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local
170 assertNotNull(connection);
184 // Set active from the connection side.
185 connection.setActive()
    [all...]
  /development/samples/ToyVpn/src/com/example/android/toyvpn/
ToyVpnService.java 44 private static class Connection extends Pair<Thread, ParcelFileDescriptor> {
45 public Connection(Thread thread, ParcelFileDescriptor pfd) {
51 private final AtomicReference<Connection> mConnection = new AtomicReference<>();
64 // Create the intent to "configure" the connection (just start ToyVpnClient).
112 // Kick off a connection.
117 private void startConnection(final ToyVpnConnection connection) {
119 final Thread thread = new Thread(connection, "ToyVpnThread");
123 connection.setConfigureIntent(mConfigureIntent);
124 connection.setOnEstablishListener(new ToyVpnConnection.OnEstablishListener() {
129 setConnection(new Connection(thread, tunInterface))
    [all...]
  /external/autotest/server/hosts/
ssh_multiplex.py 30 """Manages multiplex ssh connection."""
60 """Starts the background process to run multiplex ssh connection.
67 connection to be established. If timeout is reached, a
72 # ssh connection and create a new one, therefore use a lock to protect
75 # If a previously started master SSH connection is not running
80 'Master ssh connection to %s is down.', self._hostname)
83 # Start a new master SSH connection.
88 # Start the master SSH connection in the background.
96 'Starting master ssh connection \'%s\'', master_cmd)
102 # To prevent a race between the the master ssh connection
    [all...]
  /external/libbrillo/brillo/http/
http_connection.h 25 // Connection class is the base class for HTTP communication session.
27 // When the Connection-derived class is constructed, it is pre-set up with
29 // connection (such as the URL, request method, etc - see
31 // would not probably initiate the physical connection until SendHeaders
38 // the connection to the destination URI and is shared between the request and
40 // is received. The class does NOT represent a persistent TCP connection though
43 class BRILLO_EXPORT Connection
44 : public std::enable_shared_from_this<Connection> {
46 explicit Connection(const std::shared_ptr<Transport>& transport)
48 virtual ~Connection() = default
    [all...]
http_transport_curl.h 21 class Connection;
43 std::shared_ptr<http::Connection> CreateConnection(
54 RequestID StartAsyncTransfer(http::Connection* connection,
89 void OnTransferComplete(http::curl::Connection* connection,
93 // on a connection.
94 void CleanAsyncConnection(http::curl::Connection* connection);
118 // A map to find a corresponding Connection* using a request ID
    [all...]
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
RecordedRequest.java 177 * Returns the index of this request on its HTTP connection. Since a single
178 * HTTP connection may serve multiple requests, each request is assigned its
186 * Returns the SSL connection's protocol like {@code TLSv1}, {@code SSLv3},
187 * {@code NONE} or {@code null} if the connection doesn't use SSL.
194 * Returns the SSL connection's cipher protocol retrieved using
195 * {@code sslSocket.getSession().getCipherSuite()} or {@code null} if the connection doesn't
203 * Returns the SSL connection's local principal retrieved using
204 * {@code sslSocket.getSession().getLocalPrincipal()} or {@code null} if the connection doesn't
212 * Returns the SSL connection's local certificates retrieved using
213 * {@code sslSocket.getSession().getLocalCertificates()} or {@code null} if the connection
    [all...]
  /frameworks/support/lifecycle/service/src/androidTest/java/androidx/lifecycle/
ServiceLifecycleTest.java 102 ServiceConnection connection = bindToService(); local
104 InstrumentationRegistry.getTargetContext().unbindService(connection);
114 ServiceConnection connection = bindToService(); local
120 context.unbindService(connection);
136 ServiceConnection connection = bindToService(); local
148 context.unbindService(connection);
156 ServiceConnection connection = bindToService(); local
166 context.unbindService(connection);
180 ServiceConnection connection = bindToService(); local
195 context.unbindService(connection);
204 ServiceConnection connection = new ServiceConnection() { local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 339 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); local
340 assertNull(connection.getErrorStream());
346 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); local
347 assertEquals("A", readAscii(connection.getErrorStream(), Integer.MAX_VALUE));
351 // recycled connection doesn't get the unread tail of the first request's response.
430 .setBody("This connection won't pool properly")
432 server.enqueue(new MockResponse().setBody("This comes after a busted connection"));
435 assertContent("This connection won't pool properly", server.getUrl("/a").openConnection());
437 assertContent("This comes after a busted connection", server.getUrl("/b").openConnection());
438 // sequence number 0 means the HTTP socket connection was not reuse
551 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("\/foo").openConnection(); local
570 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("\/").openConnection(); local
592 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("\/").openConnection(); local
618 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("\/foo").openConnection(); local
667 HttpURLConnection connection = proxyConfig.connect(server, url); local
718 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); local
760 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); local
801 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); local
883 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
932 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
971 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection( local
1022 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection( local
1054 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection( local
1069 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
1129 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
1148 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
1161 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
1255 URLConnection connection = server.getUrl("\/").openConnection(); local
1271 URLConnection connection = server.getUrl("\/").openConnection(); local
1290 URLConnection connection = server.getUrl("\/").openConnection(); local
1307 URLConnection connection = server.getUrl("\/").openConnection(); local
1332 URLConnection connection = server.getUrl("\/").openConnection(); local
1356 URLConnection connection = server.getUrl("\/").openConnection(); local
    [all...]
  /libcore/luni/src/test/java/tests/java/sql/
StressTest.java 19 import java.sql.Connection;
36 Vector<Connection> vc = new Vector<Connection>();
38 private static Connection conn;
134 assertEquals("Unable to create a connection", numTasks, vc.size());
137 // try to create connection n + 1
138 Connection c = Support_SQL.getConnection();
168 + "tasks for Connection " + i);
169 Connection c = vc.elementAt(i);
202 Logger.global.info(" creating "+tasksPerConnection+ " tasks for Connection "+i)
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CallGatewayManager.java 26 import com.android.internal.telephony.Connection;
39 * proper number to dial. It also saves an association between the connection object and the gateway
70 private final ConcurrentHashMap<Connection, RawGatewayInfo> mMap =
71 new ConcurrentHashMap<Connection, RawGatewayInfo>(4, 0.9f, 1);
100 * This function sets the current mapping from connection to gatewayInfo.
101 * @param connection The connection object for the placed outgoing call.
104 public void setGatewayInfoForConnection(Connection connection, RawGatewayInfo gatewayInfo) {
106 mMap.put(connection, gatewayInfo)
    [all...]
  /tools/test/connectivity/acts/tests/google/coex/performance_tests/
WlanWithBlePerformanceTest.py 53 """Disconnect gatt connection between two devices.
60 1. Disconnect gatt connection.
104 """Creates gatt connection and disconnect gatt connection.
112 6. Create a GATT connection between the scanner and advertiser.
113 7. Disconnect the GATT connection.
223 """Test performance with ble gatt connection.
226 android device and test the wlan throughput when ble gatt connection
231 2. Initiate gatt connection.
243 """Test performance with ble gatt connection
    [all...]
  /external/curl/tests/data/
test540 15 connection-monitor
72 HTTP proxy auth Digest multi API re-using connection
88 Proxy-Connection: Keep-Alive
94 Proxy-Connection: Keep-Alive
99 Proxy-Connection: Keep-Alive
105 Proxy-Connection: Keep-Alive
  /external/libmicrohttpd/src/microhttpd/
test_postprocessor.c 124 struct MHD_Connection connection; local
132 memset (&connection, 0, sizeof (struct MHD_Connection));
134 connection.headers_received = &header;
138 pp = MHD_create_post_processor (&connection,
158 struct MHD_Connection connection; local
177 memset (&connection, 0, sizeof (struct MHD_Connection));
179 connection.headers_received = &header;
184 pp = MHD_create_post_processor (&connection,
199 struct MHD_Connection connection; local
210 memset (&connection, 0, sizeof (struct MHD_Connection))
232 struct MHD_Connection connection; local
267 struct MHD_Connection connection; local
302 struct MHD_Connection connection; local
    [all...]
  /external/libmicrohttpd/src/testspdy/
test_new_connection.c 21 * @brief tests new connection callback. spdycli.c
107 struct Connection {
110 /* WANT_READ if SSL connection needs more input; or WANT_WRITE if it
115 SSL connection. */
228 struct Connection *connection; local
230 connection = (struct Connection*)user_data;
231 connection->want_io = IO_NONE;
233 rv = SSL_write(connection->ssl, data, length)
260 struct Connection *connection; local
660 struct Connection connection; local
    [all...]

Completed in 2085 milliseconds

<<11121314151617181920>>