Searched refs:server (Results 1 - 25 of 82) sorted by relevance

1234

/system/core/libcutils/tests/
H A Dsockets_test.cpp34 static void TestConnectedSockets(cutils_socket_t server, cutils_socket_t client, argument
36 ASSERT_NE(INVALID_SOCKET, server);
43 // Send client -> server first to get the UDP client's address.
46 EXPECT_EQ(3, recvfrom(server, buffer, sizeof(buffer), 0,
49 EXPECT_EQ(3, recv(server, buffer, sizeof(buffer), 0));
53 // Now send server -> client.
55 ASSERT_EQ(3, sendto(server, "bar", 3, 0,
58 ASSERT_EQ(3, send(server, "bar", 3, 0));
69 EXPECT_EQ(11, recv(server, buffer, sizeof(buffer), 0));
72 EXPECT_EQ(0, socket_close(server));
97 cutils_socket_t server; local
118 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_DGRAM); local
127 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_STREAM); local
140 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_DGRAM); local
149 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_STREAM); local
172 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_STREAM); local
[all...]
/system/connectivity/wificond/aidl/com/android/server/wifi/wificond/
H A DNativeScanResult.aidl17 package com.android.server.wifi.wificond;
H A DPnoNetwork.aidl17 package com.android.server.wifi.wificond;
H A DPnoSettings.aidl17 package com.android.server.wifi.wificond;
H A DSingleScanSettings.aidl17 package com.android.server.wifi.wificond;
/system/netd/tests/dns_responder/
H A DAndroid.mk29 LOCAL_AIDL_INCLUDES += system/netd/server/binder
32 system/netd/server \
33 system/netd/server/binder \
40 ../../server/binder/android/net/INetd.aidl \
41 ../../server/binder/android/net/UidRange.cpp
/system/netd/tests/benchmarks/
H A DAndroid.mk29 LOCAL_AIDL_INCLUDES := system/netd/server/binder
32 system/netd/server \
33 system/netd/server/binder \
40 ../../server/binder/android/net/metrics/INetdEventListener.aidl
/system/connectivity/wificond/aidl/android/net/wifi/
H A DIWifiScannerImpl.aidl21 import com.android.server.wifi.wificond.NativeScanResult;
22 import com.android.server.wifi.wificond.PnoSettings;
23 import com.android.server.wifi.wificond.SingleScanSettings;
/system/tpm/tpm_manager/
H A DAndroid.mk86 server/binder_service.cc \
87 server/local_data_store_impl.cc \
88 server/openssl_crypto_util_impl.cc \
89 server/tpm2_initializer_impl.cc \
90 server/tpm2_nvram_impl.cc \
91 server/tpm2_status_impl.cc \
92 server/tpm_manager_service.cc
102 LOCAL_INIT_RC := server/tpm_managerd.rc
110 server/main.cc
157 server/binder_service_tes
[all...]
/system/core/fastboot/
H A Dsocket_test.cpp34 // Creates connected sockets |server| and |client|. Returns true on success.
35 bool MakeConnectedSockets(Socket::Protocol protocol, std::unique_ptr<Socket>* server, argument
38 *server = Socket::NewServer(protocol, 0);
39 if (*server == nullptr) {
40 ADD_FAILURE() << "Failed to create server.";
44 *client = Socket::NewClient(protocol, hostname, (*server)->GetLocalPort(), nullptr);
52 *server = (*server)->Accept();
53 if (*server == nullptr) {
76 // Tests sending packets client -> server, the
78 std::unique_ptr<Socket> server, client; local
92 std::unique_ptr<Socket> server, client; local
113 std::unique_ptr<Socket> server, client; local
138 std::unique_ptr<Socket> server, client; local
158 std::unique_ptr<Socket> server, client; local
[all...]
/system/connectivity/wificond/scanning/
H A Doffload_scan_callback_interface_impl.cpp21 using com::android::server::wifi::wificond::NativeScanResult;
H A Dscanner_impl.h59 std::vector<com::android::server::wifi::wificond::NativeScanResult>*
64 std::vector<com::android::server::wifi::wificond::NativeScanResult>*
67 const ::com::android::server::wifi::wificond::SingleScanSettings&
71 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings,
97 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings);
99 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings);
103 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings,
108 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings) const;
117 ::com::android::server::wifi::wificond::PnoSettings pno_settings_;
H A Dchannel_settings.cpp27 namespace server { namespace in namespace:com::android
43 } // namespace server
H A Dhidden_network.cpp27 namespace server { namespace in namespace:com::android
43 } // namespace server
H A Dchannel_settings.h25 namespace server { namespace in namespace:com::android
44 } // namespace server
H A Dhidden_network.h27 namespace server { namespace in namespace:com::android
45 } // namespace server
H A Dpno_network.cpp27 namespace server { namespace in namespace:com::android
47 } // namespace server
H A Dpno_network.h27 namespace server { namespace in namespace:com::android
47 } // namespace server
/system/netd/tests/
H A DAndroid.mk30 LOCAL_AIDL_INCLUDES := system/netd/server/binder
32 system/netd/server system/core/logwrapper/include \
43 ../server/NetdConstants.cpp \
44 ../server/binder/android/net/metrics/INetdEventListener.aidl
/system/update_engine/common/
H A Dhttp_fetcher_unittest.cc88 // Class hierarchy for HTTP server implementations.
119 // Spawn the server process.
125 ADD_FAILURE() << "failed to spawn http server process";
128 LOG(INFO) << "started http server with pid " << http_server->pid();
130 // Wait for server to begin accepting connections, obtain its port.
141 ADD_FAILURE() << "error reading http server stdout";
151 ADD_FAILURE() << "server output too short";
162 LOG(INFO) << "server running, listening on port " << port_;
164 // Any failure before this point will SIGKILL the test server if started
223 virtual void IgnoreServerAborting(HttpServer* server) cons
539 PythonHttpServer server; local
792 FailureHttpFetcherTestDelegate(PythonHttpServer* server) argument
999 RedirectTest(const HttpServer* server, bool expected_successful, const string& url, HttpFetcher* http_fetcher) argument
[all...]
/system/connectivity/wificond/scanning/offload/
H A Doffload_scan_utils.h26 namespace server { namespace in namespace:com::android
35 } // namespace server
47 std::vector<::com::android::server::wifi::wificond::NativeScanResult>*);
60 static ::com::android::server::wifi::wificond::NativeScanStats
/system/bt/btif/src/
H A Dbtif_gatt_server.cc23 * Description: GATT server implementation
133 HAL_CBACK(bt_gatt_callbacks, server->register_server_cb,
145 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id,
151 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id,
157 HAL_CBACK(bt_gatt_callbacks, server->service_stopped_cb,
163 HAL_CBACK(bt_gatt_callbacks, server->service_deleted_cb,
169 HAL_CBACK(bt_gatt_callbacks, server->request_read_characteristic_cb,
179 HAL_CBACK(bt_gatt_callbacks, server->request_read_descriptor_cb,
191 HAL_CBACK(bt_gatt_callbacks, server->request_write_characteristic_cb,
201 HAL_CBACK(bt_gatt_callbacks, server
[all...]
/system/tpm/tpm_manager/server/
H A Dtpm_status_impl.h20 #include "tpm_manager/server/tpm_status.h"
29 #include <tpm_manager/server/tpm_connection.h>
/system/connectivity/wificond/tests/
H A Dmock_offload_scan_manager.h44 bool(::com::android::server::wifi::wificond::NativeScanStats*
50 ::com::android::server::wifi::wificond::NativeScanResult>*));
/system/netd/server/
H A DResolverController.h42 // Given a netId and the address of an insecure (i.e. normal) DNS server, this method checks
43 // if there is a known secure DNS server with the same IP address that has been validated as
44 // accessible on this netId. If so, it returns true, providing the server's address
47 // server is not accessible.
69 int addPrivateDnsServer(const std::string& server, int32_t port,
72 int removePrivateDnsServer(const std::string& server);

Completed in 269 milliseconds

1234