Home
last modified time | relevance | path

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

12

/frameworks/base/telecomm/java/android/telecom/
DVideoProfile.java131 public VideoProfile(@VideoState int videoState) { in VideoProfile() argument
132 this(videoState, QUALITY_DEFAULT); in VideoProfile()
141 public VideoProfile(@VideoState int videoState, @VideoQuality int quality) { in VideoProfile() argument
142 mVideoState = videoState; in VideoProfile()
237 public static String videoStateToString(@VideoState int videoState) { in videoStateToString() argument
241 if (videoState == STATE_AUDIO_ONLY) { in videoStateToString()
244 if (isTransmissionEnabled(videoState)) { in videoStateToString()
248 if (isReceptionEnabled(videoState)) { in videoStateToString()
252 if (isPaused(videoState)) { in videoStateToString()
269 public static boolean isAudioOnly(@VideoState int videoState) { in isAudioOnly() argument
[all …]
DCallControl.java120 public void answer(@android.telecom.CallAttributes.CallType int videoState, in answer() argument
123 validateVideoState(videoState); in answer()
127 mServerInterface.answer(videoState, mCallId, in answer()
326 public void requestVideoState(@CallAttributes.CallType int videoState, in requestVideoState() argument
329 validateVideoState(videoState); in requestVideoState()
333 mServerInterface.requestVideoState(videoState, mCallId, in requestVideoState()
432 private void validateVideoState(@android.telecom.CallAttributes.CallType int videoState) { in validateVideoState() argument
433 if (videoState != CallAttributes.AUDIO_CALL && videoState != CallAttributes.VIDEO_CALL) { in validateVideoState()
437 + "CallAttributes.VIDEO_CALL", videoState)); in validateVideoState()
DConnectionRequest.java100 public @NonNull Builder setVideoState(int videoState) { in setVideoState() argument
101 this.mVideoState = videoState; in setVideoState()
211 int videoState) { in ConnectionRequest() argument
212 this(accountHandle, handle, extras, videoState, null, false, null, null); in ConnectionRequest()
231 int videoState, in ConnectionRequest() argument
234 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest()
242 int videoState, in ConnectionRequest() argument
247 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest()
255 int videoState, in ConnectionRequest() argument
265 mVideoState = videoState; in ConnectionRequest()
DParcelableConnection.java71 int videoState, in ParcelableConnection() argument
85 videoProvider, videoState, ringbackRequested, isVoipAudioMode, connectTimeMillis, in ParcelableConnection()
104 int videoState, in ParcelableConnection() argument
124 mVideoState = videoState; in ParcelableConnection()
273 int videoState = source.readInt();
300 videoState,
DParcelableConference.java104 @VideoProfile.VideoState int videoState) { in setVideoAttributes() argument
106 mVideoState = videoState; in setVideoAttributes()
166 int videoState, in ParcelableConference() argument
184 mVideoState = videoState; in ParcelableConference()
311 int videoState = source.readInt();
325 connectionIds, videoCallProvider, videoState, connectTimeMillis,
DInCallAdapter.java62 public void answerCall(String callId, int videoState) { in answerCall() argument
64 mAdapter.answerCall(callId, videoState); in answerCall()
577 public void handoverTo(String callId, PhoneAccountHandle destAcct, int videoState, in handoverTo() argument
580 mAdapter.handoverTo(callId, destAcct, videoState, extras); in handoverTo()
DParcelableCall.java181 public ParcelableCallBuilder setVideoState(int videoState) { in setVideoState() argument
182 mVideoState = videoState; in setVideoState()
362 int videoState, in ParcelableCall() argument
394 mVideoState = videoState; in ParcelableCall()
664 int videoState = source.readInt();
700 .setVideoState(videoState)
DCallControlCallback.java81 void onAnswer(@android.telecom.CallAttributes.CallType int videoState, in onAnswer() argument
DCallEventCallback.java62 default void onVideoStateChanged(@CallAttributes.CallType int videoState) {} in onVideoStateChanged() argument
DConference.java66 public void onVideoStateChanged(Conference c, int videoState) { } in onVideoStateChanged() argument
381 public void onAnswer(@VideoProfile.VideoState int videoState) {} in onAnswer() argument
562 public final void setVideoState(Connection c, int videoState) { in setVideoState() argument
564 this, c, videoState); in setVideoState()
566 l.onVideoStateChanged(this, videoState); in setVideoState()
DRemoteConnection.java176 public void onVideoStateChanged(RemoteConnection connection, int videoState) {} in onVideoStateChanged() argument
947 public void answer(int videoState) { in answer() argument
951 mConnectionService.answerVideo(mConnectionId, videoState, in answer()
1453 void setVideoState(final int videoState) { in setVideoState() argument
1454 mVideoState = videoState; in setVideoState()
1461 callback.onVideoStateChanged(connection, videoState); in setVideoState()
DVideoCallImpl.java364 public void setVideoState(int videoState) { in setVideoState() argument
365 mVideoState = videoState; in setVideoState()
DParcelableCallAnalytics.java57 public VideoEvent(int eventName, long timeSinceLastEvent, int videoState) { in VideoEvent() argument
60 mVideoState = videoState; in VideoEvent()
DConnectionServiceAdapter.java433 void setVideoState(String callId, int videoState) { in setVideoState() argument
434 Log.v(this, "setVideoState: %d", videoState); in setVideoState()
437 adapter.setVideoState(callId, videoState, Log.getExternalSession()); in setVideoState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCallTracker.java314 int videoState = ImsCallProfile.getVideoStateFromCallType(state.getCallType()); in createExternalConnection() local
316 boolean isCallPullPermitted = isCallPullPermitted(state.isCallPullable(), videoState); in createExternalConnection()
321 connection.setVideoState(videoState); in createExternalConnection()
329 + " ; isVideo = " + VideoProfile.isVideo(videoState) in createExternalConnection()
461 private boolean isCallPullPermitted(boolean isNetworkPullable, int videoState) { in isCallPullPermitted() argument
462 if (VideoProfile.isVideo(videoState) && !mIsVideoCapable) { in isCallPullPermitted()
DImsPullCall.java35 void pullExternalCall(String number, int videoState, int dialogId); in pullExternalCall() argument
DImsPhoneCallTracker.java1626 int videoState = dialArgs.videoState; in prepareForDialing() local
1627 if (!canAddVideoCallDuringImsAudioCall(videoState)) { in prepareForDialing()
1642 mPendingCallVideoState = videoState; in prepareForDialing()
1671 int videoState = dialArgs.videoState; in startConference() local
1688 pendingConnection.setVideoState(videoState); in startConference()
1697 dialInternal(pendingConnection, clirMode, videoState, dialArgs.intentExtras); in startConference()
1707 public Connection dial(String dialString, int videoState, Bundle intentExtras) throws in dial() argument
1711 .setVideoState(videoState) in dial()
1730 int videoState = dialArgs.videoState; in dial() local
1750 if (isEmergencyNumber && VideoProfile.isVideo(videoState) && in dial()
[all …]
/frameworks/base/telecomm/java/com/android/internal/telecom/
DICallControl.aidl30 void answer(int videoState, String callId, in ResultReceiver callback); in answer() argument
37 void requestVideoState(int videoState, String callId, in ResultReceiver callback); in requestVideoState() argument
DICallEventCallback.aidl39 void onAnswer(String callId, int videoState, in ResultReceiver callback); in onAnswer() argument
49 void onVideoStateChanged(String callId, int videoState); in onVideoStateChanged() argument
DIInCallAdapter.aidl33 void answerCall(String callId, int videoState); in answerCall() argument
100 void handoverTo(String callId, in PhoneAccountHandle destAcct, int videoState, in handoverTo() argument
DClientTransactionalServiceWrapper.java242 public void onAnswer(String callId, int videoState, ResultReceiver resultReceiver) {
243 handleCallEventCallback(ON_ANSWER, callId, resultReceiver, videoState);
268 public void onVideoStateChanged(String callId, int videoState) {
269 handleEventCallback(callId, ON_VIDEO_STATE_CHANGED, videoState);
DITelecomService.aidl239 void acceptRingingCallWithVideoState(String callingPackage, int videoState); in acceptRingingCallWithVideoState() argument
346 void acceptHandover(in Uri srcAddr, int videoState, in PhoneAccountHandle destAcct, in acceptHandover() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneInternalInterface.java92 .setVideoState(dialArgs.videoState) in from()
112 public T setVideoState(int videoState) { in setVideoState() argument
113 mVideoState = videoState; in setVideoState()
142 public final int videoState; field in PhoneInternalInterface.DialArgs
154 this.videoState = b.mVideoState; in DialArgs()
356 void acceptCall(int videoState) throws CallStateException; in acceptCall() argument
DConnection.java110 public void onVideoStateChanged(int videoState); in onVideoStateChanged() argument
159 public void onVideoStateChanged(int videoState) {} in onVideoStateChanged() argument
1151 public void setVideoState(int videoState) { in setVideoState() argument
1152 mVideoState = videoState; in setVideoState()
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallProfile.java980 public static int getCallTypeFromVideoState(int videoState) { in getCallTypeFromVideoState() argument
981 boolean videoTx = isVideoStateSet(videoState, VideoProfile.STATE_TX_ENABLED); in getCallTypeFromVideoState()
982 boolean videoRx = isVideoStateSet(videoState, VideoProfile.STATE_RX_ENABLED); in getCallTypeFromVideoState()
983 boolean isPaused = isVideoStateSet(videoState, VideoProfile.STATE_PAUSED); in getCallTypeFromVideoState()
1100 private static boolean isVideoStateSet(int videoState, int videoStateToCheck) { in isVideoStateSet() argument
1101 return (videoState & videoStateToCheck) == videoStateToCheck; in isVideoStateSet()

12