Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/native/services/surfaceflinger/
DEventThread.cpp55 sp<EventThread::Connection> EventThread::createEventConnection() const { in createEventConnection()
56 return new Connection(const_cast<EventThread*>(this)); in createEventConnection()
60 const sp<EventThread::Connection>& connection) { in registerDisplayEventConnection()
68 const wp<EventThread::Connection>& connection) { in unregisterDisplayEventConnection()
76 const wp<EventThread::Connection>& connection) { in removeDisplayEventConnection()
82 const sp<EventThread::Connection>& connection) { in setVsyncRate()
94 const sp<EventThread::Connection>& connection) { in requestNextVsync()
131 Vector< wp<EventThread::Connection> > displayEventConnections; in threadLoop()
144 sp<Connection> connection = in threadLoop()
194 sp<Connection> connection = in threadLoop()
[all …]
DEventThread.h43 class Connection : public BnDisplayEventConnection {
45 Connection(const sp<EventThread>& eventThread);
55 virtual ~Connection();
68 sp<Connection> createEventConnection() const;
69 status_t registerDisplayEventConnection(const sp<Connection>& connection);
70 status_t unregisterDisplayEventConnection(const wp<Connection>& connection);
72 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
73 void requestNextVsync(const sp<Connection>& connection);
89 void removeDisplayEventConnection(const wp<Connection>& connection);
101 SortedVector< wp<Connection> > mDisplayEventConnections;
/frameworks/base/telephony/java/com/android/internal/telephony/
DCall.java67 public abstract List<Connection> getConnections(); in getConnections()
79 public boolean hasConnection(Connection c) { in hasConnection()
119 public Connection
123 Connection c; in getEarliestConnection()
124 Connection earliest = null; in getEarliestConnection()
133 c = (Connection) l.get(i); in getEarliestConnection()
159 Connection c = (Connection) l.get(i); in getEarliestCreateTime()
180 Connection c = (Connection) l.get(i);
206 public Connection
214 Connection latest = null;
[all …]
DDriverCall.java72 ret.numberPresentation = Connection.PRESENTATION_ALLOWED; in fromCLCCLine()
136 case 0: return Connection.PRESENTATION_ALLOWED; in presentationFromCLIP()
137 case 1: return Connection.PRESENTATION_RESTRICTED; in presentationFromCLIP()
138 case 2: return Connection.PRESENTATION_UNKNOWN; in presentationFromCLIP()
139 case 3: return Connection.PRESENTATION_PAYPHONE; in presentationFromCLIP()
DCallManager.java98 private final ArrayList<Connection> emptyConnections = new ArrayList<Connection>();
714 public Connection dial(Phone phone, String dialString) throws CallStateException { in dial()
716 Connection result; in dial()
766 …public Connection dial(Phone phone, String dialString, UUSInfo uusInfo) throws CallStateException { in dial()
1629 public List<Connection> getFgCallConnections() { in getFgCallConnections()
1641 public List<Connection> getBgCallConnections() { in getBgCallConnections()
1653 public Connection getFgCallLatestConnection() { in getFgCallLatestConnection()
1727 Connection c = (Connection) ((AsyncResult) msg.obj).result;
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipCallBase.java21 import com.android.internal.telephony.Connection;
30 protected List<Connection> connections = new ArrayList<Connection>();
34 public List<Connection> getConnections() { in getConnections()
48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) { in clearDisconnected()
49 Connection c = it.next(); in clearDisconnected()
DSipPhone.java37 import com.android.internal.telephony.Connection;
157 public Connection dial(String dialString) throws CallStateException { in dial()
163 private Connection dialInternal(String dialString) in dialInternal()
180 Connection c = foregroundCall.dial(dialString); in dialInternal()
369 for (Connection c : connections) { in takeOver()
380 public List<Connection> getConnections() { in getConnections()
387 Connection dial(String originalNumber) throws SipException { in dial()
416 for (Connection c : connections) { in hangup()
482 for (Connection c : connections) ((SipConnection) c).hold(); in hold()
489 for (Connection c : connections) { in unhold()
[all …]
DSipConnectionBase.java20 import com.android.internal.telephony.Connection;
29 abstract class SipConnectionBase extends Connection {
173 return Connection.PRESENTATION_ALLOWED; in getNumberPresentation()
DSipPhoneBase.java34 import com.android.internal.telephony.Connection;
68 public Connection dial(String dialString, UUSInfo uusInfo) in dial()
178 void notifyNewRingingConnection(Connection c) { in notifyNewRingingConnection()
182 void notifyDisconnect(Connection cn) { in notifyDisconnect()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaCallWaitingNotification.java20 import com.android.internal.telephony.Connection;
59 case 0: return Connection.PRESENTATION_ALLOWED; in presentationFromCLIP()
60 case 1: return Connection.PRESENTATION_RESTRICTED; in presentationFromCLIP()
61 case 2: return Connection.PRESENTATION_UNKNOWN; in presentationFromCLIP()
65 return Connection.PRESENTATION_UNKNOWN; in presentationFromCLIP()
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) { in attach()
109 attachFake(Connection conn, State state) { in attachFake()
DCdmaCallTracker.java32 import com.android.internal.telephony.Connection;
168 List<Connection> connCopy; in fakeHoldForegroundBeforeDial()
172 connCopy = (List<Connection>) foregroundCall.connections.clone(); in fakeHoldForegroundBeforeDial()
184 Connection
222 pendingMO.cause = Connection.DisconnectCause.INVALID_NUMBER; in dial()
252 Connection
257 private Connection
492 Connection newRinging = null; //or waiting in handlePollCalls()
666 Connection.DisconnectCause cause; in handlePollCalls()
667 if (conn.cause == Connection.DisconnectCause.LOCAL) { in handlePollCalls()
[all …]
DCdmaConnection.java40 public class CdmaConnection extends Connection {
79 int numberPresentation = Connection.PRESENTATION_ALLOWED;
80 int cnapNamePresentation = Connection.PRESENTATION_ALLOWED;
164 cnapNamePresentation = Connection.PRESENTATION_ALLOWED; in CdmaConnection()
165 numberPresentation = Connection.PRESENTATION_ALLOWED; in CdmaConnection()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
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) { in attach()
105 attachFake(Connection conn, State state) { in attachFake()
DGsmCallTracker.java35 import com.android.internal.telephony.Connection;
156 List<Connection> connCopy; in fakeHoldForegroundBeforeDial()
160 connCopy = (List<Connection>) foregroundCall.connections.clone(); in fakeHoldForegroundBeforeDial()
172 synchronized Connection
211 pendingMO.cause = Connection.DisconnectCause.INVALID_NUMBER; in dial()
229 Connection
234 Connection
239 Connection
428 Connection newRinging = null; //or waiting in handlePollCalls()
574 Connection.DisconnectCause cause; in handlePollCalls()
[all …]
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java28 import com.android.internal.telephony.Connection;
135 Connection cn; in brokenTestGeneral()
187 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); in brokenTestGeneral()
189 assertEquals(Connection.DisconnectCause.NOT_DISCONNECTED, cn.getDisconnectCause()); in brokenTestGeneral()
218 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); in brokenTestGeneral()
245 assertEquals(Connection.PostDialState.COMPLETE, cn.getPostDialState()); in brokenTestGeneral()
309 cn = (Connection) ar.result; in brokenTestGeneral()
329 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); in brokenTestGeneral()
357 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); in brokenTestGeneral()
364 Connection conn; in brokenTestGeneral()
[all …]
/frameworks/base/services/input/
DInputDispatcher.h582 class Connection; variable
590 sp<Connection> connection;
781 class Connection : public RefBase {
783 virtual ~Connection();
813 explicit Connection(const sp<InputChannel>& inputChannel,
873 KeyedVector<int, sp<Connection> > mConnectionsByFd;
1021 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1023 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
1025 void enqueueDispatchEntryLocked(const sp<Connection>& connection,
1027 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection);
[all …]
DInputDispatcher.cpp890 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in dispatchEventLocked()
984 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in resumeAfterTargetsNotReadyTimeoutLocked()
991 if (connection->status == Connection::STATUS_NORMAL) { in resumeAfterTargetsNotReadyTimeoutLocked()
1633 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); in isWindowReadyForMoreInputLocked()
1726 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in prepareDispatchCycleLocked()
1738 if (connection->status != Connection::STATUS_NORMAL) { in prepareDispatchCycleLocked()
1774 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) { in enqueueDispatchEntriesLocked()
1798 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget, in enqueueDispatchEntryLocked()
1885 const sp<Connection>& connection) { in startDispatchCycleLocked()
1891 while (connection->status == Connection::STATUS_NORMAL in startDispatchCycleLocked()
[all …]
/frameworks/base/core/java/android/net/http/
DRequestQueue.java151 Connection connection = mThreads[i].mConnection; in disablePersistence()
164 Connection connection = ct.mConnection; in getThread()
173 public Connection getConnection(Context context, HttpHost host) { in getConnection()
175 Connection con = mIdleCache.getConnection(host); in getConnection()
178 con = Connection.getConnection(mContext, host, mProxyHost, in getConnection()
183 public boolean recycleConnection(Connection connection) { in recycleConnection()
386 Connection conn = Connection.getConnection(mContext, host, mProxyHost, in queueSynchronousRequest()
543 Connection getConnection(Context context, HttpHost host); in getConnection()
544 boolean recycleConnection(Connection connection); in recycleConnection()
DIdleCache.java34 Connection mConnection;
67 HttpHost host, Connection connection) { in cacheConnection()
97 synchronized Connection getConnection(HttpHost host) { in getConnection()
98 Connection ret = null; in getConnection()
/frameworks/base/services/java/com/android/server/location/
DGeocoderProxy.java48 private Connection mServiceConnection; // never null after ctor
62 mServiceConnection = new Connection(); in reconnect()
70 private class Connection implements ServiceConnection { class in GeocoderProxy
DLocationProviderProxy.java53 private Connection mServiceConnection; // never null after ctor
79 mServiceConnection = new Connection(); in reconnect()
87 private class Connection implements ServiceConnection, Runnable { class in LocationProviderProxy
/frameworks/base/core/java/android/provider/
DCallLog.java21 import com.android.internal.telephony.Connection;
270 if (presentation == Connection.PRESENTATION_RESTRICTED) { in addCall()
273 } else if (presentation == Connection.PRESENTATION_PAYPHONE) { in addCall()
277 || presentation == Connection.PRESENTATION_UNKNOWN) { in addCall()
/frameworks/base/docs/html/training/monitoring-device-state/
Dconnectivity-monitoring.jd19 <li><a href="#DetermineConnection">Determine if you Have an Internet Connection</a></li>
20 <li><a href="#DetermineType">Determine the Type of your Internet Connection</a></li>
42 <h2 id="DetermineConnection">Determine if You Have an Internet Connection</h2>
55 <h2 id="DetermineType">Determine the Type of your Internet Connection</h2>
/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java111 private Connection mConnection;
162 private class Connection implements ServiceConnection { class in SpeechRecognizer
262 mConnection = new Connection(); in startListening()

123