HomeSort by relevance Sort by last modified time
    Searched refs:Connection (Results 51 - 75 of 476) sorted by null

1 23 4 5 6 7 8 91011>>

  /cts/tests/tests/telecom/src/android/telecom/cts/
CtsRemoteConnectionService.java 23 import android.telecom.Connection;
37 * sConnectionService: Contains the connection service object provided by the current test in
39 * Telecom framework to the test connection service.
40 * sTelecomConnectionService: Contains the connection service object registered to the Telecom
42 * test connection service to the Telecom framework.
47 // This is the connection service implemented by the test
49 // This is the connection service registered with Telecom
61 // ConnectionService used by default as a fallback if no connection service is specified
68 * the {@link MockVideoProvider} is not created immediately when the Connection is created.
91 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount
    [all...]
CallDetailsTest.java 28 import android.telecom.Connection;
46 * {@link Connection#PROPERTY_HIGH_DEF_AUDIO} is @hide, so define it here for now.
51 * {@link Connection#PROPERTY_WIFI} is @hide, so define it here for now.
56 Connection.CAPABILITY_HOLD | Connection.CAPABILITY_MUTE;
86 public Connection onCreateOutgoingConnection(
89 Connection connection = super.onCreateOutgoingConnection(
92 mConnection = (MockConnection) connection;
93 // Modify the connection object created with local values
    [all...]
NumberDialingTest.java 22 import android.telecom.Connection;
28 * Tests that certain numbers make their way through to the connection service.
48 public Connection onCreateOutgoingConnection(
IncomingCallTest.java 21 import android.telecom.Connection;
51 final Connection connection3 = verifyConnectionForIncomingCall();
52 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom();
  /external/libbrillo/brillo/http/
http_connection_curl.h 22 // This is a libcurl-based implementation of http::Connection.
23 class BRILLO_EXPORT Connection : public http::Connection {
25 Connection(CURL* curl_handle,
29 ~Connection() override;
31 // Overrides from http::Connection.
65 // pertaining to the current connection.
96 DISALLOW_COPY_AND_ASSIGN(Connection);
http_transport.h 27 class Connection;
46 // Creates a connection object and initializes it with the specified data.
48 // used to maintain the object alive as long as the connection exists.
50 // to the underlying transport (e.g. CURL) to establish the connection.
51 virtual std::shared_ptr<Connection> CreateConnection(
65 // Initiates an asynchronous transfer on the given |connection|.
69 Connection* connection,
mock_connection.h 18 class MockConnection : public Connection {
20 using Connection::Connection;
  /packages/apps/Dialer/java/com/android/dialer/simulator/impl/
SimulatorConnectionService.java 22 import android.telecom.Connection;
33 /** Simple connection provider to create an incoming call. This is useful for emulators. */
46 getConnectionServiceHandle(context), "Simulator connection service");
52 .setShortDescription("Simulator Connection Service")
68 public Connection onCreateOutgoingConnection(
77 public Connection onCreateIncomingConnection(
80 SimulatorConnection connection = new SimulatorConnection(); local
81 connection.setRinging();
82 connection.setAddress(getPhoneNumber(request), TelecomManager.PRESENTATION_ALLOWED);
83 connection.setConnectionCapabilities
    [all...]
  /external/webrtc/webrtc/p2p/base/
p2ptransportchannel.cc 43 int CompareConnectionCandidates(cricket::Connection* a,
44 cricket::Connection* b) {
45 // Compare connection priority. Lower values get sorted last.
58 int CompareConnectionStates(cricket::Connection* a, cricket::Connection* b) {
65 // We prefer a receiving connection to a non-receiving, higher-priority
66 // connection when sorting connections and choosing which connection to
74 // When a TCP connection fails because of a TCP socket disconnecting, the
75 // active side of the connection will attempt to reconnect for 5 seconds whil
611 Connection* connection = port->CreateConnection( local
770 Connection* connection = port->GetConnection(remote_candidate.address()); local
    [all...]
port.cc 32 const std::vector<cricket::Connection::SentPing>& pings_since_last_response,
49 const std::vector<cricket::Connection::SentPing>& pings_since_last_response,
65 // use a large value just in case the connection is really slow.
205 std::vector<Connection*> list;
217 Connection* Port::GetConnection(const rtc::SocketAddress& remote_addr) {
264 void Port::AddConnection(Connection* conn) {
302 // pruned a connection for this port while it had STUN requests in flight,
579 // connection.
580 Connection* conn = GetConnection(addr);
642 void Port::OnConnectionDestroyed(Connection* conn)
    [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...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
ContextMap.java 46 * Connection class helps map connection IDs to device addresses.
48 class Connection {
54 Connection(int connId, String address,int appId) {
155 Set<Connection> mConnections = new HashSet<Connection>();
230 * Add a new connection for a given application ID.
236 mConnections.add(new Connection(connId, address, id));
242 * Remove a connection with the given ID.
246 Iterator<Connection> i = mConnections.iterator()
248 Connection connection = i.next(); local
263 Connection connection = i.next(); local
357 Connection connection = i.next(); local
369 Connection connection = ii.next(); local
386 Connection connection = i.next(); local
399 Connection connection = i.next(); local
409 Connection connection = i.next(); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsExternalCall.java 21 import com.android.internal.telephony.Connection;
34 public ImsExternalCall(Phone phone, ImsExternalConnection connection) {
36 mConnections.add(connection);
40 public List<Connection> getConnections() {
  /packages/services/Telephony/src/com/android/services/telephony/
GsmConnection.java 19 import com.android.internal.telephony.Connection;
25 GsmConnection(Connection connection, String telecomCallId, boolean isOutgoing) {
26 super(connection, telecomCallId, isOutgoing);
34 * @return The cloned connection.
TelephonyConnectionService.java 27 import android.telecom.Connection;
79 public Collection<Connection> getAllConnections() {
91 public void removeConnection(Connection connection) {
92 TelephonyConnectionService.this.removeConnection(connection);
96 Connection connection) {
98 .addExistingConnection(phoneAccountHandle, connection);
102 Connection connection, Conference conference)
589 final TelephonyConnection connection = local
650 Connection connection = local
719 com.android.internal.telephony.Connection connection = local
770 TelephonyConnection connection = local
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
ImsExternalCallTrackerTest.java 29 import com.android.internal.telephony.Connection;
78 ArgumentCaptor<Connection> connectionArgumentCaptor = ArgumentCaptor.forClass(
79 Connection.class);
83 Connection connection = connectionArgumentCaptor.getValue(); local
84 assert(connection instanceof ImsExternalConnection);
92 ImsExternalConnection connection = (ImsExternalConnection) local
98 assertEquals(connection.getState(), Call.State.DISCONNECTED);
  /hardware/libhardware/modules/camera/3_4/
v4l2_wrapper.h 42 class Connection {
44 Connection(std::shared_ptr<V4L2Wrapper> device)
46 ~Connection() {
51 // Check whether the connection succeeded or not.
91 // a V4L2Wrapper::Connection object.
125 friend class Connection;
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipConnectionService.java 30 import android.telecom.Connection;
65 public Connection onCreateOutgoingConnection(
73 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause(
80 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause(
81 DisconnectCause.OUTGOING_FAILURE, "Did not match service connection"));
84 final SipConnection connection = new SipConnection(); local
85 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED);
86 connection.setInitializing();
87 connection.onAddedToCallService();
92 connection.setDisconnected(new android.telecom.DisconnectCause
    [all...]
  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
TestHelper_Driver1.java 20 import java.sql.Connection;
76 public Connection connect(String url, Properties info) throws SQLException {
88 // It all checks out - so return a connection
89 Connection connection = new TestHelper_Connection1(); local
90 return connection;
  /hardware/interfaces/graphics/composer/2.1/vts/functional/
GraphicsComposerCallback.cpp 52 Connection connection) {
55 if (connection == Connection::CONNECTED) {
59 } else if (connection == Connection::DISCONNECTED) {
  /libcore/luni/src/test/java/libcore/java/sql/
ConnectionTest.java 7 import java.sql.Connection;
34 Connection c = DriverManager.getConnection(getConnectionURL());
43 Connection c = driver.connect(getConnectionURL(), null);
  /frameworks/base/services/core/java/com/android/server/media/
RemoteDisplayProviderProxy.java 39 * Maintains a connection to a particular remote display provider service.
52 // Connection state
55 private Connection mActiveConnection;
230 Connection connection = new Connection(provider); local
231 if (connection.register()) {
232 mActiveConnection = connection;
252 private void onConnectionReady(Connection connection) {
437 Connection connection = mConnectionRef.get(); local
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
SelfManagedConnectionService.java 21 import android.telecom.Connection;
43 public Connection onCreateOutgoingConnection(
51 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
68 private Connection createSelfManagedConnection(ConnectionRequest request, boolean isIncoming) {
69 SelfManagedConnection connection = new SelfManagedConnection(mCallList, local
71 connection.setListener(mCallList.getConnectionListener());
72 connection.setConnectionProperties(Connection.PROPERTY_SELF_MANAGED);
73 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED);
74 connection.setAudioModeIsVoip(true)
    [all...]
  /frameworks/base/telephony/java/com/android/ims/
ImsConferenceState.java 28 import android.telecom.Connection;
148 * Translates an {@code ImsConferenceState} status type to a telecom connection state.
151 * @return The corresponding {@link android.telecom.Connection} state.
155 return Connection.STATE_INITIALIZING;
157 return Connection.STATE_RINGING;
160 return Connection.STATE_DIALING;
163 return Connection.STATE_HOLDING;
168 return Connection.STATE_ACTIVE;
170 return Connection.STATE_DISCONNECTED;
  /libcore/luni/src/test/java/tests/support/
DatabaseCreator.java 19 import java.sql.Connection;
256 public static void fillParentTable(Connection conn) throws SQLException {
265 public static void fillFKStrictTable(Connection conn) throws SQLException {
275 public static void fillFKCascadeTable(Connection conn) throws SQLException {
285 public static void fillSimpleTable1(Connection conn) throws SQLException {
292 public static void fillSimpleTable3(Connection conn) throws SQLException {
299 public static void fillSalesPeopleTable(Connection conn)
311 public static void fillCustomersTable(Connection conn) throws SQLException {
323 public static void fillOrdersTable(Connection conn) throws SQLException {
338 public static void fillTestTable1(Connection conn, int numberOfRecords
    [all...]

Completed in 1555 milliseconds

1 23 4 5 6 7 8 91011>>