Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarSweepData.java30 public class RadarSweepData extends RadarParams { class
44 private RadarSweepData( in RadarSweepData() method in RadarSweepData
92 public static RadarSweepData fromBundle(PersistableBundle bundle) { in fromBundle()
106 private static RadarSweepData parseBundleVersion1(PersistableBundle bundle) { in parseBundleVersion1()
107 return new RadarSweepData.Builder() in parseBundleVersion1()
140 public RadarSweepData.Builder setSequenceNumber(long sequenceNumber) { in setSequenceNumber()
146 public RadarSweepData.Builder setTimestamp(long timestamp) { in setTimestamp()
152 public RadarSweepData.Builder setVendorSpecificData(byte[] vendorSpecificData) { in setVendorSpecificData()
158 public RadarSweepData.Builder setSampleData(byte[] sampleData) { in setSampleData()
164 public RadarSweepData build() { in build()
[all …]
DRadarData.java50 private final List<RadarSweepData> mSweepData;
58 List<RadarSweepData> sweepData) { in RadarData()
81 for (RadarSweepData sweep : mSweepData) { in toBundle()
115 builder.addSweepData(RadarSweepData.fromBundle(sweepBundle)); in parseBundleVersion1()
147 public List<RadarSweepData> getSweepData() { in getSweepData()
158 private List<RadarSweepData> mSweepData = new ArrayList<>();
191 public RadarData.Builder setSweepData(List<RadarSweepData> sweepData) { in setSweepData()
197 public RadarData.Builder addSweepData(RadarSweepData sweepData) { in addSweepData()
/packages/modules/Uwb/service/support_lib/test/
DRadarTests.java35 import com.google.uwb.support.radar.RadarSweepData;
191 assertThrows(IllegalStateException.class, () -> new RadarSweepData.Builder().build()); in testRadarSweepData_missingRequiredParams()
197 IllegalArgumentException.class, () -> RadarSweepData.fromBundle(INVALID_BUNDLE)); in testRadarSweepData_fromBundleWithInvalidProtocol()
202 RadarSweepData.Builder builder = in testRadarSweepData_invalidParamsSequenceNumber()
203 new RadarSweepData.Builder() in testRadarSweepData_invalidParamsSequenceNumber()
212 RadarSweepData.Builder builder = in testRadarSweepData_invalidParamsTimestamp()
213 new RadarSweepData.Builder() in testRadarSweepData_invalidParamsTimestamp()
222 RadarSweepData.Builder builder = in testRadarSweepData_invalidParamsSampleData()
223 new RadarSweepData.Builder() in testRadarSweepData_invalidParamsSampleData()
232 RadarSweepData data = in testRadarSweepData()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbTestUtils.java52 import com.google.uwb.support.radar.RadarSweepData;
422 new RadarSweepData.Builder() in generateRadarData()
DUwbSessionNotificationManager.java57 import com.google.uwb.support.radar.RadarSweepData;
654 new RadarSweepData.Builder() in getRadarData()