Home
last modified time | relevance | path

Searched refs:UwbAddress (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/uwb/
DUwbAddress.java33 public final class UwbAddress implements Parcelable { class
39 private UwbAddress(byte[] address) { in UwbAddress() method in UwbAddress
56 public static UwbAddress fromBytes(@NonNull byte[] address) { in fromBytes()
61 return new UwbAddress(address); in fromBytes()
95 if (obj instanceof UwbAddress) { in equals()
96 return Arrays.equals(mAddressBytes, ((UwbAddress) obj).toBytes()); in equals()
117 public static final @android.annotation.NonNull Creator<UwbAddress> CREATOR =
118 new Creator<UwbAddress>() {
120 public UwbAddress createFromParcel(Parcel in) {
123 return UwbAddress.fromBytes(address);
[all …]
DRangingMeasurement.java39 private final UwbAddress mRemoteDeviceAddress;
45 private RangingMeasurement(@NonNull UwbAddress remoteDeviceAddress, @Status int status, in RangingMeasurement()
61 public UwbAddress getRemoteDeviceAddress() { in getRemoteDeviceAddress()
187 in.readParcelable(UwbAddress.class.getClassLoader()));
207 private UwbAddress mRemoteDeviceAddress = null;
219 public Builder setRemoteDeviceAddress(@NonNull UwbAddress remoteDeviceAddress) { in setRemoteDeviceAddress()
DUwbAddress.aidl19 parcelable UwbAddress;
/frameworks/base/core/tests/uwbtests/src/android/uwb/
DUwbTestUtils.java51 public static RangingMeasurement getRangingMeasurement(UwbAddress address) { in getRangingMeasurement()
73 public static UwbAddress getUwbAddress(boolean isShortAddress) { in getUwbAddress()
74 byte[] addressBytes = new byte[isShortAddress ? UwbAddress.SHORT_ADDRESS_BYTE_LENGTH : in getUwbAddress()
75 UwbAddress.EXTENDED_ADDRESS_BYTE_LENGTH]; in getUwbAddress()
79 return UwbAddress.fromBytes(addressBytes); in getUwbAddress()
/frameworks/base/core/api/
Dsystem-current.txt14271 method @NonNull public android.uwb.UwbAddress getRemoteDeviceAddress();
14286 …lic android.uwb.RangingMeasurement.Builder setRemoteDeviceAddress(@NonNull android.uwb.UwbAddress);
14332 public final class UwbAddress implements android.os.Parcelable {
14334 method @NonNull public static android.uwb.UwbAddress fromBytes(@NonNull byte[]);
14338 … field @NonNull public static final android.os.Parcelable.Creator<android.uwb.UwbAddress> CREATOR;