Home
last modified time | relevance | path

Searched refs:getVideoState (Results 1 – 25 of 37) 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.java199 if (mCallsManager.isSpeakerphoneAutoEnabledForVideoCalls(call.getVideoState())) { in onExternalCallChanged()
246 int previousVideoState = call.getVideoState(); in onSessionModifyRequestReceived()
247 int newVideoState = videoProfile.getVideoState(); in onSessionModifyRequestReceived()
DTelecomBroadcastIntentProcessor.java145 mCallsManager.answerCall(incomingCall, incomingCall.getVideoState()); in processIntent()
DCall.java730 getVideoStateDescription(getVideoState()), in toString()
1413 if (!mIsVideoCallingSupportedByPhoneAccount && VideoProfile.isVideo(getVideoState())) { in checkIfVideoCapable()
1752 setVideoState(connection.getVideoState()); in handleCreateConnectionSuccess()
2847 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()
238 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in resumeTransmission()
266 int pausedVideoState = call.getDetails().getVideoState() | VideoProfile.STATE_PAUSED; in pause()
300 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()
157 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()
416 primaryCall.getVideoState(), in onCameraPermissionGranted()
551 final boolean hasVideoStateChanged = currentVideoState != call.getVideoState(); in checkForVideoStateChange()
561 VideoProfile.videoStateToString(call.getVideoState())); in checkForVideoStateChange()
607 call.getVideoState(), in checkForCallStateChange()
648 currentVideoState = call.getVideoState(); in updateCallCache()
758 primaryCall.getVideoState(), primaryCall.getVideoTech().getSessionModificationState()); in isCameraRequired()
769 int newVideoState = call.getVideoState(); in adjustVideoMode()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallNotifierTest.java72 when(mAudioCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp()
74 when(mVideoCall.getVideoState()).thenReturn(VideoProfile.STATE_BIDIRECTIONAL); in setUp()
79 when(mRingingCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp()
DVideoProviderTest.java452 fromVideoProfileCaptor.getValue().getVideoState()); in testSessionModifyRequest()
454 toVideoProfileCaptor.getValue().getVideoState()); in testSessionModifyRequest()
473 … return response != null && response.getVideoState() == VideoProfile.STATE_TX_ENABLED; in testSessionModifyResponse()
557 requestProfileCaptor.getValue().getVideoState()); in testReceiveSessionModifyRequest()
DVideoProviderProxyTest.java96 assertEquals(VideoProfile.STATE_AUDIO_ONLY, capturedProfile.getValue().getVideoState()); in testReceiveUpgradeRequestWhenLocalDoesntSupportVideo()
119 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.java929 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountVideo()
934 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountVideo()
952 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountNoVideo()
957 assertEquals(VideoProfile.STATE_AUDIO_ONLY, call.getVideoState()); in testOutgoingCallSelectPhoneAccountNoVideo()
DAnalyticsTests.java265 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[0].getVideoState()); in testAnalyticsVideo()
270 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.java417 originalRequest.getVideoState());
418 connection.setVideoState(originalRequest.getVideoState());
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java784 if (VideoProfile.isVideo(request.getVideoState()) && isTtyModeEnabled in getTelephonyConnection()
809 request.getTelecomCallId(), request.getAddress(), request.getVideoState()); in getTelephonyConnection()
819 connection.setVideoState(request.getVideoState()); in getTelephonyConnection()
870 int videoState = originalConnection != null ? originalConnection.getVideoState() : in onCreateIncomingConnection()
1025 int videoState = unknownConnection != null ? unknownConnection.getVideoState() : in onCreateUnknownConnection()
1198 int videoState = c.getVideoState(); in retryOutgoingOriginalConnection()
1224 placeOutgoingConnection(connection, phone, request.getVideoState(), request.getExtras()); in placeOutgoingConnection()
DImsConference.java433 public int getVideoState() { in getVideoState() method in ImsConference
435 return mConferenceHost.getVideoState(); in getVideoState()
789 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
802 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
DConferenceParticipantConnection.java76 setVideoState(parentConnection.getVideoState()); in ConferenceParticipantConnection()
DTelephonyConnection.java1168 setVideoState(mOriginalConnection.getVideoState()); in setOriginalConnection()
1305 boolean isVideoCall = VideoProfile.isVideo(getVideoState()); in hasHighDefAudioProperty()
2192 boolean isVideoCall = VideoProfile.isVideo(getVideoState()); in refreshConferenceSupported()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java209 boolean isIncomingVideo = VideoProfile.isVideo(incomingCall.getVideoState()); in getNotificationBuilder()
211 VideoProfile.isVideo(ongoingCall.getVideoState()) : false; in getNotificationBuilder()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java1061 public int getVideoState() { in getVideoState() method in DialerCall
1062 return telecomCall.getDetails().getVideoState(); in getVideoState()
1066 return getVideoTech().isTransmittingOrReceiving() || VideoProfile.isVideo(getVideoState()); in isVideoCall()
1257 VideoProfile.videoStateToString(telecomCall.getDetails().getVideoState()), in toString()
1465 answer(telecomCall.getDetails().getVideoState()); in answer()

12