/system/core/libcutils/ |
D | sockets_test.cpp | 34 static void TestConnectedSockets(cutils_socket_t server, cutils_socket_t client, in TestConnectedSockets() argument 36 ASSERT_NE(INVALID_SOCKET, server); in TestConnectedSockets() 46 EXPECT_EQ(3, recvfrom(server, buffer, sizeof(buffer), 0, in TestConnectedSockets() 49 EXPECT_EQ(3, recv(server, buffer, sizeof(buffer), 0)); in TestConnectedSockets() 55 ASSERT_EQ(3, sendto(server, "bar", 3, 0, in TestConnectedSockets() 58 ASSERT_EQ(3, send(server, "bar", 3, 0)); in TestConnectedSockets() 69 EXPECT_EQ(11, recv(server, buffer, sizeof(buffer), 0)); in TestConnectedSockets() 72 EXPECT_EQ(0, socket_close(server)); in TestConnectedSockets() 78 cutils_socket_t server; in TEST() local 85 server = socket_inaddr_any_server(port, type); in TEST() [all …]
|
/system/core/fastboot/ |
D | socket_test.cpp | 35 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/libfmq/tests/ |
D | fmq_test.py | 32 def make_test(client, server): argument 36 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 37 run_cmd("adb shell \"( %s ) </dev/null >/dev/null 2>&1 &\"" % server) 41 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 68 for server in servers: 69 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) 70 test = make_test(client, server)
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test.py | 32 def make_test(client, server): argument 36 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 37 run_cmd("adb shell \"( %s ) </dev/null >/dev/null 2>&1 &\"" % server) 41 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 68 for server in servers: 69 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) 70 test = make_test(client, server)
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java.py | 38 def make_test(client, server): argument 44 cleanup(server) 45 run_cmd("adb shell \"( %s %s -s ) </dev/null >/dev/null 2>&1 &\"" % (env, server)) 50 cleanup(server) 75 for server in cmds: 76 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) 77 test = make_test(client, server)
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 223 virtual void IgnoreServerAborting(HttpServer* server) const {} in IgnoreServerAborting() 294 void IgnoreServerAborting(HttpServer* server) const override { in IgnoreServerAborting() 367 void IgnoreServerAborting(HttpServer* server) const override {} in IgnoreServerAborting() 497 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local 498 ASSERT_TRUE(server->started_); in TYPED_TEST() 503 this->test_.SmallUrl(server->GetPort()))); in TYPED_TEST() 513 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local 514 ASSERT_TRUE(server->started_); in TYPED_TEST() 519 StartTransfer, fetcher.get(), this->test_.BigUrl(server->GetPort()))); in TYPED_TEST() 537 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local [all …]
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | flags_health_check.te | 17 # system property device_config_boot_count_prop is used for deciding when to perform server 19 # wrong timing, trigger server configurable flag related disaster recovery, which will override 20 # server configured values of all flags with default values. 23 # system property device_config_reset_performed_prop is used for indicating whether server 25 # cause bad server configurable flags synced back to device. 28 # server_configurable_flags_data_file is used for storing whether server configurable flags which 30 # cause bad server configurable flags synced back to device.
|
D | hal_codec2.te | 9 # Allow server access to composer sync fences 12 # Allow both server and client access to ion 15 # Allow server access to camera HAL's fences
|
D | hal_tetheroffload.te | 1 ## HwBinder IPC from client to server, and callbacks 7 # allow the client to pass the server already open netlink sockets
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | flags_health_check.te | 21 # system property device_config_boot_count_prop is used for deciding when to perform server 23 # wrong timing, trigger server configurable flag related disaster recovery, which will override 24 # server configured values of all flags with default values. 27 # system property device_config_reset_performed_prop is used for indicating whether server 29 # cause bad server configurable flags synced back to device. 32 # server_configurable_flags_data_file is used for storing whether server configurable flags which 34 # cause bad server configurable flags synced back to device.
|
D | hal_light.te | 1 # HwBinder IPC from client to server, and callbacks 7 # client finds and uses server via service_manager 11 # server adds itself via service_manager
|
D | hal_codec2.te | 12 # Allow server access to composer sync fences 15 # Allow both server and client access to ion 18 # Allow server access to camera HAL's fences
|
D | hal_tetheroffload.te | 1 ## HwBinder IPC from client to server, and callbacks 7 # allow the client to pass the server already open netlink sockets
|
/system/bt/btif/src/ |
D | btif_gatt_server.cc | 133 HAL_CBACK(bt_gatt_callbacks, server->register_server_cb, in btapp_gatts_handle_cback() 146 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback() 152 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback() 158 HAL_CBACK(bt_gatt_callbacks, server->service_stopped_cb, in btapp_gatts_handle_cback() 164 HAL_CBACK(bt_gatt_callbacks, server->service_deleted_cb, in btapp_gatts_handle_cback() 170 HAL_CBACK(bt_gatt_callbacks, server->request_read_characteristic_cb, in btapp_gatts_handle_cback() 180 HAL_CBACK(bt_gatt_callbacks, server->request_read_descriptor_cb, in btapp_gatts_handle_cback() 192 HAL_CBACK(bt_gatt_callbacks, server->request_write_characteristic_cb, in btapp_gatts_handle_cback() 202 HAL_CBACK(bt_gatt_callbacks, server->request_write_descriptor_cb, in btapp_gatts_handle_cback() 210 HAL_CBACK(bt_gatt_callbacks, server->request_exec_write_cb, in btapp_gatts_handle_cback() [all …]
|
/system/bt/gd/rust/facade/src/ |
D | lib.rs | 72 server: Server, field 99 let mut server = builder.build().unwrap(); in start() localVariable 100 server.start(); in start() 102 Self { server, stack } in start() 106 self.server.shutdown().await.unwrap(); in stop() 124 let mut server: Option<FacadeServer> = None; in create() localVariable 131 server = Some(FacadeServer::start(stack, req, grpc_port).await); in create() 135 if let Some(s) = &mut server { in create() 137 server = None; in create()
|
/system/sepolicy/private/ |
D | flags_health_check.te | 24 # system property device_config_boot_count_prop is used for deciding when to perform server 26 # wrong timing, trigger server configurable flag related disaster recovery, which will override 27 # server configured values of all flags with default values. 30 # system property device_config_reset_performed_prop is used for indicating whether server 32 # cause bad server configurable flags synced back to device.
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | flags_health_check.te | 24 # system property device_config_boot_count_prop is used for deciding when to perform server 26 # wrong timing, trigger server configurable flag related disaster recovery, which will override 27 # server configured values of all flags with default values. 30 # system property device_config_reset_performed_prop is used for indicating whether server 32 # cause bad server configurable flags synced back to device.
|
/system/netd/tests/benchmarks/ |
D | Android.bp | 26 "netd_aidl_interface-lateststable-cpp", // system/netd/server/UidRanges.h 31 include_dirs: ["system/netd/server/binder"], 36 "system/netd/server", 37 "system/netd/server/binder",
|
D | connect_benchmark.cpp | 120 sockaddr_in server = { .sin_family = AF_INET, .sin_port = htons(port) }; in ipv4_loopback() local 121 if (connect(sock, (sockaddr*) &server, sizeof(server))) { in ipv4_loopback() 177 sockaddr_in6 server = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; in ipv6_loopback() local 178 if (connect(sock, (sockaddr*) &server, sizeof(server))) { in ipv6_loopback()
|
/system/libhidl/transport/manager/1.2/ |
D | IServiceManager.hal | 25 * Adds a callback that must be called when the specified server has no clients. 32 * @param server non-null service waiting to have no clients (previously registered) 37 * - the server or cb parameters are null 38 * - this is called by a process other than the server process 42 interface server, 49 * If server is null, then this must remove the cb from all matching services. 51 * @param server service registered with registerClientCallback 54 * true if the server(s) have been removed 55 * false if cb is null or if the client callback or server could not be found 57 unregisterClientCallback(interface server, IClientCallback cb) generates (bool success); [all …]
|
/system/sepolicy/public/ |
D | hal_codec2.te | 14 # Allow server access to composer sync fences 17 # Allow both server and client access to ion 20 # Allow server access to camera HAL's fences
|
D | hal_tetheroffload.te | 1 ## HwBinder IPC from client to server, and callbacks 7 # allow the client to pass the server already open netlink sockets
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | hal_codec2.te | 14 # Allow server access to composer sync fences 17 # Allow both server and client access to ion 20 # Allow server access to camera HAL's fences
|
D | hal_tetheroffload.te | 1 ## HwBinder IPC from client to server, and callbacks 7 # allow the client to pass the server already open netlink sockets
|
/system/bt/include/hardware/ |
D | bt_gatt.h | 37 const btgatt_server_callbacks_t* server; member 60 const btgatt_server_interface_t* server; member
|