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.java319 public Builder setNetworkSpecifier(String networkSpecifier) { in setNetworkSpecifier() argument
321 int subId = Integer.parseInt(networkSpecifier); in setNetworkSpecifier()
328 return setNetworkSpecifier(TextUtils.isEmpty(networkSpecifier) ? null in setNetworkSpecifier()
329 : new StringNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
343 public Builder setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() argument
344 MatchAllNetworkSpecifier.checkNotMatchAllNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
345 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
DNetworkCapabilities.java1174 @NonNull NetworkSpecifier networkSpecifier) { in setNetworkSpecifier()
1175 if (networkSpecifier != null && Long.bitCount(mTransportTypes) != 1) { in setNetworkSpecifier()
1180 mNetworkSpecifier = networkSpecifier; in setNetworkSpecifier()
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java194 public void setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() argument
195 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java3422 NetworkSpecifier networkSpecifier = networkCapabilities.getNetworkSpecifier(); in verifyNetworkCapabilities() local
3423 assertTrue(networkSpecifier instanceof WifiNetworkAgentSpecifier); in verifyNetworkCapabilities()
3425 (WifiNetworkAgentSpecifier) networkSpecifier; in verifyNetworkCapabilities()
3460 NetworkSpecifier networkSpecifier = networkCapabilities.getNetworkSpecifier(); in verifyNetworkCapabilitiesForSpecificRequest() local
3461 assertTrue(networkSpecifier instanceof WifiNetworkAgentSpecifier); in verifyNetworkCapabilitiesForSpecificRequest()
3463 (WifiNetworkAgentSpecifier) networkSpecifier; in verifyNetworkCapabilitiesForSpecificRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java641 anri.networkSpecifier = ns; in addNetworkInfoToCache()