Home
last modified time | relevance | path

Searched refs:videoState (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DCallControlExtras.java25 public static Bundle addVideoStateExtra(Bundle extras, int videoState) { in addVideoStateExtra() argument
26 extras.putInt(EXTRA_TELECOM_VIDEO_STATE, videoState); in addVideoStateExtra()
DManagedConnection.java111 public void onAnswer(int videoState) { in onAnswer() argument
112 setVideoState(videoState); in onAnswer()
114 super.onAnswer(videoState); in onAnswer()
DVoipConnection.java123 public void onAnswer(int videoState) { in onAnswer() argument
124 setVideoState(videoState); in onAnswer()
128 super.onAnswer(videoState); in onAnswer()
DTransactionalCall.java90 int videoState = CallAttributes.AUDIO_CALL; in setActive() local
94 mCallControl.answer(videoState, Runnable::run, outcome); in setActive()
131 public void onAnswer(int videoState, @NonNull Consumer<Boolean> wasCompleted) {
DBaseAppVerifierImpl.java288 public void answerViaInCallServiceAndVerify(String id, int videoState) throws Exception { in answerViaInCallServiceAndVerify() argument
301 targetCall.answer(videoState); in answerViaInCallServiceAndVerify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java53 void onAnswer(CtsConnection connection, int videoState) { }; in onAnswer() argument
126 public void onAnswer(int videoState) { in onAnswer() argument
127 setVideoState(videoState); in onAnswer()
136 mListener.forEach(l -> l.onAnswer(CtsConnection.this, videoState)); in onAnswer()
DSelfManagedIncomingCallTestActivity.java68 void onAnswer(CtsConnection connection, int videoState) {
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConnection.java58 public int videoState = VideoProfile.STATE_AUDIO_ONLY; field in MockConnection
79 public void onAnswer(int videoState) { in onAnswer() argument
80 super.onAnswer(videoState); in onAnswer()
81 this.videoState = videoState; in onAnswer()
87 mInvokeCounterMap.get(ON_ANSWER_VIDEO_CALLED).invoke(videoState); in onAnswer()
DMockConference.java181 public void onAnswer(int videoState) { in onAnswer() argument
182 super.onAnswer(videoState); in onAnswer()
183 mVideoState = videoState; in onAnswer()
DTelecomCtsVoipCall.java73 public void onAnswer(int videoState, @NonNull Consumer<Boolean> wasCompleted) {
129 public void onVideoStateChanged(int videoState) { in onVideoStateChanged() argument
132 mVideoState = videoState; in onVideoStateChanged()
DBaseTelecomTestWithMockServices.java824 void placeAndVerifyCall(int videoState) { in placeAndVerifyCall() argument
825 placeAndVerifyCall(null, videoState); in placeAndVerifyCall()
840 void placeAndVerifyCall(Bundle extras, int videoState) { in placeAndVerifyCall() argument
844 placeAndVerifyCall(extras, videoState, currentCallCount + 1); in placeAndVerifyCall()
886 void placeAndVerifyCall(Bundle extras, int videoState, int expectedCallCount) { in placeAndVerifyCall() argument
888 placeNewCallWithPhoneAccount(extras, videoState); in placeAndVerifyCall()
1259 private void placeNewCallWithPhoneAccount(Bundle extras, int videoState) { in placeNewCallWithPhoneAccount() argument
1268 if (!VideoProfile.isAudioOnly(videoState)) { in placeNewCallWithPhoneAccount()
1269 extras.putInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in placeNewCallWithPhoneAccount()
1596 void assertVideoState(final Call call, final int videoState) {
[all …]
DTransactionalApisTest.java170 public void onAnswer(int videoState, @NonNull Consumer<Boolean> wasCompleted) {
599 private void waitUntilVideoStateIs(int videoState, TelecomCtsVoipCall call) { in waitUntilVideoStateIs() argument
604 return videoState; in waitUntilVideoStateIs()
1314 int videoState = AUDIO_CALL; in callControlAction() local
1316 videoState = (int) objects[0]; in callControlAction()
1318 call.mCallControl.answer(videoState, Runnable::run, outcome); in callControlAction()
DSelfManagedConnection.java75 public void onAnswer(int videoState) { in onAnswer() argument
DTestUtils.java779 Uri address, int videoState) { in placeOutgoingCall() argument
784 if (!VideoProfile.isAudioOnly(videoState)) { in placeOutgoingCall()
785 extras.putInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in placeOutgoingCall()
DRemoteConnectionTest.java596 public void onVideoStateChanged(RemoteConnection connection, int videoState) { in testRemoteConnectionCallbacks_VideoState()
597 super.onVideoStateChanged(connection, videoState); in testRemoteConnectionCallbacks_VideoState()
598 callbackInvoker.invoke(connection, videoState); in testRemoteConnectionCallbacks_VideoState()
DExtendedInCallServiceTest.java608 VideoProfile.STATE_BIDIRECTIONAL, connection.videoState); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/
DConnectionServiceCallController.java115 PhoneAccountHandle handle, String uri, int videoState) { in placeIncomingCall() argument
126 if (!VideoProfile.isAudioOnly(videoState)) { in placeIncomingCall()
127 extras.putInt(TelecomManager.EXTRA_INCOMING_VIDEO_STATE, videoState); in placeIncomingCall()
DCtsSelfManagedConnectionServiceControl.java110 public boolean placeIncomingCall(PhoneAccountHandle handle, String uri, int videoState) {
112 handle, uri, videoState);
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTestConnectionService.java79 public void onAnswer(int videoState) { in onAnswer() argument
80 super.onAnswer(videoState); in onAnswer()
/cts/tests/tests/telecom/aidl/android/telecom/cts/carmodetestapp/
DICtsCarModeInCallServiceControl.aidl42 void answerCall(int videoState); in answerCall() argument
/cts/tests/tests/telecom/aidl/android/telecom/cts/selfmanagedcstestapp/
DICtsSelfManagedConnectionServiceControl.aidl36 in String uri, in int videoState); in placeIncomingCall() argument
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/
DCtsCarModeInCallServiceControl.java168 public void answerCall(int videoState) {
169 CtsCarModeInCallService.getInstance().getLastCall().answer(videoState);
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/
DBaseAppVerifier.java251 public void answerViaInCallServiceAndVerify(String id, int videoState) throws Exception { in answerViaInCallServiceAndVerify() argument
252 mBaseAppVerifierImpl.answerViaInCallServiceAndVerify(id, videoState); in answerViaInCallServiceAndVerify()