/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/ |
D | UwbCapability.java | 139 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 …]
|
D | ConfigurationParams.java | 112 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/ |
D | ControleeInfoTest.java | 57 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
|
D | SessionDataTest.java | 59 @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/ |
D | FiraEncoder.java | 272 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/ |
D | UwbConfig.java | 158 @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/ |
D | UwbConfigTest.java | 99 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/ |
D | FiraTests.java | 124 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/ |
D | UwbConfigurationManagerTest.java | 246 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/ |
D | FiraOpenSessionParams.java | 312 @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/ |
D | UwbSessionManager.java | 1120 int stsConfig = firaOpenSessionParams.getStsConfig(); in sessionUpdateMulticastListCmdPreconditioncheck() local 1123 + deviceType + " stsConfig: " + stsConfig + " action: " + action); in sessionUpdateMulticastListCmdPreconditioncheck() 1134 if (stsConfig in sessionUpdateMulticastListCmdPreconditioncheck()
|