Searched refs:MockConnectionService (Results 1 – 16 of 16) sorted by relevance
53 MockConnectionService remoteConnectionService = null;63 protected void setupConnectionServices(MockConnectionService connectionService, in setupConnectionServices()64 MockConnectionService remoteConnectionService, int flags) throws Exception { in setupConnectionServices()70 protected void setupRemoteConnectionService(MockConnectionService remoteConnectionService, in setupRemoteConnectionService()76 this.remoteConnectionService = new MockConnectionService(); in setupRemoteConnectionService()
59 MockConnectionService mConnectionService;156 addNewIncomingCall(MockConnectionService.VERSTAT_FAILED_NUMBER); in testVerificationFailed()180 addNewIncomingCall(MockConnectionService.VERSTAT_NOT_VERIFIED_NUMBER); in testNumberNotVerified()231 mConnectionService = new MockConnectionService();
202 MockConnectionService.EVENT_CONNECTION_SERVICE_FOCUS_GAINED)); in testConnectionServiceFocusGainedWithNoConnectionService()215 MockConnectionService.EVENT_CONNECTION_SERVICE_FOCUS_GAINED)); in testConnectionServiceFocusGainedWithSameConnectionService()224 MockConnectionService.EVENT_CONNECTION_SERVICE_FOCUS_GAINED)); in testConnectionServiceFocusGainedWithSameConnectionService()227 MockConnectionService.EVENT_CONNECTION_SERVICE_FOCUS_LOST)); in testConnectionServiceFocusGainedWithSameConnectionService()239 MockConnectionService.EVENT_CONNECTION_SERVICE_FOCUS_GAINED)); in testConnectionServiceFocusGainedWithDifferentConnectionService()247 MockConnectionService.EVENT_CONNECTION_SERVICE_FOCUS_LOST)); in testConnectionServiceFocusGainedWithDifferentConnectionService()
46 new MockConnectionService() { in testEndInPound()
79 addAndVerifyNewIncomingCall(MockConnectionService.VERSTAT_PASSED_NUMBER, null); in testVerstatPassed()92 addAndVerifyNewIncomingCall(MockConnectionService.VERSTAT_FAILED_NUMBER, null); in testVerstatFailed()105 addAndVerifyNewIncomingCall(MockConnectionService.VERSTAT_NOT_VERIFIED_NUMBER, null); in testVerstatNotVerified()129 MockConnectionService.EVENT_CONNECTION_SERVICE_CREATE_CONNECTION_COMPLETE)); in testAddNewIncomingCall_CorrectPhoneAccountHandle()286 setupConnectionService(new MockConnectionService() { in testAddNewIncomingCallVoipState()
64 private static ConnectionService mMockConnectionService = new MockConnectionService();
192 MockConnectionService managerConnectionService = new MockConnectionService() { in testRemoteIncomingConference()237 MockConnectionService managerConnectionService = new MockConnectionService() { in testRemoteOutgoingConference()1363 MockConnectionService managerConnectionService = new MockConnectionService() { in addRemoteConnectionOutgoingCall()1402 MockConnectionService managerConnectionService = new MockConnectionService() { in addRemoteConnectionOutgoingEmergencyCall()1441 MockConnectionService managerConnectionService = new MockConnectionService() { in addRemoteConnectionIncomingCall()
540 MockConnectionService managerConnectionService = new MockConnectionService() { in addRemoteConnectionOutgoingCalls()600 MockConnectionService remoteConnectionService= new MockConnectionService() { in addRemoteConnectionOutgoingCalls()
48 new MockConnectionService() { in setUp()
77 MockConnectionService.EVENT_CONNECTION_SERVICE_CREATE_CONFERENCE_COMPLETE)); in testStartConference()
149 MockConnectionService connectionService = null;388 protected PhoneAccount setupConnectionService(MockConnectionService connectionService, in setupConnectionService()396 this.connectionService = new MockConnectionService(); in setupConnectionService()722 MockConnectionService.EVENT_CONNECTION_SERVICE_CREATE_CONNECTION_FAILED)) { in addAndVerifyNewFailedIncomingCall()983 MockConnectionService.EVENT_CONNECTION_SERVICE_CREATE_CONNECTION)) { in verifyConnectionForOutgoingCall()1536 void assertNumConnections(final MockConnectionService connService, final int numConnections) {
43 public class MockConnectionService extends ConnectionService { class
194 MockConnectionService.EVENT_CONNECTION_SERVICE_CREATE_CONNECTION_COMPLETE)); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
106 new MockConnectionService() { in setUp()595 …assertEquals(MockConnectionService.CONNECTION_PRESENTATION, mCall.getDetails().getHandlePresentati… in testHandlePresentation()
547 new MockConnectionService() { in addOutgoingCalls()
1157 MockConnectionService.EVENT_CONNECTION_SERVICE_FOCUS_GAINED)); in testSelfManagedConnectionServiceLostFocus()