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

1 2 3 4 5 67 8 91011>>

  /cts/tests/tests/telecom/src/android/telecom/cts/
ConferenceTest.java 24 import android.telecom.Connection;
49 public static final int CONF_CAPABILITIES = Connection.CAPABILITY_SEPARATE_FROM_CONFERENCE |
50 Connection.CAPABILITY_DISCONNECT_FROM_CONFERENCE | Connection.CAPABILITY_HOLD |
51 Connection.CAPABILITY_MERGE_CONFERENCE | Connection.CAPABILITY_SWAP_CONFERENCE;
87 assertConnectionState(mConferenceObject.getConnections().get(0), Connection.STATE_ACTIVE);
88 assertConnectionState(mConferenceObject.getConnections().get(1), Connection.STATE_ACTIVE);
89 assertConferenceState(mConferenceObject, Connection.STATE_ACTIVE);
166 ArrayList<Connection> connectionList = new ArrayList<>()
    [all...]
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
468 final MockConnection connection = verifyConnectionForOutgoingCall(); local
493 final MockConnection connection = verifyConnectionForOutgoingCall(); local
515 final MockConnection connection = verifyConnectionForOutgoingCall(); local
542 final MockConnection connection = verifyConnectionForOutgoingCall(); local
569 final MockConnection connection = verifyConnectionForOutgoingCall(); local
592 final MockConnection connection = verifyConnectionForOutgoingCall(); local
    [all...]
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/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...]
  /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...]
  /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...]
ParcelableConference.java 29 * A parcelable representation of a conference connection.
77 .append(Connection.stateToString(mState))
79 .append(Connection.capabilitiesToString(mConnectionCapabilities))
81 .append(Connection.propertiesToString(mConnectionProperties))
RemoteConnectionService.java 40 * Remote connection service which other connection services can use to place calls on their behalf.
60 RemoteConnection connection =
62 if (connection != NULL_CONNECTION && mPendingConnections.contains(connection)) {
63 mPendingConnections.remove(connection);
64 // Unconditionally initialize the connection ...
65 connection.setConnectionCapabilities(parcel.getConnectionCapabilities());
66 connection.setConnectionProperties(parcel.getConnectionProperties());
68 || parcel.getState() != Connection.STATE_DISCONNECTED)
514 RemoteConnection connection = local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
VideoProviderProxy.java 29 import android.telecom.Connection;
47 * implementations to the underlying {@link Connection.VideoProvider} implementation. Also proxies
48 * callbacks from the {@link Connection.VideoProvider} to {@link InCallService.VideoCall}
53 public class VideoProviderProxy extends Connection.VideoProvider {
76 * The {@link android.telecom.Connection.VideoProvider} implementation residing with the
204 if (status == Connection.VideoProvider.SESSION_MODIFY_REQUEST_SUCCESS) {
226 Connection.VideoProvider.sessionEventToString(event));
330 Connection.VideoProvider.SESSION_EVENT_CAMERA_PERMISSION_ERROR);
333 Connection.VideoProvider.SESSION_EVENT_CAMERA_FAILURE);
343 Connection.VideoProvider.SESSION_EVENT_CAMERA_FAILURE)
    [all...]
BluetoothPhoneServiceImpl.java 31 import android.telecom.Connection;
520 if (activeCall != null && activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) {
533 } else if (activeCall != null && activeCall.can(Connection.CAPABILITY_HOLD)) {
539 if (activeCall.can(Connection.CAPABILITY_MERGE_CONFERENCE)) {
567 .can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN))) {
582 .can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN);
604 conferenceCall.can(Connection.CAPABILITY_MERGE_CONFERENCE) ||
605 (conferenceCall.can(Connection.CAPABILITY_SWAP_CONFERENCE) &&
620 conferenceCall.can(Connection.CAPABILITY_MANAGE_CONFERENCE)) {
726 !activeCall.can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN))
    [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...]
  /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...]
  /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;
38 final class SipConnection extends Connection {
55 private com.android.internal.telephony.Connection mOriginalConnection;
63 void initialize(com.android.internal.telephony.Connection connection) {
64 if (VERBOSE) log("init SipConnection, connection: " + connection);
65 mOriginalConnection = connection;
85 if (VERBOSE) log("onStateChanged, state: " + Connection.stateToString(state));
306 * 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 {
  /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/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...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
RttChatbot.java 25 import android.telecom.Connection;
46 private final Connection.RttTextStream mRttTextStream;
106 public RttChatbot(Context context, Connection.RttTextStream textStream) {
  /packages/services/Telephony/tests/src/com/android/services/telephony/
TelephonyConferenceControllerTest.java 21 import android.telecom.Connection;
76 * Assumption: after performing the behaviours, the status of Connection A is STATE_ACTIVE;
77 * the status of Connection B is STATE_HOLDING;
78 * the call in the original connection is Call.State.ACTIVE;
80 * isConferenceSupported of the connection is True
81 * Expected: Connection A and Connection B are conferenceable with each other
92 // add telephony connection B
95 // add telephony connection A
117 * Behavior: add telephony connection B and A to conference controller
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/
responsewrite_test.go 52 // HTTP/1.1 response with unknown length and Connection: close
65 "Connection: close\r\n" +
69 // HTTP/1.1 response with unknown length and not setting connection: close
82 "Connection: close\r\n" +
86 // HTTP/1.1 response with unknown length and not setting connection: close, but
149 "Connection: close\r\n" +
167 "Connection: close\r\n" +
190 "Connection: close\r\n" +
  /prebuilts/go/linux-x86/src/net/http/
responsewrite_test.go 52 // HTTP/1.1 response with unknown length and Connection: close
65 "Connection: close\r\n" +
69 // HTTP/1.1 response with unknown length and not setting connection: close
82 "Connection: close\r\n" +
86 // HTTP/1.1 response with unknown length and not setting connection: close, but
149 "Connection: close\r\n" +
167 "Connection: close\r\n" +
190 "Connection: close\r\n" +
  /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/python/cpython2/Lib/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 an APSW connection
181 Verifies that connection methods check whether base class __init__ was
184 class Connection(sqlite.Connection):
188 con = Connection(":memory:")
200 the connection object, too. (fetch-across-rollback problem)
202 class Connection(sqlite.Connection):
210 con = Connection(":memory:"
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
GsmCdmaCallTracker.java 69 private static final int MAX_CONNECTIONS_PER_CALL_CDMA = 1; //only 1 connection allowed per call
122 List<Connection> toNotify = new ArrayList<Connection>();
131 for (Connection connection : toNotify) {
132 if (connection != null) {
133 connection.onExitedEcmMode();
252 List<Connection> connCopy;
256 connCopy = (List<Connection>) mForegroundCall.mConnections.clone();
269 public synchronized Connection dial(String dialString, int clirMode, UUSInfo uusInfo
1397 Connection connection = mForegroundCall.getLatestConnection(); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
HfpClientConnectionService.java 31 import android.telecom.Connection;
81 Log.d(TAG, "Established connection with " + device);
93 // Disconnect any inflight calls from the connection service.
170 // connection is still active) and to stop it we need a special intent since stopService
186 // This method is called whenever there is a new incoming call (or right after BT connection).
188 public Connection onCreateIncomingConnection(
198 Log.w(TAG, "HfpClient does not support having a connection manager");
202 // We should already have a connection by this time.
211 public Connection onCreateOutgoingConnection(
219 Log.w(TAG, "HfpClient does not support having a connection manager")
    [all...]

Completed in 1348 milliseconds

1 2 3 4 5 67 8 91011>>