Loading framework/java/android/bluetooth/BluetoothDevice.java +12 −0 Original line number Diff line number Diff line Loading @@ -1032,6 +1032,18 @@ public final class BluetoothDevice implements Parcelable { return mAddress; } /** * Returns the anonymized hardware address of this BluetoothDevice. The first three octets * will be suppressed for anonymization. * <p> For example, "XX:XX:XX:AA:BB:CC". * * @return Anonymized bluetooth hardware address as string * @hide */ public String getAnonymizedAddress() { return "XX:XX:XX" + getAddress().substring(8); } /** * Get the friendly Bluetooth name of the remote device. * Loading Loading
framework/java/android/bluetooth/BluetoothDevice.java +12 −0 Original line number Diff line number Diff line Loading @@ -1032,6 +1032,18 @@ public final class BluetoothDevice implements Parcelable { return mAddress; } /** * Returns the anonymized hardware address of this BluetoothDevice. The first three octets * will be suppressed for anonymization. * <p> For example, "XX:XX:XX:AA:BB:CC". * * @return Anonymized bluetooth hardware address as string * @hide */ public String getAnonymizedAddress() { return "XX:XX:XX" + getAddress().substring(8); } /** * Get the friendly Bluetooth name of the remote device. * Loading