Home
last modified time | relevance | path

Searched refs:mSerialNumber (Results 1 – 5 of 5) 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserPreference.java63 private int mSerialNumber = -1; field in UserPreference
155 if (mSerialNumber < 0) { in getSerialNumber()
162 mSerialNumber = ((UserManager) getContext().getSystemService(Context.USER_SERVICE)) in getSerialNumber()
164 if (mSerialNumber < 0) return mUserId; in getSerialNumber()
166 return mSerialNumber; in getSerialNumber()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java63 private int mSerialNumber = -1; field in UserPreference
155 if (mSerialNumber < 0) { in getSerialNumber()
162 mSerialNumber = ((UserManager) getContext().getSystemService(Context.USER_SERVICE)) in getSerialNumber()
164 if (mSerialNumber < 0) return mUserId; in getSerialNumber()
166 return mSerialNumber; in getSerialNumber()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java128 private final int mSerialNumber; field in CellBroadcastAlertService.MessageServiceCategoryAndScope
136 mSerialNumber = serialNumber; in MessageServiceCategoryAndScope()
144 return mLocation.hashCode() + 5 * mServiceCategory + 7 * mSerialNumber + 13 * mBodyHash in hashCode()
156 mSerialNumber == other.mSerialNumber && in equals()
166 return "{mServiceCategory: " + mServiceCategory + " serial number: " + mSerialNumber + in toString()