Home
last modified time | relevance | path

Searched refs:ImsMediaSession (Results 1 – 25 of 25) sorted by relevance

/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DVideoListenerTest.java29 import android.telephony.imsmedia.ImsMediaSession;
103 parcel.writeInt(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
107 eq(ImsMediaSession.RESULT_INVALID_PARAM)); in testOpenSessionFailure()
110 eq(ImsMediaSession.RESULT_INVALID_PARAM)); in testOpenSessionFailure()
117 parcel.writeInt(ImsMediaSession.RESULT_NO_RESOURCES); in testEventModifySessionResponse()
125 eq(ImsMediaSession.RESULT_NO_RESOURCES)); in testEventModifySessionResponse()
159 ImsMediaSession.PACKET_TYPE_RTP); in testEventMediaInactivityInd()
164 times(1)).notifyMediaInactivity(eq(ImsMediaSession.PACKET_TYPE_RTP)); in testEventMediaInactivityInd()
170 ImsMediaSession.PACKET_TYPE_RTCP); in testEventNotifyBitrateInd()
175 times(1)).notifyBitrate(eq(ImsMediaSession.PACKET_TYPE_RTCP)); in testEventNotifyBitrateInd()
DTextListenerTest.java29 import android.telephony.imsmedia.ImsMediaSession;
105 parcel.writeInt(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
110 eq(ImsMediaSession.RESULT_INVALID_PARAM)); in testOpenSessionFailure()
113 eq(ImsMediaSession.RESULT_INVALID_PARAM)); in testOpenSessionFailure()
119 ImsMediaSession.RESULT_NO_RESOURCES, mTextConfig); in testEventModifySessionResponse()
125 eq(ImsMediaSession.RESULT_NO_RESOURCES)); in testEventModifySessionResponse()
131 ImsMediaSession.PACKET_TYPE_RTP, mTextConfig); in testEventMediaInactivityInd()
136 times(1)).notifyMediaInactivity(eq(ImsMediaSession.PACKET_TYPE_RTP)); in testEventMediaInactivityInd()
DAudioListenerTest.java32 import android.telephony.imsmedia.ImsMediaSession;
111 parcel.writeInt(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
116 eq(ImsMediaSession.RESULT_INVALID_PARAM)); in testOpenSessionFailure()
118 eq(ImsMediaSession.RESULT_INVALID_PARAM)); in testOpenSessionFailure()
124 ImsMediaSession.RESULT_NO_RESOURCES, mAudioConfig)); in testEventModifySessionResponse()
128 eq(ImsMediaSession.RESULT_NO_RESOURCES)); in testEventModifySessionResponse()
134 ImsMediaSession.RESULT_NOT_READY, mAudioConfig)); in testEventAddConfigResponse()
138 eq(ImsMediaSession.RESULT_NOT_READY)); in testEventAddConfigResponse()
144 ImsMediaSession.RESULT_INVALID_PARAM, mAudioConfig)); in testEventConfirmConfigResponse()
148 eq(ImsMediaSession.RESULT_INVALID_PARAM)); in testEventConfirmConfigResponse()
DTextSessionTest.java31 import android.telephony.imsmedia.ImsMediaSession;
53 private static final int SUCCESS = ImsMediaSession.RESULT_SUCCESS;
54 private static final int NO_RESOURCES = ImsMediaSession.RESULT_NO_RESOURCES;
55 private static final int RTP = ImsMediaSession.PACKET_TYPE_RTP;
56 private static final int RTCP = ImsMediaSession.PACKET_TYPE_RTCP;
230 mTextSession.onOpenSessionFailure(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
233 verify(mCallback, times(1)).onOpenSessionFailure(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
DVideoSessionTest.java34 import android.telephony.imsmedia.ImsMediaSession;
59 private static final int SUCCESS = ImsMediaSession.RESULT_SUCCESS;
60 private static final int NO_RESOURCES = ImsMediaSession.RESULT_NO_RESOURCES;
61 private static final int RTP = ImsMediaSession.PACKET_TYPE_RTP;
62 private static final int RTCP = ImsMediaSession.PACKET_TYPE_RTCP;
319 mVideoSession.onOpenSessionFailure(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
322 verify(mCallback, times(1)).onOpenSessionFailure(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
DAudioSessionTest.java34 import android.telephony.imsmedia.ImsMediaSession;
64 private static final int SUCCESS = ImsMediaSession.RESULT_SUCCESS;
65 private static final int NO_RESOURCES = ImsMediaSession.RESULT_NO_RESOURCES;
387 audioSession.onOpenSessionFailure(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
390 verify(callback, times(1)).onOpenSessionFailure(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
DAudioOffloadTest.java40 import android.telephony.imsmedia.ImsMediaSession;
69 private static final int NO_RESOURCES = ImsMediaSession.RESULT_NO_RESOURCES;
70 private static final int NO_MEMORY = ImsMediaSession.RESULT_NO_MEMORY;
71 private static final int SUCCESS = ImsMediaSession.RESULT_SUCCESS;
DImsMediaManagerTest.java61 ImsMediaSession mMockImsMediaSession;
159 ImsMediaSession.SESSION_TYPE_AUDIO, mMockRtpConfig, mExecutor, in testOpenAndCloseSession()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DVideoService.java21 import android.telephony.imsmedia.ImsMediaSession;
36 mNativeObject = JNIImsMediaService.getInterface(ImsMediaSession.SESSION_TYPE_VIDEO); in VideoService()
83 return ImsMediaSession.RESULT_INVALID_PARAM; in openSession()
90 return ImsMediaSession.RESULT_INVALID_PARAM; in openSession()
104 sessionParams.getRtpConfig().writeToParcel(parcel, ImsMediaSession.SESSION_TYPE_VIDEO); in openSession()
107 return ImsMediaSession.RESULT_SUCCESS; in openSession()
DTextService.java21 import android.telephony.imsmedia.ImsMediaSession;
36 mNativeObject = JNIImsMediaService.getInterface(ImsMediaSession.SESSION_TYPE_RTT); in TextService()
82 return ImsMediaSession.RESULT_INVALID_PARAM; in openSession()
89 return ImsMediaSession.RESULT_INVALID_PARAM; in openSession()
103 sessionParams.getRtpConfig().writeToParcel(parcel, ImsMediaSession.SESSION_TYPE_RTT); in openSession()
106 return ImsMediaSession.RESULT_SUCCESS; in openSession()
DAudioService.java21 import android.telephony.imsmedia.ImsMediaSession;
36 mNativeObject = JNIImsMediaService.getInterface(ImsMediaSession.SESSION_TYPE_AUDIO); in AudioService()
83 return ImsMediaSession.RESULT_INVALID_PARAM; in openSession()
90 return ImsMediaSession.RESULT_INVALID_PARAM; in openSession()
104 sessionParams.getRtpConfig().writeToParcel(parcel, ImsMediaSession.SESSION_TYPE_AUDIO); in openSession()
107 return ImsMediaSession.RESULT_SUCCESS; in openSession()
DImsMediaController.java33 import android.telephony.imsmedia.ImsMediaSession;
69 case ImsMediaSession.SESSION_TYPE_AUDIO: in openSession()
73 case ImsMediaSession.SESSION_TYPE_VIDEO: in openSession()
78 case ImsMediaSession.SESSION_TYPE_RTT: in openSession()
DTextSession.java26 import android.telephony.imsmedia.ImsMediaSession;
208 if (result != ImsMediaSession.RESULT_SUCCESS) { in handleOpenSession()
259 if (error != ImsMediaSession.RESULT_SUCCESS) { in handleModifySessionRespose()
DAudioSession.java30 import android.telephony.imsmedia.ImsMediaSession;
355 if (result != ImsMediaSession.RESULT_SUCCESS) { in handleOpenSession()
518 if (error != ImsMediaSession.RESULT_SUCCESS) { in handleModifySessionRespose()
DVideoSession.java27 import android.telephony.imsmedia.ImsMediaSession;
258 if (result != ImsMediaSession.RESULT_SUCCESS) { in handleOpenSession()
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DAudioSessionCallback.java97 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
110 final @ImsMediaSession.SessionOperationResult int result) { in onAddConfigResponse()
123 final @ImsMediaSession.SessionOperationResult int result) { in onConfirmConfigResponse()
230 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
242 final @ImsMediaSession.SessionOperationResult int result) { in onAddConfigResponse()
254 final @ImsMediaSession.SessionOperationResult int result) { in onConfirmConfigResponse()
DImsMediaManager.java75 @NonNull final @ImsMediaSession.SessionType int sessionType, in openSession()
99 public void closeSession(@NonNull ImsMediaSession session) { in closeSession()
224 public void onOpenSessionSuccess(ImsMediaSession session) { in onOpenSessionSuccess()
DTextSessionCallback.java92 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
139 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
DVideoSessionCallback.java94 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
189 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
DImsTextSession.java28 public class ImsTextSession implements ImsMediaSession {
DImsMediaSession.java33 public interface ImsMediaSession { interface
DImsVideoSession.java32 public class ImsVideoSession implements ImsMediaSession {
DImsAudioSession.java31 public class ImsAudioSession implements ImsMediaSession {
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/
DJNIConnector.java20 import android.telephony.imsmedia.ImsMediaSession;
75 mNativeObject = mJNIServiceInstance.getInterface(ImsMediaSession.SESSION_TYPE_AUDIO); in connectJni()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DMainActivity.java28 import android.telephony.imsmedia.ImsMediaSession;
757 public void onOpenSessionSuccess(ImsMediaSession session) { in onOpenSessionSuccess()
836 public void onOpenSessionSuccess(ImsMediaSession session) { in onOpenSessionSuccess()
874 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
896 public void onOpenSessionSuccess(ImsMediaSession session) { in onOpenSessionSuccess()
1919 ImsMediaSession.SESSION_TYPE_AUDIO, in openSessionOnClick()
1927 ImsMediaSession.SESSION_TYPE_VIDEO, in openSessionOnClick()
1939 ImsMediaSession.SESSION_TYPE_RTT, in openSessionOnClick()