Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingRequest.java47 public final class RangingRequest implements Parcelable { class
66 private RangingRequest(List<ResponderConfig> rttPeers) { in RangingRequest() method in RangingRequest
80 … static final @android.annotation.NonNull Creator<RangingRequest> CREATOR = new Creator<RangingReq…
82 public RangingRequest[] newArray(int size) {
83 return new RangingRequest[size];
87 public RangingRequest createFromParcel(Parcel in) {
88 return new RangingRequest(in.readArrayList(null));
243 public RangingRequest build() { in build()
244 return new RangingRequest(mRttPeers); in build()
254 if (!(o instanceof RangingRequest)) { in equals()
[all …]
DIWifiRttManager.aidl22 import android.net.wifi.rtt.RangingRequest;
31 in RangingRequest request, in IRttCallback callback); in startRanging()
DWifiRttManager.java113 public void startRanging(@NonNull RangingRequest request, in startRanging()
133 public void startRanging(@Nullable WorkSource workSource, @NonNull RangingRequest request, in startRanging()
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java80 RangingRequest request = new RangingRequest.Builder().build(); in testRangeSuccess()
108 RangingRequest request = new RangingRequest.Builder().build(); in testRangeFail()
143 RangingRequest.Builder builder = new RangingRequest.Builder(); in testRangingRequestParcel()
148 RangingRequest request = builder.build(); in testRangingRequestParcel()
158 RangingRequest rereadRequest = RangingRequest.CREATOR.createFromParcel(parcelR); in testRangingRequestParcel()
171 for (int i = 0; i < RangingRequest.getMaxPeers() - 3; ++i) { in testRangingRequestAtLimit()
177 RangingRequest.Builder builder = new RangingRequest.Builder(); in testRangingRequestAtLimit()
182 RangingRequest request = builder.build(); in testRangingRequestAtLimit()
196 for (int i = 0; i < RangingRequest.getMaxPeers() - 2; ++i) { in testRangingRequestPastLimit()
202 RangingRequest.Builder builder = new RangingRequest.Builder(); in testRangingRequestPastLimit()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java23 import android.net.wifi.rtt.RangingRequest;
61 public static RangingRequest getDummyRangingRequest(byte lastMacByte) { in getDummyRangingRequest()
62 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequest()
84 public static RangingRequest getDummyRangingRequestMcOnly(byte lastMacByte) { in getDummyRangingRequestMcOnly()
85 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequestMcOnly()
100 public static RangingRequest getDummyRangingRequestNo80211mcSupport(byte lastMacByte) { in getDummyRangingRequestNo80211mcSupport()
101 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequestNo80211mcSupport()
121 RangingRequest request) { in getDummyRangingResults()
DRttMetricsTest.java25 import android.net.wifi.rtt.RangingRequest;
89 RangingRequest requestAp1 = getDummyRangingRequest(1, 0); in testRecordRequest()
90 RangingRequest requestAp2 = getDummyRangingRequest(2, 0); in testRecordRequest()
91 RangingRequest requestAp5 = getDummyRangingRequest(5, 0); in testRecordRequest()
92 RangingRequest requestAp6 = getDummyRangingRequest(6, 0); in testRecordRequest()
149 RangingRequest requestMixed03 = getDummyRangingRequest(0, 3); in testRecordRequest()
150 RangingRequest requestMixed25 = getDummyRangingRequest(2, 5); in testRecordRequest()
151 RangingRequest requestMixed50 = getDummyRangingRequest(5, 0); in testRecordRequest()
152 RangingRequest requestMixed08 = getDummyRangingRequest(0, 8); in testRecordRequest()
213 RangingRequest requestAp1 = getDummyRangingRequest(1, 0); in testRecordResult()
[all …]
DRttServiceImplTest.java58 import android.net.wifi.rtt.RangingRequest;
119 private ArgumentCaptor<RangingRequest> mRequestCaptor = ArgumentCaptor.forClass(
120 RangingRequest.class);
212 when(mockNative.rangeRequest(anyInt(), any(RangingRequest.class), anyBoolean())).thenReturn( in setUp()
254 RangingRequest[] requests = new RangingRequest[numIter]; in testRangingFlow()
308 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0xA); in testRangingFlowUsingAwarePeerHandles()
334 RangingRequest finalRequest = mRequestCaptor.getValue(); in testRangingFlowUsingAwarePeerHandles()
377 RangingRequest[] requests = new RangingRequest[numIter]; in testRangingFlowNativeFailure()
386 when(mockNative.rangeRequest(anyInt(), any(RangingRequest.class), anyBoolean())).thenReturn( in testRangingFlowNativeFailure()
391 when(mockNative.rangeRequest(anyInt(), any(RangingRequest.class), anyBoolean())).thenReturn( in testRangingFlowNativeFailure()
[all …]
DRttNativeTest.java45 import android.net.wifi.rtt.RangingRequest;
128 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequest()
179 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequestNotPrivilegedNo80211mcSupportMixed()
221 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequestWithLimitedCapabilities()
276 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testRangeRequestWithLimitedCapabilitiesNoOverlap()
317 RangingRequest request = RttTestUtils.getDummyRangingRequestNo80211mcSupport((byte) 0); in testRangeRequestNotPrivilegedNo80211mcSupportForAny()
336 RangingRequest request = RttTestUtils.getDummyRangingRequest((byte) 0); in testWifiDown()
476 RangingRequest request = new RangingRequest.Builder().build(); in testRangingWithInvalidParameterCombination()
/frameworks/base/wifi/aidl-export/android/net/wifi/rtt/
DRangingRequest.aidl19 parcelable RangingRequest;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttNative.java32 import android.net.wifi.rtt.RangingRequest;
184 public boolean rangeRequest(int cmdId, RangingRequest request, in rangeRequest()
280 private static ArrayList<RttConfig> convertRangingRequestToRttConfigs(RangingRequest request, in convertRangingRequestToRttConfigs()
DRttServiceImpl.java36 import android.net.wifi.rtt.RangingRequest;
415 RangingRequest request, IRttCallback callback) throws RemoteException { in startRanging()
700 IBinder.DeathRecipient dr, String callingPackage, RangingRequest request, in queueRangingRequest()
1050 RangingRequest.Builder newRequestBuilder = new RangingRequest.Builder(); in processReceivedAwarePeerMacAddresses()
1132 private List<RangingResult> postProcessResults(RangingRequest request, in postProcessResults()
1231 public RangingRequest request;
DRttMetrics.java27 import android.net.wifi.rtt.RangingRequest;
129 public void recordRequest(WorkSource ws, RangingRequest requests) { in recordRequest()
154 public void recordResult(RangingRequest requests, List<RttResult> results) { in recordResult()
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java11 import android.net.wifi.rtt.RangingRequest;
953 RangingRequest.Builder builder = new RangingRequest.Builder(); in startRanging()
/frameworks/base/api/
Dsystem-lint-baseline.txt38 MissingNullability: android.net.wifi.rtt.RangingRequest.Builder#addResponder(android.net.wifi.rtt.R…
271 …ndroid.net.wifi.rtt.WifiRttManager#startRanging(android.net.wifi.rtt.RangingRequest, java.util.con…
Dsystem-current.txt5688 public static final class RangingRequest.Builder {
5689 …method public android.net.wifi.rtt.RangingRequest.Builder addResponder(@NonNull android.net.wifi.r…
5736 …nging(@Nullable android.os.WorkSource, @NonNull android.net.wifi.rtt.RangingRequest, @NonNull java…
Dcurrent.txt30919 public final class RangingRequest implements android.os.Parcelable {
30923 …ull public static final android.os.Parcelable.Creator<android.net.wifi.rtt.RangingRequest> CREATOR;
30926 public static final class RangingRequest.Builder {
30927 ctor public RangingRequest.Builder();
30928 …method public android.net.wifi.rtt.RangingRequest.Builder addAccessPoint(@NonNull android.net.wifi…
30929 …method public android.net.wifi.rtt.RangingRequest.Builder addAccessPoints(@NonNull java.util.List<…
30930 …method public android.net.wifi.rtt.RangingRequest.Builder addWifiAwarePeer(@NonNull android.net.Ma…
30931 …method public android.net.wifi.rtt.RangingRequest.Builder addWifiAwarePeer(@NonNull android.net.wi…
30932 method public android.net.wifi.rtt.RangingRequest build();
31004 …_WIFI_STATE}) public void startRanging(@NonNull android.net.wifi.rtt.RangingRequest, @NonNull java…
/frameworks/base/proto/src/
Dwifi.proto1708 // Histogram of number of peers in a single RTT request (RangingRequest entries)
/frameworks/base/non-updatable-api/
Dsystem-current.txt5594 public static final class RangingRequest.Builder {
5595 …method public android.net.wifi.rtt.RangingRequest.Builder addResponder(@NonNull android.net.wifi.r…
5642 …nging(@Nullable android.os.WorkSource, @NonNull android.net.wifi.rtt.RangingRequest, @NonNull java…
Dcurrent.txt30775 public final class RangingRequest implements android.os.Parcelable {
30779 …ull public static final android.os.Parcelable.Creator<android.net.wifi.rtt.RangingRequest> CREATOR;
30782 public static final class RangingRequest.Builder {
30783 ctor public RangingRequest.Builder();
30784 …method public android.net.wifi.rtt.RangingRequest.Builder addAccessPoint(@NonNull android.net.wifi…
30785 …method public android.net.wifi.rtt.RangingRequest.Builder addAccessPoints(@NonNull java.util.List<…
30786 …method public android.net.wifi.rtt.RangingRequest.Builder addWifiAwarePeer(@NonNull android.net.Ma…
30787 …method public android.net.wifi.rtt.RangingRequest.Builder addWifiAwarePeer(@NonNull android.net.wi…
30788 method public android.net.wifi.rtt.RangingRequest build();
30860 …_WIFI_STATE}) public void startRanging(@NonNull android.net.wifi.rtt.RangingRequest, @NonNull java…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46912 …inder;Ljava/lang/String;Landroid/os/WorkSource;Landroid/net/wifi/rtt/RangingRequest;Landroid/net/w…
46921 …inder;Ljava/lang/String;Landroid/os/WorkSource;Landroid/net/wifi/rtt/RangingRequest;Landroid/net/w…
46922 Landroid/net/wifi/rtt/RangingRequest$Builder;->mRttPeers:Ljava/util/List;
46923 Landroid/net/wifi/rtt/RangingRequest;-><init>(Ljava/util/List;)V
46924 Landroid/net/wifi/rtt/RangingRequest;->enforceValidity(Z)V
46925 Landroid/net/wifi/rtt/RangingRequest;->MAX_PEERS:I
46926 Landroid/net/wifi/rtt/RangingRequest;->mRttPeers:Ljava/util/List;