Home
last modified time | relevance | path

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

1234

/frameworks/base/media/libeffects/preprocessing/
DPreProcessing.cpp87 preproc_session_t *session; // session the effect is on member
240 webrtc::GainControl *agc = effect->session->apm->gain_control(); in AgcCreate()
403 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); in AecCreate()
428 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms(); in AecGetParameter()
448 status = effect->session->apm->set_stream_delay_ms(value/1000); in AecSetParameter()
522 webrtc::NoiseSuppression *ns = effect->session->apm->noise_suppression(); in NsCreate()
585 void Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled);
602 Session_SetProcEnabled(effect->session, effect->procId, false); in Effect_SetState()
634 Session_SetProcEnabled(effect->session, effect->procId, false); in Effect_SetState()
653 Session_SetProcEnabled(effect->session, effect->procId, true); in Effect_SetState()
[all …]
/frameworks/base/voip/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 …]
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 …]
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 …]
DSipManager.java391 ISipSession session = mSipService.getPendingSession(callId); in takeAudioCall() local
392 if (session == null) { in takeAudioCall()
396 mContext, session.getLocalProfile()); in takeAudioCall()
397 call.attachCall(new SipSession(session), offerSd); in takeAudioCall()
472 ISipSession session = mSipService.createSession(localProfile, in register() local
474 if (session == null) { in register()
478 session.register(expiryTime); in register()
497 ISipSession session = mSipService.createSession(localProfile, in unregister() local
499 if (session == null) { in unregister()
503 session.unregister(); in unregister()
[all …]
DSipAudioCall.java377 public void onCalling(SipSession session) { in createListener()
378 Log.d(TAG, "calling... " + session); in createListener()
390 public void onRingingBack(SipSession session) { in createListener() argument
391 Log.d(TAG, "sip call ringing back: " + session); in createListener()
403 public void onRinging(SipSession session, in createListener() argument
408 || !session.getCallId().equals( in createListener()
411 session.endCall(); in createListener()
421 session.endCall(); in createListener()
427 public void onCallEstablished(SipSession session, in createListener() argument
434 && (session == mTransferringSession)) { in createListener()
[all …]
/frameworks/base/voip/java/com/android/server/sip/
DSipSessionListenerProxy.java46 public void onCalling(final ISipSession session) { in onCalling() argument
51 mListener.onCalling(session); in onCalling()
59 public void onRinging(final ISipSession session, final SipProfile caller, in onRinging() argument
65 mListener.onRinging(session, caller, sessionDescription); in onRinging()
73 public void onRingingBack(final ISipSession session) { in onRingingBack() argument
78 mListener.onRingingBack(session); in onRingingBack()
86 public void onCallEstablished(final ISipSession session, in onCallEstablished() argument
92 mListener.onCallEstablished(session, sessionDescription); in onCallEstablished()
100 public void onCallEnded(final ISipSession session) { in onCallEnded() argument
105 mListener.onCallEnded(session); in onCallEnded()
[all …]
DSipService.java390 private synchronized void addPendingSession(ISipSession session) { in addPendingSession() argument
393 mPendingSessions.put(session.getCallId(), session); in addPendingSession() local
585 SipSessionGroup.SipSessionImpl session = in onRinging() local
589 if (!isRegistered() || callingSelf(this, session)) { in onRinging()
590 session.endCall(); in onRinging()
595 addPendingSession(session); in onRinging()
597 session.getCallId(), sessionDescription); in onRinging()
599 + caller.getUri() + ": " + session.getCallId() in onRinging()
605 session.endCall(); in onRinging()
611 public void onError(ISipSession session, int errorCode, in onError() argument
[all …]
/frameworks/base/media/libdrm/mobile1/include/objmng/
Dsvc_drm.h205 int32_t SVC_drm_getDeliveryMethod(int32_t session);
218 int32_t SVC_drm_getContentType(int32_t session, uint8_t* mediaType);
234 int32_t SVC_drm_checkRights(int32_t session, int32_t permission);
250 int32_t SVC_drm_consumeRights(int32_t session, int32_t permission);
264 int32_t SVC_drm_getContentLength(int32_t session);
281 int32_t SVC_drm_getContent(int32_t session, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen);
295 int32_t SVC_drm_getRightsIssuer(int32_t session, uint8_t* rightsIssuer);
309 int32_t SVC_drm_getRightsInfo(int32_t session, T_DRM_Rights_Info* rights);
321 int32_t SVC_drm_closeSession(int32_t session);
Ddrm_file.h96 int32_t* session,
119 int32_t* session,
131 int32_t DRM_file_listClose(int32_t session, int32_t iteration);
/frameworks/base/core/java/android/app/backup/
DBackupManager.java144 RestoreSession session = null; in requestRestore() local
148 session = new RestoreSession(mContext, binder); in requestRestore()
149 result = session.restorePackage(mContext.getPackageName(), observer); in requestRestore()
153 if (session != null) { in requestRestore()
154 session.endRestoreSession(); in requestRestore()
167 RestoreSession session = null; in beginRestoreSession() local
173 session = new RestoreSession(mContext, binder); in beginRestoreSession()
178 return session; in beginRestoreSession()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java97 public final void setInternalISpellCheckerSession(InternalISpellCheckerSession session) { in setInternalISpellCheckerSession() argument
98 mInternalSession = session; in setInternalISpellCheckerSession()
171 Bundle bundle, Session session) { in InternalISpellCheckerSession() argument
173 mSession = session; in InternalISpellCheckerSession()
176 session.setInternalISpellCheckerSession(this); in InternalISpellCheckerSession()
216 final Session session = service.createSession(); in getISpellCheckerSession()
218 new InternalISpellCheckerSession(locale, listener, bundle, session); in getISpellCheckerSession()
219 session.onCreate(); in getISpellCheckerSession()
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp72 DecodeSession *session = (DecodeSession*) decodeSessionMap.getValueAt(i); in ~FwdLockEngine() local
73 FwdLockFile_detach(session->fileDesc); in ~FwdLockEngine()
74 ::close(session->fileDesc); in ~FwdLockEngine()
523 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local
524 if (NULL != session && session->fileDesc > -1) {
525 FwdLockFile_detach(session->fileDesc);
526 ::close(session->fileDesc);
589 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local
590 if (NULL != session && session->fileDesc > -1) {
591 size = FwdLockFile_read(session->fileDesc, buffer, numBytes);
[all …]
/frameworks/base/services/java/com/android/server/wm/
DBlackFrame.java35 BlackSurface(SurfaceSession session, int layer, int l, int t, int r, int b) in BlackSurface() argument
41 surface = new Surface(session, 0, "BlackSurface", in BlackSurface()
79 public BlackFrame(SurfaceSession session, Rect outer, Rect inner, in BlackFrame() argument
85 mBlackSurfaces[0] = new BlackSurface(session, layer, in BlackFrame()
89 mBlackSurfaces[1] = new BlackSurface(session, layer, in BlackFrame()
93 mBlackSurfaces[2] = new BlackSurface(session, layer, in BlackFrame()
97 mBlackSurfaces[3] = new BlackSurface(session, layer, in BlackFrame()
/frameworks/base/media/libstagefright/rtsp/
Drtp_test.cpp79 sp<ARTPSession> session = new ARTPSession; in main() local
80 looper->registerHandler(session); in main()
166 CHECK_EQ(session->setup(desc), (status_t)OK); in main()
178 CHECK_EQ(session->countTracks(), 1u); in main()
179 sp<MediaSource> source = session->trackAt(0); in main()
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java71 public void setSessionEnabled(InputMethodSession session, boolean enabled) { in setSessionEnabled() argument
72 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled); in setSessionEnabled()
80 public void revokeSession(InputMethodSession session) { in revokeSession() argument
81 ((AbstractInputMethodSessionImpl)session).revokeSelf(); in revokeSession()
DIInputMethodWrapper.java87 public void sessionCreated(InputMethodSession session) { in sessionCreated() argument
89 if (session != null) { in sessionCreated()
91 new IInputMethodSessionWrapper(mContext, session); in sessionCreated()
251 public void setSessionEnabled(IInputMethodSession session, boolean enabled) { in setSessionEnabled() argument
254 session).getInternalInputMethodSession(); in setSessionEnabled()
258 Log.w(TAG, "Incoming session not of correct type: " + session, e); in setSessionEnabled()
262 public void revokeSession(IInputMethodSession session) { in revokeSession() argument
265 session).getInternalInputMethodSession(); in revokeSession()
268 Log.w(TAG, "Incoming session not of correct type: " + session, e); in revokeSession()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java77 public void sessionCreated(InputMethodSession session); in sessionCreated() argument
166 public void setSessionEnabled(InputMethodSession session, boolean enabled); in setSessionEnabled() argument
177 public void revokeSession(InputMethodSession session); in revokeSession() argument
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java160 final SpellCheckerSession session = new SpellCheckerSession(sci, sService, listener); in newSpellCheckerSession() local
163 session.getTextServicesSessionListener(), in newSpellCheckerSession()
164 session.getSpellCheckerSessionListener(), bundle); in newSpellCheckerSession()
168 return session; in newSpellCheckerSession()
DSpellCheckerSession.java230 public synchronized void onServiceConnected(ISpellCheckerSession session) { in onServiceConnected() argument
231 mISpellCheckerSession = session; in onServiceConnected()
321 public void onServiceConnected(ISpellCheckerSession session) { in onServiceConnected() argument
325 mSpellCheckerSessionListenerImpl.onServiceConnected(session); in onServiceConnected()
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c796 int32_t session; in SVC_drm_openSession() local
1078 session = addSession(s); in SVC_drm_openSession()
1079 if (-1 == session) in SVC_drm_openSession()
1082 return session; in SVC_drm_openSession()
1086 int32_t SVC_drm_getDeliveryMethod(int32_t session) in SVC_drm_getDeliveryMethod() argument
1090 if (session < 0) in SVC_drm_getDeliveryMethod()
1093 s = getSession(session); in SVC_drm_getDeliveryMethod()
1101 int32_t SVC_drm_getContentType(int32_t session, uint8_t* mediaType) in SVC_drm_getContentType() argument
1105 if (session < 0 || NULL == mediaType) in SVC_drm_getContentType()
1108 s = getSession(session); in SVC_drm_getContentType()
[all …]
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java57 public String session; field in VpnConfig
75 out.writeString(session); in writeToParcel()
92 config.session = in.readString();
/frameworks/base/include/media/
DIAudioPolicyService.h59 int session = 0) = 0;
62 int session = 0) = 0;
84 int session,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVirtualizerTest.java274 private void getVirtualizer(int session) { in getVirtualizer() argument
275 if (mVirtualizer == null || session != mSession) { in getVirtualizer()
276 if (session != mSession && mVirtualizer != null) { in getVirtualizer()
281 mVirtualizer = new Virtualizer(0, session); in getVirtualizer()
282 mSession = session; in getVirtualizer()
DMediaBassBoostTest.java269 private void getBassBoost(int session) { in getBassBoost() argument
270 if (mBassBoost == null || session != mSession) { in getBassBoost()
271 if (session != mSession && mBassBoost != null) { in getBassBoost()
276 mBassBoost = new BassBoost(0, session); in getBassBoost()
277 mSession = session; in getBassBoost()

1234