Searched refs:mImsPhoneConnection (Results 1 – 4 of 4) sorted by relevance
39 private ImsPhoneConnection mImsPhoneConnection; field in TelephonyConnectionTest44 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()
87 ImsPhoneConnection mImsPhoneConnection; field in TestTelephonyConnection116 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()
115 when(mTestTelephonyConnectionA.mImsPhoneConnection.isMultiparty()).thenReturn(true); in testMergeMultiPartyCalls()116 when(mTestTelephonyConnectionB.mImsPhoneConnection.isMultiparty()).thenReturn(true); in testMergeMultiPartyCalls()
134 private ImsPhoneConnection mImsPhoneConnection; field in ImsPhoneCallTrackerTest204 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()