Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d78c36e8 authored by Chienyuan Huang's avatar Chienyuan Huang Committed by Automerger Merge Worker
Browse files

Merge "Handle review feedback for android.hardware.bluetooth.ranging" into main am: 6327722e

parents ae3e2648 6327722e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -34,13 +34,13 @@
package android.hardware.bluetooth.ranging;
@VintfStability
parcelable ChannelSoundingSingleSideData {
  @nullable List<android.hardware.bluetooth.ranging.StepTonePct> stepTonePcts;
  @nullable android.hardware.bluetooth.ranging.StepTonePct[] stepTonePcts;
  @nullable byte[] packetQuality;
  @nullable byte[] packetRssiDbm;
  @nullable android.hardware.bluetooth.ranging.Nadm[] packetNadm;
  @nullable int[] measuredFreqOffset;
  @nullable List<android.hardware.bluetooth.ranging.ComplexNumber> packetPct1;
  @nullable List<android.hardware.bluetooth.ranging.ComplexNumber> packetPct2;
  @nullable android.hardware.bluetooth.ranging.ComplexNumber[] packetPct1;
  @nullable android.hardware.bluetooth.ranging.ComplexNumber[] packetPct2;
  byte referencePowerDbm;
  @nullable byte[] vendorSpecificCsSingleSidedata;
}
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.bluetooth.ranging;
@Backing(type="int") @VintfStability
@Backing(type="byte") @VintfStability
enum ModeType {
  ZERO = 0x00,
  ONE = 0x01,
+2 −2
Original line number Diff line number Diff line
@@ -32,10 +32,10 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.bluetooth.ranging;
@Backing(type="int") @VintfStability
@Backing(type="byte") @VintfStability
enum SubModeType {
  ONE = 0x01,
  TWO = 0x02,
  THREE = 0x03,
  UNUSED = 0xff,
  UNUSED = 0xffu8,
}
+4 −0
Original line number Diff line number Diff line
@@ -16,9 +16,13 @@

package android.hardware.bluetooth.ranging;

/**
 * Same as the BLE address type, except anonymous isn't supported for ranging.
 */
@VintfStability
@Backing(type="int")
enum AddressType {
    PUBLIC = 0x00,
    /* Still may be fixed on the device and is not randomized on boot */
    RANDOM = 0x01,
}
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@ import android.hardware.bluetooth.ranging.ModeType;

/**
 * Raw ranging data of Channel Sounding.
 * See Channel Sounding CR_PR 3.1.10 and Channel Sounding HCI Updates CR_PR 3.1.23 for details.
 *
 * Specification: https://www.bluetooth.com/specifications/specs/channel-sounding-cr-pr/
 */
@VintfStability
parcelable ChannelSoudingRawData {
Loading