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.h58 class Connection : public BnDisplayEventConnection { class in class:android::EventThread
60 Connection(const sp<EventThread>& eventThread);
69 virtual ~Connection();
82 sp<Connection> createEventConnection() const;
83 status_t registerDisplayEventConnection(const sp<Connection>& connection);
85 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
86 void requestNextVsync(const sp<Connection>& connection);
97 Vector< sp<EventThread::Connection> > waitForEvent(
111 void removeDisplayEventConnection(const wp<Connection>& connection);
125 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
386 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.java88 private final SparseArray<Connection> mConnections = new SparseArray<>();
156 Connection connection = new Connection(info);
178 Connection connection = mConnections.get(deviceId);
206 Connection connection = mConnections.get(deviceId);
232 Connection connection = mConnections.get(deviceId);
259 Connection connection, int callingUid, int resolvedUserId) {
303 Connection connection = mConnections.get(deviceId);
375 Connection connection = mConnections.get(deviceId);
401 Connection connectio
616 private class Connection implements IBinder.DeathRecipient { class in class:TvInputHardwareManager
626 public Connection(TvInputHardwareInfo hardwareInfo) { method in class:TvInputHardwareManager.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);
468 mConnections.add(info.device_id, KeyedVector<int, Connection>());
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java56 private Connection mActiveConnection;
105 Connection connection = new Connection(messenger);
244 void onConnectionReady(Connection connection) {
256 void onConnectionDied(Connection connection) {
265 void onConnectionError(Connection connection, String error) {
274 void onConnectionDescriptorChanged(Connection connection,
322 private Connection mConnection;
330 public void attachConnection(Connection connection) {
408 private final class Connection implement class in class:RegisteredMediaRouteProvider
421 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java123 private Connection mConnection;
751 Connection oldConnection = mConnection;
770 Connection connection = new Connection();
1135 private class Connection implements ServiceConnection { class in class:Vpn
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp938 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1032 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1046 if (connection->status == Connection::STATUS_NORMAL) {
1679 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex);
1680 if (connection->status != Connection::STATUS_NORMAL) {
1802 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1814 if (connection->status != Connection::STATUS_NORMAL) {
1850 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) {
1874 const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget,
1964 const sp<Connection>
4391 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
2218 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";
193 private android.telecom.Connection
213 protected Connection(int phoneType) { method in class:Connection
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DConnection.java48 * Implementations create a custom subclass of {@code Connection} and return it to the framework
53 * Implementations are then responsible for updating the state of the {@code Connection}, and
54 * must call {@link #destroy()} to signal to the framework that the {@code Connection} is no
57 * Subclasses of {@code Connection} override the {@code on*} methods to provide the the
59 * called by Telecom to inform an instance of a {@code Connection} of actions specific to that
60 * {@code Connection} instance.
65 * Where a {@code Connection} has {@link #CAPABILITY_SUPPORT_HOLD}, the {@link #onHold()} and
67 * {@code Connection}.
69 * Where a {@code Connection} supports a variation of video calling (e.g. the
73 * Where a {@code Connection} ha
88 public abstract class Connection extends Conferenceable { class in inherits:Conferenceable
1452 public Connection() {} method in class:Connection
[all...]

Completed in 2029 milliseconds