/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 89 preproc_session_t *session; // session the effect is on member 281 webrtc::GainControl *agc = effect->session->apm->gain_control(); in AgcCreate() 444 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); in AecCreate() 469 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms(); in AecGetParameter() 489 status = effect->session->apm->set_stream_delay_ms(value/1000); in AecSetParameter() 563 webrtc::NoiseSuppression *ns = effect->session->apm->noise_suppression(); in NsCreate() 626 void Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled); 643 Session_SetProcEnabled(effect->session, effect->procId, false); in Effect_SetState() 675 Session_SetProcEnabled(effect->session, effect->procId, false); in Effect_SetState() 696 Session_SetProcEnabled(effect->session, effect->procId, true); in Effect_SetState() [all …]
|
/frameworks/base/voip/java/android/net/sip/ |
D | SipSessionAdapter.java | 25 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 …]
|
D | ISipSessionListener.aidl | 32 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 …]
|
D | SipSession.java | 117 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 …]
|
D | SipManager.java | 398 ISipSession session = mSipService.getPendingSession(callId); in takeAudioCall() local 399 if (session == null) { in takeAudioCall() 403 mContext, session.getLocalProfile()); in takeAudioCall() 404 call.attachCall(new SipSession(session), offerSd); in takeAudioCall() 479 ISipSession session = mSipService.createSession(localProfile, in register() local 481 if (session == null) { in register() 485 session.register(expiryTime); in register() 504 ISipSession session = mSipService.createSession(localProfile, in unregister() local 506 if (session == null) { in unregister() 510 session.unregister(); in unregister() [all …]
|
D | SipAudioCall.java | 384 public void onCalling(SipSession session) { in createListener() 385 Log.d(TAG, "calling... " + session); in createListener() 397 public void onRingingBack(SipSession session) { in createListener() argument 398 Log.d(TAG, "sip call ringing back: " + session); in createListener() 410 public void onRinging(SipSession session, in createListener() argument 415 || !session.getCallId().equals( in createListener() 418 session.endCall(); in createListener() 428 session.endCall(); in createListener() 434 public void onCallEstablished(SipSession session, in createListener() argument 441 && (session == mTransferringSession)) { in createListener() [all …]
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipSessionListenerProxy.java | 46 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 …]
|
D | SipService.java | 381 private synchronized void addPendingSession(ISipSession session) { in addPendingSession() argument 384 mPendingSessions.put(session.getCallId(), session); in addPendingSession() local 538 SipSessionGroup.SipSessionImpl session = in onRinging() local 542 if (!isRegistered() || callingSelf(this, session)) { in onRinging() 543 session.endCall(); in onRinging() 548 addPendingSession(session); in onRinging() 550 session.getCallId(), sessionDescription); in onRinging() 552 + caller.getUri() + ": " + session.getCallId() in onRinging() 558 session.endCall(); in onRinging() 564 public void onError(ISipSession session, int errorCode, in onError() argument [all …]
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxSessionManager.java | 88 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 …]
|
D | BordeauxSessionStorage.java | 102 BordeauxSessionManager.Session session = new BordeauxSessionManager.Session(); in getSessionFromCursor() local 105 session.learnerClass = Class.forName(className); in getSessionFromCursor() 106 … session.learner = (IBordeauxLearner) session.learnerClass.getConstructor().newInstance(); in getSessionFromCursor() 111 session.learner.setModel(model); in getSessionFromCursor() 112 return session; in getSessionFromCursor() 133 BordeauxSessionManager.Session session = getSessionFromCursor(cursor); in getAllSessions() local 134 sessions.put(key, session); in getAllSessions()
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
D | svc_drm.h | 205 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);
|
D | drm_file.h | 96 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/ |
D | BackupManager.java | 144 RestoreSession session = null; in requestRestore() local 149 session = new RestoreSession(mContext, binder); in requestRestore() 150 result = session.restorePackage(mContext.getPackageName(), observer); in requestRestore() 155 if (session != null) { in requestRestore() 156 session.endRestoreSession(); in requestRestore() 169 RestoreSession session = null; in beginRestoreSession() local 176 session = new RestoreSession(mContext, binder); in beginRestoreSession() 182 return session; in beginRestoreSession()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSession.java | 258 private void processTask(ISpellCheckerSession session, SpellCheckerParams scp, in processTask() argument 267 session.onCancel(); in processTask() 277 session.onGetSuggestionsMultiple(scp.mTextInfos, in processTask() 288 session.onGetSentenceSuggestionsMultiple( in processTask() 299 session.onClose(); in processTask() 308 scp.mSession = session; in processTask() 327 public synchronized void onServiceConnected(ISpellCheckerSession session) { in onServiceConnected() argument 329 mISpellCheckerSession = session; in onServiceConnected() 330 if (session.asBinder() instanceof Binder && mThread == null) { in onServiceConnected() 348 processTask(session, mPendingTasks.poll(), false); in onServiceConnected() [all …]
|
D | TextServicesManager.java | 160 final SpellCheckerSession session = new SpellCheckerSession( in newSpellCheckerSession() local 164 session.getTextServicesSessionListener(), in newSpellCheckerSession() 165 session.getSpellCheckerSessionListener(), bundle); in newSpellCheckerSession() 169 return session; in newSpellCheckerSession()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 71 DecodeSession *session = (DecodeSession*) decodeSessionMap.getValueAt(i); in ~FwdLockEngine() local 72 FwdLockFile_detach(session->fileDesc); in ~FwdLockEngine() 73 ::close(session->fileDesc); in ~FwdLockEngine() 557 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local 558 if (NULL != session && session->fileDesc > -1) { 559 FwdLockFile_detach(session->fileDesc); 560 ::close(session->fileDesc); 623 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local 624 if (NULL != session && session->fileDesc > -1) { 625 size = FwdLockFile_read(session->fileDesc, buffer, numBytes); [all …]
|
/frameworks/base/services/java/com/android/server/wm/ |
D | BlackFrame.java | 38 BlackSurface(SurfaceSession session, int layer, int l, int t, int r, int b) in BlackSurface() argument 46 surface = new WindowStateAnimator.SurfaceTrace(session, 0, "BlackSurface(" in BlackSurface() 50 surface = new Surface(session, 0, "BlackSurface", in BlackSurface() 105 public BlackFrame(SurfaceSession session, Rect outer, Rect inner, in BlackFrame() argument 113 mBlackSurfaces[0] = new BlackSurface(session, layer, in BlackFrame() 117 mBlackSurfaces[1] = new BlackSurface(session, layer, in BlackFrame() 121 mBlackSurfaces[2] = new BlackSurface(session, layer, in BlackFrame() 125 mBlackSurfaces[3] = new BlackSurface(session, layer, in BlackFrame()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | rtp_test.cpp | 79 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/ |
D | IInputMethodWrapper.java | 87 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()
|
D | AbstractInputMethodService.java | 71 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()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethod.java | 77 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/tests/DataIdleTest/src/com/android/tests/dataidle/ |
D | DataIdleTest.java | 75 INetworkStatsSession session = null; in fetchStats() local 78 session = mStatsService.openSession(); in fetchStats() 79 final NetworkStats stats = session.getSummaryForAllUid( in fetchStats() 85 TrafficStats.closeQuietly(session); in fetchStats()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaBassBoostTest.java | 184 private void getBassBoost(int session) { in getBassBoost() argument 185 if (mBassBoost == null || session != mSession) { in getBassBoost() 186 if (session != mSession && mBassBoost != null) { in getBassBoost() 191 mBassBoost = new BassBoost(0, session); in getBassBoost() 192 mSession = session; in getBassBoost()
|
D | MediaVirtualizerTest.java | 185 private void getVirtualizer(int session) { in getVirtualizer() argument 186 if (mVirtualizer == null || session != mSession) { in getVirtualizer() 187 if (session != mSession && mVirtualizer != null) { in getVirtualizer() 192 mVirtualizer = new Virtualizer(0, session); in getVirtualizer() 193 mSession = session; in getVirtualizer()
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 106 public final void setInternalISpellCheckerSession(InternalISpellCheckerSession session) { in setInternalISpellCheckerSession() argument 107 mInternalSession = session; in setInternalISpellCheckerSession() 244 Bundle bundle, Session session) { in InternalISpellCheckerSession() argument 246 mSession = session; in InternalISpellCheckerSession() 249 session.setInternalISpellCheckerSession(this); in InternalISpellCheckerSession() 320 final Session session = service.createSession(); in getISpellCheckerSession() 322 new InternalISpellCheckerSession(locale, listener, bundle, session); in getISpellCheckerSession() 323 session.onCreate(); in getISpellCheckerSession()
|