Searched defs:Connection (Results 1 - 11 of 11) sorted by relevance

/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 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
/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();
/frameworks/base/services/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java53 // Connection state
56 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/services/java/com/android/server/connectivity/
H A DVpn.java103 private Connection mConnection;
370 Connection connection = new Connection();
615 private class Connection implements ServiceConnection { class in class:Vpn
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
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...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java55 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) {
381 private final class Connection implement class in class:RegisteredMediaRouteProvider
394 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java535 private Connection mConnectingServiceConnection;
536 private Connection mServiceConnection;
684 Connection connection = new Connection();
1438 private class Connection implements ServiceConnection { class in class:TextToSpeech
1526 mServiceConnection = Connection.this;
/frameworks/base/services/input/
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...]
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...]

Completed in 319 milliseconds