/packages/apps/Dialer/java/com/android/incallui/ |
D | VideoCallPresenter.java | 149 private static boolean isCameraRequired(int videoState, int sessionModificationState) { in isCameraRequired() argument 150 return VideoProfile.isBidirectional(videoState) in isCameraRequired() 151 || VideoProfile.isTransmissionEnabled(videoState) in isCameraRequired() 164 public static boolean showIncomingVideo(int videoState, int callState) { in showIncomingVideo() argument 169 boolean isPaused = VideoProfile.isPaused(videoState); in showIncomingVideo() 177 && VideoProfile.isReceptionEnabled(videoState); in showIncomingVideo() 188 Context context, int videoState, int sessionModificationState) { in showOutgoingVideo() argument 198 return VideoProfile.isTransmissionEnabled(videoState) in showOutgoingVideo() 273 private static int toCameraDirection(int videoState) { in toCameraDirection() argument 274 return VideoProfile.isTransmissionEnabled(videoState) in toCameraDirection() [all …]
|
D | NotificationBroadcastReceiver.java | 134 private void answerIncomingCall(Context context, int videoState) { in answerIncomingCall() argument 142 call.answer(videoState); in answerIncomingCall()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomSystemTest.java | 535 int videoState) throws Exception { in startOutgoingPhoneCall() argument 540 connectionServiceFixture, initiatingUser, videoState); in startOutgoingPhoneCall() 569 int videoState) throws Exception { in startOutgoingEmergencyCall() argument 576 connectionServiceFixture, initiatingUser, videoState, true /*isEmergency*/); in startOutgoingEmergencyCall() 585 int videoState, boolean isEmergency) throws Exception { in startOutgoingPhoneCallWaitForBroadcaster() argument 611 if (videoState != VideoProfile.STATE_AUDIO_ONLY) { in startOutgoingPhoneCallWaitForBroadcaster() 612 actionCallIntent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in startOutgoingPhoneCallWaitForBroadcaster() 643 int videoState) throws Exception { in startOutgoingPhoneCallPendingCreateConnection() argument 645 connectionServiceFixture, initiatingUser, videoState, false /*isEmergency*/); in startOutgoingPhoneCallPendingCreateConnection() 739 int videoState, in startIncomingPhoneCall() argument [all …]
|
D | ConnectionServiceFixture.java | 148 public FakeConnection(int videoState, Uri address) { in FakeConnection() argument 154 setVideoState(videoState); in FakeConnection() 237 c.videoState = request.getVideoState(); in createConnection() 268 public void answerVideo(String callId, int videoState, in answerVideo() argument 398 int videoState; field in ConnectionServiceFixture.ConnectionInfo 411 int videoState; field in ConnectionServiceFixture.ConferenceInfo 561 a.setVideoState(id, mConnectionById.get(id).videoState, null /*Session.Info*/); in sendSetVideoState() 641 c.videoState, in parcelable() 659 c.videoState, in parcelable()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 235 int videoState = VideoProfile.STATE_BIDIRECTIONAL; in emergencyCallTestHelper() local 240 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in emergencyCallTestHelper() 245 eq(isSpeakerphoneOn), eq(videoState)); in emergencyCallTestHelper() 359 int videoState = VideoProfile.STATE_BIDIRECTIONAL; 362 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCallList.java | 182 public void sendUpgradeToVideoRequest(int videoState) { in sendUpgradeToVideoRequest() argument 183 Log.v(TAG, "sendUpgradeToVideoRequest : videoState = " + videoState); in sendUpgradeToVideoRequest() 193 videoCall.sendSessionModifyRequest(new VideoProfile(videoState)); in sendUpgradeToVideoRequest() 203 public void sendUpgradeToVideoResponse(int videoState) { in sendUpgradeToVideoResponse() argument 204 Log.v(TAG, "sendUpgradeToVideoResponse : videoState = " + videoState); in sendUpgradeToVideoResponse() 213 videoCall.sendSessionModifyResponse(new VideoProfile(videoState)); in sendUpgradeToVideoResponse()
|
D | TestInCallServiceBroadcastReceiver.java | 55 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); in onReceive() local 56 TestCallList.getInstance().sendUpgradeToVideoRequest(videoState); in onReceive() 58 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); in onReceive() local 59 TestCallList.getInstance().sendUpgradeToVideoResponse(videoState); in onReceive()
|
D | TestConnectionManager.java | 90 public void onVideoStateChanged(RemoteConnection connection, int videoState) { 91 if (videoState == VideoProfile.STATE_BIDIRECTIONAL) { 94 setVideoState(videoState); 170 public void onAnswer(int videoState) { in onAnswer() argument 171 mRemote.answer(videoState); in onAnswer()
|
D | TestConnectionService.java | 222 public void onAnswer(int videoState) { in onAnswer() argument 223 setVideoState(videoState); in onAnswer() 417 int videoState = extras.getInt(EXTRA_START_VIDEO_STATE, VideoProfile.STATE_AUDIO_ONLY); 423 VideoProfile.isVideo(videoState)), null) 425 connection.setVideoState(videoState); 451 connection.setVideoState(videoState);
|
D | CallNotificationReceiver.java | 84 public static void sendIncomingCallIntent(Context context, Uri handle, int videoState) { in sendIncomingCallIntent() argument 92 extras.putInt(TestConnectionService.EXTRA_START_VIDEO_STATE, videoState); in sendIncomingCallIntent() 100 public static void sendIncomingRttCallIntent(Context context, Uri handle, int videoState) { in sendIncomingRttCallIntent() argument 108 extras.putInt(TestConnectionService.EXTRA_START_VIDEO_STATE, videoState); in sendIncomingRttCallIntent()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Call.java | 652 private String getVideoStateDescription(int videoState) { in getVideoStateDescription() argument 656 if (VideoProfile.isTransmissionEnabled(videoState)) { in getVideoStateDescription() 660 if (VideoProfile.isReceptionEnabled(videoState)) { in getVideoStateDescription() 664 if (VideoProfile.isPaused(videoState)) { in getVideoStateDescription() 1543 public void answer(int videoState) { in answer() argument 1547 if (!isVideoCallingSupported() && VideoProfile.isVideo(videoState)) { in answer() 1550 videoState = VideoProfile.STATE_AUDIO_ONLY; in answer() 1557 mConnectionService.answer(this, videoState); in answer() 2333 public void setVideoState(int videoState) { in setVideoState() argument 2338 VideoProfile.videoStateToString(videoState)); in setVideoState() [all …]
|
D | TelecomServiceImpl.java | 765 public void acceptRingingCallWithVideoState(String packageName, int videoState) { 773 acceptRingingCallInternal(videoState); 1413 private void acceptRingingCallInternal(int videoState) { in acceptRingingCallInternal() argument 1416 if (videoState == DEFAULT_VIDEO_STATE || !isValidAcceptVideoState(videoState)) { in acceptRingingCallInternal() 1417 videoState = call.getVideoState(); in acceptRingingCallInternal() 1419 call.answer(videoState); in acceptRingingCallInternal() 1631 private boolean isValidAcceptVideoState(int videoState) { in isValidAcceptVideoState() argument 1634 int remainingState = videoState & ~VideoProfile.STATE_TX_ENABLED; in isValidAcceptVideoState()
|
D | CallsManager.java | 686 int videoState = videoProfile != null ? videoProfile.getVideoState() : in onSessionModifyRequestReceived() local 689 .videoStateToString(videoState)); in onSessionModifyRequestReceived() 1007 int videoState = extras.getInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, in startOutgoingCall() local 1014 if (VideoProfile.isVideo(videoState)) { in startOutgoingCall() 1022 videoState = VideoProfile.STATE_AUDIO_ONLY; in startOutgoingCall() 1028 videoState = VideoProfile.STATE_AUDIO_ONLY; in startOutgoingCall() 1032 call.setVideoState(videoState); in startOutgoingCall() 1147 boolean speakerphoneOn, int videoState) { in placeOutgoingCall() argument 1169 final boolean useSpeakerForVideoCall = isSpeakerphoneAutoEnabledForVideoCalls(videoState); in placeOutgoingCall() 1175 call.setVideoState(videoState); in placeOutgoingCall() [all …]
|
D | ConnectionServiceWrapper.java | 519 public void setVideoState(String callId, int videoState, Session.Info sessionInfo) { in setVideoState() argument 524 logIncoming("setVideoState %s %d", callId, videoState); in setVideoState() 527 call.setVideoState(videoState); in setVideoState() 1101 void answer(Call call, int videoState) { in answer() argument 1105 logOutgoing("answer %s %d", callId, videoState); in answer() 1106 if (VideoProfile.isAudioOnly(videoState)) { in answer() 1109 mServiceInterface.answerVideo(callId, videoState, Log.getExternalSession()); in answer()
|
D | InCallAdapter.java | 49 public void answerCall(String callId, int videoState) { in answerCall() argument 55 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall() 58 mCallsManager.answerCall(call, videoState); in answerCall()
|
D | CallIntentProcessor.java | 126 final int videoState = intent.getIntExtra( TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, in processOutgoingCallIntent() local 128 clientExtras.putInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in processOutgoingCallIntent()
|
D | NewOutgoingCallIntentBroadcaster.java | 278 int videoState = mIntent.getIntExtra( in processIntent() local 282 speakerphoneOn, videoState); in processIntent()
|
D | Analytics.java | 184 public void addVideoEvent(int eventId, int videoState) { in addVideoEvent() argument 328 public void addVideoEvent(int eventId, int videoState) { in addVideoEvent() argument 341 .setVideoState(videoState)); in addVideoEvent()
|
D | CallLogManager.java | 300 private static int getCallFeatures(int videoState, boolean isPulledCall) { in getCallFeatures() argument 302 if (VideoProfile.isVideo(videoState)) { in getCallFeatures()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 648 int videoState = originalConnection != null ? originalConnection.getVideoState() : in onCreateIncomingConnection() local 654 request.getAddress(), videoState); in onCreateIncomingConnection() 768 int videoState = unknownConnection != null ? unknownConnection.getVideoState() : in onCreateUnknownConnection() local 775 request.getAddress(), videoState); in onCreateUnknownConnection() 890 int videoState = c.getVideoState(); in retryOutgoingOriginalConnection() local 894 placeOutgoingConnection(c, newPhoneToUse, videoState, connExtras); in retryOutgoingOriginalConnection() 910 TelephonyConnection connection, Phone phone, int videoState, Bundle extras) { in placeOutgoingConnection() argument 916 originalConnection = phone.dial(number, null, videoState, extras); in placeOutgoingConnection() 962 int videoState) { in createConnectionFor() argument
|
D | TelephonyConnection.java | 173 int videoState = (int) msg.obj; 174 setVideoState(videoState); 286 public void onVideoStateChanged(int videoState) { 287 mHandler.obtainMessage(MSG_SET_VIDEO_STATE, videoState).sendToTarget(); 580 public void onAnswer(int videoState) { in onAnswer() argument 584 getPhone().acceptCall(videoState); in onAnswer()
|
D | ImsConference.java | 153 public void onVideoStateChanged(android.telecom.Connection c, int videoState) { 154 Log.d(this, "onVideoStateChanged video state %d", videoState); 155 setVideoState(c, videoState);
|
/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()
|
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/ |
D | ImsVideoTech.java | 254 static int getUnpausedVideoState(int videoState) { in getUnpausedVideoState() argument 255 return videoState & (~VideoProfile.STATE_PAUSED); in getUnpausedVideoState()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnection.java | 177 public void onAnswer(int videoState) { in onAnswer() argument 181 getPhone().acceptCall(videoState); in onAnswer()
|