Home
last modified time | relevance | path

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

12

/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbUtil.java64 TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isTheSameDevice()
72 TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsCbTest.java628 int messageCode = (msg.getSerialNumber() & 0x3ff0) >> 4; in testGetMessageCode()
659 int messageCode = (msg.getSerialNumber() & 0x3ff0) >> 4; in testGetMessageCodeUmts()
683 int updateNumber = msg.getSerialNumber() & 0x000f; in testGetUpdateNumber()
714 int updateNumber = msg.getSerialNumber() & 0x000f; in testGetUpdateNumberUmts()
742 assertEquals("serial number mismatch", 0, msg.getSerialNumber()); in testEtwsMessageNormal()
753 assertEquals("serial number mismatch", 0, msg.getSerialNumber()); in testEtwsMessageCancel()
764 assertEquals("serial number mismatch", 0, msg.getSerialNumber()); in testEtwsMessageTest()
/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java80 mSerialNumber = device.getSerialNumber(); in DeviceFilter()
178 if (mSerialNumber != null && device.getSerialNumber() == null) return false; in matches()
183 if (mSerialNumber != null && device.getSerialNumber() != null && in matches()
184 !mSerialNumber.equals(device.getSerialNumber())) return false; in matches()
286 (mSerialNumber != null && device.getSerialNumber() == null) || in equals()
287 (mSerialNumber == null && device.getSerialNumber() != null)) { in equals()
294 (device.getSerialNumber() != null && in equals()
295 !mSerialNumber.equals(device.getSerialNumber()))) { in equals()
DUsbDevice.java141 public @Nullable String getSerialNumber() { in getSerialNumber() method in UsbDevice
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java215 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
226 return mHeader.getSerialNumber() == other.mHeader.getSerialNumber() in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java107 int serialNumber = UserDataPreparer.getSerialNumber(userDeDir); in testPrepareUserData_De()
109 serialNumber = UserDataPreparer.getSerialNumber(systemDeDir); in testPrepareUserData_De()
125 int serialNumber = UserDataPreparer.getSerialNumber(userCeDir); in testPrepareUserData_Ce()
127 serialNumber = UserDataPreparer.getSerialNumber(systemCeDir); in testPrepareUserData_Ce()
/frameworks/base/core/java/android/util/apk/
DWrappedX509Certificate.java79 public BigInteger getSerialNumber() { in getSerialNumber() method in WrappedX509Certificate
80 return mWrapped.getSerialNumber(); in getSerialNumber()
/frameworks/base/keystore/java/android/security/keystore/
DDelegatingX509Certificate.java109 public BigInteger getSerialNumber() { in getSerialNumber() method in DelegatingX509Certificate
110 return mDelegate.getSerialNumber(); in getSerialNumber()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java93 TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
/frameworks/base/media/java/android/mtp/
DMtpDeviceInfo.java71 public final @NonNull String getSerialNumber() { in getSerialNumber() method in MtpDeviceInfo
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java359 assertEquals(456, cbMessage.getSerialNumber()); in doTestNonEmergencyBroadcast()
391 assertEquals(654, cbMessage.getSerialNumber()); in testNonEmergencyBroadcastIs91Extended()
408 assertEquals(1234, cbMessage.getSerialNumber()); in doTestCmasBroadcast()
465 assertEquals(5678, cbMessage.getSerialNumber()); in testCmasExtremeAlertType1Elements()
520 assertEquals(1234, cbMessage.getSerialNumber()); in testCmasNoRecordType0()
750 assertEquals("serialNumber", cbMessage.getSerialNumber(), 51072); in testDecodeRawBearerData()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java264 private static String getSerialNumber(X509Certificate x509Certificate) { in getSerialNumber() method in SslCertificate
268 BigInteger serialNumber = x509Certificate.getSerialNumber(); in getSerialNumber()
481 .setText(getSerialNumber(mX509Certificate)); in inflateCertificateView()
/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java271 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, msg.getSerialNumber()); in getContentValues()
332 public int getSerialNumber() { in getSerialNumber() method in CellBroadcastMessage
333 return mSmsCbMessage.getSerialNumber(); in getSerialNumber()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsCbMessage.java125 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage()
141 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
DSmsCbHeader.java190 int getSerialNumber() { in getSerialNumber() method in SmsCbHeader
/frameworks/base/tools/preload2/src/com/android/preload/
DDeviceUtils.java300 if (serial.equals(d.getSerialNumber())) { in get()
376 if (serial == null || serial.equals(arg0.getSerialNumber())) { in deviceConnected()
DMain.java257 return device.getName() + " (#" + device.getSerialNumber() + ")"; in toString()
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java285 final int foundSerial = getSerialNumber(file); in enforceSerialNumber()
322 static int getSerialNumber(File file) throws IOException { in getSerialNumber() method in UserDataPreparer
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbMessage.java248 public int getSerialNumber() { in getSerialNumber() method in SmsCbMessage
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellBroadcastHandler.java99 message.getServiceCategory(), message.getSerialNumber(), in handleBroadcastSms()
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java206 public BigInteger getSerialNumber() { in getSerialNumber() method in KeyPairGeneratorSpec
/frameworks/base/core/java/android/net/
DNetworkFactory.java447 public int getSerialNumber() { in getSerialNumber() method in NetworkFactory
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java292 device.getDeviceId(), name, device.getSerialNumber(), opened, roots, in createDeviceRecord()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java282 usbDevice.getSerialNumber()); in usbDeviceAdded()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java79 dump.write("serial_number", UsbDeviceProto.SERIAL_NUMBER, device.getSerialNumber()); in writeDevice()

12