/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() 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()
|
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 | 235 assertEquals(1234, msg.getSerialNumber()); in testTriggerMessage()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserPreference.java | 47 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/ |
D | UsbAoapHostActivity.java | 138 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmSmsCbMessage.java | 115 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage() 150 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage() 166 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
|
D | CellBroadcastHandler.java | 358 + message.getSerialNumber() + ", maximumWaitingTime = " in handleBroadcastSms() 565 if (message.getSerialNumber() != messageToCheck.getSerialNumber()) { in isDuplicate() 1075 + message.getSerialNumber() + ")"; in getMessageString()
|
D | GsmCellBroadcastHandler.java | 753 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode() 764 return mHeader.getSerialNumber() == other.mHeader.getSerialNumber() in equals()
|
D | SmsCbHeader.java | 242 public int getSerialNumber() { in getSerialNumber() method in SmsCbHeader
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 117 assertEquals(m1.getSerialNumber(), m2.getSerialNumber()); in compareCellBroadCastMessage()
|
/packages/modules/Virtualization/tests/hostside/java/android/virt/test/ |
D | MicrodroidTestCase.java | 142 + getDevice().getSerialNumber() in testMicrodroidBoots()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpManager.java | 320 device.getDeviceId(), name, device.getSerialNumber(), opened, roots, in createDeviceRecord()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 265 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, message.getSerialNumber()); in getContentValues()
|
D | CellBroadcastResources.java | 70 Integer.toString(message.getSerialNumber())); in getMessageDetails()
|