Home
last modified time | relevance | path

Searched refs:VideoSession (Results 1 – 11 of 11) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DVideoListener.java68 case VideoSession.EVENT_OPEN_SESSION_SUCCESS: in onMessage()
73 case VideoSession.EVENT_OPEN_SESSION_FAILURE: in onMessage()
76 case VideoSession.EVENT_MODIFY_SESSION_RESPONSE: in onMessage()
83 case VideoSession.EVENT_FIRST_MEDIA_PACKET_IND: in onMessage()
89 case VideoSession.EVENT_PEER_DIMENSION_CHANGED: in onMessage()
92 case VideoSession.EVENT_RTP_HEADER_EXTENSION_IND: in onMessage()
95 case VideoSession.EVENT_MEDIA_INACTIVITY_IND: in onMessage()
96 case VideoSession.EVENT_NOTIFY_BITRATE_IND: in onMessage()
99 case VideoSession.EVENT_VIDEO_DATA_USAGE_IND: in onMessage()
102 case VideoSession.EVENT_SESSION_CLOSED: in onMessage()
DVideoLocalSession.java79 parcel.writeInt(VideoSession.CMD_MODIFY_SESSION); in modifySession()
119 parcel.writeInt(VideoSession.CMD_SET_MEDIA_QUALITY_THRESHOLD); in setMediaQualityThreshold()
143 parcel.writeInt(VideoSession.CMD_REQUEST_VIDEO_DATA_USAGE); in requestVideoDataUsage()
DImsMediaController.java75 session = new VideoSession(sessionId, in openSession()
103 } else if (session instanceof VideoSession) { in closeSession()
104 final VideoSession videoSession = in closeSession()
105 (VideoSession) IImsVideoSession.Stub.asInterface(session); in closeSession()
DVideoService.java99 parcel.writeInt(VideoSession.CMD_OPEN_SESSION); in openSession()
120 parcel.writeInt(VideoSession.CMD_CLOSE_SESSION); in closeSession()
DVideoSession.java45 public final class VideoSession extends IImsVideoSession.Stub implements IMediaSession { class
75 VideoSession(final int sessionId, final IImsVideoSessionCallback callback) { in VideoSession() method in VideoSession
87 VideoSession(final int sessionId, in VideoSession() method in VideoSession
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DVideoListenerTest.java63 VideoSession videoSession = new VideoSession(SESSION_ID, mMockIImsVideoSessionCallback, in setUp()
65 VideoSession.VideoSessionHandler handler = videoSession.getVideoSessionHandler(); in setUp()
89 Parcel parcel = createParcel(VideoSession.EVENT_OPEN_SESSION_SUCCESS, SESSION_ID); in testOpenSessionSuccess()
101 parcel.writeInt(VideoSession.EVENT_OPEN_SESSION_FAILURE); in testOpenSessionFailure()
116 parcel.writeInt(VideoSession.EVENT_MODIFY_SESSION_RESPONSE); in testEventModifySessionResponse()
131 parcel.writeInt(VideoSession.EVENT_FIRST_MEDIA_PACKET_IND); in testEventFirstMediaPacketInd()
144 parcel.writeInt(VideoSession.EVENT_PEER_DIMENSION_CHANGED); in testEventPeerDimensionChanged()
158 Parcel parcel = createParcel(VideoSession.EVENT_MEDIA_INACTIVITY_IND, in testEventMediaInactivityInd()
169 Parcel parcel = createParcel(VideoSession.EVENT_NOTIFY_BITRATE_IND, in testEventNotifyBitrateInd()
181 parcel.writeInt(VideoSession.EVENT_VIDEO_DATA_USAGE_IND); in testEventVideoDataUsageInd()
[all …]
DVideoSessionTest.java71 private VideoSession mVideoSession;
72 private VideoSession.VideoSessionHandler mHandler;
86 mVideoSession = new VideoSession(SESSION_ID, mCallback, in setUp()
154 createParcel(VideoSession.EVENT_MODIFY_SESSION_RESPONSE, SUCCESS, config)); in testModifySession()
164 createParcel(VideoSession.EVENT_MODIFY_SESSION_RESPONSE, NO_RESOURCES, config)); in testModifySession()
175 Utils.sendMessage(mHandler, VideoSession.CMD_SET_PREVIEW_SURFACE, PREVIEW_SURFACE); in testSurfaces()
179 Utils.sendMessage(mHandler, VideoSession.CMD_SET_DISPLAY_SURFACE, DISPLAY_SURFACE); in testSurfaces()
204 parcel.writeInt(VideoSession.EVENT_MEDIA_INACTIVITY_IND); in testMediaInactivityInd()
217 parcel2.writeInt(VideoSession.EVENT_MEDIA_INACTIVITY_IND); in testMediaInactivityInd()
233 parcel.writeInt(VideoSession.EVENT_PEER_DIMENSION_CHANGED); in testPeerDimensionChanged()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoSession.cpp24 VideoSession::VideoSession() in VideoSession() function in VideoSession
34 VideoSession::~VideoSession() in ~VideoSession()
72 SessionState VideoSession::getState() in getState()
95 ImsMediaResult VideoSession::startGraph(RtpConfig* config) in startGraph()
235 void VideoSession::onEvent(int32_t type, uint64_t param1, uint64_t param2) in onEvent()
290 ImsMediaResult VideoSession::setPreviewSurface(ANativeWindow* surface) in setPreviewSurface()
307 ImsMediaResult VideoSession::setDisplaySurface(ANativeWindow* surface) in setDisplaySurface()
324 void VideoSession::SendInternalEvent(int32_t type, uint64_t param1, uint64_t param2) in SendInternalEvent()
DVideoManager.cpp73 std::unique_ptr<VideoSession> session(new VideoSession()); in openSession()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/
DVideoSession.h28 class VideoSession : public BaseSession
31 VideoSession();
32 virtual ~VideoSession();
DVideoManager.h96 std::unordered_map<int, std::unique_ptr<VideoSession>> mSessions;