Home
last modified time | relevance | path

Searched refs:mRttPeers (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingRequest.java63 public final List<ResponderConfig> mRttPeers; field in RangingRequest
67 mRttPeers = rttPeers; in RangingRequest()
77 dest.writeList(mRttPeers); in writeToParcel()
96 for (ResponderConfig rc : mRttPeers) { in toString()
104 if (mRttPeers.size() > MAX_PEERS) { in enforceValidity()
109 for (ResponderConfig peer: mRttPeers) { in enforceValidity()
120 private List<ResponderConfig> mRttPeers = new ArrayList<>(); field in RangingRequest.Builder
235 mRttPeers.add(responder); in addResponder()
244 return new RangingRequest(mRttPeers); in build()
260 return mRttPeers.size() == lhs.mRttPeers.size() && mRttPeers.containsAll(lhs.mRttPeers); in equals()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java425 if (request == null || request.mRttPeers == null || request.mRttPeers.size() == 0) { in startRanging()
428 for (ResponderConfig responder : request.mRttPeers) { in startRanging()
592 for (ResponderConfig peer : rri.request.mRttPeers) { in cancelRanging()
855 for (ResponderConfig responderConfig : nextRequest.request.mRttPeers) { in startRanging()
988 for (ResponderConfig rttPeer : request.request.mRttPeers) { in processAwarePeerHandles()
1051 for (ResponderConfig rttPeer : request.request.mRttPeers) { in processReceivedAwarePeerMacAddresses()
1139 List<RangingResult> finalResults = new ArrayList<>(request.mRttPeers.size()); in postProcessResults()
1141 for (ResponderConfig peer : request.mRttPeers) { in postProcessResults()
DRttNative.java188 "rangeRequest: cmdId=" + cmdId + ", # of requests=" + request.mRttPeers.size()); in rangeRequest()
282 ArrayList<RttConfig> rttConfigs = new ArrayList<>(request.mRttPeers.size()); in convertRangingRequestToRttConfigs()
286 for (ResponderConfig responder: request.mRttPeers) { in convertRangingRequestToRttConfigs()
DRttMetrics.java134 for (ResponderConfig request : requests.mRttPeers) { in recordRequest()
156 for (ResponderConfig responder : requests.mRttPeers) { in recordResult()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttNativeTest.java140 equalTo(request.mRttPeers.size())); in testRangeRequest()
485 request.mRttPeers.add(invalidConfig); in testRangingWithInvalidParameterCombination()
486 request.mRttPeers.add(config); in testRangingWithInvalidParameterCombination()
489 assertEquals(request.mRttPeers.size() - 1, mRttConfigCaptor.getValue().size()); in testRangingWithInvalidParameterCombination()
DRttServiceImplTest.java312 request.mRttPeers.add(ResponderConfig.fromWifiAwarePeerHandleWithDefaults(peerHandle1)); in testRangingFlowUsingAwarePeerHandles()
313 request.mRttPeers.add(ResponderConfig.fromWifiAwarePeerHandleWithDefaults(peerHandle2)); in testRangingFlowUsingAwarePeerHandles()
314 request.mRttPeers.add(ResponderConfig.fromWifiAwarePeerHandleWithDefaults(peerHandle3)); in testRangingFlowUsingAwarePeerHandles()
336 assertEquals("Size of request", request.mRttPeers.size() - 1, in testRangingFlowUsingAwarePeerHandles()
337 finalRequest.mRttPeers.size()); in testRangingFlowUsingAwarePeerHandles()
339 finalRequest.mRttPeers.get(finalRequest.mRttPeers.size() - 2).macAddress); in testRangingFlowUsingAwarePeerHandles()
341 finalRequest.mRttPeers.get(finalRequest.mRttPeers.size() - 1).macAddress); in testRangingFlowUsingAwarePeerHandles()
513 assertEquals(request0.mRttPeers.size(), mListCaptor.getValue().size()); in testBinderDeathOfRangingApp()
DRttTestUtils.java130 for (ResponderConfig peer: request.mRttPeers) { in getDummyRangingResults()
DRttMetricsTest.java583 for (ResponderConfig peer : request.mRttPeers) { in getDummyRangingResults()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46922 Landroid/net/wifi/rtt/RangingRequest$Builder;->mRttPeers:Ljava/util/List;
46926 Landroid/net/wifi/rtt/RangingRequest;->mRttPeers:Ljava/util/List;