Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java301 public boolean onDataPathInitiateSuccess(WifiAwareNetworkSpecifier networkSpecifier, in onDataPathInitiateSuccess() argument
305 "onDataPathInitiateSuccess: networkSpecifier=" + networkSpecifier + ", ndpId=" in onDataPathInitiateSuccess()
309 AwareNetworkRequestInformation nnri = mNetworkRequestsCache.get(networkSpecifier); in onDataPathInitiateSuccess()
312 + networkSpecifier); in onDataPathInitiateSuccess()
322 mNetworkRequestsCache.remove(networkSpecifier); in onDataPathInitiateSuccess()
343 public void onDataPathInitiateFail(WifiAwareNetworkSpecifier networkSpecifier, int reason) { in onDataPathInitiateFail() argument
346 "onDataPathInitiateFail: networkSpecifier=" + networkSpecifier + ", reason=" in onDataPathInitiateFail()
350 AwareNetworkRequestInformation nnri = mNetworkRequestsCache.remove(networkSpecifier); in onDataPathInitiateFail()
353 + networkSpecifier); in onDataPathInitiateFail()
364 mAwareMetrics.recordNdpStatus(reason, networkSpecifier.isOutOfBand(), in onDataPathInitiateFail()
[all …]
DWifiAwareMetrics.java420 boolean isSecure = !TextUtils.isEmpty(anri.networkSpecifier.passphrase) || ( in recordNdpCreation()
421 anri.networkSpecifier.pmk != null && anri.networkSpecifier.pmk.length != 0); in recordNdpCreation()
DWifiAwareStateManager.java929 public void initiateDataPathSetup(WifiAwareNetworkSpecifier networkSpecifier, int peerId, in initiateDataPathSetup() argument
934 msg.obj = networkSpecifier; in initiateDataPathSetup()
1915 WifiAwareNetworkSpecifier networkSpecifier = in processCommand() local
1929 networkSpecifier, peerId, channelRequestType, channel, peer, in processCommand()
2711 WifiAwareNetworkSpecifier networkSpecifier, int peerId, int channelRequestType, in initiateDataPathSetupLocal() argument
2716 + ", networkSpecifier=" + networkSpecifier + ", peerId=" + peerId in initiateDataPathSetupLocal()
2729 mDataPathMgr.onDataPathInitiateFail(networkSpecifier, NanStatusType.INTERNAL_FAILURE); in initiateDataPathSetupLocal()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java427 public Builder setNetworkSpecifier(String networkSpecifier) { in setNetworkSpecifier() argument
429 int subId = Integer.parseInt(networkSpecifier); in setNetworkSpecifier()
437 if (TextUtils.isEmpty(networkSpecifier)) { in setNetworkSpecifier()
440 return setNetworkSpecifier(new TestNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
442 return setNetworkSpecifier(new EthernetNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
457 public Builder setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() argument
458 if (networkSpecifier instanceof MatchAllNetworkSpecifier) { in setNetworkSpecifier()
461 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
DNetworkCapabilities.java1355 @NonNull NetworkSpecifier networkSpecifier) { in setNetworkSpecifier()
1356 if (networkSpecifier != null && Long.bitCount(mTransportTypes) != 1) { in setNetworkSpecifier()
1361 mNetworkSpecifier = networkSpecifier; in setNetworkSpecifier()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java247 public void setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() argument
248 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java707 anri.networkSpecifier = ns; in addNetworkInfoToCache()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java4410 NetworkSpecifier networkSpecifier = networkCapabilities.getNetworkSpecifier(); in verifyNetworkCapabilitiesForSpecificRequest() local
4411 assertTrue(networkSpecifier instanceof WifiNetworkAgentSpecifier); in verifyNetworkCapabilitiesForSpecificRequest()
4413 (WifiNetworkAgentSpecifier) networkSpecifier; in verifyNetworkCapabilitiesForSpecificRequest()