Home
last modified time | relevance | path

Searched refs:ResponderConfig (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/rtt/
DResponderConfig.java47 public final class ResponderConfig implements Parcelable { class
201 public ResponderConfig(@NonNull MacAddress macAddress, @ResponderType int responderType, in ResponderConfig() method in ResponderConfig
240 public ResponderConfig(@NonNull PeerHandle peerHandle, @ResponderType int responderType, in ResponderConfig() method in ResponderConfig
278 public ResponderConfig(@NonNull MacAddress macAddress, @NonNull PeerHandle peerHandle, in ResponderConfig() method in ResponderConfig
297 public static ResponderConfig fromScanResult(ScanResult scanResult) { in fromScanResult()
333 return new ResponderConfig(macAddress, responderType, supports80211mc, channelWidth, in fromScanResult()
341 public static ResponderConfig fromWifiAwarePeerMacAddressWithDefaults(MacAddress macAddress) { in fromWifiAwarePeerMacAddressWithDefaults()
347 return new ResponderConfig(macAddress, RESPONDER_AWARE, true, CHANNEL_WIDTH_20MHZ, in fromWifiAwarePeerMacAddressWithDefaults()
355 public static ResponderConfig fromWifiAwarePeerHandleWithDefaults(PeerHandle peerHandle) { in fromWifiAwarePeerHandleWithDefaults()
361 return new ResponderConfig(peerHandle, RESPONDER_AWARE, true, CHANNEL_WIDTH_20MHZ, in fromWifiAwarePeerHandleWithDefaults()
[all …]
DRangingRequest.java63 public final List<ResponderConfig> mRttPeers;
66 private RangingRequest(List<ResponderConfig> rttPeers) { in RangingRequest()
96 for (ResponderConfig rc : mRttPeers) { in toString()
109 for (ResponderConfig peer: mRttPeers) { in enforceValidity()
120 private List<ResponderConfig> mRttPeers = new ArrayList<>();
140 return addResponder(ResponderConfig.fromScanResult(apInfo)); in addAccessPoint()
191 ResponderConfig.fromWifiAwarePeerMacAddressWithDefaults(peerMacAddress)); in addWifiAwarePeer()
216 return addResponder(ResponderConfig.fromWifiAwarePeerHandleWithDefaults(peerHandle)); in addWifiAwarePeer()
230 public Builder addResponder(@NonNull ResponderConfig responder) { in addResponder()
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java308 ResponderConfig config = new ResponderConfig(MacAddress.fromString("00:01:02:03:04:05"), in testResponderConfigParcel()
309 ResponderConfig.RESPONDER_AP, true, ResponderConfig.CHANNEL_WIDTH_80MHZ, 2134, 2345, in testResponderConfigParcel()
310 2555, ResponderConfig.PREAMBLE_LEGACY); in testResponderConfigParcel()
320 ResponderConfig rereadConfig = ResponderConfig.CREATOR.createFromParcel(parcelR); in testResponderConfigParcel()
325 config = new ResponderConfig(new PeerHandle(10), ResponderConfig.RESPONDER_AWARE, false, in testResponderConfigParcel()
326 ResponderConfig.CHANNEL_WIDTH_80MHZ_PLUS_MHZ, 5555, 6666, 7777, in testResponderConfigParcel()
327 ResponderConfig.PREAMBLE_VHT); in testResponderConfigParcel()
337 rereadConfig = ResponderConfig.CREATOR.createFromParcel(parcelR); in testResponderConfigParcel()
360 scan.channelWidth = ResponderConfig.CHANNEL_WIDTH_80MHZ; in testResponderPreambleSelection()
362 ResponderConfig config = ResponderConfig.fromScanResult(scan); in testResponderPreambleSelection()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttNative.java33 import android.net.wifi.rtt.ResponderConfig;
286 for (ResponderConfig responder: request.mRttPeers) { in convertRangingRequestToRttConfigs()
369 case ResponderConfig.RESPONDER_AP: in halRttPeerTypeFromResponderType()
371 case ResponderConfig.RESPONDER_STA: in halRttPeerTypeFromResponderType()
373 case ResponderConfig.RESPONDER_P2P_GO: in halRttPeerTypeFromResponderType()
375 case ResponderConfig.RESPONDER_P2P_CLIENT: in halRttPeerTypeFromResponderType()
377 case ResponderConfig.RESPONDER_AWARE: in halRttPeerTypeFromResponderType()
387 case ResponderConfig.CHANNEL_WIDTH_20MHZ: in halChannelWidthFromResponderChannelWidth()
389 case ResponderConfig.CHANNEL_WIDTH_40MHZ: in halChannelWidthFromResponderChannelWidth()
391 case ResponderConfig.CHANNEL_WIDTH_80MHZ: in halChannelWidthFromResponderChannelWidth()
[all …]
DRttMetrics.java28 import android.net.wifi.rtt.ResponderConfig;
134 for (ResponderConfig request : requests.mRttPeers) { in recordRequest()
138 if (request.responderType == ResponderConfig.RESPONDER_AWARE) { in recordRequest()
140 } else if (request.responderType == ResponderConfig.RESPONDER_AP) { in recordRequest()
155 Map<MacAddress, ResponderConfig> requestEntries = new HashMap<>(); in recordResult()
156 for (ResponderConfig responder : requests.mRttPeers) { in recordResult()
165 ResponderConfig responder = requestEntries.remove( in recordResult()
174 if (responder.responderType == ResponderConfig.RESPONDER_AP) { in recordResult()
176 } else if (responder.responderType == ResponderConfig.RESPONDER_AWARE) { in recordResult()
184 for (ResponderConfig responder : requestEntries.values()) { in recordResult()
[all …]
DRttServiceImpl.java39 import android.net.wifi.rtt.ResponderConfig;
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()
856 if (responderConfig.responderType == ResponderConfig.RESPONDER_AWARE) { in startRanging()
988 for (ResponderConfig rttPeer : request.request.mRttPeers) { in processAwarePeerHandles()
1051 for (ResponderConfig rttPeer : request.request.mRttPeers) { in processReceivedAwarePeerMacAddresses()
1059 newRequestBuilder.addResponder(new ResponderConfig( in processReceivedAwarePeerMacAddresses()
1141 for (ResponderConfig peer : request.mRttPeers) { in postProcessResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttNativeTest.java46 import android.net.wifi.rtt.ResponderConfig;
477 ResponderConfig invalidConfig = new ResponderConfig( in testRangingWithInvalidParameterCombination()
478 MacAddress.fromString("08:09:08:07:06:88"), ResponderConfig.RESPONDER_AP, true, in testRangingWithInvalidParameterCombination()
479 ResponderConfig.CHANNEL_WIDTH_80MHZ, 0, 0, 0, ResponderConfig.PREAMBLE_HT); in testRangingWithInvalidParameterCombination()
480 ResponderConfig config = new ResponderConfig(MacAddress.fromString("08:09:08:07:06:89"), in testRangingWithInvalidParameterCombination()
481 ResponderConfig.RESPONDER_AP, true, in testRangingWithInvalidParameterCombination()
482 ResponderConfig.CHANNEL_WIDTH_80MHZ, 0, 0, 0, ResponderConfig.PREAMBLE_VHT); in testRangingWithInvalidParameterCombination()
DRttMetricsTest.java26 import android.net.wifi.rtt.ResponderConfig;
566 builder.addResponder(new ResponderConfig(MacAddress.fromBytes(dummyMacBase), in getDummyRangingRequest()
567 ResponderConfig.RESPONDER_AP, true, 0, 0, 0, 0, 0)); in getDummyRangingRequest()
571 builder.addResponder(new ResponderConfig(MacAddress.fromBytes(dummyMacBase), in getDummyRangingRequest()
572 ResponderConfig.RESPONDER_AWARE, true, 0, 0, 0, 0, 0)); in getDummyRangingRequest()
583 for (ResponderConfig peer : request.mRttPeers) { in getDummyRangingResults()
DRttTestUtils.java25 import android.net.wifi.rtt.ResponderConfig;
130 for (ResponderConfig peer: request.mRttPeers) { in getDummyRangingResults()
DRttServiceImplTest.java61 import android.net.wifi.rtt.ResponderConfig;
312 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()
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java970 android.net.wifi.rtt.ResponderConfig.fromScanResult(reconstructed)); in startRanging()
1042 public abstract void onResponderEnabled(ResponderConfig config); in onResponderEnabled()
1096 public static class ResponderConfig implements Parcelable { class in RttManager
1163 … public static final @android.annotation.NonNull Parcelable.Creator<ResponderConfig> CREATOR =
1164 new Parcelable.Creator<ResponderConfig>() {
1166 public ResponderConfig createFromParcel(Parcel in) {
1167 ResponderConfig config = new ResponderConfig();
1178 public ResponderConfig[] newArray(int size) {
1179 return new ResponderConfig[size];
/frameworks/base/wifi/aidl-export/android/net/wifi/rtt/
DResponderConfig.aidl19 parcelable ResponderConfig;
/frameworks/base/api/
Dsystem-lint-baseline.txt38 …ty: android.net.wifi.rtt.RangingRequest.Builder#addResponder(android.net.wifi.rtt.ResponderConfig):
Dsystem-current.txt5232 …d @Deprecated public abstract void onResponderEnabled(android.net.wifi.RttManager.ResponderConfig);
5235 @Deprecated public static class RttManager.ResponderConfig implements android.os.Parcelable {
5236 ctor @Deprecated public RttManager.ResponderConfig();
5239 …ic static final android.os.Parcelable.Creator<android.net.wifi.RttManager.ResponderConfig> CREATOR;
5689 …id.net.wifi.rtt.RangingRequest.Builder addResponder(@NonNull android.net.wifi.rtt.ResponderConfig);
5697 public final class ResponderConfig implements android.os.Parcelable {
5698 …ctor public ResponderConfig(@NonNull android.net.MacAddress, int, boolean, int, int, int, int, int…
5699 …ctor public ResponderConfig(@NonNull android.net.wifi.aware.PeerHandle, int, boolean, int, int, in…
5701 …method public static android.net.wifi.rtt.ResponderConfig fromScanResult(android.net.wifi.ScanResu…
5702 …method public static android.net.wifi.rtt.ResponderConfig fromWifiAwarePeerHandleWithDefaults(andr…
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt5138 …d @Deprecated public abstract void onResponderEnabled(android.net.wifi.RttManager.ResponderConfig);
5141 @Deprecated public static class RttManager.ResponderConfig implements android.os.Parcelable {
5142 ctor @Deprecated public RttManager.ResponderConfig();
5145 …ic static final android.os.Parcelable.Creator<android.net.wifi.RttManager.ResponderConfig> CREATOR;
5595 …id.net.wifi.rtt.RangingRequest.Builder addResponder(@NonNull android.net.wifi.rtt.ResponderConfig);
5603 public final class ResponderConfig implements android.os.Parcelable {
5604 …ctor public ResponderConfig(@NonNull android.net.MacAddress, int, boolean, int, int, int, int, int…
5605 …ctor public ResponderConfig(@NonNull android.net.wifi.aware.PeerHandle, int, boolean, int, int, in…
5607 …method public static android.net.wifi.rtt.ResponderConfig fromScanResult(android.net.wifi.ScanResu…
5608 …method public static android.net.wifi.rtt.ResponderConfig fromWifiAwarePeerHandleWithDefaults(andr…
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46942 Landroid/net/wifi/rtt/ResponderConfig;-><init>(Landroid/net/MacAddress;Landroid/net/wifi/aware/Peer…
46943 Landroid/net/wifi/rtt/ResponderConfig;->AWARE_BAND_2_DISCOVERY_CHANNEL:I
46944 Landroid/net/wifi/rtt/ResponderConfig;->isValid(Z)Z
46945 Landroid/net/wifi/rtt/ResponderConfig;->TAG:Ljava/lang/String;
46946 Landroid/net/wifi/rtt/ResponderConfig;->translateScanResultChannelWidth(I)I