Home
last modified time | relevance | path

Searched refs:loopback (Results 1 – 25 of 214) sorted by relevance

123456789

/external/webrtc/rtc_base/
Dsocket_unittest.h69 void TcpInternal(const IPAddress& loopback,
74 void ConnectInternal(const IPAddress& loopback);
75 void ConnectWithDnsLookupInternal(const IPAddress& loopback,
77 void ConnectFailInternal(const IPAddress& loopback);
79 void ConnectWithDnsLookupFailInternal(const IPAddress& loopback);
80 void ConnectWithClosedSocketInternal(const IPAddress& loopback);
81 void ConnectWhileNotClosedInternal(const IPAddress& loopback);
82 void ServerCloseDuringConnectInternal(const IPAddress& loopback);
83 void ClientCloseDuringConnectInternal(const IPAddress& loopback);
84 void ServerCloseInternal(const IPAddress& loopback);
[all …]
Dsocket_unittest.cc231 void SocketTest::ConnectInternal(const IPAddress& loopback) { in ConnectInternal() argument
237 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal()
244 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal()
246 EXPECT_EQ(0, server->Bind(SocketAddress(loopback, 0))); in ConnectInternal()
285 void SocketTest::ConnectWithDnsLookupInternal(const IPAddress& loopback, in ConnectWithDnsLookupInternal() argument
292 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
297 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
299 EXPECT_EQ(0, server->Bind(SocketAddress(loopback, 0))); in ConnectWithDnsLookupInternal()
334 void SocketTest::ConnectFailInternal(const IPAddress& loopback) { in ConnectFailInternal() argument
340 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
[all …]
Dtest_client_unittest.cc41 void TestUdpInternal(const SocketAddress& loopback) { in TestUdpInternal() argument
44 main->socketserver()->CreateAsyncSocket(loopback.family(), SOCK_DGRAM); in TestUdpInternal()
45 socket->Bind(loopback); in TestUdpInternal()
55 void TestTcpInternal(const SocketAddress& loopback) { in TestTcpInternal() argument
57 TestEchoServer server(main, loopback); in TestTcpInternal()
60 main->socketserver()->CreateAsyncSocket(loopback.family(), SOCK_STREAM); in TestTcpInternal()
62 AsyncTCPSocket::Create(socket, loopback, server.address())); in TestTcpInternal()
Dphysical_socket_server_unittest.cc123 void ConnectInternalAcceptError(const IPAddress& loopback);
124 void WritableAfterPartialWrite(const IPAddress& loopback);
196 void PhysicalSocketTest::ConnectInternalAcceptError(const IPAddress& loopback) { in ConnectInternalAcceptError() argument
202 server_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternalAcceptError()
208 server_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternalAcceptError()
215 server_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternalAcceptError()
217 EXPECT_EQ(0, server->Bind(SocketAddress(loopback, 0))); in ConnectInternalAcceptError()
280 void PhysicalSocketTest::WritableAfterPartialWrite(const IPAddress& loopback) { in WritableAfterPartialWrite() argument
288 TcpInternal(loopback, kDataSize, kMaxSendSize); in WritableAfterPartialWrite()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCClient.java29 public final boolean loopback; field in AppRTCClient.RoomConnectionParameters
32 String roomUrl, String roomId, boolean loopback, String urlParameters) { in RoomConnectionParameters() argument
35 this.loopback = loopback; in RoomConnectionParameters()
38 public RoomConnectionParameters(String roomUrl, String roomId, boolean loopback) { in RoomConnectionParameters() argument
39 this(roomUrl, roomId, loopback, null /* urlParameters */); in RoomConnectionParameters()
/external/tinyalsa_new/
DREADME.md74 #### Insert loopback devices
76 The test program does pcm_* operations on loopback devices. You have to insert loopback devices aft…
89 …fault capture device is hw:2,1. If your loopback devices are not hw:2,0 and hw:2,1, you can specif…
93 --copt=-DTEST_LOOPBACK_CARD=[loopback card] \
94 --copt=-DTEST_LOOPBACK_PLAYBACK_DEVICE=[loopback playback device] \
95 --copt=-DTEST_LOOPBACK_CAPTURE_DEVICE=[loopback capture device]
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DREADME.md5 benchmarks run on localhost over loopback the performance of the underlying network is considerably
7 a network emulator to make loopback behave more like a real network. To this end the benchmark
8 code looks for a loopback interface with 'benchmark' in its name and attempts to use the address
22 # Remove all traffic shaping from loopback
24 # Add a priority traffic class to the root of loopback
30 # Create an interface alias call 'lo:benchmark' that maps 127.127.127.127 to loopback
/external/linux-kselftest/tools/testing/selftests/ir/
Dir_loopback.sh12 if ! /sbin/modprobe -q -n rc-loopback; then
17 /sbin/modprobe rc-loopback
22 RCDEV=$(grep -l DRV_NAME=rc-loopback /sys/class/rc/rc*/uevent | grep -o 'rc[0-9]\+')
/external/drrickorang/LoopbackApp/
DREADME1 Audio latency testing app using the Dr. Rick O'Rang audio loopback dongle.
4 https://source.android.com/devices/audio/loopback.html
5 https://source.android.com/devices/audio/latency_measure.html#loopback
Dproguard.cfg1 -keep class org.drrickorang.loopback.NativeAudioThread {
3 -keep class org.drrickorang.loopback.BufferCallbackTimes.java {
/external/autotest/client/site_tests/cellular_MbimComplianceDataTransfer/
Dcellular_MbimComplianceDTS0511.py38 loopback = loopback_sequence.LoopbackSequence(self.device_context)
39 nth_1, _, _, _ = loopback.run(ntb_format=ntb_format)
42 nth_2, _, _, _ = loopback.run(ntb_format=ntb_format)
Dcellular_MbimComplianceDTS0410.py40 loopback = loopback_sequence.LoopbackSequence(self.device_context)
41 _, _, _, _ = loopback.run(ntb_format=ntb_format)
49 nth, _, _, _ = loopback.run(ntb_format=ntb_format)
Dcellular_MbimComplianceDTS01.py33 loopback = loopback_sequence.LoopbackSequence(self.device_context)
34 _, _, _, payload = loopback.run(ntb_format=mbim_constants.NTB_FORMAT_16)
Dcellular_MbimComplianceDTS0309.py38 loopback = loopback_sequence.LoopbackSequence(self.device_context)
39 nth, _, _, _ = loopback.run(ntb_format=ntb_format)
Dcellular_MbimComplianceDTS1824.py39 loopback = loopback_sequence.LoopbackSequence(self.device_context)
40 _, _, ndp_entries, _ = loopback.run(ntb_format=ntb_format)
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dloopback.sh46 ethtool -K $h1 loopback on
56 ethtool -K $h1 loopback off
79 if ethtool -k $h1 | grep loopback | grep -q fixed; then
/external/ltp/testcases/network/can/filter-tests/
Dcan_rcv_own_msgs.c138 void setopts(int s, int loopback, int recv_own_msgs) in setopts() argument
140 setsockopt(s, SOL_CAN_RAW, CAN_RAW_LOOPBACK, &loopback, in setopts()
141 sizeof(loopback)); in setopts()
145 printf("check loopback %d recv_own_msgs %d ... ", loopback, in setopts()
/external/adhd/cras/src/server/
Dcras_iodev.c920 struct cras_loopback *loopback; in cras_iodev_open() local
926 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_open()
927 if (loopback->hook_control) in cras_iodev_open()
928 loopback->hook_control(true, loopback->cb_data); in cras_iodev_open()
1016 struct cras_loopback *loopback; in cras_iodev_close() local
1045 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_close()
1046 if (loopback->hook_control) in cras_iodev_close()
1047 loopback->hook_control(false, loopback->cb_data); in cras_iodev_close()
1091 struct cras_loopback *loopback; in cras_iodev_put_output_buffer() local
1108 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_put_output_buffer()
[all …]
Dcras_iodev_list.c1827 struct cras_loopback *loopback; in cras_iodev_list_register_loopback() local
1844 loopback = (struct cras_loopback *)calloc(1, sizeof(*loopback)); in cras_iodev_list_register_loopback()
1845 if (NULL == loopback) { in cras_iodev_list_register_loopback()
1850 loopback->type = loopback_type; in cras_iodev_list_register_loopback()
1851 loopback->hook_data = hook_data; in cras_iodev_list_register_loopback()
1852 loopback->hook_control = hook_control; in cras_iodev_list_register_loopback()
1853 loopback->cb_data = loopback_dev; in cras_iodev_list_register_loopback()
1854 if (loopback->hook_control && dev_open) in cras_iodev_list_register_loopback()
1855 loopback->hook_control(true, loopback->cb_data); in cras_iodev_list_register_loopback()
1857 DL_APPEND(iodev->loopbacks, loopback); in cras_iodev_list_register_loopback()
[all …]
/external/openscreen/cast/test/
Dcast_socket_e2e_test.cc190 absl::optional<InterfaceInfo> loopback = GetLoopbackInterfaceForTesting(); in GetLoopbackV4Address() local
191 OSP_CHECK(loopback); in GetLoopbackV4Address()
192 IPAddress address = loopback->GetIpAddressV4(); in GetLoopbackV4Address()
198 absl::optional<InterfaceInfo> loopback = GetLoopbackInterfaceForTesting(); in GetLoopbackV6Address() local
199 OSP_CHECK(loopback); in GetLoopbackV6Address()
200 IPAddress address = loopback->GetIpAddressV6(); in GetLoopbackV6Address()
/external/autotest/client/tests/ipv6connect/
Dcontrol8 Create many TCP connections to dual-stack sockets on IPv6 loopback, connecting
9 to the IPv4, IPv6-mapped-IPv4 and IPv6 loopback address (different code paths).
/external/iproute2/include/uapi/linux/hdlc/
Dioctl.h43 unsigned short loopback; member
49 unsigned short loopback; member
/external/iptables/extensions/
Dlibebt_pkttype.t13 --pkttype-type loopback;=;OK
14 --pkttype-type ! loopback;=;OK
/external/kernel-headers/original/uapi/linux/hdlc/
Dioctl.h43 unsigned short loopback; member
49 unsigned short loopback; member
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lirc_mode2.sh17 modprobe rc-loopback
21 if grep -q DRV_NAME=rc-loopback $i/uevent

123456789