Home
last modified time | relevance | path

Searched refs:assertConnectionState (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DBackgroundCallAudioTest.java84 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningAllow()
110 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningDisallow()
138 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningMissed()
164 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing()
179 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing()
203 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
217 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
226 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
247 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromIncomingActivePlaceEmergencyCall()
267 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testAudioProcessingFromIncomingActivePlaceEmergencyCall()
[all …]
DExtendedInCallServiceTest.java227 assertConnectionState(connection, Connection.STATE_RINGING); in testAnswerIncomingCallAudioOnly()
232 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAnswerIncomingCallAudioOnly()
246 assertConnectionState(connection, Connection.STATE_RINGING); in testAcceptRingingCall()
251 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAcceptRingingCall()
268 assertConnectionState(connection, Connection.STATE_RINGING); in testEndRingingCall()
273 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testEndRingingCall()
290 assertConnectionState(connection, Connection.STATE_RINGING); in testEndCall()
295 assertConnectionState(connection, Connection.STATE_ACTIVE); in testEndCall()
300 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testEndCall()
327 assertConnectionState(connection2, Connection.STATE_RINGING); in testAcceptRingingCallTwoCalls()
[all …]
DWiredHeadsetTest.java48 assertConnectionState(connection, Connection.STATE_RINGING); in testIncomingCallShortPress_acceptsCall()
52 assertConnectionState(connection, Connection.STATE_ACTIVE); in testIncomingCallShortPress_acceptsCall()
65 assertConnectionState(connection, Connection.STATE_RINGING); in testIncomingCallLongPress_rejectsCall()
69 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testIncomingCallLongPress_rejectsCall()
110 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testInCallShortPress_hangupCall()
DRemoteConferenceTest.java84 assertConnectionState(mConnection1, Connection.STATE_ACTIVE); in testRemoteConferenceCreate()
85 assertConnectionState(mConnection2, Connection.STATE_ACTIVE); in testRemoteConferenceCreate()
86 assertConnectionState(mRemoteConnection1, Connection.STATE_ACTIVE); in testRemoteConferenceCreate()
87 assertConnectionState(mRemoteConnection2, Connection.STATE_ACTIVE); in testRemoteConferenceCreate()
126 assertConnectionState(mConnection1, Connection.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
127 assertConnectionState(mConnection2, Connection.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
128 assertConnectionState(mRemoteConnection1, Connection.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
129 assertConnectionState(mRemoteConnection2, Connection.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
138 assertConnectionState(mConnection1, Connection.STATE_ACTIVE); in testRemoteConferenceHoldAndUnhold()
139 assertConnectionState(mConnection2, Connection.STATE_ACTIVE); in testRemoteConferenceHoldAndUnhold()
[all …]
DRemoteConnectionTest.java70 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
72 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
76 assertConnectionState(mConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall()
78 assertConnectionState(mRemoteConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall()
82 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
84 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
88 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall()
90 assertConnectionState(mRemoteConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall()
103 assertConnectionState(mConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept()
105 assertConnectionState(mRemoteConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept()
[all …]
DEmergencyCallTests.java97 assertConnectionState(incomingConnection, Connection.STATE_DISCONNECTED); in testIncomingRingingCallAndPlaceEmergencyCall()
135 assertConnectionState(incomingConnection, Connection.STATE_DISCONNECTED); in testActiveCallAndIncomingRingingCallAndPlaceEmergencyCall()
DMissedCallTest.java69 assertConnectionState(connection, Connection.STATE_RINGING); in testMissedCall_NotifyDialer()
DSelfManagedConnectionServiceTest.java283 assertConnectionState(connection, Connection.STATE_ACTIVE); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld()
647 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testDisconnectSelfManagedCallForEmergency()
DConferenceTest.java90 assertConnectionState(mConferenceObject.getConnections().get(0), Connection.STATE_ACTIVE); in testConferenceCreate()
91 assertConnectionState(mConferenceObject.getConnections().get(1), Connection.STATE_ACTIVE); in testConferenceCreate()
DBaseTelecomTestWithMockServices.java717 assertConnectionState(connection, Connection.STATE_RINGING); in setAndVerifyConnectionForIncomingCall()
1189 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState() method in BaseTelecomTestWithMockServices