Home
last modified time | relevance | path

Searched full:server (Results 1 – 25 of 11259) sorted by relevance

12345678910>>...451

/external/autotest/site_utils/
Dserver_manager.py6 """This module provides functions to manage servers in server database
10 Create a server with given role, with status primary.
13 Delete a server from the database.
17 Modify a server's role, status, note, or attribute:
18 1. Add role to a server. If the server is in primary status, proper actions
20 2. Delete a role from a server. If the server is in primary status, proper
22 3. Change status of a server. If the server is changed from or to primary
24 or disable each role of the server.
25 4. Change note of a server. Note is a field you can add description about
26 the server.
[all …]
Dserver_manager_utils.py6 """This module provides utility functions to help managing servers in server
25 from autotest_lib.frontend.server import models as server_models
30 """Exception raised when action on server failed.
40 'SERVER', 'use_server_db', default=False, type=bool)
44 """Post a warning if Autotest instance has no other primary server with
48 @param exclude_server: Server to be excluded from search for role.
50 servers = server_models.Server.objects.filter(
52 status=server_models.Server.STATUS.PRIMARY).exclude(
55 message = ('WARNING! There will be no server with role %s after it\'s '
56 'removed from server %s. Autotest will not function '
[all …]
/external/adhd/cras/src/
DMakefile.am34 server/cras_apm_list.c
50 server/cras_bt_manager.c \
51 server/cras_bt_adapter.c \
52 server/cras_bt_device.c \
53 server/cras_bt_transport.c \
54 server/cras_bt_endpoint.c \
55 server/cras_bt_player.c \
56 server/cras_bt_io.c \
57 server/cras_bt_profile.c \
58 server/cras_bt_battery_provider.c \
[all …]
/external/curl/tests/certs/
DMakefile.am29 Server-localhost-sv.prm \
30 Server-localhost.nn-sv.prm \
31 Server-localhost0h-sv.prm
39 Server-localhost-sv.crl \
40 Server-localhost-sv.crt \
41 Server-localhost-sv.csr \
42 Server-localhost-sv.der \
43 Server-localhost-sv.dhp \
44 Server-localhost-sv.key \
45 Server-localhost-sv.pem \
[all …]
/external/grpc-grpc/src/core/lib/surface/
Dserver.cc21 #include "src/core/lib/surface/server.h"
53 void (*start)(grpc_server* server, void* arg, grpc_pollset** pollsets,
55 void (*destroy)(grpc_server* server, void* arg, grpc_closure* closure);
69 grpc_server* server; member
95 grpc_server* server; member
99 /* linked list of all channels on a server */
162 grpc_server* server; member
193 /* The two following mutexes control access to server-state
200 gpr_mu mu_global; /* mutex for server and channel state */
230 (((channel_data*)(elem)->channel_data)->server)
[all …]
/external/wpa_supplicant_8/hs20/server/
Dhs20-osu-server.txt1 Hotspot 2.0 OSU server
5 16.04 server (64-bit) distribution is used and the web server is
12 secure to be installed in a publicly available Internet server without
19 Ubuntu 16.04 server
41 assumes /home/user/hs20-server to be used, but this can be changed by
44 sudo mkdir -p /home/user/hs20-server
45 sudo chown $USER /home/user/hs20-server
46 mkdir -p /home/user/hs20-server/spp
47 mkdir -p /home/user/hs20-server/AS
53 # hostapd as RADIUS server
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java104 @Rule public final MockWebServer server = new MockWebServer(); field in URLConnectionTest
114 server.setProtocolNegotiationEnabled(false); in setUp()
133 server.enqueue(new MockResponse()); in requestHeaders()
135 connection = client.open(server.getUrl("/")); in requestHeaders()
169 RecordedRequest request = server.takeRequest(); in requestHeaders()
194 connection = client.open(server.getUrl("/")); in getRequestPropertyReturnsLastValue()
201 server.enqueue(new MockResponse().setStatus("HTTP/1.0 200 Fantastic") in responseHeaders()
207 connection = client.open(server.getUrl("/")); in responseHeaders()
235 server.enqueue(new MockResponse().setStatus("HTP/1.1 200 OK")); in serverSendsInvalidResponseHeaders()
237 connection = client.open(server.getUrl("/")); in serverSendsInvalidResponseHeaders()
[all …]
DCallTest.java89 @Rule public final MockWebServer server = new MockWebServer(); field in CallTest
111 server.enqueue(new MockResponse().setBody("abc").addHeader("Content-Type: text/plain")); in get()
114 .url(server.url("/")) in get()
124 RecordedRequest recordedRequest = server.takeRequest(); in get()
132 server.enqueue(new MockResponse()); in buildRequestUsingHttpUrl()
134 HttpUrl httpUrl = server.url("/"); in buildRequestUsingHttpUrl()
164 server.enqueue(new MockResponse().setResponseCode(500)); in getReturns500()
167 .url(server.url("/")) in getReturns500()
191 server.enqueue(new MockResponse() in repeatedHeaderNames()
196 .url(server.url("/")) in repeatedHeaderNames()
[all …]
DConnectionReuseTest.java35 @Rule public final MockWebServer server = new MockWebServer(); field in ConnectionReuseTest
41 server.enqueue(new MockResponse().setBody("a")); in connectionsAreReused()
42 server.enqueue(new MockResponse().setBody("b")); in connectionsAreReused()
45 .url(server.url("/")) in connectionsAreReused()
52 server.enqueue(new MockResponse().setBody("a")); in connectionsAreReusedWithHttp2()
53 server.enqueue(new MockResponse().setBody("b")); in connectionsAreReusedWithHttp2()
56 .url(server.url("/")) in connectionsAreReusedWithHttp2()
62 server.enqueue(new MockResponse().setBody("a")); in connectionsAreNotReusedWithRequestConnectionClose()
63 server.enqueue(new MockResponse().setBody("b")); in connectionsAreNotReusedWithRequestConnectionClose()
66 .url(server.url("/")) in connectionsAreNotReusedWithRequestConnectionClose()
[all …]
DCacheTest.java76 @Rule public MockWebServer server = new MockWebServer(); field in CacheTest
86 server.setProtocolNegotiationEnabled(false); in setUp()
157 server = new MockWebServer(); in assertCached()
172 server.enqueue(mockResponse); in assertCached()
173 server.start(); in assertCached()
176 .url(server.url("/")) in assertCached()
191 server.shutdown(); // tearDown() isn't sufficient; this test starts multiple servers in assertCached()
216 server.enqueue(mockResponse); in testResponseCaching()
219 Request request = new Request.Builder().url(server.url("/")).build(); in testResponseCaching()
247 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCaching()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DServerTest.cs34 Server server = new Server in StartAndShutdownServer()
38 server.Start(); in StartAndShutdownServer()
39 server.ShutdownAsync().Wait(); in StartAndShutdownServer()
45 Server server = new Server in StartAndKillServer()
49 server.Start(); in StartAndKillServer()
50 server.KillAsync().Wait(); in StartAndKillServer()
56 Server server = new Server in PickUnusedPort()
61 var boundPort = server.Ports.Single(); in PickUnusedPort()
65 server.Start(); in PickUnusedPort()
66 server.ShutdownAsync().Wait(); in PickUnusedPort()
[all …]
/external/grpc-grpc/test/core/util/
Dreconnect_server.cc35 static void pretty_print_backoffs(reconnect_server* server) { in pretty_print_backoffs() argument
39 timestamp_list* head = server->head; in pretty_print_backoffs()
40 gpr_log(GPR_INFO, "reconnect server: new connection"); in pretty_print_backoffs()
41 for (head = server->head; head && head->next; head = head->next, i++) { in pretty_print_backoffs()
50 if (server->max_reconnect_backoff_ms > 0) { in pretty_print_backoffs()
51 max_reconnect_backoff_ms = server->max_reconnect_backoff_ms; in pretty_print_backoffs()
65 reconnect_server* server = static_cast<reconnect_server*>(arg); in on_connect() local
74 if (server->peer == nullptr) { in on_connect()
75 server->peer = peer; in on_connect()
79 } else if (strncmp(server->peer, peer, in on_connect()
[all …]
/external/grpc-grpc/src/php/tests/unit_tests/
DServerTest.php24 $this->server = null;
29 unset($this->server);
34 $this->server = new Grpc\Server();
35 $this->assertNotNull($this->server);
40 $this->server = new Grpc\Server([]);
41 $this->assertNotNull($this->server);
47 $this->server = new Grpc\Server(['ip' => '127.0.0.1',
49 $this->assertNotNull($this->server);
54 $this->server = new Grpc\Server();
55 $port = $this->server->addHttp2Port('0.0.0.0:0');
[all …]
/external/libwebsockets/scripts/
Dlibwebsockets.spec4 Summary: Websocket Server and Client Library
16 Webserver server and client library
52 "/usr/bin/libwebsockets-test-server"
53 "/usr/bin/libwebsockets-test-server-extpoll"
58 %dir "/usr/share/libwebsockets-test-server"
59 "/usr/share/libwebsockets-test-server/candide.zip"
60 "/usr/share/libwebsockets-test-server/favicon.ico"
61 %dir "/usr/share/libwebsockets-test-server/generic-table"
62 "/usr/share/libwebsockets-test-server/generic-table/index.html"
63 "/usr/share/libwebsockets-test-server/generic-table/lwsgt.js"
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go15 // langsvr implements a Language Server for the SPIRV assembly language.
74 log.Println("language server started")
77 s := server{
86 log.Println("language server stopped")
89 type server struct { struct
118 func (s *server) DidChangeWorkspaceFolders(ctx context.Context, p *lsp.DidChangeWorkspaceFoldersPar… argument
119 log.Println("server.DidChangeWorkspaceFolders()")
122 func (s *server) Initialized(ctx context.Context, p *lsp.InitializedParams) error { argument
123 log.Println("server.Initialized()")
126 func (s *server) Exit(ctx context.Context) error { argument
[all …]
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go15 // langsvr implements a Language Server for the SPIRV assembly language.
74 log.Println("language server started")
77 s := server{
86 log.Println("language server stopped")
89 type server struct { struct
118 func (s *server) DidChangeWorkspaceFolders(ctx context.Context, p *lsp.DidChangeWorkspaceFoldersPar… argument
119 log.Println("server.DidChangeWorkspaceFolders()")
122 func (s *server) Initialized(ctx context.Context, p *lsp.InitializedParams) error { argument
123 log.Println("server.Initialized()")
126 func (s *server) Exit(ctx context.Context) error { argument
[all …]
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java94 @Rule public MockWebServer server = new MockWebServer(); field in ResponseCacheTest
104 server.setProtocolNegotiationEnabled(false); in setUp()
183 server = new MockWebServer(); in assertCached()
195 server.enqueue(mockResponse); in assertCached()
196 server.start(); in assertCached()
198 URL url = server.getUrl("/"); in assertCached()
211 server.shutdown(); // tearDown() isn't sufficient; this test starts multiple servers in assertCached()
236 server.enqueue(mockResponse); in testResponseCaching()
239 HttpURLConnection urlConnection = openConnection(server.getUrl("/")); in testResponseCaching()
247 urlConnection = openConnection(server.getUrl("/")); // cached! in testResponseCaching()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dserver.cc19 #include "src/core/lib/surface/server.h"
63 // Server::RequestedCall
66 struct Server::RequestedCall {
115 // Server::RegisteredMethod
118 struct Server::RegisteredMethod {
139 // Server::RequestMatcherInterface
151 class Server::RequestMatcherInterface {
161 // failed (always server shutdown in all current implementations).
179 // otherwise. To enable some measure of fairness between server CQs, the match
185 // Returns the server associated with this request matcher
[all …]
/external/grpc-grpc/doc/
Dconnection-backoff-interop-test-description.md4 This test is to verify the client is reconnecting the server with correct
7 The test server has a port (control_port) running a rpc service for controlling
8 the server and another port (retry_port) to close any incoming tcp connections.
11 1. The server starts listening on control_port.
12 2. The client calls Start rpc on server control_port.
13 3. The server starts listening on retry_port.
14 4. The client connects to server retry_port and retries with backoff for 540s,
16 5. The client calls Stop rpc on server control port.
17 6. The client checks the response to see whether the server thinks the backoffs
20 Client and server use
[all …]
/external/python/cpython3/Lib/test/
Dtest_imaplib.py81 "Cannot run the test with local IMAP server running.")
119 self.server.is_selected = False
120 self.server.logged = None
186 self.server.logged = None
187 self._send_textline('* BYE IMAP4ref1 Server logging out')
191 self.server.logged = args[0]
195 self.server.is_selected = True
200 if self.server.is_selected:
201 self.server.is_selected = False
215 Returns (client, server).
[all …]
/external/virglrenderer/vtest/
Dvtest_server.c93 struct vtest_server server = { variable
129 list_inithead(&server.new_clients); in main()
130 list_inithead(&server.active_clients); in main()
131 list_inithead(&server.inactive_clients); in main()
133 if (server.do_fork) { in main()
142 if (!server.main_server) { in main()
182 server.do_fork = false; in vtest_server_parse_args()
185 server.do_fork = false; in vtest_server_parse_args()
186 server.loop = false; in vtest_server_parse_args()
190 server.multi_clients = true; in vtest_server_parse_args()
[all …]
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/
Dserver.h55 /// Represents a gRPC server.
58 /// \a Server instances.
59 class Server : public ServerInterface, private GrpcLibraryCodegen {
61 ~Server() override;
63 /// Block until the server shuts down.
65 /// \warning The server must be either shutting down or some other thread must
69 /// Global callbacks are a set of hooks that are called when server
73 /// \a Server instances in an application and can be set exactly
78 /// Called before server is created.
80 /// Called before application callback for each synchronous server request
[all …]
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/
Dserver.h55 /// Represents a gRPC server.
58 /// \a Server instances.
59 class Server : public ServerInterface, private GrpcLibraryCodegen {
61 ~Server() override;
63 /// Block until the server shuts down.
65 /// \warning The server must be either shutting down or some other thread must
69 /// Global callbacks are a set of hooks that are called when server
73 /// \a Server instances in an application and can be set exactly
78 /// Called before server is created.
80 /// Called before application callback for each synchronous server request
[all …]
/external/grpc-grpc/include/grpcpp/
Dserver.h48 /// Represents a gRPC server.
51 /// \a Server instances.
52 class Server : public ServerInterface, private GrpcLibraryCodegen {
54 ~Server();
56 /// Block until the server shuts down.
58 /// \warning The server must be either shutting down or some other thread must
62 /// Global callbacks are a set of hooks that are called when server
66 /// \a Server instances in an application and can be set exactly
71 /// Called before server is created.
73 /// Called before application callback for each synchronous server request
[all …]
/external/libwebsockets/minimal-examples/http-server/
DREADME.md3 minimal-http-server-basicauth|Shows how to protect a mount using a password file and basic auth
4 minimal-http-server-custom-headers|Shows how to query custom headers that lws doesn't already know
5 minimal-http-server-deaddrop|Shows how to use the deaddrop drag and drop file upload + sharing plug…
6 minimal-http-server-dynamic|Serves both static and dynamically generated http content
7 minimal-http-server-eventlib-foreign|Demonstrates integrating lws with a foreign event library
8 minimal-http-server-eventlib-demos|Using the demo plugins with event libraries
9 minimal-http-server-eventlib|Same as minimal-http-server but works with a supported event library
10 minimal-http-server-form-get|Process a GET form
11 minimal-http-server-form-post-file|Process a multipart POST form with file transfer
12 minimal-http-server-form-post|Process a POST form (no file transfer)
[all …]

12345678910>>...451