Home
last modified time | relevance | path

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

/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceFilter.java47 public final String mSerialNumber; field in UsbDeviceFilter
76 mSerialNumber = serialnum; in UsbDeviceFilter()
184 if (mSerialNumber != null && device.getSerialNumber() == null) { in matches()
195 if (mSerialNumber != null && device.getSerialNumber() != null in matches()
196 && !mSerialNumber.equals(device.getSerialNumber())) { in matches()
240 || (filter.mSerialNumber != null && mSerialNumber == null) in equals()
241 || (filter.mSerialNumber == null && mSerialNumber != null)) { in equals()
248 || (filter.mSerialNumber != null && mSerialNumber != null in equals()
249 && !mSerialNumber.equals(filter.mSerialNumber))) { in equals()
267 || (mSerialNumber != null && device.getSerialNumber() == null) in equals()
[all …]
DUsbDeviceSettings.java27 private final String mSerialNumber; field in UsbDeviceSettings
36 mSerialNumber = serialNumber; in UsbDeviceSettings()
42 return mSerialNumber; in getSerialNumber()
87 return "UsbDeviceSettings{serial=" + mSerialNumber + ", vid=" + mVid + ", pid=" + mPid in toString()
98 return mAoap && deviceSerial.equals(mSerialNumber); in matchesDevice()
103 && deviceSerial.equals(mSerialNumber); in matchesDevice()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java57 private int mSerialNumber = -1; field in UserPreference
91 if (mSerialNumber < 0) { in getSerialNumber()
96 mSerialNumber = ((UserManager) getContext().getSystemService(Context.USER_SERVICE)) in getSerialNumber()
98 if (mSerialNumber < 0) return mUserId; in getSerialNumber()
100 return mSerialNumber; in getSerialNumber()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsCbHeader.java111 private final int mSerialNumber; field in SmsCbHeader
147 mSerialNumber = ((pdu[0] & 0xff) << 8) | (pdu[1] & 0xff); in SmsCbHeader()
203 mSerialNumber = ((pdu[3] & 0xff) << 8) | (pdu[4] & 0xff); in SmsCbHeader()
243 return mSerialNumber; in getSerialNumber()
325 return (mSerialNumber & SmsCbConstants.SERIAL_NUMBER_ETWS_ACTIVATE_POPUP) != 0; in isEtwsPopupAlert()
335 return (mSerialNumber & SmsCbConstants.SERIAL_NUMBER_ETWS_EMERGENCY_USER_ALERT) != 0; in isEtwsEmergencyUserAlert()
502 + Integer.toHexString(mSerialNumber) in toString()