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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCall.java67 public abstract List<Connection> getConnections();
76 * @param c a Connection object
79 public boolean hasConnection(Connection c) {
116 * Returns the Connection associated with this Call that was created
119 public Connection
123 Connection c;
124 Connection earliest = null;
133 c = (Connection) l.get(i);
159 Connection c = (Connection)
[all...]
H A DConnection.java24 public abstract class Connection { class
111 * @return Call that owns this Connection, or null if none
116 * Connection create time in currentTimeMillis() format
124 * Connection connect time in currentTimeMillis() format.
133 * The time when this Connection makes a transition into ENDED or FAIL.
167 * If this Connection is connected, then it is associated with
197 * Returns true if Connection is connected and is INCOMING or WAITING
214 * @param userdata user can store an any userdata in the Connection object.
221 * Hangup individual Connection
H A DCallManager.java98 private final ArrayList<Connection> emptyConnections = new ArrayList<Connection>();
714 public Connection dial(Phone phone, String dialString) throws CallStateException {
716 Connection result;
766 public Connection dial(Phone phone, String dialString, UUSInfo uusInfo) throws CallStateException {
1058 * <li>AsyncResult.result = a Connection object that is
1116 * AsyncResult.result = a Connection. <p>
1117 * Please check Connection.isRinging() to make sure the Connection
1119 * If Connection
[all...]
/frameworks/native/services/surfaceflinger/
H A DEventThread.h44 class Connection : public BnDisplayEventConnection { class in class:android::EventThread
46 Connection(const sp<EventThread>& eventThread);
55 virtual ~Connection();
68 sp<Connection> createEventConnection() const;
69 status_t registerDisplayEventConnection(const sp<Connection>& connection);
71 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
72 void requestNextVsync(const sp<Connection>& connection);
84 Vector< sp<EventThread::Connection> > waitForEvent(
93 void removeDisplayEventConnection(const wp<Connection>& connection);
105 SortedVector< wp<Connection> > mDisplayEventConnection
[all...]
H A DEventThread.cpp56 sp<EventThread::Connection> EventThread::createEventConnection() const {
57 return new Connection(const_cast<EventThread*>(this));
61 const sp<EventThread::Connection>& connection) {
69 const wp<EventThread::Connection>& connection) {
75 const sp<EventThread::Connection>& connection) {
87 const sp<EventThread::Connection>& connection) {
146 Vector< sp<EventThread::Connection> > signalConnections;
152 const sp<Connection>& conn(signalConnections[i]);
175 Vector< sp<EventThread::Connection> > EventThread::waitForEvent(
179 Vector< sp<EventThread::Connection> > signalConnection
342 EventThread::Connection::Connection( function in class:android::EventThread::Connection
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCallBase.java21 import com.android.internal.telephony.Connection;
30 protected List<Connection> connections = new ArrayList<Connection>();
34 public List<Connection> getConnections() {
48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) {
49 Connection c = it.next();
H A DSipPhone.java37 import com.android.internal.telephony.Connection;
158 public Connection dial(String dialString) throws CallStateException {
164 private Connection dialInternal(String dialString)
181 Connection c = foregroundCall.dial(dialString);
370 for (Connection c : connections) {
381 public List<Connection> getConnections() {
388 Connection dial(String originalNumber) throws SipException {
417 for (Connection c : connections) {
483 for (Connection c : connections) ((SipConnection) c).hold();
490 for (Connection
[all...]
H A DSipConnectionBase.java20 import com.android.internal.telephony.Connection;
30 abstract class SipConnectionBase extends Connection {
55 private long holdingStartTime; // The time when the Connection last transitioned
H A DSipPhoneBase.java35 import com.android.internal.telephony.Connection;
70 public Connection dial(String dialString, UUSInfo uusInfo)
188 void notifyNewRingingConnection(Connection c) {
192 void notifyDisconnect(Connection cn) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCall.java21 import com.android.internal.telephony.Connection;
34 /*package*/ ArrayList<Connection> connections = new ArrayList<Connection>();
65 public List<Connection>
98 attach(Connection conn, DriverCall dc) {
105 attachFake(Connection conn, State state) {
191 * Called when it's time to clean up disconnected Connection objects
H A DGsmCallTracker.java35 import com.android.internal.telephony.Connection;
157 List<Connection> connCopy;
161 connCopy = (List<Connection>) foregroundCall.connections.clone();
173 synchronized Connection
212 pendingMO.cause = Connection.DisconnectCause.INVALID_NUMBER;
230 Connection
235 Connection
240 Connection
429 Connection newRinging = null; //or waiting
455 // Connection appeare
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java24 import com.android.internal.telephony.Connection;
35 /*package*/ ArrayList<Connection> connections = new ArrayList<Connection>();
65 public List<Connection>
102 attach(Connection conn, DriverCall dc) {
109 attachFake(Connection conn, State state) {
193 * Called when it's time to clean up disconnected Connection objects
H A DCdmaCallWaitingNotification.java20 import com.android.internal.telephony.Connection;
H A DCdmaCallTracker.java32 import com.android.internal.telephony.Connection;
169 List<Connection> connCopy;
173 connCopy = (List<Connection>) foregroundCall.connections.clone();
185 Connection
223 pendingMO.cause = Connection.DisconnectCause.INVALID_NUMBER;
253 Connection
258 private Connection
493 Connection newRinging = null; //or waiting
519 // Connection appeared in CLCC response that we don't know about
667 Connection
[all...]
/frameworks/base/core/java/android/net/http/
H A DIdleCache.java34 Connection mConnection;
67 HttpHost host, Connection connection) {
97 synchronized Connection getConnection(HttpHost host) {
98 Connection ret = null;
H A DRequestQueue.java151 Connection connection = mThreads[i].mConnection;
164 Connection connection = ct.mConnection;
173 public Connection getConnection(Context context, HttpHost host) {
175 Connection con = mIdleCache.getConnection(host);
178 con = Connection.getConnection(mContext, host, mProxyHost,
183 public boolean recycleConnection(Connection connection) {
386 Connection conn = Connection.getConnection(mContext, host, mProxyHost,
543 Connection getConnection(Context context, HttpHost host);
544 boolean recycleConnection(Connection connectio
[all...]
H A DHttpConnection.java35 class HttpConnection extends Connection {
H A DConnectionThread.java45 Connection mConnection;
H A DConnection.java43 abstract class Connection { class
105 protected Connection(Context context, HttpHost host, method in class:Connection
123 static Connection getConnection(
151 "Connection.cancel(): connection closed " + mHost);
331 "Connection.clearPipe(): clearing pipe " + pipe.size());
400 HttpLog.v("Connection.openHttpConnection() " +
481 // Check for 'Connection' directive
H A DRequest.java57 private Connection mConnection;
158 void setConnection(Connection connection) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMPhoneTest.java28 import com.android.internal.telephony.Connection;
136 Connection cn;
188 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState());
190 assertEquals(Connection.DisconnectCause.NOT_DISCONNECTED, cn.getDisconnectCause());
219 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState());
246 assertEquals(Connection.PostDialState.COMPLETE, cn.getPostDialState());
310 cn = (Connection) ar.result;
330 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState());
358 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState());
365 Connection con
[all...]
/frameworks/base/services/input/
H A DInputDispatcher.h584 class Connection;
592 sp<Connection> connection;
784 class Connection : public RefBase { class in class:android::InputDispatcher
786 virtual ~Connection();
816 explicit Connection(const sp<InputChannel>& inputChannel,
876 KeyedVector<int, sp<Connection> > mConnectionsByFd;
1030 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1032 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
1034 void enqueueDispatchEntryLocked(const sp<Connection>& connection,
1036 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>
[all...]
H A DInputDispatcher.cpp911 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1005 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1012 if (connection->status == Connection::STATUS_NORMAL) {
1666 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1769 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1781 if (connection->status != Connection::STATUS_NORMAL) {
1817 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1841 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1928 const sp<Connection>& connection) {
1934 while (connection->status == Connection
4251 InputDispatcher::Connection::Connection(const sp<InputChannel>& inputChannel, function in class:android::InputDispatcher::Connection
[all...]
/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java111 private Connection mConnection;
162 private class Connection implements ServiceConnection { class in class:SpeechRecognizer
262 mConnection = new Connection();
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java481 private Connection mServiceConnection;
624 Connection connection = new Connection();
1257 private class Connection implements ServiceConnection { class in class:TextToSpeech

Completed in 171 milliseconds

12