Home
last modified time | relevance | path

Searched refs:videoState (Results 1 – 25 of 35) 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()
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.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.java1167 int videoState, in Details() argument
1187 mVideoState = videoState; in Details()
1697 public void answer(@VideoProfile.VideoState int videoState) { in answer() argument
1698 mInCallAdapter.answerCall(mTelecomCallId, videoState); in answer()
2059 public void handoverTo(PhoneAccountHandle toHandle, @VideoProfile.VideoState int videoState, in handoverTo() argument
2061 mInCallAdapter.handoverTo(mTelecomCallId, toHandle, videoState, extras); in handoverTo()
DConnectionService.java412 public void answerVideo(String callId, int videoState, Session.Info sessionInfo) {
418 args.argi1 = videoState;
1147 int videoState = args.argi1;
1148 answerVideo(callId, videoState);
1606 public void onVideoStateChanged(Conference c, int videoState) {
1608 Log.d(this, "onVideoStateChanged set video state %d", videoState);
1609 mAdapter.setVideoState(id, videoState);
1731 public void onVideoStateChanged(Connection c, int videoState) {
1733 Log.d(this, "Adapter set video state %d", videoState);
1734 mAdapter.setVideoState(id, videoState);
[all …]
DTelecomManager.java1901 public void acceptRingingCall(int videoState) { in acceptRingingCall() argument
1906 mContext.getPackageName(), videoState); in acceptRingingCall() local
2517 public void acceptHandover(Uri srcAddr, @VideoProfile.VideoState int videoState, in acceptHandover() argument
2522 service.acceptHandover(srcAddr, videoState, destAcct); in acceptHandover()
DConnection.java1217 public void onVideoStateChanged(Connection c, int videoState) {} in onVideoStateChanged() argument
2500 public final void setVideoState(int videoState) { in setVideoState() argument
2502 Log.d(this, "setVideoState %d", videoState); in setVideoState()
2503 mVideoState = videoState; in setVideoState()
3198 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.java1224 int videoState = dialArgs.videoState; in prepareForDialing() local
1225 if (!canAddVideoCallDuringImsAudioCall(videoState)) { in prepareForDialing()
1240 mPendingCallVideoState = videoState; in prepareForDialing()
1269 int videoState = dialArgs.videoState; in startConference() local
1286 pendingConnection.setVideoState(videoState); in startConference()
1295 dialInternal(pendingConnection, clirMode, videoState, dialArgs.intentExtras); in startConference()
1305 public Connection dial(String dialString, int videoState, Bundle intentExtras) throws in dial() argument
1309 .setVideoState(videoState) in dial()
1328 int videoState = dialArgs.videoState; in dial() local
1349 if (isEmergencyNumber && VideoProfile.isVideo(videoState) && in dial()
[all …]
/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()
366 void acceptCall(int videoState) throws CallStateException; in acceptCall() argument
DConnection.java102 public void onVideoStateChanged(int videoState); in onVideoStateChanged() argument
144 public void onVideoStateChanged(int videoState) {} in onVideoStateChanged() argument
1046 public void setVideoState(int videoState) { in setVideoState() argument
1047 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.aidl222 void acceptRingingCallWithVideoState(String callingPackage, int videoState); in acceptRingingCallWithVideoState() argument
324 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.java960 public static int getCallTypeFromVideoState(int videoState) { in getCallTypeFromVideoState() argument
961 boolean videoTx = isVideoStateSet(videoState, VideoProfile.STATE_TX_ENABLED); in getCallTypeFromVideoState()
962 boolean videoRx = isVideoStateSet(videoState, VideoProfile.STATE_RX_ENABLED); in getCallTypeFromVideoState()
963 boolean isPaused = isVideoStateSet(videoState, VideoProfile.STATE_PAUSED); in getCallTypeFromVideoState()
1076 private static boolean isVideoStateSet(int videoState, int videoStateToCheck) { in isVideoStateSet() argument
1077 return (videoState & videoStateToCheck) == videoStateToCheck; in isVideoStateSet()
/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