/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/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 93 extras.putInt(TestConnectionService.EXTRA_START_VIDEO_STATE, videoState); in sendIncomingCallIntent() 101 public static void sendIncomingRttCallIntent(Context context, Uri handle, int videoState) { in sendIncomingRttCallIntent() argument 110 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/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 | 171 private void answerIncomingCall(int videoState, @NonNull Context context) { in answerIncomingCall() argument 195 answerIncomingCallCallback(call, videoState); in answerIncomingCall() 200 answerIncomingCallCallback(call, videoState); in answerIncomingCall() 210 private void answerIncomingCallCallback(@NonNull DialerCall call, int videoState) { in answerIncomingCallCallback() argument 211 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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomSystemTest.java | 716 int videoState, Intent callIntentExtras) throws Exception { in startOutgoingPhoneCall() argument 721 connectionServiceFixture, initiatingUser, videoState, callIntentExtras); in startOutgoingPhoneCall() 753 int videoState) throws Exception { in startOutgoingEmergencyCall() argument 764 connectionServiceFixture, initiatingUser, videoState, true /*isEmergency*/, null); in startOutgoingEmergencyCall() 773 int videoState, boolean isEmergency, Intent actionCallIntent) throws Exception { in startOutgoingPhoneCallWaitForBroadcaster() argument 801 if (videoState != VideoProfile.STATE_AUDIO_ONLY) { in startOutgoingPhoneCallWaitForBroadcaster() 802 actionCallIntent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); in startOutgoingPhoneCallWaitForBroadcaster() 833 int videoState, Intent callIntentExtras) throws Exception { in startOutgoingPhoneCallPendingCreateConnection() argument 836 videoState, false /*isEmergency*/, callIntentExtras); in startOutgoingPhoneCallPendingCreateConnection() 956 int videoState, in startIncomingPhoneCall() argument [all …]
|
D | ConnectionServiceFixture.java | 173 public FakeConnection(int videoState, Uri address) { in FakeConnection() argument 179 setVideoState(videoState); in FakeConnection() 262 c.videoState = request.getVideoState(); in createConnection() 314 public void answerVideo(String callId, int videoState, in answerVideo() argument 506 int videoState; field in ConnectionServiceFixture.ConnectionInfo 520 int videoState; field in ConnectionServiceFixture.ConferenceInfo 676 a.setVideoState(id, mConnectionById.get(id).videoState, null /*Session.Info*/); in sendSetVideoState() 766 .setVideoAttributes(c.videoProvider, c.videoState) in parcelable() 785 c.videoState, in parcelable()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TransactionalServiceWrapper.java | 200 public void answer(int videoState, String callId, android.os.ResultReceiver callback) 205 createTransactions(callId, callback, ANSWER, videoState); 267 public void requestVideoState(int videoState, String callId, ResultReceiver callback) 272 createTransactions(callId, callback, REQUEST_VIDEO_STATE, videoState); 430 public void onAnswer(Call call, int videoState) { in onAnswer() argument 435 videoState /*VideoState*/); in onAnswer() 608 public void onVideoStateChanged(Call call, int videoState) { in onVideoStateChanged() argument 611 mICallEventCallback.onVideoStateChanged(call.getId(), videoState); in onVideoStateChanged() local
|
D | CachedVideoStateChange.java | 31 public CachedVideoStateChange(int videoState) { in CachedVideoStateChange() argument 32 mCurrentVideoState = videoState; in CachedVideoStateChange()
|
D | CallsManager.java | 1309 int videoState = videoProfile != null ? videoProfile.getVideoState() : in onSessionModifyRequestReceived() local 1312 .videoStateToString(videoState)); in onSessionModifyRequestReceived() 1359 public void onHandoverRequested(Call call, PhoneAccountHandle handoverTo, int videoState, in onHandoverRequested() argument 1362 requestHandover(call, handoverTo, videoState, extras); in onHandoverRequested() 1623 int videoState = VideoProfile.STATE_AUDIO_ONLY; in processIncomingCallIntent() local 1627 videoState = extras.getInt(TelecomManager.EXTRA_INCOMING_VIDEO_STATE); in processIncomingCallIntent() 1628 call.setVideoState(videoState); in processIncomingCallIntent() 1678 if (isSpeakerEnabledForVideoCalls() && VideoProfile.isVideo(videoState)) { in processIncomingCallIntent() 1972 int videoState = VideoProfile.STATE_AUDIO_ONLY; in startOutgoingCall() local 1976 videoState = extras.getInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, in startOutgoingCall() [all …]
|
D | Call.java | 195 default void onHandoverRequested(Call call, PhoneAccountHandle handoverTo, int videoState, in onHandoverRequested() argument 290 public void onHandoverRequested(Call call, PhoneAccountHandle handoverTo, int videoState, in onHandoverRequested() argument 1212 private String getVideoStateDescription(int videoState) { in getVideoStateDescription() argument 1216 if (VideoProfile.isTransmissionEnabled(videoState)) { in getVideoStateDescription() 1220 if (VideoProfile.isReceptionEnabled(videoState)) { in getVideoStateDescription() 1224 if (VideoProfile.isPaused(videoState)) { in getVideoStateDescription() 2869 public void answer(int videoState) { in answer() argument 2873 if (!isVideoCallingSupportedByPhoneAccount() && VideoProfile.isVideo(videoState)) { in answer() 2876 videoState = VideoProfile.STATE_AUDIO_ONLY; in answer() 2883 mConnectionService.answer(this, videoState); in answer() [all …]
|
D | InCallAdapter.java | 55 public void answerCall(String callId, int videoState) { in answerCall() argument 61 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall() 64 mCallsManager.answerCall(call, videoState); in answerCall() 791 public void handoverTo(String callId, PhoneAccountHandle destAcct, int videoState, in handoverTo() argument 800 call.handoverTo(destAcct, videoState, extras); in handoverTo()
|
D | NewOutgoingCallIntentBroadcaster.java | 455 int videoState = mIntent.getIntExtra( in callImmediately() local 459 speakerphoneOn, videoState); in callImmediately() 592 boolean speakerphoneOn, int videoState) { in placeOutgoingCallImmediately() argument 598 mCallsManager.placeOutgoingCall(call, handle, gatewayInfo, speakerphoneOn, videoState); in placeOutgoingCallImmediately()
|
D | CallSourceService.java | 39 void onVideoStateChanged(Call activeCall, int videoState); in onVideoStateChanged() argument
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/ |
D | BluetoothCall.java | 87 public void answer(int videoState) { in answer() argument 88 mCall.answer(videoState); in answer() 169 public void handoverTo(PhoneAccountHandle toHandle, int videoState, Bundle extras) { in handoverTo() argument 170 mCall.handoverTo(toHandle, videoState, extras); in handoverTo()
|
/packages/services/Telecomm/src/com/android/server/telecom/voip/ |
D | CallEventCallbackAckTransaction.java | 80 int videoState, TelecomSystem.SyncRoot lock) { in CallEventCallbackAckTransaction() argument 85 mVideoState = videoState; in CallEventCallbackAckTransaction()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallIntentProcessor.java | 126 int videoState = intent.getIntExtra( in processOutgoingCallIntent() local 129 Log.d(this, "processOutgoingCallIntent videoState = " + videoState); in processOutgoingCallIntent()
|
/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/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 2008 int videoState = unknownConnection != null ? unknownConnection.getVideoState() : in onCreateUnknownConnection() local 2213 int videoState = c.getVideoState(); in retryOutgoingOriginalConnection() local 2228 placeOutgoingConnection(c, newPhoneToUse, videoState, connExtras); in retryOutgoingOriginalConnection() 2251 TelephonyConnection connection, Phone phone, int videoState, Bundle extras) { in placeOutgoingConnection() argument 2348 phone, videoState)) { in placeOutgoingConnection() 2360 .setVideoState(videoState) in placeOutgoingConnection() 2378 phone, videoState)) { in placeOutgoingConnection() 2382 .setVideoState(videoState) in placeOutgoingConnection() 2447 int domain, Phone phone, String number, int videoState, in handleOutgoingCallConnectionByCallDomainSelection() argument 2463 domain, phone, number, videoState); in handleOutgoingCallConnectionByCallDomainSelection() [all …]
|