Home
last modified time | relevance | path

Searched refs:getSerialNumber (Results 1 – 20 of 20) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java61 private int getSerialNumber() { in getSerialNumber() method in SendTestBroadcastActivity
114 getSerialNumber()); in onCreate()
128 getSerialNumber()); in onCreate()
143 SendTestBroadcastActivity.this, getSerialNumber()); in onCreate()
157 SendTestBroadcastActivity.this, getSerialNumber()); in onCreate()
171 getSerialNumber()); in onCreate()
185 getSerialNumber()); in onCreate()
199 getSerialNumber()); in onCreate()
213 getSerialNumber()); in onCreate()
227 getSerialNumber()); in onCreate()
[all …]
DGsmSmsCbMessage.java111 header.getSerialNumber(), location, header.getServiceCategory(), null, 0, in createSmsCbMessage()
146 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
162 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceFilter.java184 if (mSerialNumber != null && device.getSerialNumber() == null) { in matches()
195 if (mSerialNumber != null && device.getSerialNumber() != null in matches()
196 && !mSerialNumber.equals(device.getSerialNumber())) { in matches()
267 || (mSerialNumber != null && device.getSerialNumber() == null) in equals()
268 || (mSerialNumber == null && device.getSerialNumber() != null)) { in equals()
275 || (device.getSerialNumber() != null in equals()
276 && !mSerialNumber.equals(device.getSerialNumber()))) { in equals()
DUsbDeviceSettings.java41 public String getSerialNumber() { in getSerialNumber() method in UsbDeviceSettings
96 String deviceSerial = device.getSerialNumber(); in matchesDevice()
112 device.getSerialNumber(), device.getVendorId(), device.getProductId()); in constructSettings()
124 origSettings.getSerialNumber(), origSettings.getVid(), origSettings.getPid()); in constructSettings()
DUsbUtil.java73 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isTheSameDevice()
81 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
DUsbSettingsStorage.java53 String serial = device.getSerialNumber(); in queryFor()
176 contentValues.put(COLUMN_SERIAL, settings.getSerialNumber()); in settingsToContentValues()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmSmsCbMessageTest.java133 assertEquals(3946, msg.getSerialNumber()); in testCreateMessageFromBinary()
892 int messageCode = (msg.getSerialNumber() & 0x3ff0) >> 4; in testGetMessageCode()
923 int messageCode = (msg.getSerialNumber() & 0x3ff0) >> 4; in testGetMessageCodeUmts()
959 int updateNumber = msg.getSerialNumber() & 0x000f; in testGetUpdateNumber()
990 int updateNumber = msg.getSerialNumber() & 0x000f; in testGetUpdateNumberUmts()
1018 assertEquals("serial number mismatch", 0, msg.getSerialNumber()); in testEtwsMessageNormal()
1029 assertEquals("serial number mismatch", 0, msg.getSerialNumber()); in testEtwsMessageCancel()
1040 assertEquals("serial number mismatch", 0, msg.getSerialNumber()); in testEtwsMessageTest()
DCdmaSmsMessageTest.java456 assertEquals(456, cbMessage.getSerialNumber()); in doTestNonEmergencyBroadcast()
491 assertEquals(1234, cbMessage.getSerialNumber()); in doTestCmasBroadcast()
553 assertEquals(5678, cbMessage.getSerialNumber()); in testCmasExtremeAlertType1Elements()
615 assertEquals(1234, cbMessage.getSerialNumber()); in testCmasNoRecordType0()
862 assertEquals("serialNumber", cbMessage.getSerialNumber(), 51072); in testDecodeRawBearerData()
DSmsCbContactInfoTest.java50 doReturn(123).when(mSmsCbHeader).getSerialNumber(); in setUp()
DGsmCellBroadcastHandlerTest.java192 assertEquals(1234, msg.getSerialNumber()); in testTriggerMessage()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java51 int sn1 = p1.getSerialNumber();
52 int sn2 = p2.getSerialNumber();
153 private int getSerialNumber() { in getSerialNumber() method in UserPreference
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserPreference.java51 int sn1 = p1.getSerialNumber();
52 int sn2 = p2.getSerialNumber();
153 private int getSerialNumber() { in getSerialNumber() method in UserPreference
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java270 + message.getSerialNumber()); in handleBroadcastSms()
284 + "serialNumber = " + message.getSerialNumber() in handleBroadcastSms()
359 if (message.getSerialNumber() != messageToCheck.getSerialNumber()) { in isDuplicate()
419 + " serialNumber = " + message.getSerialNumber()); in performGeoFencing()
DGsmSmsCbMessage.java112 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage()
147 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
163 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
DGsmCellBroadcastHandler.java479 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
490 return mHeader.getSerialNumber() == other.mHeader.getSerialNumber() in equals()
DSmsCbHeader.java233 public int getSerialNumber() { in getSerialNumber() method in SmsCbHeader
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DUsbAoapHostActivity.java138 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java98 assertEquals(m1.getSerialNumber(), m2.getSerialNumber()); in compareCellBroadCastMessage()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java226 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, message.getSerialNumber()); in getContentValues()
DCellBroadcastResources.java67 Integer.toString(message.getSerialNumber())); in getMessageDetails()