Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_VALIDATED (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkValidatorTest.java113 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testValidateSuccess()
250 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testNetworkCachingOfMultipleSub()
257 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testNetworkCachingOfMultipleSub()
261 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testNetworkCachingOfMultipleSub()
303 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testNetworkCachingOfMultipleNetworks()
334 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testNetworkCachingOverflow()
368 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testReleaseRequestAfterValidation_shouldReleaseImmediately()
379 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testDoNotReleaseRequestAfterValidation_shouldReleaseLater()
416 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testDoNotReleaseRequestAfterValidation_BackToBackRequest()
425 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)); in testDoNotReleaseRequestAfterValidation_BackToBackRequest()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java15 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED;
166 } else if (!networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)) { in updateStatusLabel()
DAccessPoint.java1648 } else if (!nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)) { in getSummary()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt23 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED
257 expectCapabilitiesThat(net, tmt) { validated == it.hasCapability(NET_CAPABILITY_VALIDATED) } in expectAvailableCallbacks()
292 expectCapabilitiesThat(net, tmt) { it.hasCapability(NET_CAPABILITY_VALIDATED) } in expectAvailableThenValidatedCallbacks()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java65 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED;
716 networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)) { in connect()
1583 NET_CAPABILITY_VALIDATED)); in testUnlingeringDoesNotValidate()
1591 NET_CAPABILITY_VALIDATED)); in testUnlingeringDoesNotValidate()
1599 NET_CAPABILITY_VALIDATED)); in testUnlingeringDoesNotValidate()
1674 NET_CAPABILITY_VALIDATED)); in testCellularFallback()
1679 NET_CAPABILITY_VALIDATED)); in testCellularFallback()
1684 NET_CAPABILITY_VALIDATED)); in testCellularFallback()
1689 NET_CAPABILITY_VALIDATED)); in testCellularFallback()
1691 NET_CAPABILITY_VALIDATED)); in testCellularFallback()
[all …]
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt33 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED
258 assertFalse(nc.hasCapability(NET_CAPABILITY_VALIDATED)) in testCapportApi()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java163 NET_CAPABILITY_VALIDATED,
280 public static final int NET_CAPABILITY_VALIDATED = 16; field in NetworkCapabilities
359 | (1 << NET_CAPABILITY_VALIDATED)
424 (1 << NET_CAPABILITY_VALIDATED)
1907 case NET_CAPABILITY_VALIDATED: return "VALIDATED"; in capabilityNameOf()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED;
258 mLastNetworkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED); in NetworkControllerImpl()
260 networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED); in NetworkControllerImpl()
817 if (nc.hasCapability(NET_CAPABILITY_VALIDATED)) { in updateConnectivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java261 mNetCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in setConnectivityCommon()
263 mNetCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in setConnectivityCommon()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java34 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED;
184 nc1 = new NetworkCapabilities().addCapability(NET_CAPABILITY_VALIDATED); in testDescribeImmutableDifferences()
414 nc.addCapability(NET_CAPABILITY_VALIDATED); in testConnectivityManagedCapabilities()
/frameworks/base/core/java/android/app/job/
DJobInfo.java23 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED;
1127 builder.addCapability(NET_CAPABILITY_VALIDATED); in setRequiredNetworkType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java415 if (networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java22 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED;
554 .addCapability(NET_CAPABILITY_VALIDATED); in createCapabilities()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto105 NET_CAPABILITY_VALIDATED = 16; enumerator
/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java185 networkRequestBuilder.addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in registerNetworkCallbacks()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java49 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED;
6274 newNc.addCapability(NET_CAPABILITY_VALIDATED); in mixInCapabilities()
6276 newNc.removeCapability(NET_CAPABILITY_VALIDATED); in mixInCapabilities()
/frameworks/base/non-updatable-api/
Dcurrent.txt29050 field public static final int NET_CAPABILITY_VALIDATED = 16; // 0x10
/frameworks/base/api/
Dcurrent.txt29180 field public static final int NET_CAPABILITY_VALIDATED = 16; // 0x10
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44385 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_VALIDATED:I