Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java58 public final String mSerialNumber; field in DeviceFilter
69 mSerialNumber = serialnum; in DeviceFilter()
80 mSerialNumber = device.getSerialNumber(); in DeviceFilter()
161 if (mSerialNumber != null) { in write()
162 serializer.attribute(null, "serial-number", mSerialNumber); in write()
178 if (mSerialNumber != null && device.getSerialNumber() == null) return false; in matches()
183 if (mSerialNumber != null && device.getSerialNumber() != null && in matches()
184 !mSerialNumber.equals(device.getSerialNumber())) return false; in matches()
220 if (mSerialNumber != null in contains()
221 && !Objects.equals(mSerialNumber, device.mSerialNumber)) { in contains()
[all …]
DUsbDevice.java52 private final @Nullable String mSerialNumber; field in UsbDevice
81 mSerialNumber = serialNumber; in UsbDevice()
128 return mSerialNumber; in getSerialNumber()
282 ",mVersion=" + mVersion + ",mSerialNumber=" + mSerialNumber + ",mConfigurations=["); in toString()
330 parcel.writeString(mSerialNumber); in writeToParcel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractSerialNumberPreferenceController.java36 private final String mSerialNumber; field in AbstractSerialNumberPreferenceController
45 mSerialNumber = serialNumber; in AbstractSerialNumberPreferenceController()
50 return !TextUtils.isEmpty(mSerialNumber); in isAvailable()
58 pref.setSummary(mSerialNumber); in displayPreference()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbMessage.java109 private final int mSerialNumber; field in SmsCbMessage
149 mSerialNumber = serialNumber; in SmsCbMessage()
163 mSerialNumber = in.readInt(); in SmsCbMessage()
199 dest.writeInt(mSerialNumber); in writeToParcel()
249 return mSerialNumber; in getSerialNumber()
367 + mSerialNumber + ", location=" + mLocation + ", serviceCategory=" in toString()
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java75 private final BigInteger mSerialNumber; field in KeyPairGeneratorSpec
144 mSerialNumber = serialNumber; in KeyPairGeneratorSpec()
207 return mSerialNumber; in getSerialNumber()
289 private BigInteger mSerialNumber; field in KeyPairGeneratorSpec.Builder
393 mSerialNumber = serialNumber; in setSerialNumber()
455 mSerialNumber, in build()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java74 private final int mSerialNumber; field in SmsCbHeader
104 mSerialNumber = ((pdu[0] & 0xff) << 8) | (pdu[1] & 0xff); in SmsCbHeader()
155 mSerialNumber = ((pdu[3] & 0xff) << 8) | (pdu[4] & 0xff); in SmsCbHeader()
191 return mSerialNumber; in getSerialNumber()
268 return (mSerialNumber & SmsCbConstants.SERIAL_NUMBER_ETWS_ACTIVATE_POPUP) != 0; in isEtwsPopupAlert()
278 return (mSerialNumber & SmsCbConstants.SERIAL_NUMBER_ETWS_EMERGENCY_USER_ALERT) != 0; in isEtwsEmergencyUserAlert()
445 + Integer.toHexString(mSerialNumber) in toString()
/frameworks/base/media/java/android/mtp/
DMtpDeviceInfo.java31 private String mSerialNumber; field in MtpDeviceInfo
72 return mSerialNumber; in getSerialNumber()