/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | ConfigurationManager.java | 480 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 …]
|
D | RangingDevice.java | 169 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 …]
|
D | RangingControlee.java | 49 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()
|
D | RangingController.java | 111 protected int hashSessionId(RangingParameters rangingParameters) { in hashSessionId() argument
|
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/ |
D | UwbRangingSession.java | 84 @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()
|
D | RangingSession.java | 165 @NonNull RangingParameters rangingParameters, in start()
|
/packages/modules/Uwb/generic_ranging/src/com/android/ranging/generic/ranging/ |
D | UwbAdapter.java | 64 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();
|
D | PrecisionRanging.java | 76 void setUwbConfig(RangingParameters rangingParameters); in setUwbConfig() argument
|
D | PrecisionRangingImpl.java | 568 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/ |
D | RangingParametersTest.java | 60 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()
|
D | RangingSessionTest.java | 107 RangingParameters rangingParameters, in start() argument
|
/packages/modules/Uwb/androidx_backend/tests/src/androidx/core/uwb/backend/impl/internal/ |
D | RangingControleeTest.java | 111 RangingParameters rangingParameters = 124 mRangingControlee.setRangingParameters(rangingParameters); 134 RangingParameters rangingParameters = 148 mRangingControlee.setRangingParameters(rangingParameters); 156 rangingParameters.getPeerAddresses().get(0), 157 rangingParameters.getComplexChannel()),
|
D | RangingControllerTest.java | 115 RangingParameters rangingParameters = 131 mRangingController.setRangingParameters(rangingParameters); 164 RangingParameters rangingParameters = 178 mRangingController.setRangingParameters(rangingParameters);
|
D | ConfigurationManagerTest.java | 108 RangingParameters rangingParameters = in testCreateOpenSessionParams_ProvisionedSts() local 123 TEST_DEVICE_TYPE, TEST_LOCAL_ADDRESS, rangingParameters, in testCreateOpenSessionParams_ProvisionedSts()
|