Home
last modified time | relevance | path

Searched refs:getNetworkCapabilities (Results 1 – 18 of 18) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNetworkingHelper.java176 if (mConnectivityManager.getNetworkCapabilities(network) in hasCellularNetwork()
191 mConnectivityManager.getNetworkCapabilities(network); in hasEthernetConnection()
225 mConnectivityManager.getNetworkCapabilities(network); in isWiFiConnected()
272 mConnectivityManager.getNetworkCapabilities(network); in setAirplaneMode()
465 mConnectivityManager.getNetworkCapabilities(activeNetwork))) { in checkActiveNetwork()
473 mConnectivityManager.getNetworkCapabilities(activeNetwork))) { in checkActiveNetwork()
DConnectivityConstraintTest.java652 .getNetworkCapabilities(params.getNetwork()); in testJobParametersNetwork()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DBaseTestCase.java48 NetworkCapabilities caps = connectivityManager.getNetworkCapabilities(activeNetwork); in isInternetConnected()
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DTestNetworkWrapper.java143 context, Looper.getMainLooper(), policy.getNetworkCapabilities(), lp); in TestNetworkWrapper()
324 private NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in TestNetworkWrapper.TestNetworkAgent
348 mTestNetworkAgent.getNetworkCapabilities(), in onPolicyChanged()
358 updateNetworkCapabilities(policy.getNetworkCapabilities()); in onPolicyChanged()
DVcnManagerTest.java372 .getNetworkCapabilities() in testApplyVcnNetworkPolicyDuringVcnSetup_onUnrestrictedNetwork()
410 .getNetworkCapabilities() in testApplyVcnNetworkPolicyDuringVcnSetup_onRestrictedNetwork()
470 mConnectivityManager.getNetworkCapabilities( in verifyApplyVcnNetworkPolicyPostVcnSetupChangeNetworkRestriction()
1172 if (mConnectivityManager.getNetworkCapabilities(vcnNetwork) != null) { in clearVcnConfigsAndVerifyNetworkTeardown()
1188 assertNull(mConnectivityManager.getNetworkCapabilities(vcnNetwork)); in clearVcnConfigsAndVerifyNetworkTeardown()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMultiStaConcurrencyMultiInternetWifiNetworkTest.java109 mConnectivityManager.getNetworkCapabilities(network));
117 mConnectivityManager.getNetworkCapabilities(network));
125 mConnectivityManager.getNetworkCapabilities(network));
DTestHelper.java958 .filter(n -> mConnectivityManager.getNetworkCapabilities(n) != null in getNumWifiConnections()
959 && mConnectivityManager.getNetworkCapabilities(n) in getNumWifiConnections()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkSuggestionTestCase.java188 if (!mNetworkCallback.getNetworkCapabilities() in waitForNetworkToBeMetered()
193 + mNetworkCallback.getNetworkCapabilities()); in waitForNetworkToBeMetered()
394 if (!mNetworkCallback.getNetworkCapabilities() in executeTest()
397 + mNetworkCallback.getNetworkCapabilities()); in executeTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DCallbackUtils.java92 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in CallbackUtils.NetworkCallback
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSignalStrengthTest.java176 cm.getNetworkCapabilities(activeNetwork) in assertDeviceIsOnCellDataOrNoData()
DSubscriptionManagerTest.java428 assertTrue(cm.getNetworkCapabilities(net).hasCapability(NET_CAPABILITY_NOT_CONGESTED));
537 assertFalse(cm.getNetworkCapabilities(net).hasCapability( in testSubscriptionPlansOverrideUnmetered()
577 assertFalse(cm.getNetworkCapabilities(net).hasCapability( in testSubscriptionPlansUnmetered()
1663 final NetworkCapabilities caps = cm.getNetworkCapabilities(net); in findCellularNetwork()
DConnectivityManagerTestOnMockModem.java176 nc = sConnectivityManager.getNetworkCapabilities(activeNetwork); in beforeAllTests()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java179 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java384 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet()
738 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isExpectedTransportForActiveNetwork()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DTransformerAndroidTestRunner.java476 connectivityManager.getNetworkCapabilities(connectivityManager.getActiveNetwork()); in hasNetworkConnection()
/cts/tests/mediapc/src/android/mediapc/cts/
DMultiCodecPerfTestBase.java357 NetworkCapabilities cap = cm.getNetworkCapabilities(cm.getActiveNetwork()); in isInternetAvailable()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java1073 NetworkCapabilities caps = connManager.getNetworkCapabilities(network); in isWifiConnected()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt9989 method @NonNull public android.net.NetworkCapabilities getNetworkCapabilities();