Home
last modified time | relevance | path

Searched refs:AudioSession (Results 1 – 18 of 18) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DAudioListener.java75 case AudioSession.EVENT_OPEN_SESSION_SUCCESS: in onMessage()
80 case AudioSession.EVENT_OPEN_SESSION_FAILURE: in onMessage()
84 case AudioSession.EVENT_MODIFY_SESSION_RESPONSE: in onMessage()
85 case AudioSession.EVENT_ADD_CONFIG_RESPONSE: in onMessage()
86 case AudioSession.EVENT_CONFIRM_CONFIG_RESPONSE: in onMessage()
93 case AudioSession.EVENT_FIRST_MEDIA_PACKET_IND: in onMessage()
99 case AudioSession.EVENT_RTP_HEADER_EXTENSION_IND: in onMessage()
109 case AudioSession.EVENT_MEDIA_QUALITY_STATUS_IND: in onMessage()
113 case AudioSession.EVENT_TRIGGER_ANBR_QUERY_IND: in onMessage()
117 case AudioSession.EVENT_DTMF_RECEIVED_IND: in onMessage()
[all …]
DAudioLocalSession.java79 parcel.writeInt(AudioSession.CMD_MODIFY_SESSION); in modifySession()
94 parcel.writeInt(AudioSession.CMD_ADD_CONFIG); in addConfig()
109 parcel.writeInt(AudioSession.CMD_DELETE_CONFIG); in deleteConfig()
127 parcel.writeInt(AudioSession.CMD_CONFIRM_CONFIG); in confirmConfig()
142 parcel.writeInt(AudioSession.CMD_SEND_DTMF); in sendDtmf()
155 parcel.writeInt(AudioSession.CMD_SEND_RTP_HDR_EXTN); in sendHeaderExtension()
171 parcel.writeInt(AudioSession.CMD_SET_MEDIA_QUALITY_THRESHOLD); in setMediaQualityThreshold()
186 parcel.writeInt(AudioSession.CMD_REQUEST_RECEPTION_STATS); in requestRtpReceptionStats()
199 parcel.writeInt(AudioSession.CMD_ADJUST_DELAY); in adjustDelay()
DAudioOffloadListener.java48 AudioSession.EVENT_MODIFY_SESSION_RESPONSE, result, in onModifySessionResponse()
54 Utils.sendMessage(handler, AudioSession.EVENT_FIRST_MEDIA_PACKET_IND, in onFirstMediaPacketReceived()
60 Utils.sendMessage(handler, AudioSession.EVENT_RTP_HEADER_EXTENSION_IND, in onHeaderExtensionReceived()
67 Utils.sendMessage(handler, AudioSession.EVENT_MEDIA_QUALITY_STATUS_IND, in notifyMediaQualityStatus()
73 Utils.sendMessage(handler, AudioSession.EVENT_TRIGGER_ANBR_QUERY_IND, in triggerAnbrQuery()
79 Utils.sendMessage(handler, AudioSession.EVENT_DTMF_RECEIVED_IND, dtmfDigit, durationMs); in onDtmfReceived()
84 Utils.sendMessage(handler, AudioSession.EVENT_CALL_QUALITY_CHANGE_IND, in onCallQualityChanged()
DImsMediaController.java70 session = new AudioSession(sessionId, in openSession()
99 if (session instanceof AudioSession) { in closeSession()
100 final AudioSession audioSession = in closeSession()
101 (AudioSession) IImsAudioSession.Stub.asInterface(session); in closeSession()
DAudioService.java99 parcel.writeInt(AudioSession.CMD_OPEN_SESSION); in openSession()
120 parcel.writeInt(AudioSession.CMD_CLOSE_SESSION); in closeSession()
DAudioSession.java49 public final class AudioSession extends IImsAudioSession.Stub implements IMediaSession { class
93 AudioSession(final int sessionId, final IImsAudioSessionCallback callback) { in AudioSession() method in AudioSession
111 AudioSession(final int sessionId, in AudioSession() method in AudioSession
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DAudioListenerTest.java70 AudioSession audioSession = new AudioSession(SESSION_ID, mMockIImsAudioSessionCallback, in setUp()
72 AudioSession.AudioSessionHandler handler = audioSession.getAudioSessionHandler(); in setUp()
98 mAudioListener.onMessage(createParcel(AudioSession.EVENT_OPEN_SESSION_SUCCESS, SESSION_ID, in testOpenSessionSuccess()
109 parcel.writeInt(AudioSession.EVENT_OPEN_SESSION_FAILURE); in testOpenSessionFailure()
123 mAudioListener.onMessage(createParcel(AudioSession.EVENT_MODIFY_SESSION_RESPONSE, in testEventModifySessionResponse()
133 mAudioListener.onMessage(createParcel(AudioSession.EVENT_ADD_CONFIG_RESPONSE, in testEventAddConfigResponse()
143 mAudioListener.onMessage(createParcel(AudioSession.EVENT_CONFIRM_CONFIG_RESPONSE, in testEventConfirmConfigResponse()
154 parcel.writeInt(AudioSession.EVENT_FIRST_MEDIA_PACKET_IND); in testEventFirstMediaPacketInd()
169 parcel.writeInt(AudioSession.EVENT_RTP_HEADER_EXTENSION_IND); in testEventRtpHeaderExtensionInd()
186 parcel.writeInt(AudioSession.EVENT_MEDIA_QUALITY_STATUS_IND); in testEventMediaQualityStatusInd()
[all …]
DAudioSessionTest.java42 import com.android.telephony.imsmedia.AudioSession;
71 private AudioSession audioSession;
72 private AudioSession.AudioSessionHandler handler;
85 audioSession = new AudioSession(SESSION_ID, callback, in setUp()
153 createParcel(AudioSession.EVENT_MODIFY_SESSION_RESPONSE, SUCCESS, config)); in testModifySession()
163 createParcel(AudioSession.EVENT_MODIFY_SESSION_RESPONSE, NO_RESOURCES, config)); in testModifySession()
182 createParcel(AudioSession.EVENT_ADD_CONFIG_RESPONSE, SUCCESS, config)); in testAddConfig()
192 createParcel(AudioSession.EVENT_ADD_CONFIG_RESPONSE, NO_RESOURCES, config)); in testAddConfig()
220 createParcel(AudioSession.EVENT_CONFIRM_CONFIG_RESPONSE, SUCCESS, config)); in testConfirmConfig()
230 createParcel(AudioSession.EVENT_CONFIRM_CONFIG_RESPONSE, NO_RESOURCES, config)); in testConfirmConfig()
[all …]
DJNIImsMediaServiceTest.java63 parcel1.writeInt(AudioSession.EVENT_OPEN_SESSION_SUCCESS); in testMultipleAudioListener()
71 parcel2.writeInt(AudioSession.EVENT_OPEN_SESSION_SUCCESS); in testMultipleAudioListener()
DAudioOffloadTest.java46 import com.android.telephony.imsmedia.AudioSession;
75 private AudioSession audioSession;
77 private AudioSession.AudioSessionHandler handler;
92 audioSession = new AudioSession(SESSION_ID, callback, null, null, offloadService, in setUp()
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/
DAudioListenerProxy.java30 import com.android.telephony.imsmedia.AudioSession;
80 case AudioSession.EVENT_OPEN_SESSION_SUCCESS: in onMessage()
92 case AudioSession.EVENT_OPEN_SESSION_FAILURE: in onMessage()
102 case AudioSession.EVENT_SESSION_CLOSED: in onMessage()
110 case AudioSession.EVENT_MODIFY_SESSION_RESPONSE: in onMessage()
121 case AudioSession.EVENT_FIRST_MEDIA_PACKET_IND: in onMessage()
131 case AudioSession.EVENT_RTP_HEADER_EXTENSION_IND: in onMessage()
144 case AudioSession.EVENT_MEDIA_QUALITY_STATUS_IND: in onMessage()
154 case AudioSession.EVENT_TRIGGER_ANBR_QUERY_IND: in onMessage()
164 case AudioSession.EVENT_DTMF_RECEIVED_IND: in onMessage()
DIImsMediaSessionImpl.java28 import com.android.telephony.imsmedia.AudioSession;
80 parcel.writeInt(AudioSession.CMD_MODIFY_SESSION); in modifySession()
93 parcel.writeInt(AudioSession.CMD_SEND_DTMF); in sendDtmf()
103 parcel.writeInt(AudioSession.CMD_START_DTMF); in startDtmf()
112 parcel.writeInt(AudioSession.CMD_STOP_DTMF); in stopDtmf()
120 parcel.writeInt(AudioSession.CMD_SEND_RTP_HDR_EXTN); in sendHeaderExtension()
132 parcel.writeInt(AudioSession.CMD_SET_MEDIA_QUALITY_THRESHOLD); in setMediaQualityThreshold()
DIImsMediaImpl.java27 import com.android.telephony.imsmedia.AudioSession;
80 parcel.writeInt(AudioSession.CMD_OPEN_SESSION); in openSession()
105 parcel.writeInt(AudioSession.CMD_CLOSE_SESSION); in closeSession()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioSession.cpp24 AudioSession::AudioSession() in AudioSession() function in AudioSession
32 AudioSession::~AudioSession() in ~AudioSession()
78 SessionState AudioSession::getState() in getState()
110 ImsMediaResult AudioSession::startGraph(RtpConfig* config) in startGraph()
251 ImsMediaResult AudioSession::addGraph(RtpConfig* config, bool enableRtcp) in addGraph()
299 ImsMediaResult AudioSession::confirmGraph(RtpConfig* config) in confirmGraph()
372 ImsMediaResult AudioSession::deleteGraph(RtpConfig* config) in deleteGraph()
468 void AudioSession::onEvent(int32_t type, uint64_t param1, uint64_t param2) in onEvent()
558 void AudioSession::setMediaQualityThreshold(const MediaQualityThreshold& threshold) in setMediaQualityThreshold()
569 void AudioSession::sendDtmf(char digit, int duration) in sendDtmf()
[all …]
DAudioManager.cpp74 std::unique_ptr<AudioSession> session(new AudioSession()); in openSession()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/
DAudioSession.h30 class AudioSession : public BaseSession
33 AudioSession();
34 virtual ~AudioSession();
DAudioManager.h79 std::unordered_map<int, std::unique_ptr<AudioSession>> mSessions;
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioSessionTest.cpp67 AudioSession* session;
124 session = new AudioSession(); in SetUp()