Home
last modified time | relevance | path

Searched refs:getSerialNumber (Results 1 – 21 of 21) 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()
883 int messageCode = (msg.getSerialNumber() & 0x3ff0) >> 4; in testGetMessageCode()
914 int messageCode = (msg.getSerialNumber() & 0x3ff0) >> 4; in testGetMessageCodeUmts()
950 int updateNumber = msg.getSerialNumber() & 0x000f; in testGetUpdateNumber()
981 int updateNumber = msg.getSerialNumber() & 0x000f; in testGetUpdateNumberUmts()
1009 assertEquals("serial number mismatch", 0, msg.getSerialNumber()); in testEtwsMessageNormal()
1020 assertEquals("serial number mismatch", 0, msg.getSerialNumber()); in testEtwsMessageCancel()
1031 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.java235 assertEquals(1234, msg.getSerialNumber()); in testTriggerMessage()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java47 int sn1 = p1.getSerialNumber();
48 int sn2 = p2.getSerialNumber();
89 private int getSerialNumber() { in getSerialNumber() method in UserPreference
/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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java115 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage()
150 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
166 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
DCellBroadcastHandler.java358 + message.getSerialNumber() + ", maximumWaitingTime = " in handleBroadcastSms()
565 if (message.getSerialNumber() != messageToCheck.getSerialNumber()) { in isDuplicate()
1075 + message.getSerialNumber() + ")"; in getMessageString()
DGsmCellBroadcastHandler.java753 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
764 return mHeader.getSerialNumber() == other.mHeader.getSerialNumber() in equals()
DSmsCbHeader.java242 public int getSerialNumber() { in getSerialNumber() method in SmsCbHeader
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java117 assertEquals(m1.getSerialNumber(), m2.getSerialNumber()); in compareCellBroadCastMessage()
/packages/modules/Virtualization/tests/hostside/java/android/virt/test/
DMicrodroidTestCase.java142 + getDevice().getSerialNumber() in testMicrodroidBoots()
/packages/services/Mtp/src/com/android/mtp/
DMtpManager.java320 device.getDeviceId(), name, device.getSerialNumber(), opened, roots, in createDeviceRecord()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java265 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, message.getSerialNumber()); in getContentValues()
DCellBroadcastResources.java70 Integer.toString(message.getSerialNumber())); in getMessageDetails()