Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java19 import android.hardware.wifi.V1_0.RttResult;
120 public static Pair<List<RttResult>, List<RangingResult>> getDummyRangingResults( in getDummyRangingResults()
126 List<RttResult> halResults = new ArrayList<>(); in getDummyRangingResults()
165 private static RttResult getMatchingRttResult(RangingResult rangingResult, in getMatchingRttResult()
167 RttResult rttResult = new RttResult(); in getMatchingRttResult()
DRttNativeTest.java37 import android.hardware.wifi.V1_0.RttResult;
395 ArrayList<RttResult> results = new ArrayList<>(); in testRangeResults()
396 RttResult res = new RttResult(); in testRangeResults()
415 List<RttResult> rttR = mRttResultCaptor.getValue(); in testRangeResults()
419 RttResult rttResult = rttR.get(0); in testRangeResults()
450 ArrayList<RttResult> results = new ArrayList<>(); in testRangeResultsSomeNulls()
452 results.add(new RttResult()); in testRangeResultsSomeNulls()
455 results.add(new RttResult()); in testRangeResultsSomeNulls()
461 List<RttResult> rttR = mRttResultCaptor.getValue(); in testRangeResultsSomeNulls()
DRttServiceImplTest.java51 import android.hardware.wifi.V1_0.RttResult;
255 List<Pair<List<RttResult>, List<RangingResult>>> results = new ArrayList<>(); in testRangingFlow()
344 Pair<List<RttResult>, List<RangingResult>> results = in testRangingFlowUsingAwarePeerHandles()
378 List<Pair<List<RttResult>, List<RangingResult>>> results = new ArrayList<>(); in testRangingFlowNativeFailure()
442 Pair<List<RttResult>, List<RangingResult>> results = RttTestUtils.getDummyRangingResults( in testRangingRequestWithoutRuntimePermission()
481 List<Pair<List<RttResult>, List<RangingResult>>> results = new ArrayList<>(); in testBinderDeathOfRangingApp()
562 Pair<List<RttResult>, List<RangingResult>> results = RttTestUtils.getDummyRangingResults( in testBinderDeathWithWorkSource()
612 Pair<List<RttResult>, List<RangingResult>> results = RttTestUtils.getDummyRangingResults( in testCancelRangingFullMatch()
658 Pair<List<RttResult>, List<RangingResult>> results = RttTestUtils.getDummyRangingResults( in testCancelRangingPartialMatch()
696 Pair<List<RttResult>, List<RangingResult>> results = RttTestUtils.getDummyRangingResults( in testUnexpectedResult()
[all …]
DRttMetricsTest.java22 import android.hardware.wifi.V1_0.RttResult;
304 List<RttResult> resultMixed25 = getDummyRangingResults(requestMixed25, 10, 30); in testRecordMissingResults()
578 private List<RttResult> getDummyRangingResults(RangingRequest request, double baseDistanceM, in getDummyRangingResults()
580 List<RttResult> halResults = new ArrayList<>(); in getDummyRangingResults()
584 RttResult rttResult = new RttResult(); in getDummyRangingResults()
597 List<RttResult> results = getDummyRangingResults(request, 0, 0); in recordResultNTimes()
598 RttResult result = results.get(0); in recordResultNTimes()
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java607 public static class RttResult { class in RttManager
761 public RttResult mResults[];
763 public ParcelableRttResults(RttResult[] results) { in ParcelableRttResults()
823 for (RttResult result : mResults) { in writeToParcel()
873 RttResult results[] = new RttResult[num];
875 results[i] = new RttResult();
926 public void onSuccess(RttResult[] results); in onSuccess()
986 RttResult[] legacyResults = new RttResult[results.size()]; in startRanging()
989 legacyResults[i] = new RttResult(); in startRanging()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java24 import android.hardware.wifi.V1_0.RttResult;
154 public void recordResult(RangingRequest requests, List<RttResult> results) { in recordResult()
161 for (RttResult result : results) { in recordResult()
240 private void updatePeerInfoWithResultInfo(PerPeerTypeInfo peerInfo, RttResult result) { in updatePeerInfoWithResultInfo()
DRttNative.java27 import android.hardware.wifi.V1_0.RttResult;
264 public void onResults(int cmdId, ArrayList<RttResult> halResults) { in onResults()
271 ListIterator<RttResult> lit = halResults.listIterator(); in onResults()
DRttServiceImpl.java28 import android.hardware.wifi.V1_0.RttResult;
519 public void onRangingResults(int cmdId, List<RttResult> results) { in onRangingResults()
1074 private void onRangingResults(int cmdId, List<RttResult> results) { in onRangingResults()
1133 List<RttResult> results, boolean isCalledFromPrivilegedContext) { in postProcessResults()
1134 Map<MacAddress, RttResult> resultEntries = new HashMap<>(); in postProcessResults()
1135 for (RttResult result : results) { in postProcessResults()
1142 RttResult resultForRequest = resultEntries.get(peer.macAddress); in postProcessResults()
/frameworks/base/api/
Dsystem-current.txt4541 … ctor @Deprecated public RttManager.ParcelableRttResults(android.net.wifi.RttManager.RttResult[]);
4542 field @Deprecated public android.net.wifi.RttManager.RttResult[] mResults;
4582 method @Deprecated public void onSuccess(android.net.wifi.RttManager.RttResult[]);
4609 @Deprecated public static class RttManager.RttResult {
4610 ctor @Deprecated public RttManager.RttResult();