/external/chromium_org/chrome/test/chromedriver/ |
README.txt | 16 $ export PYTHONPATH=<THIS_DIR>/server:<THIS_DIR>/client 18 >>> import server 20 >>> cd_server = server.Server('/path/to/chromedriver2_server/executable') 36 process through DevTools. ChromeDriver is a standalone server which 41 uses the webserver from net/server. 50 way back to the IO thread as a HTTP response for the server to send. 69 6) server/ 70 Code for the chromedriver server. 71 A python wrapper to the chromedriver server [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
proxy_unittest.cc | 60 // Sets up a virtual socket server and HTTPS/SOCKS5 proxy servers. 89 // TODO: Make this a real HTTPS proxy server. 93 // Tests whether we can use a SOCKS5 proxy to connect to a server. 102 talk_base::TestEchoServer server(Thread::Current(), 106 proxy_socket, SocketAddress(INADDR_ANY, 0), server.address()); 113 EXPECT_EQ(server.address(), client.remote_address()); 120 // Tests whether we can use a HTTPS proxy to connect to a server. 126 TestEchoServer server(Thread::Current(), SocketAddress()); 128 EXPECT_TRUE(client.Connect(server.address())); 130 EXPECT_EQ(server.address(), client.remote_address()) [all...] |
/external/chromium_org/third_party/tlslite/tlslite/integration/ |
ClientHelper.py | 26 For server authentication, you can either rely on the 28 shared-keys, or you can do certificate-based server 34 Certificate-based server authentication is compatible with 41 server. Then you should be prepared to handle TLS-specific 70 @param cryptoID: cryptoID for server authentication. Mutually 74 @param protocol: cryptoID protocol URI for server 79 server authentication. Mutually exclusive with the 'cryptoID' 91 must match this value. For a web server, this is typically a 92 server name such as 'www.amazon.com'. Mutually exclusive with 135 #Authenticate the server based on its cryptoID or fingerprin [all...] |
HTTPTLSConnection.py | 74 For server authentication, you can either rely on the 76 shared-keys, or you can do certificate-based server 82 Certificate-based server authentication is compatible with 89 server. Thus you should be prepared to handle TLS-specific 97 @param host: Server to connect to. 126 @param cryptoID: cryptoID for server authentication. Mutually 130 @param protocol: cryptoID protocol URI for server 135 server authentication. Mutually exclusive with the 'cryptoID' 147 must match this value. For a web server, this is typically a 148 server name such as 'www.amazon.com'. Mutually exclusive wit [all...] |
IMAP4_TLS.py | 29 For server authentication, you can either rely on the 31 shared-keys, or you can do certificate-based server 37 Certificate-based server authentication is compatible with 47 @param host: Server to connect to. 76 @param cryptoID: cryptoID for server authentication. Mutually 80 @param protocol: cryptoID protocol URI for server 85 server authentication. Mutually exclusive with the 'cryptoID' 97 must match this value. For a web server, this is typically a 98 server name such as 'www.amazon.com'. Mutually exclusive with 120 """Setup connection to remote server on "host:port" [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
BandwidthTestUtil.java | 73 * Creates the Download string for the test server. 75 * @param server url of the test server 81 public static String buildDownloadUrl(String server, int size, String deviceId, 83 String downloadUrl = server + "/download?size=" + size + "&device_id=" + deviceId + 119 * Post a given file for a given device and timestamp to the server. 120 * @param server {@link String} url of test server 126 public static boolean postFileToServer(String server, String deviceId, String timestamp, 131 String uri = server; [all...] |
/frameworks/base/docs/html/google/play/licensing/ |
licensing-reference.jd | 14 <li><a href="#server-response-codes">Server Response Codes</a></li> 15 <li><a href="#extras">Server Response Extras</a></li> 59 licensing server to manage local storage of license data, license validity, 65 license response from the server only. No caching or request retry.</td> 88 backend server and may cause the user to lose access to licensed applications, 105 server.</td> 125 asynchronous response from the licensing server.</td> 132 <h2 id="server-response-codes">Server Response Codes</h2 [all...] |
/sdk/emulator/opengl/host/renderer/ |
main.cpp | 130 // Create and run a render server listening to the given port number 133 RenderServer *server = RenderServer::create(addr, sizeof(addr)); local 134 if (!server) { 135 fprintf(stderr,"Cannot initialize render server\n"); 138 printf("render server listening at '%s'\n", addr); 142 // run the server listener loop 144 server->Main(); 148 // created subwindow. So we run the server on a seperate 152 server->start(); 156 // During termination of the render server, the FrameBuffe [all...] |
/external/chromium_org/sync/protocol/ |
sync.proto | 5 // Sync protocol for communication between sync client and server. 84 // Server implementations are obligated to preserve the contents of 87 // to update the server. 125 // client-generated ID. If the commit succeeds, the server will generate 128 // |id_string| is always the server generated ID. The original 136 // in the message. In all other situations, it is a server ID. 140 // old_parent_id is only set in commits and indicates the old server 147 // maintained by for each item. If zero in a CommitMessage, the server 149 // new server ID and an initial version number. If nonzero in a 151 // the server will use |id_string| to locate the item. Then, if the item' [all...] |
/libcore/luni/src/main/java/java/net/ |
ProxySelector.java | 23 * Selects the proxy server to use, if any, when connecting to a given URL. 41 * <tr><td rowspan="2">ftp</td><td>ftp.proxyHost</td><td>Hostname of the HTTP proxy server used for 43 * <tr><td>ftp.proxyPort</td><td>Port number of the HTTP proxy server used for FTP 45 * <tr><td rowspan="2">http</td><td>http.proxyHost</td><td>Hostname of the HTTP proxy server used 47 * <tr><td>http.proxyPort</td><td>Port number of the HTTP proxy server used for HTTP 49 * <tr><td rowspan="2">https</td><td>https.proxyHost</td><td>Hostname of the HTTP proxy server used 51 * <tr><td>https.proxyPort</td><td>Port number of the HTTP proxy server used for HTTPS 54 * server used for FTP, HTTP and HTTPS requests.</td><td></td></tr> 55 * <tr><td>proxyPort</td><td>Port number of the HTTP proxy server.</td><td>80 for FTP and HTTP 63 * SOCKS proxy server used for FTP, HTTP, HTTPS and raw sockets.<br>Raw socket URLs are of th [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/ |
yp_prot.h | 21 * that the NIS server is alive. 24 * responding NIS server does serve the named domain; FALSE indicates no 27 * YPPROC_DOMAIN_NONACK (char *) returns (TRUE) if the NIS server does serve 41 * YPPROC_XFR (struct ypreq_xfr) returns nothing. Indicates to a server that 44 * YPPROC_CLEAR takes nothing, returns nothing. Instructs a NIS server to 135 YP_BADDB = -5, /* Server data base is bad */ 137 YP_YPERR = -6, /* NIS server error */ 141 YP_VERS = -8, /* NIS server version mismatch - server can't supply 265 #define YPBIND_ERR_NOSERV 2 /* No bound server for passed domain * [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/ |
yp_prot.h | 21 * that the NIS server is alive. 24 * responding NIS server does serve the named domain; FALSE indicates no 27 * YPPROC_DOMAIN_NONACK (char *) returns (TRUE) if the NIS server does serve 41 * YPPROC_XFR (struct ypreq_xfr) returns nothing. Indicates to a server that 44 * YPPROC_CLEAR takes nothing, returns nothing. Instructs a NIS server to 135 YP_BADDB = -5, /* Server data base is bad */ 137 YP_YPERR = -6, /* NIS server error */ 141 YP_VERS = -8, /* NIS server version mismatch - server can't supply 265 #define YPBIND_ERR_NOSERV 2 /* No bound server for passed domain * [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/ |
yp_prot.h | 21 * that the NIS server is alive. 24 * responding NIS server does serve the named domain; FALSE indicates no 27 * YPPROC_DOMAIN_NONACK (char *) returns (TRUE) if the NIS server does serve 41 * YPPROC_XFR (struct ypreq_xfr) returns nothing. Indicates to a server that 44 * YPPROC_CLEAR takes nothing, returns nothing. Instructs a NIS server to 135 YP_BADDB = -5, /* Server data base is bad */ 137 YP_YPERR = -6, /* NIS server error */ 141 YP_VERS = -8, /* NIS server version mismatch - server can't supply 265 #define YPBIND_ERR_NOSERV 2 /* No bound server for passed domain * [all...] |
/external/chromium_org/chrome_frame/test/ |
test_server.h | 8 // Implementation of an HTTP server for tests. 9 // To instantiate the server, make sure you have a message loop on the 11 // The server uses two basic concepts, a request and a response. 13 // the server. A Request object represents a request from a client (e.g. a 17 // Here's a simple example that starts a web server that can serve up 18 // a single document (http://<server.host()>:1337/foo). 22 // test_server::SimpleWebServer server(1337); 27 // To close the web server, just go to http://<server.host()>:1337/quit. 34 // server), just inherit from one of the response classes or directly from th [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
MulticastSocketTest.java | 97 System.out.println("Multicast server failed: " + e); 255 MulticastServer server = new MulticastServer(group, groupPort); local 256 server.start(); 263 String receivedMessage = new String(server.rdp.getData(), 0, server.rdp.getLength()); 266 server.stopServer(); 320 // set up the server and join the group on networkInterface1 321 MulticastServer server = new MulticastServer(groupSockAddr, serverPort, networkInterface1); local 322 server.start(); 330 assertEquals("Group member did not recv data", msg, new String(server.rdp.getData(), 0, server.rdp.getLength())) 417 MulticastServer server = new MulticastServer(groupSockAddr, serverPort, thisInterface); local 584 MulticastServer server = new MulticastServer(group, groupPort); local 669 MulticastServer server = new MulticastServer(group, serverPort); local [all...] |
/dalvik/docs/ |
debugmon.html | 64 describes a debug monitor server that interacts with multiple VMs, and 79 <p>It's also possible for the DDM server to be run on the device, with 88 <p>The DDM server is written in the Java programming language 98 non-DDM client, the DDM server just looks like a debugger. 139 <p>There are two basic approaches: have the server contact the VMs, and 140 have the VMs contact the server. The former is less "precise" than the 146 <li>The DDM server is started, then the USB-attached device is booted 148 <li>The device or simulator is already running when the DDM server 150 <li>The DDM server is running when an already-started device is 153 <p>If we have the VMs connect to the DDM server on startup, we only handl [all...] |
/device/sample/apps/SampleEmailPolicy/src/com/android/email/policy/ |
EmailPolicy.java | 70 * is sent to an IMAP server on each connection. 74 * * GET_IMAP_ID_HOST - the hostname of the server being connected to 89 * This policy request allows you to supply preset server configurations to provide 98 * If no server information is provided for this domain, simply return Bundle.EMPTY. 99 * If server information is available for this domain, it can be returned in the following 101 * * FIND_PROVIDER_IN_URI The server configuration for the incoming (IMAP or POP) server 103 * * FIND_PROVIDER_OUT_URI The server configuration for the outgoing (SMTP) server 130 * could allow a spoofed server to intercept password and mail [all...] |
/external/chromium/chrome/browser/sync/engine/net/ |
server_connection_manager.h | 70 // All the following connection codes are valid responses from the server. 71 // Means the server is up. If you update this list, be sure to also update 78 // the server. 80 // TODO(idana): the server no longer returns RETRY so we should remove this 162 // Use this class to interact with the sync server. 166 // one instance for every server that you need to talk to. 209 void GetServerParams(std::string* server, 213 server->assign(scm_->sync_server_); 227 ServerConnectionManager(const std::string& server, 241 // Checks the time on the server. Returns false if the request failed. |time [all...] |
/external/chromium_org/chrome/browser/net/ |
http_server_properties_manager.h | 34 // tracks if a server supports SPDY or not). 39 // server supports SPDY or not. 62 // thread. It also posts a task to UI thread to get SPDY Server preferences 90 // Returns true if |server| supports SPDY. Should only be called from IO 92 virtual bool SupportsSpdy(const net::HostPortPair& server) const OVERRIDE; 94 // Add |server| as the SPDY server which supports SPDY protocol into the 96 virtual void SetSupportsSpdy(const net::HostPortPair& server, 99 // Returns true if |server| has an Alternate-Protocol header. 101 const net::HostPortPair& server) const OVERRIDE [all...] |
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils.cc | 148 QuicCryptoServerStream server(crypto_config, &server_session); 149 server_session.SetCryptoStream(&server); 154 CommunicateHandshakeMessages(client_conn, client, server_conn, &server); 156 CompareClientAndServerKeys(client, &server); 164 QuicCryptoServerStream* server, 191 CommunicateHandshakeMessages(client_conn, &client, server_conn, server); 193 CompareClientAndServerKeys(&client, server); 198 server->crypto_negotiated_params().channel_id); 314 QuicCryptoServerStream* server) { 324 server->session()->connection()->encrypter(ENCRYPTION_INITIAL)) [all...] |
/external/chromium_org/net/test/spawned_test_server/ |
spawner_communicator.cc | 27 // Always performs HTTP request for sending command to the spawner server. 34 // A class to hold all data needed to send a command to spawner server. 88 // Data received from server; 92 // sending a command to spawner server. 149 // Start the communicator thread to talk to test server spawner. 154 // from the spawner server or timed-out. It's safe to use base::Unretained 250 // to spawner server and getting the result. 298 LOG(ERROR) << "Spawner server returned bad status: " 328 // Send the start command to spawner server to start the Python test server [all...] |
/external/chromium_org/v8/tools/ |
test-server.py | 36 PIDFILE = "/tmp/v8-distributed-testing-server.pid" 44 start Starts the server. Forks to the background. 45 stop Stops the server. 46 restart Stops, then restarts the server. 47 setup Creates or updates the environment for the server to run. 112 # Check out or update the server implementation in the current directory. 114 if os.path.exists(os.path.join(testrunner_dir, "server/daemon.py")): 123 "tools/test-server.py") 142 print("Please stop the server before updating. Exiting.") 153 from testrunner.server import constant [all...] |
/external/chromium_org/v8/tools/testrunner/ |
README | 33 1.) Copy tools/test-server.py to a new empty directory anywhere on your hard 37 2.) Navigate to the new directory and let the server setup itself: 39 $ ./test-server.py setup 47 $ ./test-server.py approve /wherever/they/put/it/yourname.pem 53 1.) Start your server: 55 $ ./test-server.py start 57 2.) (Optionally) inspect the server's status: 59 $ ./test-server.py status 81 ./test-server.py: 82 Interface to interact with the server. Contains code to setup the server' [all...] |
/external/smack/src/org/jivesoftware/smack/ |
ServerTrustManager.java | 37 * Trust manager that checks all certificates presented by the server. This class 51 * Holds the domain of the remote server we are trying to connect 53 private String server; field in class:ServerTrustManager 58 public ServerTrustManager(String server, ConnectionConfiguration configuration) { 60 this.server = server; 146 System.out.println("Accepting self-signed certificate of remote server: " + 161 // the server we desire to authenticate. 167 if (!server.endsWith(peerIdentity)) { 171 else if (!peerIdentities.contains(server)) { [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
SimpleXMLRPCServer.py | 1 r"""Simple XML-RPC Server. 4 by creating a server and either installing functions, a 15 server = SimpleXMLRPCServer(("localhost", 8000)) 16 server.register_function(pow) 17 server.register_function(lambda x,y: x+y, 'add') 18 server.serve_forever() 36 server = SimpleXMLRPCServer(("localhost", 8000)) 37 server.register_introspection_functions() 38 server.register_instance(MyFuncs()) 39 server.serve_forever( 704 server = SimpleXMLRPCServer(("localhost", 8000)) variable in class:CGIXMLRPCRequestHandler [all...] |