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.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.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.java66 public void onVideoStateChanged(Conference c, int videoState) { } in onVideoStateChanged() argument
341 public void onAnswer(@VideoProfile.VideoState int videoState) {} in onAnswer() argument
522 public final void setVideoState(Connection c, int videoState) { in setVideoState() argument
524 this, c, videoState); in setVideoState()
526 l.onVideoStateChanged(this, videoState); in setVideoState()
DRemoteConnection.java178 public void onVideoStateChanged(RemoteConnection connection, int videoState) {} in onVideoStateChanged() argument
949 public void answer(int videoState) { in answer() argument
953 mConnectionService.answerVideo(mConnectionId, videoState, in answer()
1455 void setVideoState(final int videoState) { in setVideoState() argument
1456 mVideoState = videoState; in setVideoState()
1463 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.java1176 int videoState, in Details() argument
1196 mVideoState = videoState; in Details()
1715 public void answer(@VideoProfile.VideoState int videoState) { in answer() argument
1716 mInCallAdapter.answerCall(mTelecomCallId, videoState); in answer()
2077 public void handoverTo(PhoneAccountHandle toHandle, @VideoProfile.VideoState int videoState, in handoverTo() argument
2079 mInCallAdapter.handoverTo(mTelecomCallId, toHandle, videoState, extras); in handoverTo()
DConnectionService.java413 public void answerVideo(String callId, int videoState, Session.Info sessionInfo) {
419 args.argi1 = videoState;
1148 int videoState = args.argi1;
1149 answerVideo(callId, videoState);
1607 public void onVideoStateChanged(Conference c, int videoState) {
1609 Log.d(this, "onVideoStateChanged set video state %d", videoState);
1610 mAdapter.setVideoState(id, videoState);
1732 public void onVideoStateChanged(Connection c, int videoState) {
1734 Log.d(this, "Adapter set video state %d", videoState);
1735 mAdapter.setVideoState(id, videoState);
[all …]
DTelecomManager.java1951 public void acceptRingingCall(int videoState) { in acceptRingingCall() argument
1956 mContext.getPackageName(), videoState); in acceptRingingCall() local
2569 public void acceptHandover(Uri srcAddr, @VideoProfile.VideoState int videoState, in acceptHandover() argument
2574 service.acceptHandover(srcAddr, videoState, destAcct); in acceptHandover()
DConnection.java1254 public void onVideoStateChanged(Connection c, int videoState) {} in onVideoStateChanged() argument
2551 public final void setVideoState(int videoState) { in setVideoState() argument
2553 Log.d(this, "setVideoState %d", videoState); in setVideoState()
2554 mVideoState = videoState; in setVideoState()
3249 public void onAnswer(int videoState) {} in onAnswer() argument
/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.java1403 int videoState = dialArgs.videoState; in prepareForDialing() local
1404 if (!canAddVideoCallDuringImsAudioCall(videoState)) { in prepareForDialing()
1419 mPendingCallVideoState = videoState; in prepareForDialing()
1448 int videoState = dialArgs.videoState; in startConference() local
1465 pendingConnection.setVideoState(videoState); in startConference()
1474 dialInternal(pendingConnection, clirMode, videoState, dialArgs.intentExtras); in startConference()
1484 public Connection dial(String dialString, int videoState, Bundle intentExtras) throws in dial() argument
1488 .setVideoState(videoState) in dial()
1507 int videoState = dialArgs.videoState; in dial() local
1527 if (isEmergencyNumber && VideoProfile.isVideo(videoState) && in dial()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneInternalInterface.java93 .setVideoState(dialArgs.videoState) in from()
113 public T setVideoState(int videoState) { in setVideoState() argument
114 mVideoState = videoState; in setVideoState()
143 public final int videoState; field in PhoneInternalInterface.DialArgs
155 this.videoState = b.mVideoState; in DialArgs()
367 void acceptCall(int videoState) throws CallStateException; in acceptCall() argument
DConnection.java107 public void onVideoStateChanged(int videoState); in onVideoStateChanged() argument
149 public void onVideoStateChanged(int videoState) {} in onVideoStateChanged() argument
1051 public void setVideoState(int videoState) { in setVideoState() argument
1052 mVideoState = videoState; in setVideoState()
/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.aidl230 void acceptRingingCallWithVideoState(String callingPackage, int videoState); in acceptRingingCallWithVideoState() argument
334 void acceptHandover(in Uri srcAddr, int videoState, in PhoneAccountHandle destAcct); in acceptHandover() argument
DIConnectionServiceAdapter.aidl92 void setVideoState(String callId, int videoState, in Session.Info sessionInfo); in setVideoState() argument
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallProfile.java965 public static int getCallTypeFromVideoState(int videoState) { in getCallTypeFromVideoState() argument
966 boolean videoTx = isVideoStateSet(videoState, VideoProfile.STATE_TX_ENABLED); in getCallTypeFromVideoState()
967 boolean videoRx = isVideoStateSet(videoState, VideoProfile.STATE_RX_ENABLED); in getCallTypeFromVideoState()
968 boolean isPaused = isVideoStateSet(videoState, VideoProfile.STATE_PAUSED); in getCallTypeFromVideoState()
1085 private static boolean isVideoStateSet(int videoState, int videoStateToCheck) { in isVideoStateSet() argument
1086 return (videoState & videoStateToCheck) == videoStateToCheck; in isVideoStateSet()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java114 assertEquals(0, dialArgsCaptor.getValue().videoState); in testBasicDial()
207 assertEquals(0, dialArgsCaptor.getValue().videoState); in testFgCallActiveDial()

12