/frameworks/base/wifi/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 | 19 import static android.net.wifi.aware.WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB; 961 WifiAwareNetworkSpecifier ns = in testNetworkSpecifierWithClient() 962 (WifiAwareNetworkSpecifier) publishSession.getValue().createNetworkSpecifierOpen( in testNetworkSpecifierWithClient() 964 WifiAwareNetworkSpecifier nsb = new WifiAwareNetworkSpecifier.Builder( in testNetworkSpecifierWithClient() 983 ns = (WifiAwareNetworkSpecifier) publishSession.getValue().createNetworkSpecifierPmk( in testNetworkSpecifierWithClient() 985 nsb = new WifiAwareNetworkSpecifier.Builder(publishSession.getValue(), peerHandle).setPmk( in testNetworkSpecifierWithClient() 1007 (WifiAwareNetworkSpecifier) publishSession.getValue() in testNetworkSpecifierWithClient() 1010 nsb = new WifiAwareNetworkSpecifier.Builder(publishSession.getValue(), in testNetworkSpecifierWithClient() 1066 WifiAwareNetworkSpecifier ns = in testNetworkSpecifierDirect() 1067 (WifiAwareNetworkSpecifier) session.createNetworkSpecifierOpen(role, someMac); in testNetworkSpecifierDirect() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | WifiAwareNetworkSpecifier.java | 37 public final class WifiAwareNetworkSpecifier extends NetworkSpecifier implements Parcelable { class 158 public WifiAwareNetworkSpecifier(int type, int role, int clientId, int sessionId, int peerId, in WifiAwareNetworkSpecifier() method in WifiAwareNetworkSpecifier 174 public static final @android.annotation.NonNull Creator<WifiAwareNetworkSpecifier> CREATOR = 175 new Creator<WifiAwareNetworkSpecifier>() { 177 public WifiAwareNetworkSpecifier createFromParcel(Parcel in) { 178 return new WifiAwareNetworkSpecifier( 193 public WifiAwareNetworkSpecifier[] newArray(int size) { 194 return new WifiAwareNetworkSpecifier[size]; 252 if (!(obj instanceof WifiAwareNetworkSpecifier)) { in equals() 256 WifiAwareNetworkSpecifier lhs = (WifiAwareNetworkSpecifier) obj; in equals() [all …]
|
D | WifiAwareAgentNetworkSpecifier.java | 54 public WifiAwareAgentNetworkSpecifier(WifiAwareNetworkSpecifier ns) { in WifiAwareAgentNetworkSpecifier() 59 public WifiAwareAgentNetworkSpecifier(WifiAwareNetworkSpecifier[] nss) { in WifiAwareAgentNetworkSpecifier() 61 for (WifiAwareNetworkSpecifier ns : nss) { in WifiAwareAgentNetworkSpecifier() 140 public boolean satisfiesAwareNetworkSpecifier(WifiAwareNetworkSpecifier ns) { in satisfiesAwareNetworkSpecifier() 160 private ByteArrayWrapper convert(WifiAwareNetworkSpecifier ns) { in convert()
|
D | WifiAwareManager.java | 426 return new WifiAwareNetworkSpecifier( in createNetworkSpecifier() 427 (peerHandle == null) ? WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB_ANY_PEER in createNetworkSpecifier() 428 : WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB, in createNetworkSpecifier() 467 return new WifiAwareNetworkSpecifier( in createNetworkSpecifier() 468 (peer == null) ? WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB_ANY_PEER in createNetworkSpecifier() 469 : WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_OOB, in createNetworkSpecifier()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 43 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 112 private final Map<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> 168 private Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> 170 for (Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> entry : in getNetworkRequestByNdpId() 180 private Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> 183 for (Map.Entry<WifiAwareNetworkSpecifier, AwareNetworkRequestInformation> entry : in getNetworkRequestByCanonicalDescriptor() 276 public void onDataPathInitiateSuccess(WifiAwareNetworkSpecifier networkSpecifier, int ndpId) { in onDataPathInitiateSuccess() 310 public void onDataPathInitiateFail(WifiAwareNetworkSpecifier networkSpecifier, int reason) { in onDataPathInitiateFail() 346 public WifiAwareNetworkSpecifier onDataPathRequest(int pubSubId, byte[] mac, int ndpId, in onDataPathRequest() 354 WifiAwareNetworkSpecifier networkSpecifier = null; in onDataPathRequest() [all …]
|
D | WifiAwareStateManager.java | 35 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 782 public void initiateDataPathSetup(WifiAwareNetworkSpecifier networkSpecifier, int peerId, in initiateDataPathSetup() 1207 private final Map<WifiAwareNetworkSpecifier, WakeupMessage> 1241 WifiAwareNetworkSpecifier networkSpecifier = in processMessage() 1242 (WifiAwareNetworkSpecifier) msg.obj; in processMessage() 1484 WifiAwareNetworkSpecifier networkSpecifier = mDataPathMgr.onDataPathRequest( in processNotification() 1500 WifiAwareNetworkSpecifier networkSpecifier = mDataPathMgr.onDataPathConfirm( in processNotification() 1718 WifiAwareNetworkSpecifier networkSpecifier = in processCommand() 1719 (WifiAwareNetworkSpecifier) msg.obj; in processCommand() 2482 WifiAwareNetworkSpecifier networkSpecifier, int peerId, int channelRequestType, in initiateDataPathSetupLocal() [all …]
|
D | WifiAwareMetrics.java | 20 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 396 Map<WifiAwareNetworkSpecifier, WifiAwareDataPathStateManager in recordNdpCreation() argument
|
/frameworks/base/tests/net/common/java/android/net/ |
D | MatchAllNetworkSpecifierTest.kt | 21 import android.net.wifi.aware.WifiAwareNetworkSpecifier 46 val wifiAwareNetworkSpecifier = WifiAwareNetworkSpecifier.Builder(discoverySession, in testCanBeSatisfiedBy()
|
D | NetworkCapabilitiesTest.java | 58 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 725 final WifiAwareNetworkSpecifier specifier = new WifiAwareNetworkSpecifier.Builder( in testWifiAwareNetworkSpecifier()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 28 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 447 Map<WifiAwareNetworkSpecifier, WifiAwareDataPathStateManager.AwareNetworkRequestInformation> in testDataPathMetrics() 460 WifiAwareNetworkSpecifier ns = addNetworkInfoToCache(networkRequestCache, 11, uid2, ndi0, in testDataPathMetrics() 633 private WifiAwareNetworkSpecifier addNetworkInfoToCache( in addNetworkInfoToCache() 634 Map<WifiAwareNetworkSpecifier, WifiAwareDataPathStateManager in addNetworkInfoToCache() argument 637 WifiAwareNetworkSpecifier ns = new WifiAwareNetworkSpecifier(0, 0, 0, index, 0, null, null, in addNetworkInfoToCache()
|
D | WifiAwareDataPathStateManagerTest.java | 68 import android.net.wifi.aware.WifiAwareNetworkSpecifier; 1189 WifiAwareNetworkSpecifier ns = in testDataPathInitiatorResponderMismatchUtility() 1190 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderMismatchUtility() 1191 ns = new WifiAwareNetworkSpecifier( in testDataPathInitiatorResponderMismatchUtility() 1248 WifiAwareNetworkSpecifier ns = in testDataPathInitiatorResponderInvalidUidUtility() 1249 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderInvalidUidUtility() 1250 ns = new WifiAwareNetworkSpecifier( in testDataPathInitiatorResponderInvalidUidUtility() 1842 return new WifiAwareNetworkSpecifier( in createNetworkSpecifier() 1843 (peerHandle == null) ? WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB_ANY_PEER in createNetworkSpecifier() 1844 : WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB, in createNetworkSpecifier() [all …]
|
/frameworks/base/api/ |
D | system-current.txt | 5623 public static final class WifiAwareNetworkSpecifier.Builder { 5624 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPmk(@NonNull by…
|
D | current.txt | 30518 …public final class WifiAwareNetworkSpecifier extends android.net.NetworkSpecifier implements andro… 30521 …atic final android.os.Parcelable.Creator<android.net.wifi.aware.WifiAwareNetworkSpecifier> CREATOR; 30524 public static final class WifiAwareNetworkSpecifier.Builder { 30525 …ctor public WifiAwareNetworkSpecifier.Builder(@NonNull android.net.wifi.aware.DiscoverySession, @N… 30526 method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier build(); 30527 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPort(@IntRange(… 30528 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPskPassphrase(@… 30529 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setTransportProtoc…
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 5529 public static final class WifiAwareNetworkSpecifier.Builder { 5530 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPmk(@NonNull by…
|
D | current.txt | 30374 …public final class WifiAwareNetworkSpecifier extends android.net.NetworkSpecifier implements andro… 30377 …atic final android.os.Parcelable.Creator<android.net.wifi.aware.WifiAwareNetworkSpecifier> CREATOR; 30380 public static final class WifiAwareNetworkSpecifier.Builder { 30381 …ctor public WifiAwareNetworkSpecifier.Builder(@NonNull android.net.wifi.aware.DiscoverySession, @N… 30382 method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier build(); 30383 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPort(@IntRange(… 30384 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPskPassphrase(@… 30385 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setTransportProtoc…
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 45764 …/aware/WifiAwareAgentNetworkSpecifier;-><init>(Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;)V 45765 …aware/WifiAwareAgentNetworkSpecifier;-><init>([Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;)V 45767 …ifiAwareAgentNetworkSpecifier;->convert(Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;)Landroi… 45774 …workSpecifier;->satisfiesAwareNetworkSpecifier(Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;)Z 45835 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;-><init>(IIIII[B[BLjava/lang/String;I)V 45836 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->assertValidFromUid(I)V 45837 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->clientId:I 45838 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->CREATOR:Landroid/os/Parcelable$Creator; 45839 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->isOutOfBand()Z 45840 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->NETWORK_SPECIFIER_TYPE_IB:I [all …]
|