Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp89 preproc_session_t *session; // session the effect is on member
282 webrtc::GainControl *agc = effect->session->apm->gain_control(); in AgcCreate()
445 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); in AecCreate()
470 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms(); in AecGetParameter()
490 status = effect->session->apm->set_stream_delay_ms(value/1000); in AecSetParameter()
573 effect->session->apm->SetExtraOptions(config); in NsInit()
576 effect->session->apm->SetExtraOptions(config); in NsInit()
583 webrtc::NoiseSuppression *ns = effect->session->apm->noise_suppression(); in NsCreate()
622 effect->session->apm->SetExtraOptions(config); in NsSetParameter()
644 effect->session->apm->SetExtraOptions(config); in NsEnable()
[all …]
/frameworks/av/camera/ndk/
DNdkCameraCaptureSession.cpp34 void ACameraCaptureSession_close(ACameraCaptureSession* session) { in ACameraCaptureSession_close() argument
36 if (session != nullptr) { in ACameraCaptureSession_close()
37 session->closeByApp(); in ACameraCaptureSession_close()
44 ACameraCaptureSession* session, ACameraDevice **device) { in ACameraCaptureSession_getDevice() argument
46 if (session == nullptr || device == nullptr) { in ACameraCaptureSession_getDevice()
48 __FUNCTION__, session, device); in ACameraCaptureSession_getDevice()
52 if (session->isClosed()) { in ACameraCaptureSession_getDevice()
53 ALOGE("%s: session %p is already closed", __FUNCTION__, session); in ACameraCaptureSession_getDevice()
58 *device = session->getDevice(); in ACameraCaptureSession_getDevice()
69 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacks* cbs, in ACameraCaptureSession_capture() argument
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCallSessionListenerBase.java34 public void callSessionProgressing(IImsCallSession session, ImsStreamMediaProfile profile) { in callSessionProgressing() argument
39 public void callSessionStarted(IImsCallSession session, ImsCallProfile profile) { in callSessionStarted() argument
44 public void callSessionStartFailed(IImsCallSession session, ImsReasonInfo reasonInfo) { in callSessionStartFailed() argument
49 public void callSessionTerminated(IImsCallSession session, ImsReasonInfo reasonInfo) { in callSessionTerminated() argument
57 public void callSessionHeld(IImsCallSession session, ImsCallProfile profile) { in callSessionHeld() argument
62 public void callSessionHoldFailed(IImsCallSession session, ImsReasonInfo reasonInfo) { in callSessionHoldFailed() argument
67 public void callSessionHoldReceived(IImsCallSession session, ImsCallProfile profile) { in callSessionHoldReceived() argument
72 public void callSessionResumed(IImsCallSession session, ImsCallProfile profile) { in callSessionResumed() argument
77 public void callSessionResumeFailed(IImsCallSession session, ImsReasonInfo reasonInfo) { in callSessionResumeFailed() argument
82 public void callSessionResumeReceived(IImsCallSession session, ImsCallProfile profile) { in callSessionResumeReceived() argument
[all …]
DImsCall.java639 public static boolean isSessionAlive(ImsCallSession session) { in isSessionAlive() argument
640 return session != null && session.isAlive(); in isSessionAlive()
1015 public void attachSession(ImsCallSession session) throws ImsException { in attachSession() argument
1016 logi("attachSession :: session=" + session); in attachSession()
1019 mSession = session; in attachSession()
1038 public void start(ImsCallSession session, String callee) in start() argument
1040 logi("start(1) :: session=" + session); in start()
1043 mSession = session; in start()
1046 session.setListener(createCallSessionListener()); in start()
1047 session.start(callee, mCallProfile); in start()
[all …]
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsCallSessionListener.aidl36 void callSessionProgressing(in IImsCallSession session, in ImsStreamMediaProfile profile); in callSessionProgressing() argument
37 void callSessionStarted(in IImsCallSession session, in ImsCallProfile profile); in callSessionStarted() argument
38 void callSessionStartFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo); in callSessionStartFailed() argument
39 void callSessionTerminated(in IImsCallSession session, in ImsReasonInfo reasonInfo); in callSessionTerminated() argument
44 void callSessionHeld(in IImsCallSession session, in ImsCallProfile profile); in callSessionHeld() argument
45 void callSessionHoldFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo); in callSessionHoldFailed() argument
46 void callSessionHoldReceived(in IImsCallSession session, in ImsCallProfile profile); in callSessionHoldReceived() argument
47 void callSessionResumed(in IImsCallSession session, in ImsCallProfile profile); in callSessionResumed() argument
48 void callSessionResumeFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo); in callSessionResumeFailed() argument
49 void callSessionResumeReceived(in IImsCallSession session, in ImsCallProfile profile); in callSessionResumeReceived() argument
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSessionRoute.cpp38 bool SessionRouteMap::hasRoute(audio_session_t session) in hasRoute() argument
40 return indexOfKey(session) >= 0 && valueFor(session)->mDeviceDescriptor != 0; in hasRoute()
43 bool SessionRouteMap::hasRouteChanged(audio_session_t session) in hasRouteChanged() argument
45 if (indexOfKey(session) >= 0) { in hasRouteChanged()
46 if (valueFor(session)->mChanged) { in hasRouteChanged()
47 valueFor(session)->mChanged = false; in hasRouteChanged()
54 void SessionRouteMap::removeRoute(audio_session_t session) in removeRoute() argument
56 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in removeRoute()
61 removeItem(session); in removeRoute()
66 int SessionRouteMap::incRouteActivity(audio_session_t session) in incRouteActivity() argument
[all …]
DSoundTriggerSession.cpp25 status_t SoundTriggerSessionCollection::acquireSession(audio_session_t session, in acquireSession() argument
28 add(session, ioHandle); in acquireSession()
33 status_t SoundTriggerSessionCollection::releaseSession(audio_session_t session) in releaseSession() argument
35 ssize_t index = indexOfKey(session); in releaseSession()
37 ALOGW("acquireSoundTriggerSession() session %d not registered", session); in releaseSession()
41 removeItem(session); in releaseSession()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DImsCallSession.java102 public void callSessionProgressing(ImsCallSession session, in callSessionProgressing() argument
112 public void callSessionStarted(ImsCallSession session, in callSessionStarted() argument
123 public void callSessionStartFailed(ImsCallSession session, in callSessionStartFailed() argument
133 public void callSessionTerminated(ImsCallSession session, in callSessionTerminated() argument
142 public void callSessionHeld(ImsCallSession session, in callSessionHeld() argument
152 public void callSessionHoldFailed(ImsCallSession session, in callSessionHoldFailed() argument
161 public void callSessionHoldReceived(ImsCallSession session, in callSessionHoldReceived() argument
170 public void callSessionResumed(ImsCallSession session, in callSessionResumed() argument
180 public void callSessionResumeFailed(ImsCallSession session, in callSessionResumeFailed() argument
189 public void callSessionResumeReceived(ImsCallSession session, in callSessionResumeReceived() argument
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipSessionAdapter.java25 public void onCalling(ISipSession session) { in onCalling() argument
28 public void onRinging(ISipSession session, SipProfile caller, in onRinging() argument
32 public void onRingingBack(ISipSession session) { in onRingingBack() argument
35 public void onCallEstablished(ISipSession session, in onCallEstablished() argument
39 public void onCallEnded(ISipSession session) { in onCallEnded() argument
42 public void onCallBusy(ISipSession session) { in onCallBusy() argument
45 public void onCallTransferring(ISipSession session, in onCallTransferring() argument
49 public void onCallChangeFailed(ISipSession session, int errorCode, in onCallChangeFailed() argument
53 public void onError(ISipSession session, int errorCode, String message) { in onError() argument
56 public void onRegistering(ISipSession session) { in onRegistering() argument
[all …]
DSipSession.java117 public void onCalling(SipSession session) { in onCalling() argument
127 public void onRinging(SipSession session, SipProfile caller, in onRinging() argument
136 public void onRingingBack(SipSession session) { in onRingingBack() argument
145 public void onCallEstablished(SipSession session, in onCallEstablished() argument
154 public void onCallEnded(SipSession session) { in onCallEnded() argument
162 public void onCallBusy(SipSession session) { in onCallBusy() argument
184 public void onError(SipSession session, int errorCode, in onError() argument
195 public void onCallChangeFailed(SipSession session, int errorCode, in onCallChangeFailed() argument
204 public void onRegistering(SipSession session) { in onRegistering() argument
213 public void onRegistrationDone(SipSession session, int duration) { in onRegistrationDone() argument
[all …]
DISipSessionListener.aidl32 void onCalling(in ISipSession session); in onCalling() argument
41 void onRinging(in ISipSession session, in SipProfile caller, in onRinging() argument
49 void onRingingBack(in ISipSession session); in onRingingBack() argument
57 void onCallEstablished(in ISipSession session, in onCallEstablished() argument
65 void onCallEnded(in ISipSession session); in onCallEnded() argument
72 void onCallBusy(in ISipSession session); in onCallBusy() argument
90 void onError(in ISipSession session, int errorCode, String errorMessage); in onError() argument
99 void onCallChangeFailed(in ISipSession session, int errorCode, in onCallChangeFailed() argument
107 void onRegistering(in ISipSession session); in onRegistering() argument
115 void onRegistrationDone(in ISipSession session, int duration); in onRegistrationDone() argument
[all …]
DSipManager.java426 ISipSession session = mSipService.getPendingSession(callId, in takeAudioCall() local
428 if (session == null) { in takeAudioCall()
432 mContext, session.getLocalProfile()); in takeAudioCall()
433 call.attachCall(new SipSession(session), offerSd); in takeAudioCall()
509 ISipSession session = mSipService.createSession(localProfile, in register() local
512 if (session == null) { in register()
516 session.register(expiryTime); in register()
536 ISipSession session = mSipService.createSession(localProfile, in unregister() local
539 if (session == null) { in unregister()
543 session.unregister(); in unregister()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxSessionManager.java88 Session session = mSessions.get(mKey); in modelChanged() local
89 if (session != null) { in modelChanged()
90 synchronized(session) { in modelChanged()
91 if (session.learner != learner) { in modelChanged()
94 session.modified = true; in modelChanged()
131 Session session = new Session(); in getSessionBinder() local
132 session.learnerClass = learnerClass; in getSessionBinder()
133 session.learner = learner; in getSessionBinder()
134 mSessions.put(key.value, session); in getSessionBinder()
143 for (Map.Entry<String, Session> session : mSessions.entrySet()) { in saveSessions()
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingSessionCallback.java153 public void onActive(CameraCaptureSession session) { in onActive() argument
154 mSessionFuture.setSession(session); in onActive()
155 if (mProxy != null) mProxy.onActive(session); in onActive()
160 public void onClosed(CameraCaptureSession session) { in onClosed() argument
161 mSessionFuture.setSession(session); in onClosed()
162 if (mProxy != null) mProxy.onClosed(session); in onClosed()
165 mPreparedSurfaces.remove(session); in onClosed()
170 public void onConfigured(CameraCaptureSession session) { in onConfigured() argument
171 mSessionFuture.setSession(session); in onConfigured()
173 mProxy.onConfigured(session); in onConfigured()
[all …]
DBlockingCaptureCallback.java125 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted() argument
127 if (mProxy != null) mProxy.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted()
132 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed() argument
134 if (mProxy != null) mProxy.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed()
139 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() argument
141 if (mProxy != null) mProxy.onCaptureCompleted(session, request, result); in onCaptureCompleted()
146 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed() argument
148 if (mProxy != null) mProxy.onCaptureFailed(session, request, failure); in onCaptureFailed()
153 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted() argument
155 if (mProxy != null) mProxy.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionListenerProxy.java47 public void onCalling(final ISipSession session) { in onCalling() argument
53 mListener.onCalling(session); in onCalling()
62 public void onRinging(final ISipSession session, final SipProfile caller, in onRinging() argument
69 mListener.onRinging(session, caller, sessionDescription); in onRinging()
78 public void onRingingBack(final ISipSession session) { in onRingingBack() argument
84 mListener.onRingingBack(session); in onRingingBack()
93 public void onCallEstablished(final ISipSession session, in onCallEstablished() argument
100 mListener.onCallEstablished(session, sessionDescription); in onCallEstablished()
109 public void onCallEnded(final ISipSession session) { in onCallEnded() argument
115 mListener.onCallEnded(session); in onCallEnded()
[all …]
/frameworks/base/media/java/android/media/session/
DMediaSession.java17 package android.media.session;
982 public CallbackStub(MediaSession session) { in CallbackStub() argument
983 mMediaSession = new WeakReference<MediaSession>(session); in CallbackStub()
988 MediaSession session = mMediaSession.get(); in onCommand() local
989 if (session != null) { in onCommand()
990 session.postCommand(command, args, cb); in onCommand()
997 MediaSession session = mMediaSession.get(); in onMediaButton() local
999 if (session != null) { in onMediaButton()
1000 session.dispatchMediaButton(mediaButtonIntent); in onMediaButton()
1011 MediaSession session = mMediaSession.get(); in onPrepare() local
[all …]
/frameworks/av/include/camera/ndk/
DNdkCameraCaptureSession.h60 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session);
167 void* context, ACameraCaptureSession* session,
184 void* context, ACameraCaptureSession* session,
202 void* context, ACameraCaptureSession* session,
215 void* context, ACameraCaptureSession* session,
227 void* context, ACameraCaptureSession* session,
244 void* context, ACameraCaptureSession* session,
412 void ACameraCaptureSession_close(ACameraCaptureSession* session);
433 ACameraCaptureSession* session, /*out*/ACameraDevice** device);
468 ACameraCaptureSession* session,
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java677 public abstract void onConfigured(@NonNull CameraCaptureSession session); in onConfigured() argument
692 public abstract void onConfigureFailed(@NonNull CameraCaptureSession session); in onConfigureFailed() argument
707 public void onReady(@NonNull CameraCaptureSession session) { in onReady() argument
723 public void onActive(@NonNull CameraCaptureSession session) { in onActive() argument
741 public void onClosed(@NonNull CameraCaptureSession session) { in onClosed() argument
760 public void onSurfacePrepared(@NonNull CameraCaptureSession session, in onSurfacePrepared() argument
836 public void onCaptureStarted(@NonNull CameraCaptureSession session, in onCaptureStarted() argument
839 onCaptureStarted(session, request, timestamp); in onCaptureStarted()
846 public void onCaptureStarted(CameraCaptureSession session, in onCaptureStarted() argument
876 public void onCapturePartial(CameraCaptureSession session, in onCapturePartial() argument
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java234 final PackageInstallerSession session = mSessions.valueAt(i); in PackageInstallerService() local
235 unclaimedIcons.remove(buildAppIconFile(session.sessionId)); in PackageInstallerService()
257 final PackageInstallerSession session = mSessions.valueAt(i); in reconcileStagesLocked() local
258 unclaimedStages.remove(session.stageDir); in reconcileStagesLocked()
287 final PackageInstallerSession session = mSessions.valueAt(i); in onSecureContainersAvailable() local
288 final String cid = session.stageCid; in onSecureContainersAvailable()
352 final PackageInstallerSession session = readSessionLocked(in); in readSessionsLocked() local
353 final long age = System.currentTimeMillis() - session.createdMillis; in readSessionsLocked()
358 + session.createdMillis); in readSessionsLocked()
365 mSessions.put(session.sessionId, session); in readSessionsLocked()
[all …]
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2CaptureCallbackForwarder.java41 public void onCaptureCompleted(final CameraCaptureSession session, final CaptureRequest request, in onCaptureCompleted() argument
46 mListener.onCaptureCompleted(session, request, result); in onCaptureCompleted()
51 public void onCaptureFailed(final CameraCaptureSession session, final CaptureRequest request, in onCaptureFailed() argument
56 mListener.onCaptureFailed(session, request, failure); in onCaptureFailed()
61 public void onCaptureProgressed(final CameraCaptureSession session, in onCaptureProgressed() argument
67 mListener.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed()
72 public void onCaptureSequenceAborted(final CameraCaptureSession session, final int sequenceId) { in onCaptureSequenceAborted() argument
76 mListener.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted()
81 public void onCaptureSequenceCompleted(final CameraCaptureSession session, final int sequenceId, in onCaptureSequenceCompleted() argument
86 mListener.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
[all …]
DCamera2CaptureCallbackSplitter.java50 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() argument
53 target.onCaptureCompleted(session, request, result); in onCaptureCompleted()
58 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed() argument
61 target.onCaptureFailed(session, request, failure); in onCaptureFailed()
66 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed() argument
69 target.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed()
74 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { in onCaptureSequenceAborted() argument
76 target.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted()
81 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted() argument
84 target.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/
DDrmPlugin.cpp33 sp<Session> session = mSessionLibrary->createSession(); in openSession() local
34 sessionId = session->sessionId(); in openSession()
39 sp<Session> session = mSessionLibrary->findSession(sessionId); in closeSession() local
40 if (session.get()) { in closeSession()
41 mSessionLibrary->destroySession(session); in closeSession()
61 sp<Session> session = mSessionLibrary->findSession(scope); in getKeyRequest() local
62 if (!session.get()) { in getKeyRequest()
65 return session->getKeyRequest(initData, mimeType, &request); in getKeyRequest()
72 sp<Session> session = mSessionLibrary->findSession(scope); in provideKeyResponse() local
73 if (!session.get()) { in provideKeyResponse()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h40 SessionRoute(audio_session_t session, in SessionRoute() argument
46 mSession(session), in SessionRoute()
93 bool hasRoute(audio_session_t session);
95 void removeRoute(audio_session_t session);
97 int incRouteActivity(audio_session_t session);
98 int decRouteActivity(audio_session_t session);
99 bool hasRouteChanged(audio_session_t session); // also clears the changed flag
106 void addRoute(audio_session_t session,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp151 audio_session_t session, in getOutputForAttr() argument
173 return mAudioPolicyManager->getOutputForAttr(attr, output, session, stream, uid, samplingRate, in getOutputForAttr()
179 audio_session_t session) in startOutput() argument
195 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session); in startOutput()
197 ALOGW("Failed to add effects on session %d", session); in startOutput()
201 return mAudioPolicyManager->startOutput(output, stream, session); in startOutput()
206 audio_session_t session) in stopOutput() argument
215 mOutputCommandThread->stopOutputCommand(output, stream, session); in stopOutput()
221 audio_session_t session) in doStopOutput() argument
231 status_t status = audioPolicyEffects->releaseOutputSessionEffects(output, stream, session); in doStopOutput()
[all …]

12345678910>>...15