/system/netd/libnetdutils/ |
D | SyscallsTest.cpp | 70 TEST_F(SyscallsTest, getsockname) { in TEST_F() argument 76 EXPECT_CALL(mSyscalls, getsockname(kFd, _, _)) in TEST_F() 82 const auto result = sys.getsockname<sockaddr_nl>(kFd); in TEST_F() 88 EXPECT_CALL(mSyscalls, getsockname(kFd, _, _)).WillOnce(Return(kError)); in TEST_F() 89 EXPECT_EQ(kError, sys.getsockname<sockaddr_nl>(kFd).status()); in TEST_F()
|
D | Syscalls.cpp | 60 Status getsockname(Fd sock, sockaddr* addr, socklen_t* addrlen) const override { in getsockname() function in android::netdutils::RealSyscalls 61 auto rv = ::getsockname(sock.get(), addr, addrlen); in getsockname()
|
/system/core/libcutils/ |
D | sockets.cpp | 38 if (getsockname(sock, reinterpret_cast<sockaddr*>(&addr), &addr_size) == 0) { in socket_get_local_port()
|
D | sockets_unix.cpp | 104 int ret = TEMP_FAILURE_RETRY(getsockname(fd, (struct sockaddr *)&addr, &addrlen)); in android_get_control_socket()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Syscalls.h | 47 virtual Status getsockname(Fd sock, sockaddr* addr, socklen_t* addrlen) const = 0; 107 StatusOr<SockaddrT> getsockname(Fd sock) const { in getsockname() function 110 RETURN_IF_NOT_OK(getsockname(sock, asSockaddrPtr(&addr), &addrlen)); in getsockname()
|
D | MockSyscalls.h | 39 MOCK_CONST_METHOD3(getsockname, Status(Fd sock, sockaddr* addr, socklen_t* addrlen));
|
/system/tpm/attestation/server/ |
D | attestationd-seccomp-arm.policy | 18 getsockname: 1
|
D | attestationd-seccomp-amd64.policy | 34 getsockname: 1
|
/system/core/adb/ |
D | test_adb.py | 220 ipv6.bind(('::1', ipv4.getsockname()[1] + 1)) 224 port = s.getsockname()[1]
|
D | sysdeps_win32.cpp | 987 int result = getsockname(fh->fh_socket, sockaddr, optlen); in adb_getsockname()
|
/system/tpm/tpm_manager/server/ |
D | tpm_managerd-seccomp-amd64.policy | 35 getsockname: 1
|
/system/extras/tests/tcp_nuke_addr/ |
D | tcp_nuke_addr_test.cpp | 133 if (getsockname(listensock, (sockaddr *) &sin, &len) == -1) PERROR_EXIT("getsockname"); in main()
|
/system/netd/tests/benchmarks/ |
D | connect_benchmark.cpp | 112 if (getsockname(s, (sockaddr*) &sin, &len)) { in bindAndListen()
|
/system/netd/tests/ |
D | binder_test.cpp | 355 ASSERT_EQ(0, getsockname(*serverSocket, (struct sockaddr *) &server6, &addrlen)); in fakeRemoteSocketPair() 362 ASSERT_EQ(0, getsockname(*clientSocket, (struct sockaddr *) &client6, &addrlen)); in fakeRemoteSocketPair()
|
/system/update_engine/ |
D | test_http_server.cc | 616 if (getsockname(listen_fd, reinterpret_cast<struct sockaddr*>(&bound_addr), in main()
|
/system/netd/server/ |
D | XfrmController.cpp | 542 if ((err = getsockname(userSocket, reinterpret_cast<struct sockaddr*>(&saddr), &len)) < 0) { in ipSecApplyTransportModeTransform()
|