/external/chromium_org/sync/sessions/ |
test_util.cc | 14 sessions::SyncSession* session) { 15 session->mutable_status_controller()->set_last_get_key_result( 17 session->mutable_status_controller()->set_last_download_updates_result( 24 sessions::SyncSession* session) { 25 ASSERT_EQ(0U, session->status_controller().num_server_changes_remaining()); 26 session->mutable_status_controller()->set_last_get_key_result(SYNCER_OK); 27 session->mutable_status_controller()->set_last_download_updates_result( 34 sessions::SyncSession* session) { 35 session->mutable_status_controller()->set_last_get_key_result(SYNCER_OK); 36 session->mutable_status_controller()->set_last_download_updates_result [all...] |
/external/chromium_org/chrome/test/chromedriver/client/ |
command_executor.py | 16 NEW_SESSION = (_Method.POST, '/session') 17 GET_SESSION_CAPABILITIES = (_Method.GET, '/session/:sessionId') 18 QUIT = (_Method.DELETE, '/session/:sessionId') 19 GET_CURRENT_WINDOW_HANDLE = (_Method.GET, '/session/:sessionId/window_handle') 20 GET_WINDOW_HANDLES = (_Method.GET, '/session/:sessionId/window_handles') 21 GET = (_Method.POST, '/session/:sessionId/url') 22 GET_ALERT = (_Method.GET, '/session/:sessionId/alert') 23 DISMISS_ALERT = (_Method.POST, '/session/:sessionId/dismiss_alert') 24 ACCEPT_ALERT = (_Method.POST, '/session/:sessionId/accept_alert') 25 GET_ALERT_TEXT = (_Method.GET, '/session/:sessionId/alert_text' [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
window_commands.h | 18 struct Session; 23 Session* session, 31 Session* session, 37 Session* session, 44 Session* session, 51 Session* session [all...] |
session_commands.h | 20 struct Session; 23 // Quits a session. 26 Session* session, 30 // Gets the capabilities of a particular session. 32 Session* session, 38 Session* session, 44 Session* session [all...] |
alert_commands.h | 16 struct Session; 21 Session* session, 29 Session* session, 35 Session* session, 42 Session* session, 49 Session* session [all...] |
session_unittest.cc | 12 #include "chrome/test/chromedriver/session.h" 37 TEST(Session, GetTargetWindowNoChrome) { 38 Session session("1"); 40 ASSERT_EQ(kNoSuchWindow, session.GetTargetWindow(&web_view).code()); 43 TEST(Session, GetTargetWindowTargetWindowClosed) { 45 Session session("1", chrome.Pass()); 46 session.window = "2"; 48 ASSERT_EQ(kNoSuchWindow, session.GetTargetWindow(&web_view).code()) [all...] |
element_util.h | 19 struct Session; 32 Session* session, 38 Session* session, 45 Session* session, 53 Session* session, 59 Session* session [all...] |
alert_commands.cc | 14 #include "chrome/test/chromedriver/session.h" 18 Session* session, 22 Status status = session->GetTargetWindow(&web_view); 34 status = web_view->WaitForPendingNavigations(session->GetCurrentFrameId(), 35 session->page_load_timeout); 39 return alert_command.Run(session, web_view, params, value); 43 Session* session, 53 Session* session [all...] |
element_commands.h | 18 struct Session; 23 Session* session, 32 Session* session, 40 Session* session, 49 Session* session, 57 Session* session [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
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 object that carries out the transactio [all...] |
SipSessionAdapter.java | 25 public void onCalling(ISipSession session) { 28 public void onRinging(ISipSession session, SipProfile caller, 32 public void onRingingBack(ISipSession session) { 35 public void onCallEstablished(ISipSession session, 39 public void onCallEnded(ISipSession session) { 42 public void onCallBusy(ISipSession session) { 45 public void onCallTransferring(ISipSession session, 49 public void onCallChangeFailed(ISipSession session, int errorCode, 53 public void onError(ISipSession session, int errorCode, String message) { 56 public void onRegistering(ISipSession session) { [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSessionImplTest.java | 37 SSLSessionImpl session = new SSLSessionImpl(null, null); local 38 assertEquals(session.getCipherSuite(), 41 session = new SSLSessionImpl(CipherSuite.TLS_RSA_WITH_NULL_MD5, 43 session.protocol = ProtocolVersion.TLSv1; 44 assertEquals("Incorrect protocol", "TLSv1", session.getProtocol()); 45 assertEquals("Incorrect cipher suite", session.getCipherSuite(), 47 assertEquals("Incorrect id", 32, session.getId().length); 48 assertTrue("Incorrect isValid", session.isValid()); 49 assertTrue("Incorrect isServer", session.isServer); 50 long time = session.getCreationTime() 89 SSLSessionImpl session = new SSLSessionImpl( local 97 SSLSessionImpl session = new SSLSessionImpl(null); local 105 SSLSessionImpl session = new SSLSessionImpl(null); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
call.h | 41 #include "talk/p2p/base/session.h" 43 #include "talk/session/media/audiomonitor.h" 44 #include "talk/session/media/currentspeakermonitor.h" 45 #include "talk/session/media/mediamessages.h" 46 #include "talk/session/media/mediasession.h" 67 Session* InitiateSession(const buzz::Jid& to, const buzz::Jid& initiator, 69 Session* InitiateSession(const std::string& id, const buzz::Jid& to, 71 void AcceptSession(Session* session, const CallOptions& options); 72 void RejectSession(Session* session) 250 Session* session; member in struct:cricket::Call::MediaSession [all...] |
/external/chromium_org/sync/engine/ |
syncer.cc | 64 SyncSession* session) { 65 HandleCycleBegin(session); 68 session->context()->ShouldFetchUpdatesBeforeCommit()) { 70 session, 72 session, 76 return HandleCycleEnd(session, nudge_tracker.updates_source()); 81 SyncerError commit_result = BuildAndPostCommits(request_types, this, session); 82 session->mutable_status_controller()->set_commit_result(commit_result); 84 return HandleCycleEnd(session, nudge_tracker.updates_source()); 90 SyncSession* session) { [all...] |
/external/chromium/chrome/browser/sync/sessions/ |
test_util.cc | 11 void SimulateHasMoreToSync(sessions::SyncSession* session, 13 session->status_controller()->update_conflicts_resolved(true); 14 ASSERT_TRUE(session->HasMoreToSync()); 17 void SimulateDownloadUpdatesFailed(sessions::SyncSession* session, 19 // Note that a non-zero value of changes_remaining once a session has 22 session->status_controller()->set_num_server_changes_remaining(1); 25 void SimulateCommitFailed(sessions::SyncSession* session, 27 // Note that a non-zero number of unsynced handles once a session has 33 session->status_controller()->set_unsynced_handles(handles); 36 void SimulateSuccess(sessions::SyncSession* session, [all...] |
/external/chromium_org/net/quic/test_tools/ |
quic_session_peer.cc | 14 void QuicSessionPeer::SetNextStreamId(QuicSession* session, QuicStreamId id) { 15 session->next_stream_id_ = id; 19 void QuicSessionPeer::SetMaxOpenStreams(QuicSession* session, 21 session->max_open_streams_ = max_streams; 26 QuicSession* session, QuicStreamId id) { 27 return session->CreateIncomingReliableStream(id); 32 QuicSession* session) { 33 return &session->write_blocked_streams_;
|
mock_crypto_client_stream.cc | 12 QuicSession* session, 15 : QuicCryptoClientStream(server_hostname, session, crypto_config), 32 session()->OnCryptoHandshakeEvent( 41 session()->OnCryptoHandshakeEvent(QuicSession::HANDSHAKE_CONFIRMED); 55 ASSERT_FALSE(session()->config()->negotiated()); 59 session()->config()->set_congestion_control(cgst, kQBIC); 60 session()->config()->set_idle_connection_state_lifetime( 63 session()->config()->set_max_streams_per_connection( 67 session()->config()->ToHandshakeMessage(&msg); 70 session()->config()->ProcessClientHello(msg, &error_details) [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...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
SSLSessionContext.java | 27 * Returns an iterable of all session identifiers in this session context. 29 * @return an iterable of all session identifiers in this session context. 34 * Returns the session for the specified session identifier. 37 * the session identifier of the session to look up. 38 * @return the session for the specified session identifier, or {@code null [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SCPOutputStream.java | 20 private Session session; field in class:SCPOutputStream 24 public SCPOutputStream(SCPClient client, Session session, final String remoteFile, long length, String mode) throws IOException 26 super(session.getStdin(), 40000); 27 this.session = session; 30 InputStream is = new BufferedInputStream(session.getStdout(), 512); 50 scp.readResponse(session.getStdout()); 57 if (session != null [all...] |
SCPInputStream.java | 17 private Session session; field in class:SCPInputStream 24 public SCPInputStream(SCPClient client, Session session) throws IOException 26 super(session.getStdout()); 28 this.session = session; 30 OutputStream os = new BufferedOutputStream(session.getStdin(), 512); 39 int c = session.getStdout().read(); 45 String line = client.receiveLine(session.getStdout()) [all...] |
/external/chromium_org/chrome/test/webdriver/ |
webdriver_server.cc | 85 dispatcher->Add<CreateSession>("/session"); 88 dispatcher->Add<FindOneElementCommand>( "/session/*/element"); 89 dispatcher->Add<FindManyElementsCommand>("/session/*/elements"); 90 dispatcher->Add<ActiveElementCommand>( "/session/*/element/active"); 91 dispatcher->Add<FindOneElementCommand>( "/session/*/element/*/element"); 92 dispatcher->Add<FindManyElementsCommand>("/session/*/elements/*/elements"); 93 dispatcher->Add<ElementAttributeCommand>("/session/*/element/*/attribute/*"); 94 dispatcher->Add<ElementCssCommand>( "/session/*/element/*/css/*"); 95 dispatcher->Add<ElementClearCommand>( "/session/*/element/*/clear"); 96 dispatcher->Add<ElementDisplayedCommand>("/session/*/element/*/displayed") [all...] |
/external/chromium_org/remoting/protocol/ |
session_manager.h | 11 // Connect() must be used to create new session to a remote host. The 12 // returned session is initially in INITIALIZING state. Later state is 13 // changed to CONNECTED if the session is accepted by the host or 14 // CLOSED if the session is rejected. 18 // The callback function decides whether the session should be accepted or 22 // Implementations of the Session and SessionManager interfaces 27 // Connect() method. The Session's state changes to AUTHENTICATED once 30 // SESSION OWNERSHIP AND SHUTDOWN 37 // When client connects to a host it sends a session-initiate stanza with list 39 // session, then it selects configuration that is supported by both side [all...] |
/external/chromium_org/sync/test/accounts_client/ |
test_accounts_client_unittest.cc | 31 AccountSession session; local 32 session.username = kUsername; 33 session.account_space = kAccountSpace; 34 session.session_id = kSessionId; 35 session.expiration_time = kExpirationTime; 36 return session; 53 AccountSession session; local 54 EXPECT_FALSE(client.ClaimAccount(&session)); 75 AccountSession session; local 76 EXPECT_TRUE(client.ClaimAccount(&session)); 86 AccountSession session; local 97 AccountSession session = CreateValidAccountSession(); local [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
call.cc | 32 #include "talk/session/phone/call.h" 33 #include "talk/session/phone/mediasessionclient.h" 60 Session *session = sessions_[0]; local 61 RemoveSession(session); 62 session_client_->session_manager()->DestroySession(session); 67 Session *Call::InitiateSession(const buzz::Jid &jid, 71 Session *session = session_client_->CreateSession(this); local 72 AddSession(session, offer) 370 Session *session = call->sessions_[0]; local [all...] |