Home
last modified time | relevance | path

Searched refs:mImsPhoneConnection (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/
H A DTelephonyConnectionTest.java39 private ImsPhoneConnection mImsPhoneConnection; field in TelephonyConnectionTest
44 when(mImsPhoneConnection.getState()).thenReturn(Call.State.ACTIVE); in setUp()
45 when(mImsPhoneConnection.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in setUp()
62 c.setOriginalConnection(mImsPhoneConnection); in testSetupCommunicator()
77 c.setOriginalConnection(mImsPhoneConnection); in testDoNotSetupCommunicatorWhenDisabled()
92 c.setOriginalConnection(mImsPhoneConnection); in testDoNotSetupCommunicatorForNonIms()
113 c.setOriginalConnection(mImsPhoneConnection); in testDoNotSetupCommunicatorNoTransports()
131 c.setOriginalConnection(mImsPhoneConnection); in testSetupRtpOnly()
169 c.setOriginalConnection(mImsPhoneConnection); in testSetupDtmfOnly()
H A DTestTelephonyConnection.java87 ImsPhoneConnection mImsPhoneConnection; field in TestTelephonyConnection
116 return mImsPhoneConnection; in getOriginalConnection()
145 when(mImsPhoneConnection.getAudioCodec()).thenReturn( in TestTelephonyConnection()
149 when(mImsPhoneConnection.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in TestTelephonyConnection()
171 when(mImsPhoneConnection.getImsCall()).thenReturn(mImsCall); in TestTelephonyConnection()
310 return mImsPhoneConnection; in getMockImsPhoneConnection()
314 mImsPhoneConnection = connection; in setMockImsPhoneConnection()
H A DImsConferenceControllerTest.java115 when(mTestTelephonyConnectionA.mImsPhoneConnection.isMultiparty()).thenReturn(true); in testMergeMultiPartyCalls()
116 when(mTestTelephonyConnectionB.mImsPhoneConnection.isMultiparty()).thenReturn(true); in testMergeMultiPartyCalls()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTrackerTest.java134 private ImsPhoneConnection mImsPhoneConnection; field in ImsPhoneCallTrackerTest
204 mImsPhoneConnection = mock(ImsPhoneConnection.class); in setUp()
1151 when(mImsPhoneConnection.getImsCall()).thenReturn(mImsCall); in testNoHoldErrorMessageWhenCallDisconnected()
1152 mCTUT.getConnections().add(mImsPhoneConnection); in testNoHoldErrorMessageWhenCallDisconnected()
1153 when(mImsPhoneConnection.getState()).thenReturn(ImsPhoneCall.State.DISCONNECTED); in testNoHoldErrorMessageWhenCallDisconnected()
1156 mCTUT.getImsCallListener().onCallHoldFailed(mImsPhoneConnection.getImsCall(), info); in testNoHoldErrorMessageWhenCallDisconnected()
1157 verify(mImsPhoneConnection, never()).onConnectionEvent( in testNoHoldErrorMessageWhenCallDisconnected()