Home
last modified time | relevance | path

Searched refs:RadarSpecificationParams (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarSpecificationParams.java32 public class RadarSpecificationParams extends RadarParams { class
40 private RadarSpecificationParams(EnumSet<RadarCapabilityFlag> radarCapabilities) { in RadarSpecificationParams() method in RadarSpecificationParams
57 public static RadarSpecificationParams fromBundle(PersistableBundle bundle) { in fromBundle()
70 private static RadarSpecificationParams parseVersion1(PersistableBundle bundle) { in parseVersion1()
71 return new RadarSpecificationParams.Builder() in parseVersion1()
101 public RadarSpecificationParams build() { in build()
102 return new RadarSpecificationParams(mRadarCapabilities); in build()
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DRadarDecoder.java25 import com.google.uwb.support.radar.RadarSpecificationParams;
33 if (RadarSpecificationParams.class.equals(paramsType)) { in getParams()
43 private RadarSpecificationParams getRadarSpecificationParamsFromTlvBuffer( in getRadarSpecificationParamsFromTlvBuffer()
45 RadarSpecificationParams.Builder builder = new RadarSpecificationParams.Builder(); in getRadarSpecificationParamsFromTlvBuffer()
DGenericDecoder.java35 import com.google.uwb.support.radar.RadarSpecificationParams;
82 RadarSpecificationParams radarSpecificationParams = in getSpecificationParamsFromTlvBuffer()
84 .getParams(tlvs, RadarSpecificationParams.class, protocolVersion); in getSpecificationParamsFromTlvBuffer()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DRadarDecoderTest.java33 import com.google.uwb.support.radar.RadarSpecificationParams;
64 public static void verifyRadarSpecification(RadarSpecificationParams radarSpecificationParams) { in verifyRadarSpecification()
86 RadarSpecificationParams radarSpecificationParams = in testGetRadarSpecification()
87 mRadarDecoder.getParams(tlvDecoderBuffer, RadarSpecificationParams.class, in testGetRadarSpecification()
99 RadarSpecificationParams radarSpecificationParams = in testGetRadarSpecificationViaTlvDecoder()
101 .getParams(tlvDecoderBuffer, RadarSpecificationParams.class, in testGetRadarSpecificationViaTlvDecoder()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/generic/
DGenericSpecificationParams.java32 import com.google.uwb.support.radar.RadarSpecificationParams;
48 private final RadarSpecificationParams mRadarSpecificationParams;
61 RadarSpecificationParams radarSpecificationParams, in GenericSpecificationParams()
91 public RadarSpecificationParams getRadarSpecificationParams() { in getRadarSpecificationParams()
159 RadarSpecificationParams.fromBundle(radarBundle)); in parseVersion1()
169 private RadarSpecificationParams mRadarSpecificationParams = null;
203 @NonNull RadarSpecificationParams radarSpecificationParams) { in setRadarSpecificationParams()
/packages/modules/Uwb/service/support_lib/test/
DRadarTests.java34 import com.google.uwb.support.radar.RadarSpecificationParams;
157 () -> RadarSpecificationParams.fromBundle(INVALID_BUNDLE)); in testSpecificationParams_fromBundleWithInvalidProtocol()
164 RadarSpecificationParams.Builder paramsBuilder = new RadarSpecificationParams.Builder(); in testSpecificationParams()
168 RadarSpecificationParams params = paramsBuilder.build(); in testSpecificationParams()
172 RadarSpecificationParams fromBundle = in testSpecificationParams()
173 RadarSpecificationParams.fromBundle(params.toBundle()); in testSpecificationParams()
181 RadarSpecificationParams params = new RadarSpecificationParams.Builder().build(); in testSpecificationParams_emptyCapabilities()
184 RadarSpecificationParams fromBundle = in testSpecificationParams_emptyCapabilities()
185 RadarSpecificationParams.fromBundle(params.toBundle()); in testSpecificationParams_emptyCapabilities()
DGenericTests.java35 import com.google.uwb.support.radar.RadarSpecificationParams;
159 RadarSpecificationParams radarSpecificationParams = in testSpecificationParams()
160 new RadarSpecificationParams.Builder() in testSpecificationParams()