Home
last modified time | relevance | path

Searched refs:RangingRequest (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java90 RangingRequest request = new RangingRequest.Builder().build(); in testRangeSuccess()
126 RangingRequest request = new RangingRequest.Builder().build(); in testRangeFail()
164 RangingRequest.Builder builder = new RangingRequest.Builder(); in testRangingRequestParcel()
173 RangingRequest request = builder.build(); in testRangingRequestParcel()
183 RangingRequest rereadRequest = RangingRequest.CREATOR.createFromParcel(parcelR); in testRangingRequestParcel()
199 RangingRequest.Builder builder = new RangingRequest.Builder(); in test802llmcCapableAccessPointFailsForNon11mcBuilderMethods()
215 RangingRequest.Builder builder = new RangingRequest.Builder(); in test802llmcCapableAccessPointFailsForNon11mcBuilderMethods()
233 RangingRequest.Builder builder = new RangingRequest.Builder(); in testRangingRequestSetBurstSize()
236 RangingRequest request = builder.build(); in testRangingRequestSetBurstSize()
252 RangingRequest.Builder builder = new RangingRequest.Builder(); in testRangingRequestMinBurstSizeIsEnforced()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java21 import android.net.wifi.rtt.RangingRequest;
59 public static RangingRequest getDummyRangingRequest(byte lastMacByte) { in getDummyRangingRequest()
60 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequest()
74 builder.setRttBurstSize(RangingRequest.getMaxRttBurstSize()); in getDummyRangingRequest()
82 public static RangingRequest getDummyRangingRequestMcOnly(byte lastMacByte, int rttBurstSize) { in getDummyRangingRequestMcOnly()
83 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequestMcOnly()
99 public static RangingRequest getDummyRangingRequestNo80211mcSupport(byte lastMacByte) { in getDummyRangingRequestNo80211mcSupport()
100 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequestNo80211mcSupport()
120 RangingRequest request) { in getDummyRangingResults()
DRttMetricsTest.java23 import android.net.wifi.rtt.RangingRequest;
90 RangingRequest requestAp1 = getDummyRangingRequest(1, 0); in testRecordRequest()
91 RangingRequest requestAp2 = getDummyRangingRequest(2, 0); in testRecordRequest()
92 RangingRequest requestAp5 = getDummyRangingRequest(5, 0); in testRecordRequest()
93 RangingRequest requestAp6 = getDummyRangingRequest(6, 0); in testRecordRequest()
150 RangingRequest requestMixed03 = getDummyRangingRequest(0, 3); in testRecordRequest()
151 RangingRequest requestMixed25 = getDummyRangingRequest(2, 5); in testRecordRequest()
152 RangingRequest requestMixed50 = getDummyRangingRequest(5, 0); in testRecordRequest()
153 RangingRequest requestMixed08 = getDummyRangingRequest(0, 8); in testRecordRequest()
214 RangingRequest requestAp1 = getDummyRangingRequest(1, 0); in testRecordResult()
[all …]
DRttServiceImplTest.java64 import android.net.wifi.rtt.RangingRequest;
133 private ArgumentCaptor<RangingRequest> mRequestCaptor = ArgumentCaptor.forClass(
134 RangingRequest.class);
235 when(mockRttControllerHal.rangeRequest(anyInt(), any(RangingRequest.class))).thenReturn( in setUp()
313 RangingRequest[] requests = new RangingRequest[numIter]; in testRangingFlow()
319 RangingRequest.getDefaultRttBurstSize()); in testRangingFlow()
379 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0xA); in testRangingFlowUsingAwarePeerHandles()
413 RangingRequest finalRequest = mRequestCaptor.getValue(); in testRangingFlowUsingAwarePeerHandles()
472 RangingRequest request = in testRangingOnlyAwareAps()
473 new RangingRequest.Builder() in testRangingOnlyAwareAps()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DRangingRequest.java58 public final class RangingRequest implements Parcelable { class
115 private RangingRequest(List<ResponderConfig> rttPeers, int rttBurstSize, in RangingRequest() method in RangingRequest
174 … static final @android.annotation.NonNull Creator<RangingRequest> CREATOR = new Creator<RangingReq…
176 public RangingRequest[] newArray(int size) {
177 return new RangingRequest[size];
181 public RangingRequest createFromParcel(Parcel in) {
182 return new RangingRequest(in.readArrayList(null), in.readInt(),
530 public RangingRequest build() { in build()
531 return new RangingRequest(mRttPeers, mRttBurstSize, mVendorData); in build()
541 if (!(o instanceof RangingRequest)) { in equals()
[all …]
DIWifiRttManager.aidl23 import android.net.wifi.rtt.RangingRequest;
32 in WorkSource workSource, in RangingRequest request, in IRttCallback callback, in startRanging()
DWifiRttManager.java171 public void startRanging(@NonNull RangingRequest request, in startRanging()
197 public void startRanging(@Nullable WorkSource workSource, @NonNull RangingRequest request, in startRanging()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiRttControllerAidlImplTest.java42 import android.net.wifi.rtt.RangingRequest;
98 RangingRequest request = RttTestUtils.getDummyRangingRequestMcOnly((byte) 0, 8); in testBurstDuration()
134 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequest()
156 equalTo(RangingRequest.getMaxRttBurstSize())); in testRangeRequest()
166 equalTo(RangingRequest.getMaxRttBurstSize())); in testRangeRequest()
176 equalTo(RangingRequest.getMaxRttBurstSize())); in testRangeRequest()
191 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequestWithLimitedCapabilities()
253 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequestWithLimitedCapabilitiesNoOverlap()
391 RangingRequest request = new RangingRequest.Builder().build(); in testRangingWithInvalidParameterCombination()
DWifiRttControllerHidlImplTest.java45 import android.net.wifi.rtt.RangingRequest;
115 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequest()
137 equalTo(RangingRequest.getMaxRttBurstSize())); in testRangeRequest()
147 equalTo(RangingRequest.getMaxRttBurstSize())); in testRangeRequest()
157 equalTo(RangingRequest.getMaxRttBurstSize())); in testRangeRequest()
172 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequestWithLimitedCapabilities()
227 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequestWithLimitedCapabilitiesNoOverlap()
369 RangingRequest request = new RangingRequest.Builder().build(); in testRangingWithInvalidParameterCombination()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DIWifiRttController.java21 import android.net.wifi.rtt.RangingRequest;
71 boolean rangeRequest(int cmdId, RangingRequest request); in rangeRequest()
DWifiRttControllerHidlImpl.java33 import android.net.wifi.rtt.RangingRequest;
127 public boolean rangeRequest(int cmdId, RangingRequest request) { in rangeRequest()
186 private boolean rangeRequestInternal(String methodStr, int cmdId, RangingRequest request) { in rangeRequestInternal()
202 private boolean sendRangeRequest(int cmdId, RangingRequest request) { in sendRangeRequest()
225 private boolean sendRangeRequest14(int cmdId, RangingRequest request) { in sendRangeRequest14()
248 private boolean sendRangeRequest16(int cmdId, RangingRequest request) { in sendRangeRequest16()
608 RangingRequest request, WifiRttController.Capabilities cap) { in convertRangingRequestToRttConfigs()
691 convertRangingRequestToRttConfigs14(RangingRequest request, in convertRangingRequestToRttConfigs14()
758 convertRangingRequestToRttConfigs16(RangingRequest request, in convertRangingRequestToRttConfigs16()
DWifiRttController.java23 import android.net.wifi.rtt.RangingRequest;
258 public boolean rangeRequest(int cmdId, RangingRequest request) { in rangeRequest()
DWifiRttControllerAidlImpl.java36 import android.net.wifi.rtt.RangingRequest;
154 public boolean rangeRequest(int cmdId, RangingRequest request) { in rangeRequest()
437 private static RttConfig[] convertRangingRequestToRttConfigs(RangingRequest request, in convertRangingRequestToRttConfigs()
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/rtt/
DRangingRequest.aidl19 parcelable RangingRequest;
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java44 import android.net.wifi.rtt.RangingRequest;
492 private void override11azOverlays(RangingRequest rangingRequest) { in override11azOverlays()
513 WorkSource workSource, RangingRequest request, IRttCallback callback, Bundle extras) in startRanging()
821 RangingRequest request, IRttCallback callback, in queueRangingRequest()
1179 RangingRequest.Builder newRequestBuilder = new RangingRequest.Builder(); in processReceivedAwarePeerMacAddresses()
1296 private List<RangingResult> postProcessResults(RangingRequest request, in postProcessResults()
1397 public RangingRequest request;
DRttMetrics.java25 import android.net.wifi.rtt.RangingRequest;
145 public void recordRequest(WorkSource ws, RangingRequest requests) { in recordRequest()
173 public void recordResult(RangingRequest requests, List<RangingResult> results, in recordResult()
/packages/modules/Wifi/framework/api/
Dsystem-lint-baseline.txt54 MissingGetterMatchingBuilder: android.net.wifi.rtt.RangingRequest.Builder#addResponder(android.net.…
58 MissingNullability: android.net.wifi.rtt.RangingRequest.Builder#addResponder(android.net.wifi.rtt.R…
164 …ndroid.net.wifi.rtt.WifiRttManager#startRanging(android.net.wifi.rtt.RangingRequest, java.util.con…
166 …iRttManager#startRanging(android.os.WorkSource, android.net.wifi.rtt.RangingRequest, java.util.con…
Dcurrent.txt1664 public final class RangingRequest implements android.os.Parcelable {
1672 …ull public static final android.os.Parcelable.Creator<android.net.wifi.rtt.RangingRequest> CREATOR;
1675 public static final class RangingRequest.Builder {
1676 ctor public RangingRequest.Builder();
1677 …method @NonNull public android.net.wifi.rtt.RangingRequest.Builder addAccessPoint(@NonNull android…
1678 …method @NonNull public android.net.wifi.rtt.RangingRequest.Builder addAccessPoints(@NonNull java.u…
1679 …method @NonNull public android.net.wifi.rtt.RangingRequest.Builder addNon80211mcCapableAccessPoint…
1680 …method @NonNull public android.net.wifi.rtt.RangingRequest.Builder addNon80211mcCapableAccessPoint…
1681 …method @NonNull public android.net.wifi.rtt.RangingRequest.Builder addResponder(@NonNull android.n…
1682 …method @NonNull public android.net.wifi.rtt.RangingRequest.Builder addResponders(@NonNull java.uti…
[all …]
Dmodule-lib-lint-baseline.txt144 …ndroid.net.wifi.rtt.WifiRttManager#startRanging(android.net.wifi.rtt.RangingRequest, java.util.con…
146 …iRttManager#startRanging(android.os.WorkSource, android.net.wifi.rtt.RangingRequest, java.util.con…
Dlint-baseline.txt82 …ndroid.net.wifi.rtt.WifiRttManager#startRanging(android.net.wifi.rtt.RangingRequest, java.util.con…
Dsystem-current.txt1669 public final class RangingRequest implements android.os.Parcelable {
1674 public static final class RangingRequest.Builder {
1675 …wifi.flags.android_v_wifi_api") @NonNull public android.net.wifi.rtt.RangingRequest.Builder setVen…
1723 …nging(@Nullable android.os.WorkSource, @NonNull android.net.wifi.rtt.RangingRequest, @NonNull java…
/packages/modules/Wifi/framework/java/android/net/wifi/
DRttManager.java11 import android.net.wifi.rtt.RangingRequest;
953 RangingRequest.Builder builder = new RangingRequest.Builder(); in startRanging()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1382 …inder;Ljava/lang/String;Landroid/os/WorkSource;Landroid/net/wifi/rtt/RangingRequest;Landroid/net/w…
1391 …inder;Ljava/lang/String;Landroid/os/WorkSource;Landroid/net/wifi/rtt/RangingRequest;Landroid/net/w…
1392 Landroid/net/wifi/rtt/RangingRequest$Builder;->mRttPeers:Ljava/util/List;
1393 Landroid/net/wifi/rtt/RangingRequest;-><init>(Ljava/util/List;)V
1394 Landroid/net/wifi/rtt/RangingRequest;->enforceValidity(Z)V
1395 Landroid/net/wifi/rtt/RangingRequest;->MAX_PEERS:I
1396 Landroid/net/wifi/rtt/RangingRequest;->mRttPeers:Ljava/util/List;
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto2175 // Histogram of number of peers in a single RTT request (RangingRequest entries)