Home
last modified time | relevance | path

Searched refs:remoteAddress (Results 1 – 15 of 15) sorted by relevance

/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DBluetoothConnectionManager.java64 void registerGattClientConnection(String remoteAddress) { in registerGattClientConnection() argument
65 if (!remoteAddressConnectionMap.containsKey(remoteAddress)) { in registerGattClientConnection()
66 remoteAddressConnectionMap.put(remoteAddress, new BluetoothConnectionMetadata()); in registerGattClientConnection()
68 remoteAddressConnectionMap.get(remoteAddress).setHasGattClientConnection(true); in registerGattClientConnection()
76 void unregisterGattClientConnection(String remoteAddress) { in unregisterGattClientConnection() argument
77 if (remoteAddressConnectionMap.containsKey(remoteAddress)) { in unregisterGattClientConnection()
78 remoteAddressConnectionMap.get(remoteAddress).setHasGattClientConnection(false); in unregisterGattClientConnection()
87 void registerGattServerConnection(String remoteAddress) { in registerGattServerConnection() argument
88 if (!remoteAddressConnectionMap.containsKey(remoteAddress)) { in registerGattServerConnection()
89 remoteAddressConnectionMap.put(remoteAddress, new BluetoothConnectionMetadata()); in registerGattServerConnection()
[all …]
DEpsBearerQosSessionAttributesBuilder.java54 public EpsBearerQosSessionAttributesBuilder addRemoteAddress(InetSocketAddress remoteAddress) { in addRemoteAddress() argument
55 this.remoteAddresses.add(remoteAddress); in addRemoteAddress()
DNrQosSessionAttributesBuilder.java63 public NrQosSessionAttributesBuilder addRemoteAddress(InetSocketAddress remoteAddress) { in addRemoteAddress() argument
64 this.remoteAddresses.add(remoteAddress); in addRemoteAddress()
DShadowBluetoothGatt.java353 public void notifyConnection(String remoteAddress) { in notifyConnection() argument
354 BluetoothConnectionManager.getInstance().registerGattClientConnection(remoteAddress); in notifyConnection()
369 public void notifyDisconnection(String remoteAddress) { in notifyDisconnection() argument
370 BluetoothConnectionManager.getInstance().unregisterGattClientConnection(remoteAddress); in notifyDisconnection()
/external/apache-http/src/org/apache/http/conn/scheme/
DPlainSocketFactory.java117 InetSocketAddress remoteAddress; in connectSocket() local
119 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port); in connectSocket()
121 remoteAddress = new InetSocketAddress(host, port); in connectSocket()
124 sock.connect(remoteAddress, timeout); in connectSocket()
126 throw new ConnectTimeoutException("Connect to " + remoteAddress + " timed out"); in connectSocket()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DNrQosSessionAttributesBuilderTest.java35 InetSocketAddress remoteAddress = new InetSocketAddress(/* port= */ 0); in createInstanceWithValues_setsNewValues() local
45 .addRemoteAddress(remoteAddress) in createInstanceWithValues_setsNewValues()
53 assertThat(nrQosSessionAttributes.getRemoteAddresses()).contains(remoteAddress); in createInstanceWithValues_setsNewValues()
DEpsBearerQosSessionAttributesBuilderTest.java32 InetSocketAddress remoteAddress = new InetSocketAddress(/* port= */ 0); in createInstanceWithValues_setsNewValues() local
40 .addRemoteAddress(remoteAddress) in createInstanceWithValues_setsNewValues()
47 assertThat(epsBearerQosSessionAttributes.getRemoteAddresses()).containsExactly(remoteAddress); in createInstanceWithValues_setsNewValues()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyClientTransport.java68 private final SocketAddress remoteAddress; field in NettyClientTransport
106 this.remoteAddress = Preconditions.checkNotNull(address, "address"); in NettyClientTransport()
271 localSocketPicker.createSocketAddress(remoteAddress, eagAttributes);
273 channel.connect(remoteAddress, localAddress);
275 channel.connect(remoteAddress);
318 .add("remoteAddress", remoteAddress)
366 channel.remoteAddress(),
DProtocolNegotiators.java92 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress()) in serverPlaintext()
166 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
492 public void connect(final ChannelHandlerContext ctx, SocketAddress remoteAddress,
494 super.connect(ctx, remoteAddress, localAddress, promise);
677 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
726 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
770 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
DNettyServerTransport.java235 channel.remoteAddress(), in getStatsHelper()
DNettyChannelBuilder.java361 SocketAddress remoteAddress, @EquivalentAddressGroup.Attr Attributes attrs) { in createSocketAddress() argument
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DTsiFrameHandler.java119 SocketAddress remoteAddress, in connect() argument
122 ctx.connect(remoteAddress, localAddress, promise); in connect()
DAltsProtocolNegotiator.java147 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java308 private final Address remoteAddress = Address field in ChannelzProtoUtilTest
361 .setRemote(remoteAddress) in toSocket_withDataNoOptions()
395 .setRemote(remoteAddress) in toSocket_withDataWithOptions()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientTransportTest.java845 public SocketAddress createSocketAddress(SocketAddress remoteAddress, Attributes attrs) {