Home
last modified time | relevance | path

Searched refs:StsCapabilityFlag (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DUwbCapability.java76 import com.google.uwb.support.fira.FiraParams.StsCapabilityFlag;
118 public final Optional<EnumSet<FiraParams.StsCapabilityFlag>> mStsConfig;
139 Optional<EnumSet<FiraParams.StsCapabilityFlag>> stsConfig, in UwbCapability()
214 if (mStsConfig.get().contains(FiraParams.StsCapabilityFlag.HAS_STATIC_STS_SUPPORT)) { in toBytes()
217 if (mStsConfig.get().contains(FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT)) { in toBytes()
221 FiraParams.StsCapabilityFlag in toBytes()
516 Optional<EnumSet<StsCapabilityFlag>> remoteStsCapFlags, in getPreferredStsConfig()
526 StsCapabilityFlag.HAS_DYNAMIC_STS_INDIVIDUAL_CONTROLEE_KEY_SUPPORT)) in getPreferredStsConfig()
528 StsCapabilityFlag.HAS_DYNAMIC_STS_INDIVIDUAL_CONTROLEE_KEY_SUPPORT)) in getPreferredStsConfig()
530 StsCapabilityFlag.HAS_DYNAMIC_STS_INDIVIDUAL_CONTROLEE_KEY_SUPPORT) in getPreferredStsConfig()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraDecoder.java157 import com.google.uwb.support.fira.FiraParams.StsCapabilityFlag;
240 EnumSet<StsCapabilityFlag> stsCapabilityFlag = EnumSet.noneOf(StsCapabilityFlag.class); in getFiraSpecificationParamsFromTlvBuffer()
242 stsCapabilityFlag.add(StsCapabilityFlag.HAS_STATIC_STS_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
245 stsCapabilityFlag.add(StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
249 StsCapabilityFlag.HAS_DYNAMIC_STS_INDIVIDUAL_CONTROLEE_KEY_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
252 stsCapabilityFlag.add(StsCapabilityFlag.HAS_PROVISIONED_STS_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
256 StsCapabilityFlag.HAS_PROVISIONED_STS_INDIVIDUAL_CONTROLEE_KEY_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
532 EnumSet<StsCapabilityFlag> stsCapabilityFlag = EnumSet.noneOf(StsCapabilityFlag.class); in getFiraSpecificationParamsFromTlvBuffer()
534 stsCapabilityFlag.add(StsCapabilityFlag.HAS_STATIC_STS_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
537 stsCapabilityFlag.add(StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DUwbCapabilityTest.java279 EnumSet<FiraParams.StsCapabilityFlag> individualSupport = EnumSet.of( in getPreferredStsConfig()
280 FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_INDIVIDUAL_CONTROLEE_KEY_SUPPORT); in getPreferredStsConfig()
281 EnumSet<FiraParams.StsCapabilityFlag> noIndividualSupport = EnumSet.of( in getPreferredStsConfig()
282 FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT); in getPreferredStsConfig()
283 EnumSet<FiraParams.StsCapabilityFlag> bothSupport = EnumSet.of( in getPreferredStsConfig()
284 FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_INDIVIDUAL_CONTROLEE_KEY_SUPPORT, in getPreferredStsConfig()
285 FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT); in getPreferredStsConfig()
DControleeInfoTest.java57 EnumSet<FiraParams.StsCapabilityFlag> stsConfig = in testConversion()
58 EnumSet.noneOf(FiraParams.StsCapabilityFlag.class); in testConversion()
59 stsConfig.add(FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT); in testConversion()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraSpecificationParams.java88 private final EnumSet<StsCapabilityFlag> mStsCapabilities;
199 EnumSet<StsCapabilityFlag> stsCapabilities, in FiraSpecificationParams()
354 public EnumSet<StsCapabilityFlag> getStsCapabilities() { in getStsCapabilities()
565 bundle.getInt(KEY_STS_CAPABILITIES), StsCapabilityFlag.values())) in parseVersion1()
677 private EnumSet<StsCapabilityFlag> mStsCapabilities =
678 EnumSet.of(StsCapabilityFlag.HAS_STATIC_STS_SUPPORT);
867 Collection<StsCapabilityFlag> stsCapabilities) { in setStsCapabilities()
DFiraParams.java945 public enum StsCapabilityFlag implements FlagEnum { enum in FiraParams
954 private StsCapabilityFlag(long value) { in StsCapabilityFlag() method in FiraParams.StsCapabilityFlag
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DUwbServiceImpl.java216 EnumSet<FiraParams.StsCapabilityFlag> stsCapabilityFlags = in getRangingCapabilities()
218 if (stsCapabilityFlags.contains(FiraParams.StsCapabilityFlag.HAS_PROVISIONED_STS_SUPPORT)) { in getRangingCapabilities()
223 if (stsCapabilityFlags.contains(FiraParams.StsCapabilityFlag in getRangingCapabilities()
/packages/modules/Uwb/service/support_lib/test/
DGenericTests.java70 EnumSet<FiraParams.StsCapabilityFlag> stsCapabilities = in testSpecificationParams()
71 EnumSet.allOf(FiraParams.StsCapabilityFlag.class); in testSpecificationParams()
DFiraTests.java627 EnumSet<FiraParams.StsCapabilityFlag> stsCapabilities = in testSpecificationParams()
628 EnumSet.allOf(FiraParams.StsCapabilityFlag.class); in testSpecificationParams()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DFiraDecoderTest.java51 import static com.google.uwb.support.fira.FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT;
52 import static com.google.uwb.support.fira.FiraParams.StsCapabilityFlag.HAS_STATIC_STS_SUPPORT;
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/ranging/
DRangingManagerTest.java72 .setStsCapabilities(EnumSet.allOf(FiraParams.StsCapabilityFlag.class))
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java1381 .contains(FiraParams.StsCapabilityFlag.HAS_PROVISIONED_STS_SUPPORT) in testFiraRangingSessionWithProvisionedSTS()
1383 .contains(FiraParams.StsCapabilityFlag in testFiraRangingSessionWithProvisionedSTS()