Searched refs:networkCapabilities (Results 1 – 9 of 9) sorted by relevance
47 public NetworkCapabilities networkCapabilities; field in RetrieveTransportInfoAndReturnStatusActivity.TestNetworkCallback61 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument63 this.networkCapabilities = networkCapabilities; in onCapabilitiesChanged()91 testNetworkCallback.networkCapabilities.getTransportInfo(); in canRetrieveSsidFromTransportInfo()
190 NetworkCapabilities networkCapabilities = in hasEthernetConnection() local192 if (networkCapabilities != null in hasEthernetConnection()193 && networkCapabilities.hasTransport(TRANSPORT_ETHERNET)) { in hasEthernetConnection()224 final NetworkCapabilities networkCapabilities = in isWiFiConnected() local226 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()
115 @NonNull NetworkCapabilities networkCapabilities) {119 + " cap " + networkCapabilities);256 private boolean isPrimaryWifiNetwork(@Nullable NetworkCapabilities networkCapabilities) { in isPrimaryWifiNetwork() argument257 if (networkCapabilities == null) { in isPrimaryWifiNetwork()260 final TransportInfo transportInfo = networkCapabilities.getTransportInfo(); in isPrimaryWifiNetwork()
376 public NetworkCapabilities networkCapabilities; field in TestHelper.TestNetworkCallback399 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument401 this.networkCapabilities = networkCapabilities; in onCapabilitiesChanged()439 private WifiInfo getWifiInfo(@NonNull NetworkCapabilities networkCapabilities) { in getWifiInfo() argument442 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()
3497 public NetworkCapabilities networkCapabilities; field in WifiManagerTest.TestNetworkCallback3513 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument3515 this.networkCapabilities = networkCapabilities; in onCapabilitiesChanged()
68 … public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument71 mNetworkCapabilities = networkCapabilities; in onCapabilitiesChanged()
438 public final NetworkCapabilities networkCapabilities; field in TestNetworkWrapper.VcnTestNetworkCallback.CapabilitiesChangedEvent441 @NonNull Network network, @NonNull NetworkCapabilities networkCapabilities) { in CapabilitiesChangedEvent() argument443 this.networkCapabilities = networkCapabilities; in CapabilitiesChangedEvent()
702 final NetworkCapabilities nc = capabilitiesChangedEvent.networkCapabilities; in waitForExpectedUnderlyingNetworkWithCapabilities()
139 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument141 mNetworkCapabilities = networkCapabilities; in onCapabilitiesChanged()