/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | VideoUtils.java | 31 public static boolean isVideoCall(int videoState) { in isVideoCall() argument 36 return VideoProfile.isTransmissionEnabled(videoState) in isVideoCall() 37 || VideoProfile.isReceptionEnabled(videoState); in isVideoCall() 93 public static int getUnPausedVideoState(int videoState) { in getUnPausedVideoState() argument 94 return videoState & (~VideoProfile.STATE_PAUSED); in getUnPausedVideoState() 97 public static int getPausedVideoState(int videoState) { in getPausedVideoState() argument 98 return videoState | VideoProfile.STATE_PAUSED; in getPausedVideoState()
|
D | AnswerPresenter.java | 202 private boolean isEnabled(int videoState, int mask) { in isEnabled() argument 203 return (videoState & mask) == mask; in isEnabled() 232 public void onAnswer(int videoState, Context context) { in onAnswer() argument 239 Log.d(this, "onAnswer (upgradeCall) mCallId=" + mCallId + " videoState=" + videoState); in onAnswer() 240 InCallPresenter.getInstance().acceptUpgradeRequest(videoState, context); in onAnswer() 242 Log.d(this, "onAnswer (answerCall) mCallId=" + mCallId + " videoState=" + videoState); in onAnswer() 243 TelecomAdapter.getInstance().answerCall(mCall.getId(), videoState); in onAnswer() local 310 public void showTargets(int targetSet, int videoState); in showTargets() argument
|
D | VideoCallPresenter.java | 658 private static boolean isCameraRequired(int videoState) { in isCameraRequired() argument 659 return VideoProfile.isBidirectional(videoState) || in isCameraRequired() 660 VideoProfile.isTransmissionEnabled(videoState); in isCameraRequired() 748 private void showVideoUi(int videoState, int callState) { in showVideoUi() argument 754 boolean showIncomingVideo = showIncomingVideo(videoState, callState); in showVideoUi() 755 boolean showOutgoingVideo = showOutgoingVideo(videoState); in showVideoUi() 761 if (VideoProfile.isReceptionEnabled(videoState)) { in showVideoUi() 769 VideoProfile.isAudioOnly(videoState)); in showVideoUi() 781 public static boolean showIncomingVideo(int videoState, int callState) { in showIncomingVideo() argument 786 boolean isPaused = VideoProfile.isPaused(videoState); in showIncomingVideo() [all …]
|
D | InCallVideoCallCallbackNotifier.java | 130 public void upgradeToVideoRequest(Call call, int videoState) { in upgradeToVideoRequest() argument 131 Log.d(this, "upgradeToVideoRequest call = " + call + " new video state = " + videoState); in upgradeToVideoRequest() 133 listener.onUpgradeToVideoRequest(call, videoState); in upgradeToVideoRequest() 219 public void onUpgradeToVideoRequest(Call call, int videoState); in onUpgradeToVideoRequest() argument
|
D | AnswerFragment.java | 247 public void onAnswer(int videoState, Context context) { in onAnswer() argument 248 Log.d(this, "onAnswer videoState=" + videoState + " context=" + context); in onAnswer() 249 getPresenter().onAnswer(videoState, context); in onAnswer() 300 public void showTargets(int targetSet, int videoState) { in showTargets() argument
|
D | Call.java | 800 public void setRequestedVideoState(int videoState) { in setRequestedVideoState() argument 801 Log.d(this, "setRequestedVideoState - video state= " + videoState); in setRequestedVideoState() 802 if (videoState == getVideoState()) { in setRequestedVideoState() 809 mRequestedVideoState = videoState; in setRequestedVideoState() 813 + mSessionModificationState + " video state= " + videoState); in setRequestedVideoState()
|
D | GlowPadWrapper.java | 155 public void setVideoState(int videoState) { in setVideoState() argument 156 mVideoState = videoState; in setVideoState()
|
D | GlowPadAnswerFragment.java | 88 public void showTargets(int targetSet, int videoState) { in showTargets() argument 93 mGlowpad.setVideoState(videoState); in showTargets()
|
D | InCallPresenter.java | 688 public void onUpgradeToVideoRequest(Call call, int videoState) { in onUpgradeToVideoRequest() argument 689 Log.d(this, "onUpgradeToVideoRequest call = " + call + " video state = " + videoState); in onUpgradeToVideoRequest() 695 call.setRequestedVideoState(videoState); in onUpgradeToVideoRequest() 885 public void answerIncomingCall(Context context, int videoState) { in answerIncomingCall() argument 895 TelecomAdapter.getInstance().answerCall(call.getId(), videoState); in answerIncomingCall() local 917 public void acceptUpgradeRequest(int videoState, Context context) { in acceptUpgradeRequest() argument 918 Log.d(this, " acceptUpgradeRequest videoState " + videoState); in acceptUpgradeRequest() 928 VideoProfile videoProfile = new VideoProfile(videoState); in acceptUpgradeRequest()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCallList.java | 170 public void sendUpgradeToVideoRequest(int videoState) { in sendUpgradeToVideoRequest() argument 171 Log.v(TAG, "sendUpgradeToVideoRequest : videoState = " + videoState); in sendUpgradeToVideoRequest() 181 videoCall.sendSessionModifyRequest(new VideoProfile(videoState)); in sendUpgradeToVideoRequest() 191 public void sendUpgradeToVideoResponse(int videoState) { in sendUpgradeToVideoResponse() argument 192 Log.v(TAG, "sendUpgradeToVideoResponse : videoState = " + videoState); in sendUpgradeToVideoResponse() 201 videoCall.sendSessionModifyResponse(new VideoProfile(videoState)); in sendUpgradeToVideoResponse()
|
D | TestInCallServiceBroadcastReceiver.java | 54 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); in onReceive() local 55 TestCallList.getInstance().sendUpgradeToVideoRequest(videoState); in onReceive() 57 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); in onReceive() local 58 TestCallList.getInstance().sendUpgradeToVideoResponse(videoState); in onReceive()
|
D | TestConnectionService.java | 197 public void onAnswer(int videoState) { in onAnswer() argument 198 setVideoState(videoState); in onAnswer() 352 int videoState = extras.getInt(EXTRA_START_VIDEO_STATE, VideoProfile.STATE_AUDIO_ONLY); in onCreateIncomingConnection() local 358 VideoProfile.isVideo(videoState)), null) in onCreateIncomingConnection() 360 connection.setVideoState(videoState); in onCreateIncomingConnection() 389 videoState); in onCreateIncomingConnection() 390 connection.setVideoState(videoState); in onCreateIncomingConnection()
|
D | TestConnectionManager.java | 90 public void onVideoStateChanged(RemoteConnection connection, int videoState) { 91 if (videoState == VideoProfile.STATE_BIDIRECTIONAL) { 94 setVideoState(videoState); 147 public void onAnswer(int videoState) { in onAnswer() argument 148 mRemote.answer(videoState); in onAnswer()
|
D | CallNotificationReceiver.java | 80 public static void sendIncomingCallIntent(Context context, Uri handle, int videoState) { in sendIncomingCallIntent() argument 88 extras.putInt(TestConnectionService.EXTRA_START_VIDEO_STATE, videoState); in sendIncomingCallIntent()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomSystemTest.java | 451 int videoState) throws Exception { in startOutgoingPhoneCall() argument 456 connectionServiceFixture, initiatingUser, videoState); in startOutgoingPhoneCall() 465 int videoState) throws Exception { in startOutgoingPhoneCallPendingCreateConnection() argument 487 if (videoState != VideoProfile.STATE_AUDIO_ONLY) { in startOutgoingPhoneCallPendingCreateConnection() 488 actionCallIntent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in startOutgoingPhoneCallPendingCreateConnection() 572 int videoState, in startIncomingPhoneCall() argument 584 connectionServiceFixture.mConnectionServiceDelegate.mVideoState = videoState; in startIncomingPhoneCall() 684 ConnectionServiceFixture connectionServiceFixture, int videoState) throws Exception { in startAndMakeActiveOutgoingCall() argument 686 Process.myUserHandle(), videoState); in startAndMakeActiveOutgoingCall() 714 int videoState) throws Exception { in startAndMakeActiveIncomingCall() argument [all …]
|
D | ConnectionServiceFixture.java | 123 public FakeConnection(int videoState, Uri address) { in FakeConnection() argument 129 setVideoState(videoState); in FakeConnection() 203 c.videoState = request.getVideoState(); in createConnection() 215 public void answerVideo(String callId, int videoState) throws RemoteException { } in answerVideo() argument 317 int videoState; field in ConnectionServiceFixture.ConnectionInfo 329 int videoState; field in ConnectionServiceFixture.ConferenceInfo 473 a.setVideoState(id, mConnectionById.get(id).videoState); in sendSetVideoState() 545 c.videoState, in parcelable() 562 c.videoState, in parcelable()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 232 int videoState = VideoProfile.STATE_BIDIRECTIONAL; in emergencyCallTestHelper() local 237 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in emergencyCallTestHelper() 242 eq(isSpeakerphoneOn), eq(videoState)); in emergencyCallTestHelper() 335 int videoState = VideoProfile.STATE_BIDIRECTIONAL; in regularCallTestHelper() local 338 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in regularCallTestHelper()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 549 int videoState = videoProfile != null ? videoProfile.getVideoState() : in onSessionModifyRequestReceived() local 552 .videoStateToString(videoState)); in onSessionModifyRequestReceived() 792 int videoState = extras.getInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, in startOutgoingCall() local 797 if (call.isEmergencyCall() && VideoProfile.isVideo(videoState)) { in startOutgoingCall() 808 videoState = VideoProfile.STATE_AUDIO_ONLY; in startOutgoingCall() 812 call.setVideoState(videoState); in startOutgoingCall() 905 boolean speakerphoneOn, int videoState) { in placeOutgoingCall() argument 927 final boolean useSpeakerForVideoCall = isSpeakerphoneAutoEnabled(videoState); in placeOutgoingCall() 933 call.setVideoState(videoState); in placeOutgoingCall() 986 public void answerCall(Call call, int videoState) { in answerCall() argument [all …]
|
D | TelecomServiceImpl.java | 752 public void acceptRingingCallWithVideoState(int videoState) { 760 acceptRingingCallInternal(videoState); 1278 private void acceptRingingCallInternal(int videoState) { in acceptRingingCallInternal() argument 1281 if (videoState == DEFAULT_VIDEO_STATE || !isValidAcceptVideoState(videoState)) { in acceptRingingCallInternal() 1282 videoState = call.getVideoState(); in acceptRingingCallInternal() 1284 call.answer(videoState); in acceptRingingCallInternal() 1481 private boolean isValidAcceptVideoState(int videoState) { in isValidAcceptVideoState() argument 1484 int remainingState = videoState & ~VideoProfile.STATE_TX_ENABLED; in isValidAcceptVideoState()
|
D | Call.java | 543 private String getVideoStateDescription(int videoState) { in getVideoStateDescription() argument 547 if (VideoProfile.isTransmissionEnabled(videoState)) { in getVideoStateDescription() 551 if (VideoProfile.isReceptionEnabled(videoState)) { in getVideoStateDescription() 555 if (VideoProfile.isPaused(videoState)) { in getVideoStateDescription() 1284 public void answer(int videoState) { in answer() argument 1294 mConnectionService.answer(this, videoState); in answer() 1886 public void setVideoState(int videoState) { in setVideoState() argument 1895 mVideoStateHistory = mVideoStateHistory | videoState; in setVideoState() 1898 mVideoState = videoState; in setVideoState()
|
D | ConnectionServiceWrapper.java | 454 public void setVideoState(String callId, int videoState) { in setVideoState() argument 459 logIncoming("setVideoState %s %d", callId, videoState); in setVideoState() 462 call.setVideoState(videoState); in setVideoState() 829 void answer(Call call, int videoState) { in answer() argument 833 logOutgoing("answer %s %d", callId, videoState); in answer() 834 if (VideoProfile.isAudioOnly(videoState)) { in answer() 837 mServiceInterface.answerVideo(callId, videoState); in answer()
|
D | InCallAdapter.java | 48 public void answerCall(String callId, int videoState) { in answerCall() argument 54 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall() 57 mCallsManager.answerCall(call, videoState); in answerCall()
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
D | IntentUtil.java | 89 Uri uri, PhoneAccountHandle accountHandle, int videoState, int callIntiationType) { in getCallIntent() argument 91 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in getCallIntent()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 157 int videoState = (int) msg.obj; 158 setVideoState(videoState); 246 public void onVideoStateChanged(int videoState) { 247 mHandler.obtainMessage(MSG_SET_VIDEO_STATE, videoState).sendToTarget(); 477 public void onAnswer(int videoState) { in onAnswer() argument 481 getPhone().acceptCall(videoState); in onAnswer()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallIntentProcessor.java | 136 int videoState = intent.getIntExtra( in processOutgoingCallIntent() local 139 Log.d(this, "processOutgoingCallIntent videoState = " + videoState); in processOutgoingCallIntent()
|