Home
last modified time | relevance | path

Searched refs:getVideoState (Results 1 – 25 of 39) 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.java207 if (mCallsManager.isSpeakerphoneAutoEnabledForVideoCalls(call.getVideoState())) { in onExternalCallChanged()
254 int previousVideoState = call.getVideoState(); in onSessionModifyRequestReceived()
255 int newVideoState = videoProfile.getVideoState(); in onSessionModifyRequestReceived()
DConnectionServiceWrapper.java493 parcelableConference.getVideoState()) in addConferenceCall()
1224 .setVideoState(call.getVideoState()) in createConference()
1323 .setVideoState(call.getVideoState()) in createConnection()
1385 call.getVideoState(), in createConnectionFailed()
1431 call.getVideoState(), in createConferenceFailed()
1471 call.getVideoState(), in handoverFailed()
/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.java88 mLatestConnection = new FakeConnection(request.getVideoState(), request.getAddress()); in onCreateUnknownConnection()
96 mVideoState == INVALID_VIDEO_STATE ? request.getVideoState() : mVideoState, in onCreateIncomingConnection()
112 FakeConnection fakeConnection = new FakeConnection(request.getVideoState(), in onCreateOutgoingConnection()
242 c.videoState = request.getVideoState(); in createConnection()
DBasicCallTests.java966 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountVideo()
971 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountVideo()
989 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountNoVideo()
994 assertEquals(VideoProfile.STATE_AUDIO_ONLY, call.getVideoState()); in testOutgoingCallSelectPhoneAccountNoVideo()
DAnalyticsTests.java286 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[0].getVideoState()); in testAnalyticsVideo()
291 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/apps/Bluetooth/src/com/android/bluetooth/telephony/
DBluetoothCall.java254 public int getVideoState() { in getVideoState() method in BluetoothCall
255 return mCall.getDetails().getVideoState(); in getVideoState()
/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/services/Telephony/src/com/android/services/telephony/
DImsConference.java563 public int getVideoState() { in getVideoState() method in ImsConference
565 return mConferenceHost.getVideoState(); in getVideoState()
1010 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
1030 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
DTelephonyConnectionService.java526 .setVideoState(request.getVideoState()) in placeOutgoingConference()
564 connection.getVideoState()); in prepareConference()
1101 if (VideoProfile.isVideo(request.getVideoState()) && isTtyModeEnabled in getTelephonyConnection()
1136 connection.setTelephonyVideoState(request.getVideoState()); in getTelephonyConnection()
1446 int videoState = unknownConnection != null ? unknownConnection.getVideoState() : in onCreateUnknownConnection()
1633 int videoState = c.getVideoState(); in retryOutgoingOriginalConnection()
1657 placeOutgoingConnection(connection, phone, request.getVideoState(), request.getExtras()); in placeOutgoingConnection()
1720 && VideoProfile.isVideo(c.getVideoState()) in placeOutgoingConnection()
DConferenceParticipantConnection.java76 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