/frameworks/base/telecomm/java/android/telecom/ |
D | Conference.java | 26 import android.telecom.Connection.VideoProvider; 55 public void onConnectionAdded(Conference conference, Connection connection) {} in onConnectionAdded() 56 public void onConnectionRemoved(Conference conference, Connection connection) {} in onConnectionRemoved() 58 Conference conference, List<Connection> conferenceableConnections) {} in onConferenceableConnectionsChanged() 65 public void onVideoProviderChanged(Conference c, Connection.VideoProvider videoProvider) {} in onVideoProviderChanged() 77 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>(); 78 private final List<Connection> mUnmodifiableChildConnections = 80 private final List<Connection> mConferenceableConnections = new ArrayList<>(); 81 private final List<Connection> mUnmodifiableConferenceableConnections = 87 private int mState = Connection.STATE_NEW; [all …]
|
D | ConnectionService.java | 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.RttTextStream) args.arg2; 1134 Connection.RttTextStream rttTextStream = 1135 (Connection.RttTextStream) args.arg2; 1160 case Connection.STATE_ACTIVE: [all …]
|
D | Connection.java | 103 public abstract class Connection extends Conferenceable { class 871 public void onStateChanged(Connection c, int state) {} in onStateChanged() 872 public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} in onAddressChanged() 874 Connection c, String callerDisplayName, int presentation) {} in onCallerDisplayNameChanged() 875 public void onVideoStateChanged(Connection c, int videoState) {} in onVideoStateChanged() 876 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected() 877 public void onPostDialWait(Connection c, String remaining) {} in onPostDialWait() 878 public void onPostDialChar(Connection c, char nextChar) {} in onPostDialChar() 879 public void onRingbackRequested(Connection c, boolean ringback) {} in onRingbackRequested() 880 public void onDestroyed(Connection c) {} in onDestroyed() [all …]
|
D | RemoteConference.java | 145 private int mState = Connection.STATE_NEW; 181 if (newState != Connection.STATE_ACTIVE && in setState() 182 newState != Connection.STATE_HOLDING && in setState() 183 newState != Connection.STATE_DISCONNECTED) { in setState() 185 Connection.stateToString(newState)); in setState() 296 if (mState != Connection.STATE_DISCONNECTED) { in setDisconnected() 298 setState(Connection.STATE_DISCONNECTED); in setDisconnected()
|
D | RemoteConnectionService.java | 68 || parcel.getState() != Connection.STATE_DISCONNECTED) { 72 || parcel.getState() != Connection.STATE_DISCONNECTED) { 78 if (parcel.getState() == Connection.STATE_DISCONNECTED) { 91 if (connection.getState() == Connection.STATE_DISCONNECTED) { 107 .setState(Connection.STATE_ACTIVE); 110 .setState(Connection.STATE_ACTIVE); 117 .setState(Connection.STATE_RINGING); 123 .setState(Connection.STATE_DIALING); 129 .setState(Connection.STATE_PULLING_CALL); 148 .setState(Connection.STATE_HOLDING); [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Call.java | 77 public ArrayList<Connection> mConnections = new ArrayList<Connection>(); 86 public abstract List<Connection> getConnections(); in getConnections() 101 public boolean hasConnection(Connection c) { in hasConnection() 110 List<Connection> connections = getConnections(); in hasConnections() 152 public Connection 154 List<Connection> l; in getEarliestConnection() 156 Connection c; in getEarliestConnection() 157 Connection earliest = null; in getEarliestConnection() 182 List<Connection> l; in getEarliestCreateTime() 192 Connection c = l.get(i); in getEarliestCreateTime() [all …]
|
D | Connection.java | 40 public abstract class Connection { class 98 android.telecom.Connection.VideoProvider videoProvider); in onVideoProviderChanged() 106 public void onCallPullFailed(Connection externalConnection); in onCallPullFailed() 114 public void onOriginalConnectionReplaced(Connection newConnection); in onOriginalConnectionReplaced() 130 android.telecom.Connection.VideoProvider videoProvider) {} in onVideoProviderChanged() 146 public void onCallPullFailed(Connection externalConnection) {} in onCallPullFailed() 162 public void onOriginalConnectionReplaced(Connection newConnection) {} in onOriginalConnectionReplaced() 205 protected Connection mOrigConnection; 234 private android.telecom.Connection.VideoProvider mVideoProvider; 274 protected Connection(int phoneType) { in Connection() method in Connection [all …]
|
D | CallTracker.java | 50 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>(); 106 protected Connection getHoConnection(DriverCall dc) { in getHoConnection() 107 for (Connection hoConn : mHandoverConnections) { in getHoConnection() 114 for (Connection hoConn : mHandoverConnections) { in getHoConnection() 124 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) { in notifySrvccState()
|
D | GsmCdmaCall.java | 39 public List<Connection> getConnections() { in getConnections() 70 public void attach(Connection conn, DriverCall dc) { in attach() 77 public void attachFake(Connection conn, State state) { in attachFake()
|
/frameworks/av/media/bufferpool/2.0/ |
D | Connection.cpp | 27 Return<void> Connection::fetch(uint64_t transactionId, uint32_t bufferId, fetch_cb _hidl_cb) { in fetch() 54 Connection::Connection() : mInitialized(false), mConnectionId(-1LL) {} in Connection() function in android::hardware::media::bufferpool::V2_0::implementation::Connection 56 Connection::~Connection() { in ~Connection() 62 void Connection::initialize( in initialize() 71 ResultStatus Connection::flush() { in flush() 78 ResultStatus Connection::allocate( in allocate() 87 void Connection::cleanUp(bool clearCache) { in cleanUp()
|
D | Connection.h | 42 struct Connection : public IConnection { struct 77 ~Connection(); 80 Connection();
|
/frameworks/av/media/bufferpool/1.0/ |
D | Connection.cpp | 27 Return<void> Connection::fetch(uint64_t transactionId, uint32_t bufferId, fetch_cb _hidl_cb) { in fetch() 54 Connection::Connection() : mInitialized(false), mConnectionId(-1LL) {} in Connection() function in android::hardware::media::bufferpool::V1_0::implementation::Connection 56 Connection::~Connection() { in ~Connection() 62 void Connection::initialize( in initialize() 71 ResultStatus Connection::allocate( in allocate() 80 void Connection::cleanUp(bool clearCache) { in cleanUp()
|
D | Connection.h | 42 struct Connection : public IConnection { struct 72 ~Connection(); 75 Connection();
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | RemoteDisplayProviderProxy.java | 55 private Connection mActiveConnection; 230 Connection connection = new Connection(provider); in onServiceConnected() 252 private void onConnectionReady(Connection connection) { in onConnectionReady() 265 private void onConnectionDied(Connection connection) { in onConnectionDied() 274 private void onDisplayStateChanged(Connection connection, RemoteDisplayState state) { in onDisplayStateChanged() 325 private final class Connection implements DeathRecipient { class in RemoteDisplayProviderProxy 329 public Connection(IRemoteDisplayProvider provider) { in Connection() method in RemoteDisplayProviderProxy.Connection 341 onConnectionReady(Connection.this); in register() 401 onConnectionDied(Connection.this); in binderDied() 410 onDisplayStateChanged(Connection.this, state); in postStateChanged() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvRemoteProviderProxy.java | 67 private Connection mActiveConnection; 186 Connection connection = new Connection(provider); in onServiceConnected() 212 private void onConnectionReady(Connection connection) { in onConnectionReady() 222 private void onConnectionDied(Connection connection) { in onConnectionDied() 272 private final class Connection implements IBinder.DeathRecipient { class in TvRemoteProviderProxy 276 public Connection(ITvRemoteProvider provider) { in Connection() method in TvRemoteProviderProxy.Connection 289 onConnectionReady(Connection.this); in register() 320 onConnectionDied(Connection.this); in binderDied() 562 private final WeakReference<Connection> mConnectionRef; 564 public RemoteServiceInputProvider(Connection connection) { in RemoteServiceInputProvider() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsConferenceState.java | 24 import android.telecom.Connection; 159 return Connection.STATE_INITIALIZING; in getConnectionStateForStatus() 161 return Connection.STATE_RINGING; in getConnectionStateForStatus() 164 return Connection.STATE_DIALING; in getConnectionStateForStatus() 167 return Connection.STATE_HOLDING; in getConnectionStateForStatus() 172 return Connection.STATE_ACTIVE; in getConnectionStateForStatus() 174 return Connection.STATE_DISCONNECTED; in getConnectionStateForStatus()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsRttTextHandler.java | 22 import android.telecom.Connection; 66 private Connection.RttTextStream mRttTextStream; 71 private final Connection.RttTextStream mReaderThreadRttTextStream; 73 public InCallReaderThread(Connection.RttTextStream textStream) { in InCallReaderThread() 126 mRttTextStream = (Connection.RttTextStream) msg.obj; in handleMessage() 205 public void initialize(Connection.RttTextStream rttTextStream) { in initialize()
|
D | ImsPhoneConnection.java | 46 import com.android.internal.telephony.Connection; 57 public class ImsPhoneConnection extends Connection implements 115 private android.telecom.Connection.RttTextStream mRttTextStream; 278 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in applyLocalCallCapabilities() 289 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in applyLocalCallCapabilities() 298 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in applyRemoteCallCapabilities() 305 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in applyRemoteCallCapabilities() 678 public Connection getOrigConnection() { in getOrigConnection() 951 Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE | in updateMediaCapabilities() 955 Connection.Capability.SUPPORTS_DOWNGRADE_TO_VOICE_REMOTE | in updateMediaCapabilities() [all …]
|
D | ImsPhoneCall.java | 28 import com.android.internal.telephony.Connection; 93 public List<Connection> 136 for (Connection conn : mConnections) { in toString() 156 public void attach(Connection conn) { in attach() 167 public void attach(Connection conn, State state) { in attach() 177 public void attachFake(Connection conn, State state) { in attachFake() 383 for (Connection c : mConnections) { in takeOver()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsExternalCallTrackerTest.java | 30 import com.android.internal.telephony.Connection; 79 ArgumentCaptor<Connection> connectionArgumentCaptor = ArgumentCaptor.forClass( in testAddExternalCall() 80 Connection.class); in testAddExternalCall() 84 Connection connection = connectionArgumentCaptor.getValue(); in testAddExternalCall()
|
D | ImsPhoneConnectionTest.java | 31 import com.android.internal.telephony.Connection; 97 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsConnectionSanity() 103 verify(mForeGroundCall, times(1)).attach((Connection) any(), in testImsConnectionSanity() 112 verify(mForeGroundCall, times(1)).attachFake((Connection) any(), in testImsConnectionSanity() 126 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); in testImsUpdateStateForeGround() 142 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsUpdateStateBackGround() 154 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsUpdateStatePendingHold() 206 assertEquals(Connection.PostDialState.WAIT, mConnectionUT.getPostDialState()); in testPostDialWait() 209 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); in testPostDialWait() 230 assertEquals(Connection.PostDialState.STARTED, mConnectionUT.getPostDialState()); in testPostDialPause() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ConnectionTest.java | 43 private class TestConnection extends Connection { 122 Connection connection1 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom() 123 Connection connection2 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom() 143 Connection connection = new TestConnection(TEST_PHONE_TYPE); in testEmergencyCallParameters()
|
D | GsmCdmaConnectionTest.java | 93 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState()); in testSanityGSM() 111 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState()); in testSanityCDMA() 150 assertEquals(Connection.PostDialState.PAUSE, connection.getPostDialState()); in testCDMAPostDialPause() 153 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState()); in testCDMAPostDialPause() 167 assertEquals(Connection.PostDialState.STARTED, connection.getPostDialState()); in testGSMPostDialPause() 170 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState()); in testGSMPostDialPause() 186 assertEquals(Connection.PostDialState.WAIT, connection.getPostDialState()); in testPostDialWait() 189 assertEquals(Connection.PostDialState.COMPLETE, connection.getPostDialState()); in testPostDialWait()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCallBase.java | 20 import com.android.internal.telephony.Connection; 27 public List<Connection> getConnections() { in getConnections()
|
D | SipPhone.java | 38 import com.android.internal.telephony.Connection; 97 public Connection takeIncomingCall(Object incomingCall) { in takeIncomingCall() 186 public Connection dial(String dialString, DialArgs dialArgs) throws CallStateException { in dial() 192 private Connection dialInternal(String dialString, int videoState) in dialInternal() 210 Connection c = mForegroundCall.dial(dialString); in dialInternal() 475 for (Connection c : mConnections) { in takeOver() 486 public List<Connection> getConnections() { in getConnections() 494 Connection dial(String originalNumber) throws SipException { in dial() 525 for (Connection c : mConnections) { in hangup() 600 for (Connection c : mConnections) ((SipConnection) c).hold(); in hold() [all …]
|