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.cpp250 // Connection between a surface and a stream.
251 class Connection { class in class:android::JTvInputHal
253 Connection() {} function in class:android::JTvInputHal::Connection
290 KeyedVector<int, KeyedVector<int, Connection> > mConnections;
336 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
338 connections.add(streamId, Connection());
340 Connection& connection = connections.editValueFor(streamId);
407 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
411 Connection& connection = connections.editValueFor(streamId);
471 mConnections.add(info.device_id, KeyedVector<int, 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) {
386 private final class Connection implement class in class:RegisteredMediaRouteProvider
399 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java113 private Connection mConnection;
507 Connection oldConnection = mConnection;
526 Connection connection = new Connection();
748 private class Connection implements ServiceConnection { class in class:Vpn
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java34 public abstract class Connection { class
42 * {@link android.telecom.Connection}.
49 android.telecom.Connection.VideoProvider videoProvider);
66 android.telecom.Connection.VideoProvider videoProvider) {}
96 protected long mHoldingStartTime; // The time when the Connection last transitioned
98 protected Connection mOrigConnection;
105 private static String LOG_TAG = "Connection";
112 private android.telecom.Connection.VideoProvider mVideoProvider;
154 * @return Call that owns this Connection, or null if none
159 * Connection creat
[all...]
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp922 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1016 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1030 if (connection->status == Connection::STATUS_NORMAL) {
1637 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1638 if (connection->status != Connection::STATUS_NORMAL) {
1760 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1772 if (connection->status != Connection::STATUS_NORMAL) {
1808 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1832 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1919 const sp<Connection>
4347 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/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java83 private final SparseArray<Connection> mConnections = new SparseArray<>();
157 Connection connection = new Connection(info);
179 Connection connection = mConnections.get(deviceId);
207 Connection connection = mConnections.get(deviceId);
233 Connection connection = mConnections.get(deviceId);
260 Connection connection, int callingUid, int resolvedUserId) {
309 Connection connection = mConnections.get(deviceId);
382 Connection connection = mConnections.get(deviceId);
408 Connection connectio
553 private class Connection implements IBinder.DeathRecipient { class in class:TvInputHardwareManager
563 public Connection(TvInputHardwareInfo hardwareInfo) { method in class:TvInputHardwareManager.Connection
[all...]
/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 implements IConferenceable { class in inherits:IConferenceable
66 /** Connection can currently be put on hold or unheld. */
69 /** Connection supports the hold feature. */
74 * add a {@link Conference} before the child {@link Connection}s are merged. This is how
75 * CDMA-based {@link Connection}s are implemented. For these unmerged {@link Conference}s, this
96 /** Connection supports responding via text option. */
99 /** Connection ca
679 public Connection() {} method in class:Connection
[all...]

Completed in 326 milliseconds