/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | NetworkingHelper.java | 176 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()
|
D | ConnectivityConstraintTest.java | 652 .getNetworkCapabilities(params.getNetwork()); in testJobParametersNetwork()
|
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | BaseTestCase.java | 48 NetworkCapabilities caps = connectivityManager.getNetworkCapabilities(activeNetwork); in isInternetConnected()
|
/cts/tests/tests/vcn/src/android/net/vcn/cts/ |
D | TestNetworkWrapper.java | 143 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()
|
D | VcnManagerTest.java | 372 .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/ |
D | MultiStaConcurrencyMultiInternetWifiNetworkTest.java | 109 mConnectivityManager.getNetworkCapabilities(network)); 117 mConnectivityManager.getNetworkCapabilities(network)); 125 mConnectivityManager.getNetworkCapabilities(network));
|
D | TestHelper.java | 958 .filter(n -> mConnectivityManager.getNetworkCapabilities(n) != null in getNumWifiConnections() 959 && mConnectivityManager.getNetworkCapabilities(n) in getNumWifiConnections()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/ |
D | NetworkSuggestionTestCase.java | 188 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/ |
D | CallbackUtils.java | 92 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in CallbackUtils.NetworkCallback
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SignalStrengthTest.java | 176 cm.getNetworkCapabilities(activeNetwork) in assertDeviceIsOnCellDataOrNoData()
|
D | SubscriptionManagerTest.java | 428 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()
|
D | ConnectivityManagerTestOnMockModem.java | 176 nc = sConnectivityManager.getNetworkCapabilities(activeNetwork); in beforeAllTests()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/ |
D | VpnTestHelper.java | 179 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 384 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet() 738 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isExpectedTransportForActiveNetwork()
|
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | TransformerAndroidTestRunner.java | 476 connectivityManager.getNetworkCapabilities(connectivityManager.getActiveNetwork()); in hasNetworkConnection()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | MultiCodecPerfTestBase.java | 357 NetworkCapabilities cap = cm.getNetworkCapabilities(cm.getActiveNetwork()); in isInternetAvailable()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 1073 NetworkCapabilities caps = connManager.getNetworkCapabilities(network); in isWifiConnected()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 9989 method @NonNull public android.net.NetworkCapabilities getNetworkCapabilities();
|