/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareAgentNetworkSpecifierTest.java | 46 Set<WifiAwareNetworkSpecifier> nsSet = new HashSet<>(); in testParcel() 51 nsSet.toArray(new WifiAwareNetworkSpecifier[numNs])); in testParcel() 69 for (WifiAwareNetworkSpecifier ns : nsSet) { in testParcel() 81 WifiAwareNetworkSpecifier ns = getMockNetworkSpecifier(6); in testEmptyDoesntMatchAnything() 91 WifiAwareNetworkSpecifier nsThis = getMockNetworkSpecifier(6); in testSingleMatch() 93 WifiAwareNetworkSpecifier nsOther = getMockNetworkSpecifier(8); in testSingleMatch() 106 Set<WifiAwareNetworkSpecifier> nsSet = new HashSet<>(); in testMultipleMatchesAllMembers() 112 nsSet.toArray(new WifiAwareNetworkSpecifier[numNs])); in testMultipleMatchesAllMembers() 113 WifiAwareNetworkSpecifier nsOther = getMockNetworkSpecifier(10000); in testMultipleMatchesAllMembers() 115 for (WifiAwareNetworkSpecifier nsThis: nsSet) { in testMultipleMatchesAllMembers() [all …]
|
D | WifiAwareManagerTest.java | 20 import static android.net.wifi.aware.WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB; 1026 WifiAwareNetworkSpecifier ns = in testNetworkSpecifierWithClient() 1027 (WifiAwareNetworkSpecifier) publishSession.getValue().createNetworkSpecifierOpen( in testNetworkSpecifierWithClient() 1029 WifiAwareNetworkSpecifier nsb = new WifiAwareNetworkSpecifier.Builder( in testNetworkSpecifierWithClient() 1048 ns = (WifiAwareNetworkSpecifier) publishSession.getValue().createNetworkSpecifierPmk( in testNetworkSpecifierWithClient() 1050 nsb = new WifiAwareNetworkSpecifier.Builder(publishSession.getValue(), peerHandle).setPmk( in testNetworkSpecifierWithClient() 1072 (WifiAwareNetworkSpecifier) publishSession.getValue() in testNetworkSpecifierWithClient() 1075 nsb = new WifiAwareNetworkSpecifier.Builder(publishSession.getValue(), in testNetworkSpecifierWithClient() 1131 WifiAwareNetworkSpecifier ns = in testNetworkSpecifierDirect() 1132 (WifiAwareNetworkSpecifier) session.createNetworkSpecifierOpen(role, someMac); in testNetworkSpecifierDirect() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareNetworkSpecifier.java | 43 public final class WifiAwareNetworkSpecifier extends NetworkSpecifier implements Parcelable { class 155 public WifiAwareNetworkSpecifier(int type, int role, int clientId, int sessionId, int peerId, in WifiAwareNetworkSpecifier() method in WifiAwareNetworkSpecifier 169 public static final @android.annotation.NonNull Creator<WifiAwareNetworkSpecifier> CREATOR = 170 new Creator<WifiAwareNetworkSpecifier>() { 172 public WifiAwareNetworkSpecifier createFromParcel(Parcel in) { 173 return new WifiAwareNetworkSpecifier( 187 public WifiAwareNetworkSpecifier[] newArray(int size) { 188 return new WifiAwareNetworkSpecifier[size]; 245 if (!(obj instanceof WifiAwareNetworkSpecifier)) { in equals() 249 WifiAwareNetworkSpecifier lhs = (WifiAwareNetworkSpecifier) obj; in equals() [all …]
|
D | WifiAwareAgentNetworkSpecifier.java | 53 public WifiAwareAgentNetworkSpecifier(WifiAwareNetworkSpecifier ns) { in WifiAwareAgentNetworkSpecifier() 58 public WifiAwareAgentNetworkSpecifier(WifiAwareNetworkSpecifier[] nss) { in WifiAwareAgentNetworkSpecifier() 60 for (WifiAwareNetworkSpecifier ns : nss) { in WifiAwareAgentNetworkSpecifier() 139 public boolean satisfiesAwareNetworkSpecifier(WifiAwareNetworkSpecifier ns) { in satisfiesAwareNetworkSpecifier() 159 private ByteArrayWrapper convert(WifiAwareNetworkSpecifier ns) { in convert()
|
D | WifiAwareManager.java | 543 return new WifiAwareNetworkSpecifier( in createNetworkSpecifier() 544 (peerHandle == null) ? WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB_ANY_PEER in createNetworkSpecifier() 545 : WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB, in createNetworkSpecifier() 583 return new WifiAwareNetworkSpecifier( in createNetworkSpecifier() 584 (peer == null) ? WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB_ANY_PEER in createNetworkSpecifier() 585 : WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB, in createNetworkSpecifier()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 43 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 113 private final ArrayMap<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> 193 private Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> 195 for (Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> entry : in getNetworkRequestByNdpId() 205 private Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> 208 for (Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> entry : in getNetworkRequestByCanonicalDescriptor() 301 public boolean onDataPathInitiateSuccess(WifiAwareNetworkSpecifier networkSpecifier, in onDataPathInitiateSuccess() 343 public void onDataPathInitiateFail(WifiAwareNetworkSpecifier networkSpecifier, int reason) { in onDataPathInitiateFail() 390 Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> nnriE = in onDataPathRequest() 422 WifiAwareNetworkSpecifier networkSpecifier = null; in onDataPathRequest() [all …]
|
D | WifiAwareMetrics.java | 19 import static android.net.wifi.aware.WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB; 20 import static android.net.wifi.aware.WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB_ANY_PEER; 21 import static android.net.wifi.aware.WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB; 22 import static android.net.wifi.aware.WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB_ANY_PEER; 25 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 400 Map<WifiAwareNetworkSpecifier, WifiAwareDataPathStateManager in recordNdpCreation() argument
|
D | WifiAwareStateManager.java | 39 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 929 public void initiateDataPathSetup(WifiAwareNetworkSpecifier networkSpecifier, int peerId, in initiateDataPathSetup() 1915 WifiAwareNetworkSpecifier networkSpecifier = in processCommand() 1916 (WifiAwareNetworkSpecifier) msg.obj; in processCommand() 2711 WifiAwareNetworkSpecifier networkSpecifier, int peerId, int channelRequestType, in initiateDataPathSetupLocal() 3160 .onDataPathInitiateSuccess((WifiAwareNetworkSpecifier) command.obj, ndpId); in onInitiateDataPathResponseSuccessLocal() 3169 mDataPathMgr.onDataPathInitiateFail((WifiAwareNetworkSpecifier) command.obj, reason); in onInitiateDataPathResponseFailLocal()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 19 import static android.net.wifi.aware.WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB; 20 import static android.net.wifi.aware.WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB_ANY_PEER; 31 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 477 Map<WifiAwareNetworkSpecifier, WifiAwareDataPathStateManager.AwareNetworkRequestInformation> in testDataPathMetrics() 490 WifiAwareNetworkSpecifier ns = addNetworkInfoToCache(networkRequestCache, 11, uid2, in testDataPathMetrics() 699 private WifiAwareNetworkSpecifier addNetworkInfoToCache( in addNetworkInfoToCache() 700 Map<WifiAwareNetworkSpecifier, WifiAwareDataPathStateManager in addNetworkInfoToCache() argument 703 WifiAwareNetworkSpecifier ns = new WifiAwareNetworkSpecifier(0, 0, 0, index, 0, null, null, in addNetworkInfoToCache()
|
D | WifiAwareDataPathStateManagerTest.java | 70 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 424 WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB); in testDestroyNdiDuringNdpSetupResponder() 512 WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB); in testMultipleNdpsOnSingleNdi() 762 WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB); in testMultipleNdiToSamePeer() 849 WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB); in testMultipleNdiToDifferentPeer() 940 WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB); in testMultipleNdpToDifferentPeerOnSingleNdi() 991 WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB); in testMultipleNdpToDifferentPeerOnSingleNdi() 1325 WifiAwareNetworkSpecifier ns = in testDataPathInitiatorResponderMismatchUtility() 1326 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderMismatchUtility() 1327 ns = new WifiAwareNetworkSpecifier( in testDataPathInitiatorResponderMismatchUtility() [all …]
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | MatchAllNetworkSpecifierTest.kt | 21 import android.net.wifi.aware.WifiAwareNetworkSpecifier 48 private val wifiAwareNetworkSpecifier = WifiAwareNetworkSpecifier.Builder(discoverySession,
|
D | NetworkCapabilitiesTest.java | 69 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 880 final WifiAwareNetworkSpecifier specifier = new WifiAwareNetworkSpecifier.Builder( in testWifiAwareNetworkSpecifier()
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 264 …/aware/WifiAwareAgentNetworkSpecifier;-><init>(Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;)V 265 …aware/WifiAwareAgentNetworkSpecifier;-><init>([Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;)V 267 …ifiAwareAgentNetworkSpecifier;->convert(Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;)Landroi… 274 …workSpecifier;->satisfiesAwareNetworkSpecifier(Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;)Z 335 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;-><init>(IIIII[B[BLjava/lang/String;I)V 336 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->assertValidFromUid(I)V 337 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->clientId:I 338 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->CREATOR:Landroid/os/Parcelable$Creator; 339 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->isOutOfBand()Z 340 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->NETWORK_SPECIFIER_TYPE_IB:I [all …]
|
/packages/modules/Wifi/framework/api/ |
D | current.txt | 799 …public final class WifiAwareNetworkSpecifier extends android.net.NetworkSpecifier implements andro… 802 …atic final android.os.Parcelable.Creator<android.net.wifi.aware.WifiAwareNetworkSpecifier> CREATOR; 805 public static final class WifiAwareNetworkSpecifier.Builder { 806 …ctor public WifiAwareNetworkSpecifier.Builder(@NonNull android.net.wifi.aware.DiscoverySession, @N… 807 …ctor public WifiAwareNetworkSpecifier.Builder(@NonNull android.net.wifi.aware.PublishDiscoverySess… 808 method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier build(); 809 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPmk(@NonNull by… 810 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPort(@IntRange(… 811 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPskPassphrase(@… 812 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setTransportProtoc…
|