Home
last modified time | relevance | path

Searched refs:rangingParameters (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DConfigurationManager.java480 RangingParameters rangingParameters, in createOpenSessionParams() argument
483 getRangingTimingParams(rangingParameters.getUwbConfigId()); in createOpenSessionParams()
484 UwbConfiguration configuration = sConfigs.get(rangingParameters.getUwbConfigId()); in createOpenSessionParams()
520 .setSessionId(rangingParameters.getSessionId()) in createOpenSessionParams()
523 .setAoaResultRequest(rangingParameters.isAoaDisabled() in createOpenSessionParams()
526 .setChannelNumber(rangingParameters.getComplexChannel().getChannel()) in createOpenSessionParams()
528 rangingParameters.getComplexChannel().getPreambleIndex()) in createOpenSessionParams()
531 Utils.convertMsToRstu(rangingParameters.getSlotDuration())) in createOpenSessionParams()
535 rangingParameters.getRangingUpdateRate())) in createOpenSessionParams()
538 rangingParameters in createOpenSessionParams()
[all …]
DRangingDevice.java169 protected abstract int hashSessionId(RangingParameters rangingParameters); in hashSessionId() argument
182 public synchronized void setRangingParameters(RangingParameters rangingParameters) { in setRangingParameters() argument
183 if (rangingParameters.getSessionId() == SESSION_ID_UNSET) { in setRangingParameters()
184 int sessionId = hashSessionId(rangingParameters); in setRangingParameters()
187 rangingParameters.getUwbConfigId(), in setRangingParameters()
189 rangingParameters.getSubSessionId(), in setRangingParameters()
190 rangingParameters.getSessionKeyInfo(), in setRangingParameters()
191 rangingParameters.getSubSessionKeyInfo(), in setRangingParameters()
192 rangingParameters.getComplexChannel(), in setRangingParameters()
193 rangingParameters.getPeerAddresses(), in setRangingParameters()
[all …]
DRangingControlee.java49 protected int hashSessionId(RangingParameters rangingParameters) { in hashSessionId() argument
50 UwbAddress controllerAddress = rangingParameters.getPeerAddresses().get(0); in hashSessionId()
51 return calculateHashedSessionId(controllerAddress, rangingParameters.getComplexChannel()); in hashSessionId()
DRangingController.java111 protected int hashSessionId(RangingParameters rangingParameters) { in hashSessionId() argument
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/
DUwbRangingSession.java84 @NonNull RangingParameters rangingParameters, in start()
87 Preconditions.checkNotNull(rangingParameters, "rangingParameters must not be null"); in start()
91 setUwbRangingParameters(rangingParameters); in start()
124 private void setUwbRangingParameters(RangingParameters rangingParameters) { in setUwbRangingParameters() argument
126 rangingParameters.getUwbRangingParameters(); in setUwbRangingParameters()
167 UwbAddress localAddress = rangingParameters.getUwbLocalAddress(); in setUwbRangingParameters()
DRangingSession.java165 @NonNull RangingParameters rangingParameters, in start()
/packages/modules/Uwb/generic_ranging/src/com/android/ranging/generic/ranging/
DUwbAdapter.java64 private Optional<RangingParameters> rangingParameters; field in UwbAdapter
94 this.rangingParameters = Optional.empty(); in UwbAdapter()
108 this.rangingParameters = Optional.empty(); in UwbAdapter()
216 rangingParameters = Optional.of(params);
220 if (rangingParameters.isEmpty()) {
225 uwbClient.get().setRangingParameters(this.rangingParameters.get());
356 this.rangingParameters = Optional.empty();
DPrecisionRanging.java76 void setUwbConfig(RangingParameters rangingParameters); in setUwbConfig() argument
DPrecisionRangingImpl.java568 public void setUwbConfig(RangingParameters rangingParameters) { in setUwbConfig() argument
576 uwbAdapter.setRangingParameters(rangingParameters); in setUwbConfig()
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/ranging/
DRangingParametersTest.java60 final RangingParameters rangingParameters = in testBuildingRangingParameters_success() local
66 assertEquals(rangingParameters.getUwbLocalAddress(), TEST_UWB_LOCAL_ADDRESS); in testBuildingRangingParameters_success()
67 assertEquals(rangingParameters.getUwbRangingParameters(), TEST_UWB_RANGING_PARAMETERS); in testBuildingRangingParameters_success()
DRangingSessionTest.java107 RangingParameters rangingParameters, in start() argument
/packages/modules/Uwb/androidx_backend/tests/src/androidx/core/uwb/backend/impl/internal/
DRangingControleeTest.java111 RangingParameters rangingParameters =
124 mRangingControlee.setRangingParameters(rangingParameters);
134 RangingParameters rangingParameters =
148 mRangingControlee.setRangingParameters(rangingParameters);
156 rangingParameters.getPeerAddresses().get(0),
157 rangingParameters.getComplexChannel()),
DRangingControllerTest.java115 RangingParameters rangingParameters =
131 mRangingController.setRangingParameters(rangingParameters);
164 RangingParameters rangingParameters =
178 mRangingController.setRangingParameters(rangingParameters);
DConfigurationManagerTest.java108 RangingParameters rangingParameters = in testCreateOpenSessionParams_ProvisionedSts() local
123 TEST_DEVICE_TYPE, TEST_LOCAL_ADDRESS, rangingParameters, in testCreateOpenSessionParams_ProvisionedSts()