Home
last modified time | relevance | path

Searched refs:getSerialNumber (Results 1 – 25 of 29) 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.java127 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.java106 int serialNumber = UserDataPreparer.getSerialNumber(userDeDir); in testPrepareUserData_De()
108 serialNumber = UserDataPreparer.getSerialNumber(systemDeDir); in testPrepareUserData_De()
124 int serialNumber = UserDataPreparer.getSerialNumber(userCeDir); in testPrepareUserData_Ce()
126 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()
DAndroidKeyStoreKeyPairGeneratorSpi.java279 specBuilder.setCertificateSerialNumber(legacySpec.getSerialNumber()); in initialize()
/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.java358 assertEquals(456, cbMessage.getSerialNumber()); in doTestNonEmergencyBroadcast()
390 assertEquals(654, cbMessage.getSerialNumber()); in testNonEmergencyBroadcastIs91Extended()
407 assertEquals(1234, cbMessage.getSerialNumber()); in doTestCmasBroadcast()
464 assertEquals(5678, cbMessage.getSerialNumber()); in testCmasExtremeAlertType1Elements()
519 assertEquals(1234, cbMessage.getSerialNumber()); in testCmasNoRecordType0()
749 assertEquals("serialNumber", cbMessage.getSerialNumber(), 51072); in testDecodeRawBearerData()
/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java267 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, msg.getSerialNumber()); in getContentValues()
322 public int getSerialNumber() { in getSerialNumber() method in CellBroadcastMessage
323 return mSmsCbMessage.getSerialNumber(); in getSerialNumber()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java253 private static String getSerialNumber(X509Certificate x509Certificate) { in getSerialNumber() method in SslCertificate
257 BigInteger serialNumber = x509Certificate.getSerialNumber(); in getSerialNumber()
468 .setText(getSerialNumber(mX509Certificate)); in inflateCertificateView()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsCbMessage.java106 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage()
122 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
DSmsCbHeader.java190 int getSerialNumber() { in getSerialNumber() method in SmsCbHeader
/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/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/telephony/java/com/android/internal/telephony/
DSmsCbMessage.java248 public int getSerialNumber() { in getSerialNumber() method in SmsCbMessage
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java206 public BigInteger getSerialNumber() { in getSerialNumber() method in KeyPairGeneratorSpec
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java221 usbDevice.getSerialNumber()); in usbDeviceAdded()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java292 device.getDeviceId(), name, device.getSerialNumber(), opened, roots, in createDeviceRecord()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java79 dump.write("serial_number", UsbDeviceProto.SERIAL_NUMBER, device.getSerialNumber()); in writeDevice()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3357 Landroid/net/http/SslCertificate;->getSerialNumber(Ljava/security/cert/X509Certificate;)Ljava/lang/…
5310 Landroid/telephony/CellBroadcastMessage;->getSerialNumber()I

12