Searched refs:session (Results 1 - 25 of 81) sorted by relevance

1234

/frameworks/base/voip/java/android/net/sip/
H A DSipSessionAdapter.java25 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 DISipSessionListener.aidl23 * 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 DSipSession.java23 * 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 DSipManager.java45 * <li>Verify session connectivity, with {@link #isOpened isOpened()} and
78 * Key to retrieve the offered session description from an incoming call
194 * string. The intent contains a call ID extra and an offer session
203 * result code and the intent to fill in the call ID and session
383 throw new SipException("Cannot retrieve session with null intent");
398 ISipSession session = mSipService.getPendingSession(callId);
399 if (session == null) {
400 throw new SipException("No pending session for the call");
403 mContext, session.getLocalProfile());
404 call.attachCall(new SipSession(session), offerS
587 getUri(ISipSession session) argument
600 onRegistering(ISipSession session) argument
605 onRegistrationDone(ISipSession session, int duration) argument
612 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
618 onRegistrationTimeout(ISipSession session) argument
[all...]
H A DSipAudioCall.java116 * Called when the session is established.
126 * Called when the session is terminated.
136 * Called when the peer is busy during session initialization.
338 * @return the session state
351 * @return the session object that carries this call
384 public void onCalling(SipSession session) {
385 Log.d(TAG, "calling... " + session);
397 public void onRingingBack(SipSession session) {
398 Log.d(TAG, "sip call ringing back: " + session);
410 public void onRinging(SipSession session,
594 attachCall(SipSession session, String sessionDescription) argument
1123 getPeerProfile(SipSession session) argument
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp89 preproc_session_t *session; // session the effect is on member in struct:preproc_effect_s
100 struct preproc_effect_s effects[PREPROC_NUM_EFFECTS]; // effects in this session
102 int id; // audio session ID
103 int io; // handle of input stream this session is on
281 webrtc::GainControl *agc = effect->session->apm->gain_control();
444 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile();
469 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms();
489 status = effect->session->apm->set_stream_delay_ms(value/1000);
567 webrtc::NoiseSuppression *ns = effect->session
728 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument
752 Session_Init(preproc_session_t *session) argument
769 Session_CreateEffect(preproc_session_t *session, int32_t procId, effect_handle_t *interface) argument
841 Session_ReleaseEffect(preproc_session_t *session, preproc_effect_t *fx) argument
879 Session_SetConfig(preproc_session_t *session, effect_config_t *config) argument
1008 Session_GetConfig(preproc_session_t *session, effect_config_t *config) argument
1020 Session_SetReverseConfig(preproc_session_t *session, effect_config_t *config) argument
1053 Session_GetReverseConfig(preproc_session_t *session, effect_config_t *config) argument
1064 Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled) argument
1172 preproc_session_t * session = (preproc_session_t *)effect->session; local
1723 preproc_session_t * session = (preproc_session_t *)effect->session; local
1854 preproc_session_t *session; local
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionManager.java87 // Save the session
88 Session session = mSessions.get(mKey);
89 if (session != null) {
90 synchronized(session) {
91 if (session.learner != learner) {
94 session.modified = true;
120 // found session in the storage, put in the cache
125 // if session is not already stored, create a new one.
126 Log.i(TAG, "create a new learning session: " + key.value);
131 Session session
[all...]
H A DBordeauxSessionStorage.java30 // This class manages the database for storing the session data.
35 // unique key for the session
60 throw new RuntimeException("Can't open session database");
102 BordeauxSessionManager.Session session = new BordeauxSessionManager.Session();
105 session.learnerClass = Class.forName(className);
106 session.learner = (IBordeauxLearner) session.learnerClass.getConstructor().newInstance();
111 session.learner.setModel(model);
112 return session;
125 throw new RuntimeException("Unexpected duplication in session tabl
[all...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionListenerProxy.java46 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 DSipService.java93 // session ID --> session
381 private synchronized void addPendingSession(ISipSession session) { argument
384 mPendingSessions.put(session.getCallId(), session);
538 SipSessionGroup.SipSessionImpl session =
542 if (!isRegistered() || callingSelf(this, session)) {
543 session.endCall();
548 addPendingSession(session);
550 session
564 onError(ISipSession session, int errorCode, String message) argument
961 onRegistering(ISipSession session) argument
971 notCurrentSession(ISipSession session) argument
981 onRegistrationDone(ISipSession session, int duration) argument
1018 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
1043 onRegistrationTimeout(ISipSession session) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupManager.java144 RestoreSession session = null;
149 session = new RestoreSession(mContext, binder);
150 result = session.restorePackage(mContext.getPackageName(), observer);
155 if (session != null) {
156 session.endRestoreSession();
169 RestoreSession session = null;
176 session = new RestoreSession(mContext, binder);
182 return session;
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Dsvc_drm.h184 * 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 Ddrm_file.h85 * 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 DInputMethod.java77 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/com/android/internal/view/
H A DIInputMethodCallback.aidl33 void sessionCreated(IInputMethodSession session);
H A DIInputMethod.aidl49 void setSessionEnabled(IInputMethodSession session, boolean enabled);
51 void revokeSession(IInputMethodSession session);
H A DBaseIWindow.java32 public void setSession(IWindowSession session) { argument
33 mSession = session;
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java58 * 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...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java142 * @return true if the connection to a text service of this session is disconnected and not
150 * Get the spell checker service info this spell checker session has.
165 * Finish this session and allow TextServicesManagerService to disconnect the bound spell
258 private void processTask(ISpellCheckerSession session, SpellCheckerParams scp, argument
267 session.onCancel();
277 session.onGetSuggestionsMultiple(scp.mTextInfos,
288 session.onGetSentenceSuggestionsMultiple(
299 session.onClose();
308 scp.mSession = session;
327 public synchronized void onServiceConnected(ISpellCheckerSession session) { argument
465 onServiceConnected(ISpellCheckerSession session) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A Dwfd.cpp106 sp<ANetworkSession> session = new ANetworkSession; local
107 session->start();
111 sp<WifiDisplaySink> sink = new WifiDisplaySink(session);
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
H A DDataIdleTest.java75 INetworkStatsSession session = null;
78 session = mStatsService.openSession();
79 final NetworkStats stats = session.getSummaryForAllUid(
85 TrafficStats.closeQuietly(session);
/frameworks/base/services/java/com/android/server/wm/
H A DBlackFrame.java38 BlackSurface(SurfaceSession session, int layer, int l, int t, int r, int b, int layerStack) argument
46 surface = new WindowStateAnimator.SurfaceTrace(session, "BlackSurface("
50 surface = new Surface(session, "BlackSurface",
106 public BlackFrame(SurfaceSession session, Rect outer, Rect inner, argument
114 mBlackSurfaces[0] = new BlackSurface(session, layer,
118 mBlackSurfaces[1] = new BlackSurface(session, layer,
122 mBlackSurfaces[2] = new BlackSurface(session, layer,
126 mBlackSurfaces[3] = new BlackSurface(session, layer,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DEnergyProbe.java41 public EnergyProbe(int session) { argument
43 mVisualizer = new Visualizer(session);
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp79 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 DMediaBassBoostTest.java184 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;

Completed in 1072 milliseconds

1234