Searched refs:mInCallCallbacks (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionServiceTest.java | 55 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() 81 assertNumCalls(mInCallCallbacks.getService(), 2); in testGetAllConnections() 82 mInCallCallbacks.lock.drainPermits(); in testGetAllConnections()
|
D | BaseTelecomTestWithMockServices.java | 85 InCallServiceCallbacks mInCallCallbacks; field in BaseTelecomTestWithMockServices 165 mInCallCallbacks = new InCallServiceCallbacks() { in setupCallbacks() 221 MockInCallService.setCallbacks(mInCallCallbacks); in setupCallbacks() 236 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in addAndVerifyNewIncomingCall() 238 if (mInCallCallbacks.getService() != null) { in addAndVerifyNewIncomingCall() 239 currentCallCount = mInCallCallbacks.getService().getCallCount(); in addAndVerifyNewIncomingCall() 249 if (!mInCallCallbacks.lock.tryAcquire(3, TimeUnit.SECONDS)) { in addAndVerifyNewIncomingCall() 258 mInCallCallbacks.getService().getCallCount()); in addAndVerifyNewIncomingCall() 292 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in placeAndVerifyCall() 294 if (mInCallCallbacks.getService() != null) { in placeAndVerifyCall() [all …]
|
D | WiredHeadsetTest.java | 46 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() 120 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_EARPIECE); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
|
D | ExtendedInCallServiceTest.java | 54 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAddNewOutgoingCallAndThenDisconnect() 68 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMuteAndUnmutePhone() 95 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSwitchAudioRoutes() 134 final MockInCallService inCallService = mInCallCallbacks.getService(); in testPlayAndStopDtmfTones() 167 final MockInCallService inCallService = mInCallCallbacks.getService(); in testHoldAndUnholdCall() 194 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAudioOnly() 215 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() 238 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRejectIncomingCall() 259 final MockInCallService inCallService = mInCallCallbacks.getService(); in testCanAddCall_CannotAddForExistingDialingCall() 276 final MockInCallService inCallService = mInCallCallbacks.getService(); in testCanAddCall_CanAddForExistingActiveCall() [all …]
|
D | OutgoingCallTest.java | 61 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall() 73 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_EARPIECE); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall() 83 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_EARPIECE); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
|
D | VideoCallTest.java | 66 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMakeTwoWayVideoCall() 88 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMakeOneWayVideoCall() 106 final MockInCallService inCallService = mInCallCallbacks.getService(); in testUpgradeToVideo() 130 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveSessionModifyRequest() 159 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSendSessionModifyResponse() 188 final MockInCallService inCallService = mInCallCallbacks.getService(); in testVideoCallDelayProvider() 220 final MockInCallService inCallService = mInCallCallbacks.getService(); in testChangeCamera() 245 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestCameraCapabilities() 273 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestDataUsage() 294 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveVideoQuality() [all …]
|
D | RemoteConferenceTest.java | 74 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() 536 mCall1 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls() 545 mCall2 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls() 576 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in setupRemoteConferenceCallbacksTest()
|
D | RemoteConnectionTest.java | 62 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() 458 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionCallbacks_ConferenceableConnections() 1180 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionCallbacksTest() 1193 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionVideoCallbacksTest() 1221 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionVideoTest()
|
D | BaseRemoteTelecomTest.java | 152 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS()
|
D | CallDetailsTest.java | 102 mInCallService = mInCallCallbacks.getService(); in setUp()
|
D | ConferenceTest.java | 300 mInCallService = mInCallCallbacks.getService(); in addOutgoingCalls()
|