/frameworks/base/voip/java/android/net/sip/ |
H A D | SipSessionAdapter.java | 25 public void onCalling(ISipSession session) { argument 28 public void onRinging(ISipSession session, SipProfile caller, argument 32 public void onRingingBack(ISipSession session) { argument 35 public void onCallEstablished(ISipSession session, argument 39 public void onCallEnded(ISipSession session) { argument 42 public void onCallBusy(ISipSession session) { argument 45 public void onCallTransferring(ISipSession session, argument 49 public void onCallChangeFailed(ISipSession session, int errorCode, argument 53 public void onError(ISipSession session, int errorCode, String message) { argument 56 public void onRegistering(ISipSession session) { argument 59 onRegistrationDone(ISipSession session, int duration) argument 62 onRegistrationFailed(ISipSession session, int errorCode, String message) argument 66 onRegistrationTimeout(ISipSession session) argument [all...] |
H A D | ISipSessionListener.aidl | 23 * Listener class to listen to SIP session events. 30 * @param session the session object that carries out the transaction 32 void onCalling(in ISipSession session); 37 * @param session the session object that carries out the transaction 39 * @param sessionDescription the caller's session description 41 void onRinging(in ISipSession session, in SipProfile caller, 47 * @param session the session objec [all...] |
H A D | SipSession.java | 23 * Represents a SIP session that is associated with a SIP dialog or a standalone 33 * Defines SIP session states, such as "registering", "outgoing call", and "in call". 36 /** When session is ready to initiate a call or transaction. */ 107 * Listener for events relating to a SIP session, such as when a session is being registered 115 * @param session the session object that carries out the transaction 117 public void onCalling(SipSession session) { argument 123 * @param session the session objec 127 onRinging(SipSession session, SipProfile caller, String sessionDescription) argument 136 onRingingBack(SipSession session) argument 145 onCallEstablished(SipSession session, String sessionDescription) argument 154 onCallEnded(SipSession session) argument 162 onCallBusy(SipSession session) argument 184 onError(SipSession session, int errorCode, String errorMessage) argument 195 onCallChangeFailed(SipSession session, int errorCode, String errorMessage) argument 204 onRegistering(SipSession session) argument 213 onRegistrationDone(SipSession session, int duration) argument 223 onRegistrationFailed(SipSession session, int errorCode, String errorMessage) argument 232 onRegistrationTimeout(SipSession session) argument [all...] |
H A D | SipManager.java | 45 * <li>Verify session connectivity, with {@link #isOpened isOpened()} and 71 * Key to retrieve the offered session description from an incoming call 187 * string. The intent contains a call ID extra and an offer session 196 * result code and the intent to fill in the call ID and session 376 throw new SipException("Cannot retrieve session with null intent"); 391 ISipSession session = mSipService.getPendingSession(callId); 392 if (session == null) { 393 throw new SipException("No pending session for the call"); 396 mContext, session.getLocalProfile()); 397 call.attachCall(new SipSession(session), offerS 580 getUri(ISipSession session) argument 593 onRegistering(ISipSession session) argument 598 onRegistrationDone(ISipSession session, int duration) argument 605 onRegistrationFailed(ISipSession session, int errorCode, String message) argument 611 onRegistrationTimeout(ISipSession session) argument [all...] |
H A D | SipAudioCall.java | 109 * Called when the session is established. 119 * Called when the session is terminated. 129 * Called when the peer is busy during session initialization. 331 * @return the session state 344 * @return the session object that carries this call 377 public void onCalling(SipSession session) { 378 Log.d(TAG, "calling... " + session); 390 public void onRingingBack(SipSession session) { 391 Log.d(TAG, "sip call ringing back: " + session); 403 public void onRinging(SipSession session, 587 attachCall(SipSession session, String sessionDescription) argument 1116 getPeerProfile(SipSession session) argument [all...] |
/frameworks/base/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 87 preproc_session_t *session; // session the effect is on member in struct:preproc_effect_s 94 struct preproc_effect_s effects[PREPROC_NUM_EFFECTS]; // effects in this session 96 int id; // audio session ID 97 int io; // handle of input stream this session is on 240 webrtc::GainControl *agc = effect->session->apm->gain_control(); 403 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); 428 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms(); 448 status = effect->session->apm->set_stream_delay_ms(value/1000); 522 webrtc::NoiseSuppression *ns = effect->session 681 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument 705 Session_Init(preproc_session_t *session) argument 722 Session_CreateEffect(preproc_session_t *session, int32_t procId, effect_handle_t *interface) argument 794 Session_ReleaseEffect(preproc_session_t *session, preproc_effect_t *fx) argument 832 Session_SetConfig(preproc_session_t *session, effect_config_t *config) argument 943 Session_SetReverseConfig(preproc_session_t *session, effect_config_t *config) argument 972 Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled) argument 1080 preproc_session_t * session = (preproc_session_t *)effect->session; local 1404 preproc_session_t * session = (preproc_session_t *)effect->session; local 1535 preproc_session_t *session; local [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipSessionListenerProxy.java | 46 public void onCalling(final ISipSession session) { argument 51 mListener.onCalling(session); 59 public void onRinging(final ISipSession session, final SipProfile caller, argument 65 mListener.onRinging(session, caller, sessionDescription); 73 public void onRingingBack(final ISipSession session) { argument 78 mListener.onRingingBack(session); 86 public void onCallEstablished(final ISipSession session, argument 92 mListener.onCallEstablished(session, sessionDescription); 100 public void onCallEnded(final ISipSession session) { argument 105 mListener.onCallEnded(session); 127 onCallBusy(final ISipSession session) argument 140 onCallChangeFailed(final ISipSession session, final int errorCode, final String message) argument 154 onError(final ISipSession session, final int errorCode, final String message) argument 168 onRegistering(final ISipSession session) argument 181 onRegistrationDone(final ISipSession session, final int duration) argument 195 onRegistrationFailed(final ISipSession session, final int errorCode, final String message) argument 209 onRegistrationTimeout(final ISipSession session) argument [all...] |
H A D | SipService.java | 94 // session ID --> session 389 private synchronized void addPendingSession(ISipSession session) { argument 392 mPendingSessions.put(session.getCallId(), session); 584 SipSessionGroup.SipSessionImpl session = 588 if (!isRegistered() || callingSelf(this, session)) { 589 session.endCall(); 594 addPendingSession(session); 596 session 610 onError(ISipSession session, int errorCode, String message) argument 1007 onRegistering(ISipSession session) argument 1017 notCurrentSession(ISipSession session) argument 1027 onRegistrationDone(ISipSession session, int duration) argument 1064 onRegistrationFailed(ISipSession session, int errorCode, String message) argument 1089 onRegistrationTimeout(ISipSession session) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupManager.java | 144 RestoreSession session = null; 148 session = new RestoreSession(mContext, binder); 149 result = session.restorePackage(mContext.getPackageName(), observer); 153 if (session != null) { 154 session.endRestoreSession(); 167 RestoreSession session = null; 173 session = new RestoreSession(mContext, binder); 178 return session;
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | svc_drm.h | 184 * Open a session for a special DRM object, it will parse the input DRM data, and then user 190 * -A handle for this opened DRM object session. 199 * \param session The handle for this DRM object session. 205 int32_t SVC_drm_getDeliveryMethod(int32_t session); 210 * \param session The handle for this DRM object session. 215 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed. 218 int32_t SVC_drm_getContentType(int32_t session, uint8_t* mediaType); 223 * \param session Th [all...] |
H A D | drm_file.h | 85 * Initializes a list iteration session. 89 * @param session List session identifier. 96 int32_t* session, 103 * iteration session. 105 * the iteration session. 110 * @param session See DRM_file_listOpen(). 119 int32_t* session, 123 * Ends a list iteration session. Notifies the implementation 124 * that the list session i [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethod.java | 77 public void sessionCreated(InputMethodSession session); argument 82 * unique token for the session it has with the system service. It is 153 * use {@link #revokeSession(InputMethodSession)} to destroy the session 156 * @param callback Interface that is called with the newly created session. 161 * Control whether a particular input method session is active. 163 * @param session The {@link InputMethodSession} previously provided through 166 public void setSessionEnabled(InputMethodSession session, boolean enabled); argument 169 * Disable and destroy a session that was previously created with 171 * After this call, the given session interface is no longer active and 174 * @param session Th 177 revokeSession(InputMethodSession session) argument [all...] |
/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerSession.java | 136 * @return true if the connection to a text service of this session is disconnected and not 144 * Get the spell checker service info this spell checker session has. 159 * Finish this session and allow TextServicesManagerService to disconnect the bound spell 234 private void processTask(ISpellCheckerSession session, SpellCheckerParams scp, argument 243 session.onCancel(); 253 session.onGetSuggestionsMultiple(scp.mTextInfos, 264 session.onClose(); 273 scp.mSession = session; 292 public synchronized void onServiceConnected(ISpellCheckerSession session) { argument 294 mISpellCheckerSession = session; 404 onServiceConnected(ISpellCheckerSession session) argument [all...] |
/frameworks/base/core/java/android/service/textservice/ |
H A D | SpellCheckerService.java | 42 * {@link #createSession()} to provide a spell checker session that is corresponding 43 * to requested language and so on. The spell checker session returned by this method 84 * Factory method to create a spell checker session impl 98 public final void setInternalISpellCheckerSession(InternalISpellCheckerSession session) { argument 99 mInternalSession = session; 150 * Request to close this session. 158 * @return Locale for this session 165 * @return Bundle for this session 180 Bundle bundle, Session session) { 182 mSession = session; 179 InternalISpellCheckerSession(String locale, ISpellCheckerSessionListener listener, Bundle bundle, Session session) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethodCallback.aidl | 33 void sessionCreated(IInputMethodSession session);
|
H A D | IInputMethod.aidl | 49 void setSessionEnabled(IInputMethodSession session, boolean enabled); 51 void revokeSession(IInputMethodSession session);
|
H A D | BaseIWindow.java | 32 public void setSession(IWindowSession session) { argument 33 mSession = session;
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | AbstractInputMethodService.java | 58 * Instantiate a new client session for the input method, by calling 67 * Take care of enabling or disabling an existing session by calling its 71 public void setSessionEnabled(InputMethodSession session, boolean enabled) { argument 72 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled); 76 * Take care of killing an existing session by calling its 80 public void revokeSession(InputMethodSession session) { argument 81 ((AbstractInputMethodSessionImpl)session).revokeSelf(); 87 * interface. This takes care of basic maintenance of the session, 95 * Check whether this session has been enabled by the system. If not 103 * Check whether this session ha [all...] |
H A D | IInputMethodWrapper.java | 87 public void sessionCreated(InputMethodSession session) { argument 89 if (session != null) { 91 new IInputMethodSessionWrapper(mContext, session); 251 public void setSessionEnabled(IInputMethodSession session, boolean enabled) { argument 254 session).getInternalInputMethodSession(); 258 Log.w(TAG, "Incoming session not of correct type: " + session, e); 262 public void revokeSession(IInputMethodSession session) { argument 265 session).getInternalInputMethodSession(); 268 Log.w(TAG, "Incoming session no [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | BlackFrame.java | 35 BlackSurface(SurfaceSession session, int layer, int l, int t, int r, int b) argument 41 surface = new Surface(session, 0, "BlackSurface", 79 public BlackFrame(SurfaceSession session, Rect outer, Rect inner, argument 85 mBlackSurfaces[0] = new BlackSurface(session, layer, 89 mBlackSurfaces[1] = new BlackSurface(session, layer, 93 mBlackSurfaces[2] = new BlackSurface(session, layer, 97 mBlackSurfaces[3] = new BlackSurface(session, layer,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | EnergyProbe.java | 41 public EnergyProbe(int session) { argument 43 mVisualizer = new Visualizer(session);
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 79 sp<ARTPSession> session = new ARTPSession; local 80 looper->registerHandler(session); 166 CHECK_EQ(session->setup(desc), (status_t)OK); 178 CHECK_EQ(session->countTracks(), 1u); 179 sp<MediaSource> source = session->trackAt(0);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaBassBoostTest.java | 184 private void getBassBoost(int session) { argument 185 if (mBassBoost == null || session != mSession) { 186 if (session != mSession && mBassBoost != null) { 191 mBassBoost = new BassBoost(0, session); 192 mSession = session;
|
H A D | MediaVirtualizerTest.java | 185 private void getVirtualizer(int session) { argument 186 if (mVirtualizer == null || session != mSession) { 187 if (session != mSession && mVirtualizer != null) { 192 mVirtualizer = new Virtualizer(0, session); 193 mSession = session;
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 72 DecodeSession *session = (DecodeSession*) decodeSessionMap.getValueAt(i); local 73 FwdLockFile_detach(session->fileDesc); 74 ::close(session->fileDesc); 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 614 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local [all...] |