Searched refs:Connection (Results 1 - 25 of 77) sorted by relevance

1234

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCall.java71 public ArrayList<Connection> mConnections = new ArrayList<Connection>();
79 public abstract List<Connection> getConnections();
88 * @param c a Connection object
91 public boolean hasConnection(Connection c) {
100 List<Connection> connections = getConnections();
136 * Returns the Connection associated with this Call that was created
139 public Connection
141 List<Connection> l;
143 Connection
[all...]
H A DGsmCdmaCall.java38 public List<Connection> getConnections() {
69 public void attach(Connection conn, DriverCall dc) {
75 public void attachFake(Connection conn, State state) {
H A DConnection.java36 public abstract class Connection { class
86 * {@link android.telecom.Connection}.
93 android.telecom.Connection.VideoProvider videoProvider);
101 public void onCallPullFailed(Connection externalConnection);
120 android.telecom.Connection.VideoProvider videoProvider) {}
136 public void onCallPullFailed(Connection externalConnection) {}
176 protected long mHoldingStartTime; // The time when the Connection last transitioned
178 protected Connection mOrigConnection;
191 private static String LOG_TAG = "Connection";
200 private android.telecom.Connection
220 protected Connection(int phoneType) { method in class:Connection
[all...]
H A DCallTracker.java47 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>();
99 protected Connection getHoConnection(DriverCall dc) {
100 for (Connection hoConn : mHandoverConnections) {
107 for (Connection hoConn : mHandoverConnections) {
117 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCallBase.java20 import com.android.internal.telephony.Connection;
27 public List<Connection> getConnections() {
H A DSipConnectionBase.java20 import com.android.internal.telephony.Connection;
30 abstract class SipConnectionBase extends Connection {
50 private long mHoldingStartTime; // The time when the Connection last transitioned
189 public Connection getOrigConnection() {
/frameworks/native/services/surfaceflinger/
H A DEventThread.h59 class Connection : public BnDisplayEventConnection { class in class:android::EventThread
61 explicit Connection(const sp<EventThread>& eventThread);
70 virtual ~Connection();
83 sp<Connection> createEventConnection() const;
84 status_t registerDisplayEventConnection(const sp<Connection>& connection);
86 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
87 void requestNextVsync(const sp<Connection>& connection);
98 Vector< sp<EventThread::Connection> > waitForEvent(
112 void removeDisplayEventConnection(const wp<Connection>& connection);
126 SortedVector< wp<Connection> > mDisplayEventConnection
[all...]
H A DEventThread.cpp97 sp<EventThread::Connection> EventThread::createEventConnection() const {
98 return new Connection(const_cast<EventThread*>(this));
102 const sp<EventThread::Connection>& connection) {
110 const wp<EventThread::Connection>& connection) {
116 const sp<EventThread::Connection>& connection) {
128 const sp<EventThread::Connection>& connection) {
184 Vector< sp<EventThread::Connection> > signalConnections;
190 const sp<Connection>& conn(signalConnections[i]);
213 Vector< sp<EventThread::Connection> > EventThread::waitForEvent(
217 Vector< sp<EventThread::Connection> > signalConnection
389 EventThread::Connection::Connection( function in class:android::EventThread::Connection
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DConference.java24 import android.telecom.Connection.VideoProvider;
38 * Represents a conference call which can contain any number of {@link Connection} objects.
52 public void onConnectionAdded(Conference conference, Connection connection) {}
53 public void onConnectionRemoved(Conference conference, Connection connection) {}
55 Conference conference, List<Connection> conferenceableConnections) {}
62 public void onVideoProviderChanged(Conference c, Connection.VideoProvider videoProvider) {}
69 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>();
70 private final List<Connection> mUnmodifiableChildConnections =
72 private final List<Connection> mConferenceableConnections = new ArrayList<>();
73 private final List<Connection> mUnmodifiableConferenceableConnection
[all...]
H A DConnectionService.java82 * wherein it should provide a new instance of a {@link Connection} object. It is through this
83 * {@link Connection} object that telecom receives state updates and the {@link ConnectionService}
97 * being asked to create a new outgoing {@link Connection} is to perform a handover of an
176 private static Connection sNullConnection;
178 private final Map<String, Connection> mConnectionById = new ConcurrentHashMap<>();
179 private final Map<Connection, String> mIdByConnection = new ConcurrentHashMap<>();
555 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
586 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
978 Connection.RttTextStream rttTextStream =
979 (Connection
[all...]
H A DConnection.java57 * Implementations create a custom subclass of {@code Connection} and return it to the framework
62 * Implementations are then responsible for updating the state of the {@code Connection}, and
63 * must call {@link #destroy()} to signal to the framework that the {@code Connection} is no
66 * Subclasses of {@code Connection} override the {@code on*} methods to provide the the
68 * called by Telecom to inform an instance of a {@code Connection} of actions specific to that
69 * {@code Connection} instance.
74 * Where a {@code Connection} has {@link #CAPABILITY_SUPPORT_HOLD}, the {@link #onHold()} and
76 * {@code Connection}.
78 * Where a {@code Connection} supports a variation of video calling (e.g. the
82 * Where a {@code Connection} ha
97 public abstract class Connection extends Conferenceable { class in inherits:Conferenceable
1722 public Connection() {} method in class:Connection
[all...]
H A DRemoteConference.java145 private int mState = Connection.STATE_NEW;
181 if (newState != Connection.STATE_ACTIVE &&
182 newState != Connection.STATE_HOLDING &&
183 newState != Connection.STATE_DISCONNECTED) {
185 Connection.stateToString(newState));
296 if (mState != Connection.STATE_DISCONNECTED) {
298 setState(Connection.STATE_DISCONNECTED);
360 * Gets the state of the conference call. See {@link Connection} for valid values.
370 * {@link Connection} for valid values.
380 * {@link Connection} fo
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsExternalCall.java21 import com.android.internal.telephony.Connection;
40 public List<Connection> getConnections() {
H A DImsRttTextHandler.java22 import android.telecom.Connection;
62 private Connection.RttTextStream mRttTextStream;
65 private final Connection.RttTextStream mReaderThreadRttTextStream;
67 public InCallReaderThread(Connection.RttTextStream textStream) {
118 mRttTextStream = (Connection.RttTextStream) msg.obj;
196 public void initialize(Connection.RttTextStream rttTextStream) {
H A DImsPhoneCall.java27 import com.android.internal.telephony.Connection;
91 public List<Connection>
133 for (Connection conn : mConnections) {
153 public void attach(Connection conn) {
163 public void attach(Connection conn, State state) {
172 public void attachFake(Connection conn, State state) {
366 for (Connection c : mConnections) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsExternalCallTrackerTest.java29 import com.android.internal.telephony.Connection;
78 ArgumentCaptor<Connection> connectionArgumentCaptor = ArgumentCaptor.forClass(
79 Connection.class);
83 Connection connection = connectionArgumentCaptor.getValue();
H A DImsPhoneConnectionTest.java31 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());
205 assertEquals(Connection
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java52 // Connection state
55 private Connection mActiveConnection;
230 Connection connection = new Connection(provider);
252 private void onConnectionReady(Connection connection) {
265 private void onConnectionDied(Connection connection) {
274 private void onDisplayStateChanged(Connection connection, RemoteDisplayState state) {
325 private final class Connection implements DeathRecipient { class in class:RemoteDisplayProviderProxy
329 public Connection(IRemoteDisplayProvider provider) { method in class:RemoteDisplayProviderProxy.Connection
341 onConnectionReady(Connection
[all...]
/frameworks/base/telephony/java/com/android/ims/
H A DImsConferenceState.java28 import android.telecom.Connection;
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;
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvRemoteProviderProxy.java64 // Connection state
67 private Connection mActiveConnection;
186 Connection connection = new Connection(provider);
212 private void onConnectionReady(Connection connection) {
222 private void onConnectionDied(Connection connection) {
272 private final class Connection implements IBinder.DeathRecipient { class in class:TvRemoteProviderProxy
276 public Connection(ITvRemoteProvider provider) { method in class:TvRemoteProviderProxy.Connection
282 if (DEBUG) Slog.d(TAG, "Connection::register()");
289 onConnectionReady(Connection
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmCdmaConnectionTest.java80 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState());
98 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState());
138 assertEquals(Connection.PostDialState.PAUSE, connection.getPostDialState());
141 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState());
155 assertEquals(Connection.PostDialState.STARTED, connection.getPostDialState());
158 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState());
174 assertEquals(Connection.PostDialState.WAIT, connection.getPostDialState());
177 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState());
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java83 private Connection mActiveConnection;
132 Connection connection = new Connection(messenger);
271 void onConnectionReady(Connection connection) {
283 void onConnectionDied(Connection connection) {
292 void onConnectionError(Connection connection, String error) {
301 void onConnectionDescriptorChanged(Connection connection,
349 private Connection mConnection;
357 public void attachConnection(Connection connection) {
435 private final class Connection implement class in class:RegisteredMediaRouteProvider
448 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection
[all...]
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintServiceRecommendationService.java44 * Connection to a remote print service recommendation service.
57 private @NonNull final Connection mConnection;
136 mConnection = new Connection(callbacks);
188 * Connection to the service.
190 private class Connection implements ServiceConnection { class in class:RemotePrintServiceRecommendationService
193 public Connection(@NonNull RemotePrintServiceRecommendationServiceCallbacks callbacks) { method in class:RemotePrintServiceRecommendationService.Connection
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/verifier/
H A DDatabaseVerifier.kt24 import java.sql.Connection
35 val connection : Connection, val context : Context, val entities : List<Entity>) {
/frameworks/native/services/inputflinger/
H A DInputDispatcher.h592 class Connection;
600 sp<Connection> connection;
800 class Connection : public RefBase { class in class:android::InputDispatcher
802 virtual ~Connection();
832 explicit Connection(const sp<InputChannel>& inputChannel,
898 KeyedVector<int, sp<Connection> > mConnectionsByFd;
1069 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1071 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
1073 void enqueueDispatchEntryLocked(const sp<Connection>& connection,
1075 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>
[all...]

Completed in 710 milliseconds

1234