/frameworks/base/telecomm/java/android/telecom/ |
VideoProfile.java | 68 public @interface VideoState {} 81 * if (videoState == VideoProfile.STATE_AUDIO_ONLY) { 92 * if (VideoProfile.isAudioOnly(videoState)) { 127 * @param videoState The video state. 129 public VideoProfile(@VideoState int videoState) { 130 this(videoState, QUALITY_DEFAULT); 136 * @param videoState The video state. 139 public VideoProfile(@VideoState int videoState, @VideoQuality int quality) [all...] |
ConnectionRequest.java | 77 * @param videoState Determines the video state for the connection. 79 public Builder setVideoState(int videoState) { 80 this.mVideoState = videoState; 165 * @param videoState Determines the video state for the connection. 171 int videoState) { 172 this(accountHandle, handle, extras, videoState, null, false, null, null); 179 * @param videoState Determines the video state for the connection. 191 int videoState, 194 this(accountHandle, handle, extras, videoState, telecomCallId, 202 int videoState, [all...] |
ParcelableConference.java | 53 int videoState, 64 mVideoState = videoState; 86 .append(", VideoState: ") 150 int videoState = source.readInt(); 157 connectionIds, videoCallProvider, videoState, connectTimeMillis,
|
ParcelableConnection.java | 69 int videoState, 81 videoProvider, videoState, ringbackRequested, isVoipAudioMode, connectTimeMillis, 99 int videoState, 118 mVideoState = videoState; 255 int videoState = source.readInt(); 280 videoState,
|
InCallAdapter.java | 55 * @param videoState The video state in which to answer the call. 57 public void answerCall(String callId, int videoState) { 59 mAdapter.answerCall(callId, videoState); 460 * @param videoState The video state desired after the handover. 463 public void handoverTo(String callId, PhoneAccountHandle destAcct, int videoState, 466 mAdapter.handoverTo(callId, destAcct, videoState, extras);
|
ParcelableCall.java | 86 int videoState, 112 mVideoState = videoState; 329 int videoState = source.readInt(); 360 videoState,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPullCall.java | 31 * @param videoState The video state of the call to be pulled. 35 void pullExternalCall(String number, int videoState, int dialogId);
|
ImsExternalCallTracker.java | 306 int videoState = ImsCallProfile.getVideoStateFromCallType(state.getCallType()); 308 boolean isCallPullPermitted = isCallPullPermitted(state.isCallPullable(), videoState); 313 connection.setVideoState(videoState); 321 + " ; isVideo = " + VideoProfile.isVideo(videoState) 450 * @param videoState the VideoState of the external call. 453 private boolean isCallPullPermitted(boolean isNetworkPullable, int videoState) { 454 if (VideoProfile.isVideo(videoState) && !mIsVideoCapable) {
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestInCallServiceBroadcastReceiver.java | 55 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); 56 TestCallList.getInstance().sendUpgradeToVideoRequest(videoState); 58 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); 59 TestCallList.getInstance().sendUpgradeToVideoResponse(videoState);
|
CallNotificationReceiver.java | 82 * @param videoState The video state requested for the incoming call. 84 public static void sendIncomingCallIntent(Context context, Uri handle, int videoState) { 92 extras.putInt(TestConnectionService.EXTRA_START_VIDEO_STATE, videoState); 100 public static void sendIncomingRttCallIntent(Context context, Uri handle, int videoState) { 108 extras.putInt(TestConnectionService.EXTRA_START_VIDEO_STATE, videoState);
|
TestCallList.java | 61 "onSessionModifyRequestReceived: videoState = " + videoProfile.getVideoState() 69 "onSessionModifyResponseReceived: status = " + status + " videoState = " 184 public void sendUpgradeToVideoRequest(int videoState) { 185 Log.v(TAG, "sendUpgradeToVideoRequest : videoState = " + videoState); 195 videoCall.sendSessionModifyRequest(new VideoProfile(videoState)); 203 * @param videoState The video state to respond with. 205 public void sendUpgradeToVideoResponse(int videoState) { 206 Log.v(TAG, "sendUpgradeToVideoResponse : videoState = " + videoState); [all...] |
TestConnectionManager.java | 90 public void onVideoStateChanged(RemoteConnection connection, int videoState) { 91 if (videoState == VideoProfile.STATE_BIDIRECTIONAL) { 94 setVideoState(videoState); 170 public void onAnswer(int videoState) { 171 mRemote.answer(videoState);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
CtsConnection.java | 46 void onAnswer(CtsConnection connection, int videoState) { }; 105 public void onAnswer(int videoState) { 106 setVideoState(videoState); 114 mListener.onAnswer(this, videoState);
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
IInCallAdapter.aidl | 31 void answerCall(String callId, int videoState); 84 void handoverTo(String callId, in PhoneAccountHandle destAcct, int videoState,
|
ITelecomService.aidl | 200 void acceptRingingCallWithVideoState(String callingPackage, int videoState); 281 void acceptHandover(in Uri srcAddr, int videoState, in PhoneAccountHandle destAcct);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
TelecomCallFacade.java | 207 @RpcParameter(name = "videoState") 208 String videoState) { 209 InCallServiceImpl.callAnswer(callId, videoState); 289 @RpcParameter(name = "videoState") 290 String videoState, 293 InCallServiceImpl.videoCallSendSessionModifyRequest(callId, videoState, videoQuality); 300 @RpcParameter(name = "videoState") 301 String videoState, 304 InCallServiceImpl.videoCallSendSessionModifyResponse(callId, videoState, videoQuality);
|
/frameworks/base/telephony/java/android/telephony/ims/ |
ImsCallProfile.java | 507 int videostate = getVideoStateFromCallType(callProfile.mCallType); local 508 if (callProfile.isVideoPaused() && !VideoProfile.isAudioOnly(videostate)) { 509 videostate |= VideoProfile.STATE_PAUSED; 511 videostate &= ~VideoProfile.STATE_PAUSED; 513 return videostate; 522 int videostate = VideoProfile.STATE_AUDIO_ONLY; local 525 videostate = VideoProfile.STATE_TX_ENABLED; 528 videostate = VideoProfile.STATE_RX_ENABLED; 531 videostate = VideoProfile.STATE_BIDIRECTIONAL; 534 videostate = VideoProfile.STATE_AUDIO_ONLY [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
MockConnection.java | 49 public int videoState = VideoProfile.STATE_AUDIO_ONLY; 64 public void onAnswer(int videoState) { 65 super.onAnswer(videoState); 66 this.videoState = videoState;
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
DummyConnectionService.java | 79 public void onAnswer(int videoState) { 80 super.onAnswer(videoState);
|
/packages/apps/Dialer/java/com/android/incallui/ |
VideoCallPresenter.java | 150 private static boolean isCameraRequired(int videoState, int sessionModificationState) { 151 return VideoProfile.isBidirectional(videoState) 152 || VideoProfile.isTransmissionEnabled(videoState) 157 * Determines if the incoming video surface should be shown based on the current videoState and 161 * @param videoState The current video state. 165 public static boolean showIncomingVideo(int videoState, int callState) { 170 boolean isPaused = VideoProfile.isPaused(videoState); 178 && VideoProfile.isReceptionEnabled(videoState); 182 * Determines if the outgoing video surface should be shown based on the current videoState. The 189 Context context, int videoState, int sessionModificationState) [all...] |
NotificationBroadcastReceiver.java | 143 private void answerIncomingCall(int videoState) { 151 call.answer(videoState);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneInternalInterface.java | 81 public T setVideoState(int videoState) { 82 mVideoState = videoState; 100 public final int videoState; 107 this.videoState = b.mVideoState; 322 * @param videoState The video state in which to answer the call. 325 void acceptCall(int videoState) throws CallStateException; [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
TelecomSystemTest.java | 590 int videoState) throws Exception { 595 connectionServiceFixture, initiatingUser, videoState); 627 int videoState) throws Exception { 634 connectionServiceFixture, initiatingUser, videoState, true /*isEmergency*/); 643 int videoState, boolean isEmergency) throws Exception { 669 if (videoState != VideoProfile.STATE_AUDIO_ONLY) { 670 actionCallIntent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); 702 int videoState) throws Exception { 704 connectionServiceFixture, initiatingUser, videoState, false /*isEmergency*/); [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
Call.java | 139 void onHandoverRequested(Call call, PhoneAccountHandle handoverTo, int videoState, 215 public void onHandoverRequested(Call call, PhoneAccountHandle handoverTo, int videoState, 773 * @param videoState The video state. 776 private String getVideoStateDescription(int videoState) { 780 if (VideoProfile.isTransmissionEnabled(videoState)) { 784 if (VideoProfile.isReceptionEnabled(videoState)) { 788 if (VideoProfile.isPaused(videoState)) { [all...] |
InCallAdapter.java | 50 public void answerCall(String callId, int videoState) { 56 Log.d(this, "answerCall(%s,%d)", callId, videoState); 59 mCallsManager.answerCall(call, videoState); 612 public void handoverTo(String callId, PhoneAccountHandle destAcct, int videoState, 621 call.handoverTo(destAcct, videoState, extras);
|