Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/src/com/android/server/telecom/
DVideoProviderProxy.java161 VideoProfile.videoStateToString(videoProfile.getVideoState())); in receiveSessionModifyRequest()
165 videoProfile.getVideoState()); in receiveSessionModifyRequest()
169 && VideoProfile.isVideo(videoProfile.getVideoState())) { in receiveSessionModifyRequest()
213 (responseProfile != null ? responseProfile.getVideoState() : "null"); in receiveSessionModifyResponse()
221 responseProfile.getVideoState()); in receiveSessionModifyResponse()
447 VideoProfile.videoStateToString(toProfile.getVideoState())); in onSendSessionModifyRequest()
448 if (!VideoProfile.isVideo(fromProfile.getVideoState()) in onSendSessionModifyRequest()
449 && VideoProfile.isVideo(toProfile.getVideoState())) { in onSendSessionModifyRequest()
451 mCall.maybeEnableSpeakerForVideoUpgrade(toProfile.getVideoState()); in onSendSessionModifyRequest()
455 toProfile.getVideoState()); in onSendSessionModifyRequest()
[all …]
DCallAudioManager.java240 if (mCallsManager.isSpeakerphoneAutoEnabledForVideoCalls(call.getVideoState())) { in onExternalCallChanged()
317 int previousVideoState = call.getVideoState(); in onSessionModifyRequestReceived()
318 int newVideoState = videoProfile.getVideoState(); in onSessionModifyRequestReceived()
DConnectionServiceWrapper.java584 parcelableConference.getVideoState()) in addConferenceCall()
1076 connection.getVideoState(), in addExistingConnection()
1639 .setVideoState(call.getVideoState()) in createConference()
1786 .setVideoState(call.getVideoState()) in createConnection()
1897 call.getVideoState(), in createConnectionFailed()
1943 call.getVideoState(), in createConferenceFailed()
1983 call.getVideoState(), in handoverFailed()
DTelecomBroadcastIntentProcessor.java187 mCallsManager.answerCall(incomingCall, incomingCall.getVideoState(), in processIntent()
/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.java74 when(mAudioCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp()
78 when(mVideoCall.getVideoState()).thenReturn(VideoProfile.STATE_BIDIRECTIONAL); in setUp()
83 when(mRingingCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp()
DVideoProviderProxyTest.java104 assertEquals(VideoProfile.STATE_AUDIO_ONLY, capturedProfile.getValue().getVideoState()); in testReceiveUpgradeRequestWhenLocalDoesntSupportVideo()
127 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, capturedProfile.getValue().getVideoState()); in testReceiveUpgradeRequestWhenVideoIsSupported()
DVideoProviderTest.java458 fromVideoProfileCaptor.getValue().getVideoState()); in testSessionModifyRequest()
460 toVideoProfileCaptor.getValue().getVideoState()); in testSessionModifyRequest()
479 … return response != null && response.getVideoState() == VideoProfile.STATE_TX_ENABLED; in testSessionModifyResponse()
563 requestProfileCaptor.getValue().getVideoState()); in testReceiveSessionModifyRequest()
DCallTest.java199 assertEquals(VideoProfile.STATE_AUDIO_ONLY, call.getVideoState()); in testSetVideoStateForTransactionalCalls()
206 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testSetVideoStateForTransactionalCalls()
227 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testToggleTransactionalVideoState()
231 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testToggleTransactionalVideoState()
235 assertEquals(VideoProfile.STATE_AUDIO_ONLY, call.getVideoState()); in testToggleTransactionalVideoState()
239 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testToggleTransactionalVideoState()
867 assertEquals(VideoProfile.STATE_AUDIO_ONLY, call.getVideoState()); in testHandleCreateConferenceSuccess()
DConnectionServiceFixture.java92 mLatestConnection = new FakeConnection(request.getVideoState(), request.getAddress()); in onCreateUnknownConnection()
100 mVideoState == INVALID_VIDEO_STATE ? request.getVideoState() : mVideoState, in onCreateIncomingConnection()
121 FakeConnection fakeConnection = new FakeConnection(request.getVideoState(), in onCreateOutgoingConnection()
262 c.videoState = request.getVideoState(); in createConnection()
DAnalyticsTests.java289 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[0].getVideoState()); in testAnalyticsVideo()
294 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.java100 connection.setVideoState(request.getVideoState()); in createSelfManagedConnection()
142 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/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothCall.java262 public int getVideoState() { in getVideoState() method in BluetoothCall
263 return mCall.getDetails().getVideoState(); in getVideoState()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java223 boolean isIncomingVideo = VideoProfile.isVideo(incomingCall.getVideoState()); in getNotificationBuilder()
225 VideoProfile.isVideo(ongoingCall.getVideoState()) : false; in getNotificationBuilder()
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java574 public int getVideoState() { in getVideoState() method in ImsConference
576 return mConferenceHost.getVideoState(); in getVideoState()
1052 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
1072 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
DConferenceParticipantConnection.java96 setVideoState(parentConnection.getVideoState()); in ConferenceParticipantConnection()
/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