/external/smack/src/org/jivesoftware/smack/packet/ |
Session.java | 24 * IQ packet that will be sent to the server to establish a session.<p>
26 * If a server supports sessions, it MUST include a <i>session</i> element in the
28 * Upon being informed that session establishment is required by the server the client MUST
29 * establish a session if it desires to engage in instant messaging and presence functionality.<p>
32 * <a href=http://www.xmpp.org/specs/rfc3921.html#session>link</a>.
36 public class Session extends IQ {
38 public Session() {
43 return "<session xmlns=\"urn:ietf:params:xml:ns:xmpp-session\"/>";
|
/external/chromium_org/chrome/test/chromedriver/ |
session.cc | 5 #include "chrome/test/chromedriver/session.h" 23 const int Session::kDefaultPageLoadTimeoutMs = 5 * 60 * 1000; 25 Session::Session(const std::string& id) 36 Session::Session(const std::string& id, scoped_ptr<Chrome> chrome) 49 Session::~Session() {} 51 Status Session::GetTargetWindow(WebView** web_view) { 53 return Status(kNoSuchWindow, "no chrome started in this session"); [all...] |
session.h | 37 struct Session { 40 explicit Session(const std::string& id); 41 Session(const std::string& id, scoped_ptr<Chrome> chrome); 42 ~Session();
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/ |
Session.cpp | 35 #include "Session.h" 42 Session::Session( 57 Session::~Session(void) 89 void Session::setErrorInfo( 98 int32_t Session::getLastErr( 107 mcResult_t Session::addBulkBuf(addr_t buf, uint32_t len, BulkBufferDescriptor **blkBuf) 145 uint32_t Session::getBufHandle(addr_t sVirtAddr) 161 mcResult_t Session::removeBulkBuf(addr_t virtAddr [all...] |
Session.h | 71 /** Session states. 80 #define SESSION_ERR_NO 0 /**< No session error */ 82 /** Session information structure. 83 * The information structure is used to hold the state of the session, which will limit further actions for the session. 87 sessionState_t state; /**< Session state */ 88 int32_t lastErr; /**< Last error of session */ 92 class Session 97 bulkBufferDescrList_t bulkBufferDescriptors; /**< Descriptors of additional bulk buffer of a session */ 98 sessionInformation_t sessionInfo; /**< Informations about session */ [all...] |
/external/chromium_org/third_party/tlslite/tlslite/ |
Session.py | 1 """Class representing a TLS session.""" 7 class Session: 9 This class represents a TLS session. 12 handshake creates both a connection and a session. Data is 15 The session contains a more permanent record of the handshake. The 16 session can be inspected to determine handshake results. The 17 session can also be used to create a new connection through 18 "session resumption". If the client and server both support this, 19 they can create a new connection based on an old session without 22 The session for a L{tlslite.TLSConnection.TLSConnection} can b [all...] |
SharedKeyDB.py | 6 from Session import Session 31 session = Session() 32 session._createSharedKey(username, valueStr) 33 return session
|
TLSConnection.py | 9 from Session import Session 55 def handshakeClientSRP(self, username, password, session=None, 88 @type session: L{tlslite.Session.Session} 89 @param session: A TLS session to attempt to resume. This 90 session must be an SRP session performed with the same usernam [all...] |
api.py | 24 from Session import Session 50 from Session import Session
|
/external/chromium_org/remoting/protocol/ |
session.h | 26 class Session { 32 // Sent session-initiate, but haven't received session-accept. 35 // Received session-initiate, but haven't sent session-accept. 38 // Session has been accepted and is pending authentication. 41 // Session has been connected and authenticated. 44 // Session has been closed. 56 // Called after session state has changed. It is safe to destroy 57 // the session from within the handler if |state| is CLOSED o [all...] |
/external/chromium_org/chrome/test/webdriver/ |
webdriver_session.h | 41 // frame within a session. 55 // Every connection made by WebDriver maps to a session object. 58 // A session manages its own lifetime. 59 class Session { 61 // Adds this |Session| to the |SessionManager|. The session manages its own 63 Session(); 65 // Removes this |Session| from the |SessionManager|. 66 ~Session(); 68 // Initializes the session with the given capabilities [all...] |
webdriver_session.cc | 63 Session::Session() 80 Session::~Session() { 84 Error* Session::Init(const base::DictionaryValue* capabilities_dict) { 87 return new Error(kUnknownError, "Cannot start session thread"); 95 "Initializing session with capabilities " + 116 &Session::InitOnSessionThread, 129 Error* Session::BeforeExecuteCommand() { 146 Error* Session::AfterExecuteCommand() [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
PlaceholderManager.java | 41 public static class Session { 46 Session(String title, Uri uri, long timestamp) { 133 public Session insertPlaceholder(String title, byte[] placeholder, long timestamp) { 164 return new Session(title, uri, timestamp); 167 public void replacePlaceholder(Session session, Location location, int orientation, 170 Storage.updateImage(session.outputUri, mContext.getContentResolver(), session.outputTitle, 171 session.time, location, orientation, exif, jpeg, width, height, mimeType); 175 l.onTaskDone(session.outputUri.getPath(), session.outputUri) [all...] |
/external/chromium_org/content/browser/speech/ |
speech_recognition_manager_impl.cc | 98 // Set-up the new session. 99 Session* session = new Session(); local 100 sessions_[session_id] = session; 101 session->id = session_id; 102 session->config = config; 103 session->context = config.initial_context; 147 session->recognizer = new SpeechRecognizerImpl( 153 session->recognizer = new SpeechRecognizerImplAndroid(this, session_id) 450 Session* session = it->second; local 464 Session* session = it->second; local 558 Session* session = GetSession(session_id); local 645 Session* session = GetSession(session_id); local [all...] |
speech_recognition_manager_impl.h | 35 // corresponds to a session, initiated via |CreateSession|. 37 // In any moment, the manager has a single session known as the primary session, 39 // This is the session that is capturing audio, waiting for user permission, 48 // - Relays recognition results/status/error events of each session to the 50 // - Relays also recognition results/status/error events of every session to 125 struct Session { 126 Session(); 127 ~Session(); 150 // Entry point for pushing any external event into the session handling FSM [all...] |
/development/scripts/app_engine_server/gae_shell/ |
shell.py | 78 class Session(db.Model): 79 """A shell session. Stores the session's globals. 81 Each session globals is stored in one of two places: 170 """Creates a new session and renders the shell.html template. 174 # set up the session. TODO: garbage collect old shell sessions 175 session_key = self.request.get('session') 177 session = Session.get(session_key) 179 # create a new session [all...] |
/external/openssh/ |
session.h | 1 /* $OpenBSD: session.h,v 1.30 2008/05/08 12:21:16 djm Exp $ */ 30 typedef struct Session Session; 31 struct Session { 73 void session_destroy_all(void (*)(Session *)); 74 void session_pty_cleanup2(Session *); 76 Session *session_new(void); 77 Session *session_by_tty(char *); 78 void session_close(Session *);
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
session.cc | 28 #include "talk/p2p/base/session.h" 189 // Session timeout has occured. 219 Session::Session(SessionManager *session_manager, 243 Session::~Session() { 258 Transport* Session::GetTransport(const std::string& content_name) { 265 void Session::set_allow_local_ips(bool allow) { 273 bool Session::Initiate(const std::string &to, 297 SetState(Session::STATE_SENTINITIATE) [all...] |
session.h | 67 // Used for errors that may be returned by public session methods that 69 // TODO: Use this error in Session::Initiate and 70 // Session::Accept. 75 // create transport channels before receiving or sending a session 77 // session had one ChannelMap and transport. Now, with multiple 78 // transports per session, we need multiple ChannelMaps as well. 127 // on Session. Right now the Channel class requires a BaseSession, but it only 132 // A BaseSession manages general session state. This includes negotiation 155 STATE_INPROGRESS, // session accepted and in progress 156 STATE_DEINIT, // session is being destroye [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
Session.java | 17 * A <code>Session</code> is a remote execution of a program. "Program" means 20 * a session. However, multiple sessions can be active simultaneously. 23 * @version $Id: Session.java 32 2011-05-28 21:56:21Z dkocher@sudo.ch $ 25 public class Session 39 protected Session(ChannelManager cm, SecureRandom rnd) throws IOException 69 * Allocate a pseudo-terminal for this session. 72 * this session. 113 throw new IOException("This session is closed."); 130 * Request X11 forwarding for the current session. 135 * this session [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxSessionManager.java | 41 static class Session { 71 private ConcurrentHashMap<String, Session> mSessions = 72 new ConcurrentHashMap<String, Session>(); 87 // Save the session 88 Session session = mSessions.get(mKey); local 89 if (session != null) { 90 synchronized(session) { 91 if (session.learner != learner) { 92 throw new RuntimeException("Session data corrupted!") 131 Session session = new Session(); local 156 Session session = mSessions.get(key.value); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
session.cc | 28 #include "talk/p2p/base/session.h" 297 case Session::STATE_INIT: 299 case Session::STATE_SENTINITIATE: 301 case Session::STATE_RECEIVEDINITIATE: 303 case Session::STATE_SENTPRACCEPT: 305 case Session::STATE_SENTACCEPT: 307 case Session::STATE_RECEIVEDPRACCEPT: 309 case Session::STATE_RECEIVEDACCEPT: 311 case Session::STATE_SENTMODIFY: 313 case Session::STATE_RECEIVEDMODIFY [all...] |
/frameworks/av/media/libstagefright/foundation/ |
ANetworkSession.cpp | 56 NetworkThread(ANetworkSession *session); 69 struct ANetworkSession::Session : public RefBase { 84 Session(int32_t sessionID, 110 virtual ~Session(); 141 DISALLOW_EVIL_CONSTRUCTORS(Session); 145 ANetworkSession::NetworkThread::NetworkThread(ANetworkSession *session) 146 : mSession(session) { 160 ANetworkSession::Session::Session( 216 ANetworkSession::Session::~Session() 975 sp<Session> session; local 1177 const sp<Session> session = mSessions.valueAt(index); local 1216 const sp<Session> session = mSessions.valueAt(index); local 1234 const sp<Session> session = mSessions.valueAt(index); local 1263 const sp<Session> &session = mSessions.valueAt(i); local 1322 const sp<Session> &session = mSessions.valueAt(i); local 1401 sp<Session> session = *sessionsToAdd.begin(); local [all...] |
/external/qemu/ |
shaper.c | 286 /* this type is used to model a session connection/state 287 * if session->packet is != NULL, then the connection is delayed 299 } SessionRec, *Session; 307 session_free( Session session ) 309 if (session) { 310 if (session->packet) { 311 queued_packet_free(session->packet); 312 session->packet = NULL; 314 qemu_free( session ); 426 Session session; local 484 Session session = delay->sessions; local 518 Session session = *lookup; local 531 Session session = *lookup; local 581 Session session = delay->sessions; local [all...] |
/frameworks/base/core/java/android/service/textservice/ |
SpellCheckerService.java | 49 * {@link #createSession()} to provide a spell checker session that is corresponding 50 * to requested language and so on. The spell checker session returned by this method 51 * should extend {@link SpellCheckerService.Session}. 56 * <p>{@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)} 61 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)} for 65 * <p>Please note that {@link SpellCheckerService.Session#getLocale()} does not return a valid 66 * locale before {@link SpellCheckerService.Session#onCreate()} </p> 91 * Factory method to create a spell checker session impl 94 public abstract Session createSession(); 99 public static abstract class Session { [all...] |