Home
last modified time | relevance | path

Searched refs:FakeSocketAddress (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DFakeSocketAddress.java21 final class FakeSocketAddress extends SocketAddress { class
24 FakeSocketAddress(String name) { in FakeSocketAddress() method in FakeSocketAddress
35 if (other instanceof FakeSocketAddress) { in equals()
36 FakeSocketAddress otherAddr = (FakeSocketAddress) other; in equals()
DCachedSubchannelPoolTest.java54 new EquivalentAddressGroup(new FakeSocketAddress("fake-address-1"), Attributes.EMPTY);
56 new EquivalentAddressGroup(new FakeSocketAddress("fake-address-2"), Attributes.EMPTY);
DGrpclbLoadBalancerTest.java830 new FakeSocketAddress("somethingNew"), lbAttributes(newAuthority))); in grpclbUpdatedAddresses_reconnectOnAuthorityChange()
1397 new FakeSocketAddress("fake-address-1"), in grpclbMultipleAuthorities()
1400 new FakeSocketAddress("fake-address-2"), in grpclbMultipleAuthorities()
1403 new FakeSocketAddress("not-a-lb-address")), in grpclbMultipleAuthorities()
1405 new FakeSocketAddress("fake-address-3"), in grpclbMultipleAuthorities()
1409 new FakeSocketAddress("fake-address-1"), in grpclbMultipleAuthorities()
1410 new FakeSocketAddress("fake-address-3")), in grpclbMultipleAuthorities()
1557 SocketAddress addr = new FakeSocketAddress("fake-address-" + i); in createResolvedServerAddresses()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DInternalSubchannelTest.java414 SocketAddress addr = new FakeSocketAddress(); in updateAddresses_emptyEagList_throws()
422 SocketAddress addr = new FakeSocketAddress(); in updateAddresses_eagListWithNull_throws()
1005 SocketAddress addr1 = new FakeSocketAddress(); in index_looping()
1006 SocketAddress addr2 = new FakeSocketAddress(); in index_looping()
1007 SocketAddress addr3 = new FakeSocketAddress(); in index_looping()
1008 SocketAddress addr4 = new FakeSocketAddress(); in index_looping()
1009 SocketAddress addr5 = new FakeSocketAddress(); in index_looping()
1066 SocketAddress addr1 = new FakeSocketAddress(); in index_updateGroups_resets()
1067 SocketAddress addr2 = new FakeSocketAddress(); in index_updateGroups_resets()
1068 SocketAddress addr3 = new FakeSocketAddress(); in index_updateGroups_resets()
[all …]
DManagedChannelImplIdlenessTest.java154 addrs.add(new FakeSocketAddress("servergroup" + i + "server" + j)); in setUp()
331 changedList.add(new FakeSocketAddress("aDifferentServer")); in updateSubchannelAddresses_existingAddressDoesNotConnect()
421 changedList.add(new FakeSocketAddress("aDifferentServer")); in updateOobChannelAddresses_existingAddressDoesNotConnect()
440 private static class FakeSocketAddress extends SocketAddress {
443 FakeSocketAddress(String name) {
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DPickFirstLoadBalancerTest.java82 SocketAddress addr = new FakeSocketAddress("server" + i); in setUp()
135 SocketAddress socketAddr = new FakeSocketAddress("newserver"); in pickAfterResolvedAndChanged()
260 private static class FakeSocketAddress extends SocketAddress { class in PickFirstLoadBalancerTest
263 FakeSocketAddress(String name) { in FakeSocketAddress() method in PickFirstLoadBalancerTest.FakeSocketAddress
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java115 SocketAddress addr = new FakeSocketAddress("server" + i); in setUp()
181 FakeSocketAddress removedAddr = new FakeSocketAddress("removed"); in pickAfterResolvedUpdatedHosts()
182 FakeSocketAddress oldAddr = new FakeSocketAddress("old"); in pickAfterResolvedUpdatedHosts()
183 FakeSocketAddress newAddr = new FakeSocketAddress("new"); in pickAfterResolvedUpdatedHosts()
767 private static class FakeSocketAddress extends SocketAddress { class in RoundRobinLoadBalancerTest
770 FakeSocketAddress(String name) { in FakeSocketAddress() method in RoundRobinLoadBalancerTest.FakeSocketAddress