/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestInCallServiceBroadcastReceiver.java | 54 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); 55 TestCallList.getInstance().sendUpgradeToVideoRequest(videoState); 57 final int videoState = Integer.parseInt(intent.getData().getSchemeSpecificPart()); 58 TestCallList.getInstance().sendUpgradeToVideoResponse(videoState);
|
H A D | TestCallList.java | 55 "onSessionModifyRequestReceived: videoState = " + videoProfile.getVideoState() 63 "onSessionModifyResponseReceived: status = " + status + " videoState = " 170 public void sendUpgradeToVideoRequest(int videoState) { argument 171 Log.v(TAG, "sendUpgradeToVideoRequest : videoState = " + videoState); 181 videoCall.sendSessionModifyRequest(new VideoProfile(videoState)); 189 * @param videoState The video state to respond with. 191 public void sendUpgradeToVideoResponse(int videoState) { argument 192 Log.v(TAG, "sendUpgradeToVideoResponse : videoState = " + videoState); [all...] |
H A 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) { argument 148 mRemote.answer(videoState);
|
H A D | CallNotificationReceiver.java | 78 * @param videoState The video state requested for the incoming call. 80 public static void sendIncomingCallIntent(Context context, Uri handle, int videoState) { argument 88 extras.putInt(TestConnectionService.EXTRA_START_VIDEO_STATE, videoState);
|
H A D | TestConnectionService.java | 197 public void onAnswer(int videoState) { argument 198 setVideoState(videoState); 352 int videoState = extras.getInt(EXTRA_START_VIDEO_STATE, VideoProfile.STATE_AUDIO_ONLY); 358 VideoProfile.isVideo(videoState)), null) 360 connection.setVideoState(videoState); 389 videoState); 390 connection.setVideoState(videoState);
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | VideoUtils.java | 31 public static boolean isVideoCall(int videoState) { argument 36 return VideoProfile.isTransmissionEnabled(videoState) 37 || VideoProfile.isReceptionEnabled(videoState); 93 public static int getUnPausedVideoState(int videoState) { argument 94 return videoState & (~VideoProfile.STATE_PAUSED); 97 public static int getPausedVideoState(int videoState) { argument 98 return videoState | VideoProfile.STATE_PAUSED;
|
H A D | InCallVideoCallCallbackNotifier.java | 128 * @param videoState The video state we want to upgrade to. 130 public void upgradeToVideoRequest(Call call, int videoState) { argument 131 Log.d(this, "upgradeToVideoRequest call = " + call + " new video state = " + videoState); 133 listener.onUpgradeToVideoRequest(call, videoState); 217 * @param videoState The requested video state. 219 public void onUpgradeToVideoRequest(Call call, int videoState); argument
|
H A D | AnswerPresenter.java | 202 private boolean isEnabled(int videoState, int mask) { argument 203 return (videoState & mask) == mask; 232 public void onAnswer(int videoState, Context context) { argument 239 Log.d(this, "onAnswer (upgradeCall) mCallId=" + mCallId + " videoState=" + videoState); 240 InCallPresenter.getInstance().acceptUpgradeRequest(videoState, context); 242 Log.d(this, "onAnswer (answerCall) mCallId=" + mCallId + " videoState=" + videoState); 243 TelecomAdapter.getInstance().answerCall(mCall.getId(), videoState); 310 public void showTargets(int targetSet, int videoState); argument [all...] |
H A D | GlowPadAnswerFragment.java | 88 public void showTargets(int targetSet, int videoState) { argument 93 mGlowpad.setVideoState(videoState);
|
H A D | GlowPadWrapper.java | 153 * @param videoState The new video state. 155 public void setVideoState(int videoState) { argument 156 mVideoState = videoState;
|
H A D | AnswerFragment.java | 247 public void onAnswer(int videoState, Context context) { argument 248 Log.d(this, "onAnswer videoState=" + videoState + " context=" + context); 249 getPresenter().onAnswer(videoState, context); 300 public void showTargets(int targetSet, int videoState) { argument
|
H A D | VideoCallPresenter.java | 658 private static boolean isCameraRequired(int videoState) { argument 659 return VideoProfile.isBidirectional(videoState) || 660 VideoProfile.isTransmissionEnabled(videoState); 675 Log.d(this, "enterVideoMode videoCall= " + videoCall + " videoState: " + newVideoState); 745 * @param videoState The video state. 748 private void showVideoUi(int videoState, int callState) { argument 754 boolean showIncomingVideo = showIncomingVideo(videoState, callState); 755 boolean showOutgoingVideo = showOutgoingVideo(videoState); 761 if (VideoProfile.isReceptionEnabled(videoState)) { 769 VideoProfile.isAudioOnly(videoState)); 781 showIncomingVideo(int videoState, int callState) argument 800 showOutgoingVideo(int videoState) argument 1180 toCameraDirection(int videoState) argument [all...] |
H A D | TelecomAdapter.java | 61 void answerCall(String callId, int videoState) { argument 64 call.answer(videoState);
|
H A D | Call.java | 798 * @param videoState The requested video state. 800 public void setRequestedVideoState(int videoState) { argument 801 Log.d(this, "setRequestedVideoState - video state= " + videoState); 802 if (videoState == getVideoState()) { 809 mRequestedVideoState = videoState; 813 + mSessionModificationState + " video state= " + videoState); 907 "videoState:%s, mSessionModificationState:%d, VideoSettings:%s]",
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | ConnectionServiceFixture.java | 123 public FakeConnection(int videoState, Uri address) { argument 129 setVideoState(videoState); 203 c.videoState = request.getVideoState(); 215 public void answerVideo(String callId, int videoState) throws RemoteException { } argument 317 int videoState; field in class:ConnectionServiceFixture.ConnectionInfo 329 int videoState; field in class:ConnectionServiceFixture.ConferenceInfo 473 a.setVideoState(id, mConnectionById.get(id).videoState); 545 c.videoState, 562 c.videoState,
|
H A D | TelecomSystemTest.java | 451 int videoState) throws Exception { 456 connectionServiceFixture, initiatingUser, videoState); 465 int videoState) throws Exception { 487 if (videoState != VideoProfile.STATE_AUDIO_ONLY) { 488 actionCallIntent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); 572 int videoState, 584 connectionServiceFixture.mConnectionServiceDelegate.mVideoState = videoState; 684 ConnectionServiceFixture connectionServiceFixture, int videoState) throws Exception { 686 Process.myUserHandle(), videoState); 714 int videoState) throw 449 startOutgoingPhoneCall(String number, PhoneAccountHandle phoneAccountHandle, ConnectionServiceFixture connectionServiceFixture, UserHandle initiatingUser, int videoState) argument 462 startOutgoingPhoneCallPendingCreateConnection(String number, PhoneAccountHandle phoneAccountHandle, ConnectionServiceFixture connectionServiceFixture, UserHandle initiatingUser, int videoState) argument 569 startIncomingPhoneCall( String number, PhoneAccountHandle phoneAccountHandle, int videoState, final ConnectionServiceFixture connectionServiceFixture) argument 681 startAndMakeActiveOutgoingCall( String number, PhoneAccountHandle phoneAccountHandle, ConnectionServiceFixture connectionServiceFixture, int videoState) argument 710 startAndMakeActiveIncomingCall( String number, PhoneAccountHandle phoneAccountHandle, ConnectionServiceFixture connectionServiceFixture, int videoState) argument [all...] |
H A D | NewOutgoingCallIntentBroadcasterTest.java | 232 int videoState = VideoProfile.STATE_BIDIRECTIONAL; 237 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); 242 eq(isSpeakerphoneOn), eq(videoState)); 335 int videoState = VideoProfile.STATE_BIDIRECTIONAL; 338 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState);
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | IntentUtil.java | 84 * @param videoState Initial video state of the call. 89 Uri uri, PhoneAccountHandle accountHandle, int videoState, int callIntiationType) { 91 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); 88 getCallIntent( Uri uri, PhoneAccountHandle accountHandle, int videoState, int callIntiationType) argument
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
H A D | UserCallIntentProcessor.java | 136 int videoState = intent.getIntExtra( 139 Log.d(this, "processOutgoingCallIntent videoState = " + videoState);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | TelecomServiceImpl.java | 752 public void acceptRingingCallWithVideoState(int videoState) { 760 acceptRingingCallInternal(videoState); 1278 private void acceptRingingCallInternal(int videoState) { argument 1281 if (videoState == DEFAULT_VIDEO_STATE || !isValidAcceptVideoState(videoState)) { 1282 videoState = call.getVideoState(); 1284 call.answer(videoState); 1478 * @param videoState The video state. 1481 private boolean isValidAcceptVideoState(int videoState) { argument 1484 int remainingState = videoState [all...] |
H A D | CallIntentProcessor.java | 126 final int videoState = intent.getIntExtra( TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, 128 clientExtras.putInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState);
|
H A D | CallsManager.java | 549 int videoState = videoProfile != null ? videoProfile.getVideoState() : 552 .videoStateToString(videoState)); 792 int videoState = extras.getInt(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, 797 if (call.isEmergencyCall() && VideoProfile.isVideo(videoState)) { 808 videoState = VideoProfile.STATE_AUDIO_ONLY; 812 call.setVideoState(videoState); 901 * @param videoState The desired video state for the outgoing call. 905 boolean speakerphoneOn, int videoState) { 927 final boolean useSpeakerForVideoCall = isSpeakerphoneAutoEnabled(videoState); 933 call.setVideoState(videoState); 904 placeOutgoingCall(Call call, Uri handle, GatewayInfo gatewayInfo, boolean speakerphoneOn, int videoState) argument 986 answerCall(Call call, int videoState) argument 1042 isSpeakerphoneAutoEnabled(int videoState) argument [all...] |
H A D | ConnectionServiceWrapper.java | 454 public void setVideoState(String callId, int videoState) { argument 459 logIncoming("setVideoState %s %d", callId, videoState); 462 call.setVideoState(videoState); 829 void answer(Call call, int videoState) { argument 833 logOutgoing("answer %s %d", callId, videoState); 834 if (VideoProfile.isAudioOnly(videoState)) { 837 mServiceInterface.answerVideo(callId, videoState);
|
H A D | Call.java | 540 * @param videoState The video state. 543 private String getVideoStateDescription(int videoState) { argument 547 if (VideoProfile.isTransmissionEnabled(videoState)) { 551 if (VideoProfile.isReceptionEnabled(videoState)) { 555 if (VideoProfile.isPaused(videoState)) { 1281 * @param videoState The video state in which to answer the call. 1284 public void answer(int videoState) { argument 1294 mConnectionService.answer(this, videoState); 1884 * @param videoState The video state for the call. 1886 public void setVideoState(int videoState) { argument [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipConnection.java | 176 public void onAnswer(int videoState) { argument 180 getPhone().acceptCall(videoState);
|