Home
last modified time | relevance | path

Searched refs:networkSpecifier (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java276 public void onDataPathInitiateSuccess(WifiAwareNetworkSpecifier networkSpecifier, int ndpId) { in onDataPathInitiateSuccess() argument
279 "onDataPathInitiateSuccess: networkSpecifier=" + networkSpecifier + ", ndpId=" in onDataPathInitiateSuccess()
283 AwareNetworkRequestInformation nnri = mNetworkRequestsCache.get(networkSpecifier); in onDataPathInitiateSuccess()
286 + networkSpecifier); in onDataPathInitiateSuccess()
295 mNetworkRequestsCache.remove(networkSpecifier); in onDataPathInitiateSuccess()
310 public void onDataPathInitiateFail(WifiAwareNetworkSpecifier networkSpecifier, int reason) { in onDataPathInitiateFail() argument
313 "onDataPathInitiateFail: networkSpecifier=" + networkSpecifier + ", reason=" in onDataPathInitiateFail()
317 AwareNetworkRequestInformation nnri = mNetworkRequestsCache.remove(networkSpecifier); in onDataPathInitiateFail()
320 + networkSpecifier); in onDataPathInitiateFail()
331 mAwareMetrics.recordNdpStatus(reason, networkSpecifier.isOutOfBand(), nnri.startTimestamp); in onDataPathInitiateFail()
[all …]
DWifiAwareStateManager.java782 public void initiateDataPathSetup(WifiAwareNetworkSpecifier networkSpecifier, int peerId, in initiateDataPathSetup() argument
787 msg.obj = networkSpecifier; in initiateDataPathSetup()
1241 WifiAwareNetworkSpecifier networkSpecifier = in processMessage() local
1246 + networkSpecifier); in processMessage()
1249 mDataPathMgr.handleDataPathTimeout(networkSpecifier); in processMessage()
1250 mDataPathConfirmTimeoutMessages.remove(networkSpecifier); in processMessage()
1484 WifiAwareNetworkSpecifier networkSpecifier = mDataPathMgr.onDataPathRequest( in processNotification() local
1488 if (networkSpecifier != null) { in processNotification()
1491 0, 0, networkSpecifier); in processNotification()
1492 mDataPathConfirmTimeoutMessages.put(networkSpecifier, timeout); in processNotification()
[all …]
DWifiAwareMetrics.java416 boolean isSecure = !TextUtils.isEmpty(anri.networkSpecifier.passphrase) || ( in recordNdpCreation()
417 anri.networkSpecifier.pmk != null && anri.networkSpecifier.pmk.length != 0); in recordNdpCreation()
/frameworks/base/core/java/android/net/
DNetworkRequest.java311 public Builder setNetworkSpecifier(String networkSpecifier) { in setNetworkSpecifier() argument
317 return setNetworkSpecifier(TextUtils.isEmpty(networkSpecifier) ? null in setNetworkSpecifier()
318 : new StringNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
331 public Builder setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() argument
332 MatchAllNetworkSpecifier.checkNotMatchAllNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
333 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
DNetworkCapabilities.java948 public @NonNull NetworkCapabilities setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() argument
949 if (networkSpecifier != null && Long.bitCount(mTransportTypes) != 1) { in setNetworkSpecifier()
954 mNetworkSpecifier = networkSpecifier; in setNetworkSpecifier()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java3228 NetworkSpecifier networkSpecifier = networkCapabilities.getNetworkSpecifier(); in verifyNetworkCapabilities() local
3229 assertTrue(networkSpecifier instanceof WifiNetworkAgentSpecifier); in verifyNetworkCapabilities()
3231 (WifiNetworkAgentSpecifier) networkSpecifier; in verifyNetworkCapabilities()
3261 NetworkSpecifier networkSpecifier = networkCapabilities.getNetworkSpecifier(); in verifyNetworkCapabilitiesForSpecificRequest() local
3262 assertTrue(networkSpecifier instanceof WifiNetworkAgentSpecifier); in verifyNetworkCapabilitiesForSpecificRequest()
3264 (WifiNetworkAgentSpecifier) networkSpecifier; in verifyNetworkCapabilitiesForSpecificRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java641 anri.networkSpecifier = ns; in addNetworkInfoToCache()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java687 public void setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() argument
688 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
3216 UidAwareNetworkSpecifier networkSpecifier = new UidAwareNetworkSpecifier(); in testNetworkSpecifierUidSpoofSecurityException() local
3218 networkSpecifier).build(); in testNetworkSpecifierUidSpoofSecurityException()