Home
last modified time | relevance | path

Searched refs:mProtocol (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DProtocolPortTuple.java46 private final int mProtocol; field in ProtocolPortTuple
52 mProtocol = protocol; in ProtocolPortTuple()
73 return mProtocol; in getProtocol()
93 return mProtocol == that.mProtocol in equals()
100 return (mProtocol * 31 + mPort) * 31 + mStatus; in hashCode()
105 return "ProtocolTuple{" + "mProtocol=" + mProtocol + ", mPort=" + mPort in toString()
/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java52 public final int mProtocol; field in DeviceFilter
66 mProtocol = protocol; in DeviceFilter()
77 mProtocol = device.getDeviceProtocol(); in DeviceFilter()
152 if (mProtocol != -1) { in write()
153 serializer.attribute(null, "protocol", Integer.toString(mProtocol)); in write()
170 (mProtocol == -1 || protocol == mProtocol)); in matches()
226 return matches(device.mClass, device.mSubclass, device.mProtocol); in contains()
233 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals()
243 filter.mProtocol != mProtocol) { in equals()
279 device.getDeviceProtocol() != mProtocol) { in equals()
[all …]
DUsbInterface.java44 private final int mProtocol; field in UsbInterface
60 mProtocol = protocol; in UsbInterface()
121 return mProtocol; in getInterfaceProtocol()
155 ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol + in toString()
195 parcel.writeInt(mProtocol); in writeToParcel()
DUsbDevice.java62 private final int mProtocol; field in UsbDevice
82 mProtocol = protocol; in UsbDevice()
205 return mProtocol; in getDeviceProtocol()
291 ",mClass=" + mClass + ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol + in toString()
340 parcel.writeInt(mProtocol); in writeToParcel()
368 private final int mProtocol; field in UsbDevice.Builder
387 mProtocol = protocol; in Builder()
403 return new UsbDevice(mName, mVendorId, mProductId, mClass, mSubclass, mProtocol, in build()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbInterfaceDescriptor.java41 protected int mProtocol; // 7:1 Protocol Code field in UsbInterfaceDescriptor
59 mProtocol = stream.getUnsignedByte(); in parseRawDescriptors()
86 return mProtocol; in getProtocol()
105 mInterfaceNumber, mAlternateSetting, name, mUsbClass, mUsbSubclass, mProtocol); in toAndroid()
DUsbDeviceDescriptor.java43 private int mProtocol; // 6:1 protocol field in UsbDeviceDescriptor
75 return mProtocol; in getProtocol()
161 mProductID, mDevClass, mDevSubClass, mProtocol, mfgName, prodName, versionString, in toAndroid()
172 mProtocol = stream.getUnsignedByte(); in parseRawDescriptors()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java57 private String mProtocol = UDP; field in SipProfile
223 mProfile.mProtocol = protocol; in setProtocol()
289 if (!mProfile.mProtocol.equals(UDP)) { in build()
290 mUri.setTransportParam(mProfile.mProtocol); in build()
316 mProtocol = in.readString(); in SipProfile()
331 out.writeString(mProtocol); in writeToParcel()
442 return mProtocol; in getProtocol()
DSimpleSessionDescription.java241 private final String mProtocol; field in SimpleSessionDescription.Media
249 mProtocol = protocol; in Media()
277 return mProtocol; in getProtocol()
373 buffer.append(' ').append(mProtocol); in write()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java269 private final int mProtocol; field in ApnSetting
568 return mProtocol; in getProtocol()
656 this.mProtocol = builder.mProtocol; in ApnSetting()
800 apn.mProtocol, apn.mRoamingProtocol, apn.mCarrierEnabled, apn.mNetworkTypeBitmask, in makeApnSetting()
1037 sb.append(", ").append(PROTOCOL_INT_MAP.get(mProtocol)); in toString()
1133 && Objects.equals(mProtocol, other.mProtocol) in equals()
1181 && (isDataRoaming || Objects.equals(mProtocol, other.mProtocol)) in equals()
1211 && xorEquals(this.mProtocol, other.mProtocol) in similar()
1263 getProtocolStringFromInt(mProtocol)); in toContentValues()
1465 dest.writeInt(mProtocol); in writeToParcel()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java426 private final int mProtocol; field in NetworkDiagnostics.IcmpCheck
433 mProtocol = IPPROTO_ICMPV6; in IcmpCheck()
437 mProtocol = IPPROTO_ICMP; in IcmpCheck()
460 setupSocket(SOCK_DGRAM, mProtocol, TIMEOUT_SEND, TIMEOUT_RECV, 0); in run()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java873 private final int mProtocol; field in VCardEntry.ImData
880 mProtocol = protocol; in ImData()
895 builder.withValue(Im.PROTOCOL, mProtocol); in constructInsertOperation()
897 if (mProtocol == Im.PROTOCOL_CUSTOM) { in constructInsertOperation()
921 && mProtocol == imData.mProtocol in equals()
930 hash = hash * 31 + mProtocol; in hashCode()
941 mProtocol, mCustomProtocol, mAddress, mIsPrimary); in toString()
958 return mProtocol; in getProtocol()