/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaCallTrackerTest.java | 106 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/ |
D | Call.java | 101 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()) {
|
D | GsmCdmaCall.java | 98 for (Connection c : getConnections()) { in connectionDisconnected() 157 for (Connection conn : getConnections()) { in onHangupLocal()
|
D | GsmCdmaCallTracker.java | 133 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 …]
|
D | CallManager.java | 1896 return fgCall.getConnections(); in getFgCallConnections() 1908 return fgCall.getConnections(); in getFgCallConnections() 1921 return bgCall.getConnections(); in getBgCallConnections()
|
D | TelephonyTester.java | 555 mPhone.getForegroundCall().getConnections() in testChangeNumber()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GSMPhoneTest.java.broken | 145 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/ |
D | ImsPhoneCall.java | 84 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()
|
D | ImsPhoneCallTracker.java | 1286 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 …]
|
D | ImsPhone.java | 1573 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/ |
D | HttpClientTest.java | 97 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/ |
D | ProcessServiceRecord.java | 212 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()
|
D | ActiveServices.java | 1202 : (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 …]
|
D | ServiceRecord.java | 727 ArrayMap<IBinder, ArrayList<ConnectionRecord>> getConnections() { in getConnections() method in ServiceRecord
|
D | OomAdjuster.java | 1952 ArrayMap<IBinder, ArrayList<ConnectionRecord>> serviceConnections = s.getConnections(); in computeOomAdjLSP()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | VoiceCallSessionStatsTest.java | 226 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/ |
D | ImsPhoneCallTrackerTest.java | 540 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 …]
|
D | ImsPhoneCallTest.java | 230 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/ |
D | FakeURLStreamHandler.java | 79 public ImmutableList<FakeHttpsURLConnection> getConnections() { in getConnections() method in FakeURLStreamHandler
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 478 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/ |
D | RemoteConference.java | 363 public final List<RemoteConnection> getConnections() { in getConnections() method in RemoteConference
|
D | Conference.java | 167 public final List<Connection> getConnections() { in getConnections() method in Conference
|
D | ConnectionService.java | 2690 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/ |
D | VoiceCallSessionStats.java | 347 for (Connection conn : call.getConnections()) { in onCallStateChanged()
|
/frameworks/base/services/ |
D | art-profile-boot | 568 Lcom/android/server/am/ServiceRecord;->getConnections()Landroid/util/ArrayMap;
|