Searched refs:transportProtocol (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareNetworkSpecifier.java | 152 public final int transportProtocol; field in WifiAwareNetworkSpecifier 156 byte[] peerMac, byte[] pmk, String passphrase, int port, int transportProtocol) { in WifiAwareNetworkSpecifier() argument 166 this.transportProtocol = transportProtocol; in WifiAwareNetworkSpecifier() 218 dest.writeInt(transportProtocol); in writeToParcel() 235 Arrays.hashCode(pmk), passphrase, port, transportProtocol); in hashCode() 260 && transportProtocol == lhs.transportProtocol; in equals() 279 .append(transportProtocol) in toString() 425 Builder setTransportProtocol(@IntRange(from = 0, to = 255) int transportProtocol) { in setTransportProtocol() 426 if (transportProtocol < 0 || transportProtocol > 255) { in setTransportProtocol() 430 mTransportProtocol = transportProtocol; in setTransportProtocol()
|
D | WifiAwareNetworkInfo.java | 69 public WifiAwareNetworkInfo(Inet6Address ipv6Addr, int port, int transportProtocol) { in WifiAwareNetworkInfo() argument 72 mTransportProtocol = transportProtocol; in WifiAwareNetworkInfo() 142 int transportProtocol = in.readInt(); 158 return new WifiAwareNetworkInfo(ipv6Addr, port, transportProtocol);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 410 if (peerServerInfo.transportProtocol != -1) { in onDataPathRequest() 411 ndpInfo.peerTransportProtocol = peerServerInfo.transportProtocol; in onDataPathRequest() 492 nnri.networkSpecifier.transportProtocol), in onDataPathRequest() 647 if (peerServerInfo.transportProtocol != -1) { in onDataPathConfirm() 648 ndpInfo.peerTransportProtocol = peerServerInfo.transportProtocol; in onDataPathConfirm() 1440 if (ns.port < 0 || ns.transportProtocol < -1) { in processNetworkSpecifier() 1445 if (ns.port != 0 || ns.transportProtocol != -1) { in processNetworkSpecifier() 1716 public static byte[] buildTlv(int port, int transportProtocol) { in buildTlv() argument 1717 if (port == 0 && transportProtocol == -1) { in buildTlv() 1731 if (transportProtocol != -1) { in buildTlv() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 467 final byte transportProtocol = 6; in testMultipleNdpsOnSingleNdi() 524 buildTlv(port, transportProtocol, true), null); in testMultipleNdpsOnSingleNdi() 543 assertEquals(transportProtocol, netInfo.getTransportProtocol()); in testMultipleNdpsOnSingleNdi() 584 final int transportProtocol = 6; // can't specify transport protocol without port in testMultipleIdenticalRequests() local 647 buildTlv(port, transportProtocol, true)); in testMultipleIdenticalRequests() 666 assertEquals(transportProtocol, netInfo.getTransportProtocol()); in testMultipleIdenticalRequests() 1271 int transportProtocol = 6; in testTlvGenerationTestVectorPortTransportProtocol() local 1274 transportProtocol); in testTlvGenerationTestVectorPortTransportProtocol() 1289 int transportProtocol = 6; in testTlvParsingTestVectorPortTransportProtocol() local 1298 assertEquals(transportProtocol, (int) parsed.transportProtocol); in testTlvParsingTestVectorPortTransportProtocol() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 990 final int transportProtocol = 10; in testNetworkSpecifierWithClient() local 1045 collector.checkThat("transportProtocol", -1, equalTo(nsb.transportProtocol)); in testNetworkSpecifierWithClient() 1051 pmk).setPort(port).setTransportProtocol(transportProtocol).build(); in testNetworkSpecifierWithClient() 1068 collector.checkThat("transportProtocol", transportProtocol, equalTo(nsb.transportProtocol)); in testNetworkSpecifierWithClient() 1077 transportProtocol).build(); in testNetworkSpecifierWithClient() 1094 collector.checkThat("transportProtocol", transportProtocol, equalTo(nsb.transportProtocol)); in testNetworkSpecifierWithClient() 1498 final int transportProtocol = 5; in testNetworkSpecifierBuilderInvalidTransportProtocolOnInsecure() local 1503 peerHandle).setTransportProtocol(transportProtocol).build(); in testNetworkSpecifierBuilderInvalidTransportProtocolOnInsecure() 1513 final int transportProtocol = 5; in testNetworkSpecifierBuilderInvalidTransportProtocolOnResponder() local 1518 peerHandle).setTransportProtocol(transportProtocol).build(); in testNetworkSpecifierBuilderInvalidTransportProtocolOnResponder() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapMessage.java | 273 public void setTransportProtocol(int transportProtocol) { in setTransportProtocol() argument 274 this.mTransportProtocol = transportProtocol; in setTransportProtocol() 791 int transportProtocol; in send() local 793 transportProtocol = SapTransferProtocol.T0; in send() 795 transportProtocol = SapTransferProtocol.T1; in send() 801 sapProxy.setTransferProtocolReq(rilSerial, transportProtocol); in send()
|