Home
last modified time | relevance | path

Searched refs:getSerialNumber (Results 1 – 25 of 27) 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/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java211 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
222 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/keystore/java/android/security/keystore/
DDelegatingX509Certificate.java109 public BigInteger getSerialNumber() { in getSerialNumber() method in DelegatingX509Certificate
110 return mDelegate.getSerialNumber(); in getSerialNumber()
DAndroidKeyStoreKeyPairGeneratorSpi.java278 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.java361 assertEquals(456, cbMessage.getSerialNumber()); in doTestNonEmergencyBroadcast()
393 assertEquals(654, cbMessage.getSerialNumber()); in testNonEmergencyBroadcastIs91Extended()
410 assertEquals(1234, cbMessage.getSerialNumber()); in doTestCmasBroadcast()
467 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.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/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/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/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java202 mSerialNumber = device.getSerialNumber(); in DeviceFilter()
300 if (mSerialNumber != null && device.getSerialNumber() == null) return false; in matches()
305 if (mSerialNumber != null && device.getSerialNumber() != null && in matches()
306 !mSerialNumber.equals(device.getSerialNumber())) return false; in matches()
408 (mSerialNumber != null && device.getSerialNumber() == null) || in equals()
409 (mSerialNumber == null && device.getSerialNumber() != null)) { in equals()
416 (device.getSerialNumber() != null && in equals()
417 !mSerialNumber.equals(device.getSerialNumber()))) { in equals()
DUsbAlsaManager.java416 usbDevice.getSerialNumber()); in usbDeviceAdded()
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java277 final int foundSerial = getSerialNumber(file); in enforceSerialNumber()
314 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/core/java/android/hardware/usb/
DUsbDevice.java127 public @Nullable String getSerialNumber() { in getSerialNumber() method in UsbDevice
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java292 device.getDeviceId(), name, device.getSerialNumber(), opened, roots, in createDeviceRecord()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java1187 public BigInteger getSerialNumber() { in getSerialNumber() method in ApkSignatureSchemeV2Verifier.WrappedX509Certificate
1188 return wrapped.getSerialNumber(); in getSerialNumber()
/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyPairGeneratorTest.java398 x509userCert.getSerialNumber()); in assertKeyPairCorrect()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13315 method public java.lang.String getSerialNumber();
16872 method public final java.lang.String getSerialNumber();
26878 method public java.math.BigInteger getSerialNumber();
45395 method public abstract java.math.BigInteger getSerialNumber();
45442 method public java.math.BigInteger getSerialNumber();
45489 method public abstract java.math.BigInteger getSerialNumber();
53090 method public abstract java.math.BigInteger getSerialNumber();

12