Home
last modified time | relevance | path

Searched refs:AoaCapabilityFlag (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DControleeInfoTest.java73 EnumSet<FiraParams.AoaCapabilityFlag> aoaSupport = EnumSet.noneOf( in testConversion()
74 FiraParams.AoaCapabilityFlag.class); in testConversion()
75 aoaSupport.add(FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT); in testConversion()
76 aoaSupport.add(FiraParams.AoaCapabilityFlag.HAS_FULL_AZIMUTH_SUPPORT); in testConversion()
77 aoaSupport.add(FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT); in testConversion()
78 aoaSupport.add(FiraParams.AoaCapabilityFlag.HAS_FOM_SUPPORT); in testConversion()
DSessionDataTest.java74 EnumSet<FiraParams.AoaCapabilityFlag> rangingReportConfig = EnumSet.noneOf( in testConversion()
75 FiraParams.AoaCapabilityFlag.class); in testConversion()
76 rangingReportConfig.add(FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT); in testConversion()
77 rangingReportConfig.add(FiraParams.AoaCapabilityFlag.HAS_FULL_AZIMUTH_SUPPORT); in testConversion()
78 rangingReportConfig.add(FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT); in testConversion()
79 rangingReportConfig.add(FiraParams.AoaCapabilityFlag.HAS_FOM_SUPPORT); in testConversion()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DConfigurationParams.java95 public final Optional<EnumSet<FiraParams.AoaCapabilityFlag>> mResultReportConfig;
125 Optional<EnumSet<FiraParams.AoaCapabilityFlag>> resultReportConfig, in ConfigurationParams()
240 FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT)) { in toBytes()
244 FiraParams.AoaCapabilityFlag.HAS_FULL_AZIMUTH_SUPPORT)) { in toBytes()
248 FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT)) { in toBytes()
251 if (mResultReportConfig.get().contains(FiraParams.AoaCapabilityFlag.HAS_FOM_SUPPORT)) { in toBytes()
411 EnumSet<FiraParams.AoaCapabilityFlag> aoaSupport = EnumSet.noneOf( in fromBytes()
412 FiraParams.AoaCapabilityFlag.class); in fromBytes()
415 aoaSupport.add(FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT); in fromBytes()
418 aoaSupport.add(FiraParams.AoaCapabilityFlag.HAS_FULL_AZIMUTH_SUPPORT); in fromBytes()
[all …]
DUwbCapability.java130 public final Optional<EnumSet<FiraParams.AoaCapabilityFlag>> mAoaSupport;
151 Optional<EnumSet<FiraParams.AoaCapabilityFlag>> aoaSupport, in UwbCapability()
314 if (mAoaSupport.get().contains(FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT)) { in toBytes()
317 if (mAoaSupport.get().contains(FiraParams.AoaCapabilityFlag.HAS_FULL_AZIMUTH_SUPPORT)) { in toBytes()
320 if (mAoaSupport.get().contains(FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT)) { in toBytes()
323 if (mAoaSupport.get().contains(FiraParams.AoaCapabilityFlag.HAS_FOM_SUPPORT)) { in toBytes()
759 EnumSet<FiraParams.AoaCapabilityFlag> aoaSupport = EnumSet.noneOf( in fromBytes()
760 FiraParams.AoaCapabilityFlag.class); in fromBytes()
763 aoaSupport.add(FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT); in fromBytes()
766 aoaSupport.add(FiraParams.AoaCapabilityFlag.HAS_FULL_AZIMUTH_SUPPORT); in fromBytes()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraDecoder.java421 EnumSet<FiraParams.AoaCapabilityFlag> aoaFlag = in getFiraSpecificationParamsFromTlvBuffer()
422 EnumSet.noneOf(FiraParams.AoaCapabilityFlag.class); in getFiraSpecificationParamsFromTlvBuffer()
424 aoaFlag.add(FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
427 aoaFlag.add(FiraParams.AoaCapabilityFlag.HAS_FULL_AZIMUTH_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
430 aoaFlag.add(FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
433 aoaFlag.add(FiraParams.AoaCapabilityFlag.HAS_FOM_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
437 aoaFlag.add(FiraParams.AoaCapabilityFlag.HAS_INTERLEAVING_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
708 EnumSet<FiraParams.AoaCapabilityFlag> aoaFlag = in getFiraSpecificationParamsFromTlvBuffer()
709 EnumSet.noneOf(FiraParams.AoaCapabilityFlag.class); in getFiraSpecificationParamsFromTlvBuffer()
711 aoaFlag.add(FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DFiraDecoderTest.java20 import static com.google.uwb.support.fira.FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT;
21 import static com.google.uwb.support.fira.FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT;
22 import static com.google.uwb.support.fira.FiraParams.AoaCapabilityFlag.HAS_FOM_SUPPORT;
23 import static com.google.uwb.support.fira.FiraParams.AoaCapabilityFlag.HAS_FULL_AZIMUTH_SUPPORT;
24 import static com.google.uwb.support.fira.FiraParams.AoaCapabilityFlag.HAS_INTERLEAVING_SUPPORT;
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraSpecificationParams.java50 private final EnumSet<AoaCapabilityFlag> mAoaCapabilities;
180 EnumSet<AoaCapabilityFlag> aoaCapabilities, in FiraSpecificationParams()
276 public EnumSet<AoaCapabilityFlag> getAoaCapabilities() { in getAoaCapabilities()
524 bundle.getInt(KEY_AOA_CAPABILITIES), AoaCapabilityFlag.values())) in parseVersion1()
610 private EnumSet<AoaCapabilityFlag> mAoaCapabilities =
611 EnumSet.noneOf(AoaCapabilityFlag.class);
746 Collection<AoaCapabilityFlag> aoaCapabilities) { in setAoaCapabilities()
DFiraParams.java781 public enum AoaCapabilityFlag implements FlagEnum { enum in FiraParams
790 private AoaCapabilityFlag(long value) { in AoaCapabilityFlag() method in FiraParams.AoaCapabilityFlag
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DUwbServiceImpl.java192 EnumSet<FiraParams.AoaCapabilityFlag> aoaCapabilityFlags = in getRangingCapabilities()
246 aoaCapabilityFlags.contains(FiraParams.AoaCapabilityFlag.HAS_AZIMUTH_SUPPORT), in getRangingCapabilities()
247 aoaCapabilityFlags.contains(FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT), in getRangingCapabilities()
/packages/modules/Uwb/service/support_lib/test/
DGenericTests.java54 EnumSet<FiraParams.AoaCapabilityFlag> aoaCapabilities = in testSpecificationParams()
55 EnumSet.of(FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT); in testSpecificationParams()
DFiraTests.java609 EnumSet<FiraParams.AoaCapabilityFlag> aoaCapabilities = in testSpecificationParams()
610 EnumSet.of(FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT); in testSpecificationParams()