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

1 2 3 4 56 7 8 91011>>

  /external/webrtc/webrtc/p2p/base/
turnport_unittest.cc 36 using cricket::Connection;
106 TestConnectionWrapper(Connection* conn) : connection_(conn) {
111 Connection* connection() { return connection_; } function in class:TestConnectionWrapper
114 void OnConnectionDestroyed(Connection* conn) {
119 Connection* connection_;
186 void OnTurnReadPacket(Connection* conn, const char* data, size_t size,
193 void OnUdpReadPacket(Connection* conn, const char* data, size_t size,
197 void OnConnectionDestroyed(Connection* conn) { connection_destroyed_ = true; }
284 void ConnectConnectionDestroyedSignal(Connection* conn)
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/
LocalConnector.java 29 import org.eclipse.jetty.io.Connection;
116 public void setConnection(Connection connection)
118 if (getConnection()!=null && connection!=getConnection())
119 connectionUpgraded(getConnection(),connection);
120 super.setConnection(connection);
125 AbstractHttpConnection connection = new BlockingHttpConnection(LocalConnector.this, endPoint, getServer()); local
126 endPoint.setConnection(connection);
127 connectionOpened(connection);
136 final Connection con = endPoint.getConnection()
    [all...]
  /frameworks/base/services/print/java/com/android/server/print/
RemotePrintServiceRecommendationService.java 44 * Connection to a remote print service recommendation service.
52 /** Context used for the connection */
55 /** The connection to the service (if {@link #mIsBound bound}) */
57 private @NonNull final Connection mConnection;
125 * Open a new connection to a {@link IRecommendationService remote print service
128 * @param context The context establishing the connection
129 * @param userHandle The user the connection is for
136 mConnection = new Connection(callbacks);
155 * Terminate the connection to the {@link IRecommendationService remote print
188 * Connection to the service
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CallTime.java 24 import com.android.internal.telephony.Connection;
134 Connection c;
137 c = (Connection) connections.get(0);
143 c = (Connection) connections.get(i);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
ImsPhoneConnectionTest.java 31 import com.android.internal.telephony.Connection;
96 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState());
102 verify(mForeGroundCall, times(1)).attach((Connection) any(),
111 verify(mForeGroundCall, times(1)).attachFake((Connection) any(),
118 // MO Foreground Connection dailing -> active
125 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState());
133 // MT background Connection dialing -> active
141 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState());
153 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState());
178 //Mock we have an active connection
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DatabaseConfig.java 8 import java.sql.Connection;
62 * Gets an in memory DB connection. Will load DB Driver if not already loaded.
64 * @return Connection to In Memory Database.
66 public static Connection getMemoryConnection() {
71 throw new CannotLoadDatabaseMapDriverException("Error in DatabaseConfig, could not retrieve connection to in memory database.", e);
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
InCallVideoCallCallback.java 19 import android.telecom.Connection;
20 import android.telecom.Connection.VideoProvider;
69 * {@link Connection.VideoProvider#SESSION_MODIFY_REQUEST_SUCCESS},
70 * {@link Connection.VideoProvider#SESSION_MODIFY_REQUEST_FAIL},
71 * {@link Connection.VideoProvider#SESSION_MODIFY_REQUEST_INVALID}
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CallTracker.java 44 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>();
96 protected Connection getHoConnection(DriverCall dc) {
97 for (Connection hoConn : mHandoverConnections) {
100 log("getHoConnection: Handover connection match found = " + hoConn.toString());
104 for (Connection hoConn : mHandoverConnections) {
107 log("getHoConnection: Handover connection match found = " + hoConn.toString());
114 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) {
  /packages/services/Telephony/src/com/android/services/telephony/
CdmaConnection.java 28 import com.android.internal.telephony.Connection;
64 * {@code True} if the CDMA connection should allow mute.
77 Connection connection,
82 super(connection, telecomCallId);
86 mIsCallWaiting = connection != null && connection.getState() == Call.State.WAITING;
114 Connection connection = getOriginalConnection(); local
115 if (connection != null)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/sqlite3/test/
regression.py 53 # statement cache. The others are not accessible from the connection object.
121 With pysqlite 2.4.0 you needed to use a string or a APSW connection
180 Verifies that connection methods check wether base class __init__ was called.
182 class Connection(sqlite.Connection):
186 con = Connection(":memory:")
198 the connection object, too. (fetch-across-rollback problem)
200 class Connection(sqlite.Connection):
208 con = Connection(":memory:"
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/sqlite3/test/
regression.py 53 # statement cache. The others are not accessible from the connection object.
121 With pysqlite 2.4.0 you needed to use a string or a APSW connection
180 Verifies that connection methods check wether base class __init__ was called.
182 class Connection(sqlite.Connection):
186 con = Connection(":memory:")
198 the connection object, too. (fetch-across-rollback problem)
200 class Connection(sqlite.Connection):
208 con = Connection(":memory:"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/
regression.py 53 # statement cache. The others are not accessible from the connection object.
121 With pysqlite 2.4.0 you needed to use a string or a APSW connection
180 Verifies that connection methods check wether base class __init__ was called.
182 class Connection(sqlite.Connection):
186 con = Connection(":memory:")
198 the connection object, too. (fetch-across-rollback problem)
200 class Connection(sqlite.Connection):
208 con = Connection(":memory:"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
regression.py 53 # statement cache. The others are not accessible from the connection object.
121 With pysqlite 2.4.0 you needed to use a string or a APSW connection
180 Verifies that connection methods check wether base class __init__ was called.
182 class Connection(sqlite.Connection):
186 con = Connection(":memory:")
198 the connection object, too. (fetch-across-rollback problem)
200 class Connection(sqlite.Connection):
208 con = Connection(":memory:"
    [all...]
  /system/bt/service/
gatt_server.h 221 // Used for the internal remote connection tracking. Keeps track of the
222 // request ID and the device address for the connection. If |request_id| is -1
224 struct Connection {
225 Connection(int conn_id, const bt_bdaddr_t& bdaddr)
227 Connection() : conn_id(-1) {
315 // Helper method that returns a pointer to an internal Connection instance
317 std::shared_ptr<Connection> GetConnection(int conn_id, const bt_bdaddr_t& bda,
340 // GATT connection mappings from stack-provided "conn_id" IDs and remote
341 // device addresses to Connection structures. The conn_id map is one-to-one
344 std::unordered_map<int, std::shared_ptr<Connection>> conn_id_map_
    [all...]
  /external/apache-http/android/src/android/net/http/
RequestQueue.java 57 /* default simultaneous connection count */
61 * This class maintains active connection threads
144 Connection connection = mThreads[i].mConnection; local
145 if (connection != null) connection.setCanPersist(false);
157 Connection connection = ct.mConnection; local
158 if (connection != null && connection.mHost.equals(host))
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
RemoteConnectionService.java 39 * Remote connection service which other connection services can use to place calls on their behalf.
58 RemoteConnection connection =
60 if (connection != NULL_CONNECTION && mPendingConnections.contains(connection)) {
61 mPendingConnections.remove(connection);
62 // Unconditionally initialize the connection ...
63 connection.setConnectionCapabilities(parcel.getConnectionCapabilities());
64 connection.setConnectionProperties(parcel.getConnectionProperties());
66 || parcel.getState() != Connection.STATE_DISCONNECTED)
414 RemoteConnection connection = local
    [all...]
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) {}
146 private int mState = Connection.STATE_NEW;
165 for (RemoteConnection connection : mChildConnections) {
166 connection.setConference(null);
182 if (newState != Connection.STATE_ACTIVE &&
183 newState != Connection.STATE_HOLDING &&
184 newState != Connection.STATE_DISCONNECTED)
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
CallExtrasTest.java 22 import android.telecom.Connection;
32 * Tests the {@link Connection} and {@link Call} extras functionality.
45 * Tests setting extras on the connection side and ensuring they are propagated through to
61 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
62 connection.putExtras(extras);
71 * Tests setting extras on the connection side and ensuring they are propagated through to
82 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
83 connection.putExtra(EXTRA_KEY_BOOL, true)
103 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
124 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
147 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
176 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
212 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
257 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
278 Connection connection = mConnectionServiceFixtureA.mLatestConnection; local
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
VideoCallTest.java 22 import android.telecom.Connection;
23 import android.telecom.Connection.VideoProvider;
40 * The handler of the {@link Connection.VideoProvider} is, however, not public. As a workaround
66 final MockConnection connection = verifyConnectionForOutgoingCall(); local
72 connection.setActive();
130 final MockConnection connection = verifyConnectionForOutgoingCall(); local
144 connection.sendMockSessionModifyRequest(
159 final MockConnection connection = verifyConnectionForOutgoingCall(); local
163 final MockVideoProvider mockVideoProvider = connection.getMockVideoProvider();
184 final MockConnection connection = verifyConnectionForOutgoingCall() local
240 final MockConnection connection = verifyConnectionForOutgoingCall(); local
346 final MockConnection connection = verifyConnectionForOutgoingCall(); local
382 final MockConnection connection = verifyConnectionForOutgoingCall(); local
458 final MockConnection connection = verifyConnectionForOutgoingCall(); local
483 final MockConnection connection = verifyConnectionForOutgoingCall(); local
505 final MockConnection connection = verifyConnectionForOutgoingCall(); local
532 final MockConnection connection = verifyConnectionForOutgoingCall(); local
559 final MockConnection connection = verifyConnectionForOutgoingCall(); local
582 final MockConnection connection = verifyConnectionForOutgoingCall(); local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
Call.java 30 import android.telecom.Connection;
74 /** Identifies extras changes which originated from a connection service. */
258 /** The caller display name (CNAP) set by the connection service. */
267 * The connection service which is attempted or already connecting this call.
371 * {@link #onConnectionEvent(String)} receives the {@link Connection#EVENT_ON_HOLD_TONE_START}
386 * @param repository The connection service repository.
397 * connection, regardless of whether it's incoming or outgoing.
440 * @param repository The connection service repository.
451 * connection, regardless of whether it's incoming or outgoing.
452 * @param connectTimeMillis The connection time of the call
    [all...]
  /frameworks/native/services/inputflinger/
InputDispatcher.h 540 // Tracks the progress of dispatching a particular event to a particular connection.
592 class Connection;
600 sp<Connection> connection; member in struct:android::InputDispatcher::CommandEntry
800 class Connection : public RefBase {
802 virtual ~Connection();
825 // Queue of events that need to be published to the connection.
828 // Queue of events that have been published to the connection but that have not
832 explicit Connection(const sp<InputChannel>& inputChannel,
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsPhoneConnection.java 41 import com.android.internal.telephony.Connection;
54 public class ImsPhoneConnection extends Connection {
83 // The cached connect time of the connection when it turns into a conference.
174 // connection is not likely to be associated with a TelephonyConnection yet).
225 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL
226 | Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_LOCAL);
231 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL);
235 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL
236 | Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_LOCAL);
244 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONA
    [all...]
  /cts/tests/tests/externalservice/src/android/externalservice/cts/
ExternalServiceTest.java 42 private Connection mConnection = new Connection();
128 // Start the service and wait for connection.
155 final Connection creatorConnection = new Connection();
196 // Get the connection to the creator's service.
245 // Start the service and wait for connection.
250 Connection initialConn = new Connection();
262 Connection prioConn = new Connection()
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/bio/
SocketConnector.java 32 import org.eclipse.jetty.io.Connection;
48 * Normal JRE sockets are used and a thread is allocated per connection.
120 ConnectorEndPoint connection=new ConnectorEndPoint(socket); local
121 connection.dispatch();
128 protected Connection newConnection(EndPoint endpoint)
138 ConnectorEndPoint connection = (ConnectorEndPoint)endpoint; local
140 connection.setMaxIdleTime(lrmit);
171 ConnectorEndPoint connection = (ConnectorEndPoint)endPoint; local
172 connection.close();
193 volatile Connection _connection
    [all...]
  /external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
WebSocketCall.java 20 import com.squareup.okhttp.Connection;
77 .header("Connection", "Upgrade")
133 String headerConnection = response.header("Connection");
136 "Expected 'Connection' header value 'Upgrade' but was '" + headerConnection + "'");
153 // TODO connection = call.engine.getConnection();
154 Connection connection = Internal.instance.callEngineGetConnection(call); local
155 // TODO if (!connection.clearOwner()) {
156 if (!Internal.instance.clearOwner(connection)) {
157 throw new IllegalStateException("Unable to take ownership of connection.")
189 private final Connection connection; field in class:WebSocketCall.ConnectionWebSocket
    [all...]

Completed in 548 milliseconds

1 2 3 4 56 7 8 91011>>