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

123

/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 onCallChangeFailed(ISipSession session, int errorCode, argument
49 public void onError(ISipSession session, int errorCode, String message) { argument
52 public void onRegistering(ISipSession session) { argument
55 public void onRegistrationDone(ISipSession session, in argument
58 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
62 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. */
104 * Listener for events relating to a SIP session, such as when a session is being registered
112 * @param session the session object that carries out the transaction
114 public void onCalling(SipSession session) { argument
120 * @param session the session objec
124 onRinging(SipSession session, SipProfile caller, String sessionDescription) argument
133 onRingingBack(SipSession session) argument
142 onCallEstablished(SipSession session, String sessionDescription) argument
151 onCallEnded(SipSession session) argument
159 onCallBusy(SipSession session) argument
170 onError(SipSession session, int errorCode, String errorMessage) argument
181 onCallChangeFailed(SipSession session, int errorCode, String errorMessage) argument
190 onRegistering(SipSession session) argument
199 onRegistrationDone(SipSession session, int duration) argument
209 onRegistrationFailed(SipSession session, int errorCode, String errorMessage) argument
218 onRegistrationTimeout(SipSession session) argument
[all...]
H A DSipManager.java45 * <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
572 getUri(ISipSession session) argument
585 onRegistering(ISipSession session) argument
590 onRegistrationDone(ISipSession session, int duration) argument
597 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
603 onRegistrationTimeout(ISipSession session) argument
[all...]
H A DSipAudioCall.java107 * Called when the session is established.
117 * Called when the session is terminated.
127 * Called when the peer is busy during session initialization.
328 * @return the session state
341 * @return the session object that carries this call
353 public void onCalling(SipSession session) {
354 Log.d(TAG, "calling... " + session);
366 public void onRingingBack(SipSession session) {
367 Log.d(TAG, "sip call ringing back: " + session);
379 public void onRinging(SipSession session,
525 attachCall(SipSession session, String sessionDescription) argument
1063 getPeerProfile(SipSession session) argument
[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);
113 onCallBusy(final ISipSession session) argument
126 onCallChangeFailed(final ISipSession session, final int errorCode, final String message) argument
140 onError(final ISipSession session, final int errorCode, final String message) argument
154 onRegistering(final ISipSession session) argument
167 onRegistrationDone(final ISipSession session, final int duration) argument
181 onRegistrationFailed(final ISipSession session, final int errorCode, final String message) argument
195 onRegistrationTimeout(final ISipSession session) argument
[all...]
H A DSipService.java92 // session ID --> session
457 private synchronized void addPendingSession(ISipSession session) { argument
460 mPendingSessions.put(session.getCallId(), session);
615 SipSessionGroup.SipSessionImpl session =
619 if (!isRegistered() || callingSelf(this, session)) {
620 session.endCall();
625 addPendingSession(session);
627 session
641 onError(ISipSession session, int errorCode, String message) argument
698 KeepAliveProcess(SipSessionGroup.SipSessionImpl session) argument
886 onRegistering(ISipSession session) argument
896 notCurrentSession(ISipSession session) argument
906 onRegistrationDone(ISipSession session, int duration) argument
947 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
972 onRegistrationTimeout(ISipSession session) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupManager.java139 RestoreSession session = null;
143 session = new RestoreSession(mContext, binder);
144 result = session.restorePackage(mContext.getPackageName(), observer);
148 if (session != null) {
149 session.endRestoreSession();
162 RestoreSession session = null;
168 session = new RestoreSession(mContext, binder);
173 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.aidl48 void setSessionEnabled(IInputMethodSession session, boolean enabled);
50 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...]
H A DIInputMethodWrapper.java84 public void sessionCreated(InputMethodSession session) { argument
86 if (session != null) {
88 new IInputMethodSessionWrapper(mContext, session);
240 public void setSessionEnabled(IInputMethodSession session, boolean enabled) { argument
243 session).getInternalInputMethodSession();
247 Log.w(TAG, "Incoming session not of correct type: " + session, e);
251 public void revokeSession(IInputMethodSession session) { argument
254 session).getInternalInputMethodSession();
257 Log.w(TAG, "Incoming session no
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DEnergyProbe.java41 public EnergyProbe(int session) { argument
43 mVisualizer = new Visualizer(session);
H A DMediaBassBoostTest.java263 private void getBassBoost(int session) { argument
264 if (mBassBoost == null || session != mSession) {
265 if (session != mSession && mBassBoost != null) {
270 mBassBoost = new BassBoost(0, session);
271 mSession = session;
H A DMediaVirtualizerTest.java268 private void getVirtualizer(int session) { argument
269 if (mVirtualizer == null || session != mSession) {
270 if (session != mSession && mVirtualizer != null) {
275 mVirtualizer = new Virtualizer(0, session);
276 mSession = session;
/frameworks/base/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/include/media/
H A DIAudioPolicyService.h58 int session = 0) = 0;
61 int session = 0) = 0;
81 int session,
/frameworks/base/core/java/android/net/http/
H A DCertificateChainValidator.java226 SSLSession session = socket.getSession();
227 if (session != null) {
228 session.invalidate();
/frameworks/base/media/libmedia/
H A DIAudioPolicyService.cpp146 int session)
152 data.writeInt32(session);
159 int session)
165 data.writeInt32(session);
277 int session,
285 data.writeInt32(session);
387 int session = data.readInt32(); local
390 session)));
398 int session = data.readInt32(); local
401 session)));
144 startOutput(audio_io_handle_t output, AudioSystem::stream_type stream, int session) argument
157 stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream, int session) argument
274 registerEffect(effect_descriptor_t *desc, audio_io_handle_t output, uint32_t strategy, int session, int id) argument
503 int session = data.readInt32(); local
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java134 final IInputMethodSession session; field in class:InputMethodManagerService.SessionState
141 + " session " + Integer.toHexString(
142 System.identityHashCode(session))
150 session = _session;
281 * Currently enabled session. Only touched by service thread, not
445 public void sessionCreated(IInputMethodSession session) throws RemoteException { argument
446 onSessionCreated(mMethod, session);
658 final SessionState session = mCurClient.curSession;
660 executeOrSendMessage(session.method, mCaller.obtainMessageOOO(
661 MSG_START_INPUT, session, mCurInputContex
851 onSessionCreated(IInputMethod method, IInputMethodSession session) argument
1291 setEnabledSessionInMainThread(SessionState session) argument
[all...]
/frameworks/base/services/audioflinger/
H A DAudioPolicyService.h62 int session = 0);
65 int session = 0);
88 int session,
133 virtual status_t moveEffects(int session,

Completed in 273 milliseconds

123