Home
last modified time | relevance | path

Searched refs:videoState (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/InCallUI/src/com/android/incallui/
DVideoCallPresenter.java637 private static boolean isCameraRequired(int videoState) { in isCameraRequired() argument
638 return VideoProfile.isBidirectional(videoState) || in isCameraRequired()
639 VideoProfile.isTransmissionEnabled(videoState); in isCameraRequired()
767 private void showVideoUi(int videoState, int callState) { in showVideoUi() argument
773 boolean isPaused = VideoProfile.isPaused(videoState); in showVideoUi()
775 if (VideoProfile.isBidirectional(videoState)) { in showVideoUi()
777 } else if (VideoProfile.isTransmissionEnabled(videoState)) { in showVideoUi()
779 } else if (VideoProfile.isReceptionEnabled(videoState)) { in showVideoUi()
787 VideoProfile.isAudioOnly(videoState)); in showVideoUi()
964 public void onUpgradeToVideoRequest(Call call, int videoState) { in onUpgradeToVideoRequest() argument
[all …]
DCallUtils.java41 public static boolean isVideoCall(int videoState) { in isVideoCall() argument
42 return VideoProfile.isTransmissionEnabled(videoState) in isVideoCall()
43 || VideoProfile.isReceptionEnabled(videoState); in isVideoCall()
87 public static int getUnPausedVideoState(int videoState) { in getUnPausedVideoState() argument
88 return videoState & (~VideoProfile.STATE_PAUSED); in getUnPausedVideoState()
91 public static int getPausedVideoState(int videoState) { in getPausedVideoState() argument
92 return videoState | VideoProfile.STATE_PAUSED; in getPausedVideoState()
DAnswerPresenter.java200 private boolean isEnabled(int videoState, int mask) { in isEnabled() argument
201 return (videoState & mask) == mask; in isEnabled()
230 public void onAnswer(int videoState, Context context) { in onAnswer() argument
237 Log.d(this, "onAnswer (upgradeCall) mCallId=" + mCallId + " videoState=" + videoState); in onAnswer()
238 InCallPresenter.getInstance().acceptUpgradeRequest(videoState, context); in onAnswer()
240 Log.d(this, "onAnswer (answerCall) mCallId=" + mCallId + " videoState=" + videoState); in onAnswer()
241 TelecomAdapter.getInstance().answerCall(mCall.getId(), videoState); in onAnswer() local
308 public void showTargets(int targetSet, int videoState); in showTargets() argument
DAnswerFragment.java134 public void showTargets(int targetSet, int videoState) { in showTargets() argument
139 mGlowpad.setVideoState(videoState); in showTargets()
356 public void onAnswer(int videoState, Context context) { in onAnswer() argument
357 Log.d(this, "onAnswer videoState=" + videoState + " context=" + context); in onAnswer()
358 getPresenter().onAnswer(videoState, context); in onAnswer()
DInCallVideoCallCallbackNotifier.java130 public void upgradeToVideoRequest(Call call, int videoState) { in upgradeToVideoRequest() argument
131 Log.d(this, "upgradeToVideoRequest call = " + call + " new video state = " + videoState); in upgradeToVideoRequest()
133 listener.onUpgradeToVideoRequest(call, videoState); in upgradeToVideoRequest()
253 public void onUpgradeToVideoRequest(Call call, int videoState); in onUpgradeToVideoRequest() argument
DCall.java601 public void setSessionModificationTo(int videoState) { in setSessionModificationTo() argument
602 Log.d(this, "setSessionModificationTo - video state= " + videoState); in setSessionModificationTo()
603 if (videoState == getVideoState()) { in setSessionModificationTo()
609 setModifyToVideoState(videoState); in setSessionModificationTo()
614 + mSessionModificationState + " video state= " + videoState); in setSessionModificationTo()
DCallCardFragment.java543 int videoState, in setCallState() argument
552 CallStateLabel callStateLabel = getCallStateLabelFromState(state, videoState, in setCallState()
619 if (CallUtils.isVideoCall(videoState) in setCallState()
782 private CallStateLabel getCallStateLabelFromState(int state, int videoState, in getCallStateLabelFromState() argument
815 } else if (CallUtils.isVideoCall(videoState)) { in getCallStateLabelFromState()
839 } else if (VideoProfile.isTransmissionEnabled(videoState) || in getCallStateLabelFromState()
840 VideoProfile.isReceptionEnabled(videoState)) { in getCallStateLabelFromState()
DGlowPadWrapper.java161 public void setVideoState(int videoState) { in setVideoState() argument
162 mVideoState = videoState; in setVideoState()
166 void onAnswer(int videoState, Context context); in onAnswer() argument
DInCallPresenter.java682 public void answerIncomingCall(Context context, int videoState) { in answerIncomingCall() argument
692 TelecomAdapter.getInstance().answerCall(call.getId(), videoState); in answerIncomingCall() local
714 public void acceptUpgradeRequest(int videoState, Context context) { in acceptUpgradeRequest() argument
715 Log.d(this, " acceptUpgradeRequest videoState " + videoState); in acceptUpgradeRequest()
725 VideoProfile videoProfile = new VideoProfile(videoState); in acceptUpgradeRequest()
DTelecomAdapter.java61 void answerCall(String callId, int videoState) { in answerCall() argument
64 call.answer(videoState); in answerCall()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCallList.java132 public void sendUpgradeToVideoRequest(int videoState) { in sendUpgradeToVideoRequest() argument
133 Log.v(TAG, "sendUpgradeToVideoRequest : videoState = " + videoState); in sendUpgradeToVideoRequest()
143 videoCall.sendSessionModifyRequest(new VideoProfile(videoState)); in sendUpgradeToVideoRequest()
153 public void sendUpgradeToVideoResponse(int videoState) { in sendUpgradeToVideoResponse() argument
154 Log.v(TAG, "sendUpgradeToVideoResponse : videoState = " + videoState); in sendUpgradeToVideoResponse()
163 videoCall.sendSessionModifyResponse(new VideoProfile(videoState)); in sendUpgradeToVideoResponse()
DTestConnectionService.java198 public void onAnswer(int videoState) { in onAnswer() argument
199 setVideoState(videoState); in onAnswer()
361 int videoState = isVideoCall ? in onCreateIncomingConnection() local
364 connection.setVideoState(videoState); in onCreateIncomingConnection()
393 videoState); in onCreateIncomingConnection()
394 connection.setVideoState(videoState); in onCreateIncomingConnection()
DTestInCallServiceBroadcastReceiver.java54 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); in onReceive() local
55 TestCallList.getInstance().sendUpgradeToVideoRequest(videoState); in onReceive()
57 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); in onReceive() local
58 TestCallList.getInstance().sendUpgradeToVideoResponse(videoState); in onReceive()
DTestConnectionManager.java84 public void onVideoStateChanged(RemoteConnection connection, int videoState) {
85 if (videoState == VideoProfile.STATE_BIDIRECTIONAL) {
88 setVideoState(videoState);
141 public void onAnswer(int videoState) { in onAnswer() argument
142 mRemote.answer(videoState); in onAnswer()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallIntentProcessor.java121 int videoState = intent.getIntExtra( in processOutgoingCallIntent() local
124 Log.d(this, "processOutgoingCallIntent videoState = " + videoState); in processOutgoingCallIntent()
126 if (VideoProfile.isVideo(videoState) in processOutgoingCallIntent()
129 videoState = VideoProfile.STATE_AUDIO_ONLY; in processOutgoingCallIntent()
131 videoState); in processOutgoingCallIntent()
134 if (VideoProfile.isVideo(videoState) && isTtyModeEnabled()) { in processOutgoingCallIntent()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFixture.java101 public void answerVideo(String callId, int videoState) throws RemoteException { } in answerVideo() argument
174 int videoState; field in ConnectionServiceFixture.ConnectionInfo
185 int videoState; field in ConnectionServiceFixture.ConferenceInfo
327 a.setVideoState(id, mConnectionById.get(id).videoState); in sendSetVideoState()
380 c.videoState, in parcelable()
396 c.videoState, in parcelable()
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java459 private String getVideoStateDescription(int videoState) { in getVideoStateDescription() argument
463 if (VideoProfile.isTransmissionEnabled(videoState)) { in getVideoStateDescription()
467 if (VideoProfile.isReceptionEnabled(videoState)) { in getVideoStateDescription()
471 if (VideoProfile.isPaused(videoState)) { in getVideoStateDescription()
1059 void answer(int videoState) { in answer() argument
1069 mConnectionService.answer(this, videoState); in answer()
1585 public void setVideoState(int videoState) { in setVideoState() argument
1594 mVideoStateHistory = mVideoStateHistory | videoState; in setVideoState()
1597 mVideoState = videoState; in setVideoState()
DConnectionServiceWrapper.java435 public void setVideoState(String callId, int videoState) { in setVideoState() argument
439 logIncoming("setVideoState %s %d", callId, videoState); in setVideoState()
444 call.setVideoState(videoState); in setVideoState()
761 void answer(Call call, int videoState) { in answer() argument
765 logOutgoing("answer %s %d", callId, videoState); in answer()
766 if (VideoProfile.isAudioOnly(videoState)) { in answer()
769 mServiceInterface.answerVideo(callId, videoState); in answer()
DCallsManager.java408 int videoState = videoProfile != null ? videoProfile.getVideoState() : in onSessionModifyRequestReceived() local
411 .videoStateToString(videoState)); in onSessionModifyRequestReceived()
691 int videoState) { in placeOutgoingCall() argument
709 call.setVideoState(videoState); in placeOutgoingCall()
748 void answerCall(Call call, int videoState) { in answerCall() argument
788 call.answer(videoState); in answerCall()
789 if (VideoProfile.isVideo(videoState) && in answerCall()
DInCallAdapter.java43 public void answerCall(String callId, int videoState) { in answerCall() argument
47 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall()
51 mCallsManager.answerCall(call, videoState); in answerCall()
DCallLogManager.java209 private static int getCallFeatures(int videoState) { in getCallFeatures() argument
210 if (VideoProfile.isVideo(videoState)) { in getCallFeatures()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java187 public void onVideoStateChanged(int videoState) {
188 setVideoState(videoState);
421 public void onAnswer(int videoState) { in onAnswer() argument
425 getPhone().acceptCall(videoState); in onAnswer()
DImsConference.java161 public void onVideoStateChanged(android.telecom.Connection c, int videoState) {
162 Log.d(this, "onVideoStateChanged video state %d", videoState);
163 setVideoState(c, videoState);
/packages/apps/Dialer/src/com/android/dialer/util/
DIntentUtil.java135 Uri uri, String callOrigin, PhoneAccountHandle accountHandle, int videoState) { in getCallIntent() argument
137 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in getCallIntent()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java172 public void onAnswer(int videoState) { in onAnswer() argument
176 getPhone().acceptCall(videoState); in onAnswer()

12