Searched refs:mInCallCallbacks (Results 1 – 12 of 12) 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() 82 assertNumCalls(mInCallCallbacks.getService(), 2); in testGetAllConnections() 83 mInCallCallbacks.lock.drainPermits(); in testGetAllConnections()
|
D | ExtendedInCallServiceTest.java | 58 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 …]
|
D | BaseTelecomTestWithMockServices.java | 92 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 …]
|
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()
|
D | OutgoingCallTest.java | 63 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()
|
D | VideoCallTest.java | 68 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 …]
|
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() 552 mCall1 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls() 561 mCall2 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls() 592 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in setupRemoteConferenceCallbacksTest()
|
D | MissedCallTest.java | 64 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMissedCall_NotifyDialer()
|
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() 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()
|
D | BaseRemoteTelecomTest.java | 152 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS()
|
D | CallDetailsTest.java | 118 mInCallService = mInCallCallbacks.getService(); in setUp()
|
D | ConferenceTest.java | 309 mInCallService = mInCallCallbacks.getService(); in addOutgoingCalls()
|