Home
last modified time | relevance | path

Searched refs:networkCapabilities (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/wifi/CtsWifiLocationTestApp/src/android/net/wifi/cts/app/
DRetrieveTransportInfoAndReturnStatusActivity.java47 public NetworkCapabilities networkCapabilities; field in RetrieveTransportInfoAndReturnStatusActivity.TestNetworkCallback
61 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
63 this.networkCapabilities = networkCapabilities; in onCapabilitiesChanged()
91 testNetworkCallback.networkCapabilities.getTransportInfo(); in canRetrieveSsidFromTransportInfo()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNetworkingHelper.java190 NetworkCapabilities networkCapabilities = in hasEthernetConnection() local
192 if (networkCapabilities != null in hasEthernetConnection()
193 && networkCapabilities.hasTransport(TRANSPORT_ETHERNET)) { in hasEthernetConnection()
224 final NetworkCapabilities networkCapabilities = in isWiFiConnected() local
226 return networkCapabilities != null in isWiFiConnected()
227 && networkCapabilities.hasTransport(TRANSPORT_WIFI) in isWiFiConnected()
228 && networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED); in isWiFiConnected()
271 NetworkCapabilities networkCapabilities = in setAirplaneMode()
273 if (networkCapabilities != null && networkCapabilities in setAirplaneMode()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMultiStaConcurrencyMultiInternetWifiNetworkTest.java115 @NonNull NetworkCapabilities networkCapabilities) {
119 + " cap " + networkCapabilities);
256 private boolean isPrimaryWifiNetwork(@Nullable NetworkCapabilities networkCapabilities) { in isPrimaryWifiNetwork() argument
257 if (networkCapabilities == null) { in isPrimaryWifiNetwork()
260 final TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in isPrimaryWifiNetwork()
DTestHelper.java376 public NetworkCapabilities networkCapabilities; field in TestHelper.TestNetworkCallback
399 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
401 this.networkCapabilities = networkCapabilities; in onCapabilitiesChanged()
439 private WifiInfo getWifiInfo(@NonNull NetworkCapabilities networkCapabilities) { in getWifiInfo() argument
442 return (WifiInfo) networkCapabilities.getTransportInfo(); in getWifiInfo()
516 final WifiInfo wifiInfo = getWifiInfo(testNetworkCallback.networkCapabilities); in testConnectionFlowWithConnect()
674 final WifiInfo wifiInfo = getWifiInfo(testNetworkCallback.networkCapabilities); in testConnectionFlowWithSuggestionInternal()
892 final WifiInfo wifiInfo = getWifiInfo(testNetworkCallback.networkCapabilities); in testConnectionFlowWithSpecifierWithShellIdentity()
1032 if (testNetworkCallback.networkCapabilities == null) { in checkWifiNetworkInfo()
1035 WifiInfo wifiInfo = getWifiInfo(testNetworkCallback.networkCapabilities); in checkWifiNetworkInfo()
DWifiManagerTest.java3497 public NetworkCapabilities networkCapabilities; field in WifiManagerTest.TestNetworkCallback
3513 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
3515 this.networkCapabilities = networkCapabilities; in onCapabilitiesChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DCallbackUtils.java68 … public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
71 mNetworkCapabilities = networkCapabilities; in onCapabilitiesChanged()
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DTestNetworkWrapper.java438 public final NetworkCapabilities networkCapabilities; field in TestNetworkWrapper.VcnTestNetworkCallback.CapabilitiesChangedEvent
441 @NonNull Network network, @NonNull NetworkCapabilities networkCapabilities) { in CapabilitiesChangedEvent() argument
443 this.networkCapabilities = networkCapabilities; in CapabilitiesChangedEvent()
DVcnManagerTest.java702 final NetworkCapabilities nc = capabilitiesChangedEvent.networkCapabilities; in waitForExpectedUnderlyingNetworkWithCapabilities()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DCallbackUtils.java139 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
141 mNetworkCapabilities = networkCapabilities; in onCapabilitiesChanged()