/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | Call.java | 71 public ArrayList<Connection> mConnections = new ArrayList<Connection>(); 79 public abstract List<Connection> getConnections(); 88 * @param c a Connection object 91 public boolean hasConnection(Connection c) { 100 List<Connection> connections = getConnections(); 136 * Returns the Connection associated with this Call that was created 139 public Connection 141 List<Connection> l; 143 Connection [all...] |
H A D | GsmCdmaCall.java | 38 public List<Connection> getConnections() { 69 public void attach(Connection conn, DriverCall dc) { 75 public void attachFake(Connection conn, State state) {
|
H A D | Connection.java | 36 public abstract class Connection { class 37 private static final String TAG = "Connection"; 87 * {@link android.telecom.Connection}. 94 android.telecom.Connection.VideoProvider videoProvider); 102 public void onCallPullFailed(Connection externalConnection); 124 android.telecom.Connection.VideoProvider videoProvider) {} 140 public void onCallPullFailed(Connection externalConnection) {} 186 protected long mHoldingStartTime; // The time when the Connection last transitioned 188 protected Connection mOrigConnection; 201 private static String LOG_TAG = "Connection"; 230 protected Connection(int phoneType) { method in class:Connection [all...] |
H A D | CallTracker.java | 47 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>(); 99 protected Connection getHoConnection(DriverCall dc) { 100 for (Connection hoConn : mHandoverConnections) { 107 for (Connection hoConn : mHandoverConnections) { 117 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCallBase.java | 20 import com.android.internal.telephony.Connection; 27 public List<Connection> getConnections() {
|
H A D | SipConnectionBase.java | 20 import com.android.internal.telephony.Connection; 30 abstract class SipConnectionBase extends Connection { 50 private long mHoldingStartTime; // The time when the Connection last transitioned 189 public Connection getOrigConnection() {
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Conference.java | 24 import android.telecom.Connection.VideoProvider; 37 * Represents a conference call which can contain any number of {@link Connection} objects. 51 public void onConnectionAdded(Conference conference, Connection connection) {} 52 public void onConnectionRemoved(Conference conference, Connection connection) {} 54 Conference conference, List<Connection> conferenceableConnections) {} 61 public void onVideoProviderChanged(Conference c, Connection.VideoProvider videoProvider) {} 68 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>(); 69 private final List<Connection> mUnmodifiableChildConnections = 71 private final List<Connection> mConferenceableConnections = new ArrayList<>(); 72 private final List<Connection> mUnmodifiableConferenceableConnection [all...] |
H A D | ConnectionService.java | 82 * wherein it should provide a new instance of a {@link Connection} object. It is through this 83 * {@link Connection} object that telecom receives state updates and the {@link ConnectionService} 97 * being asked to create a new outgoing {@link Connection} is to perform a handover of an 187 private static Connection sNullConnection; 189 private final Map<String, Connection> mConnectionById = new ConcurrentHashMap<>(); 190 private final Map<Connection, String> mIdByConnection = new ConcurrentHashMap<>(); 609 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall); 640 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall); 1106 Connection.RttTextStream rttTextStream = 1107 (Connection [all...] |
H A D | Connection.java | 59 * Implementations create a custom subclass of {@code Connection} and return it to the framework 64 * Implementations are then responsible for updating the state of the {@code Connection}, and 65 * must call {@link #destroy()} to signal to the framework that the {@code Connection} is no 68 * Subclasses of {@code Connection} override the {@code on*} methods to provide the the 70 * called by Telecom to inform an instance of a {@code Connection} of actions specific to that 71 * {@code Connection} instance. 76 * Where a {@code Connection} has {@link #CAPABILITY_SUPPORT_HOLD}, the {@link #onHold()} and 78 * {@code Connection}. 80 * Where a {@code Connection} supports a variation of video calling (e.g. the 84 * Where a {@code Connection} ha 99 public abstract class Connection extends Conferenceable { class in inherits:Conferenceable 1737 public Connection() {} method in class:Connection [all...] |
H A D | RemoteConference.java | 145 private int mState = Connection.STATE_NEW; 181 if (newState != Connection.STATE_ACTIVE && 182 newState != Connection.STATE_HOLDING && 183 newState != Connection.STATE_DISCONNECTED) { 185 Connection.stateToString(newState)); 296 if (mState != Connection.STATE_DISCONNECTED) { 298 setState(Connection.STATE_DISCONNECTED); 360 * Gets the state of the conference call. See {@link Connection} for valid values. 370 * {@link Connection} for valid values. 380 * {@link Connection} fo [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 92 return new Connection(const_cast<EventThread*>(this)); 96 const sp<EventThread::Connection>& connection) { 103 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThread::Connection>& connection) { 107 void EventThread::setVsyncRate(uint32_t count, const sp<EventThread::Connection>& connection) { 118 void EventThread::requestNextVsync(const sp<EventThread::Connection>& connection) { 178 Vector<sp<EventThread::Connection> > signalConnections; 184 const sp<Connection>& conn(signalConnections[i]); 207 Vector<sp<EventThread::Connection> > EventThread::waitForEventLocked( 209 Vector<sp<EventThread::Connection> > signalConnections; 244 sp<Connection> connectio 378 EventThread::Connection::Connection(EventThread* eventThread) function in class:android::impl::EventThread::Connection [all...] |
H A D | EventThread.h | 83 class Connection : public BnDisplayEventConnection { class in class:android::impl::EventThread 85 explicit Connection(EventThread* eventThread); 86 virtual ~Connection(); 113 status_t registerDisplayEventConnection(const sp<Connection>& connection); 115 void setVsyncRate(uint32_t count, const sp<Connection>& connection); 116 void requestNextVsync(const sp<Connection>& connection); 135 Vector<sp<EventThread::Connection>> waitForEventLocked(std::unique_lock<std::mutex>* lock, 139 void removeDisplayEventConnectionLocked(const wp<Connection>& connection) REQUIRES(mMutex); 156 SortedVector<wp<Connection>> mDisplayEventConnections GUARDED_BY(mMutex);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsExternalCall.java | 23 import com.android.internal.telephony.Connection; 42 public List<Connection> getConnections() {
|
H A D | ImsRttTextHandler.java | 22 import android.telecom.Connection; 65 private Connection.RttTextStream mRttTextStream; 70 private final Connection.RttTextStream mReaderThreadRttTextStream; 72 public InCallReaderThread(Connection.RttTextStream textStream) { 126 mRttTextStream = (Connection.RttTextStream) msg.obj; 204 public void initialize(Connection.RttTextStream rttTextStream) {
|
H A D | ImsPhoneCall.java | 27 import com.android.internal.telephony.Connection; 91 public List<Connection> 133 for (Connection conn : mConnections) { 153 public void attach(Connection conn) { 163 public void attach(Connection conn, State state) { 172 public void attachFake(Connection conn, State state) { 366 for (Connection c : mConnections) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
H A D | ImsExternalCallTrackerTest.java | 29 import com.android.internal.telephony.Connection; 78 ArgumentCaptor<Connection> connectionArgumentCaptor = ArgumentCaptor.forClass( 79 Connection.class); 83 Connection connection = connectionArgumentCaptor.getValue();
|
H A D | ImsPhoneConnectionTest.java | 31 import com.android.internal.telephony.Connection; 96 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); 102 verify(mForeGroundCall, times(1)).attach((Connection) any(), 111 verify(mForeGroundCall, times(1)).attachFake((Connection) any(), 118 // MO Foreground Connection dailing -> active 125 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); 133 // MT background Connection dialing -> active 141 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); 153 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); 205 assertEquals(Connection [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | RemoteDisplayProviderProxy.java | 52 // 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/telephony/java/android/telephony/ims/ |
H A D | ImsConferenceState.java | 29 import android.telecom.Connection; 154 * @return The corresponding {@link android.telecom.Connection} state. 158 return Connection.STATE_INITIALIZING; 160 return Connection.STATE_RINGING; 163 return Connection.STATE_DIALING; 166 return Connection.STATE_HOLDING; 171 return Connection.STATE_ACTIVE; 173 return Connection.STATE_DISCONNECTED;
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvRemoteProviderProxy.java | 64 // 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...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmCdmaConnectionTest.java | 80 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState()); 98 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState()); 138 assertEquals(Connection.PostDialState.PAUSE, connection.getPostDialState()); 141 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState()); 155 assertEquals(Connection.PostDialState.STARTED, connection.getPostDialState()); 158 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState()); 174 assertEquals(Connection.PostDialState.WAIT, connection.getPostDialState()); 177 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState());
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/ |
H A D | RegisteredMediaRouteProvider.java | 94 private Connection mActiveConnection; 143 Connection connection = new Connection(messenger); 282 void onConnectionReady(Connection connection) { 294 void onConnectionDied(Connection connection) { 303 void onConnectionError(Connection connection, String error) { 312 void onConnectionDescriptorChanged(Connection connection, 360 private Connection mConnection; 368 public void attachConnection(Connection connection) { 446 private final class Connection implement class in class:RegisteredMediaRouteProvider 459 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection [all...] |
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/ |
H A D | RegisteredMediaRouteProvider.java | 86 private Connection mActiveConnection; 135 Connection connection = new Connection(messenger); 274 void onConnectionReady(Connection connection) { 286 void onConnectionDied(Connection connection) { 295 void onConnectionError(Connection connection, String error) { 304 void onConnectionDescriptorChanged(Connection connection, 352 private Connection mConnection; 360 public void attachConnection(Connection connection) { 438 private final class Connection implement class in class:RegisteredMediaRouteProvider 451 public Connection(Messenger serviceMessenger) { method in class:RegisteredMediaRouteProvider.Connection [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | RemotePrintServiceRecommendationService.java | 44 * 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/inputflinger/ |
H A D | InputDispatcher.h | 591 class Connection; 599 sp<Connection> connection; 799 class Connection : public RefBase { class in class:android::InputDispatcher 801 virtual ~Connection(); 831 explicit Connection(const sp<InputChannel>& inputChannel, 897 KeyedVector<int, sp<Connection> > mConnectionsByFd; 1068 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, 1070 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection, 1072 void enqueueDispatchEntryLocked(const sp<Connection>& connection, 1074 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection> [all...] |