Home
last modified time | relevance | path

Searched refs:FiraParams (Results 1 – 25 of 84) sorted by relevance

1234

/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbUciConstants.java26 import com.google.uwb.support.fira.FiraParams;
42 public static final byte SESSION_TYPE_RANGING = FiraParams.SESSION_TYPE_RANGING;
44 FiraParams.SESSION_TYPE_RANGING_AND_IN_BAND_DATA;
48 (byte) FiraParams.SESSION_TYPE_DEVICE_TEST_MODE;
92 FiraParams.MULTICAST_LIST_UPDATE_STATUS_OK;
94 FiraParams.MULTICAST_LIST_UPDATE_STATUS_ERROR_MULTICAST_LIST_FULL;
96 FiraParams.MULTICAST_LIST_UPDATE_STATUS_ERROR_KEY_FETCH_FAIL;
98 FiraParams.MULTICAST_LIST_UPDATE_STATUS_ERROR_SUB_SESSION_ID_NOT_FOUND;
100 FiraParams.MULTICAST_LIST_UPDATE_STATUS_ERROR_SUB_SESSION_KEY_NOT_FOUND;
102 FiraParams.MULTICAST_LIST_UPDATE_STATUS_ERROR_SUB_SESSION_KEY_NOT_APPLICABLE;
[all …]
DUwbConfig.java19 import static com.google.uwb.support.fira.FiraParams.CONSTRAINT_LENGTH_3;
20 import static com.google.uwb.support.fira.FiraParams.CONSTRAINT_LENGTH_7;
21 import static com.google.uwb.support.fira.FiraParams.HOPPING_MODE_DISABLE;
22 import static com.google.uwb.support.fira.FiraParams.MAC_FCS_TYPE_CRC_16;
23 import static com.google.uwb.support.fira.FiraParams.PRF_MODE_BPRF;
24 import static com.google.uwb.support.fira.FiraParams.PSDU_DATA_RATE_27M2;
25 import static com.google.uwb.support.fira.FiraParams.PSDU_DATA_RATE_31M2;
26 import static com.google.uwb.support.fira.FiraParams.PSDU_DATA_RATE_6M81;
27 import static com.google.uwb.support.fira.FiraParams.PSDU_DATA_RATE_7M80;
28 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DS_TWR_DEFERRED_MODE;
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DUwbCapability.java50 import static com.google.uwb.support.fira.FiraParams.CONSTRAINT_LENGTH_3;
51 import static com.google.uwb.support.fira.FiraParams.CONSTRAINT_LENGTH_7;
52 import static com.google.uwb.support.fira.FiraParams.CONTENTION_BASED_RANGING;
53 import static com.google.uwb.support.fira.FiraParams.MAC_ADDRESS_MODE_2_BYTES;
54 import static com.google.uwb.support.fira.FiraParams.MAC_ADDRESS_MODE_8_BYTES;
55 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DL_TDOA;
56 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DS_TWR_DEFERRED_MODE;
57 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DS_TWR_NON_DEFERRED_MODE;
58 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_SS_TWR_DEFERRED_MODE;
59 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_SS_TWR_NON_DEFERRED_MODE;
[all …]
DConfigurationParams.java32 import com.google.uwb.support.fira.FiraParams;
95 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()
[all …]
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DConfigurationManager.java34 import static com.google.uwb.support.fira.FiraParams.AOA_RESULT_REQUEST_MODE_NO_AOA_REPORT;
35 import static com.google.uwb.support.fira.FiraParams.FILTER_TYPE_NONE;
36 import static com.google.uwb.support.fira.FiraParams.HOPPING_MODE_FIRA_HOPPING_ENABLE;
37 import static com.google.uwb.support.fira.FiraParams.MAC_ADDRESS_MODE_2_BYTES;
38 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_ONE_TO_MANY;
39 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_UNICAST;
40 import static com.google.uwb.support.fira.FiraParams.PRF_MODE_HPRF;
41 import static com.google.uwb.support.fira.FiraParams.PROTOCOL_VERSION_1_1;
42 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_EDGE_TR…
43 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_LEVEL_T…
[all …]
DUwbComplexChannel.java26 import com.google.uwb.support.fira.FiraParams;
34 @FiraParams.UwbChannel private final int mChannel;
35 @FiraParams.UwbPreambleCodeIndex private final int mPreambleIndex;
38 @FiraParams.UwbChannel int channel, in UwbComplexChannel()
39 @FiraParams.UwbPreambleCodeIndex int preambleIndex) { in UwbComplexChannel()
49 @FiraParams.UwbChannel
54 @FiraParams.UwbPreambleCodeIndex
DUwbConfiguration.java19 import com.google.uwb.support.fira.FiraParams;
29 @FiraParams.MultiNodeMode
33 @FiraParams.StsConfig
37 @FiraParams.AoaResultRequestMode
44 @FiraParams.RangingRoundUsage
DUwbServiceImpl.java46 import com.google.uwb.support.fira.FiraParams;
192 EnumSet<FiraParams.AoaCapabilityFlag> aoaCapabilityFlags = in getRangingCapabilities()
209 for (FiraParams.RangeDataNtfConfigCapabilityFlag e : in getRangingCapabilities()
216 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()
227 EnumSet<FiraParams.RangingRoundCapabilityFlag> rangingRoundCapabilityFlags = in getRangingCapabilities()
229 if (rangingRoundCapabilityFlags.contains(FiraParams.RangingRoundCapabilityFlag in getRangingCapabilities()
233 EnumSet<FiraParams.PrfCapabilityFlag> prfModeCapabilityFlags = in getRangingCapabilities()
235 if (prfModeCapabilityFlags.contains(FiraParams.PrfCapabilityFlag.HAS_HPRF_SUPPORT)) { in getRangingCapabilities()
[all …]
DUtils.java19 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_DISABLE;
20 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE;
21 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_EDGE_TR…
22 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_LEVEL_T…
29 import com.google.uwb.support.fira.FiraParams;
190 @FiraParams.RangeDataNtfConfig int rangeDataConfig) { in convertFromFiraNtfConfig()
205 public static @FiraParams.RangeDataNtfConfig int convertToFiraNtfConfig( in convertToFiraNtfConfig()
/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;
25 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;
[all …]
DFiraEncoderTest.java21 import static com.google.uwb.support.fira.FiraParams.CONTENTION_BASED_RANGING;
22 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_ONE_TO_MANY;
23 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_UNICAST;
24 import static com.google.uwb.support.fira.FiraParams.PROTOCOL_VERSION_1_1;
25 import static com.google.uwb.support.fira.FiraParams.PROTOCOL_VERSION_2_0;
26 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_AOA_LEV…
27 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_DT_TAG;
28 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_ROLE_INITIATOR;
29 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_ROLE_RESPONDER;
30 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_TYPE_CONTROLEE;
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DUwbCapabilityTest.java26 import static com.google.uwb.support.fira.FiraParams.CONSTRAINT_LENGTH_3;
27 import static com.google.uwb.support.fira.FiraParams.CONSTRAINT_LENGTH_7;
28 import static com.google.uwb.support.fira.FiraParams.CONTENTION_BASED_RANGING;
29 import static com.google.uwb.support.fira.FiraParams.MAC_ADDRESS_MODE_2_BYTES;
30 import static com.google.uwb.support.fira.FiraParams.MAC_ADDRESS_MODE_8_BYTES;
31 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DL_TDOA;
32 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DS_TWR_DEFERRED_MODE;
33 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DS_TWR_NON_DEFERRED_MODE;
34 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_SS_TWR_DEFERRED_MODE;
35 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_SS_TWR_NON_DEFERRED_MODE;
[all …]
DControleeInfoTest.java28 import com.google.uwb.support.fira.FiraParams;
50 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()
57 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()
60 EnumSet<FiraParams.MultiNodeCapabilityFlag> multiNodeMode = EnumSet.noneOf( in testConversion()
61 FiraParams.MultiNodeCapabilityFlag.class); in testConversion()
[all …]
DSessionDataTest.java22 import static com.google.uwb.support.fira.FiraParams.CONSTRAINT_LENGTH_7;
23 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_ONE_TO_MANY;
24 import static com.google.uwb.support.fira.FiraParams.PRF_MODE_BPRF;
25 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DS_TWR_DEFERRED_MODE;
26 import static com.google.uwb.support.fira.FiraParams.RFRAME_CONFIG_SP3;
27 import static com.google.uwb.support.fira.FiraParams.STS_CONFIG_DYNAMIC;
38 import com.google.uwb.support.fira.FiraParams;
58 @FiraParams.RangingRoundUsage int rangingMethod = RANGING_ROUND_USAGE_DS_TWR_DEFERRED_MODE; in testConversion()
59 @FiraParams.StsConfig int stsConfig = STS_CONFIG_DYNAMIC; in testConversion()
60 @FiraParams.MultiNodeMode int multiNodeMode = MULTI_NODE_MODE_ONE_TO_MANY; in testConversion()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraEncoder.java19 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_AOA_EDGE_TRIG;
20 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_AOA_LEVEL_TRIG;
21 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_AOA_EDG…
22 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_AOA_LEV…
34 import com.google.uwb.support.fira.FiraParams;
54 ? (FiraProtocolVersion) protocolVersion : FiraParams.PROTOCOL_VERSION_1_1; in getTlvBuffer()
128 if (params.getDeviceRole() != FiraParams.RANGING_DEVICE_UT_TAG) { in getTlvBufferFromFiraOpenSessionParams()
131 if (deviceRole != FiraParams.RANGING_DEVICE_DT_TAG) { in getTlvBufferFromFiraOpenSessionParams()
153 if (deviceRole != FiraParams.RANGING_DEVICE_DT_TAG) { in getTlvBufferFromFiraOpenSessionParams()
173 if (deviceType == FiraParams.RANGING_DEVICE_TYPE_CONTROLLER && UwbUtil.isBitSet( in getTlvBufferFromFiraOpenSessionParams()
[all …]
DFiraDecoder.java146 import com.google.uwb.support.fira.FiraParams;
147 import com.google.uwb.support.fira.FiraParams.BprfParameterSetCapabilityFlag;
148 import com.google.uwb.support.fira.FiraParams.CcConstraintLengthCapabilitiesFlag;
149 import com.google.uwb.support.fira.FiraParams.DeviceRoleCapabilityFlag;
150 import com.google.uwb.support.fira.FiraParams.HprfParameterSetCapabilityFlag;
151 import com.google.uwb.support.fira.FiraParams.MultiNodeCapabilityFlag;
152 import com.google.uwb.support.fira.FiraParams.PsduDataRateCapabilityFlag;
153 import com.google.uwb.support.fira.FiraParams.RangingRoundCapabilityFlag;
154 import com.google.uwb.support.fira.FiraParams.RangingTimeStructCapabilitiesFlag;
155 import com.google.uwb.support.fira.FiraParams.RframeCapabilityFlag;
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbConfigurationManagerTest.java19 import static com.google.uwb.support.fira.FiraParams.AOA_RESULT_REQUEST_MODE_REQ_AOA_RESULTS_INTERL…
20 import static com.google.uwb.support.fira.FiraParams.AOA_TYPE_AZIMUTH_AND_ELEVATION;
21 import static com.google.uwb.support.fira.FiraParams.BPRF_PHR_DATA_RATE_6M81;
22 import static com.google.uwb.support.fira.FiraParams.MAC_ADDRESS_MODE_8_BYTES;
23 import static com.google.uwb.support.fira.FiraParams.MAC_FCS_TYPE_CRC_32;
24 import static com.google.uwb.support.fira.FiraParams.MEASUREMENT_REPORT_TYPE_INITIATOR_TO_RESPONDER;
25 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_MANY_TO_MANY;
26 import static com.google.uwb.support.fira.FiraParams.PREAMBLE_DURATION_T32_SYMBOLS;
27 import static com.google.uwb.support.fira.FiraParams.PRF_MODE_HPRF;
28 import static com.google.uwb.support.fira.FiraParams.PROTOCOL_VERSION_1_1;
[all …]
/packages/modules/Uwb/service/support_lib/test/
DGenericTests.java30 import com.google.uwb.support.fira.FiraParams;
54 EnumSet<FiraParams.AoaCapabilityFlag> aoaCapabilities = in testSpecificationParams()
55 EnumSet.of(FiraParams.AoaCapabilityFlag.HAS_ELEVATION_SUPPORT); in testSpecificationParams()
57 EnumSet<FiraParams.DeviceRoleCapabilityFlag> deviceRoleCapabilities = in testSpecificationParams()
58 EnumSet.allOf(FiraParams.DeviceRoleCapabilityFlag.class); in testSpecificationParams()
62 EnumSet<FiraParams.MultiNodeCapabilityFlag> multiNodeCapabilities = in testSpecificationParams()
63 EnumSet.allOf(FiraParams.MultiNodeCapabilityFlag.class); in testSpecificationParams()
64 EnumSet<FiraParams.PrfCapabilityFlag> prfCapabilities = in testSpecificationParams()
65 EnumSet.allOf(FiraParams.PrfCapabilityFlag.class); in testSpecificationParams()
66 EnumSet<FiraParams.RangingRoundCapabilityFlag> rangingRoundCapabilities = in testSpecificationParams()
[all …]
DFiraTests.java19 import static com.google.uwb.support.fira.FiraParams.AOA_RESULT_REQUEST_MODE_REQ_AOA_RESULTS_INTERL…
20 import static com.google.uwb.support.fira.FiraParams.AOA_TYPE_AZIMUTH_AND_ELEVATION;
21 import static com.google.uwb.support.fira.FiraParams.BPRF_PHR_DATA_RATE_6M81;
22 import static com.google.uwb.support.fira.FiraParams.MAC_ADDRESS_MODE_8_BYTES;
23 import static com.google.uwb.support.fira.FiraParams.MAC_FCS_TYPE_CRC_32;
24 import static com.google.uwb.support.fira.FiraParams.MEASUREMENT_REPORT_TYPE_INITIATOR_TO_RESPONDER;
25 import static com.google.uwb.support.fira.FiraParams.MULTICAST_LIST_UPDATE_ACTION_DELETE;
26 import static com.google.uwb.support.fira.FiraParams.MULTICAST_LIST_UPDATE_STATUS_ERROR_MULTICAST_L…
27 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_MANY_TO_MANY;
28 import static com.google.uwb.support.fira.FiraParams.PREAMBLE_DURATION_T32_SYMBOLS;
[all …]
DOemExtensionTests.java17 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_UNICAST;
18 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_ROLE_INITIATOR;
19 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_TYPE_CONTROLLER;
20 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DS_TWR_DEFERRED_MODE;
30 import com.google.uwb.support.fira.FiraParams;
139 .setProtocolVersion(FiraParams.PROTOCOL_VERSION_1_1) in testSessionConfigParams()
141 .setSessionType(FiraParams.SESSION_TYPE_RANGING) in testSessionConfigParams()
142 .setChannelNumber(FiraParams.UWB_CHANNEL_9) in testSessionConfigParams()
/packages/modules/Uwb/indev_uwb_adaptation/tests/src/com/android/server/uwb/indev/
DUwbServiceTest.java24 import static com.google.uwb.support.fira.FiraParams.RANGE_DATA_NTF_CONFIG_ENABLE;
25 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_ROLE_RESPONDER;
26 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_TYPE_CONTROLLER;
27 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_SS_TWR_DEFERRED_MODE;
38 import com.google.uwb.support.fira.FiraParams;
71 .setProtocolVersion(FiraParams.PROTOCOL_VERSION_1_1)
78 .setMultiNodeMode(FiraParams.MULTI_NODE_MODE_UNICAST)
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbShellCommand.java31 import static com.google.uwb.support.fira.FiraParams.AOA_RESULT_REQUEST_MODE_NO_AOA_REPORT;
32 import static com.google.uwb.support.fira.FiraParams.AOA_RESULT_REQUEST_MODE_REQ_AOA_RESULTS;
33 import static com.google.uwb.support.fira.FiraParams.AOA_RESULT_REQUEST_MODE_REQ_AOA_RESULTS_AZIMUT…
34 import static com.google.uwb.support.fira.FiraParams.AOA_RESULT_REQUEST_MODE_REQ_AOA_RESULTS_ELEVAT…
35 import static com.google.uwb.support.fira.FiraParams.AOA_RESULT_REQUEST_MODE_REQ_AOA_RESULTS_INTERL…
36 import static com.google.uwb.support.fira.FiraParams.BPRF_PHR_DATA_RATE_6M81;
37 import static com.google.uwb.support.fira.FiraParams.BPRF_PHR_DATA_RATE_850K;
38 import static com.google.uwb.support.fira.FiraParams.HOPPING_MODE_DISABLE;
39 import static com.google.uwb.support.fira.FiraParams.MULTICAST_LIST_UPDATE_ACTION_ADD;
40 import static com.google.uwb.support.fira.FiraParams.MULTICAST_LIST_UPDATE_ACTION_DELETE;
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DUwbConfigTest.java25 import static com.google.uwb.support.fira.FiraParams.HOPPING_MODE_DISABLE;
26 import static com.google.uwb.support.fira.FiraParams.MAC_FCS_TYPE_CRC_16;
27 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_ONE_TO_MANY;
28 import static com.google.uwb.support.fira.FiraParams.PRF_MODE_BPRF;
29 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_ROLE_RESPONDER;
30 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_TYPE_CONTROLEE;
31 import static com.google.uwb.support.fira.FiraParams.RANGING_ROUND_USAGE_DS_TWR_DEFERRED_MODE;
32 import static com.google.uwb.support.fira.FiraParams.RFRAME_CONFIG_SP3;
33 import static com.google.uwb.support.fira.FiraParams.STS_CONFIG_DYNAMIC;
34 import static com.google.uwb.support.fira.FiraParams.TIME_SCHEDULED_RANGING;
[all …]
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java30 import static com.google.uwb.support.fira.FiraParams.RANGING_DEVICE_DT_TAG;
31 import static com.google.uwb.support.fira.FiraParams.RFRAME_CONFIG_SP1;
74 import com.google.uwb.support.fira.FiraParams;
1004 .setSessionType(FiraParams.SESSION_TYPE_RANGING) in makeOpenSessionBuilder()
1005 .setStsConfig(FiraParams.STS_CONFIG_STATIC) in makeOpenSessionBuilder()
1008 .setDeviceType(FiraParams.RANGING_DEVICE_TYPE_CONTROLLER) in makeOpenSessionBuilder()
1009 .setDeviceRole(FiraParams.RANGING_DEVICE_ROLE_INITIATOR) in makeOpenSessionBuilder()
1010 .setMultiNodeMode(FiraParams.MULTI_NODE_MODE_UNICAST) in makeOpenSessionBuilder()
1109 if (bundle.keySet().contains(FiraParams.PROTOCOL_NAME)) { in getFiraSpecificationParams()
1110 bundle = requireNonNull(bundle.getPersistableBundle(FiraParams.PROTOCOL_NAME)); in getFiraSpecificationParams()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DPacsProfile.java25 import static com.google.uwb.support.fira.FiraParams.MULTI_NODE_MODE_ONE_TO_MANY;
26 import static com.google.uwb.support.fira.FiraParams.RFRAME_CONFIG_SP1;
27 import static com.google.uwb.support.fira.FiraParams.RFRAME_CONFIG_SP3;
28 import static com.google.uwb.support.fira.FiraParams.STS_CONFIG_DYNAMIC;
29 import static com.google.uwb.support.fira.FiraParams.STS_CONFIG_DYNAMIC_FOR_CONTROLEE_INDIVIDUAL_KE…
30 import static com.google.uwb.support.fira.FiraParams.STS_CONFIG_PROVISIONED_FOR_CONTROLEE_INDIVIDUA…

1234