Home
last modified time | relevance | path

Searched refs:assertCallState (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DExtendedInCallServiceTest.java79 assertCallState(call, Call.STATE_DIALING); in testMuteAndUnmutePhone()
105 assertCallState(call, Call.STATE_DIALING); in testSwitchAudioRoutes()
165 assertCallState(call, Call.STATE_DIALING); in testPlayAndStopDtmfTones()
199 assertCallState(call, Call.STATE_DIALING); in testHoldAndUnholdCall()
203 assertCallState(call, Call.STATE_ACTIVE); in testHoldAndUnholdCall()
206 assertCallState(call, Call.STATE_HOLDING); in testHoldAndUnholdCall()
210 assertCallState(call, Call.STATE_ACTIVE); in testHoldAndUnholdCall()
226 assertCallState(call, Call.STATE_RINGING); in testAnswerIncomingCallAudioOnly()
231 assertCallState(call, Call.STATE_ACTIVE); in testAnswerIncomingCallAudioOnly()
245 assertCallState(call, Call.STATE_RINGING); in testAcceptRingingCall()
[all …]
DBackgroundCallAudioTest.java83 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testAudioProcessingFromCallScreeningAllow()
109 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testAudioProcessingFromCallScreeningDisallow()
118 assertCallState(call, Call.STATE_DISCONNECTED); in testAudioProcessingFromCallScreeningDisallow()
137 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testAudioProcessingFromCallScreeningMissed()
163 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing()
172 assertCallState(call, Call.STATE_SIMULATED_RINGING); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing()
182 assertCallState(call, Call.STATE_DISCONNECTED); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing()
202 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
211 assertCallState(call, Call.STATE_SIMULATED_RINGING); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
222 assertCallState(eCall, Call.STATE_DIALING); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
[all …]
DEmergencyCallTests.java46 assertCallState(eCall, Call.STATE_DIALING); in testStartEmergencyCall()
67 assertCallState(eCall, Call.STATE_DIALING); in testOngoingEmergencyCallAndReceiveIncomingCall()
69 assertCallState(eCall, Call.STATE_ACTIVE); in testOngoingEmergencyCallAndReceiveIncomingCall()
73 assertCallState(eCall, Call.STATE_ACTIVE); in testOngoingEmergencyCallAndReceiveIncomingCall()
90 assertCallState(incomingCall, Call.STATE_RINGING); in testIncomingRingingCallAndPlaceEmergencyCall()
95 assertCallState(eCall, Call.STATE_DIALING); in testIncomingRingingCallAndPlaceEmergencyCall()
98 assertCallState(incomingCall, Call.STATE_DISCONNECTED); in testIncomingRingingCallAndPlaceEmergencyCall()
101 assertCallState(eCall, Call.STATE_ACTIVE); in testIncomingRingingCallAndPlaceEmergencyCall()
122 assertCallState(outgoingCall, Call.STATE_ACTIVE); in testActiveCallAndIncomingRingingCallAndPlaceEmergencyCall()
128 assertCallState(incomingCall, Call.STATE_RINGING); in testActiveCallAndIncomingRingingCallAndPlaceEmergencyCall()
[all …]
DConferenceTest.java80 assertCallState(conf, Call.STATE_ACTIVE); in testConferenceCreate()
111 assertCallState(conf, Call.STATE_ACTIVE); in testConferenceSplit()
131 assertCallState(conf, Call.STATE_ACTIVE); in testConferenceHoldAndUnhold()
134 assertCallState(conf, Call.STATE_HOLDING); in testConferenceHoldAndUnhold()
135 assertCallState(mCall1, Call.STATE_HOLDING); in testConferenceHoldAndUnhold()
136 assertCallState(mCall2, Call.STATE_HOLDING); in testConferenceHoldAndUnhold()
139 assertCallState(conf, Call.STATE_ACTIVE); in testConferenceHoldAndUnhold()
140 assertCallState(mCall1, Call.STATE_ACTIVE); in testConferenceHoldAndUnhold()
141 assertCallState(mCall2, Call.STATE_ACTIVE); in testConferenceHoldAndUnhold()
149 assertCallState(conf, Call.STATE_ACTIVE); in testConferenceMergeAndSwap()
[all …]
DWiredHeadsetTest.java47 assertCallState(call, Call.STATE_RINGING); in testIncomingCallShortPress_acceptsCall()
51 assertCallState(call, Call.STATE_ACTIVE); in testIncomingCallShortPress_acceptsCall()
64 assertCallState(call, Call.STATE_RINGING); in testIncomingCallLongPress_rejectsCall()
68 assertCallState(call, Call.STATE_DISCONNECTED); in testIncomingCallLongPress_rejectsCall()
103 assertCallState(call, Call.STATE_DIALING); in testInCallShortPress_hangupCall()
106 assertCallState(call, Call.STATE_ACTIVE); in testInCallShortPress_hangupCall()
109 assertCallState(call, Call.STATE_DISCONNECTED); in testInCallShortPress_hangupCall()
DRemoteConferenceTest.java75 assertCallState(confCall, Call.STATE_ACTIVE); in testRemoteConferenceCreate()
98 assertCallState(confCall, Call.STATE_ACTIVE); in testRemoteConferenceSplit()
120 assertCallState(confCall, Call.STATE_ACTIVE); in testRemoteConferenceHoldAndUnhold()
123 assertCallState(confCall, Call.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
124 assertCallState(mCall1, Call.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
125 assertCallState(mCall2, Call.STATE_HOLDING); in testRemoteConferenceHoldAndUnhold()
135 assertCallState(confCall, Call.STATE_ACTIVE); in testRemoteConferenceHoldAndUnhold()
136 assertCallState(mCall1, Call.STATE_ACTIVE); in testRemoteConferenceHoldAndUnhold()
137 assertCallState(mCall2, Call.STATE_ACTIVE); in testRemoteConferenceHoldAndUnhold()
152 assertCallState(confCall, Call.STATE_ACTIVE); in testRemoteConferenceMergeAndSwap()
[all …]
DConnectionServiceTest.java74 assertCallState(call, Call.STATE_HOLDING); in testAddExistingConnection()
103 assertCallState(call, Call.STATE_DIALING); in testAddExistingConnection_invalidPhoneAccountPackageName()
126 assertCallState(call, Call.STATE_DIALING); in testAddExistingConnection_invalidPhoneAccountAccountId()
197 assertCallState(mInCallCallbacks.getService().getLastCall(), Call.STATE_ACTIVE); in testConnectionServiceFocusGainedWithSameConnectionService()
275 assertCallState(call, Call.STATE_ACTIVE); in testCallDirectionIncoming()
309 assertCallState(call, Call.STATE_ACTIVE); in testCallDirectionOutgoing()
337 assertCallState(mInCallCallbacks.getService().getLastCall(), Call.STATE_ACTIVE); in testGetAllConnections()
DExternalCallTest.java121 assertCallState(eCall, Call.STATE_DIALING); in testPullCallCapabilityRemovedInEmergencyCall()
143 assertCallState(eCall, Call.STATE_DIALING); in testTryToPullCallWhileInEmergencyCall()
166 assertCallState(call, Call.STATE_DIALING); in placeExternalCall()
DRemoteConnectionTest.java62 assertCallState(call, Call.STATE_DIALING); in testRemoteConnectionOutgoingCall()
69 assertCallState(call, Call.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
75 assertCallState(call, Call.STATE_HOLDING); in testRemoteConnectionOutgoingCall()
81 assertCallState(call, Call.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
87 assertCallState(call, Call.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall()
99 assertCallState(call, Call.STATE_RINGING); in testRemoteConnectionIncomingCallAccept()
108 assertCallState(call, Call.STATE_ACTIVE); in testRemoteConnectionIncomingCallAccept()
120 assertCallState(call, Call.STATE_RINGING); in testRemoteConnectionIncomingCallReject()
129 assertCallState(call, Call.STATE_DISCONNECTED); in testRemoteConnectionIncomingCallReject()
141 assertCallState(call, Call.STATE_RINGING); in testRemoteConnectionDTMFTone()
[all …]
DMissedCallTest.java68 assertCallState(call, Call.STATE_RINGING); in testMissedCall_NotifyDialer()
DCallDetailsTest.java132 assertCallState(mCall, Call.STATE_DIALING); in setUp()
782 assertCallState(mCall, Call.STATE_RINGING); in testDeflect()
981 assertCallState(mCall, Call.STATE_ACTIVE); in testChangePhoneAccount()
DVideoCallTest.java71 assertCallState(call, Call.STATE_DIALING); in testMakeTwoWayVideoCall()
73 assertCallState(call, Call.STATE_ACTIVE); in testMakeTwoWayVideoCall()
DSelfManagedConnectionServiceTest.java645 assertCallState(eCall, Call.STATE_DIALING); in testDisconnectSelfManagedCallForEmergency()
DBaseTelecomTestWithMockServices.java1207 void assertCallState(final Call call, final int state) { in assertCallState() method in BaseTelecomTestWithMockServices