Home
last modified time | relevance | path

Searched refs:getSerialNumber (Results 1 – 25 of 30) 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/base/core/java/android/hardware/usb/
DDeviceFilter.java86 mSerialNumber = device.getSerialNumber(); in DeviceFilter()
211 if (mSerialNumber != null && device.getSerialNumber() == null) return false; in matches()
216 if (mSerialNumber != null && device.getSerialNumber() != null && in matches()
217 !mSerialNumber.equals(device.getSerialNumber())) return false; in matches()
319 (mSerialNumber != null && device.getSerialNumber() == null) || in equals()
320 (mSerialNumber == null && device.getSerialNumber() != null)) { in equals()
327 (device.getSerialNumber() != null && in equals()
328 !mSerialNumber.equals(device.getSerialNumber()))) { in equals()
DUsbDevice.java155 public @Nullable String getSerialNumber() { in getSerialNumber() method in UsbDevice
/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/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DUserDataPreparerTest.java105 int serialNumber = UserDataPreparer.getSerialNumber(userDeDir); in testPrepareUserData_De()
107 serialNumber = UserDataPreparer.getSerialNumber(systemDeDir); in testPrepareUserData_De()
122 int serialNumber = UserDataPreparer.getSerialNumber(userCeDir); in testPrepareUserData_Ce()
124 serialNumber = UserDataPreparer.getSerialNumber(systemCeDir); in testPrepareUserData_Ce()
/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.java72 public final @NonNull String getSerialNumber() { in getSerialNumber() method in MtpDeviceInfo
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java360 assertEquals(456, cbMessage.getSerialNumber()); in doTestNonEmergencyBroadcast()
392 assertEquals(654, cbMessage.getSerialNumber()); in testNonEmergencyBroadcastIs91Extended()
409 assertEquals(1234, cbMessage.getSerialNumber()); in doTestCmasBroadcast()
466 assertEquals(5678, cbMessage.getSerialNumber()); in testCmasExtremeAlertType1Elements()
521 assertEquals(1234, cbMessage.getSerialNumber()); in testCmasNoRecordType0()
751 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/base/core/java/android/hardware/biometrics/
DSensorProperties.java113 public String getSerialNumber() { in getSerialNumber() method in SensorProperties.ComponentInfo
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java317 final int foundSerial = getSerialNumber(file); in enforceSerialNumber()
354 static int getSerialNumber(File file) throws IOException { in getSerialNumber() method in UserDataPreparer
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java203 public BigInteger getSerialNumber() { in getSerialNumber() method in KeyPairGeneratorSpec
/frameworks/base/telephony/java/android/telephony/
DSmsCbMessage.java366 public int getSerialNumber() { in getSerialNumber() method in SmsCbMessage
586 cv.put(CellBroadcasts.SERIAL_NUMBER, getSerialNumber()); in getContentValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityServiceConnectionTest.java381 when(usbDevice.getSerialNumber()).thenReturn(serialNumber); in connectUsbBrailleDisplay()
425 when(usbDevice.getSerialNumber()).thenReturn(""); in connectUsbBrailleDisplay_callsOnConnectionFailedForEmptySerialNumber()
/frameworks/base/tests/UsbManagerTests/src/android/hardware/usb/
DDeviceFilterTest.java104 when(usbDevice.getSerialNumber()).thenReturn(SERIAL_NO); in testConstructorFromUsbDevice_interfaceNameIsNull()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java238 public int getSerialNumber() { in getSerialNumber() method in SmsCbHeader
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java81 dump.write("serial_number", UsbDeviceProto.SERIAL_NUMBER, device.getSerialNumber()); in writeDevice()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java390 usbDevice.getSerialNumber()); in addMidiDevice()
DUsbDirectMidiDevice.java707 mUsbDevice.getSerialNumber()); in register()
/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationPeerDeviceVerifier.java617 String serialNumber = x509Certificate.getSerialNumber().toString(16); in check()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityServiceConnection.java760 usbSerialNumber = usbDevice.getSerialNumber(); in connectUsbBrailleDisplay()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyPairGeneratorSpi.java564 specBuilder.setCertificateSerialNumber(legacySpec.getSerialNumber()); in buildKeyGenParameterSpecFromLegacy()
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java1384 componentInfo.getSerialNumber().trim(), in logBiometricProperties()
/frameworks/base/core/api/
Dtest-current.txt1599 method @NonNull public String getSerialNumber();

12