/frameworks/base/telecomm/java/android/telecom/ |
H A D | Conference.java | 29 * Represents a conference call which can contain any number of {@link Connection} objects. 45 public void onConnectionAdded(Conference conference, Connection connection) {} 46 public void onConnectionRemoved(Conference conference, Connection connection) {} 48 Conference conference, List<Connection> conferenceableConnections) {} 55 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>(); 56 private final List<Connection> mUnmodifiableChildConnections = 58 private final List<Connection> mConferenceableConnections = new ArrayList<>(); 59 private final List<Connection> mUnmodifiableConferenceableConnections = 64 private int mState = Connection.STATE_NEW; 70 private final Connection [all...] |
H A D | ConnectionService.java | 70 * should provide a new instance of a {@link Connection} object. It is through this 71 * {@link Connection} object that telecom receives state updates and the {@code ConnectionService} 107 private static Connection sNullConnection; 109 private final Map<String, Connection> mConnectionById = new ConcurrentHashMap<>(); 110 private final Map<Connection, String> mIdByConnection = new ConcurrentHashMap<>(); 370 case Connection.STATE_ACTIVE: 373 case Connection.STATE_HOLDING: 376 case Connection.STATE_DISCONNECTED: 389 public void onConnectionAdded(Conference conference, Connection connection) { 393 public void onConnectionRemoved(Conference conference, Connection connectio [all...] |
H A D | Connection.java | 39 * Implementations create a custom subclass of {@code Connection} and return it to the framework 44 * Implementations are then responsible for updating the state of the {@code Connection}, and 45 * must call {@link #destroy()} to signal to the framework that the {@code Connection} is no 50 public abstract class Connection implements IConferenceable { class in inherits:IConferenceable 66 /** Connection can currently be put on hold or unheld. */ 69 /** Connection supports the hold feature. */ 74 * add a {@link Conference} before the child {@link Connection}s are merged. This is how 75 * CDMA-based {@link Connection}s are implemented. For these unmerged {@link Conference}s, this 96 /** Connection supports responding via text option. */ 99 /** Connection ca 679 public Connection() {} method in class:Connection [all...] |
H A D | RemoteConference.java | 32 * Represents a conference call which can contain any number of {@link Connection} objects. 63 private int mState = Connection.STATE_NEW; 90 if (newState != Connection.STATE_ACTIVE && 91 newState != Connection.STATE_HOLDING && 92 newState != Connection.STATE_DISCONNECTED) { 94 Connection.stateToString(newState)); 150 if (mState != Connection.STATE_DISCONNECTED) { 152 setState(Connection.STATE_DISCONNECTED);
|
H A D | ParcelableConference.java | 65 .append(Connection.stateToString(mState)) 67 .append(Connection.capabilitiesToString(mConnectionCapabilities))
|
H A D | RemoteConnectionService.java | 69 if (parcel.getState() == Connection.STATE_DISCONNECTED) { 82 if (connection.getState() == Connection.STATE_DISCONNECTED) { 94 .setState(Connection.STATE_ACTIVE); 97 .setState(Connection.STATE_ACTIVE); 104 .setState(Connection.STATE_RINGING); 110 .setState(Connection.STATE_DIALING); 128 .setState(Connection.STATE_HOLDING); 131 .setState(Connection.STATE_HOLDING); 396 Log.w(this, "%s - Cannot find Connection %s", action, callId);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | Call.java | 69 public ArrayList<Connection> mConnections = new ArrayList<Connection>(); 85 public abstract List<Connection> getConnections(); 94 * @param c a Connection object 97 public boolean hasConnection(Connection c) { 106 List<Connection> connections = getConnections(); 134 * Returns the Connection associated with this Call that was created 137 public Connection 139 List<Connection> l; 141 Connection [all...] |
H A D | Connection.java | 34 public abstract class Connection { class 42 * {@link android.telecom.Connection}. 49 android.telecom.Connection.VideoProvider videoProvider); 66 android.telecom.Connection.VideoProvider videoProvider) {} 96 protected long mHoldingStartTime; // The time when the Connection last transitioned 98 protected Connection mOrigConnection; 105 private static String LOG_TAG = "Connection"; 112 private android.telecom.Connection.VideoProvider mVideoProvider; 154 * @return Call that owns this Connection, or null if none 159 * Connection creat [all...] |
H A D | CallTracker.java | 45 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>(); 97 protected Connection getHoConnection(DriverCall dc) { 98 for (Connection hoConn : mHandoverConnections) { 105 for (Connection hoConn : mHandoverConnections) { 115 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCallBase.java | 20 import com.android.internal.telephony.Connection; 29 public List<Connection> getConnections() { 45 for (Iterator<Connection> it = mConnections.iterator(); it.hasNext(); ) { 46 Connection c = it.next();
|
H A D | SipConnectionBase.java | 20 import com.android.internal.telephony.Connection; 30 abstract class SipConnectionBase extends Connection { 52 private long mHoldingStartTime; // The time when the Connection last transitioned 213 public Connection getOrigConnection() {
|
H A D | SipPhone.java | 38 import com.android.internal.telephony.Connection; 93 public Connection takeIncomingCall(Object incomingCall) { 182 public Connection dial(String dialString, int videoState) throws CallStateException { 188 private Connection dialInternal(String dialString, int videoState) 206 Connection c = mForegroundCall.dial(dialString); 455 for (Connection c : mConnections) { 466 public List<Connection> getConnections() { 474 Connection dial(String originalNumber) throws SipException { 505 for (Connection c : mConnections) { 580 for (Connection [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.h | 57 class Connection : public BnDisplayEventConnection { class in class:android::EventThread 59 Connection(const sp<EventThread>& eventThread); 68 virtual ~Connection(); 81 sp<Connection> createEventConnection() const; 82 status_t registerDisplayEventConnection(const sp<Connection>& connection); 84 void setVsyncRate(uint32_t count, const sp<Connection>& connection); 85 void requestNextVsync(const sp<Connection>& connection); 96 Vector< sp<EventThread::Connection> > waitForEvent( 108 void removeDisplayEventConnection(const wp<Connection>& connection); 121 SortedVector< wp<Connection> > mDisplayEventConnection [all...] |
H A D | EventThread.cpp | 91 sp<EventThread::Connection> EventThread::createEventConnection() const { 92 return new Connection(const_cast<EventThread*>(this)); 96 const sp<EventThread::Connection>& connection) { 104 const wp<EventThread::Connection>& connection) { 110 const sp<EventThread::Connection>& connection) { 122 const sp<EventThread::Connection>& connection) { 175 Vector< sp<EventThread::Connection> > signalConnections; 181 const sp<Connection>& conn(signalConnections[i]); 204 Vector< sp<EventThread::Connection> > EventThread::waitForEvent( 208 Vector< sp<EventThread::Connection> > signalConnection 377 EventThread::Connection::Connection( function in class:android::EventThread::Connection [all...] |
/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsConferenceState.java | 28 import android.telecom.Connection; 149 * @return The corresponding {@link android.telecom.Connection} state. 153 return Connection.STATE_INITIALIZING; 155 return Connection.STATE_RINGING; 158 return Connection.STATE_DIALING; 160 return Connection.STATE_HOLDING; 164 return Connection.STATE_ACTIVE; 166 return Connection.STATE_DISCONNECTED;
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | RemoteDisplayProviderProxy.java | 52 // Connection state 55 private Connection mActiveConnection; 229 Connection connection = new Connection(provider); 251 private void onConnectionReady(Connection connection) { 264 private void onConnectionDied(Connection connection) { 273 private void onDisplayStateChanged(Connection connection, RemoteDisplayState state) { 324 private final class Connection implements DeathRecipient { class in class:RemoteDisplayProviderProxy 328 public Connection(IRemoteDisplayProvider provider) { method in class:RemoteDisplayProviderProxy.Connection 340 onConnectionReady(Connection [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | IdleCache.java | 34 Connection mConnection; 67 HttpHost host, Connection connection) { 97 synchronized Connection getConnection(HttpHost host) { 98 Connection ret = null;
|
H A D | RequestQueue.java | 147 Connection connection = mThreads[i].mConnection; 160 Connection connection = ct.mConnection; 169 public Connection getConnection(Context context, HttpHost host) { 171 Connection con = mIdleCache.getConnection(host); 174 con = Connection.getConnection(mContext, host, mProxyHost, 179 public boolean recycleConnection(Connection connection) { 382 Connection conn = Connection.getConnection(mContext, host, mProxyHost, 539 Connection getConnection(Context context, HttpHost host); 540 boolean recycleConnection(Connection connectio [all...] |
H A D | HttpConnection.java | 33 class HttpConnection extends Connection {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaCall.java | 23 import com.android.internal.telephony.Connection; 46 public List<Connection> 82 attach(Connection conn, DriverCall dc) { 89 attachFake(Connection conn, State state) { 176 * Called when it's time to clean up disconnected Connection objects
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmCall.java | 21 import com.android.internal.telephony.Connection; 47 public List<Connection> 84 attach(Connection conn, DriverCall dc) { 91 attachFake(Connection conn, State state) { 179 * Called when it's time to clean up disconnected Connection objects
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RegisteredMediaRouteProvider.java | 55 private Connection mActiveConnection; 197 Connection connection = new Connection(messenger); 219 private void onConnectionReady(Connection connection) { 231 private void onConnectionDied(Connection connection) { 240 private void onConnectionError(Connection connection, String error) { 249 private void onConnectionDescriptorChanged(Connection connection, 301 private Connection mConnection; 308 public void attachConnection(Connection connection) { 386 private final class Connection implement class in class:RegisteredMediaRouteProvider 399 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCall.java | 25 import com.android.internal.telephony.Connection; 72 public List<Connection> 112 attach(Connection conn) { 118 attach(Connection conn, State state) { 124 attachFake(Connection conn, State state) { 183 * Called when it's time to clean up disconnected Connection objects 316 for (Connection c : mConnections) {
|
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.h | 585 class Connection; 593 sp<Connection> connection; 786 class Connection : public RefBase { class in class:android::InputDispatcher 788 virtual ~Connection(); 818 explicit Connection(const sp<InputChannel>& inputChannel, 882 KeyedVector<int, sp<Connection> > mConnectionsByFd; 1052 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, 1054 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection, 1056 void enqueueDispatchEntryLocked(const sp<Connection>& connection, 1058 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection> [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GSMPhoneTest.java | 30 import com.android.internal.telephony.Connection; 138 Connection cn; 190 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); 221 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); 248 assertEquals(Connection.PostDialState.COMPLETE, cn.getPostDialState()); 312 cn = (Connection) ar.result; 332 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); 360 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); 367 Connection conn; 604 cn = (Connection) a [all...] |