Searched defs:Connection (Results 1 - 14 of 14) 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(
108 void removeDisplayEventConnection(const wp<Connection>& connection);
121 SortedVector< wp<Connection> > mDisplayEventConnection
[all...]
H A DEventThread.cpp91 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/core/java/android/net/http/
H A DConnection.java42 abstract class Connection { class
104 protected Connection(Context context, HttpHost host, method in class:Connection
122 static Connection getConnection(
150 "Connection.cancel(): connection closed " + mHost);
330 "Connection.clearPipe(): clearing pipe " + pipe.size());
399 HttpLog.v("Connection.openHttpConnection() " +
480 // 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/core/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java52 // 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/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp243 // Connection between a surface and a stream.
244 class Connection { class in class:android::JTvInputHal
246 Connection() {} function in class:android::JTvInputHal::Connection
272 KeyedVector<int, KeyedVector<int, Connection> > mConnections;
316 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
318 connections.add(streamId, Connection());
320 Connection& connection = connections.editValueFor(streamId);
387 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
391 Connection& connection = connections.editValueFor(streamId);
461 mConnections.add(info.device_id, KeyedVector<int, Connection>());
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java32 public abstract class Connection { class
39 * {@link android.telecom.Connection}.
46 android.telecom.Connection.VideoProvider videoProvider);
62 android.telecom.Connection.VideoProvider videoProvider) {}
90 protected long mHoldingStartTime; // The time when the Connection last transitioned
92 protected Connection mOrigConnection;
99 private static String LOG_TAG = "Connection";
106 private android.telecom.Connection.VideoProvider mVideoProvider;
147 * @return Call that owns this Connection, or null if none
152 * Connection creat
[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/services/core/java/com/android/server/connectivity/
H A DVpn.java111 private Connection mConnection;
510 Connection oldConnection = mConnection;
529 Connection connection = new Connection();
769 private class Connection implements ServiceConnection { class in class:Vpn
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java79 private final SparseArray<Connection> mConnections = new SparseArray<>();
132 Connection connection = new Connection(info);
154 Connection connection = mConnections.get(deviceId);
182 Connection connection = mConnections.get(deviceId);
200 Connection connection = mConnections.get(deviceId);
227 Connection connection, int callingUid, int resolvedUserId) {
330 Connection connection = mConnections.get(deviceId);
356 Connection connection = mConnections.get(deviceId);
381 Connection connectio
460 private class Connection implements IBinder.DeathRecipient { class in class:TvInputHardwareManager
470 public Connection(TvInputHardwareInfo hardwareInfo) { method in class:TvInputHardwareManager.Connection
[all...]
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp928 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1022 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1036 if (connection->status == Connection::STATUS_NORMAL) {
1662 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1663 if (connection->status != Connection::STATUS_NORMAL) {
1785 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1797 if (connection->status != Connection::STATUS_NORMAL) {
1833 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1857 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1944 const sp<Connection>
4372 InputDispatcher::Connection::Connection(const sp<InputChannel>& inputChannel, function in class:android::InputDispatcher::Connection
[all...]
H A DInputDispatcher.h585 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/base/core/java/android/speech/tts/
H A DTextToSpeech.java654 private Connection mConnectingServiceConnection;
655 private Connection mServiceConnection;
797 Connection connection = new Connection();
2061 private class Connection implements ServiceConnection { class in class:TextToSpeech
2163 mServiceConnection = Connection.this;
/frameworks/base/telecomm/java/android/telecom/
H A DConnection.java39 * 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 { class
71 public void onStateChanged(Connection c, int state) {}
72 public void onAddressChanged(Connection c, Uri newAddress, int presentation) {}
74 Connection c, String callerDisplayName, int presentation) {}
75 public void onVideoStateChanged(Connection c, int videoState) {}
76 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {}
77 public void onPostDialWait(Connection
485 public Connection() {} method in class:Connection
[all...]

Completed in 458 milliseconds