/frameworks/base/telecomm/java/android/telecom/ |
VideoProfile.java | 62 * if (videoState == VideoProfile.STATE_AUDIO_ONLY) { 73 * if (VideoProfile.isAudioOnly(videoState)) { 108 * @param videoState The video state. 110 public VideoProfile(int videoState) { 111 this(videoState, QUALITY_DEFAULT); 117 * @param videoState The video state. 120 public VideoProfile(int videoState, int quality) { 121 mVideoState = videoState; 200 sb.append("[VideoProfile videoState = "); 211 * @param videoState The video state [all...] |
ParcelableConference.java | 50 int videoState, 60 mVideoState = videoState; 79 .append(", VideoState: ") 134 int videoState = source.readInt(); 139 videoCallProvider, videoState, connectTimeMillis, statusHints, extras);
|
ConnectionRequest.java | 52 * @param videoState Determines the video state for the connection. 58 int videoState) { 62 mVideoState = videoState;
|
InCallAdapter.java | 50 * @param videoState The video state in which to answer the call. 52 public void answerCall(String callId, int videoState) { 54 mAdapter.answerCall(callId, videoState);
|
ParcelableCall.java | 79 int videoState, 101 mVideoState = videoState; 289 int videoState = source.readInt(); 313 videoState,
|
ParcelableConnection.java | 63 int videoState, 79 mVideoState = videoState; 183 int videoState = source.readInt(); 202 videoState,
|
Conference.java | 54 public void onVideoStateChanged(Conference c, int videoState) { } 409 * @param videoState The new video state. 411 public final void setVideoState(Connection c, int videoState) { 412 Log.d(this, "setVideoState Conference: %s Connection: %s VideoState: %s", 413 this, c, videoState); 415 l.onVideoStateChanged(this, videoState); 425 Log.d(this, "setVideoProvider Conference: %s Connection: %s VideoState: %s", 588 "[State: %s,Capabilites: %s, VideoState: %s, VideoProvider: %s, ThisObject %s]",
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestInCallServiceBroadcastReceiver.java | 54 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); 55 TestCallList.getInstance().sendUpgradeToVideoRequest(videoState); 57 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); 58 TestCallList.getInstance().sendUpgradeToVideoResponse(videoState);
|
TestCallList.java | 47 "onSessionModifyRequestReceived: videoState = " + videoProfile.getVideoState() 55 "onSessionModifyResponseReceived: status = " + status + " videoState = " 132 public void sendUpgradeToVideoRequest(int videoState) { 133 Log.v(TAG, "sendUpgradeToVideoRequest : videoState = " + videoState); 143 videoCall.sendSessionModifyRequest(new VideoProfile(videoState)); 151 * @param videoState The video state to respond with. 153 public void sendUpgradeToVideoResponse(int videoState) { 154 Log.v(TAG, "sendUpgradeToVideoResponse : videoState = " + videoState); [all...] |
TestConnectionManager.java | 84 public void onVideoStateChanged(RemoteConnection connection, int videoState) { 85 if (videoState == VideoProfile.STATE_BIDIRECTIONAL) { 88 setVideoState(videoState); 141 public void onAnswer(int videoState) { 142 mRemote.answer(videoState);
|
TestConnectionService.java | 197 public void onAnswer(int videoState) { 198 setVideoState(videoState); 353 int videoState = isVideoCall ? 356 connection.setVideoState(videoState); 367 videoState); 368 connection.setVideoState(videoState);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
CallUtils.java | 41 public static boolean isVideoCall(int videoState) { 42 return VideoProfile.isTransmissionEnabled(videoState) 43 || VideoProfile.isReceptionEnabled(videoState); 87 public static int getUnPausedVideoState(int videoState) { 88 return videoState & (~VideoProfile.STATE_PAUSED); 91 public static int getPausedVideoState(int videoState) { 92 return videoState | VideoProfile.STATE_PAUSED;
|
AnswerPresenter.java | 190 private boolean isEnabled(int videoState, int mask) { 191 return (videoState & mask) == mask; 220 public void onAnswer(int videoState, Context context) { 227 Log.d(this, "onAnswer (upgradeCall) mCallId=" + mCallId + " videoState=" + videoState); 228 InCallPresenter.getInstance().acceptUpgradeRequest(videoState, context); 230 Log.d(this, "onAnswer (answerCall) mCallId=" + mCallId + " videoState=" + videoState); 231 TelecomAdapter.getInstance().answerCall(mCall.getId(), videoState); 298 public void showTargets(int targetSet, int videoState); [all...] |
GlowPadWrapper.java | 159 * @param videoState The new video state. 161 public void setVideoState(int videoState) { 162 mVideoState = videoState; 166 void onAnswer(int videoState, Context context);
|
InCallVideoCallCallbackNotifier.java | 128 * @param videoState The video state we want to upgrade to. 130 public void upgradeToVideoRequest(Call call, int videoState) { 131 Log.d(this, "upgradeToVideoRequest call = " + call + " new video state = " + videoState); 133 listener.onUpgradeToVideoRequest(call, videoState); 251 * @param videoState The video state that the request wants to upgrade to. 253 public void onUpgradeToVideoRequest(Call call, int videoState);
|
AnswerFragment.java | 134 public void showTargets(int targetSet, int videoState) { 139 mGlowpad.setVideoState(videoState); 356 public void onAnswer(int videoState, Context context) { 357 Log.d(this, "onAnswer videoState=" + videoState + " context=" + context); 358 getPresenter().onAnswer(videoState, context);
|
VideoCallPresenter.java | 637 private static boolean isCameraRequired(int videoState) { 638 return VideoProfile.isBidirectional(videoState) || 639 VideoProfile.isTransmissionEnabled(videoState); 654 Log.d(this, "enterVideoMode videoCall= " + videoCall + " videoState: " + newVideoState); 764 * @param videoState The video state. 767 private void showVideoUi(int videoState, int callState) { 773 boolean isPaused = VideoProfile.isPaused(videoState); 775 if (VideoProfile.isBidirectional(videoState)) { 777 } else if (VideoProfile.isTransmissionEnabled(videoState)) { 779 } else if (VideoProfile.isReceptionEnabled(videoState)) { [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
MockConnection.java | 39 public int videoState = VideoProfile.STATE_AUDIO_ONLY; 53 public void onAnswer(int videoState) { 54 super.onAnswer(videoState); 55 this.videoState = videoState;
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
IInCallAdapter.aidl | 29 void answerCall(String callId, int videoState);
|
IConnectionService.aidl | 47 void answerVideo(String callId, int videoState);
|
IConnectionServiceAdapter.aidl | 74 void setVideoState(String callId, int videoState);
|
/frameworks/base/telephony/java/com/android/ims/ |
ImsCallProfile.java | 318 int videostate = VideoProfile.STATE_AUDIO_ONLY; local 321 videostate = VideoProfile.STATE_TX_ENABLED; 324 videostate = VideoProfile.STATE_RX_ENABLED; 327 videostate = VideoProfile.STATE_BIDIRECTIONAL; 330 videostate = VideoProfile.STATE_AUDIO_ONLY; 333 videostate = VideoProfile.STATE_AUDIO_ONLY; 336 if (callProfile.isVideoPaused() && !VideoProfile.isAudioOnly(videostate)) { 337 videostate |= VideoProfile.STATE_PAUSED; 339 videostate &= ~VideoProfile.STATE_PAUSED; 341 return videostate; [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
UserCallIntentProcessor.java | 121 int videoState = intent.getIntExtra( 124 Log.d(this, "processOutgoingCallIntent videoState = " + videoState); 126 if (VideoProfile.isVideo(videoState) 129 videoState = VideoProfile.STATE_AUDIO_ONLY; 131 videoState); 134 if (VideoProfile.isVideo(videoState) && isTtyModeEnabled()) {
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
ConnectionServiceFixture.java | 101 public void answerVideo(String callId, int videoState) throws RemoteException { } 174 int videoState; 185 int videoState; 327 a.setVideoState(id, mConnectionById.get(id).videoState); 380 c.videoState, 396 c.videoState,
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
IntentUtil.java | 135 Uri uri, String callOrigin, PhoneAccountHandle accountHandle, int videoState) { 137 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState);
|