Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java96 public ArrayList<Connection> mConnections = new ArrayList<>();
107 public ArrayList<Connection> getConnections() { in getConnections()
109 return (ArrayList<Connection>) mConnections.clone(); in getConnections()
147 public boolean hasConnection(Connection c) { in hasConnection()
156 List<Connection> connections = getConnections(); in hasConnections()
170 public void removeConnection(Connection conn) { in removeConnection()
181 public void addConnection(Connection conn) { in addConnection()
229 public Connection
231 List<Connection> l; in getEarliestConnection()
233 Connection c; in getEarliestConnection()
[all …]
DConnection.java43 public abstract class Connection { class
103 android.telecom.Connection.VideoProvider videoProvider); in onVideoProviderChanged()
111 public void onCallPullFailed(Connection externalConnection); in onCallPullFailed()
119 public void onOriginalConnectionReplaced(Connection newConnection); in onOriginalConnectionReplaced()
135 android.telecom.Connection.VideoProvider videoProvider) {} in onVideoProviderChanged()
151 public void onCallPullFailed(Connection externalConnection) {} in onCallPullFailed()
167 public void onOriginalConnectionReplaced(Connection newConnection) {} in onOriginalConnectionReplaced()
189 protected @android.telecom.Connection.VerificationStatus int mNumberVerificationStatus =
190 android.telecom.Connection.VERIFICATION_STATUS_NOT_VERIFIED;
216 protected Connection mOrigConnection;
[all …]
DCallTracker.java49 protected ArrayList<Connection> mHandoverConnections = new ArrayList<Connection>();
109 protected Connection getHoConnection(DriverCall dc) { in getHoConnection()
110 for (Connection hoConn : mHandoverConnections) { in getHoConnection()
117 for (Connection hoConn : mHandoverConnections) { in getHoConnection()
127 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) { in notifySrvccState()
257 public Connection getRingingHandoverConnection() { in getRingingHandoverConnection()
258 for (Connection hoConn : mHandoverConnections) { in getRingingHandoverConnection()
DGsmCdmaCall.java73 public void attach(Connection conn, DriverCall dc) { in attach()
80 public void attachFake(Connection conn, State state) { in attachFake()
95 for (Connection c : getConnections()) { in connectionDisconnected()
150 for (Connection conn : getConnections()) { in onHangupLocal()
DGsmCdmaCallTracker.java130 List<Connection> toNotify = new ArrayList<Connection>();
139 for (Connection connection : toNotify) {
265 ArrayList<Connection> connCopy = mForegroundCall.getConnections(); in fakeHoldForegroundBeforeDial()
267 for (Connection conn : connCopy) { in fakeHoldForegroundBeforeDial()
277 public synchronized Connection dialGsm(String dialString, int clirMode, UUSInfo uusInfo, in dialGsm()
395 private Connection dialCdma(String dialString, int clirMode, Bundle intentExtras) in dialCdma()
490 private Connection dialThreeWay(String dialString, Bundle intentExtras) { in dialThreeWay()
526 public Connection dial(String dialString, Bundle intentExtras) throws CallStateException { in dial()
535 public Connection dialGsm(String dialString, UUSInfo uusInfo, Bundle intentExtras) in dialGsm()
541 private Connection dialGsm(String dialString, int clirMode, Bundle intentExtras) in dialGsm()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConference.java31 import android.telecom.Connection.VideoProvider;
58 public void onConnectionAdded(Conference conference, Connection connection) {} in onConnectionAdded()
59 public void onConnectionRemoved(Conference conference, Connection connection) {} in onConnectionRemoved()
61 Conference conference, List<Connection> conferenceableConnections) {} in onConferenceableConnectionsChanged()
68 public void onVideoProviderChanged(Conference c, Connection.VideoProvider videoProvider) {} in onVideoProviderChanged()
82 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>();
83 private final List<Connection> mUnmodifiableChildConnections =
85 private final List<Connection> mConferenceableConnections = new ArrayList<>();
86 private final List<Connection> mUnmodifiableConferenceableConnections =
92 private int mState = Connection.STATE_NEW;
[all …]
DConnectionService.java204 private static Connection sNullConnection;
206 private final Map<String, Connection> mConnectionById = new ConcurrentHashMap<>();
207 private final Map<Connection, String> mIdByConnection = new ConcurrentHashMap<>();
745 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
776 args.arg2 = new Connection.RttTextStream(toInCall, fromInCall);
1390 Connection.RttTextStream rttTextStream =
1391 (Connection.RttTextStream) args.arg2;
1418 Connection.RttTextStream rttTextStream =
1419 (Connection.RttTextStream) args.arg2;
1444 case Connection.STATE_RINGING:
[all …]
DConnection.java111 public abstract class Connection extends Conferenceable { class
1078 public void onStateChanged(Connection c, int state) {} in onStateChanged()
1079 public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} in onAddressChanged()
1081 Connection c, String callerDisplayName, int presentation) {} in onCallerDisplayNameChanged()
1082 public void onVideoStateChanged(Connection c, int videoState) {} in onVideoStateChanged()
1083 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected()
1084 public void onPostDialWait(Connection c, String remaining) {} in onPostDialWait()
1085 public void onPostDialChar(Connection c, char nextChar) {} in onPostDialChar()
1086 public void onRingbackRequested(Connection c, boolean ringback) {} in onRingbackRequested()
1087 public void onDestroyed(Connection c) {} in onDestroyed()
[all …]
/frameworks/av/media/bufferpool/2.0/
DConnection.cpp27 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()
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp23 Connection::Connection(const sp<InputChannel>& inputChannel, bool monitor) in Connection() function in android::inputdispatcher::Connection
30 Connection::~Connection() {} in ~Connection()
32 const std::string Connection::getWindowName() const { in getWindowName()
42 const char* Connection::getStatusLabel() const { in getStatusLabel()
55 DispatchEntry* Connection::findWaitQueueEntry(uint32_t seq) { in findWaitQueueEntry()
DInputDispatcher.h57 class Connection; variable
175 KeyedVector<int, sp<Connection>> mConnectionsByFd GUARDED_BY(mLock);
367 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
370 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
373 void enqueueDispatchEntryLocked(const sp<Connection>& connection, EventEntry* eventEntry,
376 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection)
378 void finishDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
380 void abortBrokenDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
399 void synthesizeCancelationEventsForConnectionLocked(const sp<Connection>& connection,
423 void onDispatchCycleFinishedLocked(nsecs_t currentTime, const sp<Connection>& connection,
[all …]
DConnection.h31 class Connection : public RefBase {
33 virtual ~Connection();
62 explicit Connection(const sp<InputChannel>& inputChannel, bool monitor);
/frameworks/av/media/bufferpool/1.0/
DConnection.cpp27 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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java30 import com.android.internal.telephony.Connection;
83 List<Connection> connections = getConnections(); in dispose()
84 for (Connection conn : connections) { in dispose()
94 public ArrayList<Connection> getConnections() { in getConnections()
134 List<Connection> connections = getConnections(); in toString()
143 for (Connection conn : connections) { in toString()
166 public void attach(Connection conn) { in attach()
177 public void attach(Connection conn, State state) { in attach()
187 public void attachFake(Connection conn, State state) { in attachFake()
200 ArrayList<Connection> connections = getConnections(); in connectionDisconnected()
[all …]
DImsPhoneConnection.java46 import com.android.internal.telephony.Connection;
59 public class ImsPhoneConnection extends Connection implements
118 private android.telecom.Connection.RttTextStream mRttTextStream;
278 mDialString = mAddress = Connection.ADHOC_CONFERENCE_ADDRESS; in ImsPhoneConnection()
314 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in applyLocalCallCapabilities()
325 Connection.Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL); in applyLocalCallCapabilities()
334 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in applyRemoteCallCapabilities()
341 Connection.Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL); in applyRemoteCallCapabilities()
432 public void consultativeTransfer(Connection other) throws CallStateException { in consultativeTransfer()
749 public Connection getOrigConnection() { in getOrigConnection()
[all …]
DImsRttTextHandler.java22 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()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderProxy.java55 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/om/
DIdmapDaemon.java61 private class Connection implements AutoCloseable { class in IdmapDaemon
64 private Connection() { in Connection() method in IdmapDaemon.Connection
108 try (Connection connection = connect()) { in createIdmap()
114 try (Connection connection = connect()) { in removeIdmap()
121 try (Connection connection = connect()) { in verifyIdmap()
127 try (Connection connection = connect()) { in getIdmapPath()
140 private Connection connect() throws Exception { in connect()
146 return new Connection(); in connect()
191 return new Connection(); in connect()
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderProxy.java67 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/
DAnnotation.java4 import android.telecom.Connection;
588 Connection.AUDIO_CODEC_NONE,
589 Connection.AUDIO_CODEC_AMR,
590 Connection.AUDIO_CODEC_AMR_WB,
591 Connection.AUDIO_CODEC_QCELP13K,
592 Connection.AUDIO_CODEC_EVRC,
593 Connection.AUDIO_CODEC_EVRC_B,
594 Connection.AUDIO_CODEC_EVRC_WB,
595 Connection.AUDIO_CODEC_EVRC_NW,
596 Connection.AUDIO_CODEC_GSM_EFR,
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DImsConferenceState.java26 import android.telecom.Connection;
164 return Connection.STATE_INITIALIZING; in getConnectionStateForStatus()
166 return Connection.STATE_RINGING; in getConnectionStateForStatus()
169 return Connection.STATE_DIALING; in getConnectionStateForStatus()
172 return Connection.STATE_HOLDING; in getConnectionStateForStatus()
177 return Connection.STATE_ACTIVE; in getConnectionStateForStatus()
179 return Connection.STATE_DISCONNECTED; in getConnectionStateForStatus()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java49 import com.android.internal.telephony.Connection;
116 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsIncomingConnectionCorrectness()
122 assertEquals(android.telecom.Connection.VERIFICATION_STATUS_PASSED, in testImsIncomingConnectionCorrectness()
124 verify(mForeGroundCall, times(1)).attach((Connection) any(), in testImsIncomingConnectionCorrectness()
133 verify(mForeGroundCall, times(1)).attachFake((Connection) any(), in testImsIncomingConnectionCorrectness()
147 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); in testImsUpdateStateForeGround()
163 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsUpdateStateBackGround()
175 assertEquals(Connection.PostDialState.NOT_STARTED, mConnectionUT.getPostDialState()); in testImsUpdateStatePendingHold()
228 assertEquals(Connection.PostDialState.WAIT, mConnectionUT.getPostDialState()); in testPostDialWait()
231 assertEquals(Connection.PostDialState.COMPLETE, mConnectionUT.getPostDialState()); in testPostDialWait()
[all …]
DImsExternalCallTrackerTest.java30 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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DConnectionTest.java43 private class TestConnection extends Connection {
77 public void consultativeTransfer(Connection other) throws CallStateException {} in consultativeTransfer()
129 Connection connection1 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom()
130 Connection connection2 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom()
150 Connection connection = new TestConnection(TEST_PHONE_TYPE); in testEmergencyCallParameters()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java50 import com.android.internal.telephony.Connection;
135 public synchronized void onRilAcceptCall(List<Connection> connections) { in onRilAcceptCall()
136 for (Connection conn : connections) { in onRilAcceptCall()
142 public synchronized void onRilDial(Connection conn) { in onRilDial()
150 for (Connection conn : connections) { in onRilCallListChanged()
197 public synchronized void onImsAcceptCall(List<Connection> connections) { in onImsAcceptCall()
198 for (Connection conn : connections) { in onImsAcceptCall()
247 public synchronized void onAudioCodecChanged(Connection conn, int audioQuality) { in onAudioCodecChanged()
263 for (Connection conn : call.getConnections()) { in onCallStateChanged()
275 List<Connection> handoverConnections = null; in onRilSrvccStateChanged()
[all …]

12345