Home
last modified time | relevance | path

Searched refs:getsockname (Results 1 – 13 of 13) sorted by relevance

/system/core/libcutils/
Dsockets.cpp38 if (getsockname(sock, reinterpret_cast<sockaddr*>(&addr), &addr_size) == 0) { in socket_get_local_port()
Dsockets_unix.cpp104 int ret = TEMP_FAILURE_RETRY(getsockname(fd, (struct sockaddr *)&addr, &addrlen)); in android_get_control_socket()
/system/tpm/attestation/server/
Dattestationd-seccomp-arm.policy18 getsockname: 1
Dattestationd-seccomp-amd64.policy34 getsockname: 1
/system/core/adb/
Dtest_adb.py220 ipv6.bind(('::1', ipv4.getsockname()[1] + 1))
224 port = s.getsockname()[1]
Dsysdeps.h272 #undef getsockname
273 #define getsockname(...) ___xxx_getsockname(__VA__ARGS__) macro
Dsysdeps_win32.cpp987 int result = (getsockname)(fh->fh_socket, sockaddr, optlen); in adb_getsockname()
/system/tpm/tpm_manager/server/
Dtpm_managerd-seccomp-amd64.policy35 getsockname: 1
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp133 if (getsockname(listensock, (sockaddr *) &sin, &len) == -1) PERROR_EXIT("getsockname"); in main()
/system/netd/tests/
Dbinder_test.cpp334 ASSERT_EQ(0, getsockname(*serverSocket, (struct sockaddr *) &server6, &addrlen)); in fakeRemoteSocketPair()
341 ASSERT_EQ(0, getsockname(*clientSocket, (struct sockaddr *) &client6, &addrlen)); in fakeRemoteSocketPair()
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp112 if (getsockname(s, (sockaddr*) &sin, &len)) { in bindAndListen()
/system/update_engine/
Dtest_http_server.cc616 if (getsockname(listen_fd, reinterpret_cast<struct sockaddr*>(&bound_addr), in main()
/system/netd/server/
DXfrmController.cpp512 if ((err = getsockname(userSocket, reinterpret_cast<struct sockaddr*>(&saddr), &len)) < 0) { in ipSecApplyTransportModeTransform()