/system/bt/btif/src/ |
H A D | btif_sock_rfc.cc | 72 int server : 1; member in struct:__anon674 185 bool server) { 188 security |= server ? BTM_SEC_IN_ENCRYPT : BTM_SEC_OUT_ENCRYPT; 190 security |= server ? BTM_SEC_IN_AUTHENTICATE : BTM_SEC_OUT_AUTHENTICATE; 192 security |= server ? BTM_SEC_IN_MITM : BTM_SEC_OUT_MITM; 233 slot->f.server = server; 249 accept_rs->f.server = false; 319 - This is the server socket FD 406 if (slot->f.server 183 alloc_rfc_slot(const RawAddress* addr, const char* name, const uint8_t* uuid, int channel, int flags, bool server) argument [all...] |
/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 81 static bool server(void); 87 static bool server(void) function 101 // Start threads to handle server work 178 // If server bound to a particular CPU, check that 183 cerr << "server onTransact on CPU " << cpu << " expected CPU " 198 cerr << "server onTransact unknown code, code: " << code << endl; 267 case 's': { // server CPU 300 cerr << " -s cpu - server CPU number" << endl; 314 if (!server()) { break; }
|
/system/netd/tests/dns_responder/ |
H A D | dns_responder_client.cpp | 29 // frameworks/base/services/java/com/android/server/NetworkManagementService.java 135 auto& server = (*servers)[i]; local 137 server = StringPrintf("127.0.0.%u", i + 100); 138 d = std::make_unique<test::DNSResponder>(server, listen_srv, 250,
|
/system/bt/service/ipc/ |
H A D | linux_ipc_host.cc | 318 auto server = gatt_servers_.begin(); local 319 server->second->GetCharacteristicValue(UUID(id), &value); 325 transmit += "|" + server->first;
|
/system/extras/simpleperf/ |
H A D | inplace_sampler_lib.cpp | 327 std::unique_ptr<UnixSocketServer> server = UnixSocketServer::Create(server_path, true); local 328 if (server == nullptr) { 329 LOG(ERROR) << "failed to create server at path " << server_path; 334 std::unique_ptr<UnixSocketConnection> conn = server->AcceptConnection();
|
/system/netd/tests/ |
H A D | sock_diag_test.cpp | 76 ASSERT_NE(0, port) << "Can't bind to server port"; 98 fprintf(stderr, "Ports:\n server=%d. client46=%d, client6=%d\n", 188 ASSERT_NE(0, port) << "Can't bind to server port"; 189 sockaddr_in6 server = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; local 202 ASSERT_EQ(0, connect(s, (sockaddr *) &server, sizeof(server)))
|
/system/connectivity/wificond/scanning/offload/ |
H A D | scan_stats.cpp | 27 namespace server { namespace in namespace:com::android 107 } // namespace server
|
H A D | offload_scan_manager.cpp | 38 using ::com::android::server::wifi::wificond::NativeScanResult; 39 using ::com::android::server::wifi::wificond::NativeScanStats;
|
/system/connectivity/wificond/scanning/ |
H A D | scan_result.cpp | 30 namespace server { namespace in namespace:com::android 98 } // namespace server
|
H A D | scanner_impl.cpp | 34 using com::android::server::wifi::wificond::NativeScanResult; 35 using com::android::server::wifi::wificond::PnoSettings; 36 using com::android::server::wifi::wificond::SingleScanSettings; 474 const ::com::android::server::wifi::wificond::PnoSettings&
|
/system/netd/server/ |
H A D | NetdNativeService.h | 50 binder::Status addPrivateDnsServer(const std::string& server, int32_t port, 53 binder::Status removePrivateDnsServer(const std::string& server) override;
|
H A D | Android.mk | 164 system/netd/server \ 165 system/netd/server/binder \
|
H A D | NetdNativeService.cpp | 239 binder::Status NetdNativeService::addPrivateDnsServer(const std::string& server, int32_t port, argument 261 const int err = gCtls->resolverCtrl.addPrivateDnsServer(server, port, 270 binder::Status NetdNativeService::removePrivateDnsServer(const std::string& server) { argument 272 const int err = gCtls->resolverCtrl.removePrivateDnsServer(server);
|
H A D | SockDiagTest.cpp | 84 ASSERT_NE(0, port) << "Can't bind to server port"; 105 fprintf(stderr, "Ports:\n server=%d. client46=%d, client6=%d\n", 464 ASSERT_NE(0, port) << "Can't bind to server port"; 465 sockaddr_in6 server = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; local 478 ASSERT_EQ(0, connect(s, (sockaddr *) &server, sizeof(server)))
|
/system/bt/service/test/ |
H A D | gatt_server_unittest.cc | 310 std::unique_ptr<GattServer> server; local 317 server = std::unique_ptr<GattServer>( 358 ASSERT_TRUE(server.get() != nullptr); // Assert to terminate in case of error 360 EXPECT_EQ(server_if0, server->GetInstanceId()); 361 EXPECT_EQ(uuid0, server->GetAppIdentifier()); 364 // The server should unregister itself when deleted. 368 server.reset(); 379 ASSERT_TRUE(server.get() == nullptr); // Assert to terminate in case of error
|
/system/bt/service/ |
H A D | gatt_server.cc | 34 // Automatically unregister the server. 40 // Unregister this server, stop all services, and ignore the result. 351 // TODO(armansito): Require a delegate at server registration so that this 384 // TODO(armansito): Require a delegate at server registration so that this 422 // TODO(armansito): Require a delegate at server registration so that this 461 // TODO(armansito): Require a delegate at server registration so that this 496 // TODO(armansito): Require a delegate at server registration so that this 538 VLOG(1) << "Connection doesn't belong to this server"; 576 LOG(ERROR) << "GATT-server client with given UUID already being registered " 606 // No need to construct a server i 607 std::unique_ptr<GattServer> server; local [all...] |
/system/connectivity/wificond/tests/ |
H A D | scanner_unittest.cpp | 38 using ::com::android::server::wifi::wificond::SingleScanSettings; 39 using ::com::android::server::wifi::wificond::PnoSettings; 40 using ::com::android::server::wifi::wificond::NativeScanResult;
|
H A D | scan_utils_unittest.cpp | 42 using com::android::server::wifi::wificond::NativeScanResult;
|
H A D | offload_scan_manager_test.cpp | 46 using com::android::server::wifi::wificond::NativeScanResult; 47 using com::android::server::wifi::wificond::NativeScanStats;
|
/system/core/adb/ |
H A D | sysdeps_win32.cpp | 819 snprintf(f->name, sizeof(f->name), "%d(%s-server:%s%d)", fd, 1039 int server = -1; local 1045 server = network_loopback_server(0, SOCK_STREAM, &error); 1046 if (server < 0) { 1047 D("adb_socketpair: failed to create server: %s", error.c_str()); 1051 local_port = adb_socket_get_local_port(server); 1053 D("adb_socketpair: failed to get server port number: %s", error.c_str()); 1064 accepted = adb_socket_accept(server, nullptr, nullptr); 1069 adb_close(server); 1075 if (server > [all...] |
/system/core/libnetutils/ |
H A D | dhcpclient.c | 115 uint32_t *dns1, uint32_t *dns2, uint32_t *server, 123 *server = last_good_info.serveraddr; 159 ALOGD("server %s, lease %d seconds", 432 printerr("no acknowledgement from DHCP server\nconfiguring %s with offered parameters\n", ifname); 114 get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefixLength, uint32_t *dns1, uint32_t *dns2, uint32_t *server, uint32_t *lease) argument
|
/system/libhwbinder/vts/performance/ |
H A D | Benchmark_throughput.cpp | 180 sp<IBenchmark> server = IBenchmark::getService(serviceName, true); local 182 status_t status = server->registerAsService(serviceName);
|
/system/connectivity/wificond/ |
H A D | client_interface_impl.cpp | 33 using com::android::server::wifi::wificond::NativeScanResult;
|
H A D | Android.mk | 76 server.cpp
|
/system/bt/bta/jv/ |
H A D | bta_jv_act.cc | 62 unsigned server : 1; member in struct:fc_client 1083 p_cb->psm = 0; /* not a server */ 1128 * Description handles the l2cap server callback 1191 * Description starts an L2CAP server 1266 * Description stops an L2CAP server 1347 * happens around 1 of 4 disconnects, as a disconnect on the server channel 1667 * server connections 1737 * Description Callback for RFCOMM server port events 1776 * Description add a port for server when the existing posts is open 1944 * Description stops an RFCOMM server 2256 fcclient_alloc(uint16_t chan, char server, const uint8_t* sec_id_to_use) argument [all...] |