HomeSort by relevance Sort by last modified time
    Searched refs:Connection (Results 151 - 175 of 420) sorted by null

1 2 3 4 5 67 8 91011>>

  /libcore/ojluni/src/main/java/java/sql/
DriverManager.java 81 * @see Connection
176 * Attempts to establish a connection to the given database URL.
183 * connection arguments; normally at least a "user" and
185 * @return a Connection to the URL
189 public static Connection getConnection(String url,
195 * Attempts to establish a connection to the given database URL.
201 * @param user the database user on whose behalf the connection is being
204 * @return a connection to the URL
208 public static Connection getConnection(String url,
223 * Attempts to establish a connection to the given database URL
    [all...]
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipConnection.java 24 import android.telecom.Connection;
37 final class SipConnection extends Connection {
54 private com.android.internal.telephony.Connection mOriginalConnection;
62 void initialize(com.android.internal.telephony.Connection connection) {
63 if (VERBOSE) log("init SipConnection, connection: " + connection);
64 mOriginalConnection = connection;
84 if (VERBOSE) log("onStateChanged, state: " + Connection.stateToString(state));
293 * Updates the handle on this connection based on the original connection
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CrossProfileWidgetPrimaryUserTest.java 58 private Connection mConnection;
67 mConnection = new Connection();
142 private class Connection implements ServiceConnection {
  /cts/tests/tests/telecom/src/android/telecom/cts/
BaseRemoteTelecomTest.java 26 import android.telecom.Connection;
62 // Setup the primary connection service first
72 // Generate a vanilla mock connection service, if not provided.
99 //Telecom doesn't unbind the remote connection service at the end of all calls today.
105 // Assuming only 1 connection present
113 fail("No outgoing call connection requested by Telecom");
119 assertThat("Telecom should create outgoing connection for remote outgoing call",
123 MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); local
124 return connection;
128 // Assuming only 1 connection presen
146 MockConnection connection = remoteConnectionService.incomingConnections.get(connectionIndex); local
158 MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); local
    [all...]
  /external/javasqlite/src/main/java/SQLite/
JDBCDriver.java 16 protected Connection conn;
90 public Connection connect(String url, Properties info)
110 conn = (Connection) makeConn.newInstance(args);
  /external/jetty/src/java/org/eclipse/jetty/io/
ByteArrayEndPoint.java 38 protected Connection _connection;
54 public Connection getConnection()
61 * @see org.eclipse.jetty.io.ConnectedEndPoint#setConnection(org.eclipse.jetty.io.Connection)
63 public void setConnection(Connection connection)
65 _connection=connection;
AbstractConnection.java 27 public abstract class AbstractConnection implements Connection
  /external/webrtc/webrtc/p2p/base/
tcpport.h 26 // connection management provided by this class. A subclass should take of all
28 // call this TCPPort::OnReadPacket (3 arg) to dispatch to a connection.
50 Connection* CreateConnection(const Candidate& address,
81 // Accepts incoming TCP connection.
118 class TCPConnection : public Connection {
120 // Connection is outgoing unless socket is specified
142 MSG_TCPCONNECTION_DELAYED_ONCLOSE = Connection::MSG_FIRST_AVAILABLE,
171 // Guard against multiple outgoing tcp connection during a reconnect.
174 // Guard against data packets sent when we reconnect a TCP connection. During
175 // reconnecting, when a new tcp connection has being made, we can't send dat
    [all...]
p2ptransportchannel_unittest.cc 452 // Removed remote_type comparision aginst best connection remote
527 // Verifying remote channel best connection information. This is done
532 // Checking for best connection candidates information at remote.
574 // new connection using the newly generated ice candidates.
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
ParcelableConference.java 29 * A parcelable representation of a conference connection.
75 .append(Connection.stateToString(mState))
77 .append(Connection.capabilitiesToString(mConnectionCapabilities))
79 .append(Connection.propertiesToString(mConnectionProperties))
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/
ControllerService.java 36 import com.android.tools.sdkcontroller.lib.Connection;
49 * "android.sdk.controller" port. Connection class provides a socket server that
50 * listens to emulator connections on this port, and binds new connection with a
54 * connection is successful or not, and whether there's any UI to control it.
58 * connection. On the other hand the {@link MultiTouchChannel} lays dormant till
75 /** Connection to the emulator. */
76 public Connection mConnection;
228 mConnection = new Connection(ControllerService.this);
236 addError("Connection failed: " + e.toString());
  /external/jetty/src/java/org/eclipse/jetty/websocket/
WebSocketClient.java 47 * object (to receive events from the server), and returns a {@link WebSocket.Connection} to
57 * WebSocket.Connection connection = client.open(new URI("ws://127.0.0.1:8080/"), new WebSocket.OnTextMessage()
59 * public void onOpen(Connection connection)
75 * connection.sendMessage("Hello World");
253 * @return The initial maximum text message size (in characters) for a connection
262 * Set the initial maximum text message size for a connection. This can be changed by
263 * the application calling {@link WebSocket.Connection#setMaxTextMessageSize(int)}.
264 * @param maxTextMessageSize The default maximum text message size (in characters) for a connection
572 org.eclipse.jetty.websocket.WebSocket.Connection connection=null; local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
GsmCdmaCallTracker.java 66 private static final int MAX_CONNECTIONS_PER_CALL_CDMA = 1; //only 1 connection allowed per call
118 List<Connection> toNotify = new ArrayList<Connection>();
127 for (Connection connection : toNotify) {
128 if (connection != null) {
129 connection.onExitedEcmMode();
238 List<Connection> connCopy;
242 connCopy = (List<Connection>) mForegroundCall.mConnections.clone();
255 public synchronized Connection dial(String dialString, int clirMode, UUSInfo uusInfo
1330 Connection connection = mForegroundCall.getLatestConnection(); local
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteProgram.java 10 import java.sql.Connection;
19 Connection connection; field in class:ShadowSQLiteProgram
23 connection = Robolectric.shadowOf(db).getConnection();
26 actualDBstatement = connection.prepareStatement(sql,
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsExternalConnection.java 21 import com.android.internal.telephony.Connection;
44 public class ImsExternalConnection extends Connection {
47 void onPullExternalCall(ImsExternalConnection connection);
59 * The unqiue dialog event package specified ID associated with this external connection.
64 * A backing call associated with this external connection.
86 * @return the unique ID of this connection from the dialog event package data.
158 * Called by a {@link android.telecom.Connection} to indicate that this call should be pulled
211 * Build a human representation of a connection instance, suitable for debugging.
213 * @return a string representing the internal state of this connection.
230 * Rebuilds the connection capabilities
    [all...]
ImsPhoneBase.java 34 import com.android.internal.telephony.Connection;
101 * Signals all registrants that the remote hold tone should be started for a connection.
103 * @param cn The connection.
105 protected void startOnHoldTone(Connection cn) {
106 Pair<Connection, Boolean> result = new Pair<Connection, Boolean>(cn, Boolean.TRUE);
111 * Signals all registrants that the remote hold tone should be stopped for a connection.
113 * @param cn The connection.
115 protected void stopOnHoldTone(Connection cn) {
116 Pair<Connection, Boolean> result = new Pair<Connection, Boolean>(cn, Boolean.FALSE)
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestManagedVideoProvider.java 20 import android.telecom.Connection;
26 public class TestManagedVideoProvider extends Connection.VideoProvider {
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
MockVideoProvider.java 22 import android.telecom.Connection;
23 import android.telecom.Connection.VideoProvider;
BluetoothPhoneServiceTest.java 26 import android.telecom.Connection;
275 addCallCapability(parentCall, Connection.CAPABILITY_MERGE_CONFERENCE);
276 addCallCapability(parentCall, Connection.CAPABILITY_SWAP_CONFERENCE);
277 removeCallCapability(parentCall, Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN);
322 addCallCapability(parentCall, Connection.CAPABILITY_MERGE_CONFERENCE);
323 addCallCapability(parentCall, Connection.CAPABILITY_SWAP_CONFERENCE);
324 removeCallCapability(parentCall, Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN);
363 removeCallCapability(parentCall, Connection.CAPABILITY_MERGE_CONFERENCE);
364 removeCallCapability(parentCall, Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN);
530 addCallCapability(parentCall, Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN)
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
BluetoothPhoneServiceImpl.java 31 import android.telecom.Connection;
496 if (activeCall != null && activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) {
509 } else if (activeCall != null && activeCall.can(Connection.CAPABILITY_HOLD)) {
515 if (activeCall.can(Connection.CAPABILITY_MERGE_CONFERENCE)) {
543 .can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN))) {
558 .can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN);
580 conferenceCall.can(Connection.CAPABILITY_MERGE_CONFERENCE) ||
581 (conferenceCall.can(Connection.CAPABILITY_SWAP_CONFERENCE) &&
689 !activeCall.can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN)) {
690 if (activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE))
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
GSMPhoneTest.java.broken 30 import com.android.internal.telephony.Connection;
138 Connection cn;
157 // One DIALING connection
190 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState());
196 // One ALERTING connection
221 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState());
224 // One ACTIVE connection
248 assertEquals(Connection.PostDialState.COMPLETE, cn.getPostDialState());
251 // One disconnected connection
312 cn = (Connection) ar.result
    [all...]
  /external/apache-http/android/src/android/net/http/
HttpConnection.java 31 class HttpConnection extends Connection {
39 * Opens the connection to a http server
41 * @return the opened low level connection
42 * @throws IOException if the connection fails for any reason.
47 // Update the certificate info (connection not secure - set to null)
61 * Closes the low level connection.
64 * connection will have been closed (to the extent possible)
75 "closeConnection(): failed closing connection " +
82 * Restart a secure connection suspended waiting for user interaction.
  /external/jetty/src/java/org/eclipse/jetty/client/
AsyncHttpConnection.java 28 import org.eclipse.jetty.io.Connection;
37 /** Asynchronous Client HTTP Connection
59 public Connection handle() throws IOException
61 Connection connection = this; local
68 // While we are making progress and have not changed connection
69 while (progress && connection==this)
161 // Cancelling the exchange causes an exception as we close the connection,
213 Connection switched=exchange.onSwitchProtocol(_endp);
223 connection=switched
    [all...]
BlockingHttpConnection.java 28 import org.eclipse.jetty.io.Connection;
35 /** Blocking HTTP Connection
101 public Connection handle() throws IOException
103 Connection connection = this; local
110 // While we are making progress and have not changed connection
111 while (_endp.isOpen() && connection==this)
208 // Cancelling the exchange causes an exception as we close the connection,
261 Connection switched=exchange.onSwitchProtocol(_endp);
263 connection=switched
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/nio/
BlockingChannelConnector.java 33 import org.eclipse.jetty.io.Connection;
148 BlockingChannelEndPoint connection=new BlockingChannelEndPoint(channel); local
149 connection.dispatch();
176 private Connection _connection;
188 /** Get the connection.
189 * @return the connection
191 public Connection getConnection()
197 public void setConnection(Connection connection)
199 _connection=connection;
    [all...]

Completed in 1638 milliseconds

1 2 3 4 5 67 8 91011>>