Searched refs:videoState (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/telecomm/java/android/telecom/
H A DVideoProfile.java81 * if (videoState == VideoProfile.STATE_AUDIO_ONLY) {
92 * if (VideoProfile.isAudioOnly(videoState)) {
127 * @param videoState The video state.
129 public VideoProfile(@VideoState int videoState) { argument
130 this(videoState, QUALITY_DEFAULT);
136 * @param videoState The video state.
139 public VideoProfile(@VideoState int videoState, @VideoQuality int quality) { argument
140 mVideoState = videoState;
221 sb.append("[VideoProfile videoState = ");
232 * @param videoState Th
235 videoStateToString(@ideoState int videoState) argument
267 isAudioOnly(@ideoState int videoState) argument
278 isVideo(@ideoState int videoState) argument
290 isTransmissionEnabled(@ideoState int videoState) argument
300 isReceptionEnabled(@ideoState int videoState) argument
310 isBidirectional(@ideoState int videoState) argument
320 isPaused(@ideoState int videoState) argument
331 hasState(@ideoState int videoState, @VideoState int state) argument
[all...]
H A DConnectionRequest.java77 * @param videoState Determines the video state for the connection.
79 public Builder setVideoState(int videoState) { argument
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,
167 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras, int videoState) argument
187 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras, int videoState, String telecomCallId, boolean shouldShowIncomingCallUi) argument
198 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras, int videoState, String telecomCallId, boolean shouldShowIncomingCallUi, ParcelFileDescriptor rttPipeFromInCall, ParcelFileDescriptor rttPipeToInCall) argument
[all...]
H A DParcelableConference.java53 int videoState,
64 mVideoState = videoState;
150 int videoState = source.readInt();
157 connectionIds, videoCallProvider, videoState, connectTimeMillis,
46 ParcelableConference( PhoneAccountHandle phoneAccount, int state, int connectionCapabilities, int connectionProperties, List<String> connectionIds, IVideoProvider videoProvider, int videoState, long connectTimeMillis, long connectElapsedTimeMillis, StatusHints statusHints, Bundle extras) argument
H A DParcelableConnection.java69 int videoState,
81 videoProvider, videoState, ringbackRequested, isVoipAudioMode, connectTimeMillis,
99 int videoState,
118 mVideoState = videoState;
255 int videoState = source.readInt();
280 videoState,
58 ParcelableConnection( PhoneAccountHandle phoneAccount, int state, int capabilities, int properties, int supportedAudioRoutes, Uri address, int addressPresentation, String callerDisplayName, int callerDisplayNamePresentation, IVideoProvider videoProvider, int videoState, boolean ringbackRequested, boolean isVoipAudioMode, long connectTimeMillis, long connectElapsedTimeMillis, StatusHints statusHints, DisconnectCause disconnectCause, List<String> conferenceableConnectionIds, Bundle extras, String parentCallId) argument
88 ParcelableConnection( PhoneAccountHandle phoneAccount, int state, int capabilities, int properties, int supportedAudioRoutes, Uri address, int addressPresentation, String callerDisplayName, int callerDisplayNamePresentation, IVideoProvider videoProvider, int videoState, boolean ringbackRequested, boolean isVoipAudioMode, long connectTimeMillis, long connectElapsedTimeMillis, StatusHints statusHints, DisconnectCause disconnectCause, List<String> conferenceableConnectionIds, Bundle extras) argument
H A DInCallAdapter.java55 * @param videoState The video state in which to answer the call.
57 public void answerCall(String callId, int videoState) { argument
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, argument
466 mAdapter.handoverTo(callId, destAcct, videoState, extras);
H A DParcelableCall.java86 int videoState,
112 mVideoState = videoState;
329 int videoState = source.readInt();
360 videoState,
64 ParcelableCall( String id, int state, DisconnectCause disconnectCause, List<String> cannedSmsResponses, int capabilities, int properties, int supportedAudioRoutes, long connectTimeMillis, Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, GatewayInfo gatewayInfo, PhoneAccountHandle accountHandle, boolean isVideoCallProviderChanged, IVideoProvider videoCallProvider, boolean isRttCallChanged, ParcelableRttCall rttCall, String parentCallId, List<String> childCallIds, StatusHints statusHints, int videoState, List<String> conferenceableCallIds, Bundle intentExtras, Bundle extras, long creationTimeMillis) argument
H A DConference.java60 public void onVideoStateChanged(Conference c, int videoState) { } argument
477 * @param videoState The new video state.
479 public final void setVideoState(Connection c, int videoState) { argument
481 this, c, videoState);
483 l.onVideoStateChanged(this, videoState);
H A DVideoCallImpl.java348 * @param videoState the new video state.
350 public void setVideoState(int videoState) { argument
351 mVideoState = videoState;
H A DConnectionServiceAdapter.java390 * @param videoState The video state.
392 void setVideoState(String callId, int videoState) { argument
393 Log.v(this, "setVideoState: %d", videoState);
396 adapter.setVideoState(callId, videoState, Log.getExternalSession());
H A DTelecomManager.java1356 * @param videoState The desired video state to answer the call with.
1360 public void acceptRingingCall(int videoState) { argument
1364 mContext.getPackageName(), videoState);
1841 * @param videoState Video state after the handover.
1844 public void acceptHandover(Uri srcAddr, @VideoProfile.VideoState int videoState, argument
1848 getTelecomService().acceptHandover(srcAddr, videoState, destAcct);
H A DParcelableCallAnalytics.java57 public VideoEvent(int eventName, long timeSinceLastEvent, int videoState) { argument
60 mVideoState = videoState;
H A DCall.java800 int videoState,
816 mVideoState = videoState;
1303 * @param videoState The video state in which to answer the call.
1305 public void answer(@VideoProfile.VideoState int videoState) { argument
1306 mInCallAdapter.answerCall(mTelecomCallId, videoState);
1516 * by {@code toHandle}. The videoState specified indicates the desired video state after the
1571 * @param videoState Indicates the video state desired after the handover (see the
1576 public void handoverTo(PhoneAccountHandle toHandle, @VideoProfile.VideoState int videoState, argument
1578 mInCallAdapter.handoverTo(mTelecomCallId, toHandle, videoState, extras);
788 Details( String telecomCallId, Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, PhoneAccountHandle accountHandle, int capabilities, int properties, DisconnectCause disconnectCause, long connectTimeMillis, GatewayInfo gatewayInfo, int videoState, StatusHints statusHints, Bundle extras, Bundle intentExtras, long creationTimeMillis) argument
H A DRemoteConnection.java171 * @param videoState The new video state of the {@code RemoteConnection}.
173 public void onVideoStateChanged(RemoteConnection connection, int videoState) {} argument
924 * @param videoState The video state in which to answer the call.
927 public void answer(int videoState) { argument
930 mConnectionService.answerVideo(mConnectionId, videoState, null /*Session.Info*/);
1332 void setVideoState(final int videoState) { argument
1333 mVideoState = videoState;
1340 callback.onVideoStateChanged(connection, videoState);
H A DConnectionService.java331 public void answerVideo(String callId, int videoState, Session.Info sessionInfo) {
337 args.argi1 = videoState;
858 int videoState = args.argi1;
859 answerVideo(callId, videoState);
1220 public void onVideoStateChanged(Conference c, int videoState) {
1222 Log.d(this, "onVideoStateChanged set video state %d", videoState);
1223 mAdapter.setVideoState(id, videoState);
1297 public void onVideoStateChanged(Connection c, int videoState) {
1299 Log.d(this, "Adapter set video state %d", videoState);
1300 mAdapter.setVideoState(id, videoState);
1625 answerVideo(String callId, int videoState) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPullCall.java31 * @param videoState The video state of the call to be pulled.
35 void pullExternalCall(String number, int videoState, int dialogId); argument
H A DImsExternalCallTracker.java306 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) { argument
454 if (VideoProfile.isVideo(videoState) && !mIsVideoCapable) {
H A DImsPhoneCallTracker.java873 public Connection dial(String dialString, int videoState, Bundle intentExtras) throws argument
877 .setVideoState(videoState)
894 int videoState = dialArgs.videoState;
919 if (isEmergencyNumber && VideoProfile.isVideo(videoState) &&
922 videoState = VideoProfile.STATE_AUDIO_ONLY;
938 mPendingCallVideoState = videoState;
967 mPendingMO.setVideoState(videoState);
977 dialInternal(mPendingMO, clirMode, videoState, dialArgs.intentExtras);
987 mPendingCallVideoState = videoState;
1144 dialInternal(ImsPhoneConnection conn, int clirMode, int videoState, Bundle intentExtras) argument
1228 acceptCall(int videoState) argument
3441 pullExternalCall(String number, int videoState, int dialogId) argument
[all...]
/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIInCallAdapter.aidl31 void answerCall(String callId, int videoState);
84 void handoverTo(String callId, in PhoneAccountHandle destAcct, int videoState,
H A DITelecomService.aidl200 void acceptRingingCallWithVideoState(String callingPackage, int videoState);
281 void acceptHandover(in Uri srcAddr, int videoState, in PhoneAccountHandle destAcct);
H A DIConnectionService.aidl58 void answerVideo(String callId, int videoState, in Session.Info sessionInfo);
H A DIConnectionServiceAdapter.aidl85 void setVideoState(String callId, int videoState, in Session.Info sessionInfo);
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsCallProfile.java547 * @param videoState The video state.
550 public static int getCallTypeFromVideoState(int videoState) { argument
551 boolean videoTx = isVideoStateSet(videoState, VideoProfile.STATE_TX_ENABLED);
552 boolean videoRx = isVideoStateSet(videoState, VideoProfile.STATE_RX_ENABLED);
553 boolean isPaused = isVideoStateSet(videoState, VideoProfile.STATE_PAUSED);
661 * @param videoState The video state bit mask.
665 private static boolean isVideoStateSet(int videoState, int videoStateToCheck) { argument
666 return (videoState & videoStateToCheck) == videoStateToCheck;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneInternalInterface.java81 public T setVideoState(int videoState) { argument
82 mVideoState = videoState;
100 public final int videoState; field in class:PhoneInternalInterface.DialArgs
107 this.videoState = b.mVideoState;
322 * @param videoState The video state in which to answer the call.
325 void acceptCall(int videoState) throws CallStateException; argument
H A DConnection.java90 public void onVideoStateChanged(int videoState); argument
117 public void onVideoStateChanged(int videoState) {} argument
784 * Sets the videoState for the current connection and reports the changes to all listeners.
789 public void setVideoState(int videoState) { argument
790 mVideoState = videoState;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallManagerTest.java152 assertEquals(0, dialArgsCaptor.getValue().videoState);
296 assertEquals(0, dialArgsCaptor.getValue().videoState);

Completed in 145 milliseconds

12