Home
last modified time | relevance | path

Searched refs:getSerial (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java111 public String getSerial(String packageName) { in UsbAccessory()
174 public @Nullable String getSerial() { in getSerial() method in UsbAccessory
176 return mSerialNumberReader.getSerial(ActivityThread.currentPackageName()); in getSerial()
197 compare(getSerial(), accessory.getSerial())); in equals()
DIUsbSerialReader.aidl23 String getSerial(String packageName); in getSerial() method
DUsbDeviceConnection.java409 public String getSerial() { in getSerial() method in UsbDeviceConnection
DUsbDevice.java157 return mSerialNumberReader.getSerial(ActivityThread.currentPackageName()); in getSerialNumber()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java37 mSerial = accessory.getSerial(); in UsbAccessory()
94 public String getSerial() { in getSerial() method in UsbAccessory
112 compare(mSerial, accessory.getSerial())); in equals()
DUsbManager.java134 accessory.getUri(), accessory.getSerial())); in openAccessory()
155 accessory.getUri(), accessory.getSerial())); in hasPermission()
180 accessory.getUri(), accessory.getSerial()), in requestPermission()
/frameworks/base/core/java/android/os/
DIDeviceIdentifiersPolicyService.aidl23 String getSerial(); in getSerial() method
DBuild.java265 public static String getSerial() { in getSerial() method in Build
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractSerialNumberPreferenceController.java40 this(context, Build.getSerial()); in AbstractSerialNumberPreferenceController()
/frameworks/base/services/core/java/com/android/server/os/
DDeviceIdentifiersPolicyService.java56 public @Nullable String getSerial() throws RemoteException { in getSerial() method in DeviceIdentifiersPolicyService.DeviceIdentifiersPolicy
/frameworks/base/libs/usb/api/
Dcurrent.txt8 method public String getSerial();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/usb/
DUsbPermissionActivityTest.kt82 override fun getSerial(packageName: String): String { in <lambda>() method
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSerialReader.java71 public String getSerial(String packageName) throws RemoteException { in getSerial() method in UsbSerialReader
DUsbProfileGroupSettingsManager.java556 String.valueOf(getSerial(mDevicePreferenceMap.get(filter).user))); in scheduleWriteSettingsLocked()
566 getSerial(mAccessoryPreferenceMap.get(filter).user))); in scheduleWriteSettingsLocked()
584 String.valueOf(getSerial(userPackage.user))); in scheduleWriteSettingsLocked()
604 String.valueOf(getSerial(userPackage.user))); in scheduleWriteSettingsLocked()
1315 private int getSerial(@NonNull UserHandle user) { in getSerial() method in UsbProfileGroupSettingsManager
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertXml.java60 public long getSerial() { in getSerial() method in CertXml
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertXmlTest.java49 assertThat(certXml.getSerial()).isEqualTo(1000L); in parse_succeeds()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DEnterpriseSpecificIdCalculator.java78 mSerialNumber = Build.getSerial(); in EnterpriseSpecificIdCalculator()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILRequest.java63 public int getSerial() { in getSerial() method in RILRequest
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DConvertTest.java125 .that(MODULE_PROPERTIES.getSerial()).isEqualTo(TEST_SERIAL); in propertiesFromHalProperties_serialsMatch()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java62 dump.write("serial", UsbAccessoryProto.SERIAL, accessory.getSerial()); in writeAccessory()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java1469 assertEquals(serial, rr.getSerial()); in verifyRILResponse()
1486 assertEquals(serial, rr.getSerial()); in verifyRILResponse_1_6()
1502 assertEquals(serial, rr.getSerial()); in verifyRILErrorResponse()
1520 assertEquals(serial, rr.getSerial()); in verifyRILUnsupportedResponse()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyPairGeneratorSpi.java805 Build.getSerial().getBytes(StandardCharsets.UTF_8) in addAttestationParameters()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java257 long newSerial = certXml.getSerial(); in initRecoveryService()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DConversionUtilsTest.java291 .that(MODULE_PROPERTIES.getSerial()).isEqualTo(TEST_SERIAL); in propertiesFromHalProperties_serialsMatch()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java375 public String getSerial() { in getSerial() method in RadioManager.ModuleProperties

12