Home
last modified time | relevance | path

Searched refs:call (Results 1 – 25 of 192) sorted by relevance

12345678

/cts/tests/tests/telecom/src/android/telecom/cts/
DMockInCallService.java58 public void onCallAdded(Call call, int numCalls) {}; in onCallAdded() argument
59 public void onCallRemoved(Call call, int numCalls) {}; in onCallRemoved() argument
60 public void onCallStateChanged(Call call, int state) {}; in onCallStateChanged() argument
61 public void onParentChanged(Call call, Call parent) {}; in onParentChanged() argument
62 public void onChildrenChanged(Call call, List<Call> children) {}; in onChildrenChanged() argument
63 public void onConferenceableCallsChanged(Call call, List<Call> conferenceableCalls) {}; in onConferenceableCallsChanged() argument
64 public void onCallDestroyed(Call call) {}; in onCallDestroyed() argument
65 public void onDetailsChanged(Call call, Call.Details details) {}; in onDetailsChanged() argument
69 public void onPostDialWait(Call call, String remainingPostDialSequence) {} in onPostDialWait() argument
70 public void onCannedTextResponsesLoaded(Call call, List<String> cannedTextResponses) {} in onCannedTextResponsesLoaded() argument
[all …]
DBackgroundCallAudioTest.java92 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningAllow() local
93 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testAudioProcessingFromCallScreeningAllow()
101 verifySimulateRingAndUserPickup(call, connection); in testAudioProcessingFromCallScreeningAllow()
118 Call call = mInCallCallbacks.getService().getLastCall(); in testHoldAfterAudioProcessingFromCallScreening() local
119 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testHoldAfterAudioProcessingFromCallScreening()
127 verifySimulateRingAndUserPickup(call, connection); in testHoldAfterAudioProcessingFromCallScreening()
129 call.hold(); in testHoldAfterAudioProcessingFromCallScreening()
130 assertCallState(call, Call.STATE_HOLDING); in testHoldAfterAudioProcessingFromCallScreening()
131 call.unhold(); in testHoldAfterAudioProcessingFromCallScreening()
132 assertCallState(call, Call.STATE_ACTIVE); in testHoldAfterAudioProcessingFromCallScreening()
[all …]
DVideoCallTest.java70 final Call call = inCallService.getLastCall(); in testMakeTwoWayVideoCall() local
72 assertCallState(call, Call.STATE_DIALING); in testMakeTwoWayVideoCall()
74 assertCallState(call, Call.STATE_ACTIVE); in testMakeTwoWayVideoCall()
76 assertVideoState(call, VideoProfile.STATE_BIDIRECTIONAL); in testMakeTwoWayVideoCall()
77 assertVideoCallbackRegistered(inCallService, call, true); in testMakeTwoWayVideoCall()
92 final Call call = inCallService.getLastCall(); in testMakeOneWayVideoCall() local
94 assertVideoState(call, VideoProfile.STATE_TX_ENABLED); in testMakeOneWayVideoCall()
95 assertVideoCallbackRegistered(inCallService, call, true); in testMakeOneWayVideoCall()
110 final Call call = inCallService.getLastCall(); in testUpgradeToVideo() local
111 assertVideoState(call, VideoProfile.STATE_AUDIO_ONLY); in testUpgradeToVideo()
[all …]
DExternalCallTest.java84 Call call = placeExternalCall(); in testPullExternalCall() local
88 call.pullExternalCall(); in testPullExternalCall()
100 Call call = placeExternalCall(); in testNonPullableExternalCall() local
104 assertCallCapabilities(call, 0); in testNonPullableExternalCall()
110 call.pullExternalCall(); in testNonPullableExternalCall()
125 Call call = placeExternalCall(); in testPullCallCapabilityRemovedInEmergencyCall() local
135 assertDoesNotHaveCallCapabilities(call, Call.Details.CAPABILITY_CAN_PULL_CALL); in testPullCallCapabilityRemovedInEmergencyCall()
147 Call call = placeExternalCall(); in testTryToPullCallWhileInEmergencyCall() local
160 call.pullExternalCall(); in testTryToPullCallWhileInEmergencyCall()
173 Call call = placeExternalCall(); in testExternalCallAndPullCall() local
[all …]
DRttOperationsTest.java65 final Call call = inCallService.getLastCall(); in testOutgoingRttCall() local
67 verifyRttEnabled(call, connection); in testOutgoingRttCall()
79 final Call call = inCallService.getLastCall(); in testIncomingRttCall() local
81 verifyRttEnabled(call, connection); in testIncomingRttCall()
92 final Call call = inCallService.getLastCall(); in testLocalRttUpgradeAccepted() local
93 verifyRttDisabled(call); in testLocalRttUpgradeAccepted()
97 call.sendRttRequest(); in testLocalRttUpgradeAccepted()
105 verifyRttEnabled(call, connection); in testLocalRttUpgradeAccepted()
116 final Call call = inCallService.getLastCall(); in testLocalRttUpgradeRejected() local
117 verifyRttDisabled(call); in testLocalRttUpgradeRejected()
[all …]
DExtendedInCallServiceTest.java93 final Call call = inCallService.getLastCall(); in testMuteAndUnmutePhone() local
95 assertCallState(call, Call.STATE_DIALING); in testMuteAndUnmutePhone()
124 final Call call = inCallService.getLastCall(); in testSwitchAudioRoutes() local
125 assertCallState(call, Call.STATE_DIALING); in testSwitchAudioRoutes()
184 final Call call = inCallService.getLastCall(); in testPlayAndStopDtmfTones() local
185 assertCallState(call, Call.STATE_DIALING); in testPlayAndStopDtmfTones()
189 call.playDtmfTone('1'); in testPlayAndStopDtmfTones()
192 call.playDtmfTone('2'); in testPlayAndStopDtmfTones()
195 call.stopDtmfTone(); in testPlayAndStopDtmfTones()
198 call.playDtmfTone('3'); in testPlayAndStopDtmfTones()
[all …]
DHandoverTest.java93 Call call = mInCallCallbacks.getService().getLastCall(); in testHandoverSourceFailed() local
95 call.handoverTo(TestUtils.TEST_SELF_MANAGED_HANDLE_1, VideoProfile.STATE_BIDIRECTIONAL, in testHandoverSourceFailed()
102 assertEquals(call, callbackCall); in testHandoverSourceFailed()
105 call.disconnect(); in testHandoverSourceFailed()
117 Call call = mInCallCallbacks.getService().getLastCall(); in testHandoverDestinationFailed() local
120 call.handoverTo(TestUtils.TEST_SELF_MANAGED_HANDLE_1, VideoProfile.STATE_BIDIRECTIONAL, in testHandoverDestinationFailed()
127 assertEquals(call, callbackCall); in testHandoverDestinationFailed()
130 call.disconnect(); in testHandoverDestinationFailed()
144 final Call call = mInCallCallbacks.getService().getLastCall(); in testOutgoingHandoverRequestValid() local
147 call.handoverTo(TestUtils.TEST_HANDOVER_DEST_PHONE_ACCOUNT_HANDLE, in testOutgoingHandoverRequestValid()
[all …]
DWiredHeadsetTest.java56 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCallShortPress_acceptsCall() local
57 assertCallState(call, Call.STATE_RINGING); in testIncomingCallShortPress_acceptsCall()
61 assertCallState(call, Call.STATE_ACTIVE); in testIncomingCallShortPress_acceptsCall()
73 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCallLongPress_rejectsCall() local
74 assertCallState(call, Call.STATE_RINGING); in testIncomingCallLongPress_rejectsCall()
78 assertCallState(call, Call.STATE_DISCONNECTED); in testIncomingCallLongPress_rejectsCall()
112 final Call call = mInCallCallbacks.getService().getLastCall(); in testInCallShortPress_hangupCall() local
113 assertCallState(call, Call.STATE_DIALING); in testInCallShortPress_hangupCall()
116 assertCallState(call, Call.STATE_ACTIVE); in testInCallShortPress_hangupCall()
119 assertCallState(call, Call.STATE_DISCONNECTED); in testInCallShortPress_hangupCall()
DAccessibilitySystemActionTest.java42 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCall_headsetHookAction_acceptsCall() local
43 assertCallState(call, Call.STATE_RINGING); in testIncomingCall_headsetHookAction_acceptsCall()
48 assertCallState(call, Call.STATE_ACTIVE); in testIncomingCall_headsetHookAction_acceptsCall()
58 final Call call = mInCallCallbacks.getService().getLastCall(); in testInCall_headsetHookAction_hangupCall() local
59 assertCallState(call, Call.STATE_DIALING); in testInCall_headsetHookAction_hangupCall()
61 assertCallState(call, Call.STATE_ACTIVE); in testInCall_headsetHookAction_hangupCall()
65 assertCallState(call, Call.STATE_DISCONNECTED); in testInCall_headsetHookAction_hangupCall()
DTransactionalApisTest.java381 Call call = getLastAddedCall(); in testAddOutgoingCallHasPropertyIsTransactional() local
382 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_IS_TRANSACTIONAL)); in testAddOutgoingCallHasPropertyIsTransactional()
432 Call call = getLastAddedCall(); in testAddIncomingCallHasPropertyIsTransactional() local
433 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_IS_TRANSACTIONAL)); in testAddIncomingCallHasPropertyIsTransactional()
599 private void waitUntilVideoStateIs(int videoState, TelecomCtsVoipCall call) { in waitUntilVideoStateIs() argument
609 return call.mEvents.getVideoState(); in waitUntilVideoStateIs()
729 Call call = getLastAddedCall(); in testAddIncomingCallAndRejectWithCallEventCallback() local
730 call.reject(Call.REJECT_REASON_DECLINED); in testAddIncomingCallAndRejectWithCallEventCallback()
753 Call call = getLastAddedCall(); in testAddIncomingCallOnAnswer() local
754 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testAddIncomingCallOnAnswer()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DInCallServiceStateValidator.java48 public void onCallAdded(Call call, int numCalls) {}; in onCallAdded() argument
49 public void onCallRemoved(Call call, int numCalls) {}; in onCallRemoved() argument
50 public void onCallStateChanged(Call call, int state) {}; in onCallStateChanged() argument
51 public void onChildrenChanged(Call call, List<Call> children) {}; in onChildrenChanged() argument
52 public void onConnectionEvent(Call call, String event, Bundle extras) {}; in onConnectionEvent() argument
96 public void onStateChanged(Call call, int state) {
97 super.onStateChanged(call, state);
99 getCallbacks().onCallStateChanged(call, state);
104 public void onChildrenChanged(Call call, List<Call> children) {
105 super.onChildrenChanged(call, children);
[all …]
DDomainSelectionCallingBase.java233 private static String getCallId(Call call) { in getCallId() argument
234 String str = call.toString(); in getCallId()
241 private void addCall(Call call) { in addCall() argument
243 String callId = getCallId(call); in addCall()
246 mCalls.put(callId, call); in addCall()
250 private void removeCall(Call call) { in removeCall() argument
256 String callId = getCallId(call); in removeCall()
268 public void onCallAdded(Call call, int numCalls) { in onCallAdded() argument
269 Log.i(LOG_TAG, "onCallAdded, Call: " + call + ", Num Calls: " + numCalls); in onCallAdded()
270 addCall(call); in onCallAdded()
[all …]
DSipAudioCallTest.java45 SipAudioCall call = new SipAudioCall(mContext, sipProfile); in testSetAndGetAudioGroup() local
48 call.setAudioGroup(audioGroup1); in testSetAndGetAudioGroup()
49 assertEquals(AudioGroup.MODE_NORMAL, call.getAudioGroup().getMode()); in testSetAndGetAudioGroup()
53 call.setAudioGroup(audioGroup2); in testSetAndGetAudioGroup()
54 assertEquals(AudioGroup.MODE_MUTED, call.getAudioGroup().getMode()); in testSetAndGetAudioGroup()
/cts/tests/tests/telecom3/src/android/telecom/cts/
DSelfManagedAwareInCallService.java44 public void onStateChanged(Call call, int state) { in onStateChanged() argument
50 public void onDetailsChanged(Call call, Call.Details details) { in onDetailsChanged() argument
55 public void onCallDestroyed(Call call) { in onCallDestroyed() argument
114 public void onCallAdded(Call call) { in onCallAdded() argument
115 super.onCallAdded(call); in onCallAdded()
116 if (!mCalls.contains(call)) { in onCallAdded()
117 mCalls.add(call); in onCallAdded()
119 call.registerCallback(callback); in onCallAdded()
120 mCallCallbacks.put(call, callback); in onCallAdded()
126 public void onCallRemoved(Call call) { in onCallRemoved() argument
[all …]
DSelfManagedAwareInCallServiceTest.java134 Call call = SelfManagedAwareInCallService.getInCallService().waitForCallAdded(); in testInCallServiceOutgoing() local
135 assertNotNull(call); in testInCallServiceOutgoing()
136 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_SELF_MANAGED)); in testInCallServiceOutgoing()
137 assertEquals(TEST_ADDRESS_1, call.getDetails().getHandle()); in testInCallServiceOutgoing()
158 Call call = SelfManagedAwareInCallService.getInCallService().waitForCallAdded(); in testInCallServiceIncoming() local
159 assertNotNull(call); in testInCallServiceIncoming()
160 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_SELF_MANAGED)); in testInCallServiceIncoming()
161 assertEquals(TEST_ADDRESS_1, call.getDetails().getHandle()); in testInCallServiceIncoming()
181 Call call = SelfManagedAwareInCallService.getInCallService().waitForCallAdded(); in testSelfManagedSignalling() local
182 assertNotNull(call); in testSelfManagedSignalling()
[all …]
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/
DCujInCallService.java52 public void onCallAdded(Call call) { in onCallAdded() argument
53 Log.i(TAG, String.format("onCallAdded: call=[%s]", call)); in onCallAdded()
54 sCallIdToCall.put(call.getDetails().getId(), call); in onCallAdded() local
55 if (call.getDetails().getState() == Call.STATE_SELECT_PHONE_ACCOUNT) { in onCallAdded()
57 + call); in onCallAdded()
60 call.disconnect(); in onCallAdded()
62 sLastCall = call; in onCallAdded()
66 public void onCallRemoved(Call call) { in onCallRemoved() argument
67 Log.i(TAG, String.format("onCallRemoved: call=[%s]", call)); in onCallRemoved()
68 sCallIdToCall.remove(call.getDetails().getId()); in onCallRemoved()
/cts/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(HOST_OUT_INTERMEDIATES)/EXECUTABLES/vm-tests-tf_intermediates)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/host/common/obj/JAVA_LIBRARIES/cts-tradefed_intermediates/…
49 $(call add-clean-step, rm -rf $(HOST_OUT)/cts/android-cts/testcases/CtsUiHostTestCases*)
50 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsJobScheduler…
51 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsUiHostTestCa…
52 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsDpiTestCases…
53 $(call add-clean-step, rm -rf $(HOST_OUT_INTERMEDIATES)/JAVA_LIBRARIES/CtsSecurityHostTestCases_int…
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallingBase.java382 public void isCallActive(Call call, TestImsCallSessionImpl callsession) { in isCallActive() argument
383 if (call.getDetails().getState() != Call.STATE_ACTIVE) { in isCallActive()
398 && call.getDetails().getState() == Call.STATE_ACTIVE) in isCallActive()
407 public void isCallDisconnected(Call call, TestImsCallSessionImpl callsession) { in isCallDisconnected() argument
421 && call.getDetails().getState() == Call.STATE_DISCONNECTED) in isCallDisconnected()
427 + call.getDetails().getState() + ", Call Disconnected"); in isCallDisconnected()
430 public void isCallHolding(Call call, TestImsCallSessionImpl callsession) { in isCallHolding() argument
443 && call.getDetails().getState() == Call.STATE_HOLDING) ? true in isCallHolding()
454 public void addCall(Call call) { in addCall() argument
455 String callid = getCallId(call); in addCall()
[all …]
DImsCallingTestOnMockModem.java182 Call call = mCalls.get(mCurrentCallId); in afterTest() local
183 call.disconnect(); in afterTest()
210 Call call = placeOutgoingCall(); in testSrvccActiveCall() local
218 isCallActive(call, callSession); in testSrvccActiveCall()
241 call.disconnect(); in testSrvccActiveCall()
244 isCallDisconnected(call, callSession); in testSrvccActiveCall()
261 Call call = placeOutgoingCall(); in testSendAnbrQuery() local
268 isCallActive(call, callSession); in testSendAnbrQuery()
280 call.disconnect(); in testSendAnbrQuery()
296 Call call = placeOutgoingCall(); in testNotifyAnbr() local
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/
DCtsCarModeInCallService.java65 public void onCallAdded(Call call) { in onCallAdded() argument
66 Log.i(TAG, "onCallAdded - " + call); in onCallAdded()
68 mCalls.add(call); in onCallAdded()
73 public void onCallRemoved(Call call) { in onCallRemoved() argument
74 Log.i(TAG, "onCallRemoved - " + call); in onCallRemoved()
76 mCalls.remove(call); in onCallRemoved()
104 for (Call call : mCalls) { in disconnectCalls()
105 call.disconnect(); in disconnectCalls()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockSrvccCall.java55 public MockSrvccCall(SrvccCall call) { in MockSrvccCall() argument
56 mAddress = call.number; in MockSrvccCall()
57 mName = call.name; in MockSrvccCall()
58 mState = convertCallState(call.callState); in MockSrvccCall()
59 mIncoming = call.isMT; in MockSrvccCall()
60 mPreAlerting = (call.callState == PREALERTING); in MockSrvccCall()
61 mIsMpty = call.isMpty; in MockSrvccCall()
/cts/tests/tests/telecom/Api29InCallServiceTestApp/src/android/telecom/cts/api29incallservice/
DCtsApi29InCallService.java45 public void onCallAdded(Call call) { in onCallAdded() argument
46 super.onCallAdded(call); in onCallAdded()
47 if (!sCalls.contains(call)) { in onCallAdded()
50 sCalls.add(call); in onCallAdded()
55 public void onCallRemoved(Call call) { in onCallRemoved() argument
56 super.onCallRemoved(call); in onCallRemoved()
57 sCalls.remove(call); in onCallRemoved()
/cts/tests/tests/telecom-apps/TransactionalVoipAppMain/src/android/telecom/cts/apps/transactionalvoipappmain/
DTransactionalVoipAppControlMain.java112 final TransactionalCall call = new TransactionalCall(getApplicationContext(),
124 call.setCallControlAndId(callControl);
125 mIdToControl.put(call.getId(), call);
137 }, call.mHandshakes, call.mEvents);
174 TransactionalCall call = getCallOrThrowError(id, stackTrace);
175 CallControl callControl = call.getCallControl();
184 call.setActive(outcome, extras);
187 call.setInactive(outcome);
190 call.disconnect(outcome, extras);
245 TransactionalCall call = getCallOrThrowError(id,
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/
DDialerCallTestService.java58 public void onCallAdded(Call call) { in onCallAdded() argument
59 if (call.getState() == Call.STATE_RINGING) { in onCallAdded()
61 CtsIncomingCall.getInstance().setCall(call); in onCallAdded()
63 if (call.getDetails().getHandle() != null) { in onCallAdded()
64 intent.putExtra(EXTRA_CALL_NAME, call.getDetails().getHandle().getSchemeSpecificPart()); in onCallAdded()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DWaitForInCallService.java102 for (Call call : calls) { in getCallWithId()
103 if (call.getDetails().getId().equals(id)) { in getCallWithId()
104 return call; in getCallWithId()
110 private static void assertCallState(final Call call, final int targetState) { in assertCallState() argument
120 Log.i("tomsDebug", String.format("checking call=[%s]", call)); in assertCallState()
121 return call.getState(); in assertCallState()
125 + " actual CallState[" + stateToString(call.getState()) + "]" in assertCallState()

12345678