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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCall.java53 public ArrayList<Connection> mConnections = new ArrayList<Connection>();
69 public abstract List<Connection> getConnections();
78 * @param c a Connection object
81 public boolean hasConnection(Connection c) {
90 List<Connection> connections = getConnections();
118 * Returns the Connection associated with this Call that was created
121 public Connection
123 List<Connection> l;
125 Connection
[all...]
H A DConnection.java25 public abstract class Connection { class
31 private static String LOG_TAG = "Connection";
112 * @return Call that owns this Connection, or null if none
117 * Connection create time in currentTimeMillis() format
125 * Connection connect time in currentTimeMillis() format.
134 * The time when this Connection makes a transition into ENDED or FAIL.
168 * If this Connection is connected, then it is associated with
198 * Returns true if Connection is connected and is INCOMING or WAITING
215 * @param userdata user can store an any userdata in the Connection object.
222 * Hangup individual Connection
[all...]
H A DCallManager.java98 private final ArrayList<Connection> mEmptyConnections = new ArrayList<Connection>();
742 public Connection dial(Phone phone, String dialString) throws CallStateException {
744 Connection result;
794 public Connection dial(Phone phone, String dialString, UUSInfo uusInfo) throws CallStateException {
1078 * <li>AsyncResult.result = a Connection object that is
1136 * AsyncResult.result = a Connection. <p>
1137 * Please check Connection.isRinging() to make sure the Connection
1139 * If Connection
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCallBase.java20 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 DSipPhone.java37 import com.android.internal.telephony.Connection;
181 public Connection dial(String dialString) throws CallStateException {
187 private Connection dialInternal(String dialString)
205 Connection c = mForegroundCall.dial(dialString);
453 for (Connection c : mConnections) {
464 public List<Connection> getConnections() {
472 Connection dial(String originalNumber) throws SipException {
503 for (Connection c : mConnections) {
577 for (Connection c : mConnections) ((SipConnection) c).hold();
585 for (Connection
[all...]
H A DSipConnectionBase.java20 import com.android.internal.telephony.Connection;
29 abstract class SipConnectionBase extends Connection {
51 private long mHoldingStartTime; // The time when the Connection last transitioned
H A DSipPhoneBase.java35 import com.android.internal.telephony.Connection;
73 public Connection dial(String dialString, UUSInfo uusInfo)
196 void notifyNewRingingConnection(Connection c) {
200 void notifyDisconnect(Connection cn) {
/frameworks/native/services/surfaceflinger/
H A DEventThread.h57 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(
107 void removeDisplayEventConnection(const wp<Connection>& connection);
119 SortedVector< wp<Connection> > mDisplayEventConnection
[all...]
H A DEventThread.cpp57 sp<EventThread::Connection> EventThread::createEventConnection() const {
58 return new Connection(const_cast<EventThread*>(this));
62 const sp<EventThread::Connection>& connection) {
70 const wp<EventThread::Connection>& connection) {
76 const sp<EventThread::Connection>& connection) {
88 const sp<EventThread::Connection>& connection) {
141 Vector< sp<EventThread::Connection> > signalConnections;
147 const sp<Connection>& conn(signalConnections[i]);
170 Vector< sp<EventThread::Connection> > EventThread::waitForEvent(
174 Vector< sp<EventThread::Connection> > signalConnection
344 EventThread::Connection::Connection( function in class:android::EventThread::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) {
H A DRequestHandle.java52 private Connection mConnection;
83 * Creates a new request session with a given Connection. This connection
89 Connection conn) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java23 import com.android.internal.telephony.Connection;
62 public List<Connection>
98 attach(Connection conn, DriverCall dc) {
105 attachFake(Connection conn, State state) {
192 * Called when it's time to clean up disconnected Connection objects
H A DCdmaCallTracker.java32 import com.android.internal.telephony.Connection;
118 c.onDisconnect(Connection.DisconnectCause.LOST_SIGNAL);
129 mPendingMO.onDisconnect(Connection.DisconnectCause.LOST_SIGNAL);
184 Connection
222 mPendingMO.mCause = Connection.DisconnectCause.INVALID_NUMBER;
252 Connection
257 private Connection
493 Connection newRinging = null; //or waiting
520 // Connection appeared in CLCC response that we don't know about
668 Connection
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCall.java21 import com.android.internal.telephony.Connection;
64 public List<Connection>
101 attach(Connection conn, DriverCall dc) {
108 attachFake(Connection conn, State state) {
196 * Called when it's time to clean up disconnected Connection objects
H A DGsmCallTracker.java35 import com.android.internal.telephony.Connection;
120 c.onDisconnect(Connection.DisconnectCause.LOST_SIGNAL);
131 mPendingMO.onDisconnect(Connection.DisconnectCause.LOST_SIGNAL);
172 List<Connection> connCopy;
176 connCopy = (List<Connection>) mForegroundCall.mConnections.clone();
188 synchronized Connection
227 mPendingMO.mCause = Connection.DisconnectCause.INVALID_NUMBER;
245 Connection
250 Connection
255 Connection
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java53 private Connection mActiveConnection;
195 Connection connection = new Connection(messenger);
217 private void onConnectionReady(Connection connection) {
229 private void onConnectionDied(Connection connection) {
238 private void onConnectionError(Connection connection, String error) {
247 private void onConnectionDescriptorChanged(Connection connection,
299 private Connection mConnection;
306 public void attachConnection(Connection connection) {
379 private final class Connection implement class in class:RegisteredMediaRouteProvider
392 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection
[all...]
/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.h587 class Connection;
595 sp<Connection> connection;
788 class Connection : public RefBase { class in class:android::InputDispatcher
790 virtual ~Connection();
820 explicit Connection(const sp<InputChannel>& inputChannel,
884 KeyedVector<int, sp<Connection> > mConnectionsByFd;
1038 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1040 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
1042 void enqueueDispatchEntryLocked(const sp<Connection>& connection,
1044 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>
[all...]
H A DInputDispatcher.cpp925 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1019 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1026 if (connection->status == Connection::STATUS_NORMAL) {
1667 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1770 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1782 if (connection->status != Connection::STATUS_NORMAL) {
1818 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1842 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1929 const sp<Connection>& connection) {
1935 while (connection->status == Connection
4295 InputDispatcher::Connection::Connection(const sp<InputChannel>& inputChannel, function in class:android::InputDispatcher::Connection
[all...]
/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java117 private Connection mConnection;
168 private class Connection implements ServiceConnection { class in class:SpeechRecognizer
268 mConnection = new Connection();

Completed in 1880 milliseconds

12