/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestBroadcastActivity.java | 61 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 …]
|
D | GsmSmsCbMessage.java | 111 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/ |
D | UsbDeviceFilter.java | 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() 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()
|
D | UsbDeviceSettings.java | 41 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()
|
D | UsbUtil.java | 73 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isTheSameDevice() 81 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
|
D | UsbSettingsStorage.java | 53 String serial = device.getSerialNumber(); in queryFor() 176 contentValues.put(COLUMN_SERIAL, settings.getSerialNumber()); in settingsToContentValues()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmSmsCbMessageTest.java | 133 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()
|
D | CdmaSmsMessageTest.java | 456 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()
|
D | SmsCbContactInfoTest.java | 50 doReturn(123).when(mSmsCbHeader).getSerialNumber(); in setUp()
|
D | GsmCellBroadcastHandlerTest.java | 192 assertEquals(1234, msg.getSerialNumber()); in testTriggerMessage()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserPreference.java | 51 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/ |
D | UserPreference.java | 51 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/ |
D | CellBroadcastHandler.java | 270 + message.getSerialNumber()); in handleBroadcastSms() 284 + "serialNumber = " + message.getSerialNumber() in handleBroadcastSms() 359 if (message.getSerialNumber() != messageToCheck.getSerialNumber()) { in isDuplicate() 419 + " serialNumber = " + message.getSerialNumber()); in performGeoFencing()
|
D | GsmSmsCbMessage.java | 112 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage() 147 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage() 163 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
|
D | GsmCellBroadcastHandler.java | 479 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode() 490 return mHeader.getSerialNumber() == other.mHeader.getSerialNumber() in equals()
|
D | SmsCbHeader.java | 233 public int getSerialNumber() { in getSerialNumber() method in SmsCbHeader
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | UsbAoapHostActivity.java | 138 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 98 assertEquals(m1.getSerialNumber(), m2.getSerialNumber()); in compareCellBroadCastMessage()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 226 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, message.getSerialNumber()); in getContentValues()
|
D | CellBroadcastResources.java | 67 Integer.toString(message.getSerialNumber())); in getMessageDetails()
|