Home
last modified time | relevance | path

Searched refs:RadarCapabilityFlag (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarSpecificationParams.java36 private final EnumSet<RadarCapabilityFlag> mRadarCapabilities;
40 private RadarSpecificationParams(EnumSet<RadarCapabilityFlag> radarCapabilities) { in RadarSpecificationParams()
75 RadarCapabilityFlag.values())) in parseVersion1()
79 public EnumSet<RadarCapabilityFlag> getRadarCapabilities() { in getRadarCapabilities()
85 private final EnumSet<RadarCapabilityFlag> mRadarCapabilities =
86 EnumSet.noneOf(RadarCapabilityFlag.class);
89 public Builder setRadarCapabilities(Collection<RadarCapabilityFlag> radarCapabilities) { in setRadarCapabilities()
95 public Builder addRadarCapability(RadarCapabilityFlag radarCapability) { in addRadarCapability()
DRadarParams.java153 public enum RadarCapabilityFlag implements FlagEnum { enum in RadarParams
158 RadarCapabilityFlag(long value) { in RadarCapabilityFlag() method in RadarParams.RadarCapabilityFlag
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DRadarDecoderTest.java32 import com.google.uwb.support.radar.RadarParams.RadarCapabilityFlag;
53 private static final EnumSet<RadarCapabilityFlag> RADAR_CAPABILITIES =
54 EnumSet.of(RadarCapabilityFlag.HAS_RADAR_SWEEP_SAMPLES_SUPPORT);
/packages/modules/Uwb/service/support_lib/test/
DRadarTests.java33 import com.google.uwb.support.radar.RadarParams.RadarCapabilityFlag;
162 EnumSet<RadarCapabilityFlag> radarCapabilities = in testSpecificationParams()
163 EnumSet.of(RadarCapabilityFlag.HAS_RADAR_SWEEP_SAMPLES_SUPPORT); in testSpecificationParams()
166 paramsBuilder.addRadarCapability(RadarCapabilityFlag.HAS_RADAR_SWEEP_SAMPLES_SUPPORT); in testSpecificationParams()
182 assertEquals(EnumSet.noneOf(RadarCapabilityFlag.class), params.getRadarCapabilities()); in testSpecificationParams_emptyCapabilities()
186 assertEquals(EnumSet.noneOf(RadarCapabilityFlag.class), fromBundle.getRadarCapabilities()); in testSpecificationParams_emptyCapabilities()
DGenericTests.java162 RadarParams.RadarCapabilityFlag.HAS_RADAR_SWEEP_SAMPLES_SUPPORT) in testSpecificationParams()
215 .contains(RadarParams.RadarCapabilityFlag.HAS_RADAR_SWEEP_SAMPLES_SUPPORT)); in testSpecificationParams()
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DRadarDecoder.java50 RadarParams.RadarCapabilityFlag.HAS_RADAR_SWEEP_SAMPLES_SUPPORT); in getRadarSpecificationParamsFromTlvBuffer()