Home
last modified time | relevance | path

Searched refs:mInCallCallbacks (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java55 assertNumCalls(mInCallCallbacks.getService(), 2); in testAddExistingConnection()
56 mInCallCallbacks.lock.drainPermits(); in testAddExistingConnection()
57 final Call call = mInCallCallbacks.getService().getLastCall(); in testAddExistingConnection()
76 assertCallState(mInCallCallbacks.getService().getLastCall(), Call.STATE_ACTIVE); in testGetAllConnections()
82 assertNumCalls(mInCallCallbacks.getService(), 2); in testGetAllConnections()
83 mInCallCallbacks.lock.drainPermits(); in testGetAllConnections()
DExtendedInCallServiceTest.java58 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAddNewOutgoingCallAndThenDisconnect()
72 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMuteAndUnmutePhone()
99 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSwitchAudioRoutes()
150 final MockInCallService inCallService = mInCallCallbacks.getService(); in testPlayAndStopDtmfTones()
183 final MockInCallService inCallService = mInCallCallbacks.getService(); in testHoldAndUnholdCall()
210 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAudioOnly()
240 assertNull(mInCallCallbacks.getService()); in testIncomingCallFromBlockedNumber_IsRejected()
264 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
287 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRejectIncomingCall()
309 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRejectIncomingCallWithMessage()
[all …]
DBaseTelecomTestWithMockServices.java92 InCallServiceCallbacks mInCallCallbacks; field in BaseTelecomTestWithMockServices
174 mInCallCallbacks = new InCallServiceCallbacks() { in setupCallbacks()
251 MockInCallService.setCallbacks(mInCallCallbacks); in setupCallbacks()
270 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in addAndVerifyNewIncomingCall()
272 if (mInCallCallbacks.getService() != null) { in addAndVerifyNewIncomingCall()
273 currentCallCount = mInCallCallbacks.getService().getCallCount(); in addAndVerifyNewIncomingCall()
283 if (!mInCallCallbacks.lock.tryAcquire(TestUtils.WAIT_FOR_CALL_ADDED_TIMEOUT_S, in addAndVerifyNewIncomingCall()
293 mInCallCallbacks.getService().getCallCount()); in addAndVerifyNewIncomingCall()
327 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in placeAndVerifyCall()
329 if (mInCallCallbacks.getService() != null) { in placeAndVerifyCall()
[all …]
DWiredHeadsetTest.java46 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCallShortPress_acceptsCall()
63 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCallLongPress_rejectsCall()
79 final MockInCallService incallService = mInCallCallbacks.getService(); in testInCallShortPress_togglesMute()
102 final Call call = mInCallCallbacks.getService().getLastCall(); in testInCallLongPress_hangupCall()
DOutgoingCallTest.java63 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall()
75 assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall()
87 assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
DVideoCallTest.java68 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMakeTwoWayVideoCall()
90 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMakeOneWayVideoCall()
108 final MockInCallService inCallService = mInCallCallbacks.getService(); in testUpgradeToVideo()
132 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveSessionModifyRequest()
161 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSendSessionModifyResponse()
186 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveSessionModifyResponse()
242 final MockInCallService inCallService = mInCallCallbacks.getService(); in testVideoCallDelayProvider()
274 final MockInCallService inCallService = mInCallCallbacks.getService(); in testChangeCamera()
299 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestCameraCapabilities()
327 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestDataUsage()
[all …]
DRemoteConferenceTest.java74 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceCreate()
97 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceSplit()
119 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceHoldAndUnhold()
151 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceMergeAndSwap()
183 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceDTMFTone()
552 mCall1 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls()
561 mCall2 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls()
592 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in setupRemoteConferenceCallbacksTest()
DMissedCallTest.java64 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMissedCall_NotifyDialer()
DRemoteConnectionTest.java62 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionOutgoingCall()
99 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionIncomingCallAccept()
120 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionIncomingCallReject()
141 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionDTMFTone()
457 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionCallbacks_ConferenceableConnections()
1185 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionCallbacksTest()
1198 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionVideoCallbacksTest()
1226 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionVideoTest()
DBaseRemoteTelecomTest.java152 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS()
DCallDetailsTest.java118 mInCallService = mInCallCallbacks.getService(); in setUp()
DConferenceTest.java309 mInCallService = mInCallCallbacks.getService(); in addOutgoingCalls()