Home
last modified time | relevance | path

Searched refs:mTransportProtocol (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/aware/
H A DWifiAwareNetworkInfo.java52 private final int mTransportProtocol; field in WifiAwareNetworkInfo
58 mTransportProtocol = -1; // a value of -1 is considered invalid in WifiAwareNetworkInfo()
65 mTransportProtocol = -1; // a value of -1 is considered invalid in WifiAwareNetworkInfo()
72 mTransportProtocol = transportProtocol; in WifiAwareNetworkInfo()
78 mTransportProtocol = source != null ? source.mTransportProtocol : -1; in WifiAwareNetworkInfo()
116 return mTransportProtocol; in getTransportProtocol()
132 dest.writeInt(mTransportProtocol); in writeToParcel()
174 mTransportProtocol).toString(); in toString()
190 && mTransportProtocol == lhs.mTransportProtocol; in equals()
196 return Objects.hash(mIpv6Addr, mPort, mTransportProtocol); in hashCode()
H A DWifiAwareNetworkSpecifier.java294 private int mTransportProtocol = -1; // invalid value field in WifiAwareNetworkSpecifier.Builder
430 mTransportProtocol = transportProtocol; in setTransportProtocol()
462 if (mPort != 0 || mTransportProtocol != -1) { in build()
479 null, mPmk, mPskPassphrase, mPort, mTransportProtocol); in build()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapMessage.java186 private int mTransportProtocol = INVALID_VALUE; field in SapMessage
270 return mTransportProtocol; in getTransportProtocol()
274 this.mTransportProtocol = transportProtocol; in setTransportProtocol()
353 if (mTransportProtocol != INVALID_VALUE) { in getParamCount()
531 mTransportProtocol = is.read(); in parseParameters()
706 if (mTransportProtocol != INVALID_VALUE) { in write()
707 writeParameter(os, PARAM_TRANSPORT_PROTOCOL_ID, mTransportProtocol, in write()
792 if (mTransportProtocol == TRANS_PROTO_T0) { in send()
794 } else if (mTransportProtocol == TRANS_PROTO_T1) { in send()
798 + " SET_TRANSPORT_PROTOCOL_REQ: " + mTransportProtocol); in send()