Home
last modified time | relevance | path

Searched refs:mCall (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java82 private Call mCall; field in CallDetailsTest
130 mCall = mInCallService.getLastCall(); in setUp()
132 assertCallState(mCall, Call.STATE_DIALING); in setUp()
144 assertThat(mCall.getDetails().getAccountHandle(), instanceOf(PhoneAccountHandle.class)); in testAccountHandle()
145 assertEquals(TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testAccountHandle()
156 assertThat(mCall.getDetails().getCallCapabilities(), instanceOf(Integer.class)); in testCallCapabilities()
157 assertEquals(CALL_CAPABILITIES, mCall.getDetails().getCallCapabilities()); in testCallCapabilities()
158 assertTrue(mCall.getDetails().can(Call.Details.CAPABILITY_HOLD)); in testCallCapabilities()
159 assertTrue(mCall.getDetails().can(Call.Details.CAPABILITY_MUTE)); in testCallCapabilities()
160 assertFalse(mCall.getDetails().can(Call.Details.CAPABILITY_MANAGE_CONFERENCE)); in testCallCapabilities()
[all …]
DCallRedirectionServiceTest.java77 private Call mCall; field in CallRedirectionServiceTest
128 mCall = mInCallService.getLastCall(); in testRedirectedCallWithRedirectedGateway()
129 assertEquals(SAMPLE_HANDLE, mCall.getDetails().getGatewayInfo().getGatewayAddress()); in testRedirectedCallWithRedirectedGateway()
130 assertEquals(getTestNumber(), mCall.getDetails().getGatewayInfo().getOriginalAddress()); in testRedirectedCallWithRedirectedGateway()
131 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testRedirectedCallWithRedirectedGateway()
132 assertTrue(Call.STATE_DISCONNECTED != mCall.getState()); in testRedirectedCallWithRedirectedGateway()
149 mCall = mInCallService.getLastCall(); in testRedirectedCallWithPostDialDigits()
151 mCall.getDetails().getGatewayInfo().getGatewayAddress()); in testRedirectedCallWithPostDialDigits()
155 Uri.decode(mCall.getDetails().getGatewayInfo().getOriginalAddress() in testRedirectedCallWithPostDialDigits()
158 mCall.getDetails().getHandle()); in testRedirectedCallWithPostDialDigits()
[all …]
DMockVideoCallCallback.java28 private Call mCall; field in MockVideoCallCallback
40 mCall = call; in MockVideoCallCallback()
DBaseTelecomTestWithMockServices.java1388 void assertCallDetailsConstructed(Call mCall, boolean constructed) { in assertCallDetailsConstructed() argument
1398 return mCall != null && mCall.getDetails() != null; in assertCallDetailsConstructed()
1407 void assertCallGatewayConstructed(Call mCall, boolean constructed) { in assertCallGatewayConstructed() argument
1417 return mCall != null && mCall.getDetails() != null in assertCallGatewayConstructed()
1418 && mCall.getDetails().getGatewayInfo() != null; in assertCallGatewayConstructed()
1427 void assertCallNotNull(Call mCall, boolean notNull) { in assertCallNotNull() argument
1437 return mCall != null; in assertCallNotNull()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsIncomingCall.java23 private Call mCall; field in CtsIncomingCall
31 mCall = call; in setCall()
36 if (mCall != null) { in disconnectCall()
37 mCall.disconnect(); in disconnectCall()
38 mCall = null; in disconnectCall()
43 if (mCall != null) { in setAcceptWhenLocked()