Searched refs:getVideoState (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DVideoUtils.java28 return call != null && isVideoCall(call.getVideoState());
45 return VideoProfile.isBidirectional(call.getVideoState());
53 return VideoProfile.isTransmissionEnabled(call.getVideoState());
82 return call != null && VideoProfile.isAudioOnly(call.getVideoState());
92 Preconditions.checkState(!VideoProfile.isAudioOnly(call.getVideoState()));
93 return new VideoProfile(getPausedVideoState(call.getVideoState()));
98 return new VideoProfile(getUnPausedVideoState(call.getVideoState()));
H A DInCallVideoCallCallback.java52 int previousVideoState = VideoUtils.getUnPausedVideoState(mCall.getVideoState());
53 int newVideoState = VideoUtils.getUnPausedVideoState(videoProfile.getVideoState());
H A DVideoPauseController.java47 mVideoState = call.getVideoState();
54 public int getVideoState() { method in class:VideoPauseController.CallContext
198 (call != null && VideoProfile.isPaused(call.getVideoState())))
359 return callContext != null && VideoUtils.isVideoCall(callContext.getVideoState());
H A DCall.java464 maybeCancelVideoUpgrade(mTelecomCall.getDetails().getVideoState());
801 public int getVideoState() { method in class:Call
802 return mTelecomCall.getDetails().getVideoState();
807 VideoUtils.isVideoCall(getVideoState());
822 if (videoState == getVideoState()) {
972 VideoProfile.videoStateToString(mTelecomCall.getDetails().getVideoState()),
H A DVideoCallPresenter.java491 final boolean hasVideoStateChanged = mCurrentVideoState != call.getVideoState();
497 + VideoProfile.videoStateToString(call.getVideoState()));
538 showVideoUi(call.getVideoState(), call.getState());
582 mCurrentVideoState = call.getVideoState();
673 return mPrimaryCall != null && isCameraRequired(mPrimaryCall.getVideoState());
684 int newVideoState = call.getVideoState();
1153 cameraDir = toCameraDirection(call.getVideoState());
1166 cameraDir = toCameraDirection(call.getVideoState());
1178 cameraDir = toCameraDirection(call.getVideoState());
H A DCallButtonPresenter.java279 int currVideoState = mCall.getVideoState();
325 final int currUnpausedVideoState = VideoUtils.getUnPausedVideoState(mCall.getVideoState());
H A DAnswerPresenter.java180 final int currentVideoState = call.getVideoState();
H A DCallCardPresenter.java435 mPrimary.getVideoState(),
618 mPrimary.getVideoState(), mPrimary.getState());
759 .showIncomingVideo(mPrimary.getVideoState(), mPrimary.getState());
/packages/services/Telecomm/src/com/android/server/telecom/
H A DVideoProviderProxy.java133 VideoProfile.videoStateToString(videoProfile.getVideoState()));
137 videoProfile.getVideoState());
140 VideoProfile.isVideo(videoProfile.getVideoState())) {
184 (responseProfile != null ? responseProfile.getVideoState() : "null");
192 responseProfile.getVideoState());
375 VideoProfile.videoStateToString(toProfile.getVideoState()));
378 toProfile.getVideoState());
397 VideoProfile.videoStateToString(responseProfile.getVideoState()));
400 responseProfile.getVideoState());
H A DCallAudioManager.java188 if (mCallsManager.isSpeakerphoneAutoEnabledForVideoCalls(call.getVideoState())) {
251 int previousVideoState = call.getVideoState();
252 int newVideoState = videoProfile.getVideoState();
H A DParcelableCallUtils.java175 call.getVideoState(),
H A DCall.java549 getVideoStateDescription(getVideoState()),
1217 setVideoState(connection.getVideoState());
2011 public int getVideoState() { method in class:Call
H A DCallsManager.java600 int videoState = videoProfile != null ? videoProfile.getVideoState() :
671 if (VideoProfile.isVideo(call.getVideoState())) {
1700 call.setVideoState(parcelableConference.getVideoState());
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DTestCallList.java55 "onSessionModifyRequestReceived: videoState = " + videoProfile.getVideoState()
64 + responseProfile.getVideoState()
H A DTestVideoProvider.java157 requestProfile.getVideoState(), requestProfile.getQuality());
158 mConnection.setVideoState(requestProfile.getVideoState());
H A DTestConnectionService.java329 originalRequest.getVideoState());
330 connection.setVideoState(originalRequest.getVideoState());
H A DTestConnectionManager.java137 setVideoState(mRemote.getVideoState());
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DVideoProviderTest.java290 fromVideoProfileCaptor.getValue().getVideoState());
292 toVideoProfileCaptor.getValue().getVideoState());
310 return response != null && response.getVideoState() == VideoProfile.STATE_TX_ENABLED;
390 requestProfileCaptor.getValue().getVideoState());
H A DConnectionServiceFixture.java81 mLatestConnection = new FakeConnection(request.getVideoState(), request.getAddress());
89 mVideoState == INVALID_VIDEO_STATE ? request.getVideoState() : mVideoState,
105 FakeConnection fakeConnection = new FakeConnection(request.getVideoState(),
230 c.videoState = request.getVideoState();
H A DAnalyticsTests.java227 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[0].getVideoState());
232 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[1].getVideoState());
H A DTelecomServiceImplTest.java890 when(call.getVideoState()).thenReturn(fakeVideoState);
904 when(call.getVideoState()).thenReturn(fakeVideoState);
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelephonyConnectionService.java470 if (VideoProfile.isVideo(request.getVideoState()) && isTtyModeEnabled(context) &&
493 request.getTelecomCallId(), request.getAddress(), request.getVideoState());
502 connection.setVideoState(request.getVideoState());
549 int videoState = originalConnection != null ? originalConnection.getVideoState() :
654 int videoState = unknownConnection != null ? unknownConnection.getVideoState() :
776 int videoState = c.getVideoState();
792 placeOutgoingConnection(connection, phone, request.getVideoState(), request.getExtras());
H A DImsConference.java388 public int getVideoState() { method in class:ImsConference
390 return mConferenceHost.getVideoState();
H A DTelephonyConnection.java825 setVideoState(mOriginalConnection.getVideoState());
956 boolean isVideoCall = VideoProfile.isVideo(getVideoState());
1689 boolean isVideoCall = VideoProfile.isVideo(getVideoState());
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
H A DSipConnectionService.java261 phone.dial(number, request.getVideoState());

Completed in 249 milliseconds

12