Searched refs:RadarSweepData (Results 1 – 5 of 5) sorted by relevance
30 public class RadarSweepData extends RadarParams { class44 private RadarSweepData( in RadarSweepData() method in RadarSweepData92 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 …]
50 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()
35 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 …]
52 import com.google.uwb.support.radar.RadarSweepData;422 new RadarSweepData.Builder() in generateRadarData()
57 import com.google.uwb.support.radar.RadarSweepData;654 new RadarSweepData.Builder() in getRadarData()