Home
last modified time | relevance | path

Searched refs:DeviceRoleCapabilityFlag (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraDecoder.java149 import com.google.uwb.support.fira.FiraParams.DeviceRoleCapabilityFlag;
208 EnumSet<DeviceRoleCapabilityFlag> deviceRoles = in getFiraSpecificationParamsFromTlvBuffer()
209 EnumSet.noneOf(DeviceRoleCapabilityFlag.class); in getFiraSpecificationParamsFromTlvBuffer()
212 deviceRoles.add(DeviceRoleCapabilityFlag.HAS_CONTROLLER_INITIATOR_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
213 deviceRoles.add(DeviceRoleCapabilityFlag.HAS_CONTROLEE_INITIATOR_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
217 deviceRoles.add(DeviceRoleCapabilityFlag.HAS_CONTROLLER_RESPONDER_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
218 deviceRoles.add(DeviceRoleCapabilityFlag.HAS_CONTROLEE_RESPONDER_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
464 EnumSet<DeviceRoleCapabilityFlag> deviceRoles = in getFiraSpecificationParamsFromTlvBuffer()
465 EnumSet.noneOf(DeviceRoleCapabilityFlag.class); in getFiraSpecificationParamsFromTlvBuffer()
468 deviceRoles.add(DeviceRoleCapabilityFlag.HAS_CONTROLLER_INITIATOR_SUPPORT); in getFiraSpecificationParamsFromTlvBuffer()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DControleeInfoTest.java50 EnumSet<FiraParams.DeviceRoleCapabilityFlag> deviceRoles = in testConversion()
51 EnumSet.noneOf(FiraParams.DeviceRoleCapabilityFlag.class); in testConversion()
52 deviceRoles.add(FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLEE_RESPONDER_SUPPORT); in testConversion()
53 deviceRoles.add(FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLLER_RESPONDER_SUPPORT); in testConversion()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DUwbCapability.java116 public final Optional<EnumSet<FiraParams.DeviceRoleCapabilityFlag>> mDeviceRoles;
137 Optional<EnumSet<FiraParams.DeviceRoleCapabilityFlag>> deviceRoles, in UwbCapability()
196 FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLEE_RESPONDER_SUPPORT) in toBytes()
198 FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLLER_RESPONDER_SUPPORT)) { in toBytes()
202 FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLEE_INITIATOR_SUPPORT) in toBytes()
204 FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLLER_INITIATOR_SUPPORT)) { in toBytes()
641 EnumSet<FiraParams.DeviceRoleCapabilityFlag> deviceRoles = EnumSet.noneOf( in fromBytes()
642 FiraParams.DeviceRoleCapabilityFlag.class); in fromBytes()
646 FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLEE_INITIATOR_SUPPORT); in fromBytes()
648 FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLLER_INITIATOR_SUPPORT); in fromBytes()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DFiraDecoderTest.java25 import static com.google.uwb.support.fira.FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLEE_INITIAT…
26 import static com.google.uwb.support.fira.FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLEE_RESPOND…
27 import static com.google.uwb.support.fira.FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLLER_INITIA…
28 import static com.google.uwb.support.fira.FiraParams.DeviceRoleCapabilityFlag.HAS_CONTROLLER_RESPON…
29 import static com.google.uwb.support.fira.FiraParams.DeviceRoleCapabilityFlag.HAS_DT_TAG_SUPPORT;
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraSpecificationParams.java52 private final EnumSet<DeviceRoleCapabilityFlag> mDeviceRoleCapabilities;
181 EnumSet<DeviceRoleCapabilityFlag> deviceRoleCapabilities, in FiraSpecificationParams()
280 public EnumSet<DeviceRoleCapabilityFlag> getDeviceRoleCapabilities() { in getDeviceRoleCapabilities()
528 DeviceRoleCapabilityFlag.values())) in parseVersion1()
614 private EnumSet<DeviceRoleCapabilityFlag> mDeviceRoleCapabilities =
616 DeviceRoleCapabilityFlag.HAS_CONTROLLER_INITIATOR_SUPPORT,
617 DeviceRoleCapabilityFlag.HAS_CONTROLEE_RESPONDER_SUPPORT);
752 Collection<DeviceRoleCapabilityFlag> deviceRoleCapabilities) { in setDeviceRoleCapabilities()
DFiraParams.java800 public enum DeviceRoleCapabilityFlag implements FlagEnum { enum in FiraParams
815 private DeviceRoleCapabilityFlag(long value) { in DeviceRoleCapabilityFlag() method in FiraParams.DeviceRoleCapabilityFlag
/packages/modules/Uwb/service/support_lib/test/
DGenericTests.java57 EnumSet<FiraParams.DeviceRoleCapabilityFlag> deviceRoleCapabilities = in testSpecificationParams()
58 EnumSet.allOf(FiraParams.DeviceRoleCapabilityFlag.class); in testSpecificationParams()
DFiraTests.java612 EnumSet<FiraParams.DeviceRoleCapabilityFlag> deviceRoleCapabilities = in testSpecificationParams()
613 EnumSet.allOf(FiraParams.DeviceRoleCapabilityFlag.class); in testSpecificationParams()