Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DRandomnessFactory.java41 NetworkCapabilities networkCapabilities = connectManager.getNetworkCapabilities(network); in RandomnessFactory() local
44 networkCapabilities != null && networkCapabilities.hasTransport(TRANSPORT_TEST); in RandomnessFactory()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobInfoRowArrayAdapter.java142 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED)) { in getNetworkType()
144 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING)) { in getNetworkType()
146 } else if (networkRequest.networkCapabilities.hasTransport(TRANSPORT_CELLULAR)) { in getNetworkType()
/packages/apps/Settings/src/com/android/settings/wifi/
DCaptivePortalNetworkCallback.java46 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
48 mIsCaptivePortal = WifiUtils.canSignIntoNetwork(networkCapabilities); in onCapabilitiesChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DCaptivePortalNetworkCallback.java46 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
48 mIsCaptivePortal = WifiUtils.canSignIntoNetwork(networkCapabilities); in onCapabilitiesChanged()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsPreferenceController.java230 final NetworkCapabilities networkCapabilities = mConnectivityManager.getNetworkCapabilities( in activeNetworkIsCellular() local
232 if (networkCapabilities == null) { in activeNetworkIsCellular()
235 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR); in activeNetworkIsCellular()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiScanWorker.java193 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
198 final boolean isCaptivePortal = WifiUtils.canSignIntoNetwork(networkCapabilities); in onCapabilitiesChanged()
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java340 @NonNull NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
341 updateNetworkStatus(network, s -> s.mNetworkCapabilities = networkCapabilities); in onCapabilitiesChanged()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataConnectivityListener.java57 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsFragment.java197 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java194 final NetworkCapabilities networkCapabilities = mCm.getNetworkCapabilities(mNetwork); in onCreate() local
195 if (networkCapabilities == null) { in onCreate()