Home
last modified time | relevance | path

Searched refs:videoState (Results 1 – 25 of 34) 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 …]
DConnectionRequest.java98 public @NonNull Builder setVideoState(int videoState) { in setVideoState() argument
99 this.mVideoState = videoState; in setVideoState()
209 int videoState) { in ConnectionRequest() argument
210 this(accountHandle, handle, extras, videoState, null, false, null, null); in ConnectionRequest()
229 int videoState, in ConnectionRequest() argument
232 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest()
240 int videoState, in ConnectionRequest() argument
245 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest()
253 int videoState, in ConnectionRequest() argument
263 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()
303 int videoState = source.readInt();
317 connectionIds, videoCallProvider, videoState, connectTimeMillis,
DInCallAdapter.java58 public void answerCall(String callId, int videoState) { in answerCall() argument
60 mAdapter.answerCall(callId, videoState); in answerCall()
540 public void handoverTo(String callId, PhoneAccountHandle destAcct, int videoState, in handoverTo() argument
543 mAdapter.handoverTo(callId, destAcct, videoState, extras); in handoverTo()
DParcelableCall.java180 public ParcelableCallBuilder setVideoState(int videoState) { in setVideoState() argument
181 mVideoState = videoState; in setVideoState()
353 int videoState, in ParcelableCall() argument
384 mVideoState = videoState; in ParcelableCall()
645 int videoState = source.readInt();
680 .setVideoState(videoState)
DConference.java67 public void onVideoStateChanged(Conference c, int videoState) { } in onVideoStateChanged() argument
343 public void onAnswer(int videoState) {} in onAnswer() argument
524 public final void setVideoState(Connection c, int videoState) { in setVideoState() argument
526 this, c, videoState); in setVideoState()
528 l.onVideoStateChanged(this, videoState); in setVideoState()
DRemoteConnection.java173 public void onVideoStateChanged(RemoteConnection connection, int videoState) {} in onVideoStateChanged() argument
927 public void answer(int videoState) { in answer() argument
930 mConnectionService.answerVideo(mConnectionId, videoState, null /*Session.Info*/); in answer()
1332 void setVideoState(final int videoState) { in setVideoState() argument
1333 mVideoState = videoState; in setVideoState()
1340 callback.onVideoStateChanged(connection, videoState); in setVideoState()
DVideoCallImpl.java364 public void setVideoState(int videoState) { in setVideoState() argument
365 mVideoState = videoState; in setVideoState()
DConnectionServiceAdapter.java426 void setVideoState(String callId, int videoState) { in setVideoState() argument
427 Log.v(this, "setVideoState: %d", videoState); in setVideoState()
430 adapter.setVideoState(callId, videoState, Log.getExternalSession()); in setVideoState()
DParcelableCallAnalytics.java57 public VideoEvent(int eventName, long timeSinceLastEvent, int videoState) { in VideoEvent() argument
60 mVideoState = videoState; in VideoEvent()
DCall.java1038 int videoState, in Details() argument
1057 mVideoState = videoState; in Details()
1561 public void answer(@VideoProfile.VideoState int videoState) { in answer() argument
1562 mInCallAdapter.answerCall(mTelecomCallId, videoState); in answer()
1917 public void handoverTo(PhoneAccountHandle toHandle, @VideoProfile.VideoState int videoState, in handoverTo() argument
1919 mInCallAdapter.handoverTo(mTelecomCallId, toHandle, videoState, extras); in handoverTo()
DTelecomManager.java1721 public void acceptRingingCall(int videoState) { in acceptRingingCall() argument
1725 mContext.getPackageName(), videoState); in acceptRingingCall() local
2327 public void acceptHandover(Uri srcAddr, @VideoProfile.VideoState int videoState, in acceptHandover() argument
2331 getTelecomService().acceptHandover(srcAddr, videoState, destAcct); in acceptHandover()
DConnectionService.java405 public void answerVideo(String callId, int videoState, Session.Info sessionInfo) {
411 args.argi1 = videoState;
1094 int videoState = args.argi1;
1095 answerVideo(callId, videoState);
1510 public void onVideoStateChanged(Conference c, int videoState) {
1512 Log.d(this, "onVideoStateChanged set video state %d", videoState);
1513 mAdapter.setVideoState(id, videoState);
1635 public void onVideoStateChanged(Connection c, int videoState) {
1637 Log.d(this, "Adapter set video state %d", videoState);
1638 mAdapter.setVideoState(id, videoState);
[all …]
DConnection.java1082 public void onVideoStateChanged(Connection c, int videoState) {} in onVideoStateChanged() argument
2369 public final void setVideoState(int videoState) { in setVideoState() argument
2371 Log.d(this, "setVideoState %d", videoState); in setVideoState()
2372 mVideoState = videoState; in setVideoState()
3050 public void onAnswer(int videoState) {} in onAnswer() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCallTracker.java306 int videoState = ImsCallProfile.getVideoStateFromCallType(state.getCallType()); in createExternalConnection() local
308 boolean isCallPullPermitted = isCallPullPermitted(state.isCallPullable(), videoState); in createExternalConnection()
313 connection.setVideoState(videoState); in createExternalConnection()
321 + " ; isVideo = " + VideoProfile.isVideo(videoState) in createExternalConnection()
453 private boolean isCallPullPermitted(boolean isNetworkPullable, int videoState) { in isCallPullPermitted() argument
454 if (VideoProfile.isVideo(videoState) && !mIsVideoCapable) { in isCallPullPermitted()
DImsPullCall.java35 void pullExternalCall(String number, int videoState, int dialogId); in pullExternalCall() argument
DImsPhoneCallTracker.java1086 int videoState = dialArgs.videoState; in prepareForDialing() local
1087 if (!canAddVideoCallDuringImsAudioCall(videoState)) { in prepareForDialing()
1102 mPendingCallVideoState = videoState; in prepareForDialing()
1131 int videoState = dialArgs.videoState; in startConference() local
1148 pendingConnection.setVideoState(videoState); in startConference()
1157 dialInternal(pendingConnection, clirMode, videoState, dialArgs.intentExtras); in startConference()
1167 public Connection dial(String dialString, int videoState, Bundle intentExtras) throws in dial() argument
1171 .setVideoState(videoState) in dial()
1189 int videoState = dialArgs.videoState; in dial() local
1210 if (isEmergencyNumber && VideoProfile.isVideo(videoState) && in dial()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneInternalInterface.java83 public T setVideoState(int videoState) { in setVideoState() argument
84 mVideoState = videoState; in setVideoState()
102 public final int videoState; field in PhoneInternalInterface.DialArgs
109 this.videoState = b.mVideoState; in DialArgs()
308 void acceptCall(int videoState) throws CallStateException; in acceptCall() argument
DConnection.java99 public void onVideoStateChanged(int videoState); in onVideoStateChanged() argument
128 public void onVideoStateChanged(int videoState) {} in onVideoStateChanged() argument
993 public void setVideoState(int videoState) { in setVideoState() argument
994 mVideoState = videoState; in setVideoState()
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallProfile.java790 public static int getCallTypeFromVideoState(int videoState) { in getCallTypeFromVideoState() argument
791 boolean videoTx = isVideoStateSet(videoState, VideoProfile.STATE_TX_ENABLED); in getCallTypeFromVideoState()
792 boolean videoRx = isVideoStateSet(videoState, VideoProfile.STATE_RX_ENABLED); in getCallTypeFromVideoState()
793 boolean isPaused = isVideoStateSet(videoState, VideoProfile.STATE_PAUSED); in getCallTypeFromVideoState()
906 private static boolean isVideoStateSet(int videoState, int videoStateToCheck) { in isVideoStateSet() argument
907 return (videoState & videoStateToCheck) == videoStateToCheck; in isVideoStateSet()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIInCallAdapter.aidl31 void answerCall(String callId, int videoState); in answerCall() argument
96 void handoverTo(String callId, in PhoneAccountHandle destAcct, int videoState, in handoverTo() argument
DITelecomService.aidl206 void acceptRingingCallWithVideoState(String callingPackage, int videoState); in acceptRingingCallWithVideoState() argument
308 void acceptHandover(in Uri srcAddr, int videoState, in PhoneAccountHandle destAcct); in acceptHandover() argument
DIConnectionService.aidl72 void answerVideo(String callId, int videoState, in Session.Info sessionInfo); in answerVideo() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java117 assertEquals(0, dialArgsCaptor.getValue().videoState); in testBasicDial()
210 assertEquals(0, dialArgsCaptor.getValue().videoState); in testFgCallActiveDial()

12