Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java106 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
117 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
147 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
157 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
169 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDialPickUpHangup()
171 Connection connection = mCTUT.mForegroundCall.getConnections().get(0); in testMOCallDialPickUpHangup()
182 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDialPickUpHangup()
205 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallPendingHangUp()
216 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallSwitch()
217 assertEquals(0, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java101 public ArrayList<Connection> getConnections() { in getConnections() method in Call
112 mConnections = other.getConnections(); in copyConnectionFrom()
161 List<Connection> connections = getConnections(); in hasConnections()
241 l = getConnections(); in getEarliestConnection()
267 l = getConnections(); in getEarliestCreateTime()
288 List<Connection> l = getConnections();
324 List<Connection> l = getConnections();
361 for (Connection conn : getConnections()) {
DGsmCdmaCall.java98 for (Connection c : getConnections()) { in connectionDisconnected()
157 for (Connection conn : getConnections()) { in onHangupLocal()
DGsmCdmaCallTracker.java133 toNotify.addAll(mRingingCall.getConnections());
134 toNotify.addAll(mForegroundCall.getConnections());
135 toNotify.addAll(mBackgroundCall.getConnections());
269 ArrayList<Connection> connCopy = mForegroundCall.getConnections(); in fakeHoldForegroundBeforeDial()
600 mPhone.getVoiceCallSessionStats().onRilAcceptCall(mRingingCall.getConnections()); in acceptCall()
984 ArrayList<Connection> connections = mForegroundCall.getConnections(); in handlePollCalls()
992 connections = mRingingCall.getConnections(); in handlePollCalls()
1231 l = mRingingCall.getConnections(); in dumpState()
1238 l = mForegroundCall.getConnections(); in dumpState()
1245 l = mBackgroundCall.getConnections(); in dumpState()
[all …]
DCallManager.java1896 return fgCall.getConnections(); in getFgCallConnections()
1908 return fgCall.getConnections(); in getFgCallConnections()
1921 return bgCall.getConnections(); in getBgCallConnections()
DTelephonyTester.java555 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.java84 List<Connection> connections = getConnections(); in dispose()
95 public ArrayList<Connection> getConnections() { in getConnections() method in ImsPhoneCall
96 return super.getConnections(); in getConnections()
135 List<Connection> connections = getConnections(); in toString()
201 ArrayList<Connection> connections = getConnections(); in connectionDisconnected()
250 ArrayList<Connection> connections = getConnections(); in onHangupLocal()
267 List<Connection> connections = getConnections(); in getFirstConnection()
438 for (Connection c : getConnections()) { in takeOver()
DImsPhoneCallTracker.java1286 int size = getConnections().size(); in hangupAllOrphanedConnections()
1289 getConnections().get(index).hangup(); in hangupAllOrphanedConnections()
1311 getConnections().stream().forEach(c -> { in hangupAllConnections()
1941 mPhone.getVoiceCallSessionStats().onImsAcceptCall(mRingingCall.getConnections()); in acceptCall()
1958 mRingingCall.getConnections()); in acceptCall()
2141 mPhone.getVoiceCallSessionStats().onImsAcceptCall(mRingingCall.getConnections()); in answerWaitingCall()
2454 l = mRingingCall.getConnections(); in dumpState()
2461 l = mForegroundCall.getConnections(); in dumpState()
2468 l = mBackgroundCall.getConnections(); in dumpState()
2653 List<Connection> connections = mHandoverCall.getConnections(); in callEndCleanupHandOverCallIfAny()
[all …]
DImsPhone.java1573 connList.addAll(getForegroundCall().getConnections()); in getHandoverConnection()
1575 connList.addAll(getBackgroundCall().getConnections()); in getHandoverConnection()
1577 connList.addAll(getRingingCall().getConnections()); in getHandoverConnection()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java97 assertThat(sFakeURLStreamHandler.getConnections()).hasSize(1); in request_contentTypeXml_returnsXmlBody()
98 HttpURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_contentTypeXml_returnsXmlBody()
132 assertThat(sFakeURLStreamHandler.getConnections()).hasSize(1); in request_httpGetResponseBadRequest_throwsException()
133 HttpURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_httpGetResponseBadRequest_throwsException()
192 FakeHttpsURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_postJson_doNotEscapeForwardSlash()
/frameworks/base/services/core/java/com/android/server/am/
DProcessServiceRecord.java212 record.getConnections(); in isAlmostPerceptible()
442 mServices.valueAt(j).getConnections(); in updateBoundClientUids()
459 ArrayMap<IBinder, ArrayList<ConnectionRecord>> conns = sr.getConnections(); in addBoundClientUidsOfNewService()
479 if (sr != null && !sr.getConnections().isEmpty()) { in updateHostingComonentTypeForBindingsLocked()
DActiveServices.java1202 : (wasStartRequested || !r.getConnections().isEmpty() in startServiceInnerLocked()
2738 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = sr.getConnections(); in updateServiceClientActivitiesLocked()
2908 final boolean hadConnections = !s.getConnections().isEmpty(); in bindServiceLocked()
3086 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in publishServiceLocked()
4598 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in bringDownServiceLocked()
4851 ArrayList<ConnectionRecord> clist = s.getConnections().get(binder); in removeConnectionLocked()
4932 if (s.getConnections().isEmpty()) { in removeConnectionLocked()
5418 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in killServicesLocked()
5635 info.clientCount = r.getConnections().size(); in makeRunningServiceInfoLocked()
5651 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in makeRunningServiceInfoLocked()
[all …]
DServiceRecord.java727 ArrayMap<IBinder, ArrayList<ConnectionRecord>> getConnections() { in getConnections() method in ServiceRecord
DOomAdjuster.java1952 ArrayMap<IBinder, ArrayList<ConnectionRecord>> serviceConnections = s.getConnections(); in computeOomAdjLSP()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java226 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moRejected()
283 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moFailed()
327 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moStartFailed()
371 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moAccepted()
434 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_mtRejected()
483 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_mtStartFailed()
532 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_mtAccepted()
594 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_dsdsModeSingleSim()
641 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_dsdsMode()
688 doReturn(new ArrayList(List.of(mImsConnection1))).when(mImsCall1).getConnections(); in singleImsCall_esim()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java540 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in setupRingingConnection()
542 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0); in setupRingingConnection()
565 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
599 ImsPhoneConnection connection = mCTUT.getConnections().get(0); in injectConferenceState()
652 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testImsMTCallReject()
1342 (ImsPhoneConnection) mCTUT.mForegroundCall.getConnections().get(0); in testNotifyHandovers()
1637 mCTUT.getConnections().add(mImsPhoneConnection); in testNoHoldErrorMessageWhenCallDisconnected()
1740 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testHangupHandoverCall()
1742 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0); in testHangupHandoverCall()
1747 assertEquals(1, mCTUT.mHandoverCall.getConnections().size()); in testHangupHandoverCall()
[all …]
DImsPhoneCallTest.java230 assertEquals(mConnection1, mImsCallThat.getConnections().get(0)); in testSwitchWith()
231 assertEquals(mConnection2, mImsCallUT.getConnections().get(0)); in testSwitchWith()
/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/
DFakeURLStreamHandler.java79 public ImmutableList<FakeHttpsURLConnection> getConnections() { in getConnections() method in FakeURLStreamHandler
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java478 s.getConnections().clear(); in testUpdateOomAdj_DoOne_PerceptibleRecent_AlmostPerceptibleService()
519 s.getConnections().clear(); in testUpdateOomAdj_DoOne_PerceptibleRecent_AlmostPerceptibleService()
630 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoOne_ServiceB()
674 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoOne_Service_Started()
728 ConnectionRecord cr = s.getConnections().get(binder).get(0); in testUpdateOomAdj_DoOne_Service_Started_WaivePriority_AdjustWithActivity()
1626 s1.getConnections().clear(); in testUpdateOomAdj_DoOne_TreatLikeVisFGS()
1627 s2.getConnections().clear(); in testUpdateOomAdj_DoOne_TreatLikeVisFGS()
2082 doCallRealMethod().when(s).getConnections(); in testUpdateOomAdj_DoAll_ServiceB()
2129 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2142 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s2).getConnections(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DRemoteConference.java363 public final List<RemoteConnection> getConnections() { in getConnections() method in RemoteConference
DConference.java167 public final List<Connection> getConnections() { in getConnections() method in Conference
DConnectionService.java2690 for (Connection connection : conference.getConnections()) { in addConference()
2726 for (Connection connection : conference.getConnections()) { in addConference()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java347 for (Connection conn : call.getConnections()) { in onCallStateChanged()
/frameworks/base/services/
Dart-profile-boot568 Lcom/android/server/am/ServiceRecord;->getConnections()Landroid/util/ArrayMap;

12