/packages/apps/Dialer/java/com/android/incallui/ |
D | VideoCallPresenter.java | 151 private static boolean isCameraRequired(int videoState, int sessionModificationState) { in isCameraRequired() argument 152 return VideoProfile.isBidirectional(videoState) in isCameraRequired() 153 || VideoProfile.isTransmissionEnabled(videoState) in isCameraRequired() 166 static boolean showIncomingVideo(int videoState, int callState) { in showIncomingVideo() argument 168 boolean isPaused = VideoProfile.isPaused(videoState); in showIncomingVideo() 176 && VideoProfile.isReceptionEnabled(videoState); in showIncomingVideo() 187 Context context, int videoState, int sessionModificationState) { in showOutgoingVideo() argument 193 return VideoProfile.isTransmissionEnabled(videoState) in showOutgoingVideo() 268 private static int toCameraDirection(int videoState) { in toCameraDirection() argument 269 return VideoProfile.isTransmissionEnabled(videoState) in toCameraDirection() [all …]
|
D | NotificationBroadcastReceiver.java | 167 private void answerIncomingCall(int videoState, @NonNull Context context) { in answerIncomingCall() argument 191 answerIncomingCallCallback(call, videoState); in answerIncomingCall() 196 answerIncomingCallCallback(call, videoState); in answerIncomingCall() 206 private void answerIncomingCallCallback(@NonNull DialerCall call, int videoState) { in answerIncomingCallCallback() argument 207 call.answer(videoState); in answerIncomingCallCallback()
|
D | StatusBarNotifier.java | 129 private int videoState = VideoProfile.STATE_AUDIO_ONLY; field in StatusBarNotifier 489 int videoState, in checkForChangeAndSaveData() argument 513 || (this.videoState != videoState) in checkForChangeAndSaveData() 526 (this.videoState != videoState), in checkForChangeAndSaveData() 545 this.videoState = videoState; in checkForChangeAndSaveData()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
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 | TestCallList.java | 184 public void sendUpgradeToVideoRequest(int videoState) { in sendUpgradeToVideoRequest() argument 185 Log.v(TAG, "sendUpgradeToVideoRequest : videoState = " + videoState); in sendUpgradeToVideoRequest() 195 videoCall.sendSessionModifyRequest(new VideoProfile(videoState)); in sendUpgradeToVideoRequest() 205 public void sendUpgradeToVideoResponse(int videoState) { in sendUpgradeToVideoResponse() argument 206 Log.v(TAG, "sendUpgradeToVideoResponse : videoState = " + videoState); in sendUpgradeToVideoResponse() 215 videoCall.sendSessionModifyResponse(new VideoProfile(videoState)); in sendUpgradeToVideoResponse()
|
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()
|
D | TestConnectionManager.java | 89 public void onVideoStateChanged(RemoteConnection connection, int videoState) { 90 if (videoState == VideoProfile.STATE_BIDIRECTIONAL) { 93 setVideoState(videoState); 169 public void onAnswer(int videoState) { in onAnswer() argument 170 mRemote.answer(videoState); in onAnswer()
|
D | TestConnectionService.java | 231 public void onAnswer(int videoState) { in onAnswer() argument 232 setVideoState(videoState); in onAnswer() 429 int videoState = extras.getInt(EXTRA_START_VIDEO_STATE, VideoProfile.STATE_AUDIO_ONLY); 435 VideoProfile.isVideo(videoState)), null) 437 connection.setVideoState(videoState); 463 connection.setVideoState(videoState);
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | TestInCallServiceBroadcastReceiver.java | 55 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); in onReceive() local 56 CarModeCallList.getInstance().sendUpgradeToVideoRequest(videoState); in onReceive() 58 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); in onReceive() local 59 CarModeCallList.getInstance().sendUpgradeToVideoResponse(videoState); in onReceive()
|
D | CarModeCallList.java | 184 public void sendUpgradeToVideoRequest(int videoState) { in sendUpgradeToVideoRequest() argument 185 Log.v(TAG, "sendUpgradeToVideoRequest : videoState = " + videoState); in sendUpgradeToVideoRequest() 195 videoCall.sendSessionModifyRequest(new VideoProfile(videoState)); in sendUpgradeToVideoRequest() 205 public void sendUpgradeToVideoResponse(int videoState) { in sendUpgradeToVideoResponse() argument 206 Log.v(TAG, "sendUpgradeToVideoResponse : videoState = " + videoState); in sendUpgradeToVideoResponse() 215 videoCall.sendSessionModifyResponse(new VideoProfile(videoState)); in sendUpgradeToVideoResponse()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomSystemTest.java | 657 int videoState, Intent callIntentExtras) throws Exception { in startOutgoingPhoneCall() argument 662 connectionServiceFixture, initiatingUser, videoState, callIntentExtras); in startOutgoingPhoneCall() 694 int videoState) throws Exception { in startOutgoingEmergencyCall() argument 705 connectionServiceFixture, initiatingUser, videoState, true /*isEmergency*/, null); in startOutgoingEmergencyCall() 714 int videoState, boolean isEmergency, Intent actionCallIntent) throws Exception { in startOutgoingPhoneCallWaitForBroadcaster() argument 742 if (videoState != VideoProfile.STATE_AUDIO_ONLY) { in startOutgoingPhoneCallWaitForBroadcaster() 743 actionCallIntent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in startOutgoingPhoneCallWaitForBroadcaster() 774 int videoState, Intent callIntentExtras) throws Exception { in startOutgoingPhoneCallPendingCreateConnection() argument 777 videoState, false /*isEmergency*/, callIntentExtras); in startOutgoingPhoneCallPendingCreateConnection() 897 int videoState, in startIncomingPhoneCall() argument [all …]
|
D | ConnectionServiceFixture.java | 170 public FakeConnection(int videoState, Uri address) { in FakeConnection() argument 176 setVideoState(videoState); in FakeConnection() 259 c.videoState = request.getVideoState(); in createConnection() 311 public void answerVideo(String callId, int videoState, in answerVideo() argument 491 int videoState; field in ConnectionServiceFixture.ConnectionInfo 505 int videoState; field in ConnectionServiceFixture.ConferenceInfo 661 a.setVideoState(id, mConnectionById.get(id).videoState, null /*Session.Info*/); in sendSetVideoState() 751 .setVideoAttributes(c.videoProvider, c.videoState) in parcelable() 770 c.videoState, in parcelable()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 317 int videoState = VideoProfile.STATE_BIDIRECTIONAL; in emergencyCallTestHelper() local 322 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in emergencyCallTestHelper() 330 eq(isSpeakerphoneOn), eq(videoState)); in emergencyCallTestHelper() 462 int videoState = VideoProfile.STATE_BIDIRECTIONAL; 465 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState);
|
/packages/apps/Dialer/java/com/android/dialer/precall/externalreceiver/ |
D | LaunchPreCallActivity.java | 107 int videoState = intentExtras.getInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE); in filterExtras() local 108 switch (videoState) { in filterExtras() 119 "unsupported video state " + videoState + ", overriding to STATE_BIDIRECTIONAL"); in filterExtras() 123 LogUtil.w("LaunchPreCallActivity.filterExtras", "unknown video state " + videoState); in filterExtras()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/ |
D | BluetoothCall.java | 85 public void answer(int videoState) { in answer() argument 86 mCall.answer(videoState); in answer() 167 public void handoverTo(PhoneAccountHandle toHandle, int videoState, Bundle extras) { in handoverTo() argument 168 mCall.handoverTo(toHandle, videoState, extras); in handoverTo()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 1072 int videoState = videoProfile != null ? videoProfile.getVideoState() : in onSessionModifyRequestReceived() local 1075 .videoStateToString(videoState)); in onSessionModifyRequestReceived() 1122 public void onHandoverRequested(Call call, PhoneAccountHandle handoverTo, int videoState, in onHandoverRequested() argument 1125 requestHandoverViaEvents(call, handoverTo, videoState, extras); in onHandoverRequested() 1127 requestHandover(call, handoverTo, videoState, extras); in onHandoverRequested() 1337 int videoState = VideoProfile.STATE_AUDIO_ONLY; in processIncomingCallIntent() local 1341 videoState = extras.getInt(TelecomManager.EXTRA_INCOMING_VIDEO_STATE); in processIncomingCallIntent() 1342 call.setVideoState(videoState); in processIncomingCallIntent() 1392 if (isSpeakerEnabledForVideoCalls() && VideoProfile.isVideo(videoState)) { in processIncomingCallIntent() 1582 int videoState = VideoProfile.STATE_AUDIO_ONLY; in startOutgoingCall() local [all …]
|
D | Call.java | 161 void onHandoverRequested(Call call, PhoneAccountHandle handoverTo, int videoState, in onHandoverRequested() argument 251 public void onHandoverRequested(Call call, PhoneAccountHandle handoverTo, int videoState, in onHandoverRequested() argument 1020 private String getVideoStateDescription(int videoState) { in getVideoStateDescription() argument 1024 if (VideoProfile.isTransmissionEnabled(videoState)) { in getVideoStateDescription() 1028 if (VideoProfile.isReceptionEnabled(videoState)) { in getVideoStateDescription() 1032 if (VideoProfile.isPaused(videoState)) { in getVideoStateDescription() 2468 public void answer(int videoState) { in answer() argument 2472 if (!isVideoCallingSupportedByPhoneAccount() && VideoProfile.isVideo(videoState)) { in answer() 2475 videoState = VideoProfile.STATE_AUDIO_ONLY; in answer() 2482 mConnectionService.answer(this, videoState); in answer() [all …]
|
D | InCallAdapter.java | 52 public void answerCall(String callId, int videoState) { in answerCall() argument 58 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall() 61 mCallsManager.answerCall(call, videoState); in answerCall() 758 public void handoverTo(String callId, PhoneAccountHandle destAcct, int videoState, in handoverTo() argument 767 call.handoverTo(destAcct, videoState, extras); in handoverTo()
|
D | NewOutgoingCallIntentBroadcaster.java | 347 int videoState = mIntent.getIntExtra( in processCall() local 351 speakerphoneOn, videoState); in processCall() 496 boolean speakerphoneOn, int videoState) { in placeOutgoingCallImmediately() argument 502 mCallsManager.placeOutgoingCall(call, handle, gatewayInfo, speakerphoneOn, videoState); in placeOutgoingCallImmediately()
|
D | TelecomServiceImpl.java | 1074 public void acceptRingingCallWithVideoState(String packageName, int videoState) { 1082 acceptRingingCallInternal(videoState, packageName); 1395 public void acceptHandover(Uri srcAddr, int videoState, PhoneAccountHandle destAcct) { 1400 Log.pii(srcAddr), VideoProfile.videoStateToString(videoState), 1426 mCallsManager.acceptHandover(srcAddr, videoState, destAcct); 2284 private void acceptRingingCallInternal(int videoState, String packageName) { in acceptRingingCallInternal() argument 2294 if (videoState == DEFAULT_VIDEO_STATE || !isValidAcceptVideoState(videoState)) { in acceptRingingCallInternal() 2295 videoState = call.getVideoState(); in acceptRingingCallInternal() 2297 mCallsManager.answerCall(call, videoState); in acceptRingingCallInternal() 2726 private boolean isValidAcceptVideoState(int videoState) { [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallIntentProcessor.java | 146 int videoState = intent.getIntExtra( in processOutgoingCallIntent() local 149 Log.d(this, "processOutgoingCallIntent videoState = " + videoState); in processOutgoingCallIntent()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 213 int videoState = (int) msg.obj; 214 setTelephonyVideoState(videoState); 541 public void onVideoStateChanged(android.telecom.Connection c, int videoState) {} in onVideoStateChanged() argument 582 public void onVideoStateChanged(int videoState) { 583 mHandler.obtainMessage(MSG_SET_VIDEO_STATE, videoState).sendToTarget(); 1031 public void onAnswer(int videoState) { in onAnswer() argument 1032 performAnswer(videoState); in onAnswer() 1269 public void performAnswer(int videoState) { in performAnswer() argument 1275 getPhone().acceptCall(videoState); in performAnswer() 3318 public void setTelephonyVideoState(int videoState) { in setTelephonyVideoState() argument [all …]
|
D | ImsConference.java | 232 public void onVideoStateChanged(android.telecom.Connection c, int videoState) { 233 Log.d(this, "onVideoStateChanged video state %d", videoState); 234 setVideoState(c, videoState); 677 public void onAnswer(int videoState) { in onAnswer() argument 681 mConferenceHost.performAnswer(videoState); in onAnswer()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorConnection.java | 88 public void onAnswer(int videoState) { in onAnswer() argument 90 onEvent(new Event(Event.ANSWER, Integer.toString(videoState), null)); in onAnswer()
|
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/ |
D | ImsVideoTech.java | 345 static int getUnpausedVideoState(int videoState) { in getUnpausedVideoState() argument 346 return videoState & (~VideoProfile.STATE_PAUSED); in getUnpausedVideoState()
|