/external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/ |
Main.java | 20 import org.mortbay.jetty.Server; 25 * Starts the example web server on port 8080. Run from "./struts2/example". 30 Server server = new Server(); local 34 server.setConnectors(new Connector[] { connector }); 37 server.addHandler(webapp); 39 server.start(); 40 server.join();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AppBridge.java | 55 public interface Server { 70 // If server is null, the services are not available. 71 public abstract void setServer(Server server);
|
/system/connectivity/wificond/ |
server.cpp | 17 #include "wificond/server.h" 58 Server::Server(unique_ptr<InterfaceTool> if_tool, 70 Status Server::RegisterCallback(const sp<IInterfaceEventCallback>& callback) { 82 Status Server::UnregisterCallback(const sp<IInterfaceEventCallback>& callback) { 97 Status Server::createApInterface(sp<IApInterface>* created_interface) { 116 Status Server::createClientInterface(sp<IClientInterface>* created_interface) { 138 Status Server::tearDownInterfaces() { 156 Status Server::GetClientInterfaces(vector<sp<IBinder>>* out_client_interfaces) { 164 Status Server::GetApInterfaces(vector<sp<IBinder>>* out_ap_interfaces) [all...] |
server.h | 44 class Server : public android::net::wifi::BnWificond { 46 Server(std::unique_ptr<wifi_system::InterfaceTool> if_tool, 51 ~Server() override = default; 116 DISALLOW_COPY_AND_ASSIGN(Server);
|
/external/jacoco/jacoco-maven-plugin.test/it/it-dump/src/main/java/ |
Server.java | 16 * Simple server which runs as long a termination file is created. 18 public class Server { 21 System.out.println("Test server started"); 24 // This option puts the target in a pseudo 'server' mode 33 System.out.println("Test server stopped");
|
/external/llvm/tools/lli/ChildTarget/ |
ChildTarget.cpp | 58 JITServer Server(Channel, SymbolLookup, RegisterEHFrames, DeregisterEHFrames); 62 ExitOnErr(Server.startReceivingFunction(Channel, RawId)); 66 ExitOnErr(Server.handleTerminateSession()); 69 ExitOnErr(Server.handleKnownFunction(Id));
|
/external/toolchain-utils/automation/server/ |
server_test.py | 11 import server 21 s = server.Server()
|
/external/autotest/site_utils/ |
server_manager.py | 5 """This module provides functions to manage servers in server database 9 Create a server with given role, with status backup. 12 Delete a server from the database. If the server is in primary status, its 13 roles will be replaced by a backup server first. 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, prope [all...] |
server_manager_unittest.py | 13 from autotest_lib.frontend.server import models as server_models 62 server_models.Server, 64 'status': server_models.Server.STATUS.PRIMARY, 68 server_models.Server, 70 'status': server_models.Server.STATUS.BACKUP, 74 server_models.Server, 76 'status': server_models.Server.STATUS.PRIMARY, 80 server_models.Server, 82 'status': server_models.Server.STATUS.BACKUP, 89 self.mox.StubOutWithMock(server_models.Server, 'get_role_names' [all...] |
server_manager_actions.py | 5 """This module provides utility functions to help managing servers in server 8 After a role is added or removed from a server, certain services may need to 10 added to a primary server. This module includes functions to check if actions 19 from autotest_lib.frontend.server import models as server_models 24 # Actions that must be executed for server management action to be effective. 45 # is added to the server, or the server's status is changed to primary. 59 # Action should be taken before role is deleted from a server, or the server's 68 # Action should be taken after role is deleted from a server, or the server' [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Server.java | 47 public class Server extends SIPHeader implements ServerHeader { 85 public Server() { 126 * $Log: Server.java,v $
|
/system/bt/service/ |
gatt_server_old.h | 55 // Server. 58 // Server is threadsafe and internally locked. 67 class Server { 69 Server(); 70 ~Server();
|
gatt_server_old.cc | 55 // each bluetooth::gatt::Server instance already keeps a pointer to the 66 // 2. Allow creation of Server objects using a factory method that returns 69 // a map and lazily instantiate the Server and invoke the correct callback. 247 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); 303 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); 315 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response); 465 /** GATT Server callbacks */ 468 /** GATT Server callbacks */ 526 gatt->server->delete_service(server_if, service_handle); 527 gatt->server->unregister_server(server_if) [all...] |
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
server.go | 5 // Implementation of Server 23 // A Server is an HTTP server listening on a system-chosen port on the 25 type Server struct { 30 // after TLS is started. If set on an unstarted server before StartTLS 36 Config *http.Server 38 // wg counts the number of outstanding HTTP requests on this server. 64 // When debugging a particular http server-based test, 67 // to start the broken server so you can interact with it manually. 70 // NewServer starts and returns a new Server [all...] |
/prebuilts/go/linux-x86/src/net/http/httptest/ |
server.go | 5 // Implementation of Server 23 // A Server is an HTTP server listening on a system-chosen port on the 25 type Server struct { 30 // after TLS is started. If set on an unstarted server before StartTLS 36 Config *http.Server 38 // wg counts the number of outstanding HTTP requests on this server. 64 // When debugging a particular http server-based test, 67 // to start the broken server so you can interact with it manually. 70 // NewServer starts and returns a new Server [all...] |
/external/autotest/server/site_tests/bluetooth_RegressionServer/ |
bluetooth_RegressionServer.py | 8 from autotest_lib.server import autotest 9 from autotest_lib.server import hosts 10 from autotest_lib.server import test 14 """Server part of the Bluetooth Semi-Automatic Regression Tests.""" 18 """Run Server side of Bluetooth Regression tests. 33 logging.info('Starting reboot from Server')
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/ |
server.cpp | 103 MyServerT Server(TCPChannel, SymbolLookup, RegisterEHFrames, DeregisterEHFrames); 107 ExitOnErr(Server.startReceivingFunction(TCPChannel, (uint32_t&)Id)); 110 ExitOnErr(Server.handleTerminateSession()); 113 ExitOnErr(Server.handleKnownFunction(Id)); 118 llvm_unreachable("Fell through server command loop.");
|
/external/toolchain-utils/automation/clients/ |
output_test.py | 16 server = xmlrpclib.Server('http://localhost:8000') 25 server.ExecuteJobGroup(pickle.dumps(group))
|
pwd_test.py | 14 server = xmlrpclib.Server('http://localhost:8000') 23 server.ExecuteJobGroup(pickle.dumps(group))
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
lmjoin.h | 45 NET_API_STATUS WINAPI NetAddAlternateComputerName(LPCWSTR Server,LPCWSTR AlternateName,LPCWSTR DomainAccount,LPCWSTR DomainAccountPassword,ULONG Reserved); 46 NET_API_STATUS WINAPI NetRemoveAlternateComputerName(LPCWSTR Server,LPCWSTR AlternateName,LPCWSTR DomainAccount,LPCWSTR DomainAccountPassword,ULONG Reserved); 47 NET_API_STATUS WINAPI NetSetPrimaryComputerName(LPCWSTR Server,LPCWSTR PrimaryName,LPCWSTR DomainAccount,LPCWSTR DomainAccountPassword,ULONG Reserved); 53 NET_API_STATUS WINAPI NetEnumerateComputerNames(LPCWSTR Server,NET_COMPUTER_NAME_TYPE NameType,ULONG Reserved,PDWORD EntryCount,LPWSTR **ComputerNames);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
ServerParser.java | 32 * Parser for Server header. 45 * @param server the header to parse 47 public ServerParser(String server) { 48 super(server); 60 * parse the String server 61 * @return SIPHeader (Server object) 68 Server server = new Server(); local 70 headerName(TokenTypes.SERVER); [all...] |
/external/curl/tests/ |
http_pipe.py | 33 This is a test server to test the libcurl pipelining functionality. 34 It is a modified version if Google's HTTP pipelining test server. More 103 logfile = open('log/server.input', 'a') 219 '200 OK', ['Server: Apache', 226 '200 OK', ['Server: Apache', 259 '200 OK', ['Server: Apache', 266 '200 OK', ['Server: Apache', 274 ['Server: Apache', 428 help="server ID") 439 server = PipelineServer(('0.0.0.0', args.port), PipelineRequestHandler variable [all...] |
/external/autotest/frontend/server/ |
models.py | 5 """Django model for server database. 17 class Server(dbmodels.Model, model_logic.ModelExtensions): 18 """Models a server.""" 42 """Metadata for class Server.""" 47 """A string representation of the Server object. 62 """Get a list of role names of the server. 64 @return: A list of role names of the server. 70 """Get a dictionary with all server details. 80 @return: A dictionary with all server details. 97 # Valid roles for a server 114 server = dbmodels.ForeignKey(Server, related_name='roles') variable in class:ServerRole 126 server = dbmodels.ForeignKey(Server, related_name='attributes') variable in class:ServerAttribute [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
UnixSelectorTest.java | 30 static class Server { 34 Server() throws Exception { 64 Server server = new Server(); local 65 SelectionKey mkey0 = server.serverChannel.register(sel0, SelectionKey.OP_ACCEPT); 66 server.serverChannel.register(sel1, SelectionKey.OP_ACCEPT); 71 server.initialize(); 74 server.accept(); 80 boolean isConnected = socketChannel.connect(server.socket.getLocalSocketAddress()) [all...] |
/external/boringssl/src/tool/ |
tool.cc | 54 { "s_server", Server }, 55 { "server", Server },
|