HomeSort by relevance Sort by last modified time
    Searched full:videoprofile (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /cts/tests/tests/telecom/src/android/telecom/cts/
VideoProfileTest.java 19 import android.telecom.VideoProfile;
23 * Tests helper methods in the {@link VideoProfile} class.
27 assertTrue(VideoProfile.isAudioOnly(VideoProfile.STATE_AUDIO_ONLY));
28 assertTrue(VideoProfile.isAudioOnly(VideoProfile.STATE_PAUSED));
30 assertFalse(VideoProfile.isAudioOnly(VideoProfile.STATE_BIDIRECTIONAL));
31 assertFalse(VideoProfile.isAudioOnly(VideoProfile.STATE_TX_ENABLED))
    [all...]
MockVideoCallCallback.java 21 import android.telecom.VideoProfile;
22 import android.telecom.VideoProfile.CameraCapabilities;
35 private VideoProfile mRequestedProfile = null;
36 private VideoProfile mResponseProfile = null;
37 private VideoProfile mRequestProfile = null;
46 * @param videoProfile The requested video profile.
49 public void onSessionModifyRequestReceived(VideoProfile videoProfile) {
50 mRequestProfile = videoProfile;
61 public void onSessionModifyResponseReceived(int status, VideoProfile requestedProfile
    [all...]
VideoCallTest.java 25 import android.telecom.VideoProfile;
65 placeAndVerifyCall(VideoProfile.STATE_BIDIRECTIONAL);
75 assertVideoState(call, VideoProfile.STATE_BIDIRECTIONAL);
87 placeAndVerifyCall(VideoProfile.STATE_TX_ENABLED);
93 assertVideoState(call, VideoProfile.STATE_TX_ENABLED);
105 placeAndVerifyCall(VideoProfile.STATE_AUDIO_ONLY);
110 assertVideoState(call, VideoProfile.STATE_AUDIO_ONLY);
115 videoCall.sendSessionModifyRequest(new VideoProfile(VideoProfile.STATE_BIDIRECTIONAL));
116 assertVideoState(call, VideoProfile.STATE_BIDIRECTIONAL)
    [all...]
DataObjectUnitTests.java 39 import android.telecom.VideoProfile;
138 VideoProfile.STATE_AUDIO_ONLY);
144 assertEquals(VideoProfile.STATE_AUDIO_ONLY, request.getVideoState());
158 assertEquals(VideoProfile.STATE_AUDIO_ONLY, parcelRequest.getVideoState());
285 VideoProfile videoProfile = new VideoProfile(VideoProfile.STATE_BIDIRECTIONAL,
286 VideoProfile.QUALITY_HIGH);
287 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, videoProfile.getVideoState())
    [all...]
MockVideoProvider.java 23 import android.telecom.VideoProfile;
52 private VideoProfile mSessionModifyResponse = null;
96 public void onSendSessionModifyRequest(VideoProfile fromProfile, VideoProfile toProfile) {
103 public void onSendSessionModifyResponse(VideoProfile responseProfile) {
136 super.changeCameraCapabilities(new VideoProfile.CameraCapabilities(
139 super.changeCameraCapabilities(new VideoProfile.CameraCapabilities(
187 public void sendMockSessionModifyRequest(VideoProfile request) {
198 public void sendMockSessionModifyResponse(int status, VideoProfile requestProfile,
199 VideoProfile responseProfile)
    [all...]
RemoteConnectionTest.java 36 import android.telecom.VideoProfile;
108 call.answer(VideoProfile.STATE_AUDIO_ONLY);
458 mRemoteConnection.setVideoState(VideoProfile.STATE_BIDIRECTIONAL);
461 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, callbackInvoker.getArgs(0)[1]);
683 VideoProfile videoProfile) {
684 super.onSessionModifyRequestReceived(videoProvider, videoProfile);
685 callbackInvoker.invoke(videoProvider, videoProfile);
692 VideoProfile requestedProfile,
693 VideoProfile responseProfile)
    [all...]
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
VideoUtils.java 19 import android.telecom.VideoProfile;
36 return VideoProfile.isTransmissionEnabled(videoState)
37 || VideoProfile.isReceptionEnabled(videoState);
45 return VideoProfile.isBidirectional(call.getVideoState());
53 return VideoProfile.isTransmissionEnabled(call.getVideoState());
82 return call != null && VideoProfile.isAudioOnly(call.getVideoState());
90 public static VideoProfile makeVideoPauseProfile(Call call) {
92 Preconditions.checkState(!VideoProfile.isAudioOnly(call.getVideoState()));
93 return new VideoProfile(getPausedVideoState(call.getVideoState()));
96 public static VideoProfile makeVideoUnPauseProfile(Call call)
    [all...]
InCallVideoCallCallback.java 22 import android.telecom.VideoProfile;
23 import android.telecom.VideoProfile.CameraCapabilities;
47 * @param videoProfile The requested video call profile.
50 public void onSessionModifyRequestReceived(VideoProfile videoProfile) {
51 Log.d(this, " onSessionModifyRequestReceived videoProfile=" + videoProfile);
53 int newVideoState = VideoUtils.getUnPausedVideoState(videoProfile.getVideoState());
76 public void onSessionModifyResponseReceived(int status, VideoProfile requestedProfile,
77 VideoProfile responseProfile)
    [all...]
NotificationBroadcastReceiver.java 22 import android.telecom.VideoProfile;
61 context, VideoProfile.STATE_BIDIRECTIONAL);
64 context, VideoProfile.STATE_AUDIO_ONLY);
72 VideoProfile.STATE_BIDIRECTIONAL, context);
  /frameworks/base/telecomm/java/com/android/internal/telecom/
IVideoCallback.aidl 19 import android.telecom.VideoProfile;
30 void receiveSessionModifyRequest(in VideoProfile videoProfile);
34 in VideoProfile requestedProfile,
35 in VideoProfile responseProfile);
43 void changeCameraCapabilities(in VideoProfile.CameraCapabilities cameraCapabilities);
IVideoProvider.aidl 21 import android.telecom.VideoProfile;
43 void sendSessionModifyRequest(in VideoProfile fromProfile, in VideoProfile toProfile);
45 void sendSessionModifyResponse(in VideoProfile responseProfile);
  /frameworks/base/telephony/java/com/android/ims/internal/
IImsVideoCallCallback.aidl 19 import android.telecom.VideoProfile;
34 void receiveSessionModifyRequest(in VideoProfile videoProfile);
36 void receiveSessionModifyResponse(int status, in VideoProfile requestedProfile,
37 in VideoProfile responseProfile);
45 void changeCameraCapabilities(in VideoProfile.CameraCapabilities cameraCapabilities);
IImsVideoCallProvider.aidl 21 import android.telecom.VideoProfile;
56 void sendSessionModifyRequest(in VideoProfile fromProfile, in VideoProfile toProfile);
58 void sendSessionModifyResponse(in VideoProfile responseProfile);
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestManagedVideoProvider.java 22 import android.telecom.VideoProfile;
23 import android.telecom.VideoProfile.CameraCapabilities;
32 VideoProfile videoProfile) {
33 super.onSessionModifyRequestReceived(rvp, videoProfile);
39 VideoProfile requestedProfile, VideoProfile responseProfile) {
100 public void onSendSessionModifyRequest(VideoProfile fromProfile,
101 VideoProfile requestProfile) {
106 public void onSendSessionModifyResponse(VideoProfile responseProfile)
    [all...]
TestCallList.java 21 import android.telecom.VideoProfile;
22 import android.telecom.VideoProfile.CameraCapabilities;
53 public void onSessionModifyRequestReceived(VideoProfile videoProfile) {
55 "onSessionModifyRequestReceived: videoState = " + videoProfile.getVideoState()
60 public void onSessionModifyResponseReceived(int status, VideoProfile requestedProfile,
61 VideoProfile responseProfile) {
181 videoCall.sendSessionModifyRequest(new VideoProfile(videoState));
201 videoCall.sendSessionModifyResponse(new VideoProfile(videoState));
  /frameworks/base/telecomm/java/android/telecom/
VideoProfile.java 29 public class VideoProfile implements Parcelable {
80 * if (videoState == VideoProfile.STATE_AUDIO_ONLY) {
86 * Instead, use the {@link VideoProfile#isAudioOnly(int)} helper function to check if a
91 * if (VideoProfile.isAudioOnly(videoState)) {
124 * Creates an instance of the VideoProfile
128 public VideoProfile(@VideoState int videoState) {
133 * Creates an instance of the VideoProfile
138 public VideoProfile(@VideoState int videoState, @VideoQuality int quality) {
145 * Valid values: {@link VideoProfile#STATE_AUDIO_ONLY},
146 * {@link VideoProfile#STATE_BIDIRECTIONAL}
    [all...]
VideoProfile.aidl 23 parcelable VideoProfile;
24 parcelable VideoProfile.CameraCapabilities;
VideoCallbackServant.java 58 mDelegate.receiveSessionModifyRequest((VideoProfile) msg.obj);
66 (VideoProfile) args.arg1,
67 (VideoProfile) args.arg2);
101 mDelegate.changeCameraCapabilities((VideoProfile.CameraCapabilities) msg.obj);
114 public void receiveSessionModifyRequest(VideoProfile videoProfile) throws RemoteException {
115 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_REQUEST, videoProfile).sendToTarget();
119 public void receiveSessionModifyResponse(int status, VideoProfile requestedProfile,
120 VideoProfile responseProfile) throws RemoteException {
152 VideoProfile.CameraCapabilities cameraCapabilities
    [all...]
VideoCallImpl.java 44 private int mVideoQuality = VideoProfile.QUALITY_UNKNOWN;
45 private int mVideoState = VideoProfile.STATE_AUDIO_ONLY;
59 public void receiveSessionModifyRequest(VideoProfile videoProfile) {
64 videoProfile).sendToTarget();
69 public void receiveSessionModifyResponse(int status, VideoProfile requestProfile,
70 VideoProfile responseProfile) {
121 public void changeCameraCapabilities(VideoProfile.CameraCapabilities cameraCapabilities) {
153 mCallback.onSessionModifyRequestReceived((VideoProfile) msg.obj);
159 VideoProfile requestProfile = (VideoProfile) args.arg2
    [all...]
  /frameworks/opt/net/ims/src/java/com/android/ims/internal/
ImsVideoCallProvider.java 27 import android.telecom.VideoProfile;
28 import android.telecom.VideoProfile.CameraCapabilities;
76 VideoProfile fromProfile = (VideoProfile) args.arg1;
77 VideoProfile toProfile = (VideoProfile) args.arg2;
86 onSendSessionModifyResponse((VideoProfile) msg.obj);
131 public void sendSessionModifyRequest(VideoProfile fromProfile, VideoProfile toProfile) {
138 public void sendSessionModifyResponse(VideoProfile responseProfile)
    [all...]
ImsVideoCallProviderWrapper.java 27 import android.telecom.VideoProfile;
50 void onReceiveSessionModifyResponse(int status, VideoProfile requestProfile,
51 VideoProfile responseProfile);
80 public void receiveSessionModifyRequest(VideoProfile VideoProfile) {
82 VideoProfile).sendToTarget();
87 int status, VideoProfile requestProfile, VideoProfile responseProfile) {
120 VideoProfile.CameraCapabilities cameraCapabilities) {
149 receiveSessionModifyRequest((VideoProfile) msg.obj)
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
VideoProviderTest.java 44 import android.telecom.VideoProfile;
45 import android.telecom.VideoProfile.CameraCapabilities;
251 * Tests the {@link VideoCall#sendSessionModifyRequest(VideoProfile)},
252 * {@link VideoProvider#onSendSessionModifyRequest(VideoProfile, VideoProfile)},
253 * {@link VideoProvider#receiveSessionModifyResponse(int, VideoProfile, VideoProfile)}, and
254 * {@link VideoCall.Callback#onSessionModifyResponseReceived(int, VideoProfile, VideoProfile)}
262 VideoProfile requestProfile = new VideoProfile(VideoProfile.STATE_BIDIRECTIONAL)
    [all...]
MockVideoProvider.java 27 import android.telecom.VideoProfile;
48 private VideoProfile mSessionModifyResponse = null;
53 * {@link #changeCameraCapabilities(VideoProfile.CameraCapabilities)} API.
113 public void onSendSessionModifyRequest(VideoProfile fromProfile, VideoProfile toProfile) {
120 * {@link VideoCall#sendSessionModifyResponse(VideoProfile)} API for retrieval via
126 public void onSendSessionModifyResponse(VideoProfile responseProfile) {
163 super.changeCameraCapabilities(new VideoProfile.CameraCapabilities(
166 super.changeCameraCapabilities(new VideoProfile.CameraCapabilities(
212 public VideoProfile getSessionModifyResponse()
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
VideoProviderProxy.java 25 import android.telecom.VideoProfile;
49 void onSessionModifyRequestReceived(Call call, VideoProfile videoProfile);
124 * @param videoProfile The requested video profile.
127 public void receiveSessionModifyRequest(VideoProfile videoProfile) {
131 logFromVideoProvider("receiveSessionModifyRequest: " + videoProfile);
133 VideoProfile.videoStateToString(videoProfile.getVideoState()));
137 videoProfile.getVideoState())
    [all...]
CallsManagerListenerBase.java 21 import android.telecom.VideoProfile;
80 public void onSessionModifyRequestReceived(Call call, VideoProfile videoProfile) {

Completed in 785 milliseconds

1 2 3 4