Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 91) sorted by relevance

1234

/system/core/libcutils/tests/
Dsockets_test.cpp32 static void TestConnectedSockets(cutils_socket_t server, cutils_socket_t client, in TestConnectedSockets() argument
34 ASSERT_NE(INVALID_SOCKET, server); in TestConnectedSockets()
44 EXPECT_EQ(3, recvfrom(server, buffer, sizeof(buffer), 0, in TestConnectedSockets()
47 EXPECT_EQ(3, recv(server, buffer, sizeof(buffer), 0)); in TestConnectedSockets()
53 ASSERT_EQ(3, sendto(server, "bar", 3, 0, in TestConnectedSockets()
56 ASSERT_EQ(3, send(server, "bar", 3, 0)); in TestConnectedSockets()
67 EXPECT_EQ(11, recv(server, buffer, sizeof(buffer), 0)); in TestConnectedSockets()
70 EXPECT_EQ(0, socket_close(server)); in TestConnectedSockets()
95 cutils_socket_t server; in TEST() local
102 server = socket_inaddr_any_server(port, SOCK_DGRAM); in TEST()
[all …]
/system/tpm/tpm_manager/
Dtpm_manager.gyp80 # A library for server code.
85 'server/dbus_service.cc',
86 'server/local_data_store_impl.cc',
87 'server/openssl_crypto_util_impl.cc',
88 'server/tpm_manager_service.cc',
93 'server/tpm2_initializer_impl.cc',
94 'server/tpm2_nvram_impl.cc',
95 'server/tpm2_status_impl.cc',
105 'server/tpm_connection.cc',
106 'server/tpm_initializer_impl.cc',
[all …]
/system/core/fastboot/
Dsocket_test.cpp35 bool MakeConnectedSockets(Socket::Protocol protocol, std::unique_ptr<Socket>* server, in MakeConnectedSockets() argument
38 *server = Socket::NewServer(protocol, 0); in MakeConnectedSockets()
39 if (*server == nullptr) { in MakeConnectedSockets()
44 *client = Socket::NewClient(protocol, hostname, (*server)->GetLocalPort(), nullptr); in MakeConnectedSockets()
52 *server = (*server)->Accept(); in MakeConnectedSockets()
53 if (*server == nullptr) { in MakeConnectedSockets()
78 std::unique_ptr<Socket> server, client; in TEST() local
81 ASSERT_TRUE(MakeConnectedSockets(protocol, &server, &client)); in TEST()
84 EXPECT_TRUE(ReceiveString(server.get(), "foo")); in TEST()
86 EXPECT_TRUE(SendString(server.get(), "bar baz")); in TEST()
[all …]
/system/core/adb/
Dtest_track_devices.cpp29 struct sockaddr_in server; in main() local
32 memset( &server, 0, sizeof(server) ); in main()
33 server.sin_family = AF_INET; in main()
34 server.sin_port = htons(5037); in main()
35 server.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
38 ret = connect( s, (struct sockaddr*) &server, sizeof(server) ); in main()
DOVERVIEW.TXT16 1. The ADB server
26 The ADB server is really one giant multiplexing loop whose purpose is
34 or emulated system. Its purpose is to connect to the ADB server
38 The ADB server considers that a device is ONLINE when it has successfully
40 meaning that the ADB server detected a new device/emulator, but could not
49 or a script. It first tries to locate the ADB server on the host machine,
52 then, the client sends its service requests to the ADB server. It doesn't
55 Currently, a single 'adb' binary is used for both the server and client.
56 this makes distribution and starting the server easier.
71 it on the device. The ADB server is used to multiplex streams
[all …]
DSERVICES.TXT2 to the ADB server of an adbd daemon. See the OVERVIEW.TXT document
8 Ask the ADB server for its internal version number.
10 As a special exception, the server will respond with a 4-byte
15 Ask the ADB server to quit immediately. This is used when the
16 ADB client detects that an obsolete server is running after an
33 polling the server repeatedly.
36 This is a special query that is sent to the ADB server when a
42 This mechanism allows the ADB server to know when new emulator
69 prefix can be used to indicate that the client is asking the ADB server
100 Asks the ADB server to forward local connections from <local>
[all …]
DSYNC.TXT2 to the ADB server of an adbd daemon. See the OVERVIEW.TXT document
14 After the initial "sync:" command is sent the server must respond with either
17 In sync mode both the server and the client will frequently use eight-byte
36 Lists files in the directory specified by the remote filename. The server will
67 to the last modified time for the file. The server responds to this last
/system/update_engine/common/
Dhttp_fetcher_unittest.cc223 virtual void IgnoreServerAborting(HttpServer* server) const {} in IgnoreServerAborting()
295 void IgnoreServerAborting(HttpServer* server) const override { in IgnoreServerAborting()
422 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
423 ASSERT_TRUE(server->started_); in TYPED_TEST()
428 this->test_.SmallUrl(server->GetPort()))); in TYPED_TEST()
437 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
438 ASSERT_TRUE(server->started_); in TYPED_TEST()
443 this->test_.BigUrl(server->GetPort()))); in TYPED_TEST()
460 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
461 ASSERT_TRUE(server->started_); in TYPED_TEST()
[all …]
/system/tpm/attestation/
Dattestation.gyp121 # A library for server code.
126 'server/attestation_service.cc',
127 'server/dbus_service.cc',
128 'server/database_impl.cc',
129 'server/pkcs11_key_store.cc',
145 'server/main.cc',
178 'server/attestation_service_test.cc',
179 'server/database_impl_test.cc',
180 'server/dbus_service_test.cc',
181 'server/mock_database.cc',
[all …]
/system/tpm/attestation/common/
Dattestation_ca.proto23 // This message holds all information to be sent to the attestation server in
26 // The EK cert, in X.509 form, encrypted using the server's public key with
42 // Internal server error.
44 // The server cannot parse the request.
46 // The server rejects the request.
48 // Only appears in enrollment response. The server returns the same generated
54 // The response from the attestation server for the enrollment request.
62 // The certificate request to be sent to the attestation server.
84 // The response from the attestation server for the certificate request.
104 // The reset request to be sent to the attestation server.
[all …]
Ddatabase.proto11 // Holds TPM credentials that the attestation server will need to see. These
12 // credentials must be cleared once the attestation server has certified the
31 // A credential issued by the attestation server.
36 // information should be cleared once the attestation server has certified the
/system/webservd/libwebserv/
Dserver.cc36 DBusServer* server = new DBusServer; in ConnectToServerViaDBus() local
37 unique_ptr<Server> ret(server); in ConnectToServerViaDBus()
38 server->Connect(bus, service_name, cb, on_server_online, on_server_offline); in ConnectToServerViaDBus()
Dbinder_server.cc75 bool BinderServer::BuildLocalState(android::sp<android::IBinder> server) { in BuildLocalState() argument
76 remote_server_ = android::interface_cast<RemoteServer>(server); in BuildLocalState()
Dlibwebserv.pc.in4 Description: Web server interface library
Ddbus_server.cc31 explicit RequestHandler(DBusServer* server) : server_{server} {} in RequestHandler() argument
136 org::chromium::WebServer::ServerProxyInterface* server) { in Online() argument
138 proxy_ = server; in Online()
/system/bt/btif/src/
Dbtif_gatt_server.c174 HAL_CBACK(bt_gatt_callbacks, server->register_server_cb in btapp_gatts_handle_cback()
192 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, in btapp_gatts_handle_cback()
202 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, in btapp_gatts_handle_cback()
214 HAL_CBACK(bt_gatt_callbacks, server->service_added_cb, in btapp_gatts_handle_cback()
222 HAL_CBACK(bt_gatt_callbacks, server->included_service_added_cb, in btapp_gatts_handle_cback()
234 HAL_CBACK(bt_gatt_callbacks, server->characteristic_added_cb, in btapp_gatts_handle_cback()
248 HAL_CBACK(bt_gatt_callbacks, server->descriptor_added_cb, in btapp_gatts_handle_cback()
258 HAL_CBACK(bt_gatt_callbacks, server->service_started_cb, in btapp_gatts_handle_cback()
265 HAL_CBACK(bt_gatt_callbacks, server->service_stopped_cb, in btapp_gatts_handle_cback()
272 HAL_CBACK(bt_gatt_callbacks, server->service_deleted_cb, in btapp_gatts_handle_cback()
[all …]
Dbtif_sock_l2cap.c84 unsigned server :1; //is a server? (or connecting?) member
269 if (sock->handle >= 0 && (sock->server == FALSE)) { in btsock_l2cap_free_l()
272 if ((sock->channel >= 0) && (sock->server == TRUE)) { in btsock_l2cap_free_l()
279 if (sock->handle && (sock->server == FALSE)) { in btsock_l2cap_free_l()
285 if ((sock->channel >= 0) && (sock->server == TRUE)) { in btsock_l2cap_free_l()
321 sock->server = is_server; in btsock_l2cap_alloc_l()
553 " server:%d", sock->id, sock->channel, sock->server); in on_cl_l2cap_psm_connect_l()
572 " server:%d", sock->id, sock->channel, sock->server); in on_cl_l2cap_le_connect_l()
591 if (!sock->server) in on_l2cap_connect()
596 if (!sock->server) in on_l2cap_connect()
[all …]
Dbtif_sock_rfc.c67 int server : 1; member
180 …st bt_bdaddr_t *addr, const char *name, const uint8_t *uuid, int channel, int flags, bool server) { in alloc_rfc_slot() argument
183 security |= server ? BTM_SEC_IN_ENCRYPT : BTM_SEC_OUT_ENCRYPT; in alloc_rfc_slot()
185 security |= server ? BTM_SEC_IN_AUTHENTICATE : BTM_SEC_OUT_AUTHENTICATE; in alloc_rfc_slot()
187 security |= server ? BTM_SEC_IN_MITM : BTM_SEC_OUT_MITM; in alloc_rfc_slot()
229 slot->f.server = server; in alloc_rfc_slot()
241 accept_rs->f.server = false; in create_srv_accept_rfc_slot()
390 if(slot->f.server && !slot->f.closing && slot->rfc_handle) { in free_rfc_slot_scn()
395 if (slot->f.server) in free_rfc_slot_scn()
417 if (slot->rfc_handle && !slot->f.closing && !slot->f.server) { in cleanup_rfc_slot()
[all …]
/system/netd/tests/
DAndroid.mk26 LOCAL_AIDL_INCLUDES := system/netd/server/binder
28 system/netd/server system/core/logwrapper/include \
36 ../server/NetdConstants.cpp
/system/core/crash_reporter/
DREADME.md9 them to the crash server.
13 uploaded to the crash server.
15 On the crash server, it compares the minidump's signature to the symbol files
43 file to the URL of the crash server. For Brillo builds, it is set
54 By default, crash reports are only uploaded to the server for production
57 send them to the crash server. If a developer does want to force an upload,
59 crash_sender` from an ADB shell. This will send the report to the server, with
/system/connectivity/shill/
Ddns_server_proxy.cc64 for (const auto& server : dns_servers_) { in Start() local
65 args.push_back(base::StringPrintf("--server=%s", server.c_str())); in Start()
/system/bt/service/
Dgatt_server_old.cpp144 g_internal->gatt->server->add_service( in RegisterServerCallback()
200 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestReadCallback()
256 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestWriteCallback()
268 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestExecWriteCallback()
515 return gatt->server->add_characteristic( in AddCharacteristic()
532 gatt->server->delete_service(server_if, service_handle); in ~ServerInternals()
533 gatt->server->unregister_server(server_if); in ~ServerInternals()
558 bt_status_t btstat = internal_->gatt->server->register_server(&uuid); in Initialize()
701 bt_status_t btstat = internal_->gatt->server->start_service( in Start()
714 bt_status_t btstat = internal_->gatt->server->stop_service( in Stop()
[all …]
/system/webservd/
DREADME15 This directory contains a web server (webservd) and a client interface library
18 The current implementation of the web server uses libmicrohttpd for actual
/system/webservd/webservd/
Ddbus_request_handler.cc45 DBusRequestHandler::DBusRequestHandler(Server* server, in DBusRequestHandler() argument
47 : server_{server}, in DBusRequestHandler()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp81 static bool server(void);
87 static bool server(void) in server() function
108 server(); in BM_client()

1234