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

/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintServiceRecommendationService.java44 * Connection to a remote print service recommendation service.
57 private @NonNull final Connection mConnection;
136 mConnection = new Connection(callbacks);
188 * Connection to the service.
190 private class Connection implements ServiceConnection { class in class:RemotePrintServiceRecommendationService
193 public Connection(@NonNull RemotePrintServiceRecommendationServiceCallbacks callbacks) { method in class:RemotePrintServiceRecommendationService.Connection
/frameworks/native/services/surfaceflinger/
H A DEventThread.h59 class Connection : public BnDisplayEventConnection { class in class:android::EventThread
61 explicit Connection(const sp<EventThread>& eventThread);
70 virtual ~Connection();
83 sp<Connection> createEventConnection() const;
84 status_t registerDisplayEventConnection(const sp<Connection>& connection);
86 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
87 void requestNextVsync(const sp<Connection>& connection);
98 Vector< sp<EventThread::Connection> > waitForEvent(
112 void removeDisplayEventConnection(const wp<Connection>& connection);
126 SortedVector< wp<Connection> > mDisplayEventConnection
[all...]
H A DEventThread.cpp97 sp<EventThread::Connection> EventThread::createEventConnection() const {
98 return new Connection(const_cast<EventThread*>(this));
102 const sp<EventThread::Connection>& connection) {
110 const wp<EventThread::Connection>& connection) {
116 const sp<EventThread::Connection>& connection) {
128 const sp<EventThread::Connection>& connection) {
184 Vector< sp<EventThread::Connection> > signalConnections;
190 const sp<Connection>& conn(signalConnections[i]);
213 Vector< sp<EventThread::Connection> > EventThread::waitForEvent(
217 Vector< sp<EventThread::Connection> > signalConnection
389 EventThread::Connection::Connection( function in class:android::EventThread::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();
/frameworks/base/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java52 // Connection state
55 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/core/java/com/android/server/tv/
H A DTvRemoteProviderProxy.java64 // Connection state
67 private Connection mActiveConnection;
186 Connection connection = new Connection(provider);
212 private void onConnectionReady(Connection connection) {
222 private void onConnectionDied(Connection connection) {
272 private final class Connection implements IBinder.DeathRecipient { class in class:TvRemoteProviderProxy
276 public Connection(ITvRemoteProvider provider) { method in class:TvRemoteProviderProxy.Connection
282 if (DEBUG) Slog.d(TAG, "Connection::register()");
289 onConnectionReady(Connection
[all...]
H A DTvInputHardwareManager.java90 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);
235 Connection connection = mConnections.get(deviceId);
262 Connection connection, int callingUid, int resolvedUserId) {
303 Connection connection = mConnections.get(deviceId);
374 Connection connection = mConnections.get(deviceId);
400 Connection connectio
610 private class Connection implements IBinder.DeathRecipient { class in class:TvInputHardwareManager
620 public Connection(TvInputHardwareInfo hardwareInfo) { method in class:TvInputHardwareManager.Connection
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp268 // Connection between a surface and a stream.
269 class Connection { class in class:android::JTvInputHal
271 Connection() {} function in class:android::JTvInputHal::Connection
307 KeyedVector<int, KeyedVector<int, Connection> > mConnections;
341 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
343 connections.add(streamId, Connection());
345 Connection& connection = connections.editValueFor(streamId);
411 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
415 Connection& connection = connections.editValueFor(streamId);
457 mConnections.add(info.deviceId, KeyedVector<int, Connection>());
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java83 private Connection mActiveConnection;
132 Connection connection = new Connection(messenger);
271 void onConnectionReady(Connection connection) {
283 void onConnectionDied(Connection connection) {
292 void onConnectionError(Connection connection, String error) {
301 void onConnectionDescriptorChanged(Connection connection,
349 private Connection mConnection;
357 public void attachConnection(Connection connection) {
435 private final class Connection implement class in class:RegisteredMediaRouteProvider
448 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java134 private Connection mConnection;
776 Connection oldConnection = mConnection;
795 Connection connection = new Connection();
1160 private class Connection implements ServiceConnection { class in class:Vpn
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp936 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1030 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1044 if (connection->status == Connection::STATUS_NORMAL) {
1680 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1681 if (connection->status != Connection::STATUS_NORMAL) {
1803 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1815 if (connection->status != Connection::STATUS_NORMAL) {
1851 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1875 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1965 const sp<Connection>
4392 InputDispatcher::Connection::Connection(const sp<InputChannel>& inputChannel, function in class:android::InputDispatcher::Connection
[all...]
H A DInputDispatcher.h592 class Connection;
600 sp<Connection> connection;
800 class Connection : public RefBase { class in class:android::InputDispatcher
802 virtual ~Connection();
832 explicit Connection(const sp<InputChannel>& inputChannel,
898 KeyedVector<int, sp<Connection> > mConnectionsByFd;
1069 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1071 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
1073 void enqueueDispatchEntryLocked(const sp<Connection>& connection,
1075 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java664 private Connection mConnectingServiceConnection;
665 private Connection mServiceConnection;
807 Connection connection = new Connection();
2099 private class Connection implements ServiceConnection { class in class:TextToSpeech
2232 mServiceConnection = Connection.this;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java36 public abstract class Connection { class
86 * {@link android.telecom.Connection}.
93 android.telecom.Connection.VideoProvider videoProvider);
101 public void onCallPullFailed(Connection externalConnection);
118 android.telecom.Connection.VideoProvider videoProvider) {}
134 public void onCallPullFailed(Connection externalConnection) {}
170 protected long mHoldingStartTime; // The time when the Connection last transitioned
172 protected Connection mOrigConnection;
185 private static String LOG_TAG = "Connection";
194 private android.telecom.Connection
214 protected Connection(int phoneType) { method in class:Connection
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DConnection.java58 * Implementations create a custom subclass of {@code Connection} and return it to the framework
63 * Implementations are then responsible for updating the state of the {@code Connection}, and
64 * must call {@link #destroy()} to signal to the framework that the {@code Connection} is no
67 * Subclasses of {@code Connection} override the {@code on*} methods to provide the the
69 * called by Telecom to inform an instance of a {@code Connection} of actions specific to that
70 * {@code Connection} instance.
75 * Where a {@code Connection} has {@link #CAPABILITY_SUPPORT_HOLD}, the {@link #onHold()} and
77 * {@code Connection}.
79 * Where a {@code Connection} supports a variation of video calling (e.g. the
83 * Where a {@code Connection} ha
98 public abstract class Connection extends Conferenceable { class in inherits:Conferenceable
1686 public Connection() {} method in class:Connection
[all...]

Completed in 2103 milliseconds