Lines Matching defs:session

45  * <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), offerSd);
436 * Gets the offer session description from the specified incoming call
440 * @return the offer session description or null if the intent does not
451 * @param sessionDescription the session description of the incoming call
479 ISipSession session = mSipService.createSession(localProfile,
481 if (session == null) {
485 session.register(expiryTime);
504 ISipSession session = mSipService.createSession(localProfile,
506 if (session == null) {
510 session.unregister();
524 * @return the session object that handles the incoming call
547 * @param localProfile the SIP profile the session is associated with
548 * @param listener to listen to SIP session events
587 private String getUri(ISipSession session) {
589 return ((session == null)
591 : session.getLocalProfile().getUriString());
600 public void onRegistering(ISipSession session) {
601 mListener.onRegistering(getUri(session));
605 public void onRegistrationDone(ISipSession session, int duration) {
608 mListener.onRegistrationDone(getUri(session), expiryTime);
612 public void onRegistrationFailed(ISipSession session, int errorCode,
614 mListener.onRegistrationFailed(getUri(session), errorCode, message);
618 public void onRegistrationTimeout(ISipSession session) {
619 mListener.onRegistrationFailed(getUri(session),