Home
last modified time | relevance | path

Searched refs:getVideoState (Results 1 – 25 of 38) sorted by relevance

12

/packages/services/Telecomm/src/com/android/server/telecom/
DVideoProviderProxy.java160 VideoProfile.videoStateToString(videoProfile.getVideoState())); in receiveSessionModifyRequest()
164 videoProfile.getVideoState()); in receiveSessionModifyRequest()
168 && VideoProfile.isVideo(videoProfile.getVideoState())) { in receiveSessionModifyRequest()
212 (responseProfile != null ? responseProfile.getVideoState() : "null"); in receiveSessionModifyResponse()
220 responseProfile.getVideoState()); in receiveSessionModifyResponse()
440 VideoProfile.videoStateToString(toProfile.getVideoState())); in onSendSessionModifyRequest()
441 if (!VideoProfile.isVideo(fromProfile.getVideoState()) in onSendSessionModifyRequest()
442 && VideoProfile.isVideo(toProfile.getVideoState())) { in onSendSessionModifyRequest()
444 mCall.maybeEnableSpeakerForVideoUpgrade(toProfile.getVideoState()); in onSendSessionModifyRequest()
448 toProfile.getVideoState()); in onSendSessionModifyRequest()
[all …]
DCallAudioManager.java207 if (mCallsManager.isSpeakerphoneAutoEnabledForVideoCalls(call.getVideoState())) { in onExternalCallChanged()
254 int previousVideoState = call.getVideoState(); in onSessionModifyRequestReceived()
255 int newVideoState = videoProfile.getVideoState(); in onSessionModifyRequestReceived()
DConnectionServiceWrapper.java482 parcelableConference.getVideoState()) in addConferenceCall()
1209 .setVideoState(call.getVideoState()) in createConference()
1299 .setVideoState(call.getVideoState()) in createConnection()
1360 call.getVideoState(), in createConnectionFailed()
1406 call.getVideoState(), in createConferenceFailed()
1446 call.getVideoState(), in handoverFailed()
DCall.java826 getVideoStateDescription(getVideoState()), in toString()
1619 if (!mIsVideoCallingSupportedByPhoneAccount && VideoProfile.isVideo(getVideoState())) { in checkIfVideoCapable()
1976 setVideoState(conference.getVideoState()); in handleCreateConferenceSuccess()
2013 setVideoState(connection.getVideoState()); in handleCreateConnectionSuccess()
3310 public int getVideoState() { in getVideoState() method in Call
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java69 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in isAvailable()
97 return VideoProfile.isVideo(call.getDetails().getVideoState()); in isTransmittingOrReceiving()
150 int newVideoState = call.getDetails().getVideoState(); in onCallStateChanged()
180 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in upgradeToVideo()
210 .sendSessionModifyResponse(new VideoProfile(call.getDetails().getVideoState())); in declineVideoRequest()
217 return VideoProfile.isTransmissionEnabled(call.getDetails().getVideoState()); in isTransmitting()
226 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in stopTransmission()
239 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in resumeTransmission()
267 int pausedVideoState = call.getDetails().getVideoState() | VideoProfile.STATE_PAUSED; in pause()
301 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in unpause()
DImsVideoCallCallback.java62 int previousVideoState = ImsVideoTech.getUnpausedVideoState(call.getDetails().getVideoState()); in onSessionModifyRequestReceived()
63 int newVideoState = ImsVideoTech.getUnpausedVideoState(videoProfile.getVideoState()); in onSessionModifyRequestReceived()
163 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in getSessionModificationStateFromTelecomStatus()
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java229 cameraDir = toCameraDirection(call.getVideoState()); in updateCameraSelection()
242 cameraDir = toCameraDirection(call.getVideoState()); in updateCameraSelection()
254 cameraDir = toCameraDirection(call.getVideoState()); in updateCameraSelection()
427 primaryCall.getVideoState(), in onCameraPermissionGranted()
567 final boolean hasVideoStateChanged = currentVideoState != call.getVideoState(); in checkForVideoStateChange()
577 VideoProfile.videoStateToString(call.getVideoState())); in checkForVideoStateChange()
623 call.getVideoState(), in checkForCallStateChange()
664 currentVideoState = call.getVideoState(); in updateCallCache()
774 primaryCall.getVideoState(), primaryCall.getVideoTech().getSessionModificationState()); in isCameraRequired()
785 int newVideoState = call.getVideoState(); in adjustVideoMode()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallNotifierTest.java73 when(mAudioCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp()
75 when(mVideoCall.getVideoState()).thenReturn(VideoProfile.STATE_BIDIRECTIONAL); in setUp()
80 when(mRingingCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp()
DVideoProviderTest.java461 fromVideoProfileCaptor.getValue().getVideoState()); in testSessionModifyRequest()
463 toVideoProfileCaptor.getValue().getVideoState()); in testSessionModifyRequest()
482 … return response != null && response.getVideoState() == VideoProfile.STATE_TX_ENABLED; in testSessionModifyResponse()
566 requestProfileCaptor.getValue().getVideoState()); in testReceiveSessionModifyRequest()
DVideoProviderProxyTest.java103 assertEquals(VideoProfile.STATE_AUDIO_ONLY, capturedProfile.getValue().getVideoState()); in testReceiveUpgradeRequestWhenLocalDoesntSupportVideo()
126 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, capturedProfile.getValue().getVideoState()); in testReceiveUpgradeRequestWhenVideoIsSupported()
DConnectionServiceFixture.java87 mLatestConnection = new FakeConnection(request.getVideoState(), request.getAddress()); in onCreateUnknownConnection()
95 mVideoState == INVALID_VIDEO_STATE ? request.getVideoState() : mVideoState, in onCreateIncomingConnection()
111 FakeConnection fakeConnection = new FakeConnection(request.getVideoState(), in onCreateOutgoingConnection()
241 c.videoState = request.getVideoState(); in createConnection()
DBasicCallTests.java945 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountVideo()
950 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountVideo()
968 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountNoVideo()
973 assertEquals(VideoProfile.STATE_AUDIO_ONLY, call.getVideoState()); in testOutgoingCallSelectPhoneAccountNoVideo()
DAnalyticsTests.java275 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[0].getVideoState()); in testAnalyticsVideo()
280 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[1].getVideoState()); in testAnalyticsVideo()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorVideoProvider.java103 Integer.toString(fromProfile.getVideoState()), in onSendSessionModifyRequest()
104 Integer.toString(toProfile.getVideoState()))); in onSendSessionModifyRequest()
DSimulatorConnection.java179 setVideoState(toProfile.getVideoState()); in handleSessionModifyRequest()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedConnectionService.java99 connection.setVideoState(request.getVideoState()); in createSelfManagedConnection()
139 connection.setVideoState(request.getVideoState()); in createSelfManagedConnection()
DTestCallList.java61 "onSessionModifyRequestReceived: videoState = " + videoProfile.getVideoState() in onSessionModifyRequestReceived()
70 + responseProfile.getVideoState() in onSessionModifyResponseReceived()
DTestVideoProvider.java157 requestProfile.getVideoState(), requestProfile.getQuality()); in onSendSessionModifyRequest()
158 mConnection.setVideoState(requestProfile.getVideoState()); in onSendSessionModifyRequest()
DTestConnectionService.java403 originalRequest.getVideoState());
404 connection.setVideoState(originalRequest.getVideoState());
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeCallList.java61 "onSessionModifyRequestReceived: videoState = " + videoProfile.getVideoState() in onSessionModifyRequestReceived()
70 + responseProfile.getVideoState() in onSessionModifyResponseReceived()
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java562 public int getVideoState() { in getVideoState() method in ImsConference
564 return mConferenceHost.getVideoState(); in getVideoState()
1003 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
1023 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
DTelephonyConnectionService.java557 .setVideoState(request.getVideoState()) in placeOutgoingConference()
595 connection.getVideoState()); in prepareConference()
1125 if (VideoProfile.isVideo(request.getVideoState()) && isTtyModeEnabled in getTelephonyConnection()
1160 connection.setTelephonyVideoState(request.getVideoState()); in getTelephonyConnection()
1457 int videoState = unknownConnection != null ? unknownConnection.getVideoState() : in onCreateUnknownConnection()
1629 int videoState = c.getVideoState(); in retryOutgoingOriginalConnection()
1653 placeOutgoingConnection(connection, phone, request.getVideoState(), request.getExtras()); in placeOutgoingConnection()
1701 && VideoProfile.isVideo(c.getVideoState()) in placeOutgoingConnection()
DConferenceParticipantConnection.java76 setVideoState(parentConnection.getVideoState()); in ConferenceParticipantConnection()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java218 boolean isIncomingVideo = VideoProfile.isVideo(incomingCall.getVideoState()); in getNotificationBuilder()
220 VideoProfile.isVideo(ongoingCall.getVideoState()) : false; in getNotificationBuilder()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java1066 public int getVideoState() { in getVideoState() method in DialerCall
1067 return telecomCall.getDetails().getVideoState(); in getVideoState()
1071 return getVideoTech().isTransmittingOrReceiving() || VideoProfile.isVideo(getVideoState()); in isVideoCall()
1262 VideoProfile.videoStateToString(telecomCall.getDetails().getVideoState()), in toString()
1470 answer(telecomCall.getDetails().getVideoState()); in answer()

12