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.java93 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningAllow()
119 assertConnectionState(connection, Connection.STATE_ACTIVE); in testHoldAfterAudioProcessingFromCallScreening()
150 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningDisallow()
178 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningMissed()
204 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing()
219 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing()
243 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
257 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
266 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
287 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAudioProcessingFromIncomingActivePlaceEmergencyCall()
[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()
DExtendedInCallServiceTest.java230 assertConnectionState(connection, Connection.STATE_RINGING); in testAnswerIncomingCallAudioOnly()
235 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAnswerIncomingCallAudioOnly()
249 assertConnectionState(connection, Connection.STATE_RINGING); in testAcceptRingingCall()
254 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAcceptRingingCall()
271 assertConnectionState(connection, Connection.STATE_RINGING); in testEndRingingCall()
276 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testEndRingingCall()
293 assertConnectionState(connection, Connection.STATE_RINGING); in testEndCall()
298 assertConnectionState(connection, Connection.STATE_ACTIVE); in testEndCall()
303 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testEndCall()
330 assertConnectionState(connection2, Connection.STATE_RINGING); in testAcceptRingingCallTwoCalls()
[all …]
DRemoteConferenceTest.java80 assertConnectionState(mConnection1, Connection.STATE_ACTIVE); in testRemoteConferenceCreate()
81 assertConnectionState(mConnection2, Connection.STATE_ACTIVE); in testRemoteConferenceCreate()
82 assertConnectionState(mRemoteConnection1, Connection.STATE_ACTIVE); in testRemoteConferenceCreate()
83 assertConnectionState(mRemoteConnection2, Connection.STATE_ACTIVE); in testRemoteConferenceCreate()
130 assertConnectionState(mConnection1, Connection.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
131 assertConnectionState(mConnection2, Connection.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
132 assertConnectionState(mRemoteConnection1, Connection.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
133 assertConnectionState(mRemoteConnection2, Connection.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
142 assertConnectionState(mConnection1, Connection.STATE_ACTIVE); in testRemoteConferenceHoldAndUnhold()
143 assertConnectionState(mConnection2, Connection.STATE_ACTIVE); in testRemoteConferenceHoldAndUnhold()
[all …]
DEmergencyCallTests.java100 assertConnectionState(incomingConnection, Connection.STATE_DISCONNECTED); in testIncomingRingingCallAndPlaceEmergencyCall()
141 assertConnectionState(incomingConnection, Connection.STATE_DISCONNECTED); in testActiveCallAndIncomingRingingCallAndPlaceEmergencyCall()
DRemoteConnectionTest.java76 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
78 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
82 assertConnectionState(mConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall()
84 assertConnectionState(mRemoteConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall()
88 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
90 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
94 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall()
96 assertConnectionState(mRemoteConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall()
109 assertConnectionState(mConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept()
111 assertConnectionState(mRemoteConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept()
[all …]
DMissedCallTest.java72 assertConnectionState(connection, Connection.STATE_RINGING); in testMissedCall_NotifyDialer()
DSelfManagedConnectionServiceTest.java284 assertConnectionState(connection, Connection.STATE_ACTIVE); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld()
650 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testDisconnectSelfManagedCallForEmergency()
DConferenceTest.java95 assertConnectionState(mConferenceObject.getConnections().get(0), Connection.STATE_ACTIVE); in testConferenceCreate()
96 assertConnectionState(mConferenceObject.getConnections().get(1), Connection.STATE_ACTIVE); in testConferenceCreate()
DBaseTelecomTestWithMockServices.java900 assertConnectionState(connection, Connection.STATE_RINGING); in setAndVerifyConnectionForIncomingCall()
1392 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState() method in BaseTelecomTestWithMockServices