Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java109 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
122 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
152 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
162 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
174 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDialPickUpHangup()
176 Connection connection = mCTUT.mForegroundCall.getConnections().get(0); in testMOCallDialPickUpHangup()
187 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDialPickUpHangup()
210 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallPendingHangUp()
221 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallSwitch()
222 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.java137 toNotify.addAll(mRingingCall.getConnections());
138 toNotify.addAll(mForegroundCall.getConnections());
139 toNotify.addAll(mBackgroundCall.getConnections());
276 ArrayList<Connection> connCopy = mForegroundCall.getConnections(); in fakeHoldForegroundBeforeDial()
617 mPhone.getVoiceCallSessionStats().onRilAcceptCall(mRingingCall.getConnections()); in acceptCall()
1003 ArrayList<Connection> connections = mForegroundCall.getConnections(); in handlePollCalls()
1011 connections = mRingingCall.getConnections(); in handlePollCalls()
1253 l = mRingingCall.getConnections(); in dumpState()
1260 l = mForegroundCall.getConnections(); in dumpState()
1267 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.java655 mPhone.getForegroundCall().getConnections() in testChangeNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java86 List<Connection> connections = getConnections(); in dispose()
97 public ArrayList<Connection> getConnections() { in getConnections() method in ImsPhoneCall
98 return super.getConnections(); in getConnections()
137 List<Connection> connections = getConnections(); in toString()
203 ArrayList<Connection> connections = getConnections(); in connectionDisconnected()
252 ArrayList<Connection> connections = getConnections(); in onHangupLocal()
269 List<Connection> connections = getConnections(); in getFirstConnection()
473 for (Connection conn : getConnections()) { in maybeClearRemotelyHeldStatus()
484 for (Connection c : getConnections()) { in takeOver()
DImsPhoneCallTracker.java1506 int size = getConnections().size(); in hangupAllOrphanedConnections()
1509 getConnections().get(index).hangup(); in hangupAllOrphanedConnections()
1532 getConnections().stream().forEach(c -> { in hangupAllConnections()
2229 mPhone.getVoiceCallSessionStats().onImsAcceptCall(mRingingCall.getConnections()); in acceptCall()
2246 mRingingCall.getConnections()); in acceptCall()
2429 mPhone.getVoiceCallSessionStats().onImsAcceptCall(mRingingCall.getConnections()); in answerWaitingCall()
2742 l = mRingingCall.getConnections(); in dumpState()
2749 l = mForegroundCall.getConnections(); in dumpState()
2756 l = mBackgroundCall.getConnections(); in dumpState()
2942 List<Connection> connections = mHandoverCall.getConnections(); in callEndCleanupHandOverCallIfAny()
[all …]
DImsPhone.java1622 connList.addAll(getForegroundCall().getConnections()); in getHandoverConnection()
1624 connList.addAll(getBackgroundCall().getConnections()); in getHandoverConnection()
1626 connList.addAll(getRingingCall().getConnections()); in getHandoverConnection()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java98 assertThat(sFakeURLStreamHandler.getConnections()).hasSize(1); in request_contentTypeXml_returnsXmlBody()
99 HttpURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_contentTypeXml_returnsXmlBody()
133 assertThat(sFakeURLStreamHandler.getConnections()).hasSize(1); in request_httpGetResponseBadRequest_throwsException()
134 HttpURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_httpGetResponseBadRequest_throwsException()
193 FakeHttpsURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_postJson_doNotEscapeForwardSlash()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java257 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moRejected()
311 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moFailed()
355 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moStartFailed()
399 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_moAccepted()
460 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_mtRejected()
509 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_mtStartFailed()
558 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_mtAccepted()
618 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_dsdsModeSingleSim()
665 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsCall0).getConnections(); in singleImsCall_dsdsMode()
712 doReturn(new ArrayList(List.of(mImsConnection1))).when(mImsCall1).getConnections(); in singleImsCall_esim()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessServiceRecord.java308 record.getConnections(); in isAlmostPerceptible()
581 mServices.valueAt(j).getConnections(); in updateBoundClientUids()
599 ArrayMap<IBinder, ArrayList<ConnectionRecord>> conns = sr.getConnections(); in addBoundClientUidsOfNewService()
622 if (sr != null && !sr.getConnections().isEmpty()) { in updateHostingComonentTypeForBindingsLocked()
DActiveServices.java1547 : (wasStartRequested || !r.getConnections().isEmpty() in startServiceInnerLocked()
4033 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = sr.getConnections(); in updateServiceClientActivitiesLocked()
4237 final boolean hadConnections = !s.getConnections().isEmpty(); in bindServiceLocked()
4462 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in publishServiceLocked()
6283 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in bringDownServiceLocked()
6569 ArrayList<ConnectionRecord> clist = s.getConnections().get(binder); in removeConnectionLocked()
6655 if (s.getConnections().isEmpty()) { in removeConnectionLocked()
7170 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in killServicesLocked()
7390 info.clientCount = r.getConnections().size(); in makeRunningServiceInfoLocked()
7406 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in makeRunningServiceInfoLocked()
[all …]
DOomAdjusterModernImpl.java1239 s.getConnections(); in forEachClientConnectionLSP()
DServiceRecord.java1285 ArrayMap<IBinder, ArrayList<ConnectionRecord>> getConnections() { in getConnections() method in ServiceRecord
DOomAdjuster.java781 s.getConnections(); in collectReachableProcessesLocked()
2346 ArrayMap<IBinder, ArrayList<ConnectionRecord>> serviceConnections = s.getConnections(); in computeOomAdjLSP()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java584 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in setupRingingConnection()
586 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0); in setupRingingConnection()
609 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
643 ImsPhoneConnection connection = mCTUT.getConnections().get(0); in injectConferenceState()
696 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testImsMTCallReject()
1386 (ImsPhoneConnection) mCTUT.mForegroundCall.getConnections().get(0); in testNotifyHandovers()
1759 mCTUT.getConnections().add(mImsPhoneConnection); in testNoHoldErrorMessageWhenCallDisconnected()
1862 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testHangupHandoverCall()
1864 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0); in testHangupHandoverCall()
1869 assertEquals(1, mCTUT.mHandoverCall.getConnections().size()); in testHangupHandoverCall()
[all …]
DImsPhoneCallTest.java233 assertEquals(mConnection1, mImsCallThat.getConnections().get(0)); in testSwitchWith()
234 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/telecomm/java/android/telecom/
DRemoteConference.java363 public final List<RemoteConnection> getConnections() { in getConnections() method in RemoteConference
DConference.java168 public final List<Connection> getConnections() { in getConnections() method in Conference
DConnectionService.java3059 for (Connection connection : conference.getConnections()) { in addConference()
3095 for (Connection connection : conference.getConnections()) { in addConference()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java688 s.getConnections().clear(); in testUpdateOomAdj_DoOne_PerceptibleRecent_AlmostPerceptibleService()
745 s.getConnections().clear(); in testUpdateOomAdj_DoOne_PerceptibleRecent_AlmostPerceptibleService()
892 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoOne_ServiceB()
936 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoOne_Service_Started()
991 ConnectionRecord cr = s.getConnections().get(binder).get(0); in testUpdateOomAdj_DoOne_Service_Started_WaivePriority_AdjustWithActivity()
2057 s1.getConnections().clear(); in testUpdateOomAdj_DoOne_TreatLikeVisFGS()
2058 s2.getConnections().clear(); in testUpdateOomAdj_DoOne_TreatLikeVisFGS()
2561 doCallRealMethod().when(s).getConnections(); in testUpdateOomAdj_DoAll_ServiceB()
2606 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2618 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s2).getConnections(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java367 for (Connection conn : call.getConnections()) { in onCallStateChanged()
/frameworks/base/services/
Dart-profile-boot568 Lcom/android/server/am/ServiceRecord;->getConnections()Landroid/util/ArrayMap;

12