Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DUwbCapability.java139 Optional<EnumSet<FiraParams.StsCapabilityFlag>> stsConfig, in UwbCapability() argument
159 mStsConfig = stsConfig; in UwbCapability()
213 byte stsConfig = 0; in toBytes()
215 stsConfig = (byte) (stsConfig | STATIC_STS); in toBytes()
218 stsConfig = (byte) (stsConfig | DYNAMIC_STS); in toBytes()
223 stsConfig = (byte) (stsConfig | DYNAMIC_STS_RESPONDER_SPECIFIC_SUBSESSION_KEY); in toBytes()
225 uwbCapabilityBuilder.putByte(STS_CONFIG, stsConfig); in toBytes()
662 EnumSet<FiraParams.StsCapabilityFlag> stsConfig = EnumSet.noneOf( in fromBytes() local
666 stsConfig.add(FiraParams.StsCapabilityFlag.HAS_STATIC_STS_SUPPORT); in fromBytes()
669 stsConfig.add(FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT); in fromBytes()
[all …]
DConfigurationParams.java112 Optional<Integer> stsConfig, in ConfigurationParams() argument
140 mStsConfig = stsConfig; in ConfigurationParams()
537 ConfigurationParams.Builder setStsConfig(@FiraParams.StsConfig int stsConfig) { in setStsConfig() argument
538 mStsConfig = Optional.of(stsConfig); in setStsConfig()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DControleeInfoTest.java57 EnumSet<FiraParams.StsCapabilityFlag> stsConfig = in testConversion() local
59 stsConfig.add(FiraParams.StsCapabilityFlag.HAS_DYNAMIC_STS_SUPPORT); in testConversion()
88 .setStsConfig(stsConfig) in testConversion()
116 assertEquals(uwbCapability1.mStsConfig.get(), stsConfig); in testConversion() local
DSessionDataTest.java59 @FiraParams.StsConfig int stsConfig = STS_CONFIG_DYNAMIC; in testConversion() local
86 .setStsConfig(stsConfig) in testConversion()
130 assertEquals((int) configParams1.mStsConfig.get(), stsConfig); in testConversion() local
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraEncoder.java272 int stsConfig = params.getStsConfig(); in configureStsParameters() local
274 if (stsConfig == FiraParams.STS_CONFIG_STATIC) { in configureStsParameters()
279 } else if (stsConfig == FiraParams.STS_CONFIG_DYNAMIC_FOR_CONTROLEE_INDIVIDUAL_KEY) { in configureStsParameters()
283 } else if (stsConfig == FiraParams.STS_CONFIG_PROVISIONED) { in configureStsParameters()
287 } else if (stsConfig == FiraParams.STS_CONFIG_PROVISIONED_FOR_CONTROLEE_INDIVIDUAL_KEY) { in configureStsParameters()
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbConfig.java158 @StsConfig int stsConfig, in UwbConfig() argument
190 mStsConfig = stsConfig; in UwbConfig()
327 public UwbConfig.Builder setStsConfig(@StsConfig int stsConfig) { in setStsConfig() argument
328 mStsConfig = stsConfig; in setStsConfig()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DUwbConfigTest.java99 int stsConfig = STS_CONFIG_DYNAMIC; in testUwbconfig() local
132 .setStsConfig(stsConfig) in testUwbconfig()
169 assertEquals(uwbConfig.mStsConfig, stsConfig); in testUwbconfig()
/packages/modules/Uwb/service/support_lib/test/
DFiraTests.java124 int stsConfig = STS_CONFIG_DYNAMIC_FOR_CONTROLEE_INDIVIDUAL_KEY; in testOpenSessionParams() local
191 .setStsConfig(stsConfig) in testOpenSessionParams()
263 assertEquals(params.getStsConfig(), stsConfig); in testOpenSessionParams() local
334 assertEquals(fromBundle.getStsConfig(), stsConfig); in testOpenSessionParams() local
411 assertEquals(fromCopy.getStsConfig(), stsConfig); in testOpenSessionParams() local
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbConfigurationManagerTest.java246 int stsConfig = STS_CONFIG_DYNAMIC_FOR_CONTROLEE_INDIVIDUAL_KEY; in getFiraParams() local
303 .setStsConfig(stsConfig) in getFiraParams()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraOpenSessionParams.java312 @StsConfig int stsConfig, in FiraOpenSessionParams()
399 mStsConfig = stsConfig; in FiraOpenSessionParams()
1805 public FiraOpenSessionParams.Builder setStsConfig(@StsConfig int stsConfig) { in setStsConfig() argument
1806 mStsConfig = stsConfig; in setStsConfig()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSessionManager.java1120 int stsConfig = firaOpenSessionParams.getStsConfig(); in sessionUpdateMulticastListCmdPreconditioncheck() local
1123 + deviceType + " stsConfig: " + stsConfig + " action: " + action); in sessionUpdateMulticastListCmdPreconditioncheck()
1134 if (stsConfig in sessionUpdateMulticastListCmdPreconditioncheck()