Home
last modified time | relevance | path

Searched refs:getConnections (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java91 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
102 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
132 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
142 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
154 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDialPickUpHangup()
156 Connection connection = mCTUT.mForegroundCall.getConnections().get(0); in testMOCallDialPickUpHangup()
167 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDialPickUpHangup()
190 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallPendingHangUp()
201 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallSwitch()
202 assertEquals(0, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java107 public ArrayList<Connection> getConnections() { in getConnections() method in Call
118 mConnections = other.getConnections(); in copyConnectionFrom()
156 List<Connection> connections = getConnections(); in hasConnections()
236 l = getConnections(); in getEarliestConnection()
262 l = getConnections(); in getEarliestCreateTime()
283 List<Connection> l = getConnections();
319 List<Connection> l = getConnections();
356 for (Connection conn : getConnections()) {
DGsmCdmaCall.java95 for (Connection c : getConnections()) { in connectionDisconnected()
150 for (Connection conn : getConnections()) { in onHangupLocal()
DGsmCdmaCallTracker.java131 toNotify.addAll(mRingingCall.getConnections());
132 toNotify.addAll(mForegroundCall.getConnections());
133 toNotify.addAll(mBackgroundCall.getConnections());
265 ArrayList<Connection> connCopy = mForegroundCall.getConnections(); in fakeHoldForegroundBeforeDial()
555 mPhone.getVoiceCallSessionStats().onRilAcceptCall(mRingingCall.getConnections()); in acceptCall()
939 ArrayList<Connection> connections = mForegroundCall.getConnections(); in handlePollCalls()
1184 l = mRingingCall.getConnections(); in dumpState()
1191 l = mForegroundCall.getConnections(); in dumpState()
1198 l = mBackgroundCall.getConnections(); in dumpState()
1298 hangup((GsmCdmaConnection)(call.getConnections().get(0))); in hangup()
[all …]
DCallManager.java1908 return fgCall.getConnections(); in getFgCallConnections()
1920 return fgCall.getConnections(); in getFgCallConnections()
1933 return bgCall.getConnections(); in getBgCallConnections()
DTelephonyTester.java528 mPhone.getForegroundCall().getConnections() in testChangeNumber()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken145 assertEquals(0, mGSMPhone.getRingingCall().getConnections().size());
146 assertEquals(0, mGSMPhone.getForegroundCall().getConnections().size());
147 assertEquals(0, mGSMPhone.getBackgroundCall().getConnections().size());
174 } while (mGSMPhone.getForegroundCall().getConnections().size() == 0);*/
176 assertEquals(0, mGSMPhone.getRingingCall().getConnections().size());
177 assertEquals(1, mGSMPhone.getForegroundCall().getConnections().size());
178 assertEquals(0, mGSMPhone.getBackgroundCall().getConnections().size());
188 cn = mGSMPhone.getForegroundCall().getConnections().get(0);
208 assertEquals(0, mGSMPhone.getRingingCall().getConnections().size());
209 assertEquals(1, mGSMPhone.getForegroundCall().getConnections().size());
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java83 List<Connection> connections = getConnections(); in dispose()
94 public ArrayList<Connection> getConnections() { in getConnections() method in ImsPhoneCall
95 return super.getConnections(); in getConnections()
134 List<Connection> connections = getConnections(); in toString()
200 ArrayList<Connection> connections = getConnections(); in connectionDisconnected()
249 ArrayList<Connection> connections = getConnections(); in onHangupLocal()
266 List<Connection> connections = getConnections(); in getFirstConnection()
407 for (Connection c : getConnections()) { in takeOver()
DImsPhoneCallTracker.java1556 mPhone.getVoiceCallSessionStats().onImsAcceptCall(mRingingCall.getConnections()); in acceptCall()
1573 mRingingCall.getConnections()); in acceptCall()
1750 mPhone.getVoiceCallSessionStats().onImsAcceptCall(mRingingCall.getConnections()); in answerWaitingCall()
2054 l = mRingingCall.getConnections(); in dumpState()
2061 l = mForegroundCall.getConnections(); in dumpState()
2068 l = mBackgroundCall.getConnections(); in dumpState()
2255 List<Connection> connections = mHandoverCall.getConnections(); in callEndCleanupHandOverCallIfAny()
2258 + mHandoverCall.getConnections()); in callEndCleanupHandOverCallIfAny()
3741 if (call.getConnections() != null) { in transferHandoverConnections()
3742 for (Connection c : call.getConnections()) { in transferHandoverConnections()
[all …]
DImsPhone.java1520 connList.addAll(getForegroundCall().getConnections()); in getHandoverConnection()
1522 connList.addAll(getBackgroundCall().getConnections()); in getHandoverConnection()
1524 connList.addAll(getRingingCall().getConnections()); in getHandoverConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java486 for (Connection c : getConnections()) { in takeOver()
527 for (Connection c : getConnections()) { in hangup()
578 ((SipConnection) getConnections().get(0)).acceptCall(); in acceptCall()
613 for (Connection c : getConnections()) ((SipConnection) c).hold(); in hold()
622 for (Connection c : getConnections()) { in unhold()
630 for (Connection c : getConnections()) { in setMute()
636 boolean ret = getConnections().isEmpty() in getMute()
638 : ((SipConnection) getConnections().get(0)).getMute(); in getMute()
649 Connection[] cc = that.getConnections().toArray( in merge()
733 for (Connection c : getConnections()) { in onConnectionEnded()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java205 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moRejected()
253 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moFailed()
291 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moAccepted()
346 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_mtRejected()
388 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_mtAccepted()
441 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_dsdsModeSingleSim()
481 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_dsdsMode()
521 doReturn(new ArrayList(List.of(mImsConnection1))).when(mImsCall1).getConnections(); in singleImsCall_esim()
558 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_emergency()
596 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_roaming()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java346 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testImsMTCall()
348 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0); in testImsMTCall()
370 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
400 ImsPhoneConnection connection = mCTUT.getConnections().get(0); in injectConferenceState()
453 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testImsMTCallReject()
783 (ImsPhoneConnection) mCTUT.mForegroundCall.getConnections().get(0); in testNotifyHandovers()
1068 mCTUT.getConnections().add(mImsPhoneConnection); in testNoHoldErrorMessageWhenCallDisconnected()
1171 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testHangupHandoverCall()
1173 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0); in testHangupHandoverCall()
1178 assertEquals(1, mCTUT.mHandoverCall.getConnections().size()); in testHangupHandoverCall()
DImsPhoneCallTest.java168 assertEquals(mConnection1, mImsCallThat.getConnections().get(0)); in testSwitchWith()
169 assertEquals(mConnection2, mImsCallUT.getConnections().get(0)); in testSwitchWith()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConference.java355 public final List<RemoteConnection> getConnections() { in getConnections() method in RemoteConference
DConference.java169 public final List<Connection> getConnections() { in getConnections() method in Conference
DRemoteConnectionService.java242 if (conference.getConnections().size() == 0) {
DConnectionService.java2480 for (Connection connection : conference.getConnections()) { in addConference()
2516 for (Connection connection : conference.getConnections()) { in addConference()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1555 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = sr.getConnections(); in updateServiceClientActivitiesLocked()
1882 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in publishServiceLocked()
2921 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in bringDownServiceLocked()
3115 ArrayList<ConnectionRecord> clist = s.getConnections().get(binder); in removeConnectionLocked()
3192 if (s.getConnections().isEmpty()) { in removeConnectionLocked()
3563 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in killServicesLocked()
3764 info.clientCount = r.getConnections().size(); in makeRunningServiceInfoLocked()
3780 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in makeRunningServiceInfoLocked()
3852 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in getRunningServiceControlPanelLocked()
4148 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in dumpServiceLocalLocked()
DProcessRecord.java1207 services.valueAt(j).getConnections(); in updateBoundClientUids()
1224 ArrayMap<IBinder, ArrayList<ConnectionRecord>> conns = sr.getConnections(); in addBoundClientUidsOfNewService()
DServiceRecord.java600 ArrayMap<IBinder, ArrayList<ConnectionRecord>> getConnections() { in getConnections() method in ServiceRecord
DOomAdjuster.java1176 ArrayMap<IBinder, ArrayList<ConnectionRecord>> serviceConnections = s.getConnections(); in computeOomAdjLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java263 for (Connection conn : call.getConnections()) { in onCallStateChanged()
/frameworks/base/non-updatable-api/
Dcurrent.txt43640 method public final java.util.List<android.telecom.Connection> getConnections();
44129 method public java.util.List<android.telecom.RemoteConnection> getConnections();
/frameworks/base/api/
Dcurrent.txt43784 method public final java.util.List<android.telecom.Connection> getConnections();
44273 method public java.util.List<android.telecom.RemoteConnection> getConnections();

12