/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/ |
D | VideoListenerTest.java | 29 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()
|
D | TextListenerTest.java | 29 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()
|
D | AudioListenerTest.java | 32 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()
|
D | TextSessionTest.java | 31 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()
|
D | VideoSessionTest.java | 34 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()
|
D | AudioSessionTest.java | 34 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()
|
D | AudioOffloadTest.java | 40 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;
|
D | ImsMediaManagerTest.java | 61 ImsMediaSession mMockImsMediaSession; 159 ImsMediaSession.SESSION_TYPE_AUDIO, mMockRtpConfig, mExecutor, in testOpenAndCloseSession()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/ |
D | VideoService.java | 21 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()
|
D | TextService.java | 21 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()
|
D | AudioService.java | 21 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()
|
D | ImsMediaController.java | 33 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()
|
D | TextSession.java | 26 import android.telephony.imsmedia.ImsMediaSession; 208 if (result != ImsMediaSession.RESULT_SUCCESS) { in handleOpenSession() 259 if (error != ImsMediaSession.RESULT_SUCCESS) { in handleModifySessionRespose()
|
D | AudioSession.java | 30 import android.telephony.imsmedia.ImsMediaSession; 355 if (result != ImsMediaSession.RESULT_SUCCESS) { in handleOpenSession() 518 if (error != ImsMediaSession.RESULT_SUCCESS) { in handleModifySessionRespose()
|
D | VideoSession.java | 27 import android.telephony.imsmedia.ImsMediaSession; 258 if (result != ImsMediaSession.RESULT_SUCCESS) { in handleOpenSession()
|
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/ |
D | AudioSessionCallback.java | 97 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()
|
D | ImsMediaManager.java | 75 @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()
|
D | TextSessionCallback.java | 92 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse() 139 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
|
D | VideoSessionCallback.java | 94 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse() 189 final @ImsMediaSession.SessionOperationResult int result) { in onModifySessionResponse()
|
D | ImsTextSession.java | 28 public class ImsTextSession implements ImsMediaSession {
|
D | ImsMediaSession.java | 33 public interface ImsMediaSession { interface
|
D | ImsVideoSession.java | 32 public class ImsVideoSession implements ImsMediaSession {
|
D | ImsAudioSession.java | 31 public class ImsAudioSession implements ImsMediaSession {
|
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/ |
D | JNIConnector.java | 20 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/ |
D | MainActivity.java | 28 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()
|