/packages/services/Telecomm/src/com/android/server/telecom/ |
D | VideoProviderProxy.java | 160 VideoProfile.videoStateToString(videoProfile.getVideoState())); in receiveSessionModifyRequest() 164 videoProfile.getVideoState()); in receiveSessionModifyRequest() 168 && VideoProfile.isVideo(videoProfile.getVideoState())) { in receiveSessionModifyRequest() 212 (responseProfile != null ? responseProfile.getVideoState() : "null"); in receiveSessionModifyResponse() 220 responseProfile.getVideoState()); in receiveSessionModifyResponse() 440 VideoProfile.videoStateToString(toProfile.getVideoState())); in onSendSessionModifyRequest() 441 if (!VideoProfile.isVideo(fromProfile.getVideoState()) in onSendSessionModifyRequest() 442 && VideoProfile.isVideo(toProfile.getVideoState())) { in onSendSessionModifyRequest() 444 mCall.maybeEnableSpeakerForVideoUpgrade(toProfile.getVideoState()); in onSendSessionModifyRequest() 448 toProfile.getVideoState()); in onSendSessionModifyRequest() [all …]
|
D | CallAudioManager.java | 199 if (mCallsManager.isSpeakerphoneAutoEnabledForVideoCalls(call.getVideoState())) { in onExternalCallChanged() 246 int previousVideoState = call.getVideoState(); in onSessionModifyRequestReceived() 247 int newVideoState = videoProfile.getVideoState(); in onSessionModifyRequestReceived()
|
D | TelecomBroadcastIntentProcessor.java | 145 mCallsManager.answerCall(incomingCall, incomingCall.getVideoState()); in processIntent()
|
D | Call.java | 730 getVideoStateDescription(getVideoState()), in toString() 1413 if (!mIsVideoCallingSupportedByPhoneAccount && VideoProfile.isVideo(getVideoState())) { in checkIfVideoCapable() 1752 setVideoState(connection.getVideoState()); in handleCreateConnectionSuccess() 2847 public int getVideoState() { in getVideoState() method in Call
|
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/ |
D | ImsVideoTech.java | 69 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in isAvailable() 97 return VideoProfile.isVideo(call.getDetails().getVideoState()); in isTransmittingOrReceiving() 150 int newVideoState = call.getDetails().getVideoState(); in onCallStateChanged() 180 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in upgradeToVideo() 210 .sendSessionModifyResponse(new VideoProfile(call.getDetails().getVideoState())); in declineVideoRequest() 217 return VideoProfile.isTransmissionEnabled(call.getDetails().getVideoState()); in isTransmitting() 226 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in stopTransmission() 238 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in resumeTransmission() 266 int pausedVideoState = call.getDetails().getVideoState() | VideoProfile.STATE_PAUSED; in pause() 300 int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState()); in unpause()
|
D | ImsVideoCallCallback.java | 62 int previousVideoState = ImsVideoTech.getUnpausedVideoState(call.getDetails().getVideoState()); in onSessionModifyRequestReceived() 63 int newVideoState = ImsVideoTech.getUnpausedVideoState(videoProfile.getVideoState()); in onSessionModifyRequestReceived() 157 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in getSessionModificationStateFromTelecomStatus()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | VideoCallPresenter.java | 229 cameraDir = toCameraDirection(call.getVideoState()); in updateCameraSelection() 242 cameraDir = toCameraDirection(call.getVideoState()); in updateCameraSelection() 254 cameraDir = toCameraDirection(call.getVideoState()); in updateCameraSelection() 416 primaryCall.getVideoState(), in onCameraPermissionGranted() 551 final boolean hasVideoStateChanged = currentVideoState != call.getVideoState(); in checkForVideoStateChange() 561 VideoProfile.videoStateToString(call.getVideoState())); in checkForVideoStateChange() 607 call.getVideoState(), in checkForCallStateChange() 648 currentVideoState = call.getVideoState(); in updateCallCache() 758 primaryCall.getVideoState(), primaryCall.getVideoTech().getSessionModificationState()); in isCameraRequired() 769 int newVideoState = call.getVideoState(); in adjustVideoMode() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | IncomingCallNotifierTest.java | 72 when(mAudioCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp() 74 when(mVideoCall.getVideoState()).thenReturn(VideoProfile.STATE_BIDIRECTIONAL); in setUp() 79 when(mRingingCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp()
|
D | VideoProviderTest.java | 452 fromVideoProfileCaptor.getValue().getVideoState()); in testSessionModifyRequest() 454 toVideoProfileCaptor.getValue().getVideoState()); in testSessionModifyRequest() 473 … return response != null && response.getVideoState() == VideoProfile.STATE_TX_ENABLED; in testSessionModifyResponse() 557 requestProfileCaptor.getValue().getVideoState()); in testReceiveSessionModifyRequest()
|
D | VideoProviderProxyTest.java | 96 assertEquals(VideoProfile.STATE_AUDIO_ONLY, capturedProfile.getValue().getVideoState()); in testReceiveUpgradeRequestWhenLocalDoesntSupportVideo() 119 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, capturedProfile.getValue().getVideoState()); in testReceiveUpgradeRequestWhenVideoIsSupported()
|
D | ConnectionServiceFixture.java | 87 mLatestConnection = new FakeConnection(request.getVideoState(), request.getAddress()); in onCreateUnknownConnection() 95 mVideoState == INVALID_VIDEO_STATE ? request.getVideoState() : mVideoState, in onCreateIncomingConnection() 111 FakeConnection fakeConnection = new FakeConnection(request.getVideoState(), in onCreateOutgoingConnection() 241 c.videoState = request.getVideoState(); in createConnection()
|
D | BasicCallTests.java | 929 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountVideo() 934 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountVideo() 952 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, call.getVideoState()); in testOutgoingCallSelectPhoneAccountNoVideo() 957 assertEquals(VideoProfile.STATE_AUDIO_ONLY, call.getVideoState()); in testOutgoingCallSelectPhoneAccountNoVideo()
|
D | AnalyticsTests.java | 265 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[0].getVideoState()); in testAnalyticsVideo() 270 assertEquals(VideoProfile.STATE_RX_ENABLED, videoEvents[1].getVideoState()); in testAnalyticsVideo()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorVideoProvider.java | 103 Integer.toString(fromProfile.getVideoState()), in onSendSessionModifyRequest() 104 Integer.toString(toProfile.getVideoState()))); in onSendSessionModifyRequest()
|
D | SimulatorConnection.java | 179 setVideoState(toProfile.getVideoState()); in handleSessionModifyRequest()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedConnectionService.java | 99 connection.setVideoState(request.getVideoState()); in createSelfManagedConnection() 139 connection.setVideoState(request.getVideoState()); in createSelfManagedConnection()
|
D | TestCallList.java | 61 "onSessionModifyRequestReceived: videoState = " + videoProfile.getVideoState() in onSessionModifyRequestReceived() 70 + responseProfile.getVideoState() in onSessionModifyResponseReceived()
|
D | TestVideoProvider.java | 157 requestProfile.getVideoState(), requestProfile.getQuality()); in onSendSessionModifyRequest() 158 mConnection.setVideoState(requestProfile.getVideoState()); in onSendSessionModifyRequest()
|
D | TestConnectionService.java | 417 originalRequest.getVideoState()); 418 connection.setVideoState(originalRequest.getVideoState());
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 784 if (VideoProfile.isVideo(request.getVideoState()) && isTtyModeEnabled in getTelephonyConnection() 809 request.getTelecomCallId(), request.getAddress(), request.getVideoState()); in getTelephonyConnection() 819 connection.setVideoState(request.getVideoState()); in getTelephonyConnection() 870 int videoState = originalConnection != null ? originalConnection.getVideoState() : in onCreateIncomingConnection() 1025 int videoState = unknownConnection != null ? unknownConnection.getVideoState() : in onCreateUnknownConnection() 1198 int videoState = c.getVideoState(); in retryOutgoingOriginalConnection() 1224 placeOutgoingConnection(connection, phone, request.getVideoState(), request.getExtras()); in placeOutgoingConnection()
|
D | ImsConference.java | 433 public int getVideoState() { in getVideoState() method in ImsConference 435 return mConferenceHost.getVideoState(); in getVideoState() 789 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate() 802 connection.setVideoState(parent.getVideoState()); in handleConferenceParticipantsUpdate()
|
D | ConferenceParticipantConnection.java | 76 setVideoState(parentConnection.getVideoState()); in ConferenceParticipantConnection()
|
D | TelephonyConnection.java | 1168 setVideoState(mOriginalConnection.getVideoState()); in setOriginalConnection() 1305 boolean isVideoCall = VideoProfile.isVideo(getVideoState()); in hasHighDefAudioProperty() 2192 boolean isVideoCall = VideoProfile.isVideo(getVideoState()); in refreshConferenceSupported()
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | IncomingCallNotifier.java | 209 boolean isIncomingVideo = VideoProfile.isVideo(incomingCall.getVideoState()); in getNotificationBuilder() 211 VideoProfile.isVideo(ongoingCall.getVideoState()) : false; in getNotificationBuilder()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 1061 public int getVideoState() { in getVideoState() method in DialerCall 1062 return telecomCall.getDetails().getVideoState(); in getVideoState() 1066 return getVideoTech().isTransmittingOrReceiving() || VideoProfile.isVideo(getVideoState()); in isVideoCall() 1257 VideoProfile.videoStateToString(telecomCall.getDetails().getVideoState()), in toString() 1465 answer(telecomCall.getDetails().getVideoState()); in answer()
|