Searched refs:connect (Results 51 - 75 of 103) sorted by relevance

12345

/system/core/libusbhost/include/usbhost/
H A Dusbhost.h214 /* Requests the kernel to connect or disconnect its driver for the specified interface.
219 unsigned int interface, int connect);
/system/hardware/interfaces/net/netd/testutils/
H A DVtsHalNetNetdTestUtils.cpp110 ret = connect(sock, ai->ai_addr, ai->ai_addrlen);
/system/netd/libnetdutils/include/netdutils/
H A DMockSyscalls.h46 MOCK_CONST_METHOD3(connect, Status(Fd sock, const sockaddr* addr, socklen_t addrlen));
/system/bt/include/hardware/
H A Dbt_av.h306 /** connect to headset */
307 bt_status_t (*connect)(const RawAddress& bd_addr); member in struct:__anon706
309 /** dis-connect from headset */
335 /** connect to headset */
336 bt_status_t (*connect)(const RawAddress& bd_addr); member in struct:__anon707
338 /** dis-connect from headset */
H A Dbt_gatt_client.h216 bt_status_t (*connect)(int client_if, const RawAddress& bd_addr, member in struct:__anon721
H A Dbt_hf_client.h331 /** connect to audio gateway */
332 bt_status_t (*connect)(RawAddress* bd_addr); member in struct:__anon771
/system/bt/tools/bdtool/
H A Dbdtool.c250 sock->connect(&bt_remote_bdaddr, BTSOCK_RFCOMM,
253 fprintf(stderr, "Unable to connect to RFCOMM socket: %d.\n", error);
262 error = sock->connect(&bt_remote_bdaddr, BTSOCK_SCO, NULL, 5, &sock_fd, 0,
265 fprintf(stderr, "Unable to connect to SCO socket: %d.\n", error);
/system/sepolicy/prebuilts/api/28.0/private/
H A Dplatform_app.te73 # modify them other than to connect
75 connect getattr read recvfrom sendto write getopt setopt };
77 # allow platform apps to connect to the property service
/system/sepolicy/private/
H A Dplatform_app.te73 # modify them other than to connect
75 connect getattr read recvfrom sendto write getopt setopt };
77 # allow platform apps to connect to the property service
/system/nfc/src/nfa/ee/
H A Dnfa_ee_act.cc1381 tNFA_EE_ECB* p_cb = p_data->connect.p_cb;
1385 evt_data.connect.status = NFA_STATUS_FAILED;
1388 if (p_data->connect.ee_interface == p_cb->ee_interface[xx]) {
1389 p_cb->p_ee_cback = p_data->connect.p_cback;
1391 p_cb->use_interface = p_data->connect.ee_interface;
1392 evt_data.connect.status =
1393 NFC_ConnCreate(NCI_DEST_TYPE_NFCEE, p_data->connect.nfcee_id,
1394 p_data->connect.ee_interface, nfa_ee_conn_cback);
1401 if (evt_data.connect.status != NCI_STATUS_OK) {
1402 evt_data.connect
[all...]
/system/bt/vendor_libs/test_vendor_lib/scripts/
H A Dtest_channel.py68 self._socket.connect(('localhost', port))
/system/bt/vendor_libs/test_vendor_lib/test/
H A Dasync_manager_unittest.cc116 connect(socket_cli_fd, (struct sockaddr*)&serv_addr, sizeof(serv_addr));
/system/chre/host/common/
H A Dsocket_client.cc44 bool SocketClient::connect(const char *socketName, function in class:android::chre::SocketClient
110 LOGE("Can't attempt to connect from a receive thread callback");
205 LOGW("Failed to (re)connect, next try in %" PRId32 " ms",
242 LOGE("Couldn't connect client socket to '%s': %s",
/system/extras/perfprofd/scripts/
H A Dperf_proto_json2sqlite.py31 self._conn = sqlite3.connect(out)
/system/extras/tests/tcp_nuke_addr/
H A Dtcp_nuke_addr_test.cpp90 // Thread that calls connect() in a loop.
97 // Don't call SIOCKILLADDR while connect() is running, or we'll end up with lots of
101 if (connect(s, (sockaddr *) &listenaddr, sizeof(listenaddr)) == -1) PERROR_EXIT("connect");
/system/netd/server/
H A DNetlinkCommands.cpp38 if (connect(sock, reinterpret_cast<const sockaddr*>(&KERNEL_NLADDR),
97 ALOGE("netlink socket connect/writev failed (%s)", strerror(-ret));
H A DSockDiagTest.cpp89 ASSERT_EQ(0, connect(v4socket, (sockaddr *) &server4, sizeof(server4)))
90 << "IPv4 connect failed: " << strerror(errno);
91 ASSERT_EQ(0, connect(v6socket, (sockaddr *) &server6, sizeof(server6)))
92 << "IPv6 connect failed: " << strerror(errno);
478 ASSERT_EQ(0, connect(s, (sockaddr *) &server, sizeof(server)))
/system/nfc/src/nfa/include/
H A Dnfa_ee_api.h195 tNFA_EE_CONNECT connect; member in union:__anon2254
/system/netd/libnetdutils/
H A DSyscalls.cpp94 Status connect(Fd sock, const sockaddr* addr, socklen_t addrlen) const override {
95 auto rv = syscallRetry(::connect, sock.get(), addr, addrlen);
97 return statusFromErrno(errno, "connect() failed");
/system/netd/tests/benchmarks/
H A Dconnect_benchmark.cpp22 * This set of benchmarks measures the throughput of connect() calls on a single thread for IPv4 and
28 * the kernel connect call. In real world use fwmark should stay on in order for traffic to
33 * The default mode up to and including 7.1. Every time connect() is called on an AF_INET or
40 * The default mode starting from 7.1.2. As well as the normal connect() reporting, extra
51 * - real_time: the mean roundtrip time for one connect() call under load
60 * measure 90th-percentile latency for connect() calls compared to mean latency.
143 if (connect(sock, (sockaddr*) &server, sizeof(server))) {
144 state.SkipWithError(StringPrintf("connect() failed with errno=%d", errno).c_str());
200 if (connect(sock, (sockaddr*) &server, sizeof(server))) {
201 state.SkipWithError(StringPrintf("connect() faile
[all...]
/system/bt/btif/src/
H A Dbtif_hf_client.cc35 * -- While connect() is called from BTIF. This is an outgoing connection
293 * Function connect
295 * Description connect to audio gateway
322 static bt_status_t connect(RawAddress* bd_addr) { function
752 .connect = connect,
H A Dbtif_hd.cc473 * Function connect
480 static bt_status_t connect(RawAddress* bd_addr) { function
632 connect,
/system/sepolicy/prebuilts/api/28.0/public/
H A Dte_macros119 # than we need (e.g. we don"t need "bind" or "connect").
135 # Allow the client to connect to endpoint socket.
144 # than we need (e.g. we don"t need "bind" or "connect").
405 allow $1 self:netlink_selinux_socket { read write create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt setopt shutdown recvfrom sendto name_bind };
/system/sepolicy/public/
H A Dte_macros119 # than we need (e.g. we don"t need "bind" or "connect").
135 # Allow the client to connect to endpoint socket.
144 # than we need (e.g. we don"t need "bind" or "connect").
405 allow $1 self:netlink_selinux_socket { read write create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt setopt shutdown recvfrom sendto name_bind };
/system/bt/service/
H A Dlow_energy_client.cc60 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->connect(
63 LOG(ERROR) << "HAL call to connect failed";

Completed in 1294 milliseconds

12345