/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RttOperationsTest.java | 63 final MockConnection connection = verifyConnectionForOutgoingCall(); in testOutgoingRttCall() 77 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingRttCall() 90 final MockConnection connection = verifyConnectionForOutgoingCall(); in testLocalRttUpgradeAccepted() 96 connection.getInvokeCounter(MockConnection.ON_START_RTT); in testLocalRttUpgradeAccepted() 114 final MockConnection connection = verifyConnectionForOutgoingCall(); in testLocalRttUpgradeRejected() 120 connection.getInvokeCounter(MockConnection.ON_START_RTT); in testLocalRttUpgradeRejected() 138 final MockConnection connection = verifyConnectionForOutgoingCall(); in testAcceptRemoteRttUpgrade() 144 connection.getInvokeCounter(MockConnection.ON_RTT_REQUEST_RESPONSE); in testAcceptRemoteRttUpgrade() 161 final MockConnection connection = verifyConnectionForOutgoingCall(); in testRejectRemoteRttRequest() 167 connection.getInvokeCounter(MockConnection.ON_RTT_REQUEST_RESPONSE); in testRejectRemoteRttRequest() [all …]
|
D | MockConnectionService.java | 72 public List<MockConnection> outgoingConnections = new ArrayList<MockConnection>(); 73 public List<MockConnection> incomingConnections = new ArrayList<MockConnection>(); 77 public List<MockConnection> failedConnections = new ArrayList<>(); 83 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() 120 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() 163 final MockConnection connection = new MockConnection(); in onCreateIncomingConnectionFailed() 176 (MockConnection)connection1, (MockConnection)connection2); in onConference()
|
D | ExtendedInCallServiceTest.java | 89 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() 120 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() 180 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() 213 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() 240 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() 261 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() 283 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndRingingCall() 305 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndCall() 334 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCalls() 343 final MockConnection connection2 = verifyConnectionForIncomingCall(1); in testAcceptRingingCallTwoCalls() [all …]
|
D | ConnectionServiceTest.java | 86 final MockConnection connection = new MockConnection(); in testAddExistingConnection() 109 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName() 134 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId() 154 MockConnection connection = verifyConnectionForOutgoingCall(); in testVoipAudioModePropagation() 290 final MockConnection connection = new MockConnection(); in testCallDirectionIncoming() 350 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalNotInContacts() 353 connection.getInvokeCounter(MockConnection.ON_CALL_FILTERING_COMPLETED) in testCallFilteringCompleteSignalNotInContacts() 399 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalInContacts() 402 connection.getInvokeCounter(MockConnection.ON_CALL_FILTERING_COMPLETED) in testCallFilteringCompleteSignalInContacts() 462 final MockConnection connection = verifyConnectionForIncomingCall(); in testCallLogForBlockedNumberIncomingCall() [all …]
|
D | BaseRemoteTelecomTest.java | 111 MockConnection verifyConnectionForOutgoingCallOnRemoteCS() { in verifyConnectionForOutgoingCallOnRemoteCS() 116 MockConnection verifyConnectionForOutgoingCallOnRemoteCS(int connectionIndex) { in verifyConnectionForOutgoingCallOnRemoteCS() 130 … MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCallOnRemoteCS() 134 MockConnection verifyConnectionForIncomingCallOnRemoteCS() { in verifyConnectionForIncomingCallOnRemoteCS() 139 MockConnection verifyConnectionForIncomingCallOnRemoteCS(int connectionIndex) { in verifyConnectionForIncomingCallOnRemoteCS() 153 … MockConnection connection = remoteConnectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCallOnRemoteCS() 165 … MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS()
|
D | ExternalCallTest.java | 41 private MockConnection mExternalConnection; 59 mExternalConnection = (MockConnection) connection; in setUp() 87 MockConnection.ON_PULL_EXTERNAL_CALL); in testPullExternalCall() 108 MockConnection.ON_PULL_EXTERNAL_CALL); in testNonPullableExternalCall() 157 MockConnection.ON_PULL_EXTERNAL_CALL); in testTryToPullCallWhileInEmergencyCall() 195 MockConnection.ON_PULL_EXTERNAL_CALL); in testExternalCallAndPullCall()
|
D | WiredHeadsetTest.java | 54 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallShortPress_acceptsCall() 71 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallLongPress_rejectsCall() 88 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallLongPress_togglesMute() 110 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallShortPress_hangupCall()
|
D | RemoteConferenceTest.java | 56 MockConnection mConnection1, mConnection2; 57 MockConnection mRemoteConnection1, mRemoteConnection2; 310 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(2); in testRemoteConferenceCallbacks_ConnectionAdd() 345 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(2); in testRemoteConferenceCallbacks_ConnectionRemove() 447 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConferenceCallbacks_ConferenceableConnections() 527 RemoteConnection remoteConnection = ((MockConnection) c).getRemoteConnection(); in verifyRemoteConferenceObject() 545 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCalls() 568 ((MockConnection)connection1).getRemoteConnection(); in addRemoteConnectionOutgoingCalls() 570 ((MockConnection)connection2).getRemoteConnection(); in addRemoteConnectionOutgoingCalls() 619 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls() [all …]
|
D | AccessibilitySystemActionTest.java | 41 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCall_headsetHookAction_acceptsCall() 57 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCall_headsetHookAction_hangupCall()
|
D | VideoCallTest.java | 67 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMakeTwoWayVideoCall() 132 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyRequest() 161 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSendSessionModifyResponse() 186 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyResponse() 242 final MockConnection connection = verifyConnectionForOutgoingCall(); in testVideoCallDelayProvider() 348 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveVideoQuality() 384 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveCallSessionEvent() 470 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceivePeerDimensionChange() 495 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDeviceOrientation() 517 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetPreviewSurface() [all …]
|
D | BackgroundCallAudioTest.java | 85 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllow() 111 final MockConnection connection = verifyConnectionForIncomingCall(); in testHoldAfterAudioProcessingFromCallScreening() 142 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningDisallow() 170 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningMissed() 196 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing() 235 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() 280 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() 420 final MockConnection connection = verifyConnectionForIncomingCall(); in testManualAudioCallScreenAccept() 447 final MockConnection connection = verifyConnectionForIncomingCall(); in testManualAudioCallScreenReject() 478 final MockConnection connection = verifyConnectionForOutgoingCall(); in testEnterAudioProcessingWithoutPermission() [all …]
|
D | IncomingCallTest.java | 347 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForAudioCall() 349 MockConnection.ON_ANSWER_CALLED); in testConnectionOnAnswerForAudioCall() 438 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() 440 MockConnection.ON_ANSWER_CALLED); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() 466 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo() 468 MockConnection.ON_ANSWER_VIDEO_CALLED); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo() 491 final MockConnection connection = verifyConnectionForIncomingCall(); in setAndVerifyBusinessExtras()
|
D | MockConference.java | 57 public MockConference(MockConnection a, MockConnection b) { in MockConference() 101 mRemoteConference.separate(((MockConnection)connection).getRemoteConnection()); in onSeparate()
|
D | MockVideoProvider.java | 46 private MockConnection mMockConnection; 54 public MockVideoProvider(MockConnection mockConnection) { in MockVideoProvider()
|
D | BaseTelecomTestWithMockServices.java | 960 MockConnection verifyConnectionForOutgoingCall() { in verifyConnectionForOutgoingCall() 965 MockConnection verifyConnectionForOutgoingCall(int connectionIndex) { in verifyConnectionForOutgoingCall() 977 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall() 981 MockConnection verifyConnectionForOutgoingCall(Uri address) { in verifyConnectionForOutgoingCall() 1008 if (connection instanceof MockConnection) { in verifyConnectionForOutgoingCall() 1010 return (MockConnection) connection; in verifyConnectionForOutgoingCall() 1030 MockConnection verifyConnectionForIncomingCall() { in verifyConnectionForIncomingCall() 1035 MockConnection verifyConnectionForIncomingCall(int connectionIndex) { in verifyConnectionForIncomingCall() 1047 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall() 1064 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall() [all …]
|
D | ConferenceTest.java | 63 private MockConnection mConnection1, mConnection2; 202 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceSetters() 459 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceAddAndRemoveConnection() 527 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, in verifyConferenceObject() 528 MockConnection connection2) { in verifyConferenceObject()
|
D | CallDiagnosticServiceTest.java | 43 private MockConnection mConnection; 125 MockConnection connection = verifyConnectionForOutgoingCall(1); in testAddMultipleCalls() 234 MockConnection.ON_CALL_EVENT); in testSendD2DMessage()
|
D | RemoteConnectionTest.java | 64 MockConnection mConnection; 65 MockConnection mRemoteConnection; 638 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConnectionCallbacks_ConferenceableConnections() 781 mRemoteConnection.getInvokeCounter(MockConnection.ON_PULL_EXTERNAL_CALL); in testRemoteConnectionCallbacks_PullExternalCall() 798 MockConnection.ON_ADD_CONFERENCE_PARTICIPANTS); in testAddConferenceParticipants() 1368 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCall() 1407 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingEmergencyCall() 1446 MockConnection connection = (MockConnection)super.onCreateIncomingConnection( in addRemoteConnectionIncomingCall()
|
D | MissedCallTest.java | 74 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer()
|
D | EmergencyCallTests.java | 253 MockConnection incomingConnection = verifyConnectionForIncomingCall(); in testIncomingRingingCallAndPlaceEmergencyCall() 297 MockConnection incomingConnection = verifyConnectionForIncomingCall(); in testActiveCallAndIncomingRingingCallAndPlaceEmergencyCall()
|
D | CallDetailsTest.java | 97 private MockConnection mConnection; 114 mConnection = (MockConnection) connection; in setUp() 843 MockConnection.ON_EXTRAS_CHANGED); in testCallPutExtras() 915 MockConnection.ON_EXTRAS_CHANGED); in setupCallExtras() 1011 final InvokeCounter counter = mConnection.getInvokeCounter(MockConnection.ON_DEFLECT); in testDeflect() 1030 final InvokeCounter counter = mConnection.getInvokeCounter(MockConnection.ON_CALL_EVENT); in testCallEvent()
|
D | ThirdPartyInCallServiceAppOpsPermissionTest.java | 142 final MockConnection connection = verifyConnectionForIncomingCall(); in testExtrasPropagation()
|
D | EmergencyCallOnSimCallManagerTest.java | 140 final MockConnection connection = verifyConnectionForOutgoingCall(); in testQueryLocationForEmergencyTryNormalCall()
|
D | MockConnection.java | 39 public class MockConnection extends Connection { class
|
/cts/tests/tests/telecom/ |
D | Android.bp | 173 "src/android/telecom/cts/MockConnection.java",
|